@skaile/workspaces 6.9.1 → 6.11.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 +34 -0
- package/dist/ai-sdk.js +8 -8
- package/dist/app-sdk/index.js +1 -1
- package/dist/{asset-feeds-PANNQPEE.js → asset-feeds-PO2WC75V.js} +23 -23
- package/dist/{asset-feeds-PANNQPEE.js.map → asset-feeds-PO2WC75V.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.js +8 -8
- package/dist/asset-manager/history.js +8 -8
- package/dist/asset-manager/index.js +15 -15
- package/dist/asset-manager/installer.js +10 -10
- package/dist/asset-manager/renderers.js +9 -9
- package/dist/asset-manager/src/harness-switch-state.d.ts +30 -0
- package/dist/asset-manager/src/harness-switch-state.d.ts.map +1 -0
- package/dist/asset-manager/src/index.d.ts +49 -12
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/asset-manager/src/mcp-config.d.ts +6 -0
- package/dist/asset-manager/src/mcp-config.d.ts.map +1 -1
- package/dist/bridge/codex-app-server.js +1 -2
- package/dist/bridge/harnesses/claude-sdk.js +15 -15
- package/dist/bridge/harnesses/codex.js +16 -1927
- package/dist/bridge/harnesses/codex.js.map +1 -1
- package/dist/bridge/harnesses/continue.js +11 -11
- package/dist/bridge/harnesses/echo.js +5 -5
- package/dist/bridge/harnesses/gemini.js +8 -8
- package/dist/bridge/harnesses/goose.js +11 -11
- package/dist/bridge/harnesses/omp.js +62 -14
- package/dist/bridge/harnesses/omp.js.map +1 -1
- package/dist/bridge/harnesses/opencode.js +11 -11
- package/dist/bridge/harnesses/qwen.js +8 -8
- package/dist/bridge/index.js +21 -20
- package/dist/bridge/src/harness-model-check.d.ts +5 -4
- package/dist/bridge/src/harness-model-check.d.ts.map +1 -1
- package/dist/bridge/src/harnesses/codex.d.ts +13 -0
- package/dist/bridge/src/harnesses/codex.d.ts.map +1 -1
- package/dist/bridge/src/harnesses/omp.d.ts +24 -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/bridge/src/types.d.ts +7 -0
- package/dist/bridge/src/types.d.ts.map +1 -1
- package/dist/{chunk-TMQFOJ6F.js → chunk-2PVYDAFN.js} +3 -3
- package/dist/{chunk-TMQFOJ6F.js.map → chunk-2PVYDAFN.js.map} +1 -1
- package/dist/{chunk-7NN3P6VF.js → chunk-342UX2MG.js} +10 -5
- package/dist/chunk-342UX2MG.js.map +1 -0
- package/dist/{chunk-7UCPGQCW.js → chunk-45XL75RO.js} +11 -11
- package/dist/chunk-45XL75RO.js.map +1 -0
- package/dist/{chunk-CPMLMNI5.js → chunk-4NJVF3DV.js} +4 -4
- package/dist/{chunk-CPMLMNI5.js.map → chunk-4NJVF3DV.js.map} +1 -1
- package/dist/{chunk-KNY356I3.js → chunk-5KSGZP3E.js} +11 -4
- package/dist/chunk-5KSGZP3E.js.map +1 -0
- package/dist/{chunk-J45JCYS4.js → chunk-5M3S6DLV.js} +4 -4
- package/dist/{chunk-J45JCYS4.js.map → chunk-5M3S6DLV.js.map} +1 -1
- package/dist/{chunk-RZRJTCP2.js → chunk-5XYZNMMC.js} +4 -4
- package/dist/{chunk-RZRJTCP2.js.map → chunk-5XYZNMMC.js.map} +1 -1
- package/dist/{chunk-S47KU4YB.js → chunk-6NNXBXYI.js} +3 -3
- package/dist/{chunk-S47KU4YB.js.map → chunk-6NNXBXYI.js.map} +1 -1
- package/dist/{chunk-GZL6RN4Z.js → chunk-7FXOOUOC.js} +170 -50
- package/dist/chunk-7FXOOUOC.js.map +1 -0
- package/dist/{chunk-V5KG6CCV.js → chunk-7HRZACI4.js} +7 -2
- package/dist/chunk-7HRZACI4.js.map +1 -0
- package/dist/{chunk-U3FI4DVT.js → chunk-7K73MCI6.js} +7 -5
- package/dist/chunk-7K73MCI6.js.map +1 -0
- package/dist/{chunk-NDBHEOIA.js → chunk-7LJUK5JK.js} +9 -9
- package/dist/{chunk-NDBHEOIA.js.map → chunk-7LJUK5JK.js.map} +1 -1
- package/dist/{chunk-Q5SSRVD5.js → chunk-7O6SCI7B.js} +16 -14
- package/dist/chunk-7O6SCI7B.js.map +1 -0
- package/dist/{chunk-QBUJTVMY.js → chunk-7VBD5XUM.js} +4 -4
- package/dist/{chunk-QBUJTVMY.js.map → chunk-7VBD5XUM.js.map} +1 -1
- package/dist/{chunk-YEOG7CWQ.js → chunk-7ZL23M3X.js} +3 -3
- package/dist/{chunk-YEOG7CWQ.js.map → chunk-7ZL23M3X.js.map} +1 -1
- package/dist/{chunk-FZO64PLQ.js → chunk-BNLXZXZN.js} +81 -8
- package/dist/chunk-BNLXZXZN.js.map +1 -0
- package/dist/{chunk-LYVLDGML.js → chunk-CG63XGVV.js} +3 -3
- package/dist/{chunk-LYVLDGML.js.map → chunk-CG63XGVV.js.map} +1 -1
- package/dist/{chunk-PLVM6OIV.js → chunk-CH6UVEM5.js} +19 -15
- package/dist/chunk-CH6UVEM5.js.map +1 -0
- package/dist/{chunk-WEPTGUR4.js → chunk-CI4I34F4.js} +27 -56
- package/dist/chunk-CI4I34F4.js.map +1 -0
- package/dist/{chunk-4ROXSQEG.js → chunk-CJO3XKO7.js} +4 -4
- package/dist/{chunk-4ROXSQEG.js.map → chunk-CJO3XKO7.js.map} +1 -1
- package/dist/{chunk-RP3ML3QD.js → chunk-CLMIZ4N6.js} +3 -3
- package/dist/{chunk-RP3ML3QD.js.map → chunk-CLMIZ4N6.js.map} +1 -1
- package/dist/{chunk-OSABUEWA.js → chunk-CVUMZTNO.js} +4 -4
- package/dist/{chunk-OSABUEWA.js.map → chunk-CVUMZTNO.js.map} +1 -1
- package/dist/{chunk-X5SGUBUV.js → chunk-DKRD6CZL.js} +3 -3
- package/dist/{chunk-X5SGUBUV.js.map → chunk-DKRD6CZL.js.map} +1 -1
- package/dist/{chunk-5KWQMCH7.js → chunk-DRUAQ7IY.js} +6 -6
- package/dist/{chunk-5KWQMCH7.js.map → chunk-DRUAQ7IY.js.map} +1 -1
- package/dist/{chunk-GTAHU4N4.js → chunk-EB2LKPI6.js} +4 -4
- package/dist/{chunk-GTAHU4N4.js.map → chunk-EB2LKPI6.js.map} +1 -1
- package/dist/{chunk-3AIEJSQR.js → chunk-ESUF2ZYT.js} +3 -3
- package/dist/{chunk-3AIEJSQR.js.map → chunk-ESUF2ZYT.js.map} +1 -1
- package/dist/{chunk-ZUROGXJM.js → chunk-FECB7RI7.js} +14 -24
- package/dist/chunk-FECB7RI7.js.map +1 -0
- package/dist/{chunk-PBEDRYHP.js → chunk-FO2GU5L7.js} +230 -49
- package/dist/chunk-FO2GU5L7.js.map +1 -0
- package/dist/{chunk-SME3PK4L.js → chunk-FVOQPTK2.js} +8 -8
- package/dist/{chunk-SME3PK4L.js.map → chunk-FVOQPTK2.js.map} +1 -1
- package/dist/{chunk-MPO5CQUZ.js → chunk-GODUKPGD.js} +3 -3
- package/dist/{chunk-MPO5CQUZ.js.map → chunk-GODUKPGD.js.map} +1 -1
- package/dist/{chunk-FZTHL6SK.js → chunk-GQQIMKEP.js} +27 -33
- package/dist/chunk-GQQIMKEP.js.map +1 -0
- package/dist/{chunk-BRPEW3UL.js → chunk-GYRIO6RA.js} +3 -3
- package/dist/{chunk-BRPEW3UL.js.map → chunk-GYRIO6RA.js.map} +1 -1
- package/dist/{chunk-E675QKFG.js → chunk-HPQ2WDYC.js} +5 -5
- package/dist/{chunk-E675QKFG.js.map → chunk-HPQ2WDYC.js.map} +1 -1
- package/dist/{chunk-VEIWFS7Z.js → chunk-IIELRGIZ.js} +346 -89
- package/dist/chunk-IIELRGIZ.js.map +1 -0
- package/dist/{chunk-TUOHA6BM.js → chunk-IOXFT5D7.js} +3 -3
- package/dist/{chunk-TUOHA6BM.js.map → chunk-IOXFT5D7.js.map} +1 -1
- package/dist/{chunk-6PVRP3LW.js → chunk-IPCRQWNC.js} +17 -6
- package/dist/chunk-IPCRQWNC.js.map +1 -0
- package/dist/{chunk-PTJTOPE5.js → chunk-KOI7QFDH.js} +3 -3
- package/dist/{chunk-PTJTOPE5.js.map → chunk-KOI7QFDH.js.map} +1 -1
- package/dist/{chunk-EMSU6L7K.js → chunk-L74W5TVC.js} +7 -7
- package/dist/{chunk-EMSU6L7K.js.map → chunk-L74W5TVC.js.map} +1 -1
- package/dist/{chunk-WS3BOCAT.js → chunk-LCXQ4LVP.js} +16 -3
- package/dist/chunk-LCXQ4LVP.js.map +1 -0
- package/dist/{chunk-7QYBKUAS.js → chunk-LKBRBVVS.js} +3 -3
- package/dist/{chunk-7QYBKUAS.js.map → chunk-LKBRBVVS.js.map} +1 -1
- package/dist/{chunk-USSP43U3.js → chunk-LQWOU7S2.js} +3 -3
- package/dist/{chunk-USSP43U3.js.map → chunk-LQWOU7S2.js.map} +1 -1
- package/dist/chunk-LXD37LHF.js +688 -0
- package/dist/chunk-LXD37LHF.js.map +1 -0
- package/dist/{chunk-4KPQ6ILH.js → chunk-MEU2HHGV.js} +18 -9
- package/dist/chunk-MEU2HHGV.js.map +1 -0
- package/dist/{chunk-KVTV4LT2.js → chunk-MRTOKIEJ.js} +4 -4
- package/dist/{chunk-KVTV4LT2.js.map → chunk-MRTOKIEJ.js.map} +1 -1
- package/dist/{chunk-QC5BYUED.js → chunk-MS2IXLTC.js} +4 -4
- package/dist/{chunk-QC5BYUED.js.map → chunk-MS2IXLTC.js.map} +1 -1
- package/dist/{chunk-5J6N6LHL.js → chunk-PZS55HOX.js} +3 -3
- package/dist/{chunk-5J6N6LHL.js.map → chunk-PZS55HOX.js.map} +1 -1
- package/dist/{chunk-XDVR7QIT.js → chunk-QC4Q7PMQ.js} +6 -3
- package/dist/chunk-QC4Q7PMQ.js.map +1 -0
- package/dist/{chunk-IISEBVMA.js → chunk-RRKJHADP.js} +5 -5
- package/dist/{chunk-IISEBVMA.js.map → chunk-RRKJHADP.js.map} +1 -1
- package/dist/{chunk-MDCI4RSG.js → chunk-RZL4TOK3.js} +20 -6
- package/dist/chunk-RZL4TOK3.js.map +1 -0
- package/dist/{chunk-2UKNI2HJ.js → chunk-RZQCBFIU.js} +2 -2
- package/dist/{chunk-2UKNI2HJ.js.map → chunk-RZQCBFIU.js.map} +1 -1
- package/dist/{chunk-7TF5MNFK.js → chunk-S6NS3I3P.js} +2 -2
- package/dist/{chunk-7TF5MNFK.js.map → chunk-S6NS3I3P.js.map} +1 -1
- package/dist/{chunk-LMADWO4Q.js → chunk-SBAUZ7XH.js} +4 -4
- package/dist/{chunk-LMADWO4Q.js.map → chunk-SBAUZ7XH.js.map} +1 -1
- package/dist/{chunk-XB4XHGIE.js → chunk-SZ3XCZHC.js} +4 -4
- package/dist/{chunk-XB4XHGIE.js.map → chunk-SZ3XCZHC.js.map} +1 -1
- package/dist/{chunk-AQTAULXT.js → chunk-UHTCOYFJ.js} +111 -47
- package/dist/chunk-UHTCOYFJ.js.map +1 -0
- package/dist/{chunk-HQAPUPBE.js → chunk-V2VDTQ7A.js} +3 -3
- package/dist/{chunk-HQAPUPBE.js.map → chunk-V2VDTQ7A.js.map} +1 -1
- package/dist/{chunk-GNUA7XT2.js → chunk-VS6XC5JE.js} +3 -3
- package/dist/{chunk-GNUA7XT2.js.map → chunk-VS6XC5JE.js.map} +1 -1
- package/dist/chunk-WCHGUS7X.js +2443 -0
- package/dist/chunk-WCHGUS7X.js.map +1 -0
- package/dist/{chunk-5J6JWGY4.js → chunk-WDG5IVEA.js} +3 -3
- package/dist/{chunk-5J6JWGY4.js.map → chunk-WDG5IVEA.js.map} +1 -1
- package/dist/{chunk-QIV7H3GJ.js → chunk-WPTNYDDS.js} +5 -5
- package/dist/{chunk-QIV7H3GJ.js.map → chunk-WPTNYDDS.js.map} +1 -1
- package/dist/{chunk-BDAXHJC5.js → chunk-YPX7LQSW.js} +7 -7
- package/dist/{chunk-BDAXHJC5.js.map → chunk-YPX7LQSW.js.map} +1 -1
- package/dist/{chunk-UWD7YBDR.js → chunk-ZLDAPZIX.js} +4 -4
- package/dist/{chunk-UWD7YBDR.js.map → chunk-ZLDAPZIX.js.map} +1 -1
- package/dist/{chunk-YPTDPN2B.js → chunk-ZRKU7BRI.js} +3 -3
- package/dist/{chunk-YPTDPN2B.js.map → chunk-ZRKU7BRI.js.map} +1 -1
- package/dist/{claude-code-ILZ46SLO.js → claude-code-TDMSETH6.js} +5 -5
- package/dist/{claude-code-ILZ46SLO.js.map → claude-code-TDMSETH6.js.map} +1 -1
- package/dist/cli/index.js +327 -201
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/asset-cmd.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/harness-preflight.d.ts +3 -1
- package/dist/cli/src/commands/harness-preflight.d.ts.map +1 -1
- package/dist/cli/src/commands/harness.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 +3 -3
- package/dist/cli/src/commands/library-index.d.ts.map +1 -1
- package/dist/cli/src/commands/migrate-files.d.ts +8 -0
- package/dist/cli/src/commands/migrate-files.d.ts.map +1 -1
- package/dist/cli/src/commands/migrate-harness.d.ts.map +1 -1
- package/dist/cli/src/commands/migrate-providers.d.ts.map +1 -1
- package/dist/cli/src/commands/migrate.d.ts.map +1 -1
- package/dist/cli/src/commands/outdated.d.ts.map +1 -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 +7 -5
- 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.d.ts.map +1 -1
- package/dist/cli/src/commands/validate.d.ts.map +1 -1
- package/dist/cli/src/config-checks.d.ts +50 -12
- 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/harness-error.d.ts +7 -0
- package/dist/cli/src/harness-error.d.ts.map +1 -1
- package/dist/cli/src/helpers.d.ts.map +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client/src/client.d.ts +3 -0
- package/dist/client/src/client.d.ts.map +1 -1
- package/dist/connectors/config.js +5 -5
- package/dist/connectors/index.js +25 -24
- package/dist/connectors/src/index.d.ts +1 -1
- package/dist/connectors/src/index.d.ts.map +1 -1
- package/dist/connectors/src/managed-gitconfig.d.ts +12 -0
- package/dist/connectors/src/managed-gitconfig.d.ts.map +1 -1
- package/dist/connectors-IUJRBTCW.js +52 -0
- package/dist/{connectors-KTRUUKWG.js.map → connectors-IUJRBTCW.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/index.d.ts +2 -2
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/lock.d.ts +7 -1
- package/dist/core/src/lock.d.ts.map +1 -1
- package/dist/core/src/models.d.ts.map +1 -1
- package/dist/core/src/repo-manager.d.ts +28 -0
- package/dist/core/src/repo-manager.d.ts.map +1 -1
- package/dist/core/src/run-state-ignore.d.ts +5 -3
- package/dist/core/src/run-state-ignore.d.ts.map +1 -1
- 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-5QWKUIUD.js → ensure-sources-Q2TTZVLX.js} +35 -33
- package/dist/ensure-sources-Q2TTZVLX.js.map +1 -0
- package/dist/factory-assets/connectors/box.js +25 -24
- package/dist/factory-assets/connectors/deploy.js +25 -24
- package/dist/factory-assets/connectors/devserver.js +25 -24
- package/dist/factory-assets/connectors/flow/adapter.js +25 -24
- package/dist/factory-assets/connectors/flow/engine.js +8 -8
- package/dist/factory-assets/connectors/flow/run-flow.js +27 -26
- package/dist/factory-assets/connectors/flow.js +25 -24
- package/dist/factory-assets/connectors/git/exec.d.ts +7 -0
- package/dist/factory-assets/connectors/git/exec.d.ts.map +1 -1
- package/dist/factory-assets/connectors/git/repo.d.ts.map +1 -1
- package/dist/factory-assets/connectors/git.js +25 -24
- package/dist/factory-assets/connectors/gmail/adapter.d.ts.map +1 -1
- package/dist/factory-assets/connectors/gmail.js +25 -24
- package/dist/factory-assets/connectors/googledrive.js +25 -24
- package/dist/factory-assets/connectors/local.js +25 -24
- package/dist/factory-assets/connectors/mattermost.js +25 -24
- package/dist/factory-assets/connectors/memory.js +25 -24
- package/dist/factory-assets/connectors/minio/adapter.d.ts.map +1 -1
- package/dist/factory-assets/connectors/minio.js +25 -24
- package/dist/factory-assets/connectors/postgres/adapter.d.ts.map +1 -1
- package/dist/factory-assets/connectors/postgres.js +25 -24
- package/dist/factory-assets/connectors/s3/driver.d.ts.map +1 -1
- package/dist/factory-assets/connectors/s3.js +25 -24
- package/dist/factory-assets/connectors/sharepoint.js +25 -24
- package/dist/factory-assets/connectors/sqlite/adapter.d.ts.map +1 -1
- package/dist/factory-assets/connectors/sqlite.js +25 -24
- package/dist/factory-assets/connectors/static-server.js +25 -24
- package/dist/factory-assets/connectors/tunnel.js +25 -24
- package/dist/factory-assets/connectors/webdav.js +25 -24
- package/dist/factory-assets/connectors/xstate-store.js +25 -24
- package/dist/factory-assets/connectors/xstate.js +25 -24
- package/dist/{flows-UCP6ZUYS.js → flows-J64L5MGJ.js} +12 -12
- package/dist/{flows-UCP6ZUYS.js.map → flows-J64L5MGJ.js.map} +1 -1
- package/dist/{helpers-INS4B7OQ.js → helpers-S6AQGXRH.js} +32 -30
- package/dist/{helpers-INS4B7OQ.js.map → helpers-S6AQGXRH.js.map} +1 -1
- package/dist/library/index.js +11 -11
- package/dist/library/install.js +4 -4
- package/dist/library/src/index.d.ts +2 -2
- package/dist/library/src/index.d.ts.map +1 -1
- package/dist/library/src/library.d.ts +6 -2
- package/dist/library/src/library.d.ts.map +1 -1
- package/dist/library/src/local/db.d.ts.map +1 -1
- package/dist/library/src/local/library.d.ts +10 -3
- package/dist/library/src/local/library.d.ts.map +1 -1
- package/dist/library/src/local/local-catalog-source.d.ts +0 -9
- package/dist/library/src/local/local-catalog-source.d.ts.map +1 -1
- package/dist/library/src/local/schema.d.ts +27 -20
- package/dist/library/src/local/schema.d.ts.map +1 -1
- package/dist/library/src/manifest-writer.d.ts +13 -0
- package/dist/library/src/manifest-writer.d.ts.map +1 -1
- package/dist/library/src/remote/index.d.ts +1 -1
- package/dist/library/src/remote/index.d.ts.map +1 -1
- package/dist/library/src/remote/remote-catalog-source.d.ts +6 -0
- package/dist/library/src/remote/remote-catalog-source.d.ts.map +1 -1
- package/dist/library/src/sync/git-driver.d.ts.map +1 -1
- package/dist/{library-publish-AZTYRASL.js → library-publish-7U4TJNQX.js} +54 -55
- package/dist/library-publish-7U4TJNQX.js.map +1 -0
- package/dist/model-endpoint/index.js +10 -10
- package/dist/open-library-K6O6OVW5.js +61 -0
- package/dist/{open-library-3HMXYGUF.js.map → open-library-K6O6OVW5.js.map} +1 -1
- package/dist/open-registry-4HNCWOCN.js +32 -0
- package/dist/{open-registry-BHBHQMBA.js.map → open-registry-4HNCWOCN.js.map} +1 -1
- package/dist/paths-PXBWY532.js +22 -0
- package/dist/{paths-77PXOXZY.js.map → paths-PXBWY532.js.map} +1 -1
- package/dist/{plugin-store-XQP2CRYH.js → plugin-store-ZC3EGZ3D.js} +10 -10
- package/dist/{plugin-store-XQP2CRYH.js.map → plugin-store-ZC3EGZ3D.js.map} +1 -1
- package/dist/project-ZWIZZIUT.js +88 -0
- package/dist/{project-HVNPK2ZF.js.map → project-ZWIZZIUT.js.map} +1 -1
- package/dist/resolver/index.js +8 -8
- package/dist/runner/index.js +40 -40
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/runner/src/turn-ids.d.ts +70 -0
- package/dist/runner/src/turn-ids.d.ts.map +1 -0
- package/dist/runner/src/turn-scheduler.d.ts +7 -0
- package/dist/runner/src/turn-scheduler.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +15 -15
- package/dist/sdk/bridge.js +21 -20
- package/dist/sdk/client.js +1 -1
- package/dist/sdk/core.js +7 -7
- package/dist/sdk/flow.js +8 -8
- package/dist/sdk/index.js +41 -41
- package/dist/sdk/resolver.js +8 -8
- package/dist/sdk/runner.js +40 -40
- 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-E3IEZTTF.js +59 -0
- package/dist/{serve-preflight-NHZOKHIC.js.map → serve-preflight-E3IEZTTF.js.map} +1 -1
- package/dist/session/index.js +2 -2
- package/dist/session/src/dispatcher.d.ts +4 -1
- package/dist/session/src/dispatcher.d.ts.map +1 -1
- package/dist/{setup-EX7Z7XRN.js → setup-V4EXOMVQ.js} +33 -31
- package/dist/setup-V4EXOMVQ.js.map +1 -0
- package/dist/{skills-DE2BDQ6G.js → skills-5D4KDVPJ.js} +13 -13
- package/dist/{skills-DE2BDQ6G.js.map → skills-5D4KDVPJ.js.map} +1 -1
- package/dist/source-O7XXDX55.js +89 -0
- package/dist/{source-URRPRGMZ.js.map → source-O7XXDX55.js.map} +1 -1
- package/dist/{source-manifest-publish-ZWRYRJ2U.js → source-manifest-publish-GUU4LX2S.js} +54 -53
- package/dist/source-manifest-publish-GUU4LX2S.js.map +1 -0
- package/dist/transport/index.js +8 -8
- package/dist/transport/src/ws/server.d.ts.map +1 -1
- package/dist/transport/ws/server.js +8 -8
- package/dist/transport/ws.js +8 -8
- package/dist/tui/index.js +40 -40
- package/dist/types/index.js +1 -1
- package/dist/types/manifests.js +1 -1
- package/dist/types/src/capabilities.d.ts +2 -1
- package/dist/types/src/capabilities.d.ts.map +1 -1
- package/dist/types/src/events.d.ts +2 -1
- package/dist/types/src/events.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +2 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/manifests/agent.d.ts +2 -0
- package/dist/types/src/manifests/agent.d.ts.map +1 -1
- package/dist/types/src/protocol.d.ts +2 -0
- package/dist/types/src/protocol.d.ts.map +1 -1
- package/dist/types/src/turn-ids.d.ts +62 -0
- package/dist/types/src/turn-ids.d.ts.map +1 -0
- package/dist/types/src/version.d.ts +12 -1
- package/dist/types/src/version.d.ts.map +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +32 -31
- 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-4KPQ6ILH.js.map +0 -1
- package/dist/chunk-6PVRP3LW.js.map +0 -1
- package/dist/chunk-7NN3P6VF.js.map +0 -1
- package/dist/chunk-7UCPGQCW.js.map +0 -1
- package/dist/chunk-AQTAULXT.js.map +0 -1
- package/dist/chunk-BLBXOG5Q.js +0 -299
- package/dist/chunk-BLBXOG5Q.js.map +0 -1
- package/dist/chunk-C324IAXI.js +0 -160
- package/dist/chunk-C324IAXI.js.map +0 -1
- package/dist/chunk-DJSGQW2Q.js +0 -334
- package/dist/chunk-DJSGQW2Q.js.map +0 -1
- package/dist/chunk-FZO64PLQ.js.map +0 -1
- package/dist/chunk-FZTHL6SK.js.map +0 -1
- package/dist/chunk-GYPPVANR.js +0 -357
- package/dist/chunk-GYPPVANR.js.map +0 -1
- package/dist/chunk-GZL6RN4Z.js.map +0 -1
- package/dist/chunk-KNY356I3.js.map +0 -1
- package/dist/chunk-LOO5CB5M.js +0 -12
- package/dist/chunk-LOO5CB5M.js.map +0 -1
- package/dist/chunk-MDCI4RSG.js.map +0 -1
- package/dist/chunk-PBEDRYHP.js.map +0 -1
- package/dist/chunk-PLVM6OIV.js.map +0 -1
- package/dist/chunk-Q5SSRVD5.js.map +0 -1
- package/dist/chunk-U3FI4DVT.js.map +0 -1
- package/dist/chunk-V5KG6CCV.js.map +0 -1
- package/dist/chunk-VEIWFS7Z.js.map +0 -1
- package/dist/chunk-WEPTGUR4.js.map +0 -1
- package/dist/chunk-WS3BOCAT.js.map +0 -1
- package/dist/chunk-XDVR7QIT.js.map +0 -1
- package/dist/chunk-ZUROGXJM.js.map +0 -1
- package/dist/connectors-KTRUUKWG.js +0 -51
- package/dist/ensure-sources-5QWKUIUD.js.map +0 -1
- package/dist/library-publish-AZTYRASL.js.map +0 -1
- package/dist/open-library-3HMXYGUF.js +0 -59
- package/dist/open-registry-BHBHQMBA.js +0 -32
- package/dist/paths-77PXOXZY.js +0 -22
- package/dist/project-HVNPK2ZF.js +0 -89
- package/dist/serve-preflight-NHZOKHIC.js +0 -59
- package/dist/setup-EX7Z7XRN.js.map +0 -1
- package/dist/source-URRPRGMZ.js +0 -88
- package/dist/source-manifest-publish-ZWRYRJ2U.js.map +0 -1
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { WorkspacePlugin } from './chunk-
|
|
2
|
-
import { buildWorkspaceToolDefs } from './chunk-
|
|
3
|
-
import { findAiAssetsRoot } from './chunk-
|
|
4
|
-
import { startModelEndpoint, ModelEndpointError } from './chunk-
|
|
5
|
-
import { WebSocketServerTransport } from './chunk-
|
|
1
|
+
import { WorkspacePlugin } from './chunk-RZQCBFIU.js';
|
|
2
|
+
import { buildWorkspaceToolDefs } from './chunk-L74W5TVC.js';
|
|
3
|
+
import { findAiAssetsRoot } from './chunk-V2VDTQ7A.js';
|
|
4
|
+
import { startModelEndpoint, ModelEndpointError } from './chunk-WPTNYDDS.js';
|
|
5
|
+
import { WebSocketServerTransport } from './chunk-7K73MCI6.js';
|
|
6
6
|
import { assembleSystemPrompt, buildCapabilitiesPromptSection } from './chunk-W3UDISS2.js';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { dispatchCapability } from './chunk-YEOG7CWQ.js';
|
|
7
|
+
import { resolveFlowPath } from './chunk-FVOQPTK2.js';
|
|
8
|
+
import { findAiAssetsRoot as findAiAssetsRoot$1, deployCatalogEntry, undeployCatalogEntry } from './chunk-LQWOU7S2.js';
|
|
9
|
+
import { ConnectFailureCarryOver, registerBuiltinConnectors, listConnectors, buildConnectorPromptSection, findMissingPackages, installNpmPackages, ConnectorManager, buildSdkConnectorTools, fleetMountConnectingMessage, buildLazySdkFlowTools, describeFlowOperations, buildConnectorToolDefs, TRUSTED_GIT_CA_ENV, writeUserGitconfigInclude, buildFlowToolDefs, SessionNodeExecutor, SessionSubpromptRunner, ClassifierSubpromptRunner, SessionInlineSubFlowRunner, driveOrchestratorTurn, buildSdkFlowTools } from './chunk-UHTCOYFJ.js';
|
|
10
|
+
import { loadYamlConnectorDeclarations, withMaterializedConnectorDeclarations, SecretProviderChain, ConnectorStartupError, isKnownSecretRef, EnvSecretProvider, PreMintedSecretProvider, InMemorySecretProvider, resolvedConfigToDeclarations, deriveSingleMaterializedConnectorDeclaration } from './chunk-SBAUZ7XH.js';
|
|
11
|
+
import { EventNormalizer } from './chunk-45XL75RO.js';
|
|
12
|
+
import { sessionSurfaceNotice, approvalCardOf, APPROVE_ONCE, DENY, probeResumeTranscript, transcriptStoreForRuntime } from './chunk-MRTOKIEJ.js';
|
|
13
|
+
import { codexLoginFallbackNotice, prepareNativePolicy, codexInstanceEnvironment, parseCodexCredential, parseCodexRefreshInput, parseCodexRefreshResult } from './chunk-WCHGUS7X.js';
|
|
14
|
+
import { CodexNativeStateUnavailable } from './chunk-5KSGZP3E.js';
|
|
15
|
+
import { dispatchCapability } from './chunk-7ZL23M3X.js';
|
|
17
16
|
import { classifyClaudeSdkError } from './chunk-5DE3DGVR.js';
|
|
18
17
|
import { agentExecRequested } from './chunk-7DN6JKP2.js';
|
|
19
|
-
import { toAgentEffort, toMergedRegistry } from './chunk-
|
|
20
|
-
import { unresolvedProviderCredentials, harnessCapabilities, createHarness, providerCredentialEnvName, registryCredentialEnv, supportsLiveToolUpdates } from './chunk-
|
|
18
|
+
import { toAgentEffort, toMergedRegistry } from './chunk-PZS55HOX.js';
|
|
19
|
+
import { unresolvedProviderCredentials, harnessCapabilities, createHarness, providerCredentialEnvName, registryCredentialEnv, supportsLiveToolUpdates } from './chunk-S6NS3I3P.js';
|
|
21
20
|
import { catalogLayer, AI_PROVIDER_PRESETS } from './chunk-6UP2EDFN.js';
|
|
22
|
-
import { loadFlow } from './chunk-
|
|
21
|
+
import { loadFlow } from './chunk-WDG5IVEA.js';
|
|
23
22
|
import { renderStimulusPrompt } from './chunk-WD3L5QSU.js';
|
|
24
|
-
import { TURN_VISIBILITY_EVENT_TYPES, withActivityLabelJsonSchema, TOOL_ACTIVITY_PROMPT_SECTION, TERMINAL_AGENT_RUN_STATUSES, SESSION_ROOT_CONNECTOR_ID, PLATFORM_BLOCKS_RUNTIME_FEATURE, TURN_VISIBILITY_RUNTIME_FEATURE, PROTOCOL_VERSION, deliveryClassOf } from './chunk-
|
|
25
|
-
import { knowledgeKindProvider, scanLibraryRoot, LocalIndex } from './chunk-
|
|
26
|
-
import { createDefaultKindRegistry } from './chunk-
|
|
23
|
+
import { TURN_VISIBILITY_EVENT_TYPES, withActivityLabelJsonSchema, TOOL_ACTIVITY_PROMPT_SECTION, TERMINAL_AGENT_RUN_STATUSES, SESSION_ROOT_CONNECTOR_ID, PLATFORM_BLOCKS_RUNTIME_FEATURE, TURN_VISIBILITY_RUNTIME_FEATURE, TURN_IDS_RUNTIME_FEATURE, PROTOCOL_VERSION, TURN_IDS_MAX_COUNT, TURN_ID_MAX_LENGTH, deliveryClassOf } from './chunk-342UX2MG.js';
|
|
24
|
+
import { knowledgeKindProvider, scanLibraryRoot, LocalIndex } from './chunk-7FXOOUOC.js';
|
|
25
|
+
import { createDefaultKindRegistry } from './chunk-DRUAQ7IY.js';
|
|
27
26
|
import { parseFlowDefinition } from './chunk-JRN5QF4C.js';
|
|
28
|
-
import { BindingSchema, effectiveComposes, AgentManifestSchema, AgentTriggerSchema, ANTHROPIC_MODEL_ALIASES } from './chunk-
|
|
29
|
-
import { readLock, buildAgentPromptSections, resolveSettings, loadProviderRegistry, resolveLibraryDir } from './chunk-
|
|
30
|
-
import { resolveRuntimeAssets } from './chunk-
|
|
27
|
+
import { BindingSchema, effectiveComposes, AgentManifestSchema, AgentTriggerSchema, ANTHROPIC_MODEL_ALIASES } from './chunk-LCXQ4LVP.js';
|
|
28
|
+
import { readLock, buildAgentPromptSections, resolveSettings, loadProviderRegistry, resolveLibraryDir } from './chunk-MEU2HHGV.js';
|
|
29
|
+
import { resolveRuntimeAssets } from './chunk-CJO3XKO7.js';
|
|
31
30
|
import { DEFAULT_HARNESS_ID, resolveHarnessPaths } from './chunk-C5HFK34M.js';
|
|
32
|
-
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-
|
|
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-BNLXZXZN.js';
|
|
33
32
|
import { globalSkaileDir, globalCacheRoot } from './chunk-L5VSIPQD.js';
|
|
34
33
|
import { harnessNameForHarnessId, SUPPORTED_HARNESSES, HARNESS_TARGETS } from './chunk-VTETQCR6.js';
|
|
35
|
-
import { withFsDeadline, FsDeadlineError, fsDeadlineMs, parseFrontmatter, tryWithFsDeadline } from './chunk-
|
|
36
|
-
import { parseAssetRef } from './chunk-
|
|
34
|
+
import { withFsDeadline, FsDeadlineError, fsDeadlineMs, parseFrontmatter, tryWithFsDeadline } from './chunk-VS6XC5JE.js';
|
|
35
|
+
import { parseAssetRef } from './chunk-7HRZACI4.js';
|
|
36
|
+
import { portableSpawnSync } from './chunk-VSX2G7LA.js';
|
|
37
37
|
import { pickRegistryEntries, registryEntries, resolveEntryBaseUrl, parseModelRef, isEntryEnabled, parseCredentialRef } from './chunk-RXGPFAMN.js';
|
|
38
|
-
import { resolveLogStoreConfig, createLogStoreFromConfig, OnLogBridgeSink, WsLogSink, resolveLogsRetention, enforceLogsRetention, ensureRunStateIgnored, scrubLogText } from './chunk-
|
|
38
|
+
import { resolveLogStoreConfig, createLogStoreFromConfig, OnLogBridgeSink, WsLogSink, resolveLogsRetention, enforceLogsRetention, ensureRunStateIgnored, scrubLogText } from './chunk-RZL4TOK3.js';
|
|
39
39
|
import { getLogStore, registerLogStore, createLogger, resetLogStore, isUnwritableStreamError, markStreamBroken, isBrokenPipeError, redactCredentials } from './chunk-BOFL7GIF.js';
|
|
40
40
|
import { __require } from './chunk-NSBPE2FW.js';
|
|
41
41
|
import { createInterface } from 'readline';
|
|
@@ -9119,6 +9119,142 @@ var TurnEndContract = class {
|
|
|
9119
9119
|
}
|
|
9120
9120
|
};
|
|
9121
9121
|
|
|
9122
|
+
// runner/src/turn-ids.ts
|
|
9123
|
+
var UNKNOWN = /* @__PURE__ */ Symbol("unknown-turn");
|
|
9124
|
+
var MAX_TRACKED_TASKS = 4096;
|
|
9125
|
+
var MAX_RUNNING_TASKS = 256;
|
|
9126
|
+
function turnIdOf(cmd) {
|
|
9127
|
+
const id = cmd.turnId;
|
|
9128
|
+
return typeof id === "string" && id.length > 0 && id.length <= TURN_ID_MAX_LENGTH ? id : null;
|
|
9129
|
+
}
|
|
9130
|
+
function union(a, b) {
|
|
9131
|
+
if (a === UNKNOWN || b === UNKNOWN) return UNKNOWN;
|
|
9132
|
+
if (a.length === 0) return b;
|
|
9133
|
+
if (b.length === 0) return a;
|
|
9134
|
+
return [.../* @__PURE__ */ new Set([...a, ...b])];
|
|
9135
|
+
}
|
|
9136
|
+
var TurnIdStamp = class {
|
|
9137
|
+
/** Every turn holding the harness, by the handle {@link enter} gave it. */
|
|
9138
|
+
holders = /* @__PURE__ */ new Map();
|
|
9139
|
+
nextHolder = 0;
|
|
9140
|
+
/** The self-started turn running now, if any, and the turns whose work it reads. */
|
|
9141
|
+
selfTurn = void 0;
|
|
9142
|
+
/** Launching turns of every task seen to start, oldest first. */
|
|
9143
|
+
tasks = /* @__PURE__ */ new Map();
|
|
9144
|
+
/** Background tasks started and not yet settled, with their launching turns. */
|
|
9145
|
+
running = /* @__PURE__ */ new Map();
|
|
9146
|
+
runningOverflow = false;
|
|
9147
|
+
/**
|
|
9148
|
+
* A host turn now holds the harness; `null` when it was sent without an id.
|
|
9149
|
+
* Returns the call that ends its hold, which ends no other turn's.
|
|
9150
|
+
*/
|
|
9151
|
+
enter(turnId) {
|
|
9152
|
+
return this.hold(turnId === null ? UNKNOWN : [turnId]);
|
|
9153
|
+
}
|
|
9154
|
+
/** A turn the host did not send holds the harness: a flow turn, a compaction. */
|
|
9155
|
+
enterForeign() {
|
|
9156
|
+
return this.hold(UNKNOWN);
|
|
9157
|
+
}
|
|
9158
|
+
/**
|
|
9159
|
+
* A reply was taken by the turn paused on its question: the rest of that turn
|
|
9160
|
+
* answers to the reply's sender as well. Which holder paused is not known, so
|
|
9161
|
+
* every one does. With none, the paused turn is a self-started one, or one
|
|
9162
|
+
* this stamp lost track of.
|
|
9163
|
+
*/
|
|
9164
|
+
join(turnId) {
|
|
9165
|
+
const ids = turnId === null ? UNKNOWN : [turnId];
|
|
9166
|
+
if (this.holders.size > 0) {
|
|
9167
|
+
for (const [handle, held] of this.holders) this.holders.set(handle, union(held, ids));
|
|
9168
|
+
} else {
|
|
9169
|
+
this.selfTurn = this.selfTurn === void 0 ? UNKNOWN : union(this.selfTurn, ids);
|
|
9170
|
+
}
|
|
9171
|
+
}
|
|
9172
|
+
/** Feed every raw harness event before it is normalized: task ids are gone after. */
|
|
9173
|
+
observeHarnessEvent(raw) {
|
|
9174
|
+
if (typeof raw !== "object" || raw === null) return;
|
|
9175
|
+
const event = raw;
|
|
9176
|
+
switch (event.type) {
|
|
9177
|
+
case "self_turn_started": {
|
|
9178
|
+
const ids = Array.isArray(event.taskIds) ? event.taskIds : [];
|
|
9179
|
+
let owner = ids.length === 0 ? UNKNOWN : [];
|
|
9180
|
+
for (const id of ids)
|
|
9181
|
+
owner = union(owner, typeof id === "string" ? this.tasks.get(id) ?? UNKNOWN : UNKNOWN);
|
|
9182
|
+
this.selfTurn = owner;
|
|
9183
|
+
return;
|
|
9184
|
+
}
|
|
9185
|
+
case "background_task_started": {
|
|
9186
|
+
if (typeof event.taskId !== "string") return;
|
|
9187
|
+
const main = this.mainIds();
|
|
9188
|
+
const owner = main !== UNKNOWN && main.length === 0 ? UNKNOWN : main;
|
|
9189
|
+
this.tasks.delete(event.taskId);
|
|
9190
|
+
this.tasks.set(event.taskId, owner);
|
|
9191
|
+
if (this.tasks.size > MAX_TRACKED_TASKS) {
|
|
9192
|
+
const oldest = this.tasks.keys().next().value;
|
|
9193
|
+
if (oldest !== void 0) this.tasks.delete(oldest);
|
|
9194
|
+
}
|
|
9195
|
+
if (this.running.size >= MAX_RUNNING_TASKS && !this.running.has(event.taskId))
|
|
9196
|
+
this.runningOverflow = true;
|
|
9197
|
+
else this.running.set(event.taskId, owner);
|
|
9198
|
+
return;
|
|
9199
|
+
}
|
|
9200
|
+
case "background_task_settled":
|
|
9201
|
+
if (typeof event.taskId === "string") this.running.delete(event.taskId);
|
|
9202
|
+
return;
|
|
9203
|
+
case "background_tasks_reset":
|
|
9204
|
+
this.running.clear();
|
|
9205
|
+
this.runningOverflow = false;
|
|
9206
|
+
this.selfTurn = void 0;
|
|
9207
|
+
return;
|
|
9208
|
+
}
|
|
9209
|
+
}
|
|
9210
|
+
/**
|
|
9211
|
+
* The event as it goes on the wire, with the turn ids it carries. Call after
|
|
9212
|
+
* any other stamp: only `capability_invoked` and `finished` are touched, and
|
|
9213
|
+
* a top-level terminal ends the self-started turn's attribution.
|
|
9214
|
+
*/
|
|
9215
|
+
stamp(event) {
|
|
9216
|
+
if (event.type === "capability_invoked") {
|
|
9217
|
+
return withIds(event, union(this.mainIds(), this.runningIds()));
|
|
9218
|
+
}
|
|
9219
|
+
const parent = event.parentToolUseId;
|
|
9220
|
+
const terminal = event.type === "finished" || event.type === "error" && event.fatal === true && event.retrying !== true;
|
|
9221
|
+
if (!terminal || typeof parent === "string") return event;
|
|
9222
|
+
this.selfTurn = void 0;
|
|
9223
|
+
if (event.type !== "finished" || event.selfStarted === true)
|
|
9224
|
+
return event;
|
|
9225
|
+
const { turnId: _stale, ...rest } = event;
|
|
9226
|
+
const [only] = this.holders.size === 1 ? this.holders.values() : [];
|
|
9227
|
+
if (only === void 0 || only === UNKNOWN || only.length === 0) return rest;
|
|
9228
|
+
return { ...rest, turnId: only[0] };
|
|
9229
|
+
}
|
|
9230
|
+
hold(ids) {
|
|
9231
|
+
const handle = this.nextHolder++;
|
|
9232
|
+
this.holders.set(handle, ids);
|
|
9233
|
+
return () => {
|
|
9234
|
+
this.holders.delete(handle);
|
|
9235
|
+
};
|
|
9236
|
+
}
|
|
9237
|
+
/** The main thread: every turn holding the harness and any self-started turn running too. */
|
|
9238
|
+
mainIds() {
|
|
9239
|
+
let ids = [];
|
|
9240
|
+
for (const held of this.holders.values()) ids = union(ids, held);
|
|
9241
|
+
return this.selfTurn === void 0 ? ids : union(ids, this.selfTurn);
|
|
9242
|
+
}
|
|
9243
|
+
/** The launching turns of every background task still running. */
|
|
9244
|
+
runningIds() {
|
|
9245
|
+
if (this.runningOverflow) return UNKNOWN;
|
|
9246
|
+
let ids = [];
|
|
9247
|
+
for (const owner of this.running.values()) ids = union(ids, owner);
|
|
9248
|
+
return ids;
|
|
9249
|
+
}
|
|
9250
|
+
};
|
|
9251
|
+
function withIds(event, ids) {
|
|
9252
|
+
const { turnIds: _stale, ...rest } = event;
|
|
9253
|
+
if (ids === UNKNOWN || ids.length === 0 || ids.length > TURN_IDS_MAX_COUNT)
|
|
9254
|
+
return rest;
|
|
9255
|
+
return { ...rest, turnIds: [...ids] };
|
|
9256
|
+
}
|
|
9257
|
+
|
|
9122
9258
|
// runner/src/compaction-gate.ts
|
|
9123
9259
|
var CompactionGate = class {
|
|
9124
9260
|
/**
|
|
@@ -9553,6 +9689,7 @@ var TurnScheduler = class {
|
|
|
9553
9689
|
const paused = this.deps.getHarness();
|
|
9554
9690
|
if (paused.hasPendingQuestion()) {
|
|
9555
9691
|
if (paused.answerQuestion(turn.answer, turn.question, turn.requestId)) {
|
|
9692
|
+
this.deps.turnIds?.join(turn.turnId ?? null);
|
|
9556
9693
|
turn.onAnswered?.();
|
|
9557
9694
|
return;
|
|
9558
9695
|
}
|
|
@@ -9578,14 +9715,16 @@ var TurnScheduler = class {
|
|
|
9578
9715
|
return;
|
|
9579
9716
|
}
|
|
9580
9717
|
if (!endTurn) return;
|
|
9581
|
-
this.deps.
|
|
9718
|
+
const leaveTurnIds = this.deps.turnIds?.enter(turn.turnId ?? null);
|
|
9582
9719
|
try {
|
|
9720
|
+
this.deps.turnEnd?.begin();
|
|
9583
9721
|
await this.deps.getHarness().prompt(freshTurnReplyPrompt(turn.answer, turn.question));
|
|
9584
9722
|
} catch (err) {
|
|
9585
9723
|
this.deps.sendEvent(replyFailed(err));
|
|
9586
9724
|
} finally {
|
|
9587
9725
|
this.deps.turnEnd?.end();
|
|
9588
9726
|
this.deps.turnEnd?.settle();
|
|
9727
|
+
leaveTurnIds?.();
|
|
9589
9728
|
endTurn();
|
|
9590
9729
|
}
|
|
9591
9730
|
});
|
|
@@ -9606,6 +9745,7 @@ var TurnScheduler = class {
|
|
|
9606
9745
|
if (!await this.awaitCompactionIdle("flow turn"))
|
|
9607
9746
|
throw new Error(FLOW_TURN_COMPACTION_TIMEOUT);
|
|
9608
9747
|
const endTurn = await this.swaps.beginQueuedTurn();
|
|
9748
|
+
let leaveTurnIds;
|
|
9609
9749
|
if (this.swaps.isSwapping() || !this.compactions.isIdle()) {
|
|
9610
9750
|
endTurn();
|
|
9611
9751
|
continue;
|
|
@@ -9613,9 +9753,12 @@ var TurnScheduler = class {
|
|
|
9613
9753
|
try {
|
|
9614
9754
|
await this.deps.ensureHarnessStarted();
|
|
9615
9755
|
this.deps.turnEnd?.foreignTurn();
|
|
9756
|
+
leaveTurnIds = this.deps.turnIds?.enterForeign();
|
|
9616
9757
|
await awaitAgentEnd(this.deps.getHarness(), prompt, timeoutMs);
|
|
9617
9758
|
return;
|
|
9618
9759
|
} finally {
|
|
9760
|
+
leaveTurnIds?.();
|
|
9761
|
+
leaveTurnIds = void 0;
|
|
9619
9762
|
endTurn();
|
|
9620
9763
|
}
|
|
9621
9764
|
}
|
|
@@ -9669,6 +9812,7 @@ var TurnScheduler = class {
|
|
|
9669
9812
|
const generation = ++this.hooksGeneration;
|
|
9670
9813
|
const superseded = () => generation !== this.hooksGeneration;
|
|
9671
9814
|
let hold = null;
|
|
9815
|
+
let leaveTurnIds;
|
|
9672
9816
|
return {
|
|
9673
9817
|
// A user turn that already holds a slot keeps the harness; the compaction
|
|
9674
9818
|
// waits for it rather than prompting the harness under it. A platform call
|
|
@@ -9689,6 +9833,8 @@ var TurnScheduler = class {
|
|
|
9689
9833
|
},
|
|
9690
9834
|
onCompactionStart: (trigger) => {
|
|
9691
9835
|
this.deps.turnEnd?.foreignTurn();
|
|
9836
|
+
leaveTurnIds?.();
|
|
9837
|
+
leaveTurnIds = this.deps.turnIds?.enterForeign();
|
|
9692
9838
|
hold = this.compactions.begin();
|
|
9693
9839
|
this.suppressedBy = hold;
|
|
9694
9840
|
this.deps.sendEvent({ type: "status", phase: "compacting" });
|
|
@@ -9704,6 +9850,8 @@ var TurnScheduler = class {
|
|
|
9704
9850
|
onCompactionSettled: () => {
|
|
9705
9851
|
if (hold !== null && this.suppressedBy === hold) this.suppressedBy = null;
|
|
9706
9852
|
if (hold !== null) this.snapshotTurns.delete(hold);
|
|
9853
|
+
leaveTurnIds?.();
|
|
9854
|
+
leaveTurnIds = void 0;
|
|
9707
9855
|
this.compactions.settle(hold);
|
|
9708
9856
|
hold = null;
|
|
9709
9857
|
}
|
|
@@ -9760,9 +9908,10 @@ var TurnScheduler = class {
|
|
|
9760
9908
|
return { kind: "dropped" };
|
|
9761
9909
|
}
|
|
9762
9910
|
this.deps.turnVisibility?.enter(turn.visibility ?? null);
|
|
9763
|
-
this.deps.
|
|
9911
|
+
const leaveTurnIds = this.deps.turnIds?.enter(turn.turnId ?? null);
|
|
9764
9912
|
const endsBefore = this.turnEndReports;
|
|
9765
9913
|
try {
|
|
9914
|
+
this.deps.turnEnd?.begin();
|
|
9766
9915
|
turn.onStart?.();
|
|
9767
9916
|
await turn.dispatch();
|
|
9768
9917
|
} catch (err) {
|
|
@@ -9775,6 +9924,7 @@ var TurnScheduler = class {
|
|
|
9775
9924
|
this.deps.turnEnd?.end();
|
|
9776
9925
|
this.deps.turnEnd?.settle();
|
|
9777
9926
|
this.deps.turnVisibility?.exit();
|
|
9927
|
+
leaveTurnIds?.();
|
|
9778
9928
|
endTurn();
|
|
9779
9929
|
}
|
|
9780
9930
|
return { kind: "ran" };
|
|
@@ -9872,7 +10022,7 @@ function turnVisibilityOf(cmd) {
|
|
|
9872
10022
|
if (readers.length === 0) return "no-readers";
|
|
9873
10023
|
return { visibilityMode: "Private", privateRecipientIds: readers };
|
|
9874
10024
|
}
|
|
9875
|
-
var
|
|
10025
|
+
var UNKNOWN2 = /* @__PURE__ */ Symbol("unknown-owner");
|
|
9876
10026
|
var MAX_TRACKED = 4096;
|
|
9877
10027
|
var MAX_OUTSTANDING = 256;
|
|
9878
10028
|
var PARENTLESS_CHILD_TYPES = /* @__PURE__ */ new Set([
|
|
@@ -9882,11 +10032,11 @@ var PARENTLESS_CHILD_TYPES = /* @__PURE__ */ new Set([
|
|
|
9882
10032
|
]);
|
|
9883
10033
|
var QUESTION_TOOL = "AskUserQuestion";
|
|
9884
10034
|
function intersect(a, b) {
|
|
9885
|
-
if (a ===
|
|
10035
|
+
if (a === UNKNOWN2 || b === UNKNOWN2) return UNKNOWN2;
|
|
9886
10036
|
if (a === null) return b;
|
|
9887
10037
|
if (b === null) return a;
|
|
9888
10038
|
const readers = a.privateRecipientIds.filter((id) => b.privateRecipientIds.includes(id));
|
|
9889
|
-
return readers.length > 0 ? { visibilityMode: "Private", privateRecipientIds: readers } :
|
|
10039
|
+
return readers.length > 0 ? { visibilityMode: "Private", privateRecipientIds: readers } : UNKNOWN2;
|
|
9890
10040
|
}
|
|
9891
10041
|
var BoundedMap = class {
|
|
9892
10042
|
entries = /* @__PURE__ */ new Map();
|
|
@@ -9899,7 +10049,7 @@ var BoundedMap = class {
|
|
|
9899
10049
|
}
|
|
9900
10050
|
}
|
|
9901
10051
|
resolve(key) {
|
|
9902
|
-
return this.entries.has(key) ? this.entries.get(key) :
|
|
10052
|
+
return this.entries.has(key) ? this.entries.get(key) : UNKNOWN2;
|
|
9903
10053
|
}
|
|
9904
10054
|
};
|
|
9905
10055
|
var WITHHELD_KEPT_FIELDS = [
|
|
@@ -9954,9 +10104,9 @@ var TurnVisibilityStamp = class {
|
|
|
9954
10104
|
switch (event.type) {
|
|
9955
10105
|
case "self_turn_started": {
|
|
9956
10106
|
const ids = Array.isArray(event.taskIds) ? event.taskIds : [];
|
|
9957
|
-
let owner = ids.length === 0 ?
|
|
10107
|
+
let owner = ids.length === 0 ? UNKNOWN2 : null;
|
|
9958
10108
|
for (const id of ids)
|
|
9959
|
-
owner = intersect(owner, typeof id === "string" ? this.tasks.resolve(id) :
|
|
10109
|
+
owner = intersect(owner, typeof id === "string" ? this.tasks.resolve(id) : UNKNOWN2);
|
|
9960
10110
|
this.selfTurn = owner;
|
|
9961
10111
|
return;
|
|
9962
10112
|
}
|
|
@@ -10009,13 +10159,13 @@ var TurnVisibilityStamp = class {
|
|
|
10009
10159
|
stamp(event, opts = {}) {
|
|
10010
10160
|
const parent = event.parentToolUseId;
|
|
10011
10161
|
const selfStarted = event.selfStarted === true;
|
|
10012
|
-
let owner = event.type === "question" && this.questionOwner !== void 0 ? this.questionOwner : selfStarted && typeof parent !== "string" && this.selfTurn === void 0 ?
|
|
10162
|
+
let owner = event.type === "question" && this.questionOwner !== void 0 ? this.questionOwner : selfStarted && typeof parent !== "string" && this.selfTurn === void 0 ? UNKNOWN2 : this.ownerUnder(parent);
|
|
10013
10163
|
if (typeof parent !== "string" && (opts.fromCapability === true || PARENTLESS_CHILD_TYPES.has(event.type)))
|
|
10014
10164
|
owner = intersect(owner, this.runningOwner());
|
|
10015
10165
|
const terminal = event.type === "finished" || event.type === "error" && event.fatal === true && event.retrying !== true;
|
|
10016
10166
|
if (terminal && typeof parent !== "string") this.selfTurn = void 0;
|
|
10017
10167
|
if (!STAMPED_TYPES.has(event.type)) return event;
|
|
10018
|
-
if (owner ===
|
|
10168
|
+
if (owner === UNKNOWN2) return this.privateSeen ? this.withhold(event) : event;
|
|
10019
10169
|
if (owner === null) return event;
|
|
10020
10170
|
const stamped = {
|
|
10021
10171
|
visibilityMode: owner.visibilityMode,
|
|
@@ -10029,7 +10179,7 @@ var TurnVisibilityStamp = class {
|
|
|
10029
10179
|
}
|
|
10030
10180
|
/** Readers every running background task's launching turn shares; `null` when none runs. */
|
|
10031
10181
|
runningOwner() {
|
|
10032
|
-
if (this.runningOverflow) return
|
|
10182
|
+
if (this.runningOverflow) return UNKNOWN2;
|
|
10033
10183
|
let owner = null;
|
|
10034
10184
|
for (const taskOwner of this.running.values()) owner = intersect(owner, taskOwner);
|
|
10035
10185
|
return owner;
|
|
@@ -10040,7 +10190,7 @@ var TurnVisibilityStamp = class {
|
|
|
10040
10190
|
}
|
|
10041
10191
|
/** An owner that is unknown is not remembered, so the id stays unknown. */
|
|
10042
10192
|
remember(map, id, owner) {
|
|
10043
|
-
if (owner !==
|
|
10193
|
+
if (owner !== UNKNOWN2) map.set(id, owner);
|
|
10044
10194
|
}
|
|
10045
10195
|
withhold(event) {
|
|
10046
10196
|
this.withheldCount += 1;
|
|
@@ -13233,13 +13383,33 @@ function userGitconfigsToInclude(managedGitconfigPath) {
|
|
|
13233
13383
|
}
|
|
13234
13384
|
return found;
|
|
13235
13385
|
}
|
|
13386
|
+
function userCaInfoPath() {
|
|
13387
|
+
const home = process.env.HOME || homedir();
|
|
13388
|
+
if (!home) return void 0;
|
|
13389
|
+
const xdg = process.env.XDG_CONFIG_HOME;
|
|
13390
|
+
const xdgDir = xdg && isAbsolute(xdg) ? xdg : join(home, ".config");
|
|
13391
|
+
let found;
|
|
13392
|
+
for (const userPath of [join(xdgDir, "git", "config"), join(home, ".gitconfig")]) {
|
|
13393
|
+
if (!existsSync(userPath)) continue;
|
|
13394
|
+
const res = portableSpawnSync(
|
|
13395
|
+
["git", "config", "--file", userPath, "--type=path", "--get", "http.sslCAInfo"],
|
|
13396
|
+
{ timeoutMs: 5e3 }
|
|
13397
|
+
);
|
|
13398
|
+
const value = res.exitCode === 0 ? res.stdout.trim() : "";
|
|
13399
|
+
if (value && isAbsolute(value)) found = value;
|
|
13400
|
+
}
|
|
13401
|
+
return found;
|
|
13402
|
+
}
|
|
13236
13403
|
function setupManagedGitconfig(projectDir, serverLog, includeInHome) {
|
|
13237
13404
|
const managedGitconfigPath = join(resolve(projectDir), ".skaile", "managed-gitconfig");
|
|
13238
13405
|
process.env.GIT_CONFIG_GLOBAL = managedGitconfigPath;
|
|
13406
|
+
const userCaInfo = userCaInfoPath();
|
|
13407
|
+
if (userCaInfo) process.env[TRUSTED_GIT_CA_ENV] = userCaInfo;
|
|
13239
13408
|
try {
|
|
13240
13409
|
writeUserGitconfigInclude({
|
|
13241
13410
|
gitconfigPath: managedGitconfigPath,
|
|
13242
|
-
userGitconfigPaths: includeInHome ? void 0 : userGitconfigsToInclude(managedGitconfigPath)
|
|
13411
|
+
userGitconfigPaths: includeInHome ? void 0 : userGitconfigsToInclude(managedGitconfigPath),
|
|
13412
|
+
userCaInfo
|
|
13243
13413
|
});
|
|
13244
13414
|
} catch (err) {
|
|
13245
13415
|
serverLog.warn("failed to write managed-gitconfig \u2014 the agent's git has no global config", {
|
|
@@ -13835,7 +14005,8 @@ async function startAgentServer(opts) {
|
|
|
13835
14005
|
const supportedRuntimeFeatures = [
|
|
13836
14006
|
...managedHost ? ["codex-app-server-v1"] : [],
|
|
13837
14007
|
PLATFORM_BLOCKS_RUNTIME_FEATURE,
|
|
13838
|
-
TURN_VISIBILITY_RUNTIME_FEATURE
|
|
14008
|
+
TURN_VISIBILITY_RUNTIME_FEATURE,
|
|
14009
|
+
TURN_IDS_RUNTIME_FEATURE
|
|
13839
14010
|
];
|
|
13840
14011
|
let managedBootstrapClosed = false;
|
|
13841
14012
|
const port = opts.port ?? 8080;
|
|
@@ -13933,6 +14104,7 @@ async function startAgentServer(opts) {
|
|
|
13933
14104
|
const turnTaps = /* @__PURE__ */ new Set();
|
|
13934
14105
|
const eventGapBuffer = new EventGapBuffer();
|
|
13935
14106
|
const turnVisibility = new TurnVisibilityStamp();
|
|
14107
|
+
const turnIds = new TurnIdStamp();
|
|
13936
14108
|
const initLessRunner = !managedHost && (wsConfig.secrets?.provider ?? "env") === "env";
|
|
13937
14109
|
let clientEverConnected = false;
|
|
13938
14110
|
transport.onConnect(() => {
|
|
@@ -13940,8 +14112,11 @@ async function startAgentServer(opts) {
|
|
|
13940
14112
|
});
|
|
13941
14113
|
function sendEvent(event, opts2) {
|
|
13942
14114
|
const stamped = turnVisibility.stamp(event, opts2);
|
|
13943
|
-
if (stamped) deliverEvent(stamped);
|
|
13944
|
-
else
|
|
14115
|
+
if (stamped) deliverEvent(turnIds.stamp(stamped));
|
|
14116
|
+
else {
|
|
14117
|
+
turnIds.stamp(event);
|
|
14118
|
+
log(`[serve] withheld a ${event.type} event: its readers are unknown`);
|
|
14119
|
+
}
|
|
13945
14120
|
return stamped !== null;
|
|
13946
14121
|
}
|
|
13947
14122
|
function deliverEvent(event) {
|
|
@@ -14035,7 +14210,7 @@ async function startAgentServer(opts) {
|
|
|
14035
14210
|
input,
|
|
14036
14211
|
invokedBy: "agent"
|
|
14037
14212
|
});
|
|
14038
|
-
if (invoked) transport.send(invoked);
|
|
14213
|
+
if (invoked) transport.send(turnIds.stamp(invoked));
|
|
14039
14214
|
else finish(new Error(`Capability ${name} refused: its readers are unknown`));
|
|
14040
14215
|
} catch (error) {
|
|
14041
14216
|
finish(error);
|
|
@@ -14720,7 +14895,8 @@ async function startAgentServer(opts) {
|
|
|
14720
14895
|
log,
|
|
14721
14896
|
logPhase,
|
|
14722
14897
|
turnEnd: turnEndContract,
|
|
14723
|
-
turnVisibility
|
|
14898
|
+
turnVisibility,
|
|
14899
|
+
turnIds
|
|
14724
14900
|
});
|
|
14725
14901
|
agentLoop = createAgentLoop({
|
|
14726
14902
|
notReady: () => {
|
|
@@ -14755,6 +14931,7 @@ async function startAgentServer(opts) {
|
|
|
14755
14931
|
harness.removeAllListeners("reconfigure-rollback");
|
|
14756
14932
|
harness.kill();
|
|
14757
14933
|
turnVisibility.observeHarnessEvent({ type: "background_tasks_reset" });
|
|
14934
|
+
turnIds.observeHarnessEvent({ type: "background_tasks_reset" });
|
|
14758
14935
|
} catch (err) {
|
|
14759
14936
|
log(
|
|
14760
14937
|
`[serve] failed to retire previous harness: ${err instanceof Error ? err.message : String(err)}`
|
|
@@ -14883,6 +15060,7 @@ async function startAgentServer(opts) {
|
|
|
14883
15060
|
event
|
|
14884
15061
|
);
|
|
14885
15062
|
turnVisibility.observeHarnessEvent(event);
|
|
15063
|
+
turnIds.observeHarnessEvent(event);
|
|
14886
15064
|
const normalized = normalizer.normalize(event);
|
|
14887
15065
|
const turnEnded = event.type === "agent_end";
|
|
14888
15066
|
for (const e of normalized) {
|
|
@@ -16100,7 +16278,8 @@ async function startAgentServer(opts) {
|
|
|
16100
16278
|
toolAllowlist: cmd.toolAllowlist,
|
|
16101
16279
|
platformBlocks: cmd.platformBlocks,
|
|
16102
16280
|
owner: { senderId: cmd.senderId, messageId: cmd.messageId },
|
|
16103
|
-
visibility
|
|
16281
|
+
visibility,
|
|
16282
|
+
turnId: turnIdOf(cmd)
|
|
16104
16283
|
});
|
|
16105
16284
|
}
|
|
16106
16285
|
async function runChatPrompt(input) {
|
|
@@ -16112,6 +16291,7 @@ async function startAgentServer(opts) {
|
|
|
16112
16291
|
const outcome = await turnScheduler.prompt({
|
|
16113
16292
|
owner: input.owner,
|
|
16114
16293
|
visibility: input.visibility ?? null,
|
|
16294
|
+
turnId: input.turnId ?? null,
|
|
16115
16295
|
...input.onStart ? { onStart: input.onStart } : {},
|
|
16116
16296
|
...input.isAborted ? { cancelled: input.isAborted } : {},
|
|
16117
16297
|
// The turn ahead may be paused on a question it can only leave through
|
|
@@ -16251,6 +16431,7 @@ async function startAgentServer(opts) {
|
|
|
16251
16431
|
answer: escapeReservedPlatformTags(cmd.answer),
|
|
16252
16432
|
question: cmd.question,
|
|
16253
16433
|
requestId: cmd.requestId,
|
|
16434
|
+
turnId: turnIdOf(cmd),
|
|
16254
16435
|
// Tells every other attached client the question is answered, so none
|
|
16255
16436
|
// keeps a stale question card or a shut status gate.
|
|
16256
16437
|
onAnswered: () => sendEvent({
|
|
@@ -16932,5 +17113,5 @@ function touchSession(state) {
|
|
|
16932
17113
|
}
|
|
16933
17114
|
|
|
16934
17115
|
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, modelForHarness, 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 };
|
|
16935
|
-
//# sourceMappingURL=chunk-
|
|
16936
|
-
//# sourceMappingURL=chunk-
|
|
17116
|
+
//# sourceMappingURL=chunk-FO2GU5L7.js.map
|
|
17117
|
+
//# sourceMappingURL=chunk-FO2GU5L7.js.map
|