@skaile/workspaces 6.4.0 → 6.6.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 +58 -1
- package/README.md +4 -0
- package/dist/ai-sdk.js +55 -25
- package/dist/ai-sdk.js.map +1 -1
- package/dist/app-sdk/index.js +1 -1
- package/dist/{asset-feeds-UJSYGKCX.js → asset-feeds-WQ6YQPHV.js} +22 -22
- package/dist/{asset-feeds-UJSYGKCX.js.map → asset-feeds-WQ6YQPHV.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.js +8 -8
- package/dist/asset-manager/index.js +14 -14
- package/dist/asset-manager/installer.js +10 -10
- package/dist/asset-manager/renderers.js +9 -9
- package/dist/asset-manager/src/index.d.ts +114 -12
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/asset-manager/src/installer.d.ts +6 -0
- package/dist/asset-manager/src/installer.d.ts.map +1 -1
- package/dist/bridge/harnesses/claude-sdk.js +24 -19
- package/dist/bridge/harnesses/claude-sdk.js.map +1 -1
- package/dist/bridge/harnesses/codex.js +38 -36
- package/dist/bridge/harnesses/codex.js.map +1 -1
- package/dist/bridge/harnesses/continue.js +12 -13
- package/dist/bridge/harnesses/continue.js.map +1 -1
- package/dist/bridge/harnesses/echo.js +5 -6
- package/dist/bridge/harnesses/echo.js.map +1 -1
- package/dist/bridge/harnesses/gemini.js +9 -10
- package/dist/bridge/harnesses/goose.js +12 -13
- package/dist/bridge/harnesses/goose.js.map +1 -1
- package/dist/bridge/harnesses/omp.js +17 -12
- package/dist/bridge/harnesses/omp.js.map +1 -1
- package/dist/bridge/harnesses/opencode.js +12 -13
- package/dist/bridge/harnesses/opencode.js.map +1 -1
- package/dist/bridge/harnesses/qwen.js +9 -10
- package/dist/bridge/harnesses/qwen.js.map +1 -1
- package/dist/bridge/index.js +20 -21
- package/dist/bridge/src/ai-sdk.d.ts +0 -2
- package/dist/bridge/src/ai-sdk.d.ts.map +1 -1
- package/dist/bridge/src/codex/login-fallback.d.ts +39 -0
- package/dist/bridge/src/codex/login-fallback.d.ts.map +1 -0
- package/dist/bridge/src/error-classifier.d.ts +6 -0
- package/dist/bridge/src/error-classifier.d.ts.map +1 -1
- package/dist/bridge/src/harnesses/claude-sdk.d.ts.map +1 -1
- package/dist/bridge/src/harnesses/codex.d.ts +0 -6
- package/dist/bridge/src/harnesses/codex.d.ts.map +1 -1
- package/dist/bridge/src/harnesses/omp.d.ts.map +1 -1
- package/dist/bridge/src/index.d.ts +1 -0
- package/dist/bridge/src/index.d.ts.map +1 -1
- package/dist/{chunk-GTMANMBZ.js → chunk-2M3VLKT2.js} +3 -3
- package/dist/{chunk-GTMANMBZ.js.map → chunk-2M3VLKT2.js.map} +1 -1
- package/dist/{chunk-2WOA3TKK.js → chunk-2TLPC6TQ.js} +34 -19
- package/dist/chunk-2TLPC6TQ.js.map +1 -0
- package/dist/{chunk-O7KAQQAI.js → chunk-4BFEPZ6J.js} +4 -4
- package/dist/{chunk-O7KAQQAI.js.map → chunk-4BFEPZ6J.js.map} +1 -1
- package/dist/{chunk-TPQKFX6X.js → chunk-4J7JQX4G.js} +4 -4
- package/dist/{chunk-TPQKFX6X.js.map → chunk-4J7JQX4G.js.map} +1 -1
- package/dist/{chunk-6OHZUUR7.js → chunk-5DE3DGVR.js} +11 -5
- package/dist/chunk-5DE3DGVR.js.map +1 -0
- package/dist/{chunk-Q4XWCVFA.js → chunk-5ETYBC2X.js} +8 -8
- package/dist/{chunk-Q4XWCVFA.js.map → chunk-5ETYBC2X.js.map} +1 -1
- package/dist/{chunk-ZWCGJYR7.js → chunk-5XHQBCB5.js} +3 -3
- package/dist/{chunk-ZWCGJYR7.js.map → chunk-5XHQBCB5.js.map} +1 -1
- package/dist/{chunk-JSWMRYLM.js → chunk-65UAC3ZR.js} +31 -7
- package/dist/chunk-65UAC3ZR.js.map +1 -0
- package/dist/{chunk-UBLZALKP.js → chunk-6A6HE5LW.js} +3 -3
- package/dist/{chunk-UBLZALKP.js.map → chunk-6A6HE5LW.js.map} +1 -1
- package/dist/{chunk-ABVWUM2E.js → chunk-6ARPZHOV.js} +47 -25
- package/dist/chunk-6ARPZHOV.js.map +1 -0
- package/dist/{chunk-TDKZL5ZC.js → chunk-6RHWTZPT.js} +4 -4
- package/dist/{chunk-TDKZL5ZC.js.map → chunk-6RHWTZPT.js.map} +1 -1
- package/dist/{chunk-6WQGJF65.js → chunk-6SXSVKQY.js} +88 -17
- package/dist/chunk-6SXSVKQY.js.map +1 -0
- package/dist/{chunk-YFGXYQW4.js → chunk-7I5PNB2G.js} +3 -3
- package/dist/{chunk-YFGXYQW4.js.map → chunk-7I5PNB2G.js.map} +1 -1
- package/dist/{serve-preflight-NPWI4MV6.js → chunk-7PVGND4J.js} +30 -61
- package/dist/chunk-7PVGND4J.js.map +1 -0
- package/dist/{chunk-P7EL7QRD.js → chunk-7SJHSGUV.js} +34 -20
- package/dist/chunk-7SJHSGUV.js.map +1 -0
- package/dist/{chunk-VSCLUPGZ.js → chunk-AQNW2FET.js} +289 -44
- package/dist/chunk-AQNW2FET.js.map +1 -0
- package/dist/{chunk-45KLCFQB.js → chunk-B6N653ZG.js} +6 -6
- package/dist/{chunk-45KLCFQB.js.map → chunk-B6N653ZG.js.map} +1 -1
- package/dist/{chunk-6UP2EDFN.js → chunk-BSMW3PX2.js} +313 -4
- package/dist/chunk-BSMW3PX2.js.map +1 -0
- package/dist/{chunk-HTGTNN2B.js → chunk-CMXDFTA2.js} +3 -3
- package/dist/{chunk-HTGTNN2B.js.map → chunk-CMXDFTA2.js.map} +1 -1
- package/dist/{chunk-YJNE4V2M.js → chunk-DI6J2PJB.js} +70 -37
- package/dist/chunk-DI6J2PJB.js.map +1 -0
- package/dist/{chunk-V4OXHEWY.js → chunk-DS6UUCFG.js} +4 -4
- package/dist/{chunk-V4OXHEWY.js.map → chunk-DS6UUCFG.js.map} +1 -1
- package/dist/{chunk-U6S5CXKB.js → chunk-E2EC6SAX.js} +4 -4
- package/dist/{chunk-U6S5CXKB.js.map → chunk-E2EC6SAX.js.map} +1 -1
- package/dist/{chunk-TF5CWJQZ.js → chunk-EPXZQIC6.js} +23 -80
- package/dist/chunk-EPXZQIC6.js.map +1 -0
- package/dist/{chunk-6X3GDPCB.js → chunk-F4CZQD3T.js} +3 -4
- package/dist/chunk-F4CZQD3T.js.map +1 -0
- package/dist/{chunk-VZU67OKK.js → chunk-G5SYFFMD.js} +2 -2
- package/dist/{chunk-VZU67OKK.js.map → chunk-G5SYFFMD.js.map} +1 -1
- package/dist/{chunk-VV2DJT4I.js → chunk-GNUA7XT2.js} +4 -3
- package/dist/chunk-GNUA7XT2.js.map +1 -0
- package/dist/{chunk-E237FGGX.js → chunk-GTAHU4N4.js} +4 -4
- package/dist/{chunk-E237FGGX.js.map → chunk-GTAHU4N4.js.map} +1 -1
- package/dist/{chunk-SISUT7VR.js → chunk-GTGWRKMJ.js} +7 -7
- package/dist/{chunk-SISUT7VR.js.map → chunk-GTGWRKMJ.js.map} +1 -1
- package/dist/{chunk-BX7PSWJA.js → chunk-HGZN6JLP.js} +4 -4
- package/dist/{chunk-BX7PSWJA.js.map → chunk-HGZN6JLP.js.map} +1 -1
- package/dist/{chunk-L45IHRDH.js → chunk-HQAPUPBE.js} +3 -3
- package/dist/{chunk-L45IHRDH.js.map → chunk-HQAPUPBE.js.map} +1 -1
- package/dist/{chunk-L4OYPFLB.js → chunk-I5IF3JCG.js} +4 -4
- package/dist/{chunk-L4OYPFLB.js.map → chunk-I5IF3JCG.js.map} +1 -1
- package/dist/{chunk-IYZAJ2J2.js → chunk-J262X4JU.js} +36 -36
- package/dist/chunk-J262X4JU.js.map +1 -0
- package/dist/{chunk-WENTJ5KP.js → chunk-J4WKNJHO.js} +6 -6
- package/dist/{chunk-WENTJ5KP.js.map → chunk-J4WKNJHO.js.map} +1 -1
- package/dist/{chunk-3ENE6ZOF.js → chunk-JIQUF3X2.js} +9 -8
- package/dist/chunk-JIQUF3X2.js.map +1 -0
- package/dist/{chunk-TGB4E5Z6.js → chunk-JRVQV7WC.js} +414 -95
- package/dist/chunk-JRVQV7WC.js.map +1 -0
- package/dist/{chunk-BOS7P2Y4.js → chunk-KSH5CFQS.js} +3 -3
- package/dist/{chunk-BOS7P2Y4.js.map → chunk-KSH5CFQS.js.map} +1 -1
- package/dist/{chunk-UUKCPPTQ.js → chunk-KSUT5KAE.js} +3 -3
- package/dist/{chunk-UUKCPPTQ.js.map → chunk-KSUT5KAE.js.map} +1 -1
- package/dist/{chunk-DF5WJC3Q.js → chunk-LBJ4M5J2.js} +4 -4
- package/dist/{chunk-DF5WJC3Q.js.map → chunk-LBJ4M5J2.js.map} +1 -1
- package/dist/{chunk-GBXQFJ4G.js → chunk-MMOWIRHP.js} +310 -175
- package/dist/chunk-MMOWIRHP.js.map +1 -0
- package/dist/{chunk-G63KOHFS.js → chunk-MXI3XWV6.js} +4 -4
- package/dist/{chunk-G63KOHFS.js.map → chunk-MXI3XWV6.js.map} +1 -1
- package/dist/{chunk-ACBL7X62.js → chunk-N2PBAXAA.js} +3 -3
- package/dist/{chunk-ACBL7X62.js.map → chunk-N2PBAXAA.js.map} +1 -1
- package/dist/{chunk-5NHBLKKU.js → chunk-O7QZI6MQ.js} +3 -3
- package/dist/{chunk-5NHBLKKU.js.map → chunk-O7QZI6MQ.js.map} +1 -1
- package/dist/{chunk-U3SXCVR7.js → chunk-OY22B7E2.js} +4 -4
- package/dist/{chunk-U3SXCVR7.js.map → chunk-OY22B7E2.js.map} +1 -1
- package/dist/{chunk-C7TQARGC.js → chunk-PTJTOPE5.js} +3 -3
- package/dist/{chunk-C7TQARGC.js.map → chunk-PTJTOPE5.js.map} +1 -1
- package/dist/{chunk-HSF665NV.js → chunk-RAU5QPI6.js} +5 -5
- package/dist/{chunk-HSF665NV.js.map → chunk-RAU5QPI6.js.map} +1 -1
- package/dist/{chunk-RKI35EAN.js → chunk-RHCEX2EV.js} +3 -3
- package/dist/{chunk-RKI35EAN.js.map → chunk-RHCEX2EV.js.map} +1 -1
- package/dist/{chunk-76WSWPOB.js → chunk-SCRYXAHH.js} +15 -6
- package/dist/chunk-SCRYXAHH.js.map +1 -0
- package/dist/{chunk-DKXNKFKP.js → chunk-SGI5MRKP.js} +75 -3
- package/dist/chunk-SGI5MRKP.js.map +1 -0
- package/dist/{chunk-24D7IW5O.js → chunk-SHTXMERQ.js} +7 -8
- package/dist/chunk-SHTXMERQ.js.map +1 -0
- package/dist/{chunk-IZV3HDVG.js → chunk-SZKCE7EC.js} +5 -5
- package/dist/{chunk-IZV3HDVG.js.map → chunk-SZKCE7EC.js.map} +1 -1
- package/dist/{chunk-UAOHR6AL.js → chunk-TCH5UDKT.js} +4 -4
- package/dist/{chunk-UAOHR6AL.js.map → chunk-TCH5UDKT.js.map} +1 -1
- package/dist/{chunk-UVTN4O7N.js → chunk-TUFNY6OD.js} +33 -10
- package/dist/chunk-TUFNY6OD.js.map +1 -0
- package/dist/{chunk-PTBX55QF.js → chunk-U3UDOX6I.js} +4 -4
- package/dist/{chunk-PTBX55QF.js.map → chunk-U3UDOX6I.js.map} +1 -1
- package/dist/{chunk-BUU2DLPC.js → chunk-USSP43U3.js} +3 -3
- package/dist/{chunk-BUU2DLPC.js.map → chunk-USSP43U3.js.map} +1 -1
- package/dist/{chunk-IZQOO6MN.js → chunk-V5KG6CCV.js} +2 -2
- package/dist/{chunk-IZQOO6MN.js.map → chunk-V5KG6CCV.js.map} +1 -1
- package/dist/{chunk-CK3CJSRY.js → chunk-VJRL6ZK6.js} +4 -4
- package/dist/{chunk-CK3CJSRY.js.map → chunk-VJRL6ZK6.js.map} +1 -1
- package/dist/{chunk-76FLBODK.js → chunk-VT6G5AJV.js} +10 -7
- package/dist/chunk-VT6G5AJV.js.map +1 -0
- package/dist/{chunk-EXRQKOY6.js → chunk-VXYZ5M7Z.js} +83 -34
- package/dist/chunk-VXYZ5M7Z.js.map +1 -0
- package/dist/{chunk-QSIFEHSN.js → chunk-WW5NAU6N.js} +3 -3
- package/dist/{chunk-QSIFEHSN.js.map → chunk-WW5NAU6N.js.map} +1 -1
- package/dist/chunk-XD3RYAMR.js +83 -0
- package/dist/chunk-XD3RYAMR.js.map +1 -0
- package/dist/{chunk-HXZ3FQQN.js → chunk-XYCYGN3Q.js} +82 -50
- package/dist/chunk-XYCYGN3Q.js.map +1 -0
- package/dist/{chunk-5T3DTK7A.js → chunk-YN6N3RBM.js} +9 -10
- package/dist/chunk-YN6N3RBM.js.map +1 -0
- package/dist/{chunk-DCJ4BION.js → chunk-Z4FERR4U.js} +2 -2
- package/dist/{chunk-DCJ4BION.js.map → chunk-Z4FERR4U.js.map} +1 -1
- package/dist/{claude-code-UBT4ZME7.js → claude-code-LZH7Y4Y5.js} +5 -5
- package/dist/{claude-code-UBT4ZME7.js.map → claude-code-LZH7Y4Y5.js.map} +1 -1
- package/dist/cli/index.js +308 -162
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/cache.d.ts.map +1 -1
- package/dist/cli/src/commands/catalog.d.ts.map +1 -1
- package/dist/cli/src/commands/config.d.ts.map +1 -1
- package/dist/cli/src/commands/connector.d.ts.map +1 -1
- package/dist/cli/src/commands/deploy.d.ts.map +1 -1
- package/dist/cli/src/commands/harness.d.ts +5 -4
- package/dist/cli/src/commands/harness.d.ts.map +1 -1
- package/dist/cli/src/commands/integration.d.ts.map +1 -1
- package/dist/cli/src/commands/library-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/library-index.d.ts +6 -0
- package/dist/cli/src/commands/library-index.d.ts.map +1 -1
- package/dist/cli/src/commands/migrate-files.d.ts +3 -6
- package/dist/cli/src/commands/migrate-files.d.ts.map +1 -1
- package/dist/cli/src/commands/migrate-harness.d.ts +4 -3
- package/dist/cli/src/commands/migrate-harness.d.ts.map +1 -1
- package/dist/cli/src/commands/migrate.d.ts +2 -2
- package/dist/cli/src/commands/outdated.d.ts.map +1 -1
- package/dist/cli/src/commands/plugin-registry-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/project.d.ts +7 -1
- package/dist/cli/src/commands/project.d.ts.map +1 -1
- package/dist/cli/src/commands/run.d.ts.map +1 -1
- package/dist/cli/src/commands/serve-preflight.d.ts +21 -0
- package/dist/cli/src/commands/serve-preflight.d.ts.map +1 -1
- package/dist/cli/src/commands/serve.d.ts.map +1 -1
- package/dist/cli/src/commands/source-manifest.d.ts.map +1 -1
- package/dist/cli/src/commands/source.d.ts +8 -0
- package/dist/cli/src/commands/source.d.ts.map +1 -1
- package/dist/cli/src/commands/update.d.ts.map +1 -1
- package/dist/cli/src/commands/validate-instances.d.ts +6 -0
- package/dist/cli/src/commands/validate-instances.d.ts.map +1 -1
- package/dist/cli/src/commands/validate.d.ts.map +1 -1
- package/dist/cli/src/commands/verify.d.ts.map +1 -1
- package/dist/cli/src/config-checks.d.ts +8 -0
- package/dist/cli/src/config-checks.d.ts.map +1 -1
- package/dist/cli/src/ensure-sources.d.ts.map +1 -1
- package/dist/cli/src/helpers.d.ts +3 -2
- package/dist/cli/src/helpers.d.ts.map +1 -1
- package/dist/cli/src/plugin-store/index.d.ts.map +1 -1
- package/dist/cli/src/plugin-store/reconcile.d.ts.map +1 -1
- package/dist/cli/src/plugin-store/spec.d.ts +1 -0
- package/dist/cli/src/plugin-store/spec.d.ts.map +1 -1
- package/dist/cli/src/skill-checks.d.ts +2 -0
- package/dist/cli/src/skill-checks.d.ts.map +1 -1
- package/dist/connectors/config.js +5 -5
- package/dist/connectors/index.js +24 -25
- package/dist/connectors/src/connector-manager.d.ts.map +1 -1
- package/dist/connectors/src/index.d.ts +2 -2
- package/dist/connectors/src/index.d.ts.map +1 -1
- package/dist/connectors/src/managed-gitconfig.d.ts +22 -0
- package/dist/connectors/src/managed-gitconfig.d.ts.map +1 -1
- package/dist/connectors/src/mount-ledger.d.ts.map +1 -1
- package/dist/connectors/src/npm-installer.d.ts +11 -3
- package/dist/connectors/src/npm-installer.d.ts.map +1 -1
- package/dist/connectors-HU5MHSUJ.js +49 -0
- package/dist/{connectors-4WH32NK2.js.map → connectors-HU5MHSUJ.js.map} +1 -1
- package/dist/connectors-shared/index.js +2 -2
- package/dist/core/index.js +7 -7
- package/dist/core/logging.js +1 -1
- package/dist/core/manifest.js +2 -2
- package/dist/core/models.js +1 -1
- package/dist/core/publish-manifest.js +3 -3
- package/dist/core/ref.js +1 -1
- package/dist/core/runtime-assets.js +5 -5
- package/dist/core/src/agent-instances.d.ts +6 -0
- package/dist/core/src/agent-instances.d.ts.map +1 -1
- package/dist/core/src/config-key-diagnostics.d.ts +2 -1
- package/dist/core/src/config-key-diagnostics.d.ts.map +1 -1
- package/dist/core/src/index.d.ts +4 -4
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/lock.d.ts +20 -1
- package/dist/core/src/lock.d.ts.map +1 -1
- package/dist/core/src/logging/index.d.ts +1 -0
- package/dist/core/src/logging/index.d.ts.map +1 -1
- package/dist/core/src/logging/log-safe-text.d.ts +20 -0
- package/dist/core/src/logging/log-safe-text.d.ts.map +1 -0
- package/dist/core/src/manifest-yaml-editor.d.ts +4 -1
- package/dist/core/src/manifest-yaml-editor.d.ts.map +1 -1
- package/dist/core/src/manifest.d.ts.map +1 -1
- package/dist/core/src/models.d.ts +10 -0
- package/dist/core/src/models.d.ts.map +1 -1
- package/dist/core/src/repo-manager.d.ts +11 -0
- package/dist/core/src/repo-manager.d.ts.map +1 -1
- package/dist/core/src/runtime-assets.d.ts +12 -1
- package/dist/core/src/runtime-assets.d.ts.map +1 -1
- package/dist/core/src/walker.d.ts +3 -0
- package/dist/core/src/walker.d.ts.map +1 -1
- package/dist/core/src/workspace-config.d.ts +10 -2
- package/dist/core/src/workspace-config.d.ts.map +1 -1
- package/dist/core/workspace-config.js +4 -4
- package/dist/deploy/index.js +7 -7
- package/dist/discovery/index.js +5 -5
- package/dist/{ensure-sources-UC2RBYMP.js → ensure-sources-CAMWJTMR.js} +32 -32
- package/dist/ensure-sources-CAMWJTMR.js.map +1 -0
- package/dist/factory-assets/connectors/box.js +24 -25
- package/dist/factory-assets/connectors/deploy.js +24 -25
- package/dist/factory-assets/connectors/devserver.js +24 -25
- package/dist/factory-assets/connectors/flow/adapter.js +24 -25
- package/dist/factory-assets/connectors/flow/engine.js +8 -8
- package/dist/factory-assets/connectors/flow/run-flow.js +26 -27
- package/dist/factory-assets/connectors/flow.js +24 -25
- package/dist/factory-assets/connectors/git.js +24 -25
- package/dist/factory-assets/connectors/gmail.js +24 -25
- package/dist/factory-assets/connectors/googledrive.js +24 -25
- package/dist/factory-assets/connectors/local.js +24 -25
- package/dist/factory-assets/connectors/mattermost.js +24 -25
- package/dist/factory-assets/connectors/memory.js +24 -25
- package/dist/factory-assets/connectors/minio.js +24 -25
- package/dist/factory-assets/connectors/postgres.js +24 -25
- package/dist/factory-assets/connectors/s3.js +24 -25
- package/dist/factory-assets/connectors/sharepoint.js +24 -25
- package/dist/factory-assets/connectors/sqlite.js +24 -25
- package/dist/factory-assets/connectors/static-server.js +24 -25
- package/dist/factory-assets/connectors/tunnel.js +24 -25
- package/dist/factory-assets/connectors/webdav.js +24 -25
- package/dist/factory-assets/connectors/xstate-store.js +24 -25
- package/dist/factory-assets/connectors/xstate.js +24 -25
- package/dist/factory-assets/skills/authoring-skaile-assets/SKILL.md +2 -1
- package/dist/{flows-LYTKNGKE.js → flows-GVOVQGQW.js} +12 -12
- package/dist/{flows-LYTKNGKE.js.map → flows-GVOVQGQW.js.map} +1 -1
- package/dist/{helpers-SSSKT5XK.js → helpers-WMCCODAV.js} +29 -30
- package/dist/{helpers-SSSKT5XK.js.map → helpers-WMCCODAV.js.map} +1 -1
- package/dist/library/index.js +11 -11
- package/dist/library/install.js +4 -4
- package/dist/library/src/manifest-writer.d.ts +9 -0
- package/dist/library/src/manifest-writer.d.ts.map +1 -1
- package/dist/library/src/remote/remote-catalog-source.d.ts +9 -0
- package/dist/library/src/remote/remote-catalog-source.d.ts.map +1 -1
- package/dist/library/src/remote/rest-catalog-source.d.ts +1 -0
- package/dist/library/src/remote/rest-catalog-source.d.ts.map +1 -1
- package/dist/{library-publish-GQMNTAKK.js → library-publish-UQQMHTND.js} +55 -55
- package/dist/{library-publish-GQMNTAKK.js.map → library-publish-UQQMHTND.js.map} +1 -1
- package/dist/model-endpoint/index.js +10 -11
- package/dist/open-library-OJ4HT2X4.js +57 -0
- package/dist/{open-library-XGUCUJYE.js.map → open-library-OJ4HT2X4.js.map} +1 -1
- package/dist/open-registry-LWGIOJDK.js +32 -0
- package/dist/{open-registry-DIFEPDF6.js.map → open-registry-LWGIOJDK.js.map} +1 -1
- package/dist/paths-FR2752HV.js +22 -0
- package/dist/{paths-G4GFJLE2.js.map → paths-FR2752HV.js.map} +1 -1
- package/dist/{plugin-store-BBLDFD3L.js → plugin-store-IALJUBN2.js} +10 -10
- package/dist/{plugin-store-BBLDFD3L.js.map → plugin-store-IALJUBN2.js.map} +1 -1
- package/dist/project-UQFCYHYS.js +88 -0
- package/dist/{project-LB745WVZ.js.map → project-UQFCYHYS.js.map} +1 -1
- package/dist/resolver/index.js +8 -8
- package/dist/runner/index.js +40 -41
- package/dist/runner/src/composition/resolve-instance.d.ts.map +1 -1
- package/dist/runner/src/composition/resolve.d.ts +6 -0
- package/dist/runner/src/composition/resolve.d.ts.map +1 -1
- package/dist/runner/src/credential-notice.d.ts +3 -2
- package/dist/runner/src/credential-notice.d.ts.map +1 -1
- package/dist/runner/src/external-mcp.d.ts +22 -0
- package/dist/runner/src/external-mcp.d.ts.map +1 -1
- package/dist/runner/src/mcp-tools-snapshot.d.ts +13 -0
- package/dist/runner/src/mcp-tools-snapshot.d.ts.map +1 -0
- package/dist/runner/src/resources.d.ts +14 -0
- package/dist/runner/src/resources.d.ts.map +1 -1
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +14 -14
- package/dist/sdk/bridge.js +20 -21
- package/dist/sdk/core.js +7 -7
- package/dist/sdk/flow.js +8 -8
- package/dist/sdk/index.js +40 -41
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/resolver.js +8 -8
- package/dist/sdk/runner.js +40 -41
- package/dist/sdk/session.js +2 -2
- package/dist/sdk/transport/ws/server.js +8 -8
- package/dist/sdk/transport/ws.js +8 -8
- package/dist/sdk/transport.js +8 -8
- package/dist/sdk/types.js +1 -1
- package/dist/serve-preflight-TYEKHC32.js +56 -0
- package/dist/serve-preflight-TYEKHC32.js.map +1 -0
- package/dist/session/index.js +2 -2
- package/dist/{setup-X6ZYH2MW.js → setup-4JV2IMCB.js} +30 -31
- package/dist/setup-4JV2IMCB.js.map +1 -0
- package/dist/{skills-62PXDBPJ.js → skills-6QTKFMLW.js} +13 -13
- package/dist/{skills-62PXDBPJ.js.map → skills-6QTKFMLW.js.map} +1 -1
- package/dist/source-XYMMJVKR.js +86 -0
- package/dist/{source-LAYCTRHP.js.map → source-XYMMJVKR.js.map} +1 -1
- package/dist/{source-manifest-publish-3S6PJ25W.js → source-manifest-publish-SZFGGKB4.js} +52 -53
- package/dist/source-manifest-publish-SZFGGKB4.js.map +1 -0
- package/dist/transport/index.js +8 -8
- package/dist/transport/ws/server.js +8 -8
- package/dist/transport/ws.js +8 -8
- package/dist/tui/index.js +40 -41
- package/dist/tui/index.js.map +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/manifests.js +1 -1
- package/dist/types/src/manifests/agent.d.ts +2 -2
- package/dist/types/src/manifests/agent.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +8 -8
- package/dist/workspace-plugin/adapters/mcp.js +31 -32
- package/dist/workspace-plugin/adapters/omp.js +14 -14
- package/dist/workspace-plugin/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-24D7IW5O.js.map +0 -1
- package/dist/chunk-2WOA3TKK.js.map +0 -1
- package/dist/chunk-3ENE6ZOF.js.map +0 -1
- package/dist/chunk-5T3DTK7A.js.map +0 -1
- package/dist/chunk-6OHZUUR7.js.map +0 -1
- package/dist/chunk-6UP2EDFN.js.map +0 -1
- package/dist/chunk-6WQGJF65.js.map +0 -1
- package/dist/chunk-6X3GDPCB.js.map +0 -1
- package/dist/chunk-76FLBODK.js.map +0 -1
- package/dist/chunk-76WSWPOB.js.map +0 -1
- package/dist/chunk-ABVWUM2E.js.map +0 -1
- package/dist/chunk-DKXNKFKP.js.map +0 -1
- package/dist/chunk-EXRQKOY6.js.map +0 -1
- package/dist/chunk-GBXQFJ4G.js.map +0 -1
- package/dist/chunk-HXZ3FQQN.js.map +0 -1
- package/dist/chunk-IYZAJ2J2.js.map +0 -1
- package/dist/chunk-JSWMRYLM.js.map +0 -1
- package/dist/chunk-P7EL7QRD.js.map +0 -1
- package/dist/chunk-QJQQNBVT.js +0 -315
- package/dist/chunk-QJQQNBVT.js.map +0 -1
- package/dist/chunk-TF5CWJQZ.js.map +0 -1
- package/dist/chunk-TGB4E5Z6.js.map +0 -1
- package/dist/chunk-UVTN4O7N.js.map +0 -1
- package/dist/chunk-VSCLUPGZ.js.map +0 -1
- package/dist/chunk-VV2DJT4I.js.map +0 -1
- package/dist/chunk-YJNE4V2M.js.map +0 -1
- package/dist/connectors-4WH32NK2.js +0 -50
- package/dist/ensure-sources-UC2RBYMP.js.map +0 -1
- package/dist/open-library-XGUCUJYE.js +0 -58
- package/dist/open-registry-DIFEPDF6.js +0 -32
- package/dist/paths-G4GFJLE2.js +0 -22
- package/dist/project-LB745WVZ.js +0 -88
- package/dist/serve-preflight-NPWI4MV6.js.map +0 -1
- package/dist/setup-X6ZYH2MW.js.map +0 -1
- package/dist/source-LAYCTRHP.js +0 -87
- package/dist/source-manifest-publish-3S6PJ25W.js.map +0 -1
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { WorkspacePlugin } from './chunk-
|
|
2
|
-
import { buildWorkspaceToolDefs } from './chunk-
|
|
3
|
-
import { findAiAssetsRoot } from './chunk-
|
|
4
|
-
import { startModelEndpoint } from './chunk-
|
|
5
|
-
import { WebSocketServerTransport } from './chunk-
|
|
1
|
+
import { WorkspacePlugin } from './chunk-Z4FERR4U.js';
|
|
2
|
+
import { buildWorkspaceToolDefs } from './chunk-GTGWRKMJ.js';
|
|
3
|
+
import { findAiAssetsRoot } from './chunk-HQAPUPBE.js';
|
|
4
|
+
import { startModelEndpoint } from './chunk-SZKCE7EC.js';
|
|
5
|
+
import { WebSocketServerTransport } from './chunk-6A6HE5LW.js';
|
|
6
6
|
import { assembleSystemPrompt, buildCapabilitiesPromptSection } from './chunk-W3UDISS2.js';
|
|
7
|
-
import { prepareNativePolicy, codexInstanceEnvironment, parseCodexCredential, parseCodexRefreshInput, parseCodexRefreshResult } from './chunk-
|
|
8
|
-
import { resolveFlowPath } from './chunk-
|
|
9
|
-
import { findAiAssetsRoot as findAiAssetsRoot$1, deployCatalogEntry, undeployCatalogEntry } from './chunk-
|
|
10
|
-
import { ConnectFailureCarryOver, registerBuiltinConnectors, buildConnectorPromptSection, findMissingPackages, installNpmPackages, ConnectorManager, buildSdkConnectorTools, buildLazySdkFlowTools, describeFlowOperations, buildConnectorToolDefs, buildFlowToolDefs, SessionNodeExecutor, SessionSubpromptRunner, ClassifierSubpromptRunner, SessionInlineSubFlowRunner, driveOrchestratorTurn, buildSdkFlowTools } from './chunk-
|
|
11
|
-
import { loadYamlConnectorDeclarations, withMaterializedConnectorDeclarations, SecretProviderChain, ConnectorStartupError, isKnownSecretRef, EnvSecretProvider, PreMintedSecretProvider, InMemorySecretProvider, resolvedConfigToDeclarations, deriveSingleMaterializedConnectorDeclaration } from './chunk-
|
|
12
|
-
import { EventNormalizer } from './chunk-
|
|
13
|
-
import { sessionSurfaceNotice, approvalCardOf, APPROVE_ONCE, DENY, probeResumeTranscript, transcriptStoreForRuntime } from './chunk-
|
|
7
|
+
import { prepareNativePolicy, codexInstanceEnvironment, parseCodexCredential, parseCodexRefreshInput, parseCodexRefreshResult } from './chunk-CMXDFTA2.js';
|
|
8
|
+
import { resolveFlowPath } from './chunk-5ETYBC2X.js';
|
|
9
|
+
import { findAiAssetsRoot as findAiAssetsRoot$1, deployCatalogEntry, undeployCatalogEntry } from './chunk-USSP43U3.js';
|
|
10
|
+
import { ConnectFailureCarryOver, registerBuiltinConnectors, listConnectors, buildConnectorPromptSection, findMissingPackages, installNpmPackages, ConnectorManager, buildSdkConnectorTools, buildLazySdkFlowTools, describeFlowOperations, buildConnectorToolDefs, writeUserGitconfigInclude, buildFlowToolDefs, SessionNodeExecutor, SessionSubpromptRunner, ClassifierSubpromptRunner, SessionInlineSubFlowRunner, driveOrchestratorTurn, buildSdkFlowTools } from './chunk-VXYZ5M7Z.js';
|
|
11
|
+
import { loadYamlConnectorDeclarations, withMaterializedConnectorDeclarations, SecretProviderChain, ConnectorStartupError, isKnownSecretRef, EnvSecretProvider, PreMintedSecretProvider, InMemorySecretProvider, resolvedConfigToDeclarations, deriveSingleMaterializedConnectorDeclaration } from './chunk-4BFEPZ6J.js';
|
|
12
|
+
import { EventNormalizer } from './chunk-YN6N3RBM.js';
|
|
13
|
+
import { sessionSurfaceNotice, approvalCardOf, APPROVE_ONCE, DENY, probeResumeTranscript, transcriptStoreForRuntime } from './chunk-U3UDOX6I.js';
|
|
14
|
+
import { codexLoginFallbackNotice } from './chunk-65UAC3ZR.js';
|
|
14
15
|
import { CodexNativeStateUnavailable } from './chunk-LOO5CB5M.js';
|
|
15
|
-
import { dispatchCapability } from './chunk-
|
|
16
|
-
import { classifyClaudeSdkError } from './chunk-
|
|
16
|
+
import { dispatchCapability } from './chunk-KSUT5KAE.js';
|
|
17
|
+
import { classifyClaudeSdkError } from './chunk-5DE3DGVR.js';
|
|
17
18
|
import { agentExecRequested } from './chunk-7DN6JKP2.js';
|
|
18
|
-
import { toAgentEffort, toMergedRegistry } from './chunk-
|
|
19
|
-
import { unresolvedProviderCredentials, harnessCapabilities, createHarness, providerCredentialEnvName, registryCredentialEnv, supportsLiveToolUpdates } from './chunk-
|
|
20
|
-
import {
|
|
21
|
-
import { loadFlow } from './chunk-ZWCGJYR7.js';
|
|
19
|
+
import { toAgentEffort, toMergedRegistry } from './chunk-WW5NAU6N.js';
|
|
20
|
+
import { unresolvedProviderCredentials, harnessCapabilities, createHarness, catalogLayer, providerCredentialEnvName, registryCredentialEnv, AI_PROVIDER_PRESETS, supportsLiveToolUpdates } from './chunk-BSMW3PX2.js';
|
|
21
|
+
import { loadFlow } from './chunk-5XHQBCB5.js';
|
|
22
22
|
import { renderStimulusPrompt } from './chunk-WD3L5QSU.js';
|
|
23
|
-
import { TERMINAL_AGENT_RUN_STATUSES, withActivityLabelJsonSchema, TOOL_ACTIVITY_PROMPT_SECTION, SESSION_ROOT_CONNECTOR_ID, PLATFORM_BLOCKS_RUNTIME_FEATURE, PROTOCOL_VERSION, deliveryClassOf } from './chunk-
|
|
24
|
-
import { knowledgeKindProvider, scanLibraryRoot, LocalIndex } from './chunk-
|
|
25
|
-
import { createDefaultKindRegistry } from './chunk-
|
|
23
|
+
import { TERMINAL_AGENT_RUN_STATUSES, withActivityLabelJsonSchema, TOOL_ACTIVITY_PROMPT_SECTION, SESSION_ROOT_CONNECTOR_ID, PLATFORM_BLOCKS_RUNTIME_FEATURE, PROTOCOL_VERSION, deliveryClassOf } from './chunk-G5SYFFMD.js';
|
|
24
|
+
import { knowledgeKindProvider, scanLibraryRoot, LocalIndex } from './chunk-MMOWIRHP.js';
|
|
25
|
+
import { createDefaultKindRegistry } from './chunk-J4WKNJHO.js';
|
|
26
26
|
import { parseFlowDefinition } from './chunk-JRN5QF4C.js';
|
|
27
|
-
import { BindingSchema, effectiveComposes, AgentManifestSchema, AgentTriggerSchema, ANTHROPIC_MODEL_ALIASES } from './chunk-
|
|
28
|
-
import { readLock, buildAgentPromptSections, resolveSettings, loadProviderRegistry, resolveLibraryDir } from './chunk-
|
|
29
|
-
import { resolveRuntimeAssets } from './chunk-
|
|
27
|
+
import { BindingSchema, effectiveComposes, AgentManifestSchema, AgentTriggerSchema, ANTHROPIC_MODEL_ALIASES } from './chunk-VT6G5AJV.js';
|
|
28
|
+
import { readLock, buildAgentPromptSections, resolveSettings, loadProviderRegistry, resolveLibraryDir } from './chunk-6ARPZHOV.js';
|
|
29
|
+
import { resolveRuntimeAssets } from './chunk-JIQUF3X2.js';
|
|
30
30
|
import { DEFAULT_HARNESS_ID, resolveHarnessPaths } from './chunk-C5HFK34M.js';
|
|
31
|
-
import { matchPin, DEFAULT_AGENT_INSTANCE_ID, effectiveAgentInstances, resolveAgentDefinitionDir, AgentRefResolutionError, resolveSkWorkspaceConfig, resolveAgentDir, loadMcpServerDeclarations, COMPACTION_DEFAULTS, resolveCompactionThresholdPercent, getGlobalCacheDir, sourceCacheKey, validateAssetRecipeAttr, deriveSingleMaterializedMcpDeclaration, stageMaterializedSkills, readSkillAllowList, isStagedSkillMarkerFor, unstageSkill, STAGED_SKILL_MARKER } from './chunk-
|
|
32
|
-
import { globalSkaileDir } from './chunk-L5VSIPQD.js';
|
|
31
|
+
import { matchPin, DEFAULT_AGENT_INSTANCE_ID, effectiveAgentInstances, resolveAgentDefinitionDir, AgentRefResolutionError, resolveSkWorkspaceConfig, resolveAgentDir, agentSourceCacheDir, loadMcpServerDeclarations, COMPACTION_DEFAULTS, resolveCompactionThresholdPercent, getGlobalCacheDir, sourceCacheKey, validateAssetRecipeAttr, deriveSingleMaterializedMcpDeclaration, stageMaterializedSkills, readSkillAllowList, isStagedSkillMarkerFor, unstageSkill, STAGED_SKILL_MARKER } from './chunk-6SXSVKQY.js';
|
|
32
|
+
import { globalSkaileDir, globalCacheRoot } from './chunk-L5VSIPQD.js';
|
|
33
33
|
import { harnessNameForHarnessId, SUPPORTED_HARNESSES, HARNESS_TARGETS } from './chunk-VTETQCR6.js';
|
|
34
|
-
import { withFsDeadline, FsDeadlineError, fsDeadlineMs, parseFrontmatter, tryWithFsDeadline } from './chunk-
|
|
35
|
-
import { parseAssetRef } from './chunk-
|
|
34
|
+
import { withFsDeadline, FsDeadlineError, fsDeadlineMs, parseFrontmatter, tryWithFsDeadline } from './chunk-GNUA7XT2.js';
|
|
35
|
+
import { parseAssetRef } from './chunk-V5KG6CCV.js';
|
|
36
36
|
import { pickRegistryEntries, registryEntries, resolveEntryBaseUrl, parseModelRef, isEntryEnabled, parseCredentialRef } from './chunk-RXGPFAMN.js';
|
|
37
|
-
import { resolveLogStoreConfig, createLogStoreFromConfig, OnLogBridgeSink, WsLogSink, resolveLogsRetention, enforceLogsRetention } from './chunk-
|
|
37
|
+
import { resolveLogStoreConfig, createLogStoreFromConfig, OnLogBridgeSink, WsLogSink, resolveLogsRetention, enforceLogsRetention, scrubLogText } from './chunk-SGI5MRKP.js';
|
|
38
38
|
import { getLogStore, registerLogStore, createLogger, resetLogStore, isUnwritableStreamError, markStreamBroken, isBrokenPipeError, redactCredentials } from './chunk-BOFL7GIF.js';
|
|
39
39
|
import { __require } from './chunk-NSBPE2FW.js';
|
|
40
40
|
import { createInterface } from 'readline';
|
|
@@ -95,6 +95,13 @@ function unresolvedCredentialNotices(session) {
|
|
|
95
95
|
const notice = sessionSurfaceNotice(session.registry, session.modelRef);
|
|
96
96
|
return notice ? [notice] : [];
|
|
97
97
|
}
|
|
98
|
+
if (session.harnessType === "codex") {
|
|
99
|
+
const notice = codexLoginFallbackNotice(session, {
|
|
100
|
+
...process.env,
|
|
101
|
+
...session.credentialEnv
|
|
102
|
+
});
|
|
103
|
+
return notice ? [notice] : [];
|
|
104
|
+
}
|
|
98
105
|
if (session.harnessType !== "omp") return [];
|
|
99
106
|
return unresolvedProviderCredentials(session.registry, {
|
|
100
107
|
env: { ...process.env, ...session.credentialEnv }
|
|
@@ -1147,7 +1154,7 @@ function parseYamlSafe(text2) {
|
|
|
1147
1154
|
|
|
1148
1155
|
// runner/src/composition/resolve.ts
|
|
1149
1156
|
async function resolveComposition(opts) {
|
|
1150
|
-
const { items, library, source, compileManifest, runSnapshot, implicit } = opts;
|
|
1157
|
+
const { items, library, source, compileManifest, runSnapshot, implicit, lockPinned } = opts;
|
|
1151
1158
|
const result = {
|
|
1152
1159
|
inlineBlocks: [],
|
|
1153
1160
|
discoverableEntries: [],
|
|
@@ -1175,7 +1182,7 @@ async function resolveComposition(opts) {
|
|
|
1175
1182
|
}
|
|
1176
1183
|
throw err;
|
|
1177
1184
|
}
|
|
1178
|
-
if (isImplicit && binding === "inline-snapshot" && resolved.origin === "source") {
|
|
1185
|
+
if (isImplicit && binding === "inline-snapshot" && resolved.origin === "source" && !lockPinned) {
|
|
1179
1186
|
result.warnings.push(
|
|
1180
1187
|
`convention item "${item.ref}" (${item.kind}) is not compiled \u2014 read from the source; run \`skaile rebuild\` to pin it`
|
|
1181
1188
|
);
|
|
@@ -1432,6 +1439,17 @@ async function saveCompositionRunSnapshot(projectDir, snapshot) {
|
|
|
1432
1439
|
}
|
|
1433
1440
|
|
|
1434
1441
|
// runner/src/composition/resolve-instance.ts
|
|
1442
|
+
function isLockPinnedAgentDir(projectDir, agentDir) {
|
|
1443
|
+
const real = (p) => {
|
|
1444
|
+
try {
|
|
1445
|
+
return realpathSync(p);
|
|
1446
|
+
} catch {
|
|
1447
|
+
return path3.resolve(p);
|
|
1448
|
+
}
|
|
1449
|
+
};
|
|
1450
|
+
const dir = real(agentDir);
|
|
1451
|
+
return [agentSourceCacheDir(projectDir), path3.join(projectDir, ".skaile", "assets", "agent")].map(real).some((root) => dir === root || dir.startsWith(root + path3.sep));
|
|
1452
|
+
}
|
|
1435
1453
|
function instanceForSession(config, instanceId, agentDir) {
|
|
1436
1454
|
const id = instanceId ?? DEFAULT_AGENT_INSTANCE_ID;
|
|
1437
1455
|
return { instanceId: id, instance: effectiveAgentInstances(config)[id] ?? { ref: agentDir } };
|
|
@@ -1492,7 +1510,8 @@ async function resolveAgentInstance(opts) {
|
|
|
1492
1510
|
source,
|
|
1493
1511
|
compileManifest,
|
|
1494
1512
|
runSnapshot,
|
|
1495
|
-
implicit: isImplicit
|
|
1513
|
+
implicit: isImplicit,
|
|
1514
|
+
lockPinned: isLockPinnedAgentDir(projectDir, agentDir)
|
|
1496
1515
|
});
|
|
1497
1516
|
warnings.push(...content.warnings);
|
|
1498
1517
|
const subagents = { delegate: [], run: [] };
|
|
@@ -5023,6 +5042,63 @@ async function nodeHttpsFetch(url, init, agent) {
|
|
|
5023
5042
|
req.end(body);
|
|
5024
5043
|
});
|
|
5025
5044
|
}
|
|
5045
|
+
var SNAPSHOT_FORMAT = 1;
|
|
5046
|
+
function mcpToolsSnapshotDir() {
|
|
5047
|
+
return process.env.SKAILE_MCP_TOOLS_CACHE_DIR || join(globalCacheRoot(), "mcp-tools");
|
|
5048
|
+
}
|
|
5049
|
+
function mcpToolsSnapshotKey(decl) {
|
|
5050
|
+
return createHash("sha256").update(JSON.stringify([decl.id, decl.command ?? "", decl.args ?? []])).digest("hex").slice(0, 32);
|
|
5051
|
+
}
|
|
5052
|
+
function snapshotPath(decl) {
|
|
5053
|
+
const safeId = decl.id.replace(/[^A-Za-z0-9_.-]/g, "_");
|
|
5054
|
+
return join(mcpToolsSnapshotDir(), `${safeId}-${mcpToolsSnapshotKey(decl)}.json`);
|
|
5055
|
+
}
|
|
5056
|
+
function isToolDescriptor(v) {
|
|
5057
|
+
if (!v || typeof v !== "object") return false;
|
|
5058
|
+
const t = v;
|
|
5059
|
+
return typeof t.name === "string" && t.name.length > 0 && (t.description === void 0 || typeof t.description === "string");
|
|
5060
|
+
}
|
|
5061
|
+
async function readMcpToolsSnapshot(decl) {
|
|
5062
|
+
let parsed;
|
|
5063
|
+
try {
|
|
5064
|
+
parsed = JSON.parse(await readFile(snapshotPath(decl), "utf8"));
|
|
5065
|
+
} catch {
|
|
5066
|
+
return void 0;
|
|
5067
|
+
}
|
|
5068
|
+
const file = parsed;
|
|
5069
|
+
if (!file || file.format !== SNAPSHOT_FORMAT || file.id !== decl.id || file.key !== mcpToolsSnapshotKey(decl) || !Array.isArray(file.tools) || file.tools.length === 0 || !file.tools.every(isToolDescriptor)) {
|
|
5070
|
+
return void 0;
|
|
5071
|
+
}
|
|
5072
|
+
return file.tools;
|
|
5073
|
+
}
|
|
5074
|
+
async function writeMcpToolsSnapshot(decl, tools) {
|
|
5075
|
+
const path11 = snapshotPath(decl);
|
|
5076
|
+
const body = {
|
|
5077
|
+
format: SNAPSHOT_FORMAT,
|
|
5078
|
+
id: decl.id,
|
|
5079
|
+
key: mcpToolsSnapshotKey(decl),
|
|
5080
|
+
tools: tools.map((t) => ({
|
|
5081
|
+
name: t.name,
|
|
5082
|
+
...t.description !== void 0 ? { description: t.description } : {},
|
|
5083
|
+
...t.inputSchema !== void 0 ? { inputSchema: t.inputSchema } : {}
|
|
5084
|
+
}))
|
|
5085
|
+
};
|
|
5086
|
+
const tmp = `${path11}.${process.pid}.${Date.now()}.tmp`;
|
|
5087
|
+
try {
|
|
5088
|
+
await mkdir(mcpToolsSnapshotDir(), { recursive: true });
|
|
5089
|
+
await writeFile(tmp, JSON.stringify(body), "utf8");
|
|
5090
|
+
await rename(tmp, path11);
|
|
5091
|
+
return true;
|
|
5092
|
+
} catch {
|
|
5093
|
+
return false;
|
|
5094
|
+
}
|
|
5095
|
+
}
|
|
5096
|
+
function sameToolList(a, b) {
|
|
5097
|
+
const norm = (list) => JSON.stringify(
|
|
5098
|
+
[...list].sort((x, y) => x.name.localeCompare(y.name)).map((t) => [t.name, t.description ?? null, t.inputSchema ?? null])
|
|
5099
|
+
);
|
|
5100
|
+
return norm(a) === norm(b);
|
|
5101
|
+
}
|
|
5026
5102
|
var execFileAsync2 = promisify(execFile);
|
|
5027
5103
|
var DEFAULT_NIX_TIMEOUT_MS = 3e4;
|
|
5028
5104
|
var NIX_TIMEOUT_ENV_VAR = "SKAILE_NIX_TIMEOUT_MS";
|
|
@@ -5386,6 +5462,27 @@ function isMcpAuthError(err) {
|
|
|
5386
5462
|
if (typeof message !== "string") return false;
|
|
5387
5463
|
return /\b401\b|invalid[_ ]token|invalid[_ ]grant/i.test(message);
|
|
5388
5464
|
}
|
|
5465
|
+
function isLazyDeclaration(decl) {
|
|
5466
|
+
return decl.lazy === true && (decl.transport ?? "stdio") === "stdio";
|
|
5467
|
+
}
|
|
5468
|
+
function untilAborted(promise, signal) {
|
|
5469
|
+
if (!signal) return promise;
|
|
5470
|
+
if (signal.aborted) return Promise.reject(signal.reason ?? new Error("aborted"));
|
|
5471
|
+
return new Promise((resolve5, reject) => {
|
|
5472
|
+
const onAbort = () => reject(signal.reason ?? new Error("aborted"));
|
|
5473
|
+
signal.addEventListener("abort", onAbort, { once: true });
|
|
5474
|
+
promise.then(
|
|
5475
|
+
(v) => {
|
|
5476
|
+
signal.removeEventListener("abort", onAbort);
|
|
5477
|
+
resolve5(v);
|
|
5478
|
+
},
|
|
5479
|
+
(e) => {
|
|
5480
|
+
signal.removeEventListener("abort", onAbort);
|
|
5481
|
+
reject(e);
|
|
5482
|
+
}
|
|
5483
|
+
);
|
|
5484
|
+
});
|
|
5485
|
+
}
|
|
5389
5486
|
function errMessage(err) {
|
|
5390
5487
|
return err instanceof Error ? err.message : String(err);
|
|
5391
5488
|
}
|
|
@@ -5496,21 +5593,30 @@ var ExternalMcpManager = class {
|
|
|
5496
5593
|
* Connect one MCP server and register its tools into the capability registry.
|
|
5497
5594
|
* Returns the server id and the registered tool capability names.
|
|
5498
5595
|
* Throws if the id is already registered or if connect/listTools fails.
|
|
5596
|
+
*
|
|
5597
|
+
* A `lazy: true` stdio server with a tools snapshot is registered from the
|
|
5598
|
+
* snapshot and not started: its first tool call connects it. Without a
|
|
5599
|
+
* snapshot it starts now and writes one for the next session.
|
|
5499
5600
|
*/
|
|
5500
5601
|
async addServer(decl) {
|
|
5501
5602
|
if (this.servers.some((s) => s.id === decl.id)) {
|
|
5502
5603
|
throw new McpServerAlreadyRegisteredError(decl.id);
|
|
5503
5604
|
}
|
|
5605
|
+
const lazy = isLazyDeclaration(decl);
|
|
5606
|
+
const snapshot = lazy ? await readMcpToolsSnapshot(decl) : void 0;
|
|
5607
|
+
if (snapshot) return this.registerFromSnapshot(decl, snapshot);
|
|
5504
5608
|
const client = await this.connectWithReauth(decl);
|
|
5505
|
-
const server = { id: decl.id, decl, client, toolNames: [] };
|
|
5609
|
+
const server = { id: decl.id, decl, client, tools: [], toolNames: [] };
|
|
5506
5610
|
const toolNames = [];
|
|
5507
5611
|
try {
|
|
5508
5612
|
const { tools } = await client.listTools();
|
|
5613
|
+
server.tools = tools;
|
|
5509
5614
|
for (const tool of tools) {
|
|
5510
5615
|
const cap = this.buildToolCapability(server, tool);
|
|
5511
5616
|
this.registry.register(cap, "agent");
|
|
5512
5617
|
toolNames.push(cap.name);
|
|
5513
5618
|
}
|
|
5619
|
+
if (lazy) await writeMcpToolsSnapshot(decl, tools);
|
|
5514
5620
|
} catch (err) {
|
|
5515
5621
|
for (const name of toolNames) this.registry.deregister(name);
|
|
5516
5622
|
try {
|
|
@@ -5529,6 +5635,93 @@ var ExternalMcpManager = class {
|
|
|
5529
5635
|
});
|
|
5530
5636
|
return { id: decl.id, toolNames };
|
|
5531
5637
|
}
|
|
5638
|
+
/** Register a lazy server's capabilities from its snapshot, without starting it. */
|
|
5639
|
+
registerFromSnapshot(decl, tools) {
|
|
5640
|
+
const server = { id: decl.id, decl, tools, toolNames: [] };
|
|
5641
|
+
try {
|
|
5642
|
+
for (const tool of tools) {
|
|
5643
|
+
const cap = this.buildToolCapability(server, tool);
|
|
5644
|
+
this.registry.register(cap, "agent");
|
|
5645
|
+
server.toolNames.push(cap.name);
|
|
5646
|
+
}
|
|
5647
|
+
} catch (err) {
|
|
5648
|
+
for (const name of server.toolNames) this.registry.deregister(name);
|
|
5649
|
+
throw err;
|
|
5650
|
+
}
|
|
5651
|
+
this.servers.push(server);
|
|
5652
|
+
this.log.info("MCP server registered (runner-managed)", {
|
|
5653
|
+
id: decl.id,
|
|
5654
|
+
transport: "stdio",
|
|
5655
|
+
toolCount: server.toolNames.length,
|
|
5656
|
+
tools: server.toolNames,
|
|
5657
|
+
lazy: true,
|
|
5658
|
+
started: false
|
|
5659
|
+
});
|
|
5660
|
+
return { id: decl.id, toolNames: [...server.toolNames] };
|
|
5661
|
+
}
|
|
5662
|
+
/**
|
|
5663
|
+
* The server's live client, starting a lazy server on first use. Concurrent
|
|
5664
|
+
* first calls share one connect; a failed connect is not cached, so the next
|
|
5665
|
+
* call tries again.
|
|
5666
|
+
*/
|
|
5667
|
+
ensureClient(server) {
|
|
5668
|
+
if (server.client) return Promise.resolve(server.client);
|
|
5669
|
+
if (server.removed) return Promise.reject(new Error(`MCP server '${server.id}' was removed`));
|
|
5670
|
+
server.connectInFlight ??= this.startLazyServer(server).finally(() => {
|
|
5671
|
+
server.connectInFlight = void 0;
|
|
5672
|
+
});
|
|
5673
|
+
return server.connectInFlight;
|
|
5674
|
+
}
|
|
5675
|
+
async startLazyServer(server) {
|
|
5676
|
+
let client;
|
|
5677
|
+
let tools;
|
|
5678
|
+
try {
|
|
5679
|
+
client = await this.connectWithReauth(server.decl);
|
|
5680
|
+
} catch (err) {
|
|
5681
|
+
this.log.error("MCP server lazy start failed", err, { id: server.id });
|
|
5682
|
+
throw new Error(`MCP server '${server.id}' failed to start: ${errMessage(err)}`);
|
|
5683
|
+
}
|
|
5684
|
+
try {
|
|
5685
|
+
({ tools } = await client.listTools());
|
|
5686
|
+
} catch (err) {
|
|
5687
|
+
await client.close().catch(() => {
|
|
5688
|
+
});
|
|
5689
|
+
this.log.error("MCP server lazy start failed", err, { id: server.id });
|
|
5690
|
+
throw new Error(`MCP server '${server.id}' failed to start: ${errMessage(err)}`);
|
|
5691
|
+
}
|
|
5692
|
+
server.client = client;
|
|
5693
|
+
if (server.removed) throw new Error(`MCP server '${server.id}' was removed`);
|
|
5694
|
+
if (!sameToolList(server.tools, tools)) this.reregisterTools(server, tools);
|
|
5695
|
+
this.log.info("MCP server registered (runner-managed)", {
|
|
5696
|
+
id: server.id,
|
|
5697
|
+
transport: "stdio",
|
|
5698
|
+
toolCount: server.toolNames.length,
|
|
5699
|
+
tools: server.toolNames,
|
|
5700
|
+
lazy: true,
|
|
5701
|
+
started: true
|
|
5702
|
+
});
|
|
5703
|
+
return client;
|
|
5704
|
+
}
|
|
5705
|
+
/**
|
|
5706
|
+
* The snapshot disagreed with what the started server advertises: replace the
|
|
5707
|
+
* registered capabilities with the live list and rewrite the snapshot.
|
|
5708
|
+
*/
|
|
5709
|
+
reregisterTools(server, tools) {
|
|
5710
|
+
this.log.warn("MCP tools snapshot is stale; re-registering from the live server", {
|
|
5711
|
+
id: server.id,
|
|
5712
|
+
snapshotCount: server.tools.length,
|
|
5713
|
+
liveCount: tools.length
|
|
5714
|
+
});
|
|
5715
|
+
for (const name of server.toolNames) this.registry.deregister(name);
|
|
5716
|
+
server.toolNames = [];
|
|
5717
|
+
server.tools = tools;
|
|
5718
|
+
for (const tool of tools) {
|
|
5719
|
+
const cap = this.buildToolCapability(server, tool);
|
|
5720
|
+
this.registry.register(cap, "agent");
|
|
5721
|
+
server.toolNames.push(cap.name);
|
|
5722
|
+
}
|
|
5723
|
+
void writeMcpToolsSnapshot(server.decl, tools);
|
|
5724
|
+
}
|
|
5532
5725
|
/**
|
|
5533
5726
|
* Deregister a running MCP server's tools and close its client.
|
|
5534
5727
|
* No-op when the id is not found.
|
|
@@ -5541,14 +5734,17 @@ var ExternalMcpManager = class {
|
|
|
5541
5734
|
const idx = this.servers.findIndex((s) => s.id === id);
|
|
5542
5735
|
if (idx === -1) return;
|
|
5543
5736
|
const server = this.servers[idx];
|
|
5737
|
+
server.removed = true;
|
|
5544
5738
|
if (server.reauthInFlight) await server.reauthInFlight.catch(() => {
|
|
5545
5739
|
});
|
|
5740
|
+
if (server.connectInFlight) await server.connectInFlight.catch(() => {
|
|
5741
|
+
});
|
|
5546
5742
|
this.servers.splice(idx, 1);
|
|
5547
5743
|
for (const name of server.toolNames) {
|
|
5548
5744
|
this.registry.deregister(name);
|
|
5549
5745
|
}
|
|
5550
5746
|
try {
|
|
5551
|
-
await server.client
|
|
5747
|
+
await server.client?.close();
|
|
5552
5748
|
} catch {
|
|
5553
5749
|
}
|
|
5554
5750
|
this.log.info("MCP server removed (runner-managed)", { id });
|
|
@@ -5611,7 +5807,7 @@ var ExternalMcpManager = class {
|
|
|
5611
5807
|
const old = server.client;
|
|
5612
5808
|
server.client = next;
|
|
5613
5809
|
try {
|
|
5614
|
-
await old
|
|
5810
|
+
await old?.close();
|
|
5615
5811
|
} catch {
|
|
5616
5812
|
}
|
|
5617
5813
|
this.log.info("MCP server reconnected after 401 re-mint", { id: server.id });
|
|
@@ -5642,7 +5838,10 @@ var ExternalMcpManager = class {
|
|
|
5642
5838
|
inputZod: PASSTHROUGH_INPUT_ZOD,
|
|
5643
5839
|
handler: async (input, ctx) => {
|
|
5644
5840
|
const call = { name: tool.name, arguments: input ?? {} };
|
|
5645
|
-
const invoke = () =>
|
|
5841
|
+
const invoke = async () => {
|
|
5842
|
+
const client = await untilAborted(this.ensureClient(server), ctx.signal);
|
|
5843
|
+
return ctx.signal ? client.callTool(call, void 0, { signal: ctx.signal }) : client.callTool(call);
|
|
5844
|
+
};
|
|
5646
5845
|
let result;
|
|
5647
5846
|
try {
|
|
5648
5847
|
result = await invoke();
|
|
@@ -5676,13 +5875,16 @@ var ExternalMcpManager = class {
|
|
|
5676
5875
|
*/
|
|
5677
5876
|
async dispose(options = {}) {
|
|
5678
5877
|
const failures = [];
|
|
5679
|
-
|
|
5878
|
+
for (const server of this.servers) server.removed = true;
|
|
5879
|
+
await Promise.allSettled(
|
|
5880
|
+
this.servers.flatMap((s) => [s.reauthInFlight, s.connectInFlight]).filter(Boolean)
|
|
5881
|
+
);
|
|
5680
5882
|
for (const server of this.servers) {
|
|
5681
5883
|
for (const toolName of server.toolNames) {
|
|
5682
5884
|
this.registry.deregister(toolName);
|
|
5683
5885
|
}
|
|
5684
5886
|
try {
|
|
5685
|
-
await server.client
|
|
5887
|
+
await server.client?.close();
|
|
5686
5888
|
} catch (err) {
|
|
5687
5889
|
failures.push(err);
|
|
5688
5890
|
this.log.warn("MCP server close failed", {
|
|
@@ -5806,7 +6008,10 @@ async function buildAgentResources(projectDir, harnessType, _onLog, watch, secre
|
|
|
5806
6008
|
};
|
|
5807
6009
|
try {
|
|
5808
6010
|
registerBuiltinConnectors();
|
|
5809
|
-
const runtimeAssets = await resolveRuntimeAssets(projectDir
|
|
6011
|
+
const runtimeAssets = await resolveRuntimeAssets(projectDir, {
|
|
6012
|
+
// A plugin's driver has no catalog entry: it is registered in the process.
|
|
6013
|
+
isDriverRegistered: (driver) => listConnectors().includes(driver)
|
|
6014
|
+
});
|
|
5810
6015
|
for (const w of runtimeAssets.warnings) {
|
|
5811
6016
|
resLog.warn("runtime asset warning", { code: w.code, message: w.message });
|
|
5812
6017
|
}
|
|
@@ -5990,12 +6195,20 @@ async function maybeInstallNpmPeerDeps(runtimeAssets, projectDir, resLog) {
|
|
|
5990
6195
|
}
|
|
5991
6196
|
}
|
|
5992
6197
|
}
|
|
6198
|
+
function scrubConnectorError(error) {
|
|
6199
|
+
if (typeof error === "string") return scrubLogText(error);
|
|
6200
|
+
if (error instanceof Error) return scrubLogText(error.message);
|
|
6201
|
+
return error;
|
|
6202
|
+
}
|
|
5993
6203
|
function logConnectorReport(results, resLog) {
|
|
5994
6204
|
for (const r of results) {
|
|
5995
6205
|
if (r.connected) {
|
|
5996
6206
|
resLog.info("connector ok", { id: r.id, mountPath: r.mountPath });
|
|
5997
6207
|
} else {
|
|
5998
|
-
resLog.error("connector failed", void 0, {
|
|
6208
|
+
resLog.error("connector failed", void 0, {
|
|
6209
|
+
id: r.id,
|
|
6210
|
+
error: scrubConnectorError(r.error)
|
|
6211
|
+
});
|
|
5999
6212
|
}
|
|
6000
6213
|
}
|
|
6001
6214
|
}
|
|
@@ -12596,9 +12809,37 @@ function ensureGitConfigInclude(managedGitconfigPath, alsoMatching = []) {
|
|
|
12596
12809
|
throw err;
|
|
12597
12810
|
}
|
|
12598
12811
|
}
|
|
12812
|
+
function userGitconfigToInclude(managedGitconfigPath) {
|
|
12813
|
+
const home = process.env.HOME || homedir();
|
|
12814
|
+
if (!home) return void 0;
|
|
12815
|
+
const userPath = join(home, ".gitconfig");
|
|
12816
|
+
let text2;
|
|
12817
|
+
try {
|
|
12818
|
+
text2 = readFileSync(userPath, "utf-8");
|
|
12819
|
+
} catch {
|
|
12820
|
+
return void 0;
|
|
12821
|
+
}
|
|
12822
|
+
let realManaged = managedGitconfigPath;
|
|
12823
|
+
try {
|
|
12824
|
+
realManaged = join(realpathSync(dirname(managedGitconfigPath)), "managed-gitconfig");
|
|
12825
|
+
} catch {
|
|
12826
|
+
}
|
|
12827
|
+
if (text2.includes(managedGitconfigPath) || text2.includes(realManaged)) return void 0;
|
|
12828
|
+
return userPath;
|
|
12829
|
+
}
|
|
12599
12830
|
function setupManagedGitconfig(projectDir, serverLog, includeInHome) {
|
|
12600
12831
|
const managedGitconfigPath = join(resolve(projectDir), ".skaile", "managed-gitconfig");
|
|
12601
12832
|
process.env.GIT_CONFIG_GLOBAL = managedGitconfigPath;
|
|
12833
|
+
try {
|
|
12834
|
+
writeUserGitconfigInclude({
|
|
12835
|
+
gitconfigPath: managedGitconfigPath,
|
|
12836
|
+
userGitconfigPath: includeInHome ? void 0 : userGitconfigToInclude(managedGitconfigPath)
|
|
12837
|
+
});
|
|
12838
|
+
} catch (err) {
|
|
12839
|
+
serverLog.warn("failed to write managed-gitconfig \u2014 the agent's git has no global config", {
|
|
12840
|
+
error: err instanceof Error ? err.message : String(err)
|
|
12841
|
+
});
|
|
12842
|
+
}
|
|
12602
12843
|
if (!includeInHome) return;
|
|
12603
12844
|
try {
|
|
12604
12845
|
let includePath = managedGitconfigPath;
|
|
@@ -13124,7 +13365,11 @@ async function applyConnectorMutate(cmd, deps, respond, connectorWaitMs) {
|
|
|
13124
13365
|
}
|
|
13125
13366
|
} catch (err) {
|
|
13126
13367
|
const message = err instanceof Error ? err.message : String(err);
|
|
13127
|
-
deps.log.warn("connector_mutate failed", {
|
|
13368
|
+
deps.log.warn("connector_mutate failed", {
|
|
13369
|
+
id: cmd.id,
|
|
13370
|
+
op: cmd.op,
|
|
13371
|
+
error: scrubLogText(message)
|
|
13372
|
+
});
|
|
13128
13373
|
respond({ ok: false, code: "op_failed", error: message });
|
|
13129
13374
|
}
|
|
13130
13375
|
}
|
|
@@ -16171,6 +16416,6 @@ function touchSession(state) {
|
|
|
16171
16416
|
return { ...state, updatedAt: (/* @__PURE__ */ new Date()).toISOString() };
|
|
16172
16417
|
}
|
|
16173
16418
|
|
|
16174
|
-
export { AgentRunError, CLAUDE_CODE_CREDENTIALS_KEY, COMPILE_MANIFEST_FILENAME, CONNECTOR_MUTATE_NOT_READY, CapabilityRegistry, CompileManifestEntrySchema, CompositionError, DEFAULT_CAPABILITY_CALL_TIMEOUT_MS, DEFAULT_COALESCE_MS, DEFAULT_FLOW_MUTATE_CONNECTOR_WAIT_MS, DEFAULT_MAX_FINISHED_TREES, DEFAULT_RUN_LIMITS, MOUNT_LIST_MAX_DEPTH, MOUNT_LIST_MAX_ENTRIES, MOUNT_READ_DEADLINE_FACTOR, MOUNT_READ_MAX_CHUNK_BYTES, MOUNT_STAT_BUDGET_MS, MOUNT_STAT_MAX_ENTRIES, MOUNT_TREE_OP_DEADLINE_FACTOR, MOUNT_WRITE_MAX_CHUNK_BYTES, MarkdownStreamer, PreInitRingSink, ResourceOperationError, SESSION_ROOT_WRITABLE_DIRS, SESSION_ROOT_WRITABLE_FILES, UnknownCompositionKindError, WRITE_RANGE_PARTIAL_TTL_MS, WS_AUTH_TOKEN_ENV, WS_AUTH_TOKEN_FILE_ENV, agentDefinitionExists, bootstrapCapabilityRegistry, bootstrapRunnerLogStore, buildAgentResources, buildClientCapabilityHandler, buildCompositionRunSnapshot, buildConnectorTokenMediator, buildContextSection, buildEnvironmentSection, buildResourcesAvailablePayload, buildRunnerAgentSections, buildStoreSnapshotReplay, builtinCapabilities, canonicalJson, capabilityLogInstance, capabilitySignatureInputs, clearPreInitRingSink, clearSession, compileComposition, compositionRunSnapshotPath, computeCapabilitySignature, computeDirectoryTotals, computeRevisionHash, connectorRefreshKind, createAgentSession, createCompositionContentSource, createFinalTextFallback, createFlowConnectorReadiness, createInMemoryRunStore, createManagedCodexSubpromptHarness, createRunController, createSessionStimulusBus, defineCapability, deleteSession, describeComposition, dispatchResourceRequest, dispatchRunnerCapabilityInvocation, emitSystemPromptComposed, ensureClaudeSettingsDisablesConnectors, ensureGitConfigInclude, executeConnectorMutate, extractClaudeAiOauthExpiresAt, flowStartNeedsHarnessRestart, getPreInitRingSink, handleMountResourceRequest, handleResourceRequest, handleSessionRootResourceRequest, harnessActiveAfterTurnEnd, hasNonTerminalFlow, hashAgentFiles, hashContent, hostOpResumeStimulus, installPreInitRingSink, instanceForSession, instanceSessionOverrides, isCompilePinCurrent, isCompositionError, isEmptyKnowledgeIndex, isSessionRootPathAllowed, listSessions, loadAgentManifest, loadCompileManifest, loadCompileManifestFromDir, loadCompositionRunSnapshot, loadKnowledgeDir, loadManagedCodexHostConfig, loadSession, loadSessionById, manifestModelForHarness, mcpAuthSecretKey, newSession, nulTailPaddingLength, pickChatFlowTarget, pickFlowToolTarget, pickRepointedManager, planFlowMutate, prepareCodexTools, reconcilePendingDecisions, reconnectedRunNeedsAgentTurn, recreateKeepingLiveFlows, registerActiveFlow, registerCompositionCapabilities, rejectCapabilityOnApprovalDeny, rejectPendingCapabilityCallsOnDisconnect, resetRunnerLogStore, resolveAgentInstance, resolveBinding, resolveCapabilityCallTimeoutMs, resolveCapabilityResult, resolveComposition, resolveFlowMutateConnectorWaitMs, resolveInstanceAgentDir, resolveMixin, resolveSessionId, restoredRunHasWorkToResume, runAgentChat, saveCompositionRunSnapshot, saveSession, setCurrentSession, setUpFlowConnector, startAgentServer, stimulusFromMetas, stripFrontmatter, takeRunnerWsAuthToken, toActiveFlowTarget, touchSession, unresolvedCredentialNotices, validateInputResponse, verifyConventionItems, writeClaudeCodeCredentialsFile, writeRangeChunk, writeRangePartialPath };
|
|
16175
|
-
//# sourceMappingURL=chunk-
|
|
16176
|
-
//# sourceMappingURL=chunk-
|
|
16419
|
+
export { AgentRunError, CLAUDE_CODE_CREDENTIALS_KEY, COMPILE_MANIFEST_FILENAME, CONNECTOR_MUTATE_NOT_READY, CapabilityRegistry, CompileManifestEntrySchema, CompositionError, DEFAULT_CAPABILITY_CALL_TIMEOUT_MS, DEFAULT_COALESCE_MS, DEFAULT_FLOW_MUTATE_CONNECTOR_WAIT_MS, DEFAULT_MAX_FINISHED_TREES, DEFAULT_RUN_LIMITS, MOUNT_LIST_MAX_DEPTH, MOUNT_LIST_MAX_ENTRIES, MOUNT_READ_DEADLINE_FACTOR, MOUNT_READ_MAX_CHUNK_BYTES, MOUNT_STAT_BUDGET_MS, MOUNT_STAT_MAX_ENTRIES, MOUNT_TREE_OP_DEADLINE_FACTOR, MOUNT_WRITE_MAX_CHUNK_BYTES, MarkdownStreamer, PreInitRingSink, ResourceOperationError, SESSION_ROOT_WRITABLE_DIRS, SESSION_ROOT_WRITABLE_FILES, UnknownCompositionKindError, WRITE_RANGE_PARTIAL_TTL_MS, WS_AUTH_TOKEN_ENV, WS_AUTH_TOKEN_FILE_ENV, agentDefinitionExists, bootstrapCapabilityRegistry, bootstrapRunnerLogStore, buildAgentResources, buildClientCapabilityHandler, buildCompositionRunSnapshot, buildConnectorTokenMediator, buildContextSection, buildEnvironmentSection, buildResourcesAvailablePayload, buildRunnerAgentSections, buildStoreSnapshotReplay, builtinCapabilities, canonicalJson, capabilityLogInstance, capabilitySignatureInputs, clearPreInitRingSink, clearSession, compileComposition, compositionRunSnapshotPath, computeCapabilitySignature, computeDirectoryTotals, computeRevisionHash, connectorRefreshKind, createAgentSession, createCompositionContentSource, createFinalTextFallback, createFlowConnectorReadiness, createInMemoryRunStore, createManagedCodexSubpromptHarness, createRunController, createSessionStimulusBus, defineCapability, deleteSession, describeComposition, dispatchResourceRequest, dispatchRunnerCapabilityInvocation, emitSystemPromptComposed, ensureClaudeSettingsDisablesConnectors, ensureGitConfigInclude, executeConnectorMutate, extractClaudeAiOauthExpiresAt, flowStartNeedsHarnessRestart, getPreInitRingSink, handleMountResourceRequest, handleResourceRequest, handleSessionRootResourceRequest, harnessActiveAfterTurnEnd, hasNonTerminalFlow, hashAgentFiles, hashContent, hostOpResumeStimulus, installPreInitRingSink, instanceForSession, instanceSessionOverrides, isCompilePinCurrent, isCompositionError, isEmptyKnowledgeIndex, isSessionRootPathAllowed, listSessions, loadAgentManifest, loadCompileManifest, loadCompileManifestFromDir, loadCompositionRunSnapshot, loadKnowledgeDir, loadManagedCodexHostConfig, loadSession, loadSessionById, logConnectorReport, manifestModelForHarness, mcpAuthSecretKey, newSession, nulTailPaddingLength, pickChatFlowTarget, pickFlowToolTarget, pickRepointedManager, planFlowMutate, prepareCodexTools, reconcilePendingDecisions, reconnectedRunNeedsAgentTurn, recreateKeepingLiveFlows, registerActiveFlow, registerCompositionCapabilities, rejectCapabilityOnApprovalDeny, rejectPendingCapabilityCallsOnDisconnect, resetRunnerLogStore, resolveAgentInstance, resolveBinding, resolveCapabilityCallTimeoutMs, resolveCapabilityResult, resolveComposition, resolveFlowMutateConnectorWaitMs, resolveInstanceAgentDir, resolveMixin, resolveSessionId, restoredRunHasWorkToResume, runAgentChat, saveCompositionRunSnapshot, saveSession, setCurrentSession, setUpFlowConnector, startAgentServer, stimulusFromMetas, stripFrontmatter, takeRunnerWsAuthToken, toActiveFlowTarget, touchSession, unresolvedCredentialNotices, validateInputResponse, verifyConventionItems, writeClaudeCodeCredentialsFile, writeRangeChunk, writeRangePartialPath };
|
|
16420
|
+
//# sourceMappingURL=chunk-AQNW2FET.js.map
|
|
16421
|
+
//# sourceMappingURL=chunk-AQNW2FET.js.map
|