@skaile/workspaces 4.30.1 → 4.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/{asset-feeds-YB5ROSAE.js → asset-feeds-XNL4NQBM.js} +7 -7
- package/dist/{asset-feeds-YB5ROSAE.js.map → asset-feeds-XNL4NQBM.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.js +3 -3
- package/dist/asset-manager/index.js +6 -6
- package/dist/asset-manager/installer.js +4 -4
- package/dist/bridge/drivers/claude-sdk.js +7 -7
- package/dist/bridge/drivers/codex.js +6 -6
- package/dist/bridge/drivers/continue.js +6 -6
- package/dist/bridge/drivers/echo.js +3 -3
- package/dist/bridge/drivers/gemini.js +7 -7
- package/dist/bridge/drivers/goose.js +6 -6
- package/dist/bridge/drivers/omp.js +5 -5
- package/dist/bridge/drivers/opencode.js +6 -6
- package/dist/bridge/drivers/qwen.js +7 -7
- package/dist/bridge/index.js +8 -8
- package/dist/{chunk-ECTQR7IM.js → chunk-2RIM7HAG.js} +8 -8
- package/dist/{chunk-ECTQR7IM.js.map → chunk-2RIM7HAG.js.map} +1 -1
- package/dist/{chunk-IJTEDXWQ.js → chunk-3ZE7X5Y6.js} +3 -3
- package/dist/{chunk-IJTEDXWQ.js.map → chunk-3ZE7X5Y6.js.map} +1 -1
- package/dist/{chunk-3TK7CZVL.js → chunk-4UGEZIMA.js} +4 -4
- package/dist/{chunk-3TK7CZVL.js.map → chunk-4UGEZIMA.js.map} +1 -1
- package/dist/{chunk-UQ3JFN4N.js → chunk-54A5QAIV.js} +2 -2
- package/dist/{chunk-UQ3JFN4N.js.map → chunk-54A5QAIV.js.map} +1 -1
- package/dist/{chunk-7VQGUNXJ.js → chunk-5KJLMR23.js} +5 -5
- package/dist/{chunk-7VQGUNXJ.js.map → chunk-5KJLMR23.js.map} +1 -1
- package/dist/{chunk-3AX5PZRA.js → chunk-7ZXENJLO.js} +3 -3
- package/dist/{chunk-3AX5PZRA.js.map → chunk-7ZXENJLO.js.map} +1 -1
- package/dist/{chunk-2ICKARYU.js → chunk-A62RPNIZ.js} +4 -4
- package/dist/{chunk-2ICKARYU.js.map → chunk-A62RPNIZ.js.map} +1 -1
- package/dist/{chunk-ZVVZ67EH.js → chunk-ATRQ2PKM.js} +2 -2
- package/dist/{chunk-ZVVZ67EH.js.map → chunk-ATRQ2PKM.js.map} +1 -1
- package/dist/{chunk-UKIL4XH5.js → chunk-AVXSY4WO.js} +4 -4
- package/dist/{chunk-UKIL4XH5.js.map → chunk-AVXSY4WO.js.map} +1 -1
- package/dist/{chunk-UFWADBG6.js → chunk-BR2IXOWX.js} +3 -3
- package/dist/{chunk-UFWADBG6.js.map → chunk-BR2IXOWX.js.map} +1 -1
- package/dist/{chunk-PM6DO25W.js → chunk-CMHRZOHQ.js} +3 -3
- package/dist/{chunk-PM6DO25W.js.map → chunk-CMHRZOHQ.js.map} +1 -1
- package/dist/{chunk-NQCQTAMQ.js → chunk-D6L7RQGP.js} +7 -7
- package/dist/{chunk-NQCQTAMQ.js.map → chunk-D6L7RQGP.js.map} +1 -1
- package/dist/{chunk-TJRNJVGU.js → chunk-EINLFFP6.js} +3 -3
- package/dist/{chunk-TJRNJVGU.js.map → chunk-EINLFFP6.js.map} +1 -1
- package/dist/{chunk-SM3UPDXE.js → chunk-GH3BHLBF.js} +6 -6
- package/dist/{chunk-SM3UPDXE.js.map → chunk-GH3BHLBF.js.map} +1 -1
- package/dist/{chunk-PE3A6FFW.js → chunk-HCYS7GFP.js} +3 -3
- package/dist/{chunk-PE3A6FFW.js.map → chunk-HCYS7GFP.js.map} +1 -1
- package/dist/{chunk-XFWB3KFV.js → chunk-HL6SZ7Z3.js} +3 -3
- package/dist/{chunk-XFWB3KFV.js.map → chunk-HL6SZ7Z3.js.map} +1 -1
- package/dist/{chunk-DPLIN2RA.js → chunk-ICSCSM5D.js} +3 -3
- package/dist/{chunk-DPLIN2RA.js.map → chunk-ICSCSM5D.js.map} +1 -1
- package/dist/{chunk-FRX2BO3V.js → chunk-J3UD57GK.js} +27 -17
- package/dist/chunk-J3UD57GK.js.map +1 -0
- package/dist/{chunk-YVWUHPQW.js → chunk-JULFGNQN.js} +3 -3
- package/dist/{chunk-YVWUHPQW.js.map → chunk-JULFGNQN.js.map} +1 -1
- package/dist/{chunk-DDCRSE5P.js → chunk-JV2YHKOY.js} +7 -7
- package/dist/{chunk-DDCRSE5P.js.map → chunk-JV2YHKOY.js.map} +1 -1
- package/dist/{chunk-RXTKWTZV.js → chunk-JXTW3VCT.js} +3 -3
- package/dist/{chunk-RXTKWTZV.js.map → chunk-JXTW3VCT.js.map} +1 -1
- package/dist/{chunk-6S5KL76M.js → chunk-LX3FKVLL.js} +3 -3
- package/dist/{chunk-6S5KL76M.js.map → chunk-LX3FKVLL.js.map} +1 -1
- package/dist/{chunk-GZZPKAV5.js → chunk-MJHSLODD.js} +20 -3
- package/dist/chunk-MJHSLODD.js.map +1 -0
- package/dist/{chunk-LUC6OEWM.js → chunk-NHABMUXY.js} +5 -5
- package/dist/{chunk-LUC6OEWM.js.map → chunk-NHABMUXY.js.map} +1 -1
- package/dist/{chunk-7HJ3YLRF.js → chunk-OGPNWRWU.js} +5 -5
- package/dist/{chunk-7HJ3YLRF.js.map → chunk-OGPNWRWU.js.map} +1 -1
- package/dist/{chunk-NP3WH7JF.js → chunk-RTQTWQHW.js} +3 -3
- package/dist/{chunk-NP3WH7JF.js.map → chunk-RTQTWQHW.js.map} +1 -1
- package/dist/{chunk-FAQRNZ44.js → chunk-WORPEN3X.js} +4 -4
- package/dist/{chunk-FAQRNZ44.js.map → chunk-WORPEN3X.js.map} +1 -1
- package/dist/{chunk-UWU572Q6.js → chunk-WPISSDEI.js} +3 -3
- package/dist/{chunk-UWU572Q6.js.map → chunk-WPISSDEI.js.map} +1 -1
- package/dist/{chunk-L2GKM47Q.js → chunk-XSVWRISC.js} +7 -7
- package/dist/{chunk-L2GKM47Q.js.map → chunk-XSVWRISC.js.map} +1 -1
- package/dist/cli/index.js +61 -52
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/serve.d.ts +5 -0
- package/dist/cli/src/commands/serve.d.ts.map +1 -1
- package/dist/connectors/index.js +10 -10
- package/dist/core/index.js +3 -3
- package/dist/core/provider-registry-credentials.js +2 -2
- package/dist/core/provider-registry.js +1 -1
- package/dist/core/src/index.d.ts +1 -1
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/provider-registry.d.ts +10 -0
- package/dist/core/src/provider-registry.d.ts.map +1 -1
- package/dist/deploy/index.js +3 -3
- package/dist/{ensure-sources-3VOIO6IM.js → ensure-sources-NEZZ6YY7.js} +9 -9
- package/dist/{ensure-sources-3VOIO6IM.js.map → ensure-sources-NEZZ6YY7.js.map} +1 -1
- package/dist/factory-assets/connectors/box.js +10 -10
- package/dist/factory-assets/connectors/deploy.js +10 -10
- package/dist/factory-assets/connectors/devserver.js +10 -10
- package/dist/factory-assets/connectors/flow/adapter.js +10 -10
- package/dist/factory-assets/connectors/flow/engine.js +4 -4
- package/dist/factory-assets/connectors/flow/run-flow.js +11 -11
- package/dist/factory-assets/connectors/flow.js +10 -10
- package/dist/factory-assets/connectors/git.js +10 -10
- package/dist/factory-assets/connectors/gmail.js +10 -10
- package/dist/factory-assets/connectors/googledrive.js +10 -10
- package/dist/factory-assets/connectors/local.js +10 -10
- package/dist/factory-assets/connectors/mattermost.js +10 -10
- package/dist/factory-assets/connectors/memory.js +10 -10
- package/dist/factory-assets/connectors/minio.js +10 -10
- package/dist/factory-assets/connectors/postgres.js +10 -10
- package/dist/factory-assets/connectors/s3.js +10 -10
- package/dist/factory-assets/connectors/sharepoint.js +10 -10
- package/dist/factory-assets/connectors/sqlite.js +10 -10
- package/dist/factory-assets/connectors/static-server.js +10 -10
- package/dist/factory-assets/connectors/tunnel.js +10 -10
- package/dist/factory-assets/connectors/webdav.js +10 -10
- package/dist/factory-assets/connectors/xstate-store.js +10 -10
- package/dist/factory-assets/connectors/xstate.js +10 -10
- package/dist/{flows-6WUQ2J4X.js → flows-QTUSWYKY.js} +6 -6
- package/dist/{flows-6WUQ2J4X.js.map → flows-QTUSWYKY.js.map} +1 -1
- package/dist/{helpers-G7AQV3NN.js → helpers-XJEFDCMQ.js} +9 -9
- package/dist/{helpers-G7AQV3NN.js.map → helpers-XJEFDCMQ.js.map} +1 -1
- package/dist/library/index.js +4 -4
- package/dist/{library-publish-YOF75HVC.js → library-publish-N726WYMF.js} +13 -13
- package/dist/{library-publish-YOF75HVC.js.map → library-publish-N726WYMF.js.map} +1 -1
- package/dist/{open-library-DAIEAPNR.js → open-library-D6ACC3TX.js} +11 -11
- package/dist/{open-library-DAIEAPNR.js.map → open-library-D6ACC3TX.js.map} +1 -1
- package/dist/{paths-6VH76QLZ.js → paths-IOOMNHTC.js} +5 -5
- package/dist/{paths-6VH76QLZ.js.map → paths-IOOMNHTC.js.map} +1 -1
- package/dist/{plugin-store-4MXOIEHP.js → plugin-store-OIIPB2MQ.js} +5 -5
- package/dist/{plugin-store-4MXOIEHP.js.map → plugin-store-OIIPB2MQ.js.map} +1 -1
- package/dist/{project-IKHGSG4I.js → project-NRCGUOM4.js} +10 -10
- package/dist/{project-IKHGSG4I.js.map → project-NRCGUOM4.js.map} +1 -1
- package/dist/resolver/index.js +3 -3
- package/dist/runner/index.js +16 -16
- package/dist/runner/src/serve.d.ts +6 -0
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/runner/src/session-builder.d.ts +7 -1
- package/dist/runner/src/session-builder.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +6 -6
- package/dist/sdk/bridge.js +8 -8
- package/dist/sdk/core.js +3 -3
- package/dist/sdk/flow.js +4 -4
- package/dist/sdk/index.js +16 -16
- package/dist/sdk/resolver.js +3 -3
- package/dist/sdk/runner.js +16 -16
- package/dist/{setup-234UBMJX.js → setup-3GHCXHOO.js} +15 -15
- package/dist/{setup-234UBMJX.js.map → setup-3GHCXHOO.js.map} +1 -1
- package/dist/{skills-FA4VQEO7.js → skills-DH75K326.js} +5 -5
- package/dist/{skills-FA4VQEO7.js.map → skills-DH75K326.js.map} +1 -1
- package/dist/{source-VAKNCLQY.js → source-OAIEGNQB.js} +12 -12
- package/dist/{source-VAKNCLQY.js.map → source-OAIEGNQB.js.map} +1 -1
- package/dist/{source-manifest-publish-FEFRWILI.js → source-manifest-publish-DQTXHT4V.js} +14 -14
- package/dist/{source-manifest-publish-FEFRWILI.js.map → source-manifest-publish-DQTXHT4V.js.map} +1 -1
- package/dist/tui/index.js +16 -16
- package/dist/workspace-plugin/adapters/mcp.js +5 -5
- package/dist/workspace-plugin/adapters/omp.js +7 -7
- package/dist/workspace-plugin/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-FRX2BO3V.js.map +0 -1
- package/dist/chunk-GZZPKAV5.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../core/src/subprocess.ts","../core/src/provider-registry-credentials.ts"],"names":[],"mappings":";;;;;AAsEO,SAAS,aAAA,CAAc,GAAA,EAAe,IAAA,GAA6B,EAAC,EAAuB;AAChG,EAAA,MAAM,CAAC,GAAA,EAAK,GAAG,IAAI,CAAA,GAAI,GAAA;AACvB,EAAA,IAAI,CAAC,GAAA,EAAK,MAAM,IAAI,MAAM,8BAA8B,CAAA;AACxD,EAAA,MAAM,KAAA,GAAQ,KAAA,CAAM,GAAA,EAAK,IAAA,EAAM;AAAA,IAC7B,KAAK,IAAA,CAAK,GAAA;AAAA,IACV,GAAA,EAAK,IAAA,CAAK,GAAA,IAAO,OAAA,CAAQ,GAAA;AAAA,IACzB,KAAA,EAAO,CAAC,QAAA,EAAU,MAAA,EAAQ,MAAM,CAAA;AAAA,IAChC,UAAU,IAAA,CAAK;AAAA,GAChB,CAAA;AACD,EAAA,MAAM,MAAA,GAAS,IAAI,OAAA,CAAgB,CAAC,OAAA,KAAY;AAC9C,IAAA,KAAA,CAAM,EAAA,CAAG,OAAA,EAA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,OAAO,CAAA,0BAAA,EAA6B,MAAA,CAAO,QAAQ,CAAA,CAAA,EAAG;AAAA,MACtF;AACA,MAAA,MAAM,KAAA,GAAQ,MAAA,CAAO,MAAA,CAAO,IAAA,EAAK;AACjC,MAAA,IAAI,CAAC,OAAO,OAAO,EAAE,MAAM,MAAA,EAAQ,KAAA,EAAO,OAAO,uCAAA,EAAwC;AACzF,MAAA,YAAA,CAAa,GAAA,CAAI,MAAA,CAAO,OAAA,EAAS,KAAK,CAAA;AACtC,MAAA,OAAO,EAAE,IAAA,EAAM,MAAA,EAAQ,KAAA,EAAO,KAAA,EAAM;AAAA,IACtC;AAAA,IACA,KAAK,SAAA;AACH,MAAA,OAAO;AAAA,QACL,IAAA;AAAA,QACA,MAAA,EAAQ,SAAA;AAAA,QACR,KAAA,EACE,CAAA,yGAAA;AAAA,OAEJ;AAAA;AAEN","file":"chunk-DPLIN2RA.js","sourcesContent":["/**\n * Runtime-portable subprocess spawning.\n *\n * `node:child_process` is implemented by both Node and Bun, so it is the\n * portable choice — no runtime detection needed (unlike embedded SQLite,\n * which has no shared API; see `logging/sinks/sqlite-runtime.ts`).\n *\n * These helpers wrap `node:child_process` to present a `Bun.Subprocess`-shaped\n * result — web `ReadableStream` stdio plus an `exited` promise — so call sites\n * migrated off `Bun.spawn` keep their stream-reading code unchanged.\n */\nimport { spawn, spawnSync } from \"node:child_process\";\nimport { constants } from \"node:os\";\nimport { Readable } from \"node:stream\";\n\nexport interface PortableSpawnOptions {\n cwd?: string;\n env?: Record<string, string | undefined>;\n detached?: boolean;\n}\n\n/**\n * Options for {@link portableSpawnSync}.\n *\n * `timeoutMs` is **required**, and deliberately so. A synchronous spawn blocks\n * the single-threaded event loop until the child exits; if the child stalls —\n * classically on a wedged network/FUSE mount reachable from `cwd` — the whole\n * process stops serving. An unbounded `spawnSync` is therefore not a call that\n * should be expressible, so the deadline is part of the type rather than an\n * optional extra a caller can forget.\n */\nexport interface PortableSpawnSyncOptions extends PortableSpawnOptions {\n /** Wall-clock limit for the child, in milliseconds. Must be > 0. */\n timeoutMs: number;\n}\n\n/** A spawned process with stdout/stderr piped. Mirrors the shape of `Bun.Subprocess`. */\nexport interface PortableSubprocess {\n /** OS process id, or -1 if the process failed to spawn. */\n readonly pid: number;\n readonly stdout: ReadableStream<Uint8Array>;\n readonly stderr: ReadableStream<Uint8Array>;\n /**\n * Resolves with the exit code once the process closes. Signal termination\n * uses the conventional `128 + signal number`; spawn errors or unknown\n * signals use `-1`.\n */\n readonly exited: Promise<number>;\n kill(signal?: number | NodeJS.Signals): void;\n}\n\nexport interface PortableSpawnSyncResult {\n /** Exit code; -1 when the process did not exit cleanly. */\n exitCode: number;\n stdout: string;\n stderr: string;\n /**\n * `true` when the child was killed for exceeding\n * {@link PortableSpawnSyncOptions.timeoutMs}. Lets a caller tell \"the command\n * failed\" apart from \"the command never finished\", which are different\n * operational events.\n */\n timedOut: boolean;\n}\n\n/**\n * Spawn a subprocess with stdout/stderr piped. Works under Node and Bun.\n *\n * @param cmd - Command and arguments, e.g. `[\"docker\", \"ps\"]`.\n */\nexport function portableSpawn(cmd: string[], opts: PortableSpawnOptions = {}): PortableSubprocess {\n const [bin, ...args] = cmd;\n if (!bin) throw new Error(\"portableSpawn: empty command\");\n const child = spawn(bin, args, {\n cwd: opts.cwd,\n env: opts.env ?? process.env,\n stdio: [\"ignore\", \"pipe\", \"pipe\"],\n detached: opts.detached,\n });\n const exited = new Promise<number>((resolve) => {\n child.on(\"close\", (code, signal) => {\n if (code !== null) {\n resolve(code);\n return;\n }\n const signalNumber = signal ? constants.signals[signal] : undefined;\n resolve(signalNumber === undefined ? -1 : 128 + signalNumber);\n });\n child.on(\"error\", () => resolve(-1));\n });\n return {\n pid: child.pid ?? -1,\n stdout: Readable.toWeb(child.stdout as Readable) as unknown as ReadableStream<Uint8Array>,\n stderr: Readable.toWeb(child.stderr as Readable) as unknown as ReadableStream<Uint8Array>,\n exited,\n kill: (signal) => {\n if (opts.detached && child.pid) {\n try {\n process.kill(-child.pid, signal);\n return;\n } catch {\n /* fall back to killing the direct child */\n }\n }\n child.kill(signal);\n },\n };\n}\n\n/**\n * Run a subprocess to completion synchronously, capturing stdout/stderr as\n * UTF-8 strings. Works under Node and Bun.\n *\n * Blocks the event loop for the child's whole lifetime, so `opts.timeoutMs`\n * is required — see {@link PortableSpawnSyncOptions}. Prefer\n * {@link portableSpawn} wherever an async call is possible; only reach for this\n * when the caller genuinely cannot await (process teardown, CLI entry points).\n *\n * The child is killed with `SIGKILL` rather than `SIGTERM` on expiry: a process\n * blocked in an uninterruptible kernel wait (`D` state, e.g. a dead FUSE\n * connection) never runs a `SIGTERM` handler, so a graceful signal would leave\n * the deadline unenforced.\n *\n * @param cmd - Command and arguments, e.g. `[\"docker\", \"info\"]`.\n * @param opts - Spawn options; `timeoutMs` is mandatory.\n */\nexport function portableSpawnSync(\n cmd: string[],\n opts: PortableSpawnSyncOptions,\n): PortableSpawnSyncResult {\n const [bin, ...args] = cmd;\n if (!bin) throw new Error(\"portableSpawnSync: empty command\");\n if (!(opts.timeoutMs > 0)) {\n throw new Error(`portableSpawnSync: timeoutMs must be > 0 (got ${opts.timeoutMs})`);\n }\n const result = spawnSync(bin, args, {\n cwd: opts.cwd,\n env: opts.env ?? process.env,\n encoding: \"utf8\",\n timeout: opts.timeoutMs,\n killSignal: \"SIGKILL\",\n });\n // Node reports the expiry as `error.code === \"ETIMEDOUT\"`; Bun surfaces the\n // same case as a SIGKILL with no status, so accept either signal.\n const timedOut =\n (result.error as NodeJS.ErrnoException | undefined)?.code === \"ETIMEDOUT\" ||\n (result.status === null && result.signal === \"SIGKILL\");\n let stderr = result.stderr ?? \"\";\n if (timedOut) {\n // Surface the reason on the channel every caller already inspects — an\n // exitCode of -1 alone reads as \"command failed\" and hides the stall.\n stderr += `${stderr.endsWith(\"\\n\") || stderr === \"\" ? \"\" : \"\\n\"}${bin}: timed out after ${opts.timeoutMs}ms\\n`;\n }\n return {\n exitCode: result.status ?? -1,\n stdout: result.stdout ?? \"\",\n stderr,\n timedOut,\n };\n}\n","/**\n * Credential resolution for registry entries (§1.4).\n *\n * Split from `provider-registry.ts` deliberately: resolving a `cmd:` reference\n * spawns a process and `env:` reads `process.env`, so this module depends on\n * Node. The schema module must stay dependency-free because browser bundles\n * (`@skaile/workspace-bridge-react`) reach the registry *types* through\n * `@skaile/workspaces/types`, and a `node:child_process` import in that graph\n * breaks their typecheck.\n *\n * @see PROVIDER-CONFIG-PLAN.md §1.4\n */\n\nimport type { AIProviderCredentialKind, AIProviderEntry } from \"./provider-registry.js\";\nimport { parseCredentialRef } from \"./provider-registry.js\";\nimport { portableSpawnSync } from \"./subprocess.js\";\n\n/** Options for {@link resolveCredential}. */\nexport interface ResolveCredentialOptions {\n /** Environment `env:` refs read from; defaults to `process.env`. */\n env?: Record<string, string | undefined>;\n /**\n * Control-plane secrets, keyed by config id (a `platform:<configId>` ref) —\n * the `secrets` map that rides alongside `session_init`.\n */\n secrets?: Record<string, string>;\n /** Run `cmd:` references. Default `true`; the platform sets it `false`. */\n allowCommand?: boolean;\n}\n\n/** Outcome of {@link resolveCredential}. Never carries the secret in `error`. */\nexport interface ResolvedAIProviderCredential {\n kind: AIProviderCredentialKind;\n /** The secret, when one was produced. */\n value?: string;\n /** Where the value came from; `ambient` means the transport's own chain signs. */\n source: \"env\" | \"cmd\" | \"platform\" | \"keyring\" | \"ambient\" | \"none\";\n /** Why there is no value. Secret-free. */\n error?: string;\n}\n\n/** `cmd:` results are cached per process, matching omp's `!cmd` semantics. */\nconst commandCache = new Map<string, string>();\n\n/** Test seam — drops the memoized `cmd:` results. */\nexport function __resetCredentialCommandCache(): void {\n commandCache.clear();\n}\n\nconst COMMAND_TIMEOUT_MS = 10_000;\n\n/**\n * Resolve an entry's credential to a value (§1.4).\n *\n * `env:` reads the environment, `cmd:` runs a shell (10 s, trimmed stdout,\n * cached per process), `platform:` reads the injected secrets map. `keyring:`\n * is a reserved grammar slot: it validates but does not resolve, and says so.\n *\n * `sigv4`, `google_adc` and `azure_entra` entries without a ref resolve to\n * `source: \"ambient\"` with no value — the AWS/Google/Azure SDK chain signs the\n * request, there is nothing for this function to hand over.\n */\nexport function resolveCredential(\n entry: AIProviderEntry,\n options: ResolveCredentialOptions = {},\n): ResolvedAIProviderCredential {\n const credential = entry.credential;\n if (!credential || credential.kind === \"none\") {\n return { kind: credential?.kind ?? \"none\", source: \"none\" };\n }\n const kind = credential.kind;\n if (!credential.ref) {\n if (kind === \"sigv4\" || kind === \"google_adc\" || kind === \"azure_entra\") {\n return { kind, source: \"ambient\" };\n }\n return { kind, source: \"none\", error: `credential.ref is missing for kind '${kind}'` };\n }\n\n const parsed = parseCredentialRef(credential.ref);\n if (!parsed) {\n return { kind, source: \"none\", error: \"credential.ref is not a valid reference\" };\n }\n\n switch (parsed.form) {\n case \"env\": {\n const env = options.env ?? process.env;\n const value = env[parsed.name];\n if (!value) {\n return { kind, source: \"env\", error: `environment variable ${parsed.name} is not set` };\n }\n return { kind, source: \"env\", value };\n }\n case \"platform\": {\n const value = options.secrets?.[parsed.configId];\n if (!value) {\n return {\n kind,\n source: \"platform\",\n error: `no control-plane secret was injected for '${parsed.configId}'`,\n };\n }\n return { kind, source: \"platform\", value };\n }\n case \"cmd\": {\n if (options.allowCommand === false) {\n return { kind, source: \"cmd\", error: \"cmd: references are not permitted in this context\" };\n }\n const cached = commandCache.get(parsed.command);\n if (cached !== undefined) return { kind, source: \"cmd\", value: cached };\n const argv =\n process.platform === \"win32\"\n ? [\"cmd\", \"/c\", parsed.command]\n : [\"/bin/sh\", \"-c\", parsed.command];\n const result = portableSpawnSync(argv, { timeoutMs: COMMAND_TIMEOUT_MS });\n if (result.timedOut) {\n return { kind, source: \"cmd\", error: `credential command timed out after 10s` };\n }\n if (result.exitCode !== 0) {\n return { kind, source: \"cmd\", error: `credential command exited ${result.exitCode}` };\n }\n const value = result.stdout.trim();\n if (!value) return { kind, source: \"cmd\", error: \"credential command produced no output\" };\n commandCache.set(parsed.command, value);\n return { kind, source: \"cmd\", value };\n }\n case \"keyring\":\n return {\n kind,\n source: \"keyring\",\n error:\n `keyring references are a reserved grammar slot — ` +\n `no OS keychain backend ships yet (use env: or cmd:)`,\n };\n }\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["../core/src/subprocess.ts","../core/src/provider-registry-credentials.ts"],"names":[],"mappings":";;;;;AAsEO,SAAS,aAAA,CAAc,GAAA,EAAe,IAAA,GAA6B,EAAC,EAAuB;AAChG,EAAA,MAAM,CAAC,GAAA,EAAK,GAAG,IAAI,CAAA,GAAI,GAAA;AACvB,EAAA,IAAI,CAAC,GAAA,EAAK,MAAM,IAAI,MAAM,8BAA8B,CAAA;AACxD,EAAA,MAAM,KAAA,GAAQ,KAAA,CAAM,GAAA,EAAK,IAAA,EAAM;AAAA,IAC7B,KAAK,IAAA,CAAK,GAAA;AAAA,IACV,GAAA,EAAK,IAAA,CAAK,GAAA,IAAO,OAAA,CAAQ,GAAA;AAAA,IACzB,KAAA,EAAO,CAAC,QAAA,EAAU,MAAA,EAAQ,MAAM,CAAA;AAAA,IAChC,UAAU,IAAA,CAAK;AAAA,GAChB,CAAA;AACD,EAAA,MAAM,MAAA,GAAS,IAAI,OAAA,CAAgB,CAAC,OAAA,KAAY;AAC9C,IAAA,KAAA,CAAM,EAAA,CAAG,OAAA,EAAS,CAAC,IAAA,EAAM,MAAA,KAAW;AAClC,MAAA,IAAI,SAAS,IAAA,EAAM;AACjB,QAAA,OAAA,CAAQ,IAAI,CAAA;AACZ,QAAA;AAAA,MACF;AACA,MAAA,MAAM,YAAA,GAAe,MAAA,GAAS,SAAA,CAAU,OAAA,CAAQ,MAAM,CAAA,GAAI,MAAA;AAC1D,MAAA,OAAA,CAAQ,YAAA,KAAiB,MAAA,GAAY,EAAA,GAAK,GAAA,GAAM,YAAY,CAAA;AAAA,IAC9D,CAAC,CAAA;AACD,IAAA,KAAA,CAAM,EAAA,CAAG,OAAA,EAAS,MAAM,OAAA,CAAQ,EAAE,CAAC,CA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AAA;AACH,MAAA,OAAO;AAAA,QACL,IAAA;AAAA,QACA,MAAA,EAAQ,SAAA;AAAA,QACR,KAAA,EACE,CAAA,yGAAA;AAAA,OAEJ;AAAA;AAEN","file":"chunk-ICSCSM5D.js","sourcesContent":["/**\n * Runtime-portable subprocess spawning.\n *\n * `node:child_process` is implemented by both Node and Bun, so it is the\n * portable choice — no runtime detection needed (unlike embedded SQLite,\n * which has no shared API; see `logging/sinks/sqlite-runtime.ts`).\n *\n * These helpers wrap `node:child_process` to present a `Bun.Subprocess`-shaped\n * result — web `ReadableStream` stdio plus an `exited` promise — so call sites\n * migrated off `Bun.spawn` keep their stream-reading code unchanged.\n */\nimport { spawn, spawnSync } from \"node:child_process\";\nimport { constants } from \"node:os\";\nimport { Readable } from \"node:stream\";\n\nexport interface PortableSpawnOptions {\n cwd?: string;\n env?: Record<string, string | undefined>;\n detached?: boolean;\n}\n\n/**\n * Options for {@link portableSpawnSync}.\n *\n * `timeoutMs` is **required**, and deliberately so. A synchronous spawn blocks\n * the single-threaded event loop until the child exits; if the child stalls —\n * classically on a wedged network/FUSE mount reachable from `cwd` — the whole\n * process stops serving. An unbounded `spawnSync` is therefore not a call that\n * should be expressible, so the deadline is part of the type rather than an\n * optional extra a caller can forget.\n */\nexport interface PortableSpawnSyncOptions extends PortableSpawnOptions {\n /** Wall-clock limit for the child, in milliseconds. Must be > 0. */\n timeoutMs: number;\n}\n\n/** A spawned process with stdout/stderr piped. Mirrors the shape of `Bun.Subprocess`. */\nexport interface PortableSubprocess {\n /** OS process id, or -1 if the process failed to spawn. */\n readonly pid: number;\n readonly stdout: ReadableStream<Uint8Array>;\n readonly stderr: ReadableStream<Uint8Array>;\n /**\n * Resolves with the exit code once the process closes. Signal termination\n * uses the conventional `128 + signal number`; spawn errors or unknown\n * signals use `-1`.\n */\n readonly exited: Promise<number>;\n kill(signal?: number | NodeJS.Signals): void;\n}\n\nexport interface PortableSpawnSyncResult {\n /** Exit code; -1 when the process did not exit cleanly. */\n exitCode: number;\n stdout: string;\n stderr: string;\n /**\n * `true` when the child was killed for exceeding\n * {@link PortableSpawnSyncOptions.timeoutMs}. Lets a caller tell \"the command\n * failed\" apart from \"the command never finished\", which are different\n * operational events.\n */\n timedOut: boolean;\n}\n\n/**\n * Spawn a subprocess with stdout/stderr piped. Works under Node and Bun.\n *\n * @param cmd - Command and arguments, e.g. `[\"docker\", \"ps\"]`.\n */\nexport function portableSpawn(cmd: string[], opts: PortableSpawnOptions = {}): PortableSubprocess {\n const [bin, ...args] = cmd;\n if (!bin) throw new Error(\"portableSpawn: empty command\");\n const child = spawn(bin, args, {\n cwd: opts.cwd,\n env: opts.env ?? process.env,\n stdio: [\"ignore\", \"pipe\", \"pipe\"],\n detached: opts.detached,\n });\n const exited = new Promise<number>((resolve) => {\n child.on(\"close\", (code, signal) => {\n if (code !== null) {\n resolve(code);\n return;\n }\n const signalNumber = signal ? constants.signals[signal] : undefined;\n resolve(signalNumber === undefined ? -1 : 128 + signalNumber);\n });\n child.on(\"error\", () => resolve(-1));\n });\n return {\n pid: child.pid ?? -1,\n stdout: Readable.toWeb(child.stdout as Readable) as unknown as ReadableStream<Uint8Array>,\n stderr: Readable.toWeb(child.stderr as Readable) as unknown as ReadableStream<Uint8Array>,\n exited,\n kill: (signal) => {\n if (opts.detached && child.pid) {\n try {\n process.kill(-child.pid, signal);\n return;\n } catch {\n /* fall back to killing the direct child */\n }\n }\n child.kill(signal);\n },\n };\n}\n\n/**\n * Run a subprocess to completion synchronously, capturing stdout/stderr as\n * UTF-8 strings. Works under Node and Bun.\n *\n * Blocks the event loop for the child's whole lifetime, so `opts.timeoutMs`\n * is required — see {@link PortableSpawnSyncOptions}. Prefer\n * {@link portableSpawn} wherever an async call is possible; only reach for this\n * when the caller genuinely cannot await (process teardown, CLI entry points).\n *\n * The child is killed with `SIGKILL` rather than `SIGTERM` on expiry: a process\n * blocked in an uninterruptible kernel wait (`D` state, e.g. a dead FUSE\n * connection) never runs a `SIGTERM` handler, so a graceful signal would leave\n * the deadline unenforced.\n *\n * @param cmd - Command and arguments, e.g. `[\"docker\", \"info\"]`.\n * @param opts - Spawn options; `timeoutMs` is mandatory.\n */\nexport function portableSpawnSync(\n cmd: string[],\n opts: PortableSpawnSyncOptions,\n): PortableSpawnSyncResult {\n const [bin, ...args] = cmd;\n if (!bin) throw new Error(\"portableSpawnSync: empty command\");\n if (!(opts.timeoutMs > 0)) {\n throw new Error(`portableSpawnSync: timeoutMs must be > 0 (got ${opts.timeoutMs})`);\n }\n const result = spawnSync(bin, args, {\n cwd: opts.cwd,\n env: opts.env ?? process.env,\n encoding: \"utf8\",\n timeout: opts.timeoutMs,\n killSignal: \"SIGKILL\",\n });\n // Node reports the expiry as `error.code === \"ETIMEDOUT\"`; Bun surfaces the\n // same case as a SIGKILL with no status, so accept either signal.\n const timedOut =\n (result.error as NodeJS.ErrnoException | undefined)?.code === \"ETIMEDOUT\" ||\n (result.status === null && result.signal === \"SIGKILL\");\n let stderr = result.stderr ?? \"\";\n if (timedOut) {\n // Surface the reason on the channel every caller already inspects — an\n // exitCode of -1 alone reads as \"command failed\" and hides the stall.\n stderr += `${stderr.endsWith(\"\\n\") || stderr === \"\" ? \"\" : \"\\n\"}${bin}: timed out after ${opts.timeoutMs}ms\\n`;\n }\n return {\n exitCode: result.status ?? -1,\n stdout: result.stdout ?? \"\",\n stderr,\n timedOut,\n };\n}\n","/**\n * Credential resolution for registry entries (§1.4).\n *\n * Split from `provider-registry.ts` deliberately: resolving a `cmd:` reference\n * spawns a process and `env:` reads `process.env`, so this module depends on\n * Node. The schema module must stay dependency-free because browser bundles\n * (`@skaile/workspace-bridge-react`) reach the registry *types* through\n * `@skaile/workspaces/types`, and a `node:child_process` import in that graph\n * breaks their typecheck.\n *\n * @see PROVIDER-CONFIG-PLAN.md §1.4\n */\n\nimport type { AIProviderCredentialKind, AIProviderEntry } from \"./provider-registry.js\";\nimport { parseCredentialRef } from \"./provider-registry.js\";\nimport { portableSpawnSync } from \"./subprocess.js\";\n\n/** Options for {@link resolveCredential}. */\nexport interface ResolveCredentialOptions {\n /** Environment `env:` refs read from; defaults to `process.env`. */\n env?: Record<string, string | undefined>;\n /**\n * Control-plane secrets, keyed by config id (a `platform:<configId>` ref) —\n * the `secrets` map that rides alongside `session_init`.\n */\n secrets?: Record<string, string>;\n /** Run `cmd:` references. Default `true`; the platform sets it `false`. */\n allowCommand?: boolean;\n}\n\n/** Outcome of {@link resolveCredential}. Never carries the secret in `error`. */\nexport interface ResolvedAIProviderCredential {\n kind: AIProviderCredentialKind;\n /** The secret, when one was produced. */\n value?: string;\n /** Where the value came from; `ambient` means the transport's own chain signs. */\n source: \"env\" | \"cmd\" | \"platform\" | \"keyring\" | \"ambient\" | \"none\";\n /** Why there is no value. Secret-free. */\n error?: string;\n}\n\n/** `cmd:` results are cached per process, matching omp's `!cmd` semantics. */\nconst commandCache = new Map<string, string>();\n\n/** Test seam — drops the memoized `cmd:` results. */\nexport function __resetCredentialCommandCache(): void {\n commandCache.clear();\n}\n\nconst COMMAND_TIMEOUT_MS = 10_000;\n\n/**\n * Resolve an entry's credential to a value (§1.4).\n *\n * `env:` reads the environment, `cmd:` runs a shell (10 s, trimmed stdout,\n * cached per process), `platform:` reads the injected secrets map. `keyring:`\n * is a reserved grammar slot: it validates but does not resolve, and says so.\n *\n * `sigv4`, `google_adc` and `azure_entra` entries without a ref resolve to\n * `source: \"ambient\"` with no value — the AWS/Google/Azure SDK chain signs the\n * request, there is nothing for this function to hand over.\n */\nexport function resolveCredential(\n entry: AIProviderEntry,\n options: ResolveCredentialOptions = {},\n): ResolvedAIProviderCredential {\n const credential = entry.credential;\n if (!credential || credential.kind === \"none\") {\n return { kind: credential?.kind ?? \"none\", source: \"none\" };\n }\n const kind = credential.kind;\n if (!credential.ref) {\n if (kind === \"sigv4\" || kind === \"google_adc\" || kind === \"azure_entra\") {\n return { kind, source: \"ambient\" };\n }\n return { kind, source: \"none\", error: `credential.ref is missing for kind '${kind}'` };\n }\n\n const parsed = parseCredentialRef(credential.ref);\n if (!parsed) {\n return { kind, source: \"none\", error: \"credential.ref is not a valid reference\" };\n }\n\n switch (parsed.form) {\n case \"env\": {\n const env = options.env ?? process.env;\n const value = env[parsed.name];\n if (!value) {\n return { kind, source: \"env\", error: `environment variable ${parsed.name} is not set` };\n }\n return { kind, source: \"env\", value };\n }\n case \"platform\": {\n const value = options.secrets?.[parsed.configId];\n if (!value) {\n return {\n kind,\n source: \"platform\",\n error: `no control-plane secret was injected for '${parsed.configId}'`,\n };\n }\n return { kind, source: \"platform\", value };\n }\n case \"cmd\": {\n if (options.allowCommand === false) {\n return { kind, source: \"cmd\", error: \"cmd: references are not permitted in this context\" };\n }\n const cached = commandCache.get(parsed.command);\n if (cached !== undefined) return { kind, source: \"cmd\", value: cached };\n const argv =\n process.platform === \"win32\"\n ? [\"cmd\", \"/c\", parsed.command]\n : [\"/bin/sh\", \"-c\", parsed.command];\n const result = portableSpawnSync(argv, { timeoutMs: COMMAND_TIMEOUT_MS });\n if (result.timedOut) {\n return { kind, source: \"cmd\", error: `credential command timed out after 10s` };\n }\n if (result.exitCode !== 0) {\n return { kind, source: \"cmd\", error: `credential command exited ${result.exitCode}` };\n }\n const value = result.stdout.trim();\n if (!value) return { kind, source: \"cmd\", error: \"credential command produced no output\" };\n commandCache.set(parsed.command, value);\n return { kind, source: \"cmd\", value };\n }\n case \"keyring\":\n return {\n kind,\n source: \"keyring\",\n error:\n `keyring references are a reserved grammar slot — ` +\n `no OS keychain backend ships yet (use env: or cmd:)`,\n };\n }\n}\n"]}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { WorkspacePlugin } from './chunk-
|
|
2
|
-
import { buildWorkspaceToolDefs } from './chunk-
|
|
1
|
+
import { WorkspacePlugin } from './chunk-ATRQ2PKM.js';
|
|
2
|
+
import { buildWorkspaceToolDefs } from './chunk-JXTW3VCT.js';
|
|
3
3
|
import { findAiAssetsRoot } from './chunk-7IH3RKKK.js';
|
|
4
4
|
import { WebSocketServerTransport } from './chunk-5LKOAX7I.js';
|
|
5
5
|
import { assembleSystemPrompt, buildCapabilitiesPromptSection } from './chunk-W3UDISS2.js';
|
|
6
|
-
import { prepareNativePolicy, codexInstanceEnvironment, parseCodexCredential, parseCodexRefreshInput, parseCodexRefreshResult } from './chunk-
|
|
7
|
-
import { resolveFlowPath } from './chunk-
|
|
6
|
+
import { prepareNativePolicy, codexInstanceEnvironment, parseCodexCredential, parseCodexRefreshInput, parseCodexRefreshResult } from './chunk-HCYS7GFP.js';
|
|
7
|
+
import { resolveFlowPath } from './chunk-OGPNWRWU.js';
|
|
8
8
|
import { findAiAssetsRoot as findAiAssetsRoot$1, deployCatalogEntry, undeployCatalogEntry } from './chunk-Q6NDQ6BH.js';
|
|
9
|
-
import { registerBuiltinConnectors, buildConnectorPromptSection, findMissingPackages, installNpmPackages, ConnectorManager, buildSdkConnectorTools, buildLazySdkFlowTools, describeFlowOperations, buildConnectorToolDefs, buildFlowToolDefs, SessionNodeExecutor, SessionSubpromptRunner, ClassifierSubpromptRunner, SessionInlineSubFlowRunner, driveOrchestratorTurn, buildSdkFlowTools } from './chunk-
|
|
9
|
+
import { registerBuiltinConnectors, buildConnectorPromptSection, findMissingPackages, installNpmPackages, ConnectorManager, buildSdkConnectorTools, buildLazySdkFlowTools, describeFlowOperations, buildConnectorToolDefs, buildFlowToolDefs, SessionNodeExecutor, SessionSubpromptRunner, ClassifierSubpromptRunner, SessionInlineSubFlowRunner, driveOrchestratorTurn, buildSdkFlowTools } from './chunk-D6L7RQGP.js';
|
|
10
10
|
import { loadYamlConnectorDeclarations, withMaterializedConnectorDeclarations, SecretProviderChain, ConnectorStartupError, PreMintedSecretProvider, InMemorySecretProvider, resolvedConfigToDeclarations, isKnownSecretRef, deriveSingleMaterializedConnectorDeclaration } from './chunk-2JANXYTJ.js';
|
|
11
|
-
import { EventNormalizer } from './chunk-
|
|
12
|
-
import { probeResumeTranscript, transcriptStoreForRuntime } from './chunk-
|
|
13
|
-
import { scopeReconfigureModel } from './chunk-
|
|
11
|
+
import { EventNormalizer } from './chunk-CMHRZOHQ.js';
|
|
12
|
+
import { probeResumeTranscript, transcriptStoreForRuntime } from './chunk-LX3FKVLL.js';
|
|
13
|
+
import { scopeReconfigureModel } from './chunk-EINLFFP6.js';
|
|
14
14
|
import { CodexNativeStateUnavailable } from './chunk-LOO5CB5M.js';
|
|
15
15
|
import { dispatchCapability } from './chunk-FF5L6IV3.js';
|
|
16
16
|
import { classifyClaudeSdkError } from './chunk-XBSQ4KMC.js';
|
|
17
17
|
import { agentExecRequested } from './chunk-YROR332M.js';
|
|
18
|
-
import { toAgentEffort, createDriver, catalogLayer, providerCredentialEnvName, toMergedRegistry, registryCredentialEnv, AI_PROVIDER_PRESETS, AgentDriver } from './chunk-
|
|
19
|
-
import { loadFlow } from './chunk-
|
|
18
|
+
import { toAgentEffort, createDriver, catalogLayer, providerCredentialEnvName, toMergedRegistry, registryCredentialEnv, AI_PROVIDER_PRESETS, AgentDriver } from './chunk-WORPEN3X.js';
|
|
19
|
+
import { loadFlow } from './chunk-JULFGNQN.js';
|
|
20
20
|
import { parseFlowDefinition } from './chunk-DIQDYNXZ.js';
|
|
21
21
|
import { renderStimulusPrompt } from './chunk-K3IBZ2UZ.js';
|
|
22
22
|
import { withActivityLabelJsonSchema, TOOL_ACTIVITY_PROMPT_SECTION, SESSION_ROOT_CONNECTOR_ID, PROTOCOL_VERSION } from './chunk-MX7LCQUQ.js';
|
|
23
|
-
import { resolveSettings, loadProviderRegistry } from './chunk-
|
|
23
|
+
import { resolveSettings, loadProviderRegistry } from './chunk-WPISSDEI.js';
|
|
24
24
|
import { resolveRuntimeAssets } from './chunk-5RHPNNWP.js';
|
|
25
25
|
import { resolveDriverPaths } from './chunk-K5GBV4SA.js';
|
|
26
26
|
import { resolveSkWorkspaceConfig, resolveAgentDir, loadMcpServerDeclarations, COMPACTION_DEFAULTS, resolveCompactionThresholdPercent, validateAssetRecipeAttr, deriveSingleMaterializedMcpDeclaration, stageMaterializedSkills, readSkillAllowList, isStagedSkillMarkerFor, unstageSkill } from './chunk-DF7C3KZK.js';
|
|
27
27
|
import { withFsDeadline, FsDeadlineError, fsDeadlineMs, parseFrontmatter, tryWithFsDeadline } from './chunk-2FBPAR2V.js';
|
|
28
28
|
import { parseAssetRef } from './chunk-GEEW6SY2.js';
|
|
29
29
|
import { resolveLogStoreConfig, createLogStoreFromConfig, OnLogBridgeSink, WsLogSink, resolveLogsRetention, enforceLogsRetention } from './chunk-JMKB7IB4.js';
|
|
30
|
-
import { registryEntries, resolveEntryBaseUrl, parseModelRef, isEntryEnabled, parseCredentialRef } from './chunk-
|
|
30
|
+
import { pickRegistryEntries, registryEntries, resolveEntryBaseUrl, parseModelRef, isEntryEnabled, parseCredentialRef } from './chunk-MJHSLODD.js';
|
|
31
31
|
import { getLogStore, registerLogStore, createLogger, resetLogStore, isUnwritableStreamError, markStreamBroken, isBrokenPipeError, redactCredentials } from './chunk-BOFL7GIF.js';
|
|
32
32
|
import { __require } from './chunk-NSBPE2FW.js';
|
|
33
33
|
import pc from 'picocolors';
|
|
@@ -2622,7 +2622,7 @@ async function createAgentSession(config) {
|
|
|
2622
2622
|
});
|
|
2623
2623
|
const driverType = managed ? "codex" : settings.driver ?? "omp";
|
|
2624
2624
|
const model = managed ? config.model : settings.model;
|
|
2625
|
-
const registry = loadSessionRegistry(projectDir, config.registry, sessionLog);
|
|
2625
|
+
const registry = loadSessionRegistry(projectDir, config.registry, config.providers, sessionLog);
|
|
2626
2626
|
const modelRef = config.modelRef?.trim() || model?.trim() || void 0;
|
|
2627
2627
|
const credentialEnv = { ...config.credentialEnv };
|
|
2628
2628
|
const manifest = agentDir ? await loadAgentManifest(agentDir) : void 0;
|
|
@@ -2813,7 +2813,7 @@ function createManagedCodexSubpromptDriver(config, model, cwd, privateDirectory)
|
|
|
2813
2813
|
}
|
|
2814
2814
|
});
|
|
2815
2815
|
}
|
|
2816
|
-
function loadSessionRegistry(projectDir, sessionRegistry, log) {
|
|
2816
|
+
function loadSessionRegistry(projectDir, sessionRegistry, providers, log) {
|
|
2817
2817
|
const extraLayers = [];
|
|
2818
2818
|
if (sessionRegistry && Object.keys(sessionRegistry).length > 0)
|
|
2819
2819
|
extraLayers.push({ layer: "session", providers: sessionRegistry });
|
|
@@ -2825,7 +2825,14 @@ function loadSessionRegistry(projectDir, sessionRegistry, log) {
|
|
|
2825
2825
|
if (diagnostic.severity === "error") log.error(message, void 0, { code: diagnostic.code });
|
|
2826
2826
|
else log.warn(message, { code: diagnostic.code });
|
|
2827
2827
|
}
|
|
2828
|
-
return final.registry;
|
|
2828
|
+
if (providers === void 0 || providers.length === 0) return final.registry;
|
|
2829
|
+
for (const id of providers) {
|
|
2830
|
+
if (final.registry.providers[id] === void 0)
|
|
2831
|
+
log.warn(`providers registry: --providers names '${id}' which no layer defines`, {
|
|
2832
|
+
code: "unknown_provider"
|
|
2833
|
+
});
|
|
2834
|
+
}
|
|
2835
|
+
return pickRegistryEntries(final.registry, providers);
|
|
2829
2836
|
}
|
|
2830
2837
|
async function loadPromptExtensions(paths, projectDir, log) {
|
|
2831
2838
|
if (!paths?.length) return [];
|
|
@@ -8640,6 +8647,9 @@ async function startAgentServer(opts) {
|
|
|
8640
8647
|
// The control-plane registry layer, normalized to the bare `id → entry`
|
|
8641
8648
|
// map the session builder layers `providers.yml` under.
|
|
8642
8649
|
...wireAgentConfig?.registry ? { registry: toMergedRegistry(wireAgentConfig.registry).providers } : {},
|
|
8650
|
+
// `--providers`: narrow the registry to these entry ids. Managed codex
|
|
8651
|
+
// runs on the host's own credentials, so it never takes the filter.
|
|
8652
|
+
...!managedCodex && opts.providers && opts.providers.length > 0 ? { providers: opts.providers } : {},
|
|
8643
8653
|
...wireAgentConfig?.modelRef ? { modelRef: wireAgentConfig.modelRef } : {},
|
|
8644
8654
|
promptsDir: opts.promptsDir,
|
|
8645
8655
|
sessionId,
|
|
@@ -10868,5 +10878,5 @@ function touchSession(state) {
|
|
|
10868
10878
|
}
|
|
10869
10879
|
|
|
10870
10880
|
export { CLAUDE_CODE_CREDENTIALS_KEY, COMPILE_MANIFEST_FILENAME, CONNECTOR_MUTATE_NOT_READY, CapabilityRegistry, DEFAULT_CAPABILITY_CALL_TIMEOUT_MS, DEFAULT_COALESCE_MS, DEFAULT_FLOW_MUTATE_CONNECTOR_WAIT_MS, MOUNT_LIST_MAX_DEPTH, MOUNT_LIST_MAX_ENTRIES, MOUNT_READ_DEADLINE_FACTOR, MOUNT_STAT_BUDGET_MS, MOUNT_STAT_MAX_ENTRIES, MOUNT_TREE_OP_DEADLINE_FACTOR, MarkdownStreamer, PreInitRingSink, ResourceOperationError, SESSION_ROOT_WRITABLE_DIRS, SESSION_ROOT_WRITABLE_FILES, WS_AUTH_TOKEN_ENV, WS_AUTH_TOKEN_FILE_ENV, agentDefinitionExists, bootstrapCapabilityRegistry, bootstrapRunnerLogStore, buildAgentResources, buildClientCapabilityHandler, buildConnectorTokenMediator, buildContextSection, buildEnvironmentSection, buildResourcesAvailablePayload, buildStoreSnapshotReplay, builtinCapabilities, capabilityLogInstance, clearPreInitRingSink, clearSession, compileComposition, computeCapabilitySignature, computeDirectoryTotals, connectorRefreshKind, createAgentSession, createFlowConnectorReadiness, createManagedCodexSubpromptDriver, createSessionStimulusBus, defineCapability, deleteSession, dispatchResourceRequest, dispatchRunnerCapabilityInvocation, emitSystemPromptComposed, ensureClaudeSettingsDisablesConnectors, ensureGitConfigInclude, executeConnectorMutate, extractClaudeAiOauthExpiresAt, flowRunDrivesTurns, flowStartNeedsDriverRestart, getPreInitRingSink, handleMountResourceRequest, handleResourceRequest, handleSessionRootResourceRequest, hasNonTerminalFlow, hostOpResumeStimulus, installPreInitRingSink, isSessionRootPathAllowed, isTerminalFlowStatus, listSessions, loadAgentManifest, loadCompileManifest, loadCompileManifestFromDir, loadManagedCodexHostConfig, loadSession, loadSessionById, mcpAuthSecretKey, newSession, nulTailPaddingLength, pickChatFlowTarget, pickFlowToolTarget, pickRepointedManager, planFlowMutate, prepareCodexTools, reconcilePendingDecisions, recreateKeepingLiveFlows, registerActiveFlow, registerCompositionCapabilities, rejectCapabilityOnApprovalDeny, rejectPendingCapabilityCallsOnDisconnect, resetRunnerLogStore, resolveAgentComposition, resolveAgentMixins, resolveBinding, resolveCapabilityCallTimeoutMs, resolveCapabilityResult, resolveComposition, resolveFlowMutateConnectorWaitMs, resolveMixin, restoredRunHasWorkToResume, runAgentChat, saveSession, setCurrentSession, setUpFlowConnector, startAgentServer, stimulusFromMetas, supportsLiveToolUpdates, takeRunnerWsAuthToken, toActiveFlowTarget, touchSession, validateInputResponse, writeClaudeCodeCredentialsFile };
|
|
10871
|
-
//# sourceMappingURL=chunk-
|
|
10872
|
-
//# sourceMappingURL=chunk-
|
|
10881
|
+
//# sourceMappingURL=chunk-J3UD57GK.js.map
|
|
10882
|
+
//# sourceMappingURL=chunk-J3UD57GK.js.map
|