@skaile/workspaces 5.15.1 → 5.16.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 +54 -0
- package/dist/{asset-feeds-FVDNQ2FM.js → asset-feeds-BELBSJEE.js} +18 -18
- package/dist/{asset-feeds-FVDNQ2FM.js.map → asset-feeds-BELBSJEE.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.js +7 -7
- package/dist/asset-manager/index.js +13 -13
- package/dist/asset-manager/installer.js +9 -9
- package/dist/asset-manager/renderers.js +8 -8
- package/dist/asset-manager/src/index.d.ts +105 -6
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/asset-manager/src/installer.d.ts +11 -2
- package/dist/asset-manager/src/installer.d.ts.map +1 -1
- package/dist/asset-manager/src/mcp-config.d.ts.map +1 -1
- package/dist/bridge/drivers/claude-sdk.js +150 -19
- package/dist/bridge/drivers/claude-sdk.js.map +1 -1
- package/dist/bridge/drivers/codex.js +15 -128
- package/dist/bridge/drivers/codex.js.map +1 -1
- package/dist/bridge/drivers/continue.js +10 -10
- package/dist/bridge/drivers/echo.js +2 -2
- package/dist/bridge/drivers/gemini.js +7 -7
- package/dist/bridge/drivers/goose.js +10 -10
- package/dist/bridge/drivers/omp.js +61 -5
- package/dist/bridge/drivers/omp.js.map +1 -1
- package/dist/bridge/drivers/opencode.js +10 -10
- package/dist/bridge/drivers/qwen.js +7 -7
- package/dist/bridge/index.js +13 -12
- package/dist/bridge/src/approval-card.d.ts +24 -0
- package/dist/bridge/src/approval-card.d.ts.map +1 -0
- package/dist/bridge/src/driver-model-check.d.ts +21 -0
- package/dist/bridge/src/driver-model-check.d.ts.map +1 -0
- package/dist/bridge/src/drivers/claude-sdk.d.ts +22 -0
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
- package/dist/bridge/src/drivers/omp-models-yml.d.ts.map +1 -1
- package/dist/bridge/src/drivers/omp.d.ts.map +1 -1
- package/dist/bridge/src/index.d.ts +2 -0
- package/dist/bridge/src/index.d.ts.map +1 -1
- package/dist/bridge/src/types.d.ts +23 -0
- package/dist/bridge/src/types.d.ts.map +1 -1
- package/dist/{chunk-YUURCZWY.js → chunk-2SKPPIV7.js} +5 -5
- package/dist/{chunk-YUURCZWY.js.map → chunk-2SKPPIV7.js.map} +1 -1
- package/dist/{chunk-PK5XQBOC.js → chunk-46IRZJV4.js} +4 -4
- package/dist/{chunk-PK5XQBOC.js.map → chunk-46IRZJV4.js.map} +1 -1
- package/dist/{chunk-NVBN3YOH.js → chunk-5CE6J4DB.js} +46 -67
- package/dist/chunk-5CE6J4DB.js.map +1 -0
- package/dist/{chunk-54TVXZP3.js → chunk-5DCOG5B5.js} +3 -3
- package/dist/{chunk-54TVXZP3.js.map → chunk-5DCOG5B5.js.map} +1 -1
- package/dist/{chunk-X7DIT65W.js → chunk-5RDZ5JHH.js} +4 -4
- package/dist/{chunk-X7DIT65W.js.map → chunk-5RDZ5JHH.js.map} +1 -1
- package/dist/{chunk-BV7NLPI6.js → chunk-6GSE63K2.js} +4 -4
- package/dist/{chunk-BV7NLPI6.js.map → chunk-6GSE63K2.js.map} +1 -1
- package/dist/{chunk-GQ5OYFVD.js → chunk-6Q7NKTDG.js} +47 -47
- package/dist/chunk-6Q7NKTDG.js.map +1 -0
- package/dist/chunk-6RTEUWXX.js +125 -0
- package/dist/chunk-6RTEUWXX.js.map +1 -0
- package/dist/{chunk-RTYDYSUV.js → chunk-72KZJE3G.js} +82 -22
- package/dist/chunk-72KZJE3G.js.map +1 -0
- package/dist/{chunk-SAKVAG23.js → chunk-A26MUUN7.js} +7 -7
- package/dist/{chunk-SAKVAG23.js.map → chunk-A26MUUN7.js.map} +1 -1
- package/dist/{chunk-NHH3MRSC.js → chunk-A7AZ3RL5.js} +6 -6
- package/dist/{chunk-NHH3MRSC.js.map → chunk-A7AZ3RL5.js.map} +1 -1
- package/dist/{chunk-LEOXPIC6.js → chunk-AP24HESN.js} +3 -3
- package/dist/{chunk-LEOXPIC6.js.map → chunk-AP24HESN.js.map} +1 -1
- package/dist/{chunk-JJLH4TX4.js → chunk-CQFVKN6S.js} +230 -62
- package/dist/chunk-CQFVKN6S.js.map +1 -0
- package/dist/{chunk-OOQ5Q75W.js → chunk-D3PU3C6F.js} +41 -16
- package/dist/chunk-D3PU3C6F.js.map +1 -0
- package/dist/{chunk-WXKNM2JJ.js → chunk-D5REDKVU.js} +3 -3
- package/dist/{chunk-WXKNM2JJ.js.map → chunk-D5REDKVU.js.map} +1 -1
- package/dist/{chunk-R37L4BNR.js → chunk-DADAZLFW.js} +648 -76
- package/dist/chunk-DADAZLFW.js.map +1 -0
- package/dist/{chunk-U7YMGW7M.js → chunk-DQOAPR4M.js} +2 -2
- package/dist/{chunk-U7YMGW7M.js.map → chunk-DQOAPR4M.js.map} +1 -1
- package/dist/{chunk-7Y7UYNGL.js → chunk-E634MBP6.js} +12 -9
- package/dist/chunk-E634MBP6.js.map +1 -0
- package/dist/{chunk-NKDSU4Q7.js → chunk-ES6ARJPQ.js} +21 -7
- package/dist/chunk-ES6ARJPQ.js.map +1 -0
- package/dist/{chunk-WWUWMOX2.js → chunk-FSLVMZXR.js} +37 -17
- package/dist/chunk-FSLVMZXR.js.map +1 -0
- package/dist/{chunk-MKTJZLQM.js → chunk-FSSRBWYL.js} +4 -4
- package/dist/{chunk-MKTJZLQM.js.map → chunk-FSSRBWYL.js.map} +1 -1
- package/dist/{chunk-VY6NTFE7.js → chunk-FT4ZHLYR.js} +3 -2
- package/dist/chunk-FT4ZHLYR.js.map +1 -0
- package/dist/chunk-FWAJUWXQ.js +1016 -0
- package/dist/chunk-FWAJUWXQ.js.map +1 -0
- package/dist/{chunk-ANSZULXH.js → chunk-H7R7R5BN.js} +21 -6
- package/dist/chunk-H7R7R5BN.js.map +1 -0
- package/dist/{chunk-4AKR4XPQ.js → chunk-HG52NGAV.js} +3 -3
- package/dist/chunk-HG52NGAV.js.map +1 -0
- package/dist/{plugin-store-BIITCNOZ.js → chunk-HUKUYWBJ.js} +32 -23
- package/dist/chunk-HUKUYWBJ.js.map +1 -0
- package/dist/{chunk-JUHDED6J.js → chunk-ISSYT5AZ.js} +3 -3
- package/dist/{chunk-JUHDED6J.js.map → chunk-ISSYT5AZ.js.map} +1 -1
- package/dist/{chunk-GR7TV4XC.js → chunk-J4RRH2NP.js} +4 -4
- package/dist/{chunk-GR7TV4XC.js.map → chunk-J4RRH2NP.js.map} +1 -1
- package/dist/{chunk-NOF73BUH.js → chunk-L6UMSKDF.js} +10 -2
- package/dist/chunk-L6UMSKDF.js.map +1 -0
- package/dist/{chunk-TCWECSEB.js → chunk-NSNM2ZXF.js} +28 -4
- package/dist/chunk-NSNM2ZXF.js.map +1 -0
- package/dist/{chunk-B6I7SF2X.js → chunk-OHNNCXMB.js} +114 -81
- package/dist/chunk-OHNNCXMB.js.map +1 -0
- package/dist/{chunk-MUOSKYI2.js → chunk-OJHPG6HK.js} +10 -10
- package/dist/{chunk-MUOSKYI2.js.map → chunk-OJHPG6HK.js.map} +1 -1
- package/dist/{chunk-SZPE55SB.js → chunk-PGZDSDOB.js} +3 -3
- package/dist/{chunk-SZPE55SB.js.map → chunk-PGZDSDOB.js.map} +1 -1
- package/dist/{chunk-4QINFQ27.js → chunk-PIC23DDE.js} +59 -17
- package/dist/chunk-PIC23DDE.js.map +1 -0
- package/dist/{chunk-GLMKS6V6.js → chunk-RTNWU2UD.js} +4 -4
- package/dist/{chunk-GLMKS6V6.js.map → chunk-RTNWU2UD.js.map} +1 -1
- package/dist/{chunk-354JIEIE.js → chunk-SAGBVBY2.js} +5 -5
- package/dist/{chunk-354JIEIE.js.map → chunk-SAGBVBY2.js.map} +1 -1
- package/dist/{chunk-55VKZUQY.js → chunk-SMUIYYCH.js} +70 -34
- package/dist/chunk-SMUIYYCH.js.map +1 -0
- package/dist/{chunk-N36S36OZ.js → chunk-SPV2CXJ3.js} +3 -3
- package/dist/{chunk-N36S36OZ.js.map → chunk-SPV2CXJ3.js.map} +1 -1
- package/dist/{chunk-KRRHADE7.js → chunk-SXWGLW23.js} +4 -4
- package/dist/{chunk-KRRHADE7.js.map → chunk-SXWGLW23.js.map} +1 -1
- package/dist/{chunk-RNFHJUK7.js → chunk-TADJCATD.js} +3 -3
- package/dist/{chunk-RNFHJUK7.js.map → chunk-TADJCATD.js.map} +1 -1
- package/dist/{chunk-PQF5QHVS.js → chunk-TKI7YDWE.js} +19 -5
- package/dist/chunk-TKI7YDWE.js.map +1 -0
- package/dist/{chunk-O673TBWJ.js → chunk-TXGVG7VH.js} +3 -3
- package/dist/{chunk-O673TBWJ.js.map → chunk-TXGVG7VH.js.map} +1 -1
- package/dist/{chunk-GV3MFKDV.js → chunk-VJ2DZLDM.js} +62 -6
- package/dist/chunk-VJ2DZLDM.js.map +1 -0
- package/dist/{chunk-PV47EEHD.js → chunk-WKEBNB5S.js} +4 -4
- package/dist/{chunk-PV47EEHD.js.map → chunk-WKEBNB5S.js.map} +1 -1
- package/dist/{chunk-ESXZJP4M.js → chunk-WXWQNJCT.js} +3 -3
- package/dist/{chunk-ESXZJP4M.js.map → chunk-WXWQNJCT.js.map} +1 -1
- package/dist/{chunk-DPCEQOIZ.js → chunk-XGR7IDTY.js} +3 -3
- package/dist/{chunk-DPCEQOIZ.js.map → chunk-XGR7IDTY.js.map} +1 -1
- package/dist/{chunk-VQQCA7BD.js → chunk-Y25V2MW2.js} +4 -4
- package/dist/{chunk-VQQCA7BD.js.map → chunk-Y25V2MW2.js.map} +1 -1
- package/dist/{chunk-MGM5EJQQ.js → chunk-YK3XLEQJ.js} +40 -26
- package/dist/chunk-YK3XLEQJ.js.map +1 -0
- package/dist/{chunk-SP5NGNBV.js → chunk-YW2BNDSE.js} +11 -4
- package/dist/chunk-YW2BNDSE.js.map +1 -0
- package/dist/{chunk-J76LDUDS.js → chunk-ZVZTCDUN.js} +26 -10
- package/dist/chunk-ZVZTCDUN.js.map +1 -0
- package/dist/cli/index.js +899 -1617
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/agent-checks.d.ts +22 -10
- package/dist/cli/src/agent-checks.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/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/library-publish.d.ts.map +1 -1
- package/dist/cli/src/commands/outdated.d.ts.map +1 -1
- package/dist/cli/src/commands/plugin/codex.d.ts +10 -0
- package/dist/cli/src/commands/plugin/codex.d.ts.map +1 -1
- package/dist/cli/src/commands/plugin/types.d.ts +5 -2
- package/dist/cli/src/commands/plugin/types.d.ts.map +1 -1
- package/dist/cli/src/commands/preset-export.d.ts.map +1 -1
- package/dist/cli/src/commands/project.d.ts +6 -0
- package/dist/cli/src/commands/project.d.ts.map +1 -1
- package/dist/cli/src/commands/rebuild.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 +13 -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/show.d.ts.map +1 -1
- package/dist/cli/src/commands/source.d.ts +2 -1
- package/dist/cli/src/commands/source.d.ts.map +1 -1
- package/dist/cli/src/commands/store.d.ts.map +1 -1
- package/dist/cli/src/commands/update.d.ts.map +1 -1
- package/dist/cli/src/commands/validate.d.ts +6 -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/helpers.d.ts +23 -0
- package/dist/cli/src/helpers.d.ts.map +1 -1
- package/dist/cli/src/plugin-store/index.d.ts +8 -0
- package/dist/cli/src/plugin-store/index.d.ts.map +1 -1
- package/dist/cli/src/plugin-store/load.d.ts +1 -0
- package/dist/cli/src/plugin-store/load.d.ts.map +1 -1
- package/dist/cli/src/skill-checks.d.ts +9 -21
- package/dist/cli/src/skill-checks.d.ts.map +1 -1
- package/dist/connectors/config.js +5 -5
- package/dist/connectors/index.js +16 -15
- package/dist/{connectors-TVFFE5H4.js → connectors-44RE2QEM.js} +19 -18
- package/dist/{connectors-TVFFE5H4.js.map → connectors-44RE2QEM.js.map} +1 -1
- package/dist/core/index.js +6 -6
- 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/conformance.d.ts.map +1 -1
- package/dist/core/src/driver-sdk.d.ts +12 -2
- package/dist/core/src/driver-sdk.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 +7 -0
- package/dist/core/src/lock.d.ts.map +1 -1
- package/dist/core/src/manifest.d.ts +9 -0
- package/dist/core/src/manifest.d.ts.map +1 -1
- package/dist/core/src/models.d.ts.map +1 -1
- package/dist/core/src/publish-manifest.d.ts +5 -2
- package/dist/core/src/publish-manifest.d.ts.map +1 -1
- package/dist/core/src/repo-manager.d.ts +14 -0
- package/dist/core/src/repo-manager.d.ts.map +1 -1
- package/dist/core/workspace-config.js +4 -4
- package/dist/deploy/index.js +6 -6
- package/dist/discovery/index.js +5 -5
- package/dist/discovery/src/index.d.ts +2 -2
- package/dist/discovery/src/index.d.ts.map +1 -1
- package/dist/discovery/src/parse-manifest.d.ts +7 -0
- package/dist/discovery/src/parse-manifest.d.ts.map +1 -1
- package/dist/discovery/src/source-config.d.ts +6 -0
- package/dist/discovery/src/source-config.d.ts.map +1 -1
- package/dist/{ensure-sources-N4E5EDGC.js → ensure-sources-R6AHZ7RV.js} +16 -16
- package/dist/{ensure-sources-N4E5EDGC.js.map → ensure-sources-R6AHZ7RV.js.map} +1 -1
- package/dist/factory-assets/README.md +1 -1
- package/dist/factory-assets/connectors/box.js +16 -15
- package/dist/factory-assets/connectors/deploy.js +16 -15
- package/dist/factory-assets/connectors/devserver.js +16 -15
- package/dist/factory-assets/connectors/flow/adapter.js +16 -15
- package/dist/factory-assets/connectors/flow/engine.js +7 -7
- package/dist/factory-assets/connectors/flow/run-flow.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/run-flow.js +18 -17
- package/dist/factory-assets/connectors/flow.js +16 -15
- package/dist/factory-assets/connectors/git.js +16 -15
- package/dist/factory-assets/connectors/gmail.js +16 -15
- package/dist/factory-assets/connectors/googledrive.js +16 -15
- package/dist/factory-assets/connectors/local.js +16 -15
- package/dist/factory-assets/connectors/mattermost.js +16 -15
- package/dist/factory-assets/connectors/memory.js +16 -15
- package/dist/factory-assets/connectors/minio.js +16 -15
- package/dist/factory-assets/connectors/postgres.js +16 -15
- package/dist/factory-assets/connectors/s3.js +16 -15
- package/dist/factory-assets/connectors/sharepoint.js +16 -15
- package/dist/factory-assets/connectors/sqlite.js +16 -15
- package/dist/factory-assets/connectors/static-server.js +16 -15
- package/dist/factory-assets/connectors/tunnel.js +16 -15
- package/dist/factory-assets/connectors/webdav.js +16 -15
- package/dist/factory-assets/connectors/xstate-store.js +16 -15
- package/dist/factory-assets/connectors/xstate.js +16 -15
- package/dist/factory-assets/skills/authoring-skaile-assets/SKILL.md +12 -11
- package/dist/factory-assets/skills/authoring-skaile-manifests/SKILL.md +11 -7
- package/dist/factory-assets/skills/skailify/SKILL.md +3 -3
- package/dist/{flows-CYJI3URW.js → flows-YKC53LDP.js} +11 -11
- package/dist/{flows-CYJI3URW.js.map → flows-YKC53LDP.js.map} +1 -1
- package/dist/{helpers-PPVGVYIZ.js → helpers-FNQL5PI7.js} +16 -16
- package/dist/{helpers-PPVGVYIZ.js.map → helpers-FNQL5PI7.js.map} +1 -1
- package/dist/library/index.js +10 -10
- package/dist/library/install.js +4 -4
- package/dist/library/src/index.d.ts +1 -1
- package/dist/library/src/index.d.ts.map +1 -1
- package/dist/library/src/local/store-paths.d.ts +8 -0
- package/dist/library/src/local/store-paths.d.ts.map +1 -1
- package/dist/library/src/manifest-writer.d.ts +5 -1
- package/dist/library/src/manifest-writer.d.ts.map +1 -1
- package/dist/library/src/remote/remote-catalog-source.d.ts +3 -2
- package/dist/library/src/remote/remote-catalog-source.d.ts.map +1 -1
- package/dist/{library-publish-EQFYHJ6G.js → library-publish-GHPVY42Y.js} +56 -48
- package/dist/library-publish-GHPVY42Y.js.map +1 -0
- package/dist/model-endpoint/index.js +19 -3
- package/dist/model-endpoint/src/index.d.ts +1 -1
- package/dist/model-endpoint/src/index.d.ts.map +1 -1
- package/dist/model-endpoint/src/resolve.d.ts +5 -0
- package/dist/model-endpoint/src/resolve.d.ts.map +1 -1
- package/dist/model-endpoint/src/server.d.ts +7 -0
- package/dist/model-endpoint/src/server.d.ts.map +1 -1
- package/dist/model-endpoint/src/types.d.ts +41 -7
- package/dist/model-endpoint/src/types.d.ts.map +1 -1
- package/dist/{open-library-JJGDEYYT.js → open-library-YSUGNP36.js} +19 -19
- package/dist/{open-library-JJGDEYYT.js.map → open-library-YSUGNP36.js.map} +1 -1
- package/dist/{open-registry-X6YQVP7V.js → open-registry-YPRQDUMK.js} +14 -14
- package/dist/{open-registry-X6YQVP7V.js.map → open-registry-YPRQDUMK.js.map} +1 -1
- package/dist/{paths-NXWIBZCX.js → paths-P55DTBEK.js} +9 -9
- package/dist/{paths-NXWIBZCX.js.map → paths-P55DTBEK.js.map} +1 -1
- package/dist/plugin-store-IPIBZRBX.js +23 -0
- package/dist/plugin-store-IPIBZRBX.js.map +1 -0
- package/dist/project-NDSLXERO.js +83 -0
- package/dist/{project-5HW3XSOE.js.map → project-NDSLXERO.js.map} +1 -1
- package/dist/resolver/index.js +7 -7
- package/dist/resolver/src/types.d.ts +1 -0
- package/dist/resolver/src/types.d.ts.map +1 -1
- package/dist/resolver/src/validator.d.ts +1 -1
- package/dist/runner/index.js +32 -31
- package/dist/runner/src/agent.d.ts +9 -1
- package/dist/runner/src/agent.d.ts.map +1 -1
- package/dist/runner/src/agents/in-process-host.d.ts.map +1 -1
- package/dist/runner/src/composition/content-source.d.ts.map +1 -1
- package/dist/runner/src/composition/index.d.ts +1 -1
- package/dist/runner/src/composition/index.d.ts.map +1 -1
- package/dist/runner/src/composition/resolve-instance.d.ts +20 -0
- package/dist/runner/src/composition/resolve-instance.d.ts.map +1 -1
- package/dist/runner/src/model-endpoint-discovery.d.ts.map +1 -1
- package/dist/runner/src/resource-handler.d.ts.map +1 -1
- package/dist/runner/src/runner-capabilities.d.ts +9 -3
- package/dist/runner/src/runner-capabilities.d.ts.map +1 -1
- package/dist/runner/src/serve.d.ts +10 -0
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/runner/src/session-builder.d.ts +20 -1
- package/dist/runner/src/session-builder.d.ts.map +1 -1
- package/dist/runner/src/session-capability-wiring.d.ts +5 -0
- package/dist/runner/src/session-capability-wiring.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +13 -13
- package/dist/sdk/bridge.js +13 -12
- package/dist/sdk/core.js +6 -6
- package/dist/sdk/flow.js +7 -7
- package/dist/sdk/index.js +32 -31
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/resolver.js +7 -7
- package/dist/sdk/runner.js +32 -31
- package/dist/sdk/transport/ws/server.js +1 -1
- package/dist/sdk/transport/ws.js +1 -1
- package/dist/sdk/transport.js +1 -1
- package/dist/{serve-preflight-GD7IQFA3.js → serve-preflight-ON2LS3SD.js} +15 -9
- package/dist/serve-preflight-ON2LS3SD.js.map +1 -0
- package/dist/{setup-52NDDR7C.js → setup-MFPEQS2I.js} +23 -22
- package/dist/setup-MFPEQS2I.js.map +1 -0
- package/dist/{skills-XVHOXOOH.js → skills-7G6QCDEM.js} +12 -12
- package/dist/{skills-XVHOXOOH.js.map → skills-7G6QCDEM.js.map} +1 -1
- package/dist/{source-WKV4QFGS.js → source-4QVRD5NV.js} +42 -41
- package/dist/{source-WKV4QFGS.js.map → source-4QVRD5NV.js.map} +1 -1
- package/dist/{source-manifest-publish-3HAX6DPN.js → source-manifest-publish-ZIO24GUM.js} +44 -43
- package/dist/source-manifest-publish-ZIO24GUM.js.map +1 -0
- package/dist/transport/index.js +1 -1
- package/dist/transport/src/ws/server.d.ts +9 -0
- package/dist/transport/src/ws/server.d.ts.map +1 -1
- package/dist/transport/ws/server.js +1 -1
- package/dist/transport/ws.js +1 -1
- package/dist/tui/index.js +107 -41
- package/dist/tui/index.js.map +1 -1
- package/dist/tui/src/repl-session.d.ts +7 -0
- package/dist/tui/src/repl-session.d.ts.map +1 -1
- package/dist/tui/src/repl.d.ts +16 -0
- package/dist/tui/src/repl.d.ts.map +1 -1
- package/dist/types/manifests.js +1 -1
- package/dist/types/src/manifests/index.d.ts +1 -0
- package/dist/types/src/manifests/index.d.ts.map +1 -1
- package/dist/types/src/manifests/scaffold-body.d.ts +8 -0
- package/dist/types/src/manifests/scaffold-body.d.ts.map +1 -0
- package/dist/workspace-plugin/adapters/mcp.js +23 -22
- package/dist/workspace-plugin/adapters/omp.js +14 -14
- package/dist/workspace-plugin/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-4AKR4XPQ.js.map +0 -1
- package/dist/chunk-4QINFQ27.js.map +0 -1
- package/dist/chunk-55VKZUQY.js.map +0 -1
- package/dist/chunk-7Y7UYNGL.js.map +0 -1
- package/dist/chunk-ANSZULXH.js.map +0 -1
- package/dist/chunk-B6I7SF2X.js.map +0 -1
- package/dist/chunk-GQ5OYFVD.js.map +0 -1
- package/dist/chunk-GV3MFKDV.js.map +0 -1
- package/dist/chunk-J76LDUDS.js.map +0 -1
- package/dist/chunk-JJLH4TX4.js.map +0 -1
- package/dist/chunk-MGM5EJQQ.js.map +0 -1
- package/dist/chunk-NKDSU4Q7.js.map +0 -1
- package/dist/chunk-NOF73BUH.js.map +0 -1
- package/dist/chunk-NVBN3YOH.js.map +0 -1
- package/dist/chunk-OOQ5Q75W.js.map +0 -1
- package/dist/chunk-PQF5QHVS.js.map +0 -1
- package/dist/chunk-R37L4BNR.js.map +0 -1
- package/dist/chunk-RTYDYSUV.js.map +0 -1
- package/dist/chunk-SP5NGNBV.js.map +0 -1
- package/dist/chunk-TCWECSEB.js.map +0 -1
- package/dist/chunk-VY6NTFE7.js.map +0 -1
- package/dist/chunk-WWUWMOX2.js.map +0 -1
- package/dist/library-publish-EQFYHJ6G.js.map +0 -1
- package/dist/plugin-store-BIITCNOZ.js.map +0 -1
- package/dist/project-5HW3XSOE.js +0 -82
- package/dist/serve-preflight-GD7IQFA3.js.map +0 -1
- package/dist/setup-52NDDR7C.js.map +0 -1
- package/dist/source-manifest-publish-3HAX6DPN.js.map +0 -1
|
@@ -1,41 +1,42 @@
|
|
|
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-DQOAPR4M.js';
|
|
2
|
+
import { buildWorkspaceToolDefs } from './chunk-A7AZ3RL5.js';
|
|
3
|
+
import { findAiAssetsRoot } from './chunk-PGZDSDOB.js';
|
|
4
|
+
import { startModelEndpoint } from './chunk-72KZJE3G.js';
|
|
5
|
+
import { WebSocketServerTransport } from './chunk-L6UMSKDF.js';
|
|
6
6
|
import { assembleSystemPrompt, buildCapabilitiesPromptSection } from './chunk-W3UDISS2.js';
|
|
7
7
|
import { prepareNativePolicy, codexInstanceEnvironment, parseCodexCredential, parseCodexRefreshInput, parseCodexRefreshResult } from './chunk-PHRNUTSG.js';
|
|
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 { probeResumeTranscript, transcriptStoreForRuntime } from './chunk-
|
|
8
|
+
import { resolveFlowPath } from './chunk-E634MBP6.js';
|
|
9
|
+
import { findAiAssetsRoot as findAiAssetsRoot$1, deployCatalogEntry, undeployCatalogEntry } from './chunk-AP24HESN.js';
|
|
10
|
+
import { ConnectFailureCarryOver, registerBuiltinConnectors, buildConnectorPromptSection, findMissingPackages, installNpmPackages, ConnectorManager, buildSdkConnectorTools, buildLazySdkFlowTools, describeFlowOperations, buildConnectorToolDefs, buildFlowToolDefs, SessionNodeExecutor, SessionSubpromptRunner, ClassifierSubpromptRunner, SessionInlineSubFlowRunner, driveOrchestratorTurn, buildSdkFlowTools } from './chunk-OJHPG6HK.js';
|
|
11
|
+
import { loadYamlConnectorDeclarations, withMaterializedConnectorDeclarations, SecretProviderChain, ConnectorStartupError, isKnownSecretRef, EnvSecretProvider, PreMintedSecretProvider, InMemorySecretProvider, resolvedConfigToDeclarations, deriveSingleMaterializedConnectorDeclaration } from './chunk-FSSRBWYL.js';
|
|
12
|
+
import { EventNormalizer } from './chunk-TKI7YDWE.js';
|
|
13
|
+
import { approvalCardOf, APPROVE_ONCE, DENY, probeResumeTranscript, transcriptStoreForRuntime } from './chunk-NSNM2ZXF.js';
|
|
14
14
|
import { CodexNativeStateUnavailable } from './chunk-LOO5CB5M.js';
|
|
15
15
|
import { dispatchCapability } from './chunk-PW3TYWOI.js';
|
|
16
16
|
import { classifyClaudeSdkError } from './chunk-B4X2N7JQ.js';
|
|
17
17
|
import { agentExecRequested } from './chunk-YROR332M.js';
|
|
18
|
-
import { toAgentEffort, toMergedRegistry } from './chunk-
|
|
19
|
-
import { unresolvedProviderCredentials, driverCapabilities, createDriver, catalogLayer, providerCredentialEnvName, registryCredentialEnv, AI_PROVIDER_PRESETS, supportsLiveToolUpdates } from './chunk-
|
|
20
|
-
import { loadFlow } from './chunk-
|
|
18
|
+
import { toAgentEffort, toMergedRegistry } from './chunk-HG52NGAV.js';
|
|
19
|
+
import { unresolvedProviderCredentials, driverCapabilities, createDriver, catalogLayer, providerCredentialEnvName, registryCredentialEnv, AI_PROVIDER_PRESETS, supportsLiveToolUpdates } from './chunk-6Q7NKTDG.js';
|
|
20
|
+
import { loadFlow } from './chunk-SPV2CXJ3.js';
|
|
21
21
|
import { parseFlowDefinition } from './chunk-X3RMRJNR.js';
|
|
22
22
|
import { renderStimulusPrompt } from './chunk-M3WPBTGJ.js';
|
|
23
23
|
import { TERMINAL_AGENT_RUN_STATUSES, withActivityLabelJsonSchema, TOOL_ACTIVITY_PROMPT_SECTION, SESSION_ROOT_CONNECTOR_ID, PLATFORM_BLOCKS_RUNTIME_FEATURE, PROTOCOL_VERSION, deliveryClassOf } from './chunk-D5WTOVLG.js';
|
|
24
|
-
import { knowledgeKindProvider, scanLibraryRoot } from './chunk-
|
|
25
|
-
import { createDefaultKindRegistry } from './chunk-
|
|
26
|
-
import { BindingSchema, effectiveComposes, AgentManifestSchema, AgentTriggerSchema } from './chunk-
|
|
27
|
-
import { readLock, buildAgentPromptSections, resolveSettings, loadProviderRegistry, resolveLibraryDir } from './chunk-
|
|
28
|
-
import { resolveRuntimeAssets } from './chunk-
|
|
24
|
+
import { knowledgeKindProvider, scanLibraryRoot, LocalIndex } from './chunk-D3PU3C6F.js';
|
|
25
|
+
import { createDefaultKindRegistry } from './chunk-ES6ARJPQ.js';
|
|
26
|
+
import { BindingSchema, effectiveComposes, AgentManifestSchema, AgentTriggerSchema, ANTHROPIC_MODEL_ALIASES } from './chunk-YK3XLEQJ.js';
|
|
27
|
+
import { readLock, buildAgentPromptSections, resolveSettings, loadProviderRegistry, resolveLibraryDir } from './chunk-PIC23DDE.js';
|
|
28
|
+
import { resolveRuntimeAssets } from './chunk-5RDZ5JHH.js';
|
|
29
29
|
import { DEFAULT_DRIVER_ID, resolveDriverPaths } from './chunk-5BEFNLOR.js';
|
|
30
|
-
import { matchPin, DEFAULT_AGENT_INSTANCE_ID, effectiveAgentInstances, resolveSkWorkspaceConfig, resolveAgentDir, loadMcpServerDeclarations, COMPACTION_DEFAULTS, resolveCompactionThresholdPercent, getGlobalCacheDir, sourceCacheKey,
|
|
30
|
+
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-ZVZTCDUN.js';
|
|
31
31
|
import { globalSkaileDir } from './chunk-L5VSIPQD.js';
|
|
32
32
|
import { driverTargetForDriver, SUPPORTED_DRIVER_TARGETS, DRIVER_TARGETS } from './chunk-IG5LZ3WU.js';
|
|
33
|
-
import { withFsDeadline, FsDeadlineError, fsDeadlineMs, parseFrontmatter, tryWithFsDeadline } from './chunk-
|
|
34
|
-
import { parseAssetRef } from './chunk-
|
|
33
|
+
import { withFsDeadline, FsDeadlineError, fsDeadlineMs, parseFrontmatter, tryWithFsDeadline } from './chunk-YW2BNDSE.js';
|
|
34
|
+
import { parseAssetRef } from './chunk-FT4ZHLYR.js';
|
|
35
35
|
import { resolveLogStoreConfig, createLogStoreFromConfig, OnLogBridgeSink, WsLogSink, resolveLogsRetention, enforceLogsRetention } from './chunk-DKXNKFKP.js';
|
|
36
36
|
import { pickRegistryEntries, registryEntries, resolveEntryBaseUrl, parseModelRef, isEntryEnabled, parseCredentialRef } from './chunk-MJHSLODD.js';
|
|
37
37
|
import { getLogStore, registerLogStore, createLogger, resetLogStore, isUnwritableStreamError, markStreamBroken, isBrokenPipeError, redactCredentials } from './chunk-BOFL7GIF.js';
|
|
38
38
|
import { __require } from './chunk-NSBPE2FW.js';
|
|
39
|
+
import { createInterface } from 'readline';
|
|
39
40
|
import pc from 'picocolors';
|
|
40
41
|
import path3, { resolve, basename, join, dirname, relative, sep, isAbsolute } from 'path';
|
|
41
42
|
import { Marked } from 'marked';
|
|
@@ -43,9 +44,9 @@ import { markedTerminal } from 'marked-terminal';
|
|
|
43
44
|
import { createHash, randomUUID, randomBytes, timingSafeEqual } from 'crypto';
|
|
44
45
|
import * as z5 from 'zod';
|
|
45
46
|
import { z } from 'zod';
|
|
46
|
-
import fs8, { readFile, readdir, lstat, stat, rm, unlink, mkdir, writeFile, realpath, rename, open, readlink, mkdtemp } from 'fs/promises';
|
|
47
|
-
import { parse } from 'yaml';
|
|
48
47
|
import { constants, unlinkSync, readFileSync, readdirSync, statSync, existsSync, lstatSync, realpathSync, mkdirSync, writeFileSync, watch, chmodSync, accessSync, rmSync } from 'fs';
|
|
48
|
+
import fs8, { readFile, readdir, lstat, realpath, rm, unlink, stat, mkdir, writeFile, readlink, rename, open, mkdtemp } from 'fs/promises';
|
|
49
|
+
import { parse } from 'yaml';
|
|
49
50
|
import { Ajv2020 } from 'ajv/dist/2020.js';
|
|
50
51
|
import { execFile } from 'child_process';
|
|
51
52
|
import { promisify } from 'util';
|
|
@@ -368,8 +369,8 @@ async function openLocalIndexIfAvailable(log) {
|
|
|
368
369
|
return STUB_LIBRARY;
|
|
369
370
|
}
|
|
370
371
|
try {
|
|
371
|
-
const { LocalIndex } = await import('./library/index.js');
|
|
372
|
-
return new
|
|
372
|
+
const { LocalIndex: LocalIndex2 } = await import('./library/index.js');
|
|
373
|
+
return new LocalIndex2();
|
|
373
374
|
} catch (err) {
|
|
374
375
|
log?.debug(`Could not open LocalIndex at ${indexPath}: ${err.message}`);
|
|
375
376
|
return STUB_LIBRARY;
|
|
@@ -530,6 +531,10 @@ var CatalogScanner = class {
|
|
|
530
531
|
registry;
|
|
531
532
|
scans = /* @__PURE__ */ new Map();
|
|
532
533
|
roots;
|
|
534
|
+
/** Every discovered asset of `kind` named `name` under one root (any root, declared or not). */
|
|
535
|
+
findIn(root, kind, name) {
|
|
536
|
+
return this.scan(root).filter((hit) => hit.asset.kind === kind && hit.asset.name === name);
|
|
537
|
+
}
|
|
533
538
|
/** Every discovered asset of `kind` named `name`, across all roots. */
|
|
534
539
|
find(kind, name) {
|
|
535
540
|
const out = [];
|
|
@@ -590,6 +595,26 @@ function defaultCatalogRoots(projectDir) {
|
|
|
590
595
|
}
|
|
591
596
|
return [...roots];
|
|
592
597
|
}
|
|
598
|
+
function normalizeRemote(url) {
|
|
599
|
+
return url.trim().replace(/^git@([^:]+):/, "https://$1/").replace(/^[a-z]+:\/\//i, "").replace(/\/+$/, "").replace(/\.git$/i, "").replace(/\/+$/, "").toLowerCase();
|
|
600
|
+
}
|
|
601
|
+
async function registeredLibraryRoots(origin) {
|
|
602
|
+
let index;
|
|
603
|
+
try {
|
|
604
|
+
index = new LocalIndex();
|
|
605
|
+
const libraries = await index.listSources();
|
|
606
|
+
const byName = libraries.filter((l) => l.name === origin.name);
|
|
607
|
+
const byUrl = byName.length === 0 && origin.url ? libraries.filter((l) => {
|
|
608
|
+
const url = l.backendConfig.url;
|
|
609
|
+
return typeof url === "string" && normalizeRemote(url) === normalizeRemote(origin.url ?? "");
|
|
610
|
+
}) : [];
|
|
611
|
+
return [...byName, ...byUrl].map((l) => l.path).filter((dir) => existsSync(dir));
|
|
612
|
+
} catch {
|
|
613
|
+
return [];
|
|
614
|
+
} finally {
|
|
615
|
+
index?.close();
|
|
616
|
+
}
|
|
617
|
+
}
|
|
593
618
|
function createCompositionContentSource(opts) {
|
|
594
619
|
const registry = opts.registry ?? createDefaultKindRegistry([knowledgeKindProvider]);
|
|
595
620
|
const scanner = new CatalogScanner(opts.projectDir, registry, opts.catalogRoots);
|
|
@@ -738,9 +763,14 @@ var DefaultCompositionContentSource = class _DefaultCompositionContentSource {
|
|
|
738
763
|
storeDir
|
|
739
764
|
);
|
|
740
765
|
}
|
|
741
|
-
const
|
|
742
|
-
|
|
743
|
-
)
|
|
766
|
+
const holdsPin = (h) => h.asset.version === pin.version && barePublisher(h.asset.publisher) === pin.publisher;
|
|
767
|
+
let hit = this.scanner.find(kind, pin.name).find(holdsPin);
|
|
768
|
+
if (!hit && entry.library) {
|
|
769
|
+
for (const root of await registeredLibraryRoots(entry.library)) {
|
|
770
|
+
hit = this.scanner.findIn(root, kind, pin.name).find(holdsPin);
|
|
771
|
+
if (hit) break;
|
|
772
|
+
}
|
|
773
|
+
}
|
|
744
774
|
if (!hit) {
|
|
745
775
|
throw new CompositionError(
|
|
746
776
|
"composition_asset_missing",
|
|
@@ -1366,6 +1396,39 @@ function instanceForSession(config, instanceId, agentDir) {
|
|
|
1366
1396
|
const id = instanceId ?? DEFAULT_AGENT_INSTANCE_ID;
|
|
1367
1397
|
return { instanceId: id, instance: effectiveAgentInstances(config)[id] ?? { ref: agentDir } };
|
|
1368
1398
|
}
|
|
1399
|
+
function instanceSessionOverrides(config, instanceId) {
|
|
1400
|
+
const instance = effectiveAgentInstances(config)[instanceId];
|
|
1401
|
+
const model = instance?.model?.preferred;
|
|
1402
|
+
const maxTurns = instance?.budget?.max_turns ?? instance?.permissions?.max_turns;
|
|
1403
|
+
return {
|
|
1404
|
+
...model ? { model } : {},
|
|
1405
|
+
...maxTurns !== void 0 ? { maxTurns } : {}
|
|
1406
|
+
};
|
|
1407
|
+
}
|
|
1408
|
+
function resolveInstanceAgentDir(projectDir, config, instanceId) {
|
|
1409
|
+
const instances = effectiveAgentInstances(config);
|
|
1410
|
+
const instance = instances[instanceId];
|
|
1411
|
+
if (!instance) {
|
|
1412
|
+
const ids = Object.keys(instances);
|
|
1413
|
+
throw new Error(
|
|
1414
|
+
`No agent instance "${instanceId}" in skaile.yaml. ` + (ids.length > 0 ? `Declared: ${ids.join(", ")}.` : "It declares none: add one under `agents:` (or an `agent:` block for `default`).")
|
|
1415
|
+
);
|
|
1416
|
+
}
|
|
1417
|
+
let dir;
|
|
1418
|
+
try {
|
|
1419
|
+
dir = resolveAgentDefinitionDir(projectDir, instance.ref);
|
|
1420
|
+
} catch (error) {
|
|
1421
|
+
if (!(error instanceof AgentRefResolutionError)) throw error;
|
|
1422
|
+
throw new Error(`Agent instance "${instanceId}": ${error.message}`);
|
|
1423
|
+
}
|
|
1424
|
+
if (dir && path3.basename(dir) === "agent.yaml") dir = path3.dirname(dir);
|
|
1425
|
+
if (!dir || !existsSync(path3.join(dir, "agent.yaml"))) {
|
|
1426
|
+
throw new Error(
|
|
1427
|
+
`Agent instance "${instanceId}": "${instance.ref}" does not resolve to an agent directory with agent.yaml${dir ? ` (looked in ${dir})` : ""}`
|
|
1428
|
+
);
|
|
1429
|
+
}
|
|
1430
|
+
return dir;
|
|
1431
|
+
}
|
|
1369
1432
|
async function resolveAgentInstance(opts) {
|
|
1370
1433
|
const { instanceId, instance, asset, projectDir, host, sessionId, resumeSessionId, log } = opts;
|
|
1371
1434
|
const { manifest, dir: agentDir } = asset;
|
|
@@ -3706,6 +3769,8 @@ function nestedRoleSessionConfig(parent) {
|
|
|
3706
3769
|
getExtraMcpDeclarations: _extra,
|
|
3707
3770
|
agentDir: _agentDir,
|
|
3708
3771
|
instanceId: _instance,
|
|
3772
|
+
permissionMode: _permissionMode,
|
|
3773
|
+
unattended: _unattended,
|
|
3709
3774
|
...rest
|
|
3710
3775
|
} = parent;
|
|
3711
3776
|
return rest;
|
|
@@ -3724,6 +3789,10 @@ function nestedLauncher(deps) {
|
|
|
3724
3789
|
instanceId: target.id,
|
|
3725
3790
|
agentDir: target.agentDir,
|
|
3726
3791
|
sessionId: ctx.run.sessionId,
|
|
3792
|
+
// The role's own `permission_mode`; nobody answers a question of a nested session, so a
|
|
3793
|
+
// call that needs approval is refused there.
|
|
3794
|
+
...target.permissionMode ? { permissionMode: target.permissionMode } : {},
|
|
3795
|
+
unattended: true,
|
|
3727
3796
|
...Number.isFinite(maxTurns) ? { maxTurns } : {},
|
|
3728
3797
|
// `model` is what the primary session hands the driver (`--model`); a registry
|
|
3729
3798
|
// session resolves `modelRef` first. Both are set, so the role runs on its own
|
|
@@ -6121,6 +6190,7 @@ async function startRunnerModelEndpoint(options) {
|
|
|
6121
6190
|
token,
|
|
6122
6191
|
host,
|
|
6123
6192
|
port: options.config.port ?? 0,
|
|
6193
|
+
projectDir: options.projectDir,
|
|
6124
6194
|
log: options.log
|
|
6125
6195
|
});
|
|
6126
6196
|
if (!isLoopbackHost(host)) {
|
|
@@ -6320,6 +6390,7 @@ async function createAgentSession(config) {
|
|
|
6320
6390
|
if (config.effort === void 0 && wsEffort !== void 0 && effort === void 0) {
|
|
6321
6391
|
sessionLog.warn("ignoring unknown effort", { effort: wsEffort, source: "skaile.yaml" });
|
|
6322
6392
|
}
|
|
6393
|
+
const permissionMode = config.permissionMode ?? effectiveAgentInstances(wsConfig)[config.instanceId ?? DEFAULT_AGENT_INSTANCE_ID]?.permissions?.permission_mode ?? wsConfig.agent?.permissions?.permission_mode;
|
|
6323
6394
|
const maxTurns = maxTurnsOverride ?? manifest?.runtime?.max_turns;
|
|
6324
6395
|
let driver;
|
|
6325
6396
|
try {
|
|
@@ -6341,7 +6412,8 @@ async function createAgentSession(config) {
|
|
|
6341
6412
|
agentDir,
|
|
6342
6413
|
registry,
|
|
6343
6414
|
modelRef,
|
|
6344
|
-
credentialEnv
|
|
6415
|
+
credentialEnv,
|
|
6416
|
+
permissionMode
|
|
6345
6417
|
});
|
|
6346
6418
|
} catch (error) {
|
|
6347
6419
|
try {
|
|
@@ -6539,6 +6611,11 @@ function logAssembledSystemPrompt(systemPrompt, log) {
|
|
|
6539
6611
|
log.debug("system prompt content", { content: systemPrompt ?? "(empty)" });
|
|
6540
6612
|
}
|
|
6541
6613
|
}
|
|
6614
|
+
function manifestModelForDriver(manifest, driverType) {
|
|
6615
|
+
const preferred = manifest?.model?.preferred;
|
|
6616
|
+
if (!preferred || driverType === "claude-sdk") return preferred;
|
|
6617
|
+
return ANTHROPIC_MODEL_ALIASES.includes(preferred) ? void 0 : preferred;
|
|
6618
|
+
}
|
|
6542
6619
|
function createSessionDriver(args) {
|
|
6543
6620
|
const {
|
|
6544
6621
|
config,
|
|
@@ -6556,7 +6633,8 @@ function createSessionDriver(args) {
|
|
|
6556
6633
|
agentDir,
|
|
6557
6634
|
registry,
|
|
6558
6635
|
modelRef,
|
|
6559
|
-
credentialEnv
|
|
6636
|
+
credentialEnv,
|
|
6637
|
+
permissionMode
|
|
6560
6638
|
} = args;
|
|
6561
6639
|
return createDriver(driverType, {
|
|
6562
6640
|
...config.managedCodex ? {
|
|
@@ -6577,9 +6655,12 @@ function createSessionDriver(args) {
|
|
|
6577
6655
|
}
|
|
6578
6656
|
}
|
|
6579
6657
|
}
|
|
6580
|
-
} :
|
|
6658
|
+
} : (
|
|
6659
|
+
// Standalone codex: `interactive` asks codex for its own approval instead of `never`.
|
|
6660
|
+
permissionMode === "interactive" && driverType === "codex" ? { driverOptions: { codex: { approvalPolicy: "on-request" } } } : {}
|
|
6661
|
+
),
|
|
6581
6662
|
cwd: agentCwd,
|
|
6582
|
-
model: model ?? manifest
|
|
6663
|
+
model: model ?? manifestModelForDriver(manifest, driverType),
|
|
6583
6664
|
maxTurns,
|
|
6584
6665
|
systemPrompt,
|
|
6585
6666
|
tools: manifest?.tools,
|
|
@@ -6592,6 +6673,8 @@ function createSessionDriver(args) {
|
|
|
6592
6673
|
...Object.keys(credentialEnv).length > 0 ? { env: credentialEnv } : {},
|
|
6593
6674
|
...thinking ? { thinking } : {},
|
|
6594
6675
|
...effort ? { effort } : {},
|
|
6676
|
+
...permissionMode ? { permissionMode } : {},
|
|
6677
|
+
...config.unattended ? { unattended: true } : {},
|
|
6595
6678
|
...sessionId ? { sessionId } : {},
|
|
6596
6679
|
...resumeSessionId ? { resumeSessionId } : {},
|
|
6597
6680
|
...mcpServers ? { mcpServers } : {},
|
|
@@ -6632,7 +6715,8 @@ async function runAgentChat(opts) {
|
|
|
6632
6715
|
subkind: "session",
|
|
6633
6716
|
instance: sessionId
|
|
6634
6717
|
});
|
|
6635
|
-
const
|
|
6718
|
+
const attended = opts.unattended === void 0 ? process.stdin.isTTY === true : !opts.unattended;
|
|
6719
|
+
const baseConfig = sessionConfigFor({ ...opts, unattended: !attended });
|
|
6636
6720
|
const surface = await createStandaloneAgentSurface({
|
|
6637
6721
|
config: baseConfig,
|
|
6638
6722
|
// Only `subagent` events come this way; the bridge's event union is a different type.
|
|
@@ -6673,6 +6757,12 @@ async function runAgentChat(opts) {
|
|
|
6673
6757
|
driver.on("agent-event", (event) => {
|
|
6674
6758
|
opts.onEvent?.(event);
|
|
6675
6759
|
printUnstreamed(event);
|
|
6760
|
+
const card = attended ? approvalCardOf(event) : void 0;
|
|
6761
|
+
if (card) {
|
|
6762
|
+
void askApprovalOnTerminal(card.question, card.details).then((approved) => {
|
|
6763
|
+
driver.answerQuestion(approved ? APPROVE_ONCE : DENY, card.question, card.requestId);
|
|
6764
|
+
});
|
|
6765
|
+
}
|
|
6676
6766
|
if (event.type === "message_update") {
|
|
6677
6767
|
const delta = event._textDelta;
|
|
6678
6768
|
if (delta) writeText(delta);
|
|
@@ -6736,13 +6826,33 @@ ${message}`;
|
|
|
6736
6826
|
disposeLogStore();
|
|
6737
6827
|
}
|
|
6738
6828
|
}
|
|
6829
|
+
async function askApprovalOnTerminal(question, details) {
|
|
6830
|
+
const rl = createInterface({ input: process.stdin, output: process.stderr });
|
|
6831
|
+
try {
|
|
6832
|
+
process.stderr.write(`
|
|
6833
|
+
${pc.yellow("?")} ${question}
|
|
6834
|
+
`);
|
|
6835
|
+
for (const line of details) process.stderr.write(` ${pc.dim(line)}
|
|
6836
|
+
`);
|
|
6837
|
+
return await new Promise((resolve4) => {
|
|
6838
|
+
rl.question(" Approve once? [y/N] ", (answer) => resolve4(/^y(es)?$/i.test(answer.trim())));
|
|
6839
|
+
rl.once("close", () => resolve4(false));
|
|
6840
|
+
});
|
|
6841
|
+
} finally {
|
|
6842
|
+
rl.close();
|
|
6843
|
+
}
|
|
6844
|
+
}
|
|
6739
6845
|
function sessionConfigFor(opts) {
|
|
6740
6846
|
const agentDir = opts.agentDir ?? resolveAgentDir(opts.projectDir);
|
|
6741
6847
|
return {
|
|
6742
6848
|
projectDir: opts.projectDir,
|
|
6743
6849
|
agentDir,
|
|
6850
|
+
...opts.instanceId ? { instanceId: opts.instanceId } : {},
|
|
6744
6851
|
driver: opts.driver,
|
|
6745
6852
|
model: opts.model,
|
|
6853
|
+
...opts.modelRef ? { modelRef: opts.modelRef } : {},
|
|
6854
|
+
...opts.maxTurns !== void 0 ? { maxTurns: opts.maxTurns } : {},
|
|
6855
|
+
...opts.unattended ? { unattended: true } : {},
|
|
6746
6856
|
promptsDir: opts.promptsDir,
|
|
6747
6857
|
onLog: opts.onLog
|
|
6748
6858
|
};
|
|
@@ -7321,6 +7431,14 @@ async function handleMountResourceRequest(command, manager, emit) {
|
|
|
7321
7431
|
if (rel === ".." || rel.startsWith(`..${sep}`) || isAbsolute(rel)) {
|
|
7322
7432
|
throw new Error("Path traversal outside mount");
|
|
7323
7433
|
}
|
|
7434
|
+
if (MOUNT_WRITE_OPERATIONS.has(operation) && entry.declaration.access === "read-only") {
|
|
7435
|
+
throw new Error(`Connector "${mountId}" is read-only`);
|
|
7436
|
+
}
|
|
7437
|
+
const realMount = await withFsDeadline(`realpath ${mountPath}`, () => realpath(mountPath));
|
|
7438
|
+
const actPath = operation === "delete" && rel !== "" ? join(await resolveOnDisk(dirname(targetPath)), basename(targetPath)) : await resolveOnDisk(targetPath);
|
|
7439
|
+
if (!isWithin2(realMount, operation === "delete" && rel !== "" ? dirname(actPath) : actPath)) {
|
|
7440
|
+
throw new Error("Path escapes the mount through a symlink");
|
|
7441
|
+
}
|
|
7324
7442
|
let data;
|
|
7325
7443
|
switch (operation) {
|
|
7326
7444
|
case "list": {
|
|
@@ -7346,13 +7464,14 @@ async function handleMountResourceRequest(command, manager, emit) {
|
|
|
7346
7464
|
);
|
|
7347
7465
|
}
|
|
7348
7466
|
const entryRel = relDir ? `${relDir}/${e.name}` : e.name;
|
|
7349
|
-
const
|
|
7467
|
+
const linked = e.isSymbolicLink() ? await resolveMountLink(realMount, join(absDir, e.name)) : null;
|
|
7468
|
+
const isDir = linked ? linked.isDirectory : e.isDirectory();
|
|
7350
7469
|
const result = {
|
|
7351
7470
|
name: e.name,
|
|
7352
7471
|
path: entryRel,
|
|
7353
7472
|
type: isDir ? "directory" : "file"
|
|
7354
7473
|
};
|
|
7355
|
-
if (!isDir) {
|
|
7474
|
+
if (!isDir && !(e.isSymbolicLink() && !linked)) {
|
|
7356
7475
|
try {
|
|
7357
7476
|
const st = await withFsDeadline(
|
|
7358
7477
|
`stat ${join(absDir, e.name)}`,
|
|
@@ -7364,10 +7483,12 @@ async function handleMountResourceRequest(command, manager, emit) {
|
|
|
7364
7483
|
}
|
|
7365
7484
|
}
|
|
7366
7485
|
collected.push(result);
|
|
7367
|
-
if (isDir && recursive
|
|
7486
|
+
if (isDir && recursive && !e.isSymbolicLink()) {
|
|
7487
|
+
await walk(join(absDir, e.name), entryRel, depth + 1);
|
|
7488
|
+
}
|
|
7368
7489
|
}
|
|
7369
7490
|
};
|
|
7370
|
-
await walk(
|
|
7491
|
+
await walk(actPath, reqPath ?? "", 0);
|
|
7371
7492
|
data = collected;
|
|
7372
7493
|
break;
|
|
7373
7494
|
}
|
|
@@ -7377,7 +7498,7 @@ async function handleMountResourceRequest(command, manager, emit) {
|
|
|
7377
7498
|
if (readRange) {
|
|
7378
7499
|
const sizeFn2 = getAuthoritativeSize(entry.handle.state);
|
|
7379
7500
|
const chunk = await readMountRange(
|
|
7380
|
-
|
|
7501
|
+
actPath,
|
|
7381
7502
|
readRange,
|
|
7382
7503
|
sizeFn2 ? () => sizeFn2(reqPath ?? "") : void 0
|
|
7383
7504
|
);
|
|
@@ -7390,8 +7511,8 @@ async function handleMountResourceRequest(command, manager, emit) {
|
|
|
7390
7511
|
break;
|
|
7391
7512
|
}
|
|
7392
7513
|
const buf = await withFsDeadline(
|
|
7393
|
-
`readFile ${
|
|
7394
|
-
() => readFile(
|
|
7514
|
+
`readFile ${actPath}`,
|
|
7515
|
+
() => readFile(actPath),
|
|
7395
7516
|
fsDeadlineMs() * MOUNT_READ_DEADLINE_FACTOR
|
|
7396
7517
|
);
|
|
7397
7518
|
let bytes = buf;
|
|
@@ -7427,28 +7548,28 @@ async function handleMountResourceRequest(command, manager, emit) {
|
|
|
7427
7548
|
break;
|
|
7428
7549
|
}
|
|
7429
7550
|
case "write": {
|
|
7430
|
-
const parentDir = dirname(
|
|
7551
|
+
const parentDir = dirname(actPath);
|
|
7431
7552
|
await withFsDeadline(`mkdir ${parentDir}`, () => mkdir(parentDir, { recursive: true }));
|
|
7432
7553
|
const writeContent = typeof content === "string" ? content : content?.data ?? "";
|
|
7433
7554
|
const encoding = typeof content === "string" ? void 0 : content?.encoding;
|
|
7434
7555
|
await withFsDeadline(
|
|
7435
|
-
`writeFile ${
|
|
7436
|
-
() => encoding === "binary" ? writeFile(
|
|
7556
|
+
`writeFile ${actPath}`,
|
|
7557
|
+
() => encoding === "binary" ? writeFile(actPath, Buffer.from(writeContent, "base64")) : writeFile(actPath, writeContent, "utf-8")
|
|
7437
7558
|
);
|
|
7438
7559
|
data = true;
|
|
7439
7560
|
break;
|
|
7440
7561
|
}
|
|
7441
7562
|
case "write_range": {
|
|
7442
7563
|
if (rel === "") throw new Error("A file path is required");
|
|
7443
|
-
data = await writeRangeChunk(
|
|
7564
|
+
data = await writeRangeChunk(actPath, options, content);
|
|
7444
7565
|
break;
|
|
7445
7566
|
}
|
|
7446
7567
|
case "mkdir": {
|
|
7447
7568
|
if (rel === "") throw new Error("A folder path is required");
|
|
7448
|
-
const parentDir = dirname(
|
|
7569
|
+
const parentDir = dirname(actPath);
|
|
7449
7570
|
await withFsDeadline(`mkdir ${parentDir}`, () => mkdir(parentDir, { recursive: true }));
|
|
7450
7571
|
try {
|
|
7451
|
-
await withFsDeadline(`mkdir ${
|
|
7572
|
+
await withFsDeadline(`mkdir ${actPath}`, () => mkdir(actPath));
|
|
7452
7573
|
} catch (mkdirErr) {
|
|
7453
7574
|
if (mkdirErr.code === "EEXIST") {
|
|
7454
7575
|
throw new ResourceOperationError(
|
|
@@ -7463,7 +7584,7 @@ async function handleMountResourceRequest(command, manager, emit) {
|
|
|
7463
7584
|
}
|
|
7464
7585
|
case "stat": {
|
|
7465
7586
|
const statOptions = options;
|
|
7466
|
-
const st = await withFsDeadline(`stat ${
|
|
7587
|
+
const st = await withFsDeadline(`stat ${actPath}`, () => stat(actPath));
|
|
7467
7588
|
const isDir = st.isDirectory();
|
|
7468
7589
|
const result = {
|
|
7469
7590
|
name: rel === "" ? "" : basename(targetPath),
|
|
@@ -7476,7 +7597,7 @@ async function handleMountResourceRequest(command, manager, emit) {
|
|
|
7476
7597
|
const createdAt = isoTime(st.birthtime);
|
|
7477
7598
|
if (createdAt) result.createdAt = createdAt;
|
|
7478
7599
|
if (isDir && statOptions?.recursive) {
|
|
7479
|
-
result.totals = await computeDirectoryTotals(
|
|
7600
|
+
result.totals = await computeDirectoryTotals(actPath, {
|
|
7480
7601
|
includeHidden: Boolean(statOptions.includeHidden),
|
|
7481
7602
|
maxEntries: lowerCap(statOptions.maxEntries, MOUNT_STAT_MAX_ENTRIES),
|
|
7482
7603
|
budgetMs: lowerCap(statOptions.timeoutMs, MOUNT_STAT_BUDGET_MS),
|
|
@@ -7487,15 +7608,15 @@ async function handleMountResourceRequest(command, manager, emit) {
|
|
|
7487
7608
|
break;
|
|
7488
7609
|
}
|
|
7489
7610
|
case "delete": {
|
|
7490
|
-
const st = await withFsDeadline(`
|
|
7611
|
+
const st = await withFsDeadline(`lstat ${actPath}`, () => lstat(actPath));
|
|
7491
7612
|
if (st.isDirectory()) {
|
|
7492
7613
|
await withFsDeadline(
|
|
7493
|
-
`rm -r ${
|
|
7494
|
-
() => rm(
|
|
7614
|
+
`rm -r ${actPath}`,
|
|
7615
|
+
() => rm(actPath, { recursive: true, force: true }),
|
|
7495
7616
|
fsDeadlineMs() * MOUNT_TREE_OP_DEADLINE_FACTOR
|
|
7496
7617
|
);
|
|
7497
7618
|
} else {
|
|
7498
|
-
await withFsDeadline(`unlink ${
|
|
7619
|
+
await withFsDeadline(`unlink ${actPath}`, () => unlink(actPath));
|
|
7499
7620
|
}
|
|
7500
7621
|
data = true;
|
|
7501
7622
|
break;
|
|
@@ -7562,6 +7683,23 @@ async function readDanglingLink(absPath) {
|
|
|
7562
7683
|
}
|
|
7563
7684
|
return withFsDeadline(`readlink ${absPath}`, () => readlink(absPath));
|
|
7564
7685
|
}
|
|
7686
|
+
var MOUNT_WRITE_OPERATIONS = /* @__PURE__ */ new Set([
|
|
7687
|
+
"write",
|
|
7688
|
+
"write_range",
|
|
7689
|
+
"mkdir",
|
|
7690
|
+
"delete"
|
|
7691
|
+
]);
|
|
7692
|
+
async function resolveMountLink(realMount, linkPath) {
|
|
7693
|
+
try {
|
|
7694
|
+
const real = await withFsDeadline(`realpath ${linkPath}`, () => realpath(linkPath));
|
|
7695
|
+
if (!isWithin2(realMount, real)) return null;
|
|
7696
|
+
const st = await withFsDeadline(`stat ${real}`, () => stat(real));
|
|
7697
|
+
return { isDirectory: st.isDirectory() };
|
|
7698
|
+
} catch (err) {
|
|
7699
|
+
if (err instanceof FsDeadlineError) throw err;
|
|
7700
|
+
return null;
|
|
7701
|
+
}
|
|
7702
|
+
}
|
|
7565
7703
|
async function handleSessionRootResourceRequest(command, rootDir, emit) {
|
|
7566
7704
|
const { requestId, connectorId, operation, path: reqPath, content } = command;
|
|
7567
7705
|
try {
|
|
@@ -11398,9 +11536,7 @@ function buildRunnerCapabilities(handlers) {
|
|
|
11398
11536
|
kind: "effect",
|
|
11399
11537
|
input: setStateInput,
|
|
11400
11538
|
handler: async (input) => {
|
|
11401
|
-
if (!handlers.setState)
|
|
11402
|
-
return notImplemented("runner.set_state");
|
|
11403
|
-
}
|
|
11539
|
+
if (!handlers.setState) return notImplemented("runner.set_state");
|
|
11404
11540
|
return handlers.setState({
|
|
11405
11541
|
store: input.store,
|
|
11406
11542
|
key: input.key,
|
|
@@ -11451,6 +11587,7 @@ function wireSessionCapabilities(deps) {
|
|
|
11451
11587
|
capabilityRegistry,
|
|
11452
11588
|
remoteCapabilityInvoker,
|
|
11453
11589
|
getResourceManager,
|
|
11590
|
+
isSharedStateStore,
|
|
11454
11591
|
getPreMintedSecrets,
|
|
11455
11592
|
emitResourcesAvailable,
|
|
11456
11593
|
driverPicksUpToolsLive,
|
|
@@ -11514,8 +11651,37 @@ function wireSessionCapabilities(deps) {
|
|
|
11514
11651
|
message: `detach_instance does not support kind "${input.kind}"`
|
|
11515
11652
|
};
|
|
11516
11653
|
},
|
|
11517
|
-
// setLogLevel left undefined (the cap self-falls-back to getLogStore)
|
|
11518
|
-
|
|
11654
|
+
// setLogLevel left undefined (the cap self-falls-back to getLogStore).
|
|
11655
|
+
setState: async (input) => {
|
|
11656
|
+
const rm3 = getResourceManager();
|
|
11657
|
+
if (!rm3) return { ok: false, code: "no_session", message: "session resources not ready" };
|
|
11658
|
+
if (!isSharedStateStore(input.store) || !rm3.has(input.store)) {
|
|
11659
|
+
return {
|
|
11660
|
+
ok: false,
|
|
11661
|
+
code: "store_not_found",
|
|
11662
|
+
message: `no shared state store "${input.store}" \u2014 declare it in session_init.sharedState`
|
|
11663
|
+
};
|
|
11664
|
+
}
|
|
11665
|
+
const connector = rm3.get(input.store).connector;
|
|
11666
|
+
if (typeof connector.onStoreChange !== "function") {
|
|
11667
|
+
return {
|
|
11668
|
+
ok: false,
|
|
11669
|
+
code: "not_a_state_store",
|
|
11670
|
+
message: `"${input.store}" is not a shared state store`
|
|
11671
|
+
};
|
|
11672
|
+
}
|
|
11673
|
+
try {
|
|
11674
|
+
await rm3.executeOp(input.store, "set", {
|
|
11675
|
+
key: input.key,
|
|
11676
|
+
value: typeof input.value === "string" ? JSON.stringify(input.value) : input.value
|
|
11677
|
+
});
|
|
11678
|
+
} catch (err) {
|
|
11679
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
11680
|
+
log(`[session-state] runner.set_state failed for ${input.store}: ${message}`);
|
|
11681
|
+
return { ok: false, code: "set_failed", message };
|
|
11682
|
+
}
|
|
11683
|
+
return { ok: true };
|
|
11684
|
+
},
|
|
11519
11685
|
lifecycle: buildLifecycleHandler({
|
|
11520
11686
|
getCompactionOrchestrator,
|
|
11521
11687
|
getResourceManager,
|
|
@@ -12777,7 +12943,8 @@ async function startAgentServer(opts) {
|
|
|
12777
12943
|
port,
|
|
12778
12944
|
onLog: log,
|
|
12779
12945
|
...opts.host ? { host: opts.host } : {},
|
|
12780
|
-
...authToken ? { authToken } : {}
|
|
12946
|
+
...authToken ? { authToken } : {},
|
|
12947
|
+
...opts.onListening ? { onListening: opts.onListening } : {}
|
|
12781
12948
|
});
|
|
12782
12949
|
logStore.addSink(
|
|
12783
12950
|
new WsLogSink({
|
|
@@ -14115,6 +14282,7 @@ async function startAgentServer(opts) {
|
|
|
14115
14282
|
capabilityRegistry,
|
|
14116
14283
|
remoteCapabilityInvoker,
|
|
14117
14284
|
getResourceManager: () => resourceManager,
|
|
14285
|
+
isSharedStateStore: (id) => lastInitSharedState?.some((c) => c.id === id) ?? false,
|
|
14118
14286
|
getPreMintedSecrets: () => preMintedSecrets,
|
|
14119
14287
|
emitResourcesAvailable,
|
|
14120
14288
|
driverPicksUpToolsLive,
|
|
@@ -15645,6 +15813,6 @@ function touchSession(state) {
|
|
|
15645
15813
|
return { ...state, updatedAt: (/* @__PURE__ */ new Date()).toISOString() };
|
|
15646
15814
|
}
|
|
15647
15815
|
|
|
15648
|
-
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, createManagedCodexSubpromptDriver, createRunController, createSessionStimulusBus, defineCapability, deleteSession, describeComposition, dispatchResourceRequest, dispatchRunnerCapabilityInvocation, driverActiveAfterTurnEnd, emitSystemPromptComposed, ensureClaudeSettingsDisablesConnectors, ensureGitConfigInclude, executeConnectorMutate, extractClaudeAiOauthExpiresAt, flowStartNeedsDriverRestart, getPreInitRingSink, handleMountResourceRequest, handleResourceRequest, handleSessionRootResourceRequest, hasNonTerminalFlow, hashAgentFiles, hashContent, hostOpResumeStimulus, installPreInitRingSink, instanceForSession, isCompositionError, isEmptyKnowledgeIndex, isSessionRootPathAllowed, listSessions, loadAgentManifest, loadCompileManifest, loadCompileManifestFromDir, loadCompositionRunSnapshot, loadKnowledgeDir, loadManagedCodexHostConfig, loadSession, loadSessionById, mcpAuthSecretKey, newSession, nulTailPaddingLength, pickChatFlowTarget, pickFlowToolTarget, pickRepointedManager, planFlowMutate, prepareCodexTools, reconcilePendingDecisions, reconnectedRunNeedsAgentTurn, recreateKeepingLiveFlows, registerActiveFlow, registerCompositionCapabilities, rejectCapabilityOnApprovalDeny, rejectPendingCapabilityCallsOnDisconnect, resetRunnerLogStore, resolveAgentInstance, resolveBinding, resolveCapabilityCallTimeoutMs, resolveCapabilityResult, resolveComposition, resolveFlowMutateConnectorWaitMs, resolveMixin, resolveSessionId, restoredRunHasWorkToResume, runAgentChat, saveCompositionRunSnapshot, saveSession, setCurrentSession, setUpFlowConnector, startAgentServer, stimulusFromMetas, stripFrontmatter, takeRunnerWsAuthToken, toActiveFlowTarget, touchSession, unresolvedCredentialNotices, validateInputResponse, verifyConventionItems, writeClaudeCodeCredentialsFile, writeRangeChunk, writeRangePartialPath };
|
|
15649
|
-
//# sourceMappingURL=chunk-
|
|
15650
|
-
//# sourceMappingURL=chunk-
|
|
15816
|
+
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, createManagedCodexSubpromptDriver, createRunController, createSessionStimulusBus, defineCapability, deleteSession, describeComposition, dispatchResourceRequest, dispatchRunnerCapabilityInvocation, driverActiveAfterTurnEnd, emitSystemPromptComposed, ensureClaudeSettingsDisablesConnectors, ensureGitConfigInclude, executeConnectorMutate, extractClaudeAiOauthExpiresAt, flowStartNeedsDriverRestart, getPreInitRingSink, handleMountResourceRequest, handleResourceRequest, handleSessionRootResourceRequest, hasNonTerminalFlow, hashAgentFiles, hashContent, hostOpResumeStimulus, installPreInitRingSink, instanceForSession, instanceSessionOverrides, isCompositionError, isEmptyKnowledgeIndex, isSessionRootPathAllowed, listSessions, loadAgentManifest, loadCompileManifest, loadCompileManifestFromDir, loadCompositionRunSnapshot, loadKnowledgeDir, loadManagedCodexHostConfig, loadSession, loadSessionById, manifestModelForDriver, 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 };
|
|
15817
|
+
//# sourceMappingURL=chunk-CQFVKN6S.js.map
|
|
15818
|
+
//# sourceMappingURL=chunk-CQFVKN6S.js.map
|