@skaile/workspaces 5.19.0 → 6.0.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 +6 -0
- package/README.md +8 -8
- package/dist/app-sdk/index.js +1 -1
- package/dist/{asset-feeds-QGLI3AXI.js → asset-feeds-PXUWCXVI.js} +18 -18
- package/dist/{asset-feeds-QGLI3AXI.js.map → asset-feeds-PXUWCXVI.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.js +8 -8
- package/dist/asset-manager/index.js +14 -14
- package/dist/asset-manager/installer.js +11 -11
- package/dist/asset-manager/renderers.js +10 -10
- package/dist/asset-manager/src/index.d.ts +22 -22
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/asset-manager/src/install-agent.d.ts +2 -2
- package/dist/asset-manager/src/install-agent.d.ts.map +1 -1
- package/dist/asset-manager/src/install-instances.d.ts +8 -8
- package/dist/asset-manager/src/install-instances.d.ts.map +1 -1
- package/dist/asset-manager/src/installer.d.ts +3 -3
- package/dist/asset-manager/src/installer.d.ts.map +1 -1
- package/dist/asset-manager/src/mcp-config.d.ts +14 -14
- package/dist/asset-manager/src/mcp-config.d.ts.map +1 -1
- package/dist/asset-manager/src/renderers.d.ts +12 -12
- package/dist/asset-manager/src/renderers.d.ts.map +1 -1
- package/dist/bridge/codex-app-server.js +2 -2
- package/dist/bridge/harnesses/claude-sdk.d.ts +2 -0
- package/dist/bridge/{drivers → harnesses}/claude-sdk.js +63 -63
- package/dist/bridge/harnesses/claude-sdk.js.map +1 -0
- package/dist/bridge/{drivers/gemini.d.ts → harnesses/codex.d.ts} +1 -1
- package/dist/bridge/{drivers → harnesses}/codex.js +50 -50
- package/dist/bridge/harnesses/codex.js.map +1 -0
- package/dist/bridge/{drivers/claude-sdk.d.ts → harnesses/continue.d.ts} +1 -1
- package/dist/bridge/{drivers → harnesses}/continue.js +27 -27
- package/dist/bridge/harnesses/continue.js.map +1 -0
- package/dist/bridge/{drivers → harnesses}/echo.d.ts +1 -1
- package/dist/bridge/{drivers → harnesses}/echo.js +27 -27
- package/dist/bridge/harnesses/echo.js.map +1 -0
- package/dist/bridge/{drivers/continue.d.ts → harnesses/gemini.d.ts} +1 -1
- package/dist/bridge/harnesses/gemini.js +18 -0
- package/dist/bridge/{drivers → harnesses}/goose.d.ts +1 -1
- package/dist/bridge/{drivers → harnesses}/goose.js +27 -27
- package/dist/bridge/harnesses/goose.js.map +1 -0
- package/dist/bridge/{drivers → harnesses}/omp.d.ts +1 -1
- package/dist/bridge/{drivers → harnesses}/omp.js +31 -31
- package/dist/bridge/harnesses/omp.js.map +1 -0
- package/dist/bridge/{drivers → harnesses}/opencode.d.ts +1 -1
- package/dist/bridge/{drivers → harnesses}/opencode.js +28 -28
- package/dist/bridge/harnesses/opencode.js.map +1 -0
- package/dist/bridge/{drivers → harnesses}/qwen.d.ts +1 -1
- package/dist/bridge/{drivers → harnesses}/qwen.js +20 -20
- package/dist/bridge/harnesses/qwen.js.map +1 -0
- package/dist/bridge/index.js +22 -22
- package/dist/bridge/src/agent-exec.d.ts +2 -2
- package/dist/bridge/src/agent-transcript.d.ts +1 -1
- package/dist/bridge/src/agent-transcript.d.ts.map +1 -1
- package/dist/bridge/src/approval-card.d.ts +3 -3
- package/dist/bridge/src/capability-dispatch.d.ts +5 -5
- package/dist/bridge/src/cloud.d.ts +4 -4
- package/dist/bridge/src/codex/config-toml.d.ts +3 -3
- package/dist/bridge/src/codex/friendly-error.d.ts +1 -1
- package/dist/bridge/src/codex/friendly-error.d.ts.map +1 -1
- package/dist/bridge/src/codex/{managed-driver.d.ts → managed-harness.d.ts} +5 -5
- package/dist/bridge/src/codex/managed-harness.d.ts.map +1 -0
- package/dist/bridge/src/codex/native-approvals.d.ts +1 -1
- package/dist/bridge/src/codex/native-approvals.d.ts.map +1 -1
- package/dist/bridge/src/error-classifier.d.ts +7 -7
- package/dist/bridge/src/{driver-capabilities.d.ts → harness-capabilities.d.ts} +18 -18
- package/dist/bridge/src/harness-capabilities.d.ts.map +1 -0
- package/dist/bridge/src/{driver-model-check.d.ts → harness-model-check.d.ts} +9 -9
- package/dist/bridge/src/harness-model-check.d.ts.map +1 -0
- package/dist/bridge/src/{drivers → harnesses}/_subprocess-cli.d.ts +8 -8
- package/dist/bridge/src/harnesses/_subprocess-cli.d.ts.map +1 -0
- package/dist/bridge/src/{drivers → harnesses}/claude-context-usage.d.ts +5 -5
- package/dist/bridge/src/harnesses/claude-context-usage.d.ts.map +1 -0
- package/dist/bridge/src/{drivers → harnesses}/claude-sdk.d.ts +27 -27
- package/dist/bridge/src/harnesses/claude-sdk.d.ts.map +1 -0
- package/dist/bridge/src/{drivers → harnesses}/claude-self-turns.d.ts +5 -5
- package/dist/bridge/src/harnesses/claude-self-turns.d.ts.map +1 -0
- package/dist/bridge/src/{drivers → harnesses}/claude-tool-allowlist.d.ts +4 -4
- package/dist/bridge/src/harnesses/claude-tool-allowlist.d.ts.map +1 -0
- package/dist/bridge/src/{drivers → harnesses}/codex.d.ts +14 -14
- package/dist/bridge/src/harnesses/codex.d.ts.map +1 -0
- package/dist/bridge/src/{drivers → harnesses}/continue.d.ts +12 -12
- package/dist/bridge/src/harnesses/continue.d.ts.map +1 -0
- package/dist/bridge/src/{drivers → harnesses}/echo.d.ts +16 -16
- package/dist/bridge/src/harnesses/echo.d.ts.map +1 -0
- package/dist/bridge/src/{drivers → harnesses}/flow-script.d.ts +9 -9
- package/dist/bridge/src/harnesses/flow-script.d.ts.map +1 -0
- package/dist/bridge/src/{drivers → harnesses}/gemini.d.ts +15 -15
- package/dist/bridge/src/harnesses/gemini.d.ts.map +1 -0
- package/dist/bridge/src/{drivers → harnesses}/goose.d.ts +10 -10
- package/dist/bridge/src/harnesses/goose.d.ts.map +1 -0
- package/dist/bridge/src/{drivers → harnesses}/omp-models-yml.d.ts +12 -12
- package/dist/bridge/src/harnesses/omp-models-yml.d.ts.map +1 -0
- package/dist/bridge/src/{drivers → harnesses}/omp.d.ts +23 -23
- package/dist/bridge/src/harnesses/omp.d.ts.map +1 -0
- package/dist/bridge/src/{drivers → harnesses}/opencode.d.ts +11 -11
- package/dist/bridge/src/harnesses/opencode.d.ts.map +1 -0
- package/dist/bridge/src/{drivers → harnesses}/qwen.d.ts +12 -12
- package/dist/bridge/src/harnesses/qwen.d.ts.map +1 -0
- package/dist/bridge/src/{drivers → harnesses}/recovery-policy.d.ts +4 -4
- package/dist/bridge/src/harnesses/recovery-policy.d.ts.map +1 -0
- package/dist/bridge/src/{drivers → harnesses}/resume-probe.d.ts +3 -3
- package/dist/bridge/src/harnesses/resume-probe.d.ts.map +1 -0
- package/dist/bridge/src/{drivers → harnesses}/sanitize-assistant-text.d.ts +1 -1
- package/dist/bridge/src/harnesses/sanitize-assistant-text.d.ts.map +1 -0
- package/dist/bridge/src/{drivers → harnesses}/scrub-transcript.d.ts +1 -1
- package/dist/bridge/src/harnesses/scrub-transcript.d.ts.map +1 -0
- package/dist/bridge/src/index.d.ts +4 -4
- package/dist/bridge/src/index.d.ts.map +1 -1
- package/dist/bridge/src/logger.d.ts +4 -4
- package/dist/bridge/src/models.d.ts +1 -1
- package/dist/bridge/src/normalizer.d.ts +2 -2
- package/dist/bridge/src/provider-materialize/continue-config-yaml.d.ts +5 -5
- package/dist/bridge/src/provider-materialize/continue-config-yaml.d.ts.map +1 -1
- package/dist/bridge/src/provider-materialize/credential-env.d.ts +3 -3
- package/dist/bridge/src/provider-materialize/{env-drivers.d.ts → env-harnesses.d.ts} +19 -19
- package/dist/bridge/src/provider-materialize/env-harnesses.d.ts.map +1 -0
- package/dist/bridge/src/provider-materialize/goose-custom-providers.d.ts +5 -5
- package/dist/bridge/src/provider-materialize/goose-custom-providers.d.ts.map +1 -1
- package/dist/bridge/src/provider-materialize/opencode-config.d.ts +7 -7
- package/dist/bridge/src/provider-materialize/opencode-config.d.ts.map +1 -1
- package/dist/bridge/src/provider-materialize/session-config-home.d.ts +5 -5
- package/dist/bridge/src/provider-materialize/session-config-home.d.ts.map +1 -1
- package/dist/bridge/src/provider-registry-derive.d.ts +4 -4
- package/dist/bridge/src/provider-registry-derive.d.ts.map +1 -1
- package/dist/bridge/src/reconfigure-ledger.d.ts +8 -8
- package/dist/bridge/src/reconfigure-ledger.d.ts.map +1 -1
- package/dist/bridge/src/registry.d.ts +34 -41
- package/dist/bridge/src/registry.d.ts.map +1 -1
- package/dist/bridge/src/runner-private-env.d.ts +2 -2
- package/dist/bridge/src/runtime.d.ts +11 -11
- package/dist/bridge/src/runtime.d.ts.map +1 -1
- package/dist/bridge/src/types.d.ts +158 -158
- package/dist/bridge/src/types.d.ts.map +1 -1
- package/dist/{chunk-2PBSAH3Z.js → chunk-2UUKCROR.js} +4 -4
- package/dist/{chunk-2PBSAH3Z.js.map → chunk-2UUKCROR.js.map} +1 -1
- package/dist/{chunk-WG6V4ISA.js → chunk-3IXIEHUB.js} +7 -7
- package/dist/{chunk-WG6V4ISA.js.map → chunk-3IXIEHUB.js.map} +1 -1
- package/dist/{chunk-JTOWA6RS.js → chunk-3JKGY2YC.js} +37 -42
- package/dist/chunk-3JKGY2YC.js.map +1 -0
- package/dist/{chunk-X5YPJV4N.js → chunk-3MWQKQUB.js} +2 -2
- package/dist/{chunk-X5YPJV4N.js.map → chunk-3MWQKQUB.js.map} +1 -1
- package/dist/{chunk-EPBKISS5.js → chunk-3TG2NV2F.js} +2 -2
- package/dist/chunk-3TG2NV2F.js.map +1 -0
- package/dist/{chunk-L2AMXONH.js → chunk-3X7VTCPG.js} +2 -2
- package/dist/chunk-3X7VTCPG.js.map +1 -0
- package/dist/{chunk-VJ7NU7GD.js → chunk-4DWBSTYA.js} +4 -4
- package/dist/chunk-4DWBSTYA.js.map +1 -0
- package/dist/{chunk-7SCS64BG.js → chunk-4XWLB7JB.js} +48 -48
- package/dist/chunk-4XWLB7JB.js.map +1 -0
- package/dist/{chunk-5TBFN46Z.js → chunk-5KRMNUL4.js} +4 -4
- package/dist/chunk-5KRMNUL4.js.map +1 -0
- package/dist/{chunk-YIF2IJUA.js → chunk-6GWSDPBP.js} +3 -3
- package/dist/{chunk-YIF2IJUA.js.map → chunk-6GWSDPBP.js.map} +1 -1
- package/dist/{chunk-MKRWN7XP.js → chunk-7CV3HFWJ.js} +5 -5
- package/dist/chunk-7CV3HFWJ.js.map +1 -0
- package/dist/{chunk-YROR332M.js → chunk-7DN6JKP2.js} +2 -2
- package/dist/chunk-7DN6JKP2.js.map +1 -0
- package/dist/{chunk-IZCR27MU.js → chunk-7EKQDY2T.js} +3 -3
- package/dist/chunk-7EKQDY2T.js.map +1 -0
- package/dist/{chunk-2LSDMJI2.js → chunk-7TPYPVAH.js} +4 -4
- package/dist/{chunk-2LSDMJI2.js.map → chunk-7TPYPVAH.js.map} +1 -1
- package/dist/{chunk-ICSCSM5D.js → chunk-ADPM6AYF.js} +3 -3
- package/dist/{chunk-ICSCSM5D.js.map → chunk-ADPM6AYF.js.map} +1 -1
- package/dist/{chunk-Y5MBW5EU.js → chunk-AF432MS3.js} +3 -3
- package/dist/{chunk-Y5MBW5EU.js.map → chunk-AF432MS3.js.map} +1 -1
- package/dist/{chunk-F6AA42GW.js → chunk-ARWKK325.js} +5 -5
- package/dist/{chunk-F6AA42GW.js.map → chunk-ARWKK325.js.map} +1 -1
- package/dist/{chunk-AJ7EGIFR.js → chunk-BIRW3HOG.js} +3 -3
- package/dist/chunk-BIRW3HOG.js.map +1 -0
- package/dist/{chunk-X4ZZTHU3.js → chunk-DHYSUJ3H.js} +4 -4
- package/dist/{chunk-X4ZZTHU3.js.map → chunk-DHYSUJ3H.js.map} +1 -1
- package/dist/{chunk-C7WBGSBV.js → chunk-DUMTLYSO.js} +10 -10
- package/dist/chunk-DUMTLYSO.js.map +1 -0
- package/dist/{chunk-XJVBUDDJ.js → chunk-E3GPGTW3.js} +8 -8
- package/dist/chunk-E3GPGTW3.js.map +1 -0
- package/dist/{chunk-335ENCCS.js → chunk-E572OHGY.js} +2 -2
- package/dist/{chunk-335ENCCS.js.map → chunk-E572OHGY.js.map} +1 -1
- package/dist/{chunk-CQJH4G2K.js → chunk-F2GOZMRA.js} +63 -64
- package/dist/chunk-F2GOZMRA.js.map +1 -0
- package/dist/{chunk-6E6PKKAD.js → chunk-G5SUWZEU.js} +18 -8
- package/dist/chunk-G5SUWZEU.js.map +1 -0
- package/dist/{chunk-2GXSSZAM.js → chunk-GEQSUC6U.js} +12 -12
- package/dist/chunk-GEQSUC6U.js.map +1 -0
- package/dist/{chunk-IP2IPMEH.js → chunk-GN4VVSAA.js} +18 -18
- package/dist/chunk-GN4VVSAA.js.map +1 -0
- package/dist/{chunk-W4Q6CKJ5.js → chunk-HK7HMEPT.js} +11 -11
- package/dist/chunk-HK7HMEPT.js.map +1 -0
- package/dist/{chunk-Y56YIT6J.js → chunk-JCPD4QRM.js} +4 -4
- package/dist/chunk-JCPD4QRM.js.map +1 -0
- package/dist/{chunk-VSZWNUZC.js → chunk-JDR6ILCW.js} +4 -4
- package/dist/chunk-JDR6ILCW.js.map +1 -0
- package/dist/{chunk-K4O6L3WH.js → chunk-KNY356I3.js} +3 -3
- package/dist/{chunk-K4O6L3WH.js.map → chunk-KNY356I3.js.map} +1 -1
- package/dist/{chunk-4ZTPYIBE.js → chunk-KW37WNXY.js} +12 -12
- package/dist/chunk-KW37WNXY.js.map +1 -0
- package/dist/{chunk-QG6GHTRM.js → chunk-KX2PT5Q4.js} +8 -8
- package/dist/chunk-KX2PT5Q4.js.map +1 -0
- package/dist/{chunk-N46LQR46.js → chunk-L4YKW5AY.js} +37 -26
- package/dist/chunk-L4YKW5AY.js.map +1 -0
- package/dist/{chunk-I7TWVK6N.js → chunk-LN6QB7XI.js} +3 -3
- package/dist/{chunk-I7TWVK6N.js.map → chunk-LN6QB7XI.js.map} +1 -1
- package/dist/{chunk-MJHSLODD.js → chunk-LSI2IVFT.js} +2 -2
- package/dist/chunk-LSI2IVFT.js.map +1 -0
- package/dist/{chunk-VIM3PWZM.js → chunk-MCUJTNY5.js} +3 -3
- package/dist/{chunk-VIM3PWZM.js.map → chunk-MCUJTNY5.js.map} +1 -1
- package/dist/{chunk-EAZECHPM.js → chunk-NBAGV6L2.js} +5 -5
- package/dist/chunk-NBAGV6L2.js.map +1 -0
- package/dist/{chunk-ZQSOJH6I.js → chunk-NMI2TWMH.js} +21 -11
- package/dist/chunk-NMI2TWMH.js.map +1 -0
- package/dist/{chunk-MRHVPQNO.js → chunk-OAHVKSQJ.js} +112 -119
- package/dist/chunk-OAHVKSQJ.js.map +1 -0
- package/dist/{chunk-V257LUBM.js → chunk-OHNKYHRR.js} +40 -13
- package/dist/chunk-OHNKYHRR.js.map +1 -0
- package/dist/{chunk-TIIXG3PN.js → chunk-OTIB4D2K.js} +3 -3
- package/dist/{chunk-TIIXG3PN.js.map → chunk-OTIB4D2K.js.map} +1 -1
- package/dist/{chunk-WST6UITC.js → chunk-OULSJRXV.js} +17 -17
- package/dist/chunk-OULSJRXV.js.map +1 -0
- package/dist/{chunk-I37INEWE.js → chunk-QOM5Z62G.js} +3 -3
- package/dist/{chunk-I37INEWE.js.map → chunk-QOM5Z62G.js.map} +1 -1
- package/dist/{chunk-HT35SQZD.js → chunk-SNEE6UGY.js} +28 -28
- package/dist/chunk-SNEE6UGY.js.map +1 -0
- package/dist/{chunk-R4I3VBSS.js → chunk-SRODW6M2.js} +4 -4
- package/dist/{chunk-R4I3VBSS.js.map → chunk-SRODW6M2.js.map} +1 -1
- package/dist/{chunk-IF6IA3PZ.js → chunk-SZXGRHQQ.js} +3 -3
- package/dist/{chunk-IF6IA3PZ.js.map → chunk-SZXGRHQQ.js.map} +1 -1
- package/dist/{chunk-J24CY3PF.js → chunk-T2BDID2J.js} +37 -37
- package/dist/chunk-T2BDID2J.js.map +1 -0
- package/dist/{chunk-WOIRYY5L.js → chunk-TKHJXPSB.js} +11 -11
- package/dist/{chunk-WOIRYY5L.js.map → chunk-TKHJXPSB.js.map} +1 -1
- package/dist/{chunk-PYJS5K7V.js → chunk-U56GGCC2.js} +3 -3
- package/dist/{chunk-PYJS5K7V.js.map → chunk-U56GGCC2.js.map} +1 -1
- package/dist/{chunk-XM6T2AZ2.js → chunk-UL22SDGR.js} +6 -6
- package/dist/{chunk-XM6T2AZ2.js.map → chunk-UL22SDGR.js.map} +1 -1
- package/dist/{chunk-XWOPZW26.js → chunk-UVVVR4XO.js} +38 -38
- package/dist/chunk-UVVVR4XO.js.map +1 -0
- package/dist/{chunk-A6SMCEEE.js → chunk-VBI7HGHB.js} +11 -11
- package/dist/{chunk-A6SMCEEE.js.map → chunk-VBI7HGHB.js.map} +1 -1
- package/dist/{chunk-7NT4F6SR.js → chunk-VJRTDKXS.js} +462 -446
- package/dist/chunk-VJRTDKXS.js.map +1 -0
- package/dist/{chunk-IG5LZ3WU.js → chunk-VTETQCR6.js} +10 -10
- package/dist/chunk-VTETQCR6.js.map +1 -0
- package/dist/{chunk-EFLKSMCO.js → chunk-VUJXZDCY.js} +5 -5
- package/dist/{chunk-EFLKSMCO.js.map → chunk-VUJXZDCY.js.map} +1 -1
- package/dist/{chunk-25ZVWL2R.js → chunk-VXEYX73S.js} +4 -4
- package/dist/{chunk-25ZVWL2R.js.map → chunk-VXEYX73S.js.map} +1 -1
- package/dist/{chunk-M3WPBTGJ.js → chunk-WD3L5QSU.js} +2 -2
- package/dist/{chunk-M3WPBTGJ.js.map → chunk-WD3L5QSU.js.map} +1 -1
- package/dist/{chunk-COJIL7G4.js → chunk-WDAIWDLK.js} +7 -7
- package/dist/chunk-WDAIWDLK.js.map +1 -0
- package/dist/{chunk-FPHNJE4M.js → chunk-WEH33JSG.js} +14 -14
- package/dist/chunk-WEH33JSG.js.map +1 -0
- package/dist/{chunk-RO6VOM6Z.js → chunk-WYHQUCHR.js} +13 -13
- package/dist/{chunk-RO6VOM6Z.js.map → chunk-WYHQUCHR.js.map} +1 -1
- package/dist/{chunk-R6O6YWU7.js → chunk-WYZXSJBK.js} +3 -3
- package/dist/{chunk-R6O6YWU7.js.map → chunk-WYZXSJBK.js.map} +1 -1
- package/dist/{chunk-RPZVHXQ3.js → chunk-XFIEVEU7.js} +4 -4
- package/dist/chunk-XFIEVEU7.js.map +1 -0
- package/dist/{chunk-Q6E6FM7P.js → chunk-XKNXPLKR.js} +6 -6
- package/dist/{chunk-Q6E6FM7P.js.map → chunk-XKNXPLKR.js.map} +1 -1
- package/dist/{chunk-HU5HVKY7.js → chunk-Y2TO2U7W.js} +4 -4
- package/dist/{chunk-HU5HVKY7.js.map → chunk-Y2TO2U7W.js.map} +1 -1
- package/dist/{chunk-ZX4KRWRB.js → chunk-YGRZNFRO.js} +4 -4
- package/dist/{chunk-ZX4KRWRB.js.map → chunk-YGRZNFRO.js.map} +1 -1
- package/dist/{chunk-5BEFNLOR.js → chunk-Z7ZEZZB6.js} +8 -8
- package/dist/chunk-Z7ZEZZB6.js.map +1 -0
- package/dist/{chunk-PHRNUTSG.js → chunk-ZFUZ5AKM.js} +4 -4
- package/dist/{chunk-PHRNUTSG.js.map → chunk-ZFUZ5AKM.js.map} +1 -1
- package/dist/claude-code-VJGYBXQR.js +10 -0
- package/dist/{claude-code-2PU7TITZ.js.map → claude-code-VJGYBXQR.js.map} +1 -1
- package/dist/cli/index.js +471 -308
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/catalog.d.ts +3 -3
- package/dist/cli/src/commands/complete-resolvers.d.ts.map +1 -1
- package/dist/cli/src/commands/config.d.ts +2 -2
- package/dist/cli/src/commands/config.d.ts.map +1 -1
- package/dist/cli/src/commands/integration.d.ts +1 -1
- package/dist/cli/src/commands/integration.d.ts.map +1 -1
- package/dist/cli/src/commands/migrate-files.d.ts +14 -0
- package/dist/cli/src/commands/migrate-files.d.ts.map +1 -1
- package/dist/cli/src/commands/migrate-harness.d.ts +49 -0
- package/dist/cli/src/commands/migrate-harness.d.ts.map +1 -0
- package/dist/cli/src/commands/migrate.d.ts +4 -2
- package/dist/cli/src/commands/migrate.d.ts.map +1 -1
- package/dist/cli/src/commands/plugin/types.d.ts +1 -6
- package/dist/cli/src/commands/plugin/types.d.ts.map +1 -1
- package/dist/cli/src/commands/plugin-registry-cmd.d.ts +1 -1
- package/dist/cli/src/commands/preset-export.d.ts +1 -1
- package/dist/cli/src/commands/project.d.ts +1 -1
- package/dist/cli/src/commands/run.d.ts +2 -2
- package/dist/cli/src/commands/run.d.ts.map +1 -1
- package/dist/cli/src/commands/serve-preflight.d.ts +11 -11
- package/dist/cli/src/commands/serve-preflight.d.ts.map +1 -1
- package/dist/cli/src/commands/serve.d.ts +1 -1
- package/dist/cli/src/commands/serve.d.ts.map +1 -1
- package/dist/cli/src/commands/validate.d.ts.map +1 -1
- package/dist/cli/src/harness-error.d.ts +47 -0
- package/dist/cli/src/harness-error.d.ts.map +1 -0
- package/dist/cli/src/helpers.d.ts +5 -5
- package/dist/cli/src/helpers.d.ts.map +1 -1
- package/dist/cli/src/plugin-store/index.d.ts +2 -2
- package/dist/cli/src/setup.d.ts +3 -3
- package/dist/cli/src/setup.d.ts.map +1 -1
- package/dist/connectors/config.js +3 -3
- package/dist/connectors/index.js +27 -27
- package/dist/connectors/src/connector-prompt.d.ts +5 -5
- package/dist/connectors/src/connector-registry.d.ts +1 -1
- package/dist/connectors-CXZLXAFZ.js +48 -0
- package/dist/{connectors-RBGZ3M7G.js.map → connectors-CXZLXAFZ.js.map} +1 -1
- package/dist/connectors-shared/index.js +2 -2
- package/dist/core/framework.js +1 -1
- package/dist/{bridge/drivers/codex.d.ts → core/harness-targets.d.ts} +1 -1
- package/dist/core/harness-targets.js +4 -0
- package/dist/core/harness-targets.js.map +1 -0
- package/dist/core/index.js +8 -8
- package/dist/core/provider-registry-credentials.js +2 -2
- package/dist/core/provider-registry.js +1 -1
- package/dist/core/runtime-assets.js +3 -3
- package/dist/core/src/asset-roots.d.ts +2 -2
- package/dist/core/src/framework.d.ts +21 -21
- package/dist/core/src/framework.d.ts.map +1 -1
- package/dist/core/src/{driver-sdk.d.ts → harness-sdk.d.ts} +9 -9
- package/dist/core/src/harness-sdk.d.ts.map +1 -0
- package/dist/core/src/harness-targets.d.ts +71 -0
- package/dist/core/src/harness-targets.d.ts.map +1 -0
- package/dist/core/src/index.d.ts +8 -8
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/provider-registry.d.ts +2 -2
- package/dist/core/src/settings.d.ts +17 -16
- package/dist/core/src/settings.d.ts.map +1 -1
- package/dist/core/src/store.d.ts +12 -12
- package/dist/core/src/store.d.ts.map +1 -1
- package/dist/core/src/workspace-config.d.ts +31 -21
- package/dist/core/src/workspace-config.d.ts.map +1 -1
- package/dist/core/src/workspace-yaml-editor.d.ts +1 -1
- package/dist/core/src/workspace-yaml-editor.d.ts.map +1 -1
- package/dist/core/store.js +2 -2
- package/dist/core/workspace-config.js +2 -2
- package/dist/deploy/index.js +9 -9
- package/dist/discovery/index.js +2 -2
- package/dist/{ensure-sources-GKVLE6L5.js → ensure-sources-UPTHZKGF.js} +17 -17
- package/dist/{ensure-sources-GKVLE6L5.js.map → ensure-sources-UPTHZKGF.js.map} +1 -1
- package/dist/factory-assets/connectors/box.js +27 -27
- package/dist/factory-assets/connectors/deploy.js +27 -27
- package/dist/factory-assets/connectors/devserver.js +27 -27
- package/dist/factory-assets/connectors/flow/CONNECTOR.md +5 -5
- package/dist/factory-assets/connectors/flow/adapter.d.ts +3 -3
- package/dist/factory-assets/connectors/flow/adapter.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/adapter.js +27 -27
- package/dist/factory-assets/connectors/flow/engine/types.d.ts +1 -1
- package/dist/factory-assets/connectors/flow/engine.js +9 -9
- package/dist/factory-assets/connectors/flow/inline-sub-flow-host.d.ts +2 -2
- package/dist/factory-assets/connectors/flow/inline-sub-flow-host.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/orchestrator-turn.d.ts +4 -4
- package/dist/factory-assets/connectors/flow/orchestrator-turn.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/prompt-fragments.d.ts +1 -1
- package/dist/factory-assets/connectors/flow/prompt-fragments.js +1 -1
- package/dist/factory-assets/connectors/flow/run-flow.d.ts +12 -12
- package/dist/factory-assets/connectors/flow/run-flow.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/run-flow.js +28 -28
- package/dist/factory-assets/connectors/flow/sub-flow-runner.d.ts +1 -1
- package/dist/factory-assets/connectors/flow/sub-flow-runner.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/subprompt-runner.d.ts +22 -22
- package/dist/factory-assets/connectors/flow/subprompt-runner.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow.js +27 -27
- package/dist/factory-assets/connectors/git.js +27 -27
- package/dist/factory-assets/connectors/gmail.js +27 -27
- package/dist/factory-assets/connectors/googledrive.js +27 -27
- package/dist/factory-assets/connectors/local.js +27 -27
- package/dist/factory-assets/connectors/mattermost.js +27 -27
- package/dist/factory-assets/connectors/memory.js +27 -27
- package/dist/factory-assets/connectors/minio.js +27 -27
- package/dist/factory-assets/connectors/postgres.js +27 -27
- package/dist/factory-assets/connectors/s3.js +27 -27
- package/dist/factory-assets/connectors/sharepoint.js +27 -27
- package/dist/factory-assets/connectors/sqlite.js +27 -27
- package/dist/factory-assets/connectors/static-server.js +27 -27
- package/dist/factory-assets/connectors/tunnel.js +27 -27
- package/dist/factory-assets/connectors/webdav.js +27 -27
- package/dist/factory-assets/connectors/xstate-store.js +27 -27
- package/dist/factory-assets/connectors/xstate.js +27 -27
- package/dist/factory-assets/skills/skaile-manage-workspace/SKILL.md +1 -1
- package/dist/{flows-W2FB7WIM.js → flows-TJQIMGUX.js} +13 -13
- package/dist/{flows-W2FB7WIM.js.map → flows-TJQIMGUX.js.map} +1 -1
- package/dist/{helpers-34QNVIGB.js → helpers-DE53KG3E.js} +17 -17
- package/dist/{helpers-34QNVIGB.js.map → helpers-DE53KG3E.js.map} +1 -1
- package/dist/library/index.js +11 -11
- package/dist/{library-publish-RUQTKTJU.js → library-publish-KKQ2ULLX.js} +55 -55
- package/dist/{library-publish-RUQTKTJU.js.map → library-publish-KKQ2ULLX.js.map} +1 -1
- package/dist/model-endpoint/index.js +12 -12
- package/dist/model-endpoint/src/resolve.d.ts +1 -1
- package/dist/{open-library-PVTIUQUF.js → open-library-RJGJIW5H.js} +20 -20
- package/dist/{open-library-PVTIUQUF.js.map → open-library-RJGJIW5H.js.map} +1 -1
- package/dist/open-registry-3QS3J7KO.js +32 -0
- package/dist/{open-registry-SOIS3TA2.js.map → open-registry-3QS3J7KO.js.map} +1 -1
- package/dist/paths-QAV4C3KX.js +22 -0
- package/dist/{paths-JLNX7Y4X.js.map → paths-QAV4C3KX.js.map} +1 -1
- package/dist/plugin-registry/index.js +1 -1
- package/dist/plugin-registry/src/context.d.ts +3 -3
- package/dist/plugin-registry/src/context.d.ts.map +1 -1
- package/dist/plugin-registry/src/deploy-handle.d.ts +1 -1
- package/dist/plugin-registry/src/index.d.ts +2 -2
- package/dist/plugin-registry/src/index.d.ts.map +1 -1
- package/dist/plugin-registry/src/internal.d.ts.map +1 -1
- package/dist/plugin-registry/src/registry.d.ts +3 -3
- package/dist/plugin-registry/src/registry.d.ts.map +1 -1
- package/dist/plugin-registry/src/targets.d.ts +9 -9
- package/dist/plugin-registry/src/targets.d.ts.map +1 -1
- package/dist/{plugin-store-G2GWAHSD.js → plugin-store-MSH6GK6T.js} +12 -12
- package/dist/{plugin-store-G2GWAHSD.js.map → plugin-store-MSH6GK6T.js.map} +1 -1
- package/dist/plugins/src/asset-kind-provider.d.ts +1 -1
- package/dist/project-HZW2MZPA.js +84 -0
- package/dist/{project-EX47PUBN.js.map → project-HZW2MZPA.js.map} +1 -1
- package/dist/resolver/index.js +8 -8
- package/dist/runner/index.js +42 -42
- package/dist/runner/src/agent.d.ts +3 -3
- package/dist/runner/src/agent.d.ts.map +1 -1
- package/dist/runner/src/agents/in-process-host.d.ts +1 -1
- package/dist/runner/src/agents/instances.d.ts +1 -1
- package/dist/runner/src/agents/instances.d.ts.map +1 -1
- package/dist/runner/src/agents/run-controller.d.ts +7 -7
- package/dist/runner/src/agents/run-controller.d.ts.map +1 -1
- package/dist/runner/src/agents/standalone-surface.d.ts +2 -2
- package/dist/runner/src/agents/standalone-surface.d.ts.map +1 -1
- package/dist/runner/src/ai-provider-switch.d.ts +7 -7
- package/dist/runner/src/assistant-home.d.ts +1 -1
- package/dist/runner/src/capability-registry.d.ts +2 -2
- package/dist/runner/src/coalesced-restart.d.ts +2 -2
- package/dist/runner/src/compaction/context-window.d.ts +8 -8
- package/dist/runner/src/compaction/context-window.d.ts.map +1 -1
- package/dist/runner/src/compaction/orchestrator.d.ts +24 -24
- package/dist/runner/src/compaction/orchestrator.d.ts.map +1 -1
- package/dist/runner/src/compaction-gate.d.ts +30 -30
- package/dist/runner/src/compaction-gate.d.ts.map +1 -1
- package/dist/runner/src/composition/dry-run.d.ts +2 -2
- package/dist/runner/src/composition/dry-run.d.ts.map +1 -1
- package/dist/runner/src/composition/resolve-instance.d.ts +2 -2
- package/dist/runner/src/composition/resolve.d.ts +1 -1
- package/dist/runner/src/config.d.ts +3 -3
- package/dist/runner/src/config.d.ts.map +1 -1
- package/dist/runner/src/context-usage/collector.d.ts +15 -15
- package/dist/runner/src/context-usage/collector.d.ts.map +1 -1
- package/dist/runner/src/context-usage/compose.d.ts +6 -6
- package/dist/runner/src/context-usage/compose.d.ts.map +1 -1
- package/dist/runner/src/context-usage/estimator.d.ts +1 -1
- package/dist/runner/src/context-usage/index.d.ts +1 -1
- package/dist/runner/src/context-usage/index.d.ts.map +1 -1
- package/dist/runner/src/context-usage/transcript-tracker.d.ts +2 -2
- package/dist/runner/src/context-usage/transcript-tracker.d.ts.map +1 -1
- package/dist/runner/src/credential-notice.d.ts +3 -3
- package/dist/runner/src/credential-notice.d.ts.map +1 -1
- package/dist/runner/src/credential-rotated.d.ts +1 -1
- package/dist/runner/src/final-text.d.ts +1 -1
- package/dist/runner/src/{driver-swap-gate.d.ts → harness-swap-gate.d.ts} +21 -21
- package/dist/runner/src/harness-swap-gate.d.ts.map +1 -0
- package/dist/runner/src/late-mcp-rebuild.d.ts +6 -6
- package/dist/runner/src/late-mcp-rebuild.d.ts.map +1 -1
- package/dist/runner/src/lifecycle-handler.d.ts +1 -1
- package/dist/runner/src/lifecycle-handler.d.ts.map +1 -1
- package/dist/runner/src/manifest.d.ts +1 -1
- package/dist/runner/src/mcp-runtime-handlers.d.ts +6 -6
- package/dist/runner/src/mcp-runtime-handlers.d.ts.map +1 -1
- package/dist/runner/src/model-endpoint-discovery.d.ts +1 -1
- package/dist/runner/src/pending-turns.d.ts +3 -3
- package/dist/runner/src/platform-blocks.d.ts +5 -5
- package/dist/runner/src/platform-blocks.d.ts.map +1 -1
- package/dist/runner/src/prompt-turn-queue.d.ts +1 -1
- package/dist/runner/src/provider-quota-forwarder.d.ts +1 -1
- package/dist/runner/src/provider-quota-forwarder.d.ts.map +1 -1
- package/dist/runner/src/reconfigure-handler.d.ts +14 -14
- package/dist/runner/src/reconfigure-handler.d.ts.map +1 -1
- package/dist/runner/src/resource-handler.d.ts +1 -1
- package/dist/runner/src/resources.d.ts +5 -5
- package/dist/runner/src/resources.d.ts.map +1 -1
- package/dist/runner/src/runner-capabilities.d.ts +7 -7
- package/dist/runner/src/runtime-session-emit.d.ts +5 -5
- package/dist/runner/src/runtime-session-emit.d.ts.map +1 -1
- package/dist/runner/src/s3-presign-client.d.ts +1 -1
- package/dist/runner/src/serve-credentials.d.ts +7 -7
- package/dist/runner/src/serve-credentials.d.ts.map +1 -1
- package/dist/runner/src/serve.d.ts +32 -32
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/runner/src/session-builder.d.ts +41 -41
- package/dist/runner/src/session-builder.d.ts.map +1 -1
- package/dist/runner/src/session-capability-wiring.d.ts +9 -9
- package/dist/runner/src/session-capability-wiring.d.ts.map +1 -1
- package/dist/runner/src/session-stimulus.d.ts +1 -1
- package/dist/runner/src/session.d.ts +5 -5
- package/dist/runner/src/session.d.ts.map +1 -1
- package/dist/runner/src/skill-staging.d.ts +16 -16
- package/dist/runner/src/skill-staging.d.ts.map +1 -1
- package/dist/runner/src/turn-end-contract.d.ts +5 -5
- package/dist/runner/src/turn-end-contract.d.ts.map +1 -1
- package/dist/runner/src/turn-scheduler.d.ts +22 -22
- package/dist/runner/src/turn-scheduler.d.ts.map +1 -1
- package/dist/runner/src/turn-status-replay.d.ts +1 -1
- package/dist/runner/src/usage-limit-turn-hold.d.ts +1 -1
- package/dist/sdk/asset-manager.js +14 -14
- package/dist/sdk/bridge.js +22 -22
- package/dist/sdk/core.js +8 -8
- package/dist/sdk/flow.js +9 -9
- package/dist/sdk/index.js +46 -46
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/resolver.js +8 -8
- package/dist/sdk/runner.js +42 -42
- package/dist/sdk/session.js +2 -2
- package/dist/sdk/src/agent-session.d.ts +1 -1
- package/dist/sdk/src/local-runtime.d.ts +1 -1
- package/dist/sdk/src/local-runtime.d.ts.map +1 -1
- package/dist/sdk/src/types.d.ts +1 -1
- package/dist/sdk/src/types.d.ts.map +1 -1
- package/dist/sdk/store.js +2 -2
- package/dist/sdk/transport/ws/server.js +9 -9
- package/dist/sdk/transport/ws.js +9 -9
- package/dist/sdk/transport.js +9 -9
- package/dist/sdk/types.js +1 -1
- package/dist/{serve-preflight-QXRKGOI5.js → serve-preflight-L4POEHNQ.js} +42 -42
- package/dist/serve-preflight-L4POEHNQ.js.map +1 -0
- package/dist/session/index.js +2 -2
- package/dist/session/src/dispatcher.d.ts +2 -2
- package/dist/sessions-2Q7SSYPT.js +5 -0
- package/dist/{sessions-DICDEONJ.js.map → sessions-2Q7SSYPT.js.map} +1 -1
- package/dist/{setup-AFZQNGKA.js → setup-AGYB4PKR.js} +47 -47
- package/dist/setup-AGYB4PKR.js.map +1 -0
- package/dist/{skills-YYYC6D5X.js → skills-2LMQ2IAD.js} +12 -12
- package/dist/{skills-YYYC6D5X.js.map → skills-2LMQ2IAD.js.map} +1 -1
- package/dist/source-GBMYD3RO.js +85 -0
- package/dist/{source-DGPCT5IC.js.map → source-GBMYD3RO.js.map} +1 -1
- package/dist/{source-manifest-publish-AGJ63JF2.js → source-manifest-publish-FK22TVQT.js} +54 -54
- package/dist/{source-manifest-publish-AGJ63JF2.js.map → source-manifest-publish-FK22TVQT.js.map} +1 -1
- package/dist/store/index.js +2 -2
- package/dist/store/src/store.d.ts +3 -3
- package/dist/store/src/store.d.ts.map +1 -1
- package/dist/transport/index.js +9 -9
- package/dist/transport/ws/server.js +9 -9
- package/dist/transport/ws.js +9 -9
- package/dist/tui/index.js +62 -62
- package/dist/tui/index.js.map +1 -1
- package/dist/tui/src/repl-session.d.ts +5 -5
- package/dist/tui/src/repl.d.ts +5 -5
- package/dist/tui/src/repl.d.ts.map +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/manifests.js +1 -1
- package/dist/types/src/agent-lifecycle.d.ts +1 -1
- package/dist/types/src/agent-lifecycle.d.ts.map +1 -1
- package/dist/types/src/ask-slots.d.ts +1 -1
- package/dist/types/src/capabilities.d.ts +1 -1
- package/dist/types/src/context-usage.d.ts +22 -22
- package/dist/types/src/context-usage.d.ts.map +1 -1
- package/dist/types/src/events.d.ts +49 -49
- package/dist/types/src/events.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +2 -2
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/lifecycle.d.ts +6 -6
- package/dist/types/src/lifecycle.d.ts.map +1 -1
- package/dist/types/src/logging.d.ts +1 -1
- package/dist/types/src/manifests/agent.d.ts +3 -3
- package/dist/types/src/protocol.d.ts +4 -4
- package/dist/types/src/runtime.d.ts +38 -38
- package/dist/types/src/runtime.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +22 -11
- package/dist/types/src/version.d.ts.map +1 -1
- package/dist/validator-DRHMJ457.js +5 -0
- package/dist/{validator-FA2PFW6N.js.map → validator-DRHMJ457.js.map} +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +34 -34
- package/dist/workspace-plugin/adapters/omp.js +26 -26
- package/dist/workspace-plugin/adapters/omp.js.map +1 -1
- package/dist/workspace-plugin/index.js +3 -3
- package/dist/workspace-plugin/src/plugin.d.ts +5 -5
- package/dist/workspace-plugin/src/plugin.d.ts.map +1 -1
- package/dist/workspace-plugin/src/tools/flows.d.ts +1 -1
- package/dist/workspace-plugin/src/tools/validator.d.ts +6 -6
- package/dist/workspace-plugin/src/tools/validator.d.ts.map +1 -1
- package/dist/workspace-plugin/src/types.d.ts +2 -2
- package/dist/workspace-plugin/src/types.d.ts.map +1 -1
- package/package.json +59 -59
- package/dist/bridge/drivers/claude-sdk.js.map +0 -1
- package/dist/bridge/drivers/codex.js.map +0 -1
- package/dist/bridge/drivers/continue.js.map +0 -1
- package/dist/bridge/drivers/echo.js.map +0 -1
- package/dist/bridge/drivers/gemini.js +0 -18
- package/dist/bridge/drivers/goose.js.map +0 -1
- package/dist/bridge/drivers/omp.js.map +0 -1
- package/dist/bridge/drivers/opencode.js.map +0 -1
- package/dist/bridge/drivers/qwen.js.map +0 -1
- package/dist/bridge/src/codex/managed-driver.d.ts.map +0 -1
- package/dist/bridge/src/driver-capabilities.d.ts.map +0 -1
- package/dist/bridge/src/driver-model-check.d.ts.map +0 -1
- package/dist/bridge/src/drivers/_subprocess-cli.d.ts.map +0 -1
- package/dist/bridge/src/drivers/claude-context-usage.d.ts.map +0 -1
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +0 -1
- package/dist/bridge/src/drivers/claude-self-turns.d.ts.map +0 -1
- package/dist/bridge/src/drivers/claude-tool-allowlist.d.ts.map +0 -1
- package/dist/bridge/src/drivers/codex.d.ts.map +0 -1
- package/dist/bridge/src/drivers/continue.d.ts.map +0 -1
- package/dist/bridge/src/drivers/echo.d.ts.map +0 -1
- package/dist/bridge/src/drivers/flow-script.d.ts.map +0 -1
- package/dist/bridge/src/drivers/gemini.d.ts.map +0 -1
- package/dist/bridge/src/drivers/goose.d.ts.map +0 -1
- package/dist/bridge/src/drivers/omp-models-yml.d.ts.map +0 -1
- package/dist/bridge/src/drivers/omp.d.ts.map +0 -1
- package/dist/bridge/src/drivers/opencode.d.ts.map +0 -1
- package/dist/bridge/src/drivers/qwen.d.ts.map +0 -1
- package/dist/bridge/src/drivers/recovery-policy.d.ts.map +0 -1
- package/dist/bridge/src/drivers/resume-probe.d.ts.map +0 -1
- package/dist/bridge/src/drivers/sanitize-assistant-text.d.ts.map +0 -1
- package/dist/bridge/src/drivers/scrub-transcript.d.ts.map +0 -1
- package/dist/bridge/src/provider-materialize/env-drivers.d.ts.map +0 -1
- package/dist/chunk-2GXSSZAM.js.map +0 -1
- package/dist/chunk-4ZTPYIBE.js.map +0 -1
- package/dist/chunk-5BEFNLOR.js.map +0 -1
- package/dist/chunk-5TBFN46Z.js.map +0 -1
- package/dist/chunk-6E6PKKAD.js.map +0 -1
- package/dist/chunk-7NT4F6SR.js.map +0 -1
- package/dist/chunk-7SCS64BG.js.map +0 -1
- package/dist/chunk-AJ7EGIFR.js.map +0 -1
- package/dist/chunk-C7WBGSBV.js.map +0 -1
- package/dist/chunk-COJIL7G4.js.map +0 -1
- package/dist/chunk-CQJH4G2K.js.map +0 -1
- package/dist/chunk-EAZECHPM.js.map +0 -1
- package/dist/chunk-EPBKISS5.js.map +0 -1
- package/dist/chunk-FPHNJE4M.js.map +0 -1
- package/dist/chunk-HT35SQZD.js.map +0 -1
- package/dist/chunk-IG5LZ3WU.js.map +0 -1
- package/dist/chunk-IP2IPMEH.js.map +0 -1
- package/dist/chunk-IZCR27MU.js.map +0 -1
- package/dist/chunk-J24CY3PF.js.map +0 -1
- package/dist/chunk-JTOWA6RS.js.map +0 -1
- package/dist/chunk-L2AMXONH.js.map +0 -1
- package/dist/chunk-MJHSLODD.js.map +0 -1
- package/dist/chunk-MKRWN7XP.js.map +0 -1
- package/dist/chunk-MRHVPQNO.js.map +0 -1
- package/dist/chunk-N46LQR46.js.map +0 -1
- package/dist/chunk-QG6GHTRM.js.map +0 -1
- package/dist/chunk-RPZVHXQ3.js.map +0 -1
- package/dist/chunk-V257LUBM.js.map +0 -1
- package/dist/chunk-VJ7NU7GD.js.map +0 -1
- package/dist/chunk-VSZWNUZC.js.map +0 -1
- package/dist/chunk-W4Q6CKJ5.js.map +0 -1
- package/dist/chunk-WST6UITC.js.map +0 -1
- package/dist/chunk-XJVBUDDJ.js.map +0 -1
- package/dist/chunk-XWOPZW26.js.map +0 -1
- package/dist/chunk-Y56YIT6J.js.map +0 -1
- package/dist/chunk-YROR332M.js.map +0 -1
- package/dist/chunk-ZQSOJH6I.js.map +0 -1
- package/dist/claude-code-2PU7TITZ.js +0 -10
- package/dist/cli/src/driver-error.d.ts +0 -28
- package/dist/cli/src/driver-error.d.ts.map +0 -1
- package/dist/connectors-RBGZ3M7G.js +0 -48
- package/dist/core/driver-targets.d.ts +0 -2
- package/dist/core/driver-targets.js +0 -4
- package/dist/core/driver-targets.js.map +0 -1
- package/dist/core/src/driver-sdk.d.ts.map +0 -1
- package/dist/core/src/driver-targets.d.ts +0 -71
- package/dist/core/src/driver-targets.d.ts.map +0 -1
- package/dist/open-registry-SOIS3TA2.js +0 -32
- package/dist/paths-JLNX7Y4X.js +0 -22
- package/dist/project-EX47PUBN.js +0 -84
- package/dist/runner/src/driver-swap-gate.d.ts.map +0 -1
- package/dist/serve-preflight-QXRKGOI5.js.map +0 -1
- package/dist/sessions-DICDEONJ.js +0 -5
- package/dist/setup-AFZQNGKA.js.map +0 -1
- package/dist/source-DGPCT5IC.js +0 -85
- package/dist/validator-FA2PFW6N.js +0 -5
- /package/dist/bridge/{drivers → harnesses}/gemini.js.map +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { unregisteredLibraryNames, renamedLibraryName, resolveConfig, RemoteCatalogSource, OfflineError, describeCatalogError, CatalogHttpError, scanUnlistedAssets, missingRootAssets, storeManifestFile, missingLibraryDirMessage, filesEntryPaths } from './chunk-
|
|
2
|
-
import { SEMVER_RE, invalidSemverMessage, flowFileNameError, readManifestSourceConfig, discoverAssetsInTree, isManifestMode } from './chunk-
|
|
1
|
+
import { unregisteredLibraryNames, renamedLibraryName, resolveConfig, RemoteCatalogSource, OfflineError, describeCatalogError, CatalogHttpError, scanUnlistedAssets, missingRootAssets, storeManifestFile, missingLibraryDirMessage, filesEntryPaths } from './chunk-UL22SDGR.js';
|
|
2
|
+
import { SEMVER_RE, invalidSemverMessage, flowFileNameError, readManifestSourceConfig, discoverAssetsInTree, isManifestMode } from './chunk-QOM5Z62G.js';
|
|
3
3
|
import { parseFlowDefinition } from './chunk-X3RMRJNR.js';
|
|
4
|
-
import { installTargetOf, readKeptLegacyCopies, writeKeptLegacyCopies, canonicalEntryRef, diffDeployedAgent, deployedAssetDrift, assertNoLibrarySymlinks, deployAll, removeAsset, createScaffold, installAgent } from './chunk-
|
|
4
|
+
import { installTargetOf, readKeptLegacyCopies, writeKeptLegacyCopies, canonicalEntryRef, diffDeployedAgent, deployedAssetDrift, assertNoLibrarySymlinks, deployAll, removeAsset, createScaffold, installAgent } from './chunk-3JKGY2YC.js';
|
|
5
5
|
import { appendHistory, getRecentHistory, clearHistory } from './chunk-KTBKW2FI.js';
|
|
6
6
|
import { commitChanges } from './chunk-UQ6LFBPZ.js';
|
|
7
|
-
import {
|
|
8
|
-
import { isScaffoldBody, isScaffoldDescription } from './chunk-
|
|
9
|
-
import {
|
|
10
|
-
import { resolveRuntimeAssets, factoryAssetRoots } from './chunk-
|
|
11
|
-
import { deployedBase, isDeployed, deployedPaths, deployedDir } from './chunk-
|
|
12
|
-
import { resolveSkWorkspaceConfig, effectiveAgentInstances, loadMcpServerDeclarations, resolveGlobalHarnesses, resolveGlobalSkWorkspaceConfig, getGlobalCacheDir, sourceCacheKey, getRepoCommit, matchPin, buildProvenanceIndex, coerceVersion, sourceShortName, readLinks, isCommitOnRemote, resolveAll, agentSourceCacheDir, ensureRepo, scanRepo, SKAILE_YAML_DEFAULT, checkRepoStatus, resolveAgentDefinitionDir, resolveAsset, MAX_PRESET_DEPTH, PresetDepthError, DEFAULT_AGENT_INSTANCE_ID } from './chunk-
|
|
7
|
+
import { harnessTargetSupportsAgents, CODEX_IDENTITY_DIR } from './chunk-DUMTLYSO.js';
|
|
8
|
+
import { isScaffoldBody, isScaffoldDescription } from './chunk-E572OHGY.js';
|
|
9
|
+
import { resolveConfiguredHarnessName, GLOBAL_INSTALL_DIR_NAME, resolveLibraryDir, buildLibraryLockEntries, writeLock, computeHash, buildLockFile, readLock, assertLockHashes, verifyLock, mergeLockFile, resyncLockSources, extractForPatch, generatePatch, savePatch, applyPatch, LOCK_SCHEMA_VERSION } from './chunk-L4YKW5AY.js';
|
|
10
|
+
import { resolveRuntimeAssets, factoryAssetRoots } from './chunk-OTIB4D2K.js';
|
|
11
|
+
import { deployedBase, isDeployed, deployedPaths, deployedDir } from './chunk-5KRMNUL4.js';
|
|
12
|
+
import { resolveSkWorkspaceConfig, effectiveAgentInstances, loadMcpServerDeclarations, resolveGlobalHarnesses, resolveGlobalSkWorkspaceConfig, getGlobalCacheDir, sourceCacheKey, getRepoCommit, matchPin, buildProvenanceIndex, coerceVersion, sourceShortName, readLinks, isCommitOnRemote, resolveAll, agentSourceCacheDir, ensureRepo, scanRepo, SKAILE_YAML_DEFAULT, checkRepoStatus, resolveAgentDefinitionDir, resolveAsset, MAX_PRESET_DEPTH, PresetDepthError, DEFAULT_AGENT_INSTANCE_ID } from './chunk-OHNKYHRR.js';
|
|
13
13
|
import { globalSkaileDir, globalCacheRoot, migrateLegacyDir } from './chunk-L5VSIPQD.js';
|
|
14
|
-
import {
|
|
14
|
+
import { HARNESS_TARGETS, SUPPORTED_HARNESSES } from './chunk-VTETQCR6.js';
|
|
15
15
|
import { loadSkPublishManifest, listAssetFiles, isNonAssetDir, isNonAssetFile } from './chunk-UQ33Y4DM.js';
|
|
16
16
|
import { scanDirectory, parseFrontmatter, parseRequires, dedupeRequirements, readAssetBody } from './chunk-GOCWM7FN.js';
|
|
17
17
|
import { parseAssetRef, parseAssetRefLoose, assetRefToStr, slugifyAssetName, depToStr, parseDep } from './chunk-WDXZA7QW.js';
|
|
@@ -40,8 +40,8 @@ function writeLedger(projectDir, ledger) {
|
|
|
40
40
|
writeFileSync(p, `${JSON.stringify(ledger, null, 2)}
|
|
41
41
|
`, "utf-8");
|
|
42
42
|
}
|
|
43
|
-
function renderedInstanceFiles(projectDir,
|
|
44
|
-
const recorded = readLedger(projectDir).targets[
|
|
43
|
+
function renderedInstanceFiles(projectDir, harness) {
|
|
44
|
+
const recorded = readLedger(projectDir).targets[harness];
|
|
45
45
|
if (!recorded) return [];
|
|
46
46
|
let instances;
|
|
47
47
|
try {
|
|
@@ -51,11 +51,11 @@ function renderedInstanceFiles(projectDir, driverTarget) {
|
|
|
51
51
|
}
|
|
52
52
|
return Object.entries(instances).filter(([id]) => recorded[id]?.length).map(([id, instance]) => ({ id, ref: instance.ref, files: recorded[id] }));
|
|
53
53
|
}
|
|
54
|
-
function instanceRenderedAgentNames(projectDir,
|
|
54
|
+
function instanceRenderedAgentNames(projectDir, harness) {
|
|
55
55
|
const names = /* @__PURE__ */ new Set();
|
|
56
|
-
if (!
|
|
57
|
-
const agentDir = resolve(deployedBase("agent",
|
|
58
|
-
for (const files of Object.values(readLedger(projectDir).targets[
|
|
56
|
+
if (!harnessTargetSupportsAgents(harness)) return names;
|
|
57
|
+
const agentDir = resolve(deployedBase("agent", harness, false, projectDir));
|
|
58
|
+
for (const files of Object.values(readLedger(projectDir).targets[harness] ?? {})) {
|
|
59
59
|
for (const rel of files) {
|
|
60
60
|
const abs = resolve(projectDir, rel);
|
|
61
61
|
if (!abs.startsWith(agentDir + sep)) continue;
|
|
@@ -80,8 +80,8 @@ function bindInstance(projectDir, id, instance) {
|
|
|
80
80
|
}
|
|
81
81
|
return { srcDir, errors };
|
|
82
82
|
}
|
|
83
|
-
function unboundAgentInstances(projectDir,
|
|
84
|
-
if (!
|
|
83
|
+
function unboundAgentInstances(projectDir, harness) {
|
|
84
|
+
if (!harnessTargetSupportsAgents(harness)) return [];
|
|
85
85
|
let instances;
|
|
86
86
|
try {
|
|
87
87
|
instances = effectiveAgentInstances(resolveSkWorkspaceConfig(projectDir));
|
|
@@ -96,16 +96,16 @@ function unboundAgentInstances(projectDir, driverTarget) {
|
|
|
96
96
|
return out;
|
|
97
97
|
}
|
|
98
98
|
function removeAgentInstanceRenderings(opts) {
|
|
99
|
-
const { projectDir,
|
|
100
|
-
if (!
|
|
99
|
+
const { projectDir, harness, ids } = opts;
|
|
100
|
+
if (!harnessTargetSupportsAgents(harness) || ids.length === 0) return [];
|
|
101
101
|
const ledger = readLedger(projectDir);
|
|
102
|
-
const previous = ledger.targets[
|
|
102
|
+
const previous = ledger.targets[harness];
|
|
103
103
|
if (!previous) return [];
|
|
104
104
|
const gone = new Set(ids);
|
|
105
105
|
const claimed = new Set(
|
|
106
106
|
Object.entries(previous).filter(([id]) => !gone.has(id)).flatMap(([, files]) => files)
|
|
107
107
|
);
|
|
108
|
-
const agentDeployDir = deployedBase("agent",
|
|
108
|
+
const agentDeployDir = deployedBase("agent", harness, false, projectDir);
|
|
109
109
|
const removable = [resolve(agentDeployDir), resolve(dirname(agentDeployDir), CODEX_IDENTITY_DIR)];
|
|
110
110
|
const root = resolve(projectDir);
|
|
111
111
|
const removed = [];
|
|
@@ -120,28 +120,28 @@ function removeAgentInstanceRenderings(opts) {
|
|
|
120
120
|
}
|
|
121
121
|
const owned = Object.fromEntries(Object.entries(previous).filter(([id]) => !gone.has(id)));
|
|
122
122
|
const nextTargets = { ...ledger.targets };
|
|
123
|
-
if (Object.keys(owned).length > 0) nextTargets[
|
|
124
|
-
else delete nextTargets[
|
|
123
|
+
if (Object.keys(owned).length > 0) nextTargets[harness] = owned;
|
|
124
|
+
else delete nextTargets[harness];
|
|
125
125
|
if (JSON.stringify(nextTargets) !== JSON.stringify(ledger.targets)) {
|
|
126
126
|
writeLedger(projectDir, { version: 1, targets: nextTargets });
|
|
127
127
|
}
|
|
128
128
|
return removed;
|
|
129
129
|
}
|
|
130
130
|
function installAgentInstances(opts) {
|
|
131
|
-
const { projectDir,
|
|
131
|
+
const { projectDir, harness, log } = opts;
|
|
132
132
|
const result = {
|
|
133
133
|
instances: [],
|
|
134
134
|
removed: [],
|
|
135
135
|
warnings: [],
|
|
136
136
|
errors: []
|
|
137
137
|
};
|
|
138
|
-
if (!
|
|
138
|
+
if (!harnessTargetSupportsAgents(harness)) return result;
|
|
139
139
|
const wsConfig = opts.wsConfig ?? resolveSkWorkspaceConfig(projectDir);
|
|
140
140
|
const instances = effectiveAgentInstances(wsConfig);
|
|
141
|
-
const agentDeployDir = deployedBase("agent",
|
|
142
|
-
const skillsRelDir =
|
|
141
|
+
const agentDeployDir = deployedBase("agent", harness, false, projectDir);
|
|
142
|
+
const skillsRelDir = HARNESS_TARGETS[harness]?.local.skill ?? "";
|
|
143
143
|
const ledger = readLedger(projectDir);
|
|
144
|
-
const previous = ledger.targets[
|
|
144
|
+
const previous = ledger.targets[harness] ?? {};
|
|
145
145
|
const owned = {};
|
|
146
146
|
for (const [id, instance] of Object.entries(instances)) {
|
|
147
147
|
const { srcDir, errors } = bindInstance(projectDir, id, instance);
|
|
@@ -154,7 +154,7 @@ function installAgentInstances(opts) {
|
|
|
154
154
|
srcDir,
|
|
155
155
|
agentDeployDir,
|
|
156
156
|
projectDir,
|
|
157
|
-
|
|
157
|
+
harness,
|
|
158
158
|
skillsRelDir,
|
|
159
159
|
id,
|
|
160
160
|
/* includeSubAgents */
|
|
@@ -180,8 +180,8 @@ function installAgentInstances(opts) {
|
|
|
180
180
|
result.removed.push(rel);
|
|
181
181
|
}
|
|
182
182
|
const nextTargets = { ...ledger.targets };
|
|
183
|
-
if (Object.keys(owned).length > 0) nextTargets[
|
|
184
|
-
else delete nextTargets[
|
|
183
|
+
if (Object.keys(owned).length > 0) nextTargets[harness] = owned;
|
|
184
|
+
else delete nextTargets[harness];
|
|
185
185
|
if (JSON.stringify(nextTargets) !== JSON.stringify(ledger.targets)) {
|
|
186
186
|
writeLedger(projectDir, { version: 1, targets: nextTargets });
|
|
187
187
|
}
|
|
@@ -497,12 +497,12 @@ function canonicalJson(value) {
|
|
|
497
497
|
function entryHash(entry) {
|
|
498
498
|
return createHash("sha256").update(canonicalJson(entry)).digest("hex");
|
|
499
499
|
}
|
|
500
|
-
async function mcpServerDrift(projectDir,
|
|
501
|
-
const relConfig = TARGET_MCP_CONFIG[
|
|
500
|
+
async function mcpServerDrift(projectDir, harnessTarget, opts = {}) {
|
|
501
|
+
const relConfig = TARGET_MCP_CONFIG[harnessTarget];
|
|
502
502
|
if (!relConfig) return [];
|
|
503
503
|
const declarations = opts.declarations ?? await loadMcpServerDeclarations(projectDir);
|
|
504
|
-
const skippedNow = await readNotedSkips(projectDir,
|
|
505
|
-
const ledger = await readManaged(projectDir,
|
|
504
|
+
const skippedNow = await readNotedSkips(projectDir, harnessTarget);
|
|
505
|
+
const ledger = await readManaged(projectDir, harnessTarget);
|
|
506
506
|
const managed = new Set(ledger.ids);
|
|
507
507
|
let servers = {};
|
|
508
508
|
try {
|
|
@@ -595,13 +595,13 @@ function requiredFieldsAdvice(id, keys) {
|
|
|
595
595
|
const setting = keys.map((k) => `${k}: env:${k}`).join(", ");
|
|
596
596
|
return `needs ${keys.join(", ")} (required): set it with an mcp_servers entry (id: ${id}, env: ${setting}) in skaile.yaml and export the variable, then run skaile install`;
|
|
597
597
|
}
|
|
598
|
-
function mcpConfigFileOf(
|
|
599
|
-
return TARGET_MCP_CONFIG[
|
|
598
|
+
function mcpConfigFileOf(harnessTarget) {
|
|
599
|
+
return TARGET_MCP_CONFIG[harnessTarget];
|
|
600
600
|
}
|
|
601
|
-
async function mcpRenderedFootprint(projectDir,
|
|
602
|
-
const relConfig = TARGET_MCP_CONFIG[
|
|
601
|
+
async function mcpRenderedFootprint(projectDir, harnessTarget, name) {
|
|
602
|
+
const relConfig = TARGET_MCP_CONFIG[harnessTarget];
|
|
603
603
|
if (!relConfig) return void 0;
|
|
604
|
-
const ledger = await readManaged(projectDir,
|
|
604
|
+
const ledger = await readManaged(projectDir, harnessTarget);
|
|
605
605
|
if (!ledger.ids.includes(name)) return void 0;
|
|
606
606
|
const dir = payloadDir(projectDir, name);
|
|
607
607
|
let hasPayload = false;
|
|
@@ -616,15 +616,15 @@ async function mcpRenderedFootprint(projectDir, driverTarget, name) {
|
|
|
616
616
|
...dir && hasPayload ? { payloadDir: `${path.relative(projectDir, dir).split(path.sep).join("/")}/` } : {}
|
|
617
617
|
};
|
|
618
618
|
}
|
|
619
|
-
async function renderMcpServerConfig(projectDir,
|
|
619
|
+
async function renderMcpServerConfig(projectDir, harnessTarget, opts) {
|
|
620
620
|
const warn = opts?.warn ?? ((m) => console.warn(`skaile: ${m}`));
|
|
621
|
-
const relConfig = TARGET_MCP_CONFIG[
|
|
621
|
+
const relConfig = TARGET_MCP_CONFIG[harnessTarget];
|
|
622
622
|
if (!relConfig) return { written: false, servers: [], removed: [], skipped: [] };
|
|
623
623
|
const configPath = path.join(projectDir, relConfig);
|
|
624
624
|
const declarations = await loadMcpServerDeclarations(projectDir);
|
|
625
625
|
const skipped = [];
|
|
626
626
|
const renderable = /* @__PURE__ */ new Map();
|
|
627
|
-
const noted = await readNotedSkips(projectDir,
|
|
627
|
+
const noted = await readNotedSkips(projectDir, harnessTarget);
|
|
628
628
|
for (const decl of declarations) {
|
|
629
629
|
const reason = skipReason(decl) ?? await ensurePayload(projectDir, decl, opts?.fetchPayload ?? defaultFetchPayload);
|
|
630
630
|
if (reason) {
|
|
@@ -636,8 +636,8 @@ async function renderMcpServerConfig(projectDir, driverTarget, opts) {
|
|
|
636
636
|
}
|
|
637
637
|
renderable.set(decl.id, buildEntry(decl));
|
|
638
638
|
}
|
|
639
|
-
await writeNotedSkips(projectDir,
|
|
640
|
-
const ledger = await readManaged(projectDir,
|
|
639
|
+
await writeNotedSkips(projectDir, harnessTarget, noted, skipped);
|
|
640
|
+
const ledger = await readManaged(projectDir, harnessTarget);
|
|
641
641
|
const managedIds = ledger.ids;
|
|
642
642
|
const existingFile = await readJsonStrict(configPath);
|
|
643
643
|
if (renderable.size === 0 && managedIds.length === 0 && !existingFile) {
|
|
@@ -660,7 +660,7 @@ async function renderMcpServerConfig(projectDir, driverTarget, opts) {
|
|
|
660
660
|
}
|
|
661
661
|
const rendered = Object.fromEntries(owned.map((id) => [id, entryHash(next[id])]));
|
|
662
662
|
const ledgerStale = JSON.stringify(owned) !== JSON.stringify(managedIds) || canonicalJson(rendered) !== canonicalJson(ledger.rendered);
|
|
663
|
-
if (ledgerStale) await writeManaged(projectDir,
|
|
663
|
+
if (ledgerStale) await writeManaged(projectDir, harnessTarget, { ids: owned, rendered });
|
|
664
664
|
if (Object.keys(next).length === 0 && !existingFile) {
|
|
665
665
|
return { path: configPath, written: false, servers: owned, removed, skipped };
|
|
666
666
|
}
|
|
@@ -1293,7 +1293,7 @@ function decodeEntryHarnesses(value) {
|
|
|
1293
1293
|
for (const [key, list] of Object.entries(value)) {
|
|
1294
1294
|
if (!Array.isArray(list)) continue;
|
|
1295
1295
|
const valid = list.filter(
|
|
1296
|
-
(h) =>
|
|
1296
|
+
(h) => SUPPORTED_HARNESSES.includes(h)
|
|
1297
1297
|
);
|
|
1298
1298
|
if (valid.length > 0) out[key] = [...new Set(valid)];
|
|
1299
1299
|
}
|
|
@@ -1302,8 +1302,8 @@ function decodeEntryHarnesses(value) {
|
|
|
1302
1302
|
var AssetManager = class {
|
|
1303
1303
|
/** Resolved absolute path to the workspace root. */
|
|
1304
1304
|
projectDir;
|
|
1305
|
-
/**
|
|
1306
|
-
|
|
1305
|
+
/** Harness all deploy operations target (a `HarnessName`). */
|
|
1306
|
+
harness;
|
|
1307
1307
|
/** Whether this instance operates in global-install mode. */
|
|
1308
1308
|
global;
|
|
1309
1309
|
/** Asset-kind registry shared with the host (one instance per process). */
|
|
@@ -1344,7 +1344,7 @@ var AssetManager = class {
|
|
|
1344
1344
|
this.projectDir = resolve(opts.projectDir);
|
|
1345
1345
|
this.global = opts.global ?? false;
|
|
1346
1346
|
this.registry = opts.registry;
|
|
1347
|
-
this.
|
|
1347
|
+
this.harness = opts.harness ?? (this.global ? void 0 : resolveConfiguredHarnessName(this.projectDir)) ?? "claude-code";
|
|
1348
1348
|
this.harnessesOverride = opts.harnesses ?? opts.backends;
|
|
1349
1349
|
this.injectedStoreFetcher = opts.storeFetcher;
|
|
1350
1350
|
this.injectedAssetFetcher = opts.assetFetcher;
|
|
@@ -1369,7 +1369,7 @@ var AssetManager = class {
|
|
|
1369
1369
|
/**
|
|
1370
1370
|
* Root for this manager's **state** — config SSOT, lock, cache, history.
|
|
1371
1371
|
* `~/.skaile` in global mode (the cross-harness SSOT), else the project dir.
|
|
1372
|
-
* Deploy dirs are unaffected; they come from `
|
|
1372
|
+
* Deploy dirs are unaffected; they come from `HARNESS_TARGETS[target]`.
|
|
1373
1373
|
*/
|
|
1374
1374
|
get stateRoot() {
|
|
1375
1375
|
return this.global ? globalSkaileDir() : this.projectDir;
|
|
@@ -1379,11 +1379,11 @@ var AssetManager = class {
|
|
|
1379
1379
|
* filter), else the explicit `global_harnesses:` of `~/.skaile/skaile.yaml`, else every harness
|
|
1380
1380
|
* whose root dir exists under `~` plus the harness the project is configured for (a project on
|
|
1381
1381
|
* a harness whose dir does not exist yet still gets its user-scope assets). In project mode
|
|
1382
|
-
* this is exactly `[
|
|
1382
|
+
* this is exactly `[harness]`, so the shared fan-out loop degenerates to the
|
|
1383
1383
|
* single-target path.
|
|
1384
1384
|
*/
|
|
1385
1385
|
targetHarnesses() {
|
|
1386
|
-
if (!this.global) return [this.
|
|
1386
|
+
if (!this.global) return [this.harness];
|
|
1387
1387
|
if (this.harnessesOverride && this.harnessesOverride.length > 0) return this.harnessesOverride;
|
|
1388
1388
|
return this.defaultGlobalHarnesses();
|
|
1389
1389
|
}
|
|
@@ -1391,7 +1391,7 @@ var AssetManager = class {
|
|
|
1391
1391
|
defaultGlobalHarnesses() {
|
|
1392
1392
|
const resolved = resolveGlobalHarnesses();
|
|
1393
1393
|
if (resolveGlobalSkWorkspaceConfig().global_harnesses?.length) return resolved;
|
|
1394
|
-
const configured =
|
|
1394
|
+
const configured = resolveConfiguredHarnessName(this.projectDir);
|
|
1395
1395
|
return configured && !resolved.includes(configured) ? [...resolved, configured] : resolved;
|
|
1396
1396
|
}
|
|
1397
1397
|
/**
|
|
@@ -1520,7 +1520,7 @@ var AssetManager = class {
|
|
|
1520
1520
|
return this.legacyCopiesRemoved.splice(0);
|
|
1521
1521
|
}
|
|
1522
1522
|
/**
|
|
1523
|
-
* The harnesses `add` / `install` deploy into: `[
|
|
1523
|
+
* The harnesses `add` / `install` deploy into: `[harness]` for a project, the global
|
|
1524
1524
|
* harness set (see {@link AssetManager.targetHarnesses}) for a global manager.
|
|
1525
1525
|
*/
|
|
1526
1526
|
deployTargets() {
|
|
@@ -1554,12 +1554,12 @@ var AssetManager = class {
|
|
|
1554
1554
|
get patchDir() {
|
|
1555
1555
|
return join(this.projectDir, ".skaile", "patches");
|
|
1556
1556
|
}
|
|
1557
|
-
/** Deploy options for one harness. In global mode, `
|
|
1558
|
-
* fan-out target (not the constructor's `
|
|
1557
|
+
/** Deploy options for one harness. In global mode, `harness` is the
|
|
1558
|
+
* fan-out target (not the constructor's `harness`, which is project-only). */
|
|
1559
1559
|
deployOptsFor(target, link, onSecretFile) {
|
|
1560
1560
|
return {
|
|
1561
1561
|
registry: this.registry,
|
|
1562
|
-
|
|
1562
|
+
harness: target,
|
|
1563
1563
|
global: this.global,
|
|
1564
1564
|
cwd: this.projectDir,
|
|
1565
1565
|
link: link === true,
|
|
@@ -1588,7 +1588,7 @@ var AssetManager = class {
|
|
|
1588
1588
|
if (locked.size === 0) return [];
|
|
1589
1589
|
let rows;
|
|
1590
1590
|
try {
|
|
1591
|
-
rows = await mcpServerDrift(this.projectDir, this.
|
|
1591
|
+
rows = await mcpServerDrift(this.projectDir, this.harness, { locked });
|
|
1592
1592
|
} catch {
|
|
1593
1593
|
return [];
|
|
1594
1594
|
}
|
|
@@ -1616,13 +1616,9 @@ var AssetManager = class {
|
|
|
1616
1616
|
*/
|
|
1617
1617
|
async mcpRenderFootprint(name) {
|
|
1618
1618
|
if (this.global) return void 0;
|
|
1619
|
-
const file = mcpConfigFileOf(this.
|
|
1619
|
+
const file = mcpConfigFileOf(this.harness);
|
|
1620
1620
|
if (!file) return void 0;
|
|
1621
|
-
const footprint = await mcpRenderedFootprint(
|
|
1622
|
-
this.projectDir,
|
|
1623
|
-
this.driverTarget,
|
|
1624
|
-
unscopedName(name)
|
|
1625
|
-
);
|
|
1621
|
+
const footprint = await mcpRenderedFootprint(this.projectDir, this.harness, unscopedName(name));
|
|
1626
1622
|
return footprint ? { ...footprint, written: true } : { file, written: false };
|
|
1627
1623
|
}
|
|
1628
1624
|
/**
|
|
@@ -1634,11 +1630,11 @@ var AssetManager = class {
|
|
|
1634
1630
|
*/
|
|
1635
1631
|
async mcpPendingRender() {
|
|
1636
1632
|
if (this.global) return [];
|
|
1637
|
-
const file = mcpConfigFileOf(this.
|
|
1633
|
+
const file = mcpConfigFileOf(this.harness);
|
|
1638
1634
|
if (!file) return [];
|
|
1639
1635
|
let rows;
|
|
1640
1636
|
try {
|
|
1641
|
-
rows = await mcpServerDrift(this.projectDir, this.
|
|
1637
|
+
rows = await mcpServerDrift(this.projectDir, this.harness, {
|
|
1642
1638
|
locked: this.lockedMcpNames()
|
|
1643
1639
|
});
|
|
1644
1640
|
} catch {
|
|
@@ -1652,7 +1648,7 @@ var AssetManager = class {
|
|
|
1652
1648
|
});
|
|
1653
1649
|
}
|
|
1654
1650
|
/**
|
|
1655
|
-
* Render the project's declared MCP servers into the
|
|
1651
|
+
* Render the project's declared MCP servers into the harness target's own
|
|
1656
1652
|
* native MCP config (`<project>/.mcp.json` for `claude-code`), so the coding
|
|
1657
1653
|
* agent sees the same servers skaile's agent loop wires up.
|
|
1658
1654
|
*
|
|
@@ -1665,14 +1661,14 @@ var AssetManager = class {
|
|
|
1665
1661
|
* removed) because they had drifted from the declaration: `install` names them, as it does
|
|
1666
1662
|
* a restored skill file.
|
|
1667
1663
|
*/
|
|
1668
|
-
async
|
|
1664
|
+
async renderHarnessMcpConfig() {
|
|
1669
1665
|
if (this.global) return [];
|
|
1670
1666
|
const before = await this.mcpDriftRows();
|
|
1671
1667
|
try {
|
|
1672
|
-
await renderMcpServerConfig(this.projectDir, this.
|
|
1668
|
+
await renderMcpServerConfig(this.projectDir, this.harness);
|
|
1673
1669
|
} catch (err) {
|
|
1674
1670
|
console.warn(
|
|
1675
|
-
`skaile: could not render MCP config for ${this.
|
|
1671
|
+
`skaile: could not render MCP config for ${this.harness}: ${err instanceof Error ? err.message : String(err)}`
|
|
1676
1672
|
);
|
|
1677
1673
|
return [];
|
|
1678
1674
|
}
|
|
@@ -1696,7 +1692,7 @@ var AssetManager = class {
|
|
|
1696
1692
|
return restored;
|
|
1697
1693
|
}
|
|
1698
1694
|
/**
|
|
1699
|
-
* Render every agent instance of `skaile.yaml` into the
|
|
1695
|
+
* Render every agent instance of `skaile.yaml` into the harness target's native
|
|
1700
1696
|
* agent files (`.claude/agents/<id>.md`, …) and prune the renderings of
|
|
1701
1697
|
* instances that left the config. Runs after the skills deploy, so composed
|
|
1702
1698
|
* skills resolve. Project scope only. An instance whose `ref` resolves to no agent is
|
|
@@ -1707,10 +1703,10 @@ var AssetManager = class {
|
|
|
1707
1703
|
try {
|
|
1708
1704
|
const result = installAgentInstances({
|
|
1709
1705
|
projectDir: this.projectDir,
|
|
1710
|
-
|
|
1706
|
+
harness: this.harness
|
|
1711
1707
|
});
|
|
1712
1708
|
const details = [];
|
|
1713
|
-
for (const u of unboundAgentInstances(this.projectDir, this.
|
|
1709
|
+
for (const u of unboundAgentInstances(this.projectDir, this.harness)) {
|
|
1714
1710
|
if (!u.ref.startsWith("agent:")) continue;
|
|
1715
1711
|
const at = result.errors.findIndex((e) => e.startsWith(`agent instance "${u.id}":`));
|
|
1716
1712
|
if (at < 0) continue;
|
|
@@ -1727,7 +1723,7 @@ var AssetManager = class {
|
|
|
1727
1723
|
};
|
|
1728
1724
|
} catch (err) {
|
|
1729
1725
|
console.warn(
|
|
1730
|
-
`skaile: could not render agent instances for ${this.
|
|
1726
|
+
`skaile: could not render agent instances for ${this.harness}: ${err instanceof Error ? err.message : String(err)}`
|
|
1731
1727
|
);
|
|
1732
1728
|
return {};
|
|
1733
1729
|
}
|
|
@@ -2486,7 +2482,7 @@ var AssetManager = class {
|
|
|
2486
2482
|
const slot = `${component}/${a.name}`;
|
|
2487
2483
|
const prior = seen.get(slot);
|
|
2488
2484
|
if (prior && differs(prior, a)) {
|
|
2489
|
-
const dir2 = deployedDir(component, a.name, this.
|
|
2485
|
+
const dir2 = deployedDir(component, a.name, this.harness, this.global, this.projectDir);
|
|
2490
2486
|
throw new Error(
|
|
2491
2487
|
`${refOf(prior)} and ${refOf(a)} both deploy to ${shown(dir2)} \u2014 keep only one of them`
|
|
2492
2488
|
);
|
|
@@ -2558,7 +2554,7 @@ var AssetManager = class {
|
|
|
2558
2554
|
}
|
|
2559
2555
|
const drift = deployedAssetDrift(entry, {
|
|
2560
2556
|
registry: this.registry,
|
|
2561
|
-
|
|
2557
|
+
harness: target,
|
|
2562
2558
|
global: this.global,
|
|
2563
2559
|
cwd: this.projectDir
|
|
2564
2560
|
});
|
|
@@ -2741,7 +2737,7 @@ var AssetManager = class {
|
|
|
2741
2737
|
const lookup = this.lockedLibrary(e.library, snap, { kind, publisher, name });
|
|
2742
2738
|
if (lookup.state === "ok") continue;
|
|
2743
2739
|
const component = this.installTarget(kind);
|
|
2744
|
-
const deployed = component !== void 0 && isDeployed(component, name, this.
|
|
2740
|
+
const deployed = component !== void 0 && isDeployed(component, name, this.harness, this.global, this.projectDir);
|
|
2745
2741
|
const problem = lockedLibraryProblem(lookup, e.library, `${kind}:@${publisher}/${name}`);
|
|
2746
2742
|
const kept = deployed ? "the deployed copy and its lock entry are kept" : "its lock entry is kept; no deployed copy exists";
|
|
2747
2743
|
lines.push(`${ref} (${problem}; ${kept})`);
|
|
@@ -2795,7 +2791,7 @@ var AssetManager = class {
|
|
|
2795
2791
|
const component = this.installTarget(kind);
|
|
2796
2792
|
const newer = gt(coerceVersion(current), coerceVersion(origin.version));
|
|
2797
2793
|
const comparable = !isPseudoVersion(current) && !isPseudoVersion(origin.version);
|
|
2798
|
-
const intact = (newer || comparable) && (component === void 0 || isDeployed(component, name, this.
|
|
2794
|
+
const intact = (newer || comparable) && (component === void 0 || isDeployed(component, name, this.harness, this.global, this.projectDir));
|
|
2799
2795
|
if (!intact) {
|
|
2800
2796
|
missing.push(
|
|
2801
2797
|
`${ref} (library "${lookup.name}" is at ${current}, locked ${origin.version}${newer || comparable ? "; `skaile update` moves the lock to it" : ""})`
|
|
@@ -2829,13 +2825,13 @@ var AssetManager = class {
|
|
|
2829
2825
|
if (id.kind !== want.kind || id.name !== want.name) return false;
|
|
2830
2826
|
if (want.publisher && id.publisher !== want.publisher) return false;
|
|
2831
2827
|
const component = this.installTarget(id.kind);
|
|
2832
|
-
return component !== void 0 && isDeployed(component, id.name, this.
|
|
2828
|
+
return component !== void 0 && isDeployed(component, id.name, this.harness, this.global, this.projectDir);
|
|
2833
2829
|
});
|
|
2834
2830
|
}
|
|
2835
2831
|
/** Whether the deployed copy of a library asset is on disk; a kind with no install target has none to check. */
|
|
2836
2832
|
lockedCopyDeployed(kind, name) {
|
|
2837
2833
|
const component = this.installTarget(kind);
|
|
2838
|
-
return component === void 0 || isDeployed(component, name, this.
|
|
2834
|
+
return component === void 0 || isDeployed(component, name, this.harness, this.global, this.projectDir);
|
|
2839
2835
|
}
|
|
2840
2836
|
/**
|
|
2841
2837
|
* The library-origin lock entries `install` keeps when the library holds a newer version:
|
|
@@ -3627,7 +3623,7 @@ var AssetManager = class {
|
|
|
3627
3623
|
)
|
|
3628
3624
|
];
|
|
3629
3625
|
this.sweepLegacyOmpCopies(entries);
|
|
3630
|
-
const mcpRestored = await this.
|
|
3626
|
+
const mcpRestored = await this.renderHarnessMcpConfig();
|
|
3631
3627
|
const agentRender = await this.renderAgentInstances();
|
|
3632
3628
|
const restored = [...this.restoredCopies(copyDrift, deployed, missingCopies), ...mcpRestored];
|
|
3633
3629
|
const rewritten = this.rewrittenAgentFiles(unrecordedAgents);
|
|
@@ -3745,7 +3741,7 @@ var AssetManager = class {
|
|
|
3745
3741
|
const locked = this.lockedRequirementsOf(id);
|
|
3746
3742
|
const withLocked = (scanned) => [.../* @__PURE__ */ new Set([...scanned, ...locked])];
|
|
3747
3743
|
const keptAgent = kind === "agent" && !this.global ? join(agentSourceCacheDir(this.projectDir), name) : null;
|
|
3748
|
-
const dir = keptAgent && existsSync(keptAgent) ? keptAgent : deployedDir(component, name, this.
|
|
3744
|
+
const dir = keptAgent && existsSync(keptAgent) ? keptAgent : deployedDir(component, name, this.harness, this.global, this.projectDir);
|
|
3749
3745
|
if (!existsSync(dir)) return withLocked([]);
|
|
3750
3746
|
try {
|
|
3751
3747
|
const scanned = await scanDirectory(dir, publisher ?? "", { knownKinds: this.knownKinds });
|
|
@@ -4189,7 +4185,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
4189
4185
|
)
|
|
4190
4186
|
];
|
|
4191
4187
|
this.sweepLegacyOmpCopies([...resolved, ...library.entries]);
|
|
4192
|
-
const mcpRestored = await this.
|
|
4188
|
+
const mcpRestored = await this.renderHarnessMcpConfig();
|
|
4193
4189
|
const agentRender = await this.renderAgentInstances();
|
|
4194
4190
|
const restored = [...this.restoredCopies(copyDrift, deployed, missingCopies), ...mcpRestored];
|
|
4195
4191
|
const rewritten = this.rewrittenAgentFiles(unrecordedAgents);
|
|
@@ -4484,7 +4480,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
4484
4480
|
opts?.onPlaceholderDescription?.(placeholder);
|
|
4485
4481
|
}
|
|
4486
4482
|
this.addDependencyToConfig(ref);
|
|
4487
|
-
await this.
|
|
4483
|
+
await this.renderHarnessMcpConfig();
|
|
4488
4484
|
await this.renderAgentInstances();
|
|
4489
4485
|
if (resolved.length > 0 || lib.entries.length > 0) {
|
|
4490
4486
|
const libraryLock = await this.libraryLockEntries(lib);
|
|
@@ -4751,7 +4747,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
4751
4747
|
* Removes only `ref` itself; use {@link removeWithDependencies} to also drop the
|
|
4752
4748
|
* dependencies it leaves orphaned.
|
|
4753
4749
|
*
|
|
4754
|
-
* Deliberately does NOT re-render the
|
|
4750
|
+
* Deliberately does NOT re-render the harness target's MCP config: the render
|
|
4755
4751
|
* step is async (the declaration resolver is), and making this synchronous
|
|
4756
4752
|
* method async would break every external caller. {@link removeWithDependencies}
|
|
4757
4753
|
* (what `skaile remove` runs) does re-render it; a caller of this method gets the
|
|
@@ -4827,7 +4823,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
4827
4823
|
};
|
|
4828
4824
|
const pruned = changed && requiredRefs.length > 0 ? await this.pruneOrphans(requiredRefs) : [];
|
|
4829
4825
|
if (changed && (target.kind === "mcp-server" || pruned.some((r) => r.startsWith("mcp-server:")))) {
|
|
4830
|
-
await this.
|
|
4826
|
+
await this.renderHarnessMcpConfig();
|
|
4831
4827
|
}
|
|
4832
4828
|
return { changed, pruned, ...keptNote };
|
|
4833
4829
|
}
|
|
@@ -5184,7 +5180,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
5184
5180
|
const seen = /* @__PURE__ */ new Set();
|
|
5185
5181
|
for (const k of kinds) {
|
|
5186
5182
|
try {
|
|
5187
|
-
const base = deployedBase(k, this.
|
|
5183
|
+
const base = deployedBase(k, this.harness, this.global, this.projectDir);
|
|
5188
5184
|
if (!existsSync(base)) continue;
|
|
5189
5185
|
for (const item of readdirSync(base, { withFileTypes: true })) {
|
|
5190
5186
|
let name;
|
|
@@ -5226,7 +5222,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
5226
5222
|
* @returns One {@link LegacyDeployedAsset} per stale copy, sorted by kind then name.
|
|
5227
5223
|
*/
|
|
5228
5224
|
listLegacyClaudeDeployed() {
|
|
5229
|
-
if (this.global || this.
|
|
5225
|
+
if (this.global || this.harness === "claude-code") return [];
|
|
5230
5226
|
const tracked = /* @__PURE__ */ new Map();
|
|
5231
5227
|
const track = (kind, name) => {
|
|
5232
5228
|
const component = kind ? this.installTarget(kind) : void 0;
|
|
@@ -5254,7 +5250,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
5254
5250
|
const out = [];
|
|
5255
5251
|
for (const { kind, name, component: k } of tracked.values()) {
|
|
5256
5252
|
const legacy = deployedDir(k, name, "claude-code", false, this.projectDir);
|
|
5257
|
-
if (legacy === deployedDir(k, name, this.
|
|
5253
|
+
if (legacy === deployedDir(k, name, this.harness, false, this.projectDir)) continue;
|
|
5258
5254
|
const found = deployedPaths(k, name, "claude-code", false, this.projectDir).find((p) => {
|
|
5259
5255
|
try {
|
|
5260
5256
|
lstatSync(p);
|
|
@@ -5331,7 +5327,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
5331
5327
|
const wired = await wiredMcpNames();
|
|
5332
5328
|
const isWired = wired.has(parsed.name) || wired.has(unscopedName(parsed.name));
|
|
5333
5329
|
const skippedReason = Object.entries(
|
|
5334
|
-
await readSkippedMcpServers(this.projectDir, this.
|
|
5330
|
+
await readSkippedMcpServers(this.projectDir, this.harness)
|
|
5335
5331
|
).find(([id]) => id === parsed.name || unscopedName(id) === parsed.name)?.[1];
|
|
5336
5332
|
const drifted = (await this.mcpDriftRows()).some(
|
|
5337
5333
|
(r) => unscopedName(r.drift.id) === unscopedName(parsed.name) && r.drift.missing.length + r.drift.modified.length + r.drift.extra.length > 0
|
|
@@ -5350,7 +5346,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
5350
5346
|
const onDisk = isDeployed(
|
|
5351
5347
|
component,
|
|
5352
5348
|
parsed.name,
|
|
5353
|
-
this.
|
|
5349
|
+
this.harness,
|
|
5354
5350
|
this.global,
|
|
5355
5351
|
this.projectDir
|
|
5356
5352
|
);
|
|
@@ -5388,7 +5384,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
5388
5384
|
async mcpNotices() {
|
|
5389
5385
|
if (this.global) return [];
|
|
5390
5386
|
const out = [];
|
|
5391
|
-
const skipped = await readSkippedMcpServers(this.projectDir, this.
|
|
5387
|
+
const skipped = await readSkippedMcpServers(this.projectDir, this.harness);
|
|
5392
5388
|
for (const [id, reason] of Object.entries(skipped)) {
|
|
5393
5389
|
out.push({ id, kind: "skipped", reason, text: `MCP server "${id}" is skipped: ${reason}` });
|
|
5394
5390
|
}
|
|
@@ -5433,10 +5429,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
5433
5429
|
const component = kind ? this.installTarget(kind) : void 0;
|
|
5434
5430
|
if (!publisher || !kind || !name || !component || component === "agent") continue;
|
|
5435
5431
|
if (patches[`${kind}:${name}`]) continue;
|
|
5436
|
-
const dest = join(
|
|
5437
|
-
deployedBase(component, this.driverTarget, this.global, this.projectDir),
|
|
5438
|
-
name
|
|
5439
|
-
);
|
|
5432
|
+
const dest = join(deployedBase(component, this.harness, this.global, this.projectDir), name);
|
|
5440
5433
|
if (!existsSync(dest) || lstatSync(dest).isSymbolicLink()) continue;
|
|
5441
5434
|
const missing = lockedAssetFiles(kind, entry.files).map((f) => f.rel).filter((rel) => !existsSync(join(dest, rel)));
|
|
5442
5435
|
if (missing.length > 0) out.push({ ref: `${kind}:@${publisher}/${name}`, missing });
|
|
@@ -5453,7 +5446,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
5453
5446
|
const component = this.installTarget(entry.kind);
|
|
5454
5447
|
if (!entry.files || !component || component === "agent") continue;
|
|
5455
5448
|
const dest = join(
|
|
5456
|
-
deployedBase(component, this.
|
|
5449
|
+
deployedBase(component, this.harness, this.global, this.projectDir),
|
|
5457
5450
|
entry.name
|
|
5458
5451
|
);
|
|
5459
5452
|
if (!existsSync(dest)) continue;
|
|
@@ -5531,7 +5524,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
5531
5524
|
const repoStatuses = this.buildRepoStatuses(repositories);
|
|
5532
5525
|
const lockByKindName = indexLockByKindName(lock);
|
|
5533
5526
|
const entries = [];
|
|
5534
|
-
const instanceFiles = this.global ? /* @__PURE__ */ new Set() : instanceRenderedAgentNames(this.projectDir, this.
|
|
5527
|
+
const instanceFiles = this.global ? /* @__PURE__ */ new Set() : instanceRenderedAgentNames(this.projectDir, this.harness);
|
|
5535
5528
|
for (const d of deployed) {
|
|
5536
5529
|
const lockEntry = lockByKindName.get(`${d.kind}:${d.name}`);
|
|
5537
5530
|
if (!lockEntry && d.kind === "agent" && instanceFiles.has(d.name)) continue;
|
|
@@ -6171,7 +6164,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
6171
6164
|
if (parsed.kind === "preset" && this.presetRecorded(parsed)) return { status: "no-files" };
|
|
6172
6165
|
if (!component) return { status: "not-deployed" };
|
|
6173
6166
|
if (component === "agent") {
|
|
6174
|
-
const opts = this.deployOptsFor(this.
|
|
6167
|
+
const opts = this.deployOptsFor(this.harness);
|
|
6175
6168
|
const parts = [diffDeployedAgent(entry, opts)];
|
|
6176
6169
|
for (const inst of this.instancesBoundTo(parsed)) {
|
|
6177
6170
|
parts.push(diffDeployedAgent(entry, opts, inst));
|
|
@@ -6181,7 +6174,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
6181
6174
|
return diff === "" ? { status: "identical" } : { status: "differs", diff };
|
|
6182
6175
|
}
|
|
6183
6176
|
const deployedPath = join(
|
|
6184
|
-
deployedBase(component, this.
|
|
6177
|
+
deployedBase(component, this.harness, this.global, this.projectDir),
|
|
6185
6178
|
parsed.name
|
|
6186
6179
|
);
|
|
6187
6180
|
if (!existsSync(deployedPath)) return { status: "not-deployed" };
|
|
@@ -6404,7 +6397,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
6404
6397
|
const dep = memberIdentity(depToStr(req));
|
|
6405
6398
|
if (!dep) continue;
|
|
6406
6399
|
const depComponent = this.installTarget(dep.kind);
|
|
6407
|
-
if (depComponent && !isDeployed(depComponent, dep.name, this.
|
|
6400
|
+
if (depComponent && !isDeployed(depComponent, dep.name, this.harness, this.global, this.projectDir)) {
|
|
6408
6401
|
const inRepos = await resolveAsset({ kind: dep.kind, name: dep.name }, repositories, this.reposDir, {
|
|
6409
6402
|
knownKinds: this.knownKinds
|
|
6410
6403
|
}) !== null;
|
|
@@ -6619,7 +6612,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
6619
6612
|
manualFix: true
|
|
6620
6613
|
});
|
|
6621
6614
|
}
|
|
6622
|
-
for (const u of unboundAgentInstances(this.projectDir, this.
|
|
6615
|
+
for (const u of unboundAgentInstances(this.projectDir, this.harness)) {
|
|
6623
6616
|
const reason = u.ref.startsWith("agent:") ? await this.unboundAgentReason(u.id, u.ref) : `is bound by agent instance "${u.id}" but resolves to no agent.yaml \u2014 fix the path, or drop the binding from skaile.yaml`;
|
|
6624
6617
|
gaps.push({
|
|
6625
6618
|
type: "agent",
|
|
@@ -6983,7 +6976,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
6983
6976
|
ownFiles.set(key, new Set(this.renderedAgentFiles(name).map((f) => f.path)));
|
|
6984
6977
|
}
|
|
6985
6978
|
const instanceFiles = /* @__PURE__ */ new Map();
|
|
6986
|
-
for (const instance of renderedInstanceFiles(this.projectDir, this.
|
|
6979
|
+
for (const instance of renderedInstanceFiles(this.projectDir, this.harness)) {
|
|
6987
6980
|
const want = parseRefTolerant(instance.ref);
|
|
6988
6981
|
if (!want || want.kind !== "agent") continue;
|
|
6989
6982
|
const wantPublisher = want.publisher?.replace(/^@/, "");
|
|
@@ -7038,12 +7031,12 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
7038
7031
|
/** The files of one agent's rendering for the active harness, project-relative, with sha256. */
|
|
7039
7032
|
renderedAgentFiles(name) {
|
|
7040
7033
|
const out = [];
|
|
7041
|
-
for (const path2 of deployedPaths("agent", name, this.
|
|
7034
|
+
for (const path2 of deployedPaths("agent", name, this.harness, false, this.projectDir)) {
|
|
7042
7035
|
this.hashTree(path2, out);
|
|
7043
7036
|
}
|
|
7044
7037
|
this.hashTree(
|
|
7045
7038
|
join(
|
|
7046
|
-
dirname(deployedBase("agent", this.
|
|
7039
|
+
dirname(deployedBase("agent", this.harness, false, this.projectDir)),
|
|
7047
7040
|
CODEX_IDENTITY_DIR,
|
|
7048
7041
|
`${name}.md`
|
|
7049
7042
|
),
|
|
@@ -7110,7 +7103,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
7110
7103
|
if (!kind || !name || !component) continue;
|
|
7111
7104
|
const dir = relative(
|
|
7112
7105
|
this.projectDir,
|
|
7113
|
-
deployedDir(component, name, this.
|
|
7106
|
+
deployedDir(component, name, this.harness, this.global, this.projectDir)
|
|
7114
7107
|
).split(sep).join("/");
|
|
7115
7108
|
out.push({
|
|
7116
7109
|
ref: d.key,
|
|
@@ -7127,7 +7120,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
7127
7120
|
if (!kind || !name || !component) continue;
|
|
7128
7121
|
const dir = relative(
|
|
7129
7122
|
this.projectDir,
|
|
7130
|
-
deployedDir(component, name, this.
|
|
7123
|
+
deployedDir(component, name, this.harness, this.global, this.projectDir)
|
|
7131
7124
|
).split(sep).join("/");
|
|
7132
7125
|
const files = inc.missing.map((f) => `${dir}/${f}`);
|
|
7133
7126
|
const row = out.find((r) => r.ref.split("#")[0] === bare);
|
|
@@ -7161,7 +7154,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
7161
7154
|
const out = [];
|
|
7162
7155
|
const deployOpts = {
|
|
7163
7156
|
registry: this.registry,
|
|
7164
|
-
|
|
7157
|
+
harness: this.harness,
|
|
7165
7158
|
global: this.global,
|
|
7166
7159
|
cwd: this.projectDir
|
|
7167
7160
|
};
|
|
@@ -7185,7 +7178,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
7185
7178
|
const component = kind ? this.installTarget(kind) : void 0;
|
|
7186
7179
|
if (!kind || !name || !component || component === "agent") continue;
|
|
7187
7180
|
if (patches[`${kind}:${name}`]) continue;
|
|
7188
|
-
const dest = deployedDir(component, name, this.
|
|
7181
|
+
const dest = deployedDir(component, name, this.harness, this.global, this.projectDir);
|
|
7189
7182
|
try {
|
|
7190
7183
|
const deployed = lstatSync(dest);
|
|
7191
7184
|
if (deployed.isSymbolicLink() || !deployed.isDirectory()) continue;
|
|
@@ -7229,7 +7222,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
7229
7222
|
}
|
|
7230
7223
|
if (modified.length > 0) {
|
|
7231
7224
|
const instanceOf = /* @__PURE__ */ new Map();
|
|
7232
|
-
for (const inst of renderedInstanceFiles(this.projectDir, this.
|
|
7225
|
+
for (const inst of renderedInstanceFiles(this.projectDir, this.harness)) {
|
|
7233
7226
|
for (const f of inst.files) if (modified.includes(f)) instanceOf.set(f, inst.id);
|
|
7234
7227
|
}
|
|
7235
7228
|
out.push({
|
|
@@ -7259,7 +7252,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
7259
7252
|
const { publisher, kind, name } = parseCanonicalLockKey(key);
|
|
7260
7253
|
const component = kind ? this.installTarget(kind) : void 0;
|
|
7261
7254
|
if (!kind || !name || !component || named.has(`${kind}:${name}`)) continue;
|
|
7262
|
-
if (isDeployed(component, name, this.
|
|
7255
|
+
if (isDeployed(component, name, this.harness, this.global, this.projectDir)) {
|
|
7263
7256
|
const renderedGone = component === "agent" && !this.global && (entry.rendered ?? []).some((f) => !existsSync(join(this.projectDir, f.path)));
|
|
7264
7257
|
if (!renderedGone) continue;
|
|
7265
7258
|
}
|
|
@@ -7267,7 +7260,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
7267
7260
|
const dangling = deployedPaths(
|
|
7268
7261
|
component,
|
|
7269
7262
|
name,
|
|
7270
|
-
this.
|
|
7263
|
+
this.harness,
|
|
7271
7264
|
this.global,
|
|
7272
7265
|
this.projectDir
|
|
7273
7266
|
).find((p) => isSymlink(p) && !existsSync(p));
|
|
@@ -7585,7 +7578,7 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
7585
7578
|
for (const dest of deployedPaths(
|
|
7586
7579
|
component,
|
|
7587
7580
|
name,
|
|
7588
|
-
this.
|
|
7581
|
+
this.harness,
|
|
7589
7582
|
this.global,
|
|
7590
7583
|
this.projectDir
|
|
7591
7584
|
)) {
|
|
@@ -7806,8 +7799,8 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
7806
7799
|
}
|
|
7807
7800
|
if (ids.length === 0) return false;
|
|
7808
7801
|
writeFileSync(configPath, stringify(raw, { lineWidth: 120 }));
|
|
7809
|
-
for (const
|
|
7810
|
-
removeAgentInstanceRenderings({ projectDir: this.projectDir,
|
|
7802
|
+
for (const harness of this.targetHarnesses()) {
|
|
7803
|
+
removeAgentInstanceRenderings({ projectDir: this.projectDir, harness, ids });
|
|
7811
7804
|
}
|
|
7812
7805
|
return true;
|
|
7813
7806
|
}
|
|
@@ -7829,5 +7822,5 @@ Nothing was changed. Declare it again to keep it, or run \`skaile install --forc
|
|
|
7829
7822
|
};
|
|
7830
7823
|
|
|
7831
7824
|
export { AssetManager, FACTORY_SOURCE_URL, LibraryEntryError, MissingManifestError, installAgentInstances, normalizeRepoUrl, parseCanonicalLockKey, parseRefTolerant, renderMcpServerConfig, softDepName };
|
|
7832
|
-
//# sourceMappingURL=chunk-
|
|
7833
|
-
//# sourceMappingURL=chunk-
|
|
7825
|
+
//# sourceMappingURL=chunk-OAHVKSQJ.js.map
|
|
7826
|
+
//# sourceMappingURL=chunk-OAHVKSQJ.js.map
|