/** * Build a curated bridge config that mounts litectx-mcp read-only on its own db. * @param {object} opts * @param {string} opts.root - the child's OWN litectx root/db (passed as `--root`). Isolation. * @param {string} [opts.command='litectx-mcp'] - the server command (override for a fake/abs path). * @param {string[]} [opts.args=[]] - extra args appended after `--root ` (e.g. `--no-embeddings`). * @param {boolean} [opts.writable=false] - opt-in: allow remember/forget (still child-db-local). * @param {string} [opts.name='litectx'] - server name (tool prefix → `_recall`, …). * @param {string} [opts.ttl='24h'] - bridge config TTL. * @param {string} [opts.now] - ISO timestamp for `discovered` (default: now). Pre-seed fresh so * `createMCPBridge` skips IDE discovery and connects straight to this curated server. * @returns {import('../src/mcp-bridge').BridgeConfig} * @category integration * @when you want to connect a litectx instance to a bareagent runner over the MCP bridge — a curated, child-db-local litectx server * @fails read-only by default (opt-in `writable` allows remember/forget); pre-seeding `now` makes createMCPBridge skip IDE discovery and connect straight to this server. * @example * const cfg = liteCtxMcpBridgeConfig({ root: './child.db' }); * const { tools } = await createMCPBridge({ config: cfg }); */ export function liteCtxMcpBridgeConfig(opts: { root: string; command?: string | undefined; args?: string[] | undefined; writable?: boolean | undefined; name?: string | undefined; ttl?: string | undefined; now?: string | undefined; }): import("../src/mcp-bridge").BridgeConfig; /** Read/reason verbs a child is given by default. */ export const READ_VERBS: string[]; /** Write verbs — denied unless `writable`, then allowed (writes still land in the child's OWN db). */ export const WRITE_VERBS: string[]; /** Admin/review verbs — always denied to a child (human/hook + review flows). */ export const ADMIN_VERBS: string[];