/** * Configuration types for LocusGraph SDK */ /** * Options for constructing a {@link LocusGraphClient}. * * @example * ```ts * const client = new LocusGraphClient({ * serverUrl: 'https://api.locusgraph.com', * agentSecret: process.env.LOCUSGRAPH_AGENT_SECRET, * graphId: 'my-graph', * }); * ``` */ export interface LocusGraphConfig { /** Region server base URL. Default: `https://api.locusgraph.com`. Falls back to `LOCUSGRAPH_SERVER_URL`. */ server_url?: string; /** Agent bearer secret. Falls back to `LOCUSGRAPH_AGENT_SECRET`. Unscoped tokens can create graphs. */ agent_secret?: string; /** Default graph id, used when a method's `graphId`/`query.graph_id` is omitted. */ graph_id?: string; }