@skaile/workspaces 5.19.0 → 6.1.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 +56 -0
- package/README.md +8 -8
- package/dist/app-sdk/index.js +1 -1
- package/dist/{asset-feeds-QGLI3AXI.js → asset-feeds-HJFV7UPW.js} +32 -24
- package/dist/asset-feeds-HJFV7UPW.js.map +1 -0
- package/dist/asset-manager/catalog-deployer.js +12 -12
- package/dist/asset-manager/index.js +19 -19
- package/dist/asset-manager/installer.js +14 -14
- package/dist/asset-manager/renderers.js +13 -13
- package/dist/asset-manager/src/index.d.ts +214 -27
- 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 +34 -3
- package/dist/asset-manager/src/installer.d.ts.map +1 -1
- package/dist/asset-manager/src/mcp-config.d.ts +35 -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 +69 -73
- 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 +53 -53
- 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 +30 -30
- 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 +30 -30
- 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 +31 -31
- 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 +25 -25
- 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/claude-sdk-surface.d.ts +17 -0
- package/dist/bridge/src/claude-sdk-surface.d.ts.map +1 -0
- 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/harness-model-check.d.ts +40 -0
- 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 +5 -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 +5 -3
- package/dist/bridge/src/normalizer.d.ts.map +1 -1
- 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-7NT4F6SR.js → chunk-2LAPHLDH.js} +587 -521
- package/dist/chunk-2LAPHLDH.js.map +1 -0
- package/dist/{chunk-25ZVWL2R.js → chunk-3GMOPFWH.js} +4 -4
- package/dist/{chunk-25ZVWL2R.js.map → chunk-3GMOPFWH.js.map} +1 -1
- 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-VIM3PWZM.js → chunk-4FVIT5DI.js} +3 -3
- package/dist/{chunk-VIM3PWZM.js.map → chunk-4FVIT5DI.js.map} +1 -1
- package/dist/{chunk-IF6IA3PZ.js → chunk-4MUDQCBP.js} +4 -4
- package/dist/{chunk-IF6IA3PZ.js.map → chunk-4MUDQCBP.js.map} +1 -1
- package/dist/{chunk-MKRWN7XP.js → chunk-5J4NPGFM.js} +5 -5
- package/dist/chunk-5J4NPGFM.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-7SCS64BG.js → chunk-5Y2KGB4H.js} +109 -74
- package/dist/chunk-5Y2KGB4H.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-WST6UITC.js → chunk-6YR4ALVX.js} +17 -17
- package/dist/chunk-6YR4ALVX.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-7HX6FNKL.js +317 -0
- package/dist/chunk-7HX6FNKL.js.map +1 -0
- package/dist/{chunk-COJIL7G4.js → chunk-7LP7RCZI.js} +7 -7
- package/dist/chunk-7LP7RCZI.js.map +1 -0
- package/dist/{chunk-2PBSAH3Z.js → chunk-AATHJRKL.js} +4 -4
- package/dist/{chunk-2PBSAH3Z.js.map → chunk-AATHJRKL.js.map} +1 -1
- package/dist/{chunk-C7WBGSBV.js → chunk-ABFPSVIS.js} +10 -10
- package/dist/chunk-ABFPSVIS.js.map +1 -0
- 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-WOIRYY5L.js → chunk-AITJ7ELM.js} +141 -27
- package/dist/chunk-AITJ7ELM.js.map +1 -0
- package/dist/{chunk-HU5HVKY7.js → chunk-ASWTQQ7E.js} +4 -4
- package/dist/{chunk-HU5HVKY7.js.map → chunk-ASWTQQ7E.js.map} +1 -1
- package/dist/{chunk-RO6VOM6Z.js → chunk-AZ2H6R5I.js} +51 -25
- package/dist/chunk-AZ2H6R5I.js.map +1 -0
- package/dist/{chunk-I7TWVK6N.js → chunk-BBBCJSSU.js} +4 -4
- package/dist/{chunk-I7TWVK6N.js.map → chunk-BBBCJSSU.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-FPHNJE4M.js → chunk-CEKW3KXP.js} +91 -30
- package/dist/chunk-CEKW3KXP.js.map +1 -0
- package/dist/{chunk-F6AA42GW.js → chunk-COYF6IG2.js} +5 -5
- package/dist/{chunk-F6AA42GW.js.map → chunk-COYF6IG2.js.map} +1 -1
- package/dist/{chunk-HT35SQZD.js → chunk-DGTI65OC.js} +30 -30
- package/dist/chunk-DGTI65OC.js.map +1 -0
- package/dist/{chunk-W4Q6CKJ5.js → chunk-DIGFA7Z5.js} +11 -11
- package/dist/chunk-DIGFA7Z5.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-Y5MBW5EU.js → chunk-EJPMNDTP.js} +3 -3
- package/dist/{chunk-Y5MBW5EU.js.map → chunk-EJPMNDTP.js.map} +1 -1
- package/dist/chunk-EX3GLAL6.js +31 -0
- package/dist/chunk-EX3GLAL6.js.map +1 -0
- package/dist/{chunk-XWOPZW26.js → chunk-FKQNBCDW.js} +38 -38
- package/dist/chunk-FKQNBCDW.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-GNZBFSRB.js} +12 -12
- package/dist/chunk-GNZBFSRB.js.map +1 -0
- package/dist/{chunk-PYJS5K7V.js → chunk-HMISULVD.js} +5 -5
- package/dist/{chunk-PYJS5K7V.js.map → chunk-HMISULVD.js.map} +1 -1
- package/dist/{chunk-IP2IPMEH.js → chunk-HPMQRAIF.js} +18 -18
- package/dist/chunk-HPMQRAIF.js.map +1 -0
- package/dist/{chunk-MRHVPQNO.js → chunk-HWNK3F3X.js} +1015 -189
- package/dist/chunk-HWNK3F3X.js.map +1 -0
- package/dist/{chunk-ZQSOJH6I.js → chunk-IHFGPHCT.js} +141 -341
- package/dist/chunk-IHFGPHCT.js.map +1 -0
- package/dist/{chunk-CQJH4G2K.js → chunk-ILLTBKDJ.js} +101 -102
- package/dist/chunk-ILLTBKDJ.js.map +1 -0
- package/dist/{chunk-FKU57Q5Q.js → chunk-IRYKRKVQ.js} +3 -3
- package/dist/{chunk-FKU57Q5Q.js.map → chunk-IRYKRKVQ.js.map} +1 -1
- package/dist/{chunk-J24CY3PF.js → chunk-J72MO2WA.js} +39 -39
- package/dist/chunk-J72MO2WA.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-X3RMRJNR.js → chunk-JRN5QF4C.js} +8 -3
- package/dist/chunk-JRN5QF4C.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-XJVBUDDJ.js → chunk-KUQAJVYT.js} +8 -8
- package/dist/chunk-KUQAJVYT.js.map +1 -0
- package/dist/{chunk-4ZTPYIBE.js → chunk-KW37WNXY.js} +12 -12
- package/dist/chunk-KW37WNXY.js.map +1 -0
- package/dist/{chunk-MJHSLODD.js → chunk-LSI2IVFT.js} +2 -2
- package/dist/chunk-LSI2IVFT.js.map +1 -0
- package/dist/{chunk-WDXZA7QW.js → chunk-LSSYC5IC.js} +2 -2
- package/dist/{chunk-WDXZA7QW.js.map → chunk-LSSYC5IC.js.map} +1 -1
- package/dist/{chunk-WG6V4ISA.js → chunk-NB7SYQYP.js} +7 -7
- package/dist/{chunk-WG6V4ISA.js.map → chunk-NB7SYQYP.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-JTOWA6RS.js → chunk-NUA33BYO.js} +181 -64
- package/dist/chunk-NUA33BYO.js.map +1 -0
- package/dist/{chunk-A6SMCEEE.js → chunk-QAKUD6QN.js} +11 -11
- package/dist/{chunk-A6SMCEEE.js.map → chunk-QAKUD6QN.js.map} +1 -1
- package/dist/{chunk-QG6GHTRM.js → chunk-QEULL4Q3.js} +8 -8
- package/dist/chunk-QEULL4Q3.js.map +1 -0
- package/dist/{chunk-ZX4KRWRB.js → chunk-QSYQOTWN.js} +4 -4
- package/dist/{chunk-ZX4KRWRB.js.map → chunk-QSYQOTWN.js.map} +1 -1
- package/dist/{chunk-X4ZZTHU3.js → chunk-RDTLPOPD.js} +4 -4
- package/dist/{chunk-X4ZZTHU3.js.map → chunk-RDTLPOPD.js.map} +1 -1
- package/dist/{chunk-GOCWM7FN.js → chunk-RHN5MRQO.js} +21 -4
- package/dist/chunk-RHN5MRQO.js.map +1 -0
- package/dist/{chunk-XM6T2AZ2.js → chunk-S2XHGWQC.js} +162 -124
- package/dist/chunk-S2XHGWQC.js.map +1 -0
- package/dist/{chunk-VJ7NU7GD.js → chunk-SVTMNSPI.js} +23 -6
- package/dist/chunk-SVTMNSPI.js.map +1 -0
- package/dist/{chunk-I37INEWE.js → chunk-UI745XC3.js} +10 -23
- package/dist/chunk-UI745XC3.js.map +1 -0
- package/dist/{chunk-N46LQR46.js → chunk-VMVDAZLA.js} +53 -30
- package/dist/chunk-VMVDAZLA.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-H6UVIKQ2.js → chunk-VYVTEMAW.js} +3 -3
- package/dist/{chunk-H6UVIKQ2.js.map → chunk-VYVTEMAW.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-R6O6YWU7.js → chunk-WYZXSJBK.js} +3 -3
- package/dist/{chunk-R6O6YWU7.js.map → chunk-WYZXSJBK.js.map} +1 -1
- package/dist/{chunk-R4I3VBSS.js → chunk-X3YGUKCG.js} +5 -5
- package/dist/{chunk-R4I3VBSS.js.map → chunk-X3YGUKCG.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-VSZWNUZC.js → chunk-XGULGQA3.js} +4 -4
- package/dist/chunk-XGULGQA3.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-7XSAW5OC.js → chunk-YLLVSR2U.js} +4 -4
- package/dist/{chunk-7XSAW5OC.js.map → chunk-YLLVSR2U.js.map} +1 -1
- package/dist/{chunk-6Z5KTFJT.js → chunk-Z3VKUWAX.js} +3 -3
- package/dist/{chunk-6Z5KTFJT.js.map → chunk-Z3VKUWAX.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-2LSDMJI2.js → chunk-ZAELRYKS.js} +4 -4
- package/dist/{chunk-2LSDMJI2.js.map → chunk-ZAELRYKS.js.map} +1 -1
- package/dist/{chunk-UQ33Y4DM.js → chunk-ZBHZLWV3.js} +4 -4
- package/dist/{chunk-UQ33Y4DM.js.map → chunk-ZBHZLWV3.js.map} +1 -1
- package/dist/{chunk-TIIXG3PN.js → chunk-ZDLUQLI6.js} +4 -4
- package/dist/{chunk-TIIXG3PN.js.map → chunk-ZDLUQLI6.js.map} +1 -1
- package/dist/{chunk-PHRNUTSG.js → chunk-ZFUZ5AKM.js} +4 -4
- package/dist/{chunk-PHRNUTSG.js.map → chunk-ZFUZ5AKM.js.map} +1 -1
- package/dist/{chunk-V257LUBM.js → chunk-ZHGKAZJ7.js} +251 -26
- package/dist/chunk-ZHGKAZJ7.js.map +1 -0
- package/dist/claude-code-RE46FJXI.js +10 -0
- package/dist/{claude-code-2PU7TITZ.js.map → claude-code-RE46FJXI.js.map} +1 -1
- package/dist/cli/index.js +1066 -647
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/agent-pins.d.ts +11 -0
- package/dist/cli/src/agent-pins.d.ts.map +1 -1
- package/dist/cli/src/commands/catalog.d.ts +4 -4
- package/dist/cli/src/commands/catalog.d.ts.map +1 -1
- 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/diff.d.ts.map +1 -1
- package/dist/cli/src/commands/harness.d.ts +24 -0
- package/dist/cli/src/commands/harness.d.ts.map +1 -0
- 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/library-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/library-index.d.ts +20 -2
- package/dist/cli/src/commands/library-index.d.ts.map +1 -1
- package/dist/cli/src/commands/library-publish.d.ts.map +1 -1
- package/dist/cli/src/commands/migrate-assets.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 +20 -2
- package/dist/cli/src/commands/project.d.ts.map +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/session-logs/local-query.d.ts +2 -0
- package/dist/cli/src/commands/session-logs/local-query.d.ts.map +1 -1
- package/dist/cli/src/commands/source.d.ts +9 -2
- package/dist/cli/src/commands/source.d.ts.map +1 -1
- package/dist/cli/src/commands/store.d.ts.map +1 -1
- package/dist/cli/src/commands/update.d.ts.map +1 -1
- package/dist/cli/src/commands/validate.d.ts.map +1 -1
- package/dist/cli/src/config-checks.d.ts +37 -0
- package/dist/cli/src/config-checks.d.ts.map +1 -0
- 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/cli/src/skill-checks.d.ts +27 -0
- package/dist/cli/src/skill-checks.d.ts.map +1 -1
- package/dist/cli/src/store-addable.d.ts +11 -0
- package/dist/cli/src/store-addable.d.ts.map +1 -1
- package/dist/connectors/config.js +6 -6
- package/dist/connectors/index.js +31 -31
- package/dist/connectors/src/connector-prompt.d.ts +5 -5
- package/dist/connectors/src/connector-registry.d.ts +1 -1
- package/dist/connectors-7THEF7YA.js +48 -0
- package/dist/{connectors-RBGZ3M7G.js.map → connectors-7THEF7YA.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 +11 -11
- package/dist/core/manifest.js +2 -2
- package/dist/core/models.js +1 -1
- package/dist/core/provider-registry-credentials.js +2 -2
- package/dist/core/provider-registry.js +1 -1
- package/dist/core/publish-manifest.js +3 -3
- package/dist/core/ref.js +1 -1
- package/dist/core/runtime-assets.js +6 -6
- package/dist/core/src/agent-instances.d.ts.map +1 -1
- package/dist/core/src/asset-roots.d.ts +2 -2
- package/dist/core/src/config-key-diagnostics.d.ts +9 -0
- package/dist/core/src/config-key-diagnostics.d.ts.map +1 -0
- 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/manifest.d.ts +10 -0
- package/dist/core/src/manifest.d.ts.map +1 -1
- package/dist/core/src/models.d.ts +8 -0
- package/dist/core/src/models.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 +39 -21
- package/dist/core/src/workspace-config.d.ts.map +1 -1
- package/dist/core/src/workspace-yaml-editor.d.ts +10 -3
- 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 +5 -5
- package/dist/deploy/index.js +12 -12
- package/dist/discovery/index.js +5 -5
- package/dist/discovery/src/builtin-providers.d.ts.map +1 -1
- package/dist/discovery/src/parse-manifest.d.ts.map +1 -1
- package/dist/{ensure-sources-GKVLE6L5.js → ensure-sources-IH7CHSJF.js} +22 -22
- package/dist/{ensure-sources-GKVLE6L5.js.map → ensure-sources-IH7CHSJF.js.map} +1 -1
- package/dist/factory-assets/connectors/box.js +31 -31
- package/dist/factory-assets/connectors/deploy.js +31 -31
- package/dist/factory-assets/connectors/devserver.js +31 -31
- 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 +31 -31
- package/dist/factory-assets/connectors/flow/contract/normalize.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/contract.js +1 -1
- package/dist/factory-assets/connectors/flow/engine/types.d.ts +1 -1
- package/dist/factory-assets/connectors/flow/engine.js +13 -13
- 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 +33 -33
- 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 +31 -31
- package/dist/factory-assets/connectors/git.js +31 -31
- package/dist/factory-assets/connectors/gmail.js +31 -31
- package/dist/factory-assets/connectors/googledrive.js +31 -31
- package/dist/factory-assets/connectors/local.js +31 -31
- package/dist/factory-assets/connectors/mattermost.js +31 -31
- package/dist/factory-assets/connectors/memory.js +31 -31
- package/dist/factory-assets/connectors/minio.js +31 -31
- package/dist/factory-assets/connectors/postgres.js +31 -31
- package/dist/factory-assets/connectors/s3.js +31 -31
- package/dist/factory-assets/connectors/sharepoint.js +31 -31
- package/dist/factory-assets/connectors/sqlite.js +31 -31
- package/dist/factory-assets/connectors/static-server.js +31 -31
- package/dist/factory-assets/connectors/tunnel.js +31 -31
- package/dist/factory-assets/connectors/webdav.js +31 -31
- package/dist/factory-assets/connectors/xstate-store.js +31 -31
- package/dist/factory-assets/connectors/xstate.js +31 -31
- package/dist/factory-assets/skills/authoring-skaile-assets/SKILL.md +1 -1
- package/dist/factory-assets/skills/authoring-skaile-manifests/SKILL.md +2 -2
- package/dist/factory-assets/skills/authoring-skaile-manifests/references/dependency-standard.md +3 -3
- package/dist/factory-assets/skills/skaile-manage-workspace/SKILL.md +1 -1
- package/dist/flows-4JZQ3XFK.js +26 -0
- package/dist/{flows-W2FB7WIM.js.map → flows-4JZQ3XFK.js.map} +1 -1
- package/dist/{helpers-34QNVIGB.js → helpers-JNMK3FC2.js} +22 -22
- package/dist/{helpers-34QNVIGB.js.map → helpers-JNMK3FC2.js.map} +1 -1
- package/dist/library/index.js +15 -15
- package/dist/library/install.js +4 -4
- package/dist/library/src/index.d.ts +1 -1
- package/dist/library/src/index.d.ts.map +1 -1
- package/dist/library/src/local/library-dir.d.ts +22 -5
- package/dist/library/src/local/library-dir.d.ts.map +1 -1
- package/dist/library/src/local/local-catalog-source.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-publish-RUQTKTJU.js → library-publish-I3UWXAHI.js} +69 -67
- package/dist/library-publish-I3UWXAHI.js.map +1 -0
- package/dist/model-endpoint/index.js +15 -15
- package/dist/model-endpoint/src/resolve.d.ts +1 -1
- package/dist/open-library-NKKUJLWA.js +42 -0
- package/dist/{open-library-PVTIUQUF.js.map → open-library-NKKUJLWA.js.map} +1 -1
- package/dist/open-registry-BYAXSHUI.js +32 -0
- package/dist/{open-registry-SOIS3TA2.js.map → open-registry-BYAXSHUI.js.map} +1 -1
- package/dist/paths-UKWE35XS.js +22 -0
- package/dist/{paths-JLNX7Y4X.js.map → paths-UKWE35XS.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-ABE35NRX.js +23 -0
- package/dist/{plugin-store-G2GWAHSD.js.map → plugin-store-ABE35NRX.js.map} +1 -1
- package/dist/plugins/src/asset-kind-provider.d.ts +1 -1
- package/dist/project-BIPK47JK.js +86 -0
- package/dist/{project-EX47PUBN.js.map → project-BIPK47JK.js.map} +1 -1
- package/dist/resolver/index.js +12 -12
- package/dist/runner/index.js +50 -50
- 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/content-source.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/errors.d.ts +16 -1
- package/dist/runner/src/composition/errors.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 +4 -4
- 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 +46 -34
- 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 +19 -19
- package/dist/sdk/bridge.js +25 -25
- package/dist/sdk/core.js +11 -11
- package/dist/sdk/flow.js +13 -13
- package/dist/sdk/index.js +54 -54
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/resolver.js +12 -12
- package/dist/sdk/runner.js +50 -50
- 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 +12 -12
- package/dist/sdk/transport/ws.js +12 -12
- package/dist/sdk/transport.js +12 -12
- package/dist/sdk/types.js +1 -1
- package/dist/serve-preflight-FLTIBTEX.js +107 -0
- package/dist/serve-preflight-FLTIBTEX.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-AG6NFHSN.js} +52 -52
- package/dist/setup-AG6NFHSN.js.map +1 -0
- package/dist/skills-UQYUHVKO.js +26 -0
- package/dist/{skills-YYYC6D5X.js.map → skills-UQYUHVKO.js.map} +1 -1
- package/dist/source-ASEHI2XS.js +85 -0
- package/dist/{source-DGPCT5IC.js.map → source-ASEHI2XS.js.map} +1 -1
- package/dist/{source-manifest-publish-AGJ63JF2.js → source-manifest-publish-IEVV3W6J.js} +62 -62
- package/dist/{source-manifest-publish-AGJ63JF2.js.map → source-manifest-publish-IEVV3W6J.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 +12 -12
- package/dist/transport/ws/server.js +12 -12
- package/dist/transport/ws.js +12 -12
- package/dist/tui/index.js +70 -70
- 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/install-manifest.d.ts +1 -1
- package/dist/types/src/install-manifest.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 +41 -41
- 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/asset-feeds-QGLI3AXI.js.map +0 -1
- 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 +0 -25
- 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-GOCWM7FN.js.map +0 -1
- package/dist/chunk-HT35SQZD.js.map +0 -1
- package/dist/chunk-I37INEWE.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-PUK7TQT4.js +0 -13
- package/dist/chunk-PUK7TQT4.js.map +0 -1
- package/dist/chunk-QG6GHTRM.js.map +0 -1
- package/dist/chunk-RO6VOM6Z.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-WOIRYY5L.js.map +0 -1
- package/dist/chunk-WST6UITC.js.map +0 -1
- package/dist/chunk-X3RMRJNR.js.map +0 -1
- package/dist/chunk-XJVBUDDJ.js.map +0 -1
- package/dist/chunk-XM6T2AZ2.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/flows-W2FB7WIM.js +0 -26
- package/dist/library-publish-RUQTKTJU.js.map +0 -1
- package/dist/open-library-PVTIUQUF.js +0 -42
- package/dist/open-registry-SOIS3TA2.js +0 -32
- package/dist/paths-JLNX7Y4X.js +0 -22
- package/dist/plugin-store-G2GWAHSD.js +0 -23
- 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 +0 -108
- 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/skills-YYYC6D5X.js +0 -26
- 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,18 +1,18 @@
|
|
|
1
1
|
import { resolveFragments, loadPromptExtensions } from './chunk-NOA6EJXE.js';
|
|
2
|
-
import { renderAgentToFramework, CODEX_IDENTITY_DIR } from './chunk-
|
|
3
|
-
import { SKILL_DESCRIPTION_PLACEHOLDER_PREFIX, SKILL_DESCRIPTION_PLACEHOLDER, PRESET_ITEM_PLACEHOLDER_REF, AGENT_BODY_PLACEHOLDER, PROMPT_BODY_PLACEHOLDER, CONTRACT_BODY_PLACEHOLDER, SKILL_BODY_PLACEHOLDER } from './chunk-
|
|
4
|
-
import { computeHash, applyPatch } from './chunk-
|
|
5
|
-
import { deployedDir, deployedBase, deployedPaths, isDeployed } from './chunk-
|
|
6
|
-
import {
|
|
2
|
+
import { renderAgentToFramework, CODEX_IDENTITY_DIR } from './chunk-ABFPSVIS.js';
|
|
3
|
+
import { SKILL_DESCRIPTION_PLACEHOLDER_PREFIX, SKILL_DESCRIPTION_PLACEHOLDER, PRESET_ITEM_PLACEHOLDER_REF, AGENT_BODY_PLACEHOLDER, PROMPT_BODY_PLACEHOLDER, CONTRACT_BODY_PLACEHOLDER, SKILL_BODY_PLACEHOLDER } from './chunk-E572OHGY.js';
|
|
4
|
+
import { computeHash, applyPatch } from './chunk-VMVDAZLA.js';
|
|
5
|
+
import { deployedDir, deployedBase, deployedPaths, isDeployed } from './chunk-5KRMNUL4.js';
|
|
6
|
+
import { agentSourceCacheDir, resolveSkWorkspaceConfig, resolveAgentDefinitionDir, AGENT_INSTANCE_ID_PATTERN } from './chunk-ZHGKAZJ7.js';
|
|
7
7
|
import { globalSkaileDir } from './chunk-L5VSIPQD.js';
|
|
8
|
-
import {
|
|
9
|
-
import { listAssetFiles, listSecretFiles, listSkippedSymlinks, librarySymlinkMessage, isSecretFileName, isEnvFileName, isNonAssetDir, isNonAssetFile } from './chunk-
|
|
10
|
-
import { parseFrontmatter } from './chunk-
|
|
11
|
-
import { assetRefToStr, parseAssetRefLoose } from './chunk-
|
|
8
|
+
import { HARNESS_TARGETS } from './chunk-VTETQCR6.js';
|
|
9
|
+
import { listAssetFiles, listSecretFiles, listSkippedSymlinks, librarySymlinkMessage, isSecretFileName, isEnvFileName, isNonAssetDir, isNonAssetFile } from './chunk-ZBHZLWV3.js';
|
|
10
|
+
import { parseFrontmatter } from './chunk-RHN5MRQO.js';
|
|
11
|
+
import { assetRefToStr, parseAssetRefLoose } from './chunk-LSSYC5IC.js';
|
|
12
12
|
import { spawnSync } from 'child_process';
|
|
13
|
-
import { lstatSync, existsSync, statSync, unlinkSync, mkdirSync, mkdtempSync, readdirSync, rmSync, readFileSync, writeFileSync, readlinkSync, symlinkSync, cpSync } from 'fs';
|
|
13
|
+
import { lstatSync, existsSync, statSync, unlinkSync, mkdirSync, mkdtempSync, readdirSync, rmSync, readFileSync, writeFileSync, readlinkSync, renameSync, symlinkSync, cpSync } from 'fs';
|
|
14
14
|
import { tmpdir, homedir } from 'os';
|
|
15
|
-
import { resolve, basename, join,
|
|
15
|
+
import { resolve, basename, join, relative, sep, dirname, normalize } from 'path';
|
|
16
16
|
import { parse, stringify, parseDocument, isSeq, isMap } from 'yaml';
|
|
17
17
|
|
|
18
18
|
var AGENT_MD_FILE = "AGENT.md";
|
|
@@ -208,15 +208,15 @@ function resolveDelegates(manifest, agentName, srcDir, workspaceRoot, warnings)
|
|
|
208
208
|
}
|
|
209
209
|
return delegates;
|
|
210
210
|
}
|
|
211
|
-
function buildFragmentContext(subAgentNames,
|
|
211
|
+
function buildFragmentContext(subAgentNames, harness, skillsRelDir, wsConfig, abilityRefs, contractRefs, callee) {
|
|
212
212
|
const connectors = (wsConfig?.connectors ?? []).filter((c) => !callee || callee.connectorIds.includes(c.id)).map((c) => ({
|
|
213
213
|
id: c.id,
|
|
214
214
|
driver: c.driver,
|
|
215
215
|
access: c.access ?? "read-write"
|
|
216
216
|
}));
|
|
217
|
-
const agentsRelDir =
|
|
217
|
+
const agentsRelDir = HARNESS_TARGETS[harness]?.local.agent ?? "";
|
|
218
218
|
return {
|
|
219
|
-
framework:
|
|
219
|
+
framework: harness,
|
|
220
220
|
skillsDir: skillsRelDir,
|
|
221
221
|
agentsDir: agentsRelDir,
|
|
222
222
|
subAgents: subAgentNames,
|
|
@@ -226,7 +226,7 @@ function buildFragmentContext(subAgentNames, driverTarget, skillsRelDir, wsConfi
|
|
|
226
226
|
contractRefs
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
|
-
function installAgent(srcDir, agentDeployDir, workspaceRoot,
|
|
229
|
+
function installAgent(srcDir, agentDeployDir, workspaceRoot, harness, skillsRelDir, nameOverride, includeSubAgents, visited, wsConfig, log, instance, delegated = false) {
|
|
230
230
|
const created = [];
|
|
231
231
|
const changed = [];
|
|
232
232
|
const warnings = [];
|
|
@@ -249,14 +249,14 @@ function installAgent(srcDir, agentDeployDir, workspaceRoot, driverTarget, skill
|
|
|
249
249
|
);
|
|
250
250
|
return { created, changed, warnings };
|
|
251
251
|
}
|
|
252
|
-
log?.(`Installing git-agent: ${agentName} (${
|
|
252
|
+
log?.(`Installing git-agent: ${agentName} (${harness})`);
|
|
253
253
|
const abilityRefs = resolveAbilityRefs(manifest, workspaceRoot, skillsRelDir);
|
|
254
254
|
const contractRefs = resolveContractRefs(manifest, workspaceRoot, skillsRelDir);
|
|
255
255
|
const delegates = resolveDelegates(manifest, agentName, srcDir, workspaceRoot, warnings);
|
|
256
256
|
const subAgent = lifecycle === "role" || delegated;
|
|
257
257
|
const fragmentCtx = buildFragmentContext(
|
|
258
258
|
delegates.map((d) => d.name),
|
|
259
|
-
|
|
259
|
+
harness,
|
|
260
260
|
skillsRelDir,
|
|
261
261
|
wsConfig,
|
|
262
262
|
abilityRefs,
|
|
@@ -289,7 +289,7 @@ function installAgent(srcDir, agentDeployDir, workspaceRoot, driverTarget, skill
|
|
|
289
289
|
mcpServers: boundMcpServers(manifest, instance),
|
|
290
290
|
srcDir
|
|
291
291
|
};
|
|
292
|
-
const result = renderAgentToFramework(input,
|
|
292
|
+
const result = renderAgentToFramework(input, harness, log);
|
|
293
293
|
created.push(...result.created);
|
|
294
294
|
changed.push(...result.changed);
|
|
295
295
|
warnings.push(...result.warnings);
|
|
@@ -299,7 +299,7 @@ function installAgent(srcDir, agentDeployDir, workspaceRoot, driverTarget, skill
|
|
|
299
299
|
delegate.srcDir,
|
|
300
300
|
agentDeployDir,
|
|
301
301
|
workspaceRoot,
|
|
302
|
-
|
|
302
|
+
harness,
|
|
303
303
|
skillsRelDir,
|
|
304
304
|
delegate.alias,
|
|
305
305
|
// undefined → the sub-agent's own name from its agent.yaml
|
|
@@ -479,7 +479,7 @@ function deployedAssetDrift(entry, opts) {
|
|
|
479
479
|
const dest = deployedDir(
|
|
480
480
|
component,
|
|
481
481
|
entry.name,
|
|
482
|
-
opts.
|
|
482
|
+
opts.harness ?? "claude-code",
|
|
483
483
|
opts.global ?? false,
|
|
484
484
|
opts.cwd
|
|
485
485
|
);
|
|
@@ -506,10 +506,17 @@ function deployedAssetDrift(entry, opts) {
|
|
|
506
506
|
return null;
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
|
-
function materializeAgentSource(provider, entry, srcDir, workspaceRoot, log) {
|
|
509
|
+
function materializeAgentSource(provider, entry, srcDir, workspaceRoot, log, opts) {
|
|
510
510
|
const dest = join(agentSourceCacheDir(workspaceRoot), entry.name);
|
|
511
511
|
const pinFile = join(dest, COMPILE_PIN_FILENAME);
|
|
512
512
|
const pin = existsSync(pinFile) ? readFileSync(pinFile) : void 0;
|
|
513
|
+
const composesDir = join(dest, "composes");
|
|
514
|
+
const keptDir = existsSync(composesDir) ? join(agentSourceCacheDir(workspaceRoot), `.${entry.name}.composes-kept`) : void 0;
|
|
515
|
+
if (keptDir) {
|
|
516
|
+
rmSync(keptDir, { recursive: true, force: true });
|
|
517
|
+
renameSync(composesDir, keptDir);
|
|
518
|
+
}
|
|
519
|
+
let bundled = false;
|
|
513
520
|
try {
|
|
514
521
|
copyAsset(provider, entry, dest);
|
|
515
522
|
if (!existsSync(join(dest, "agent.yaml"))) {
|
|
@@ -524,20 +531,120 @@ function materializeAgentSource(provider, entry, srcDir, workspaceRoot, log) {
|
|
|
524
531
|
if (soul) writeFileSync(join(dest, "SOUL.md"), `${soul}
|
|
525
532
|
`, "utf8");
|
|
526
533
|
}
|
|
527
|
-
bundleParentComposes(dest, srcDir);
|
|
534
|
+
bundleParentComposes(dest, srcDir, { entry, workspaceRoot, keptDir, opts });
|
|
535
|
+
bundled = true;
|
|
528
536
|
} catch (err) {
|
|
529
537
|
const reason = err instanceof Error ? err.message : String(err);
|
|
530
538
|
log(` warn: could not keep the source of agent ${entry.name}: ${reason}`);
|
|
531
539
|
} finally {
|
|
540
|
+
if (keptDir) {
|
|
541
|
+
if (bundled || restoreKeptComposes(keptDir, composesDir)) {
|
|
542
|
+
rmSync(keptDir, { recursive: true, force: true });
|
|
543
|
+
}
|
|
544
|
+
}
|
|
532
545
|
if (pin && existsSync(dest) && !existsSync(pinFile)) writeFileSync(pinFile, pin);
|
|
533
546
|
}
|
|
534
547
|
}
|
|
548
|
+
function restoreKeptComposes(keptDir, composesDir) {
|
|
549
|
+
try {
|
|
550
|
+
mkdirSync(composesDir, { recursive: true });
|
|
551
|
+
for (const name of readdirSync(keptDir)) {
|
|
552
|
+
const target = join(composesDir, name);
|
|
553
|
+
if (!existsSync(target)) renameSync(join(keptDir, name), target);
|
|
554
|
+
}
|
|
555
|
+
return true;
|
|
556
|
+
} catch {
|
|
557
|
+
return false;
|
|
558
|
+
}
|
|
559
|
+
}
|
|
535
560
|
var COMPILE_PIN_FILENAME = "compile_manifest.json";
|
|
536
|
-
function
|
|
561
|
+
function composeRows(root) {
|
|
562
|
+
const out = /* @__PURE__ */ new Map();
|
|
563
|
+
let top;
|
|
564
|
+
try {
|
|
565
|
+
top = lstatSync(root);
|
|
566
|
+
} catch {
|
|
567
|
+
return out;
|
|
568
|
+
}
|
|
569
|
+
if (top.isSymbolicLink()) return out;
|
|
570
|
+
if (top.isFile()) {
|
|
571
|
+
out.set("", computeHash(root));
|
|
572
|
+
return out;
|
|
573
|
+
}
|
|
574
|
+
const walk = (dir, rel) => {
|
|
575
|
+
for (const name of readdirSync(dir).sort()) {
|
|
576
|
+
const abs = join(dir, name);
|
|
577
|
+
const stat = lstatSync(abs);
|
|
578
|
+
const here = rel ? `${rel}/${name}` : name;
|
|
579
|
+
if (stat.isSymbolicLink()) continue;
|
|
580
|
+
if (stat.isDirectory()) {
|
|
581
|
+
if (!isNonAssetDir(name)) walk(abs, here);
|
|
582
|
+
} else if (stat.isFile() && !isNonAssetFile(name)) {
|
|
583
|
+
out.set(here, computeHash(abs));
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
};
|
|
587
|
+
walk(root, "");
|
|
588
|
+
return out;
|
|
589
|
+
}
|
|
590
|
+
function sameRows(a, b) {
|
|
591
|
+
if (a.size !== b.size) return false;
|
|
592
|
+
for (const [k, v] of a) if (b.get(k) !== v) return false;
|
|
593
|
+
return true;
|
|
594
|
+
}
|
|
595
|
+
function lockedRowsUnder(record, targetRel) {
|
|
596
|
+
if (!record) return void 0;
|
|
597
|
+
const rows = /* @__PURE__ */ new Map();
|
|
598
|
+
for (const f of record) {
|
|
599
|
+
if (f.path === targetRel) rows.set("", f.sha256);
|
|
600
|
+
else if (f.path.startsWith(`${targetRel}/`))
|
|
601
|
+
rows.set(f.path.slice(targetRel.length + 1), f.sha256);
|
|
602
|
+
}
|
|
603
|
+
return rows.size > 0 ? rows : void 0;
|
|
604
|
+
}
|
|
605
|
+
function outerComposeFolders(srcDir, refs) {
|
|
606
|
+
const taken = /* @__PURE__ */ new Map();
|
|
607
|
+
const out = [];
|
|
608
|
+
for (const ref of refs) {
|
|
609
|
+
if (!normalize(ref).startsWith("..")) continue;
|
|
610
|
+
const from = resolve(srcDir, ref);
|
|
611
|
+
let name = basename(from);
|
|
612
|
+
for (let n = 2; taken.has(name) && taken.get(name) !== from; n++) {
|
|
613
|
+
name = `${basename(from)}-${n}`;
|
|
614
|
+
}
|
|
615
|
+
taken.set(name, from);
|
|
616
|
+
out.push({ ref, name, from });
|
|
617
|
+
}
|
|
618
|
+
return out;
|
|
619
|
+
}
|
|
620
|
+
function sourceComposedFiles(srcDir, agentName, workspaceRoot) {
|
|
621
|
+
const refs = (readManifest(srcDir)?.composes ?? []).map((c) => c.ref);
|
|
622
|
+
const out = [];
|
|
623
|
+
for (const { name, from } of outerComposeFolders(srcDir, refs)) {
|
|
624
|
+
if (!existsSync(from)) continue;
|
|
625
|
+
const base = join(agentSourceCacheDir(workspaceRoot), agentName, "composes", name);
|
|
626
|
+
for (const [rel, sha256] of composeRows(from)) {
|
|
627
|
+
out.push({
|
|
628
|
+
path: relative(workspaceRoot, rel ? join(base, rel) : base).split(sep).join("/"),
|
|
629
|
+
sha256
|
|
630
|
+
});
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
return out.sort((a, b) => a.path.localeCompare(b.path));
|
|
634
|
+
}
|
|
635
|
+
function cachedComposedFiles(agentName, workspaceRoot) {
|
|
636
|
+
const dir = join(agentSourceCacheDir(workspaceRoot), agentName, "composes");
|
|
637
|
+
return [...composeRows(dir)].map(([rel, sha256]) => ({
|
|
638
|
+
path: relative(workspaceRoot, join(dir, rel)).split(sep).join("/"),
|
|
639
|
+
sha256
|
|
640
|
+
})).sort((a, b) => a.path.localeCompare(b.path));
|
|
641
|
+
}
|
|
642
|
+
function bundleParentComposes(dest, srcDir, ctx) {
|
|
537
643
|
const file = join(dest, "agent.yaml");
|
|
538
644
|
const doc = parseDocument(readFileSync(file, "utf8"));
|
|
539
645
|
const composes = doc.get("composes");
|
|
540
646
|
if (!isSeq(composes)) return;
|
|
647
|
+
const record = ctx.opts.refreshComposed ? void 0 : ctx.opts.lockedComposed?.(ctx.entry.name);
|
|
541
648
|
const taken = /* @__PURE__ */ new Map();
|
|
542
649
|
let changed = false;
|
|
543
650
|
for (const item of composes.items) {
|
|
@@ -545,23 +652,38 @@ function bundleParentComposes(dest, srcDir) {
|
|
|
545
652
|
const ref = item.get("ref");
|
|
546
653
|
if (typeof ref !== "string" || !normalize(ref).startsWith("..")) continue;
|
|
547
654
|
const from = resolve(srcDir, ref);
|
|
548
|
-
if (!existsSync(from)) continue;
|
|
549
655
|
let name = basename(from);
|
|
550
656
|
for (let n = 2; taken.has(name) && taken.get(name) !== from; n++) {
|
|
551
657
|
name = `${basename(from)}-${n}`;
|
|
552
658
|
}
|
|
553
|
-
taken.set(name, from);
|
|
554
659
|
const target = join(dest, "composes", name);
|
|
660
|
+
const targetRel = relative(ctx.workspaceRoot, target).split(sep).join("/");
|
|
661
|
+
const locked = lockedRowsUnder(record, targetRel);
|
|
662
|
+
const kept = ctx.keptDir ? join(ctx.keptDir, name) : void 0;
|
|
663
|
+
const keptRows = kept && existsSync(kept) ? composeRows(kept) : void 0;
|
|
664
|
+
let how;
|
|
665
|
+
if (locked && keptRows && sameRows(keptRows, locked)) how = "keep";
|
|
666
|
+
else if (!existsSync(from)) how = locked ? "drift" : "skip";
|
|
667
|
+
else if (!locked || sameRows(composeRows(from), locked)) how = "copy";
|
|
668
|
+
else how = "drift";
|
|
669
|
+
taken.set(name, from);
|
|
670
|
+
if (how === "skip") continue;
|
|
555
671
|
rmSync(target, { recursive: true, force: true });
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
672
|
+
mkdirSync(dirname(target), { recursive: true });
|
|
673
|
+
if (how === "copy") {
|
|
674
|
+
cpSync(from, target, {
|
|
675
|
+
recursive: true,
|
|
676
|
+
filter: (src) => {
|
|
677
|
+
if (src === from) return true;
|
|
678
|
+
const stat = lstatSync(src);
|
|
679
|
+
if (stat.isSymbolicLink()) return false;
|
|
680
|
+
return stat.isDirectory() ? !isNonAssetDir(basename(src)) : !isNonAssetFile(basename(src));
|
|
681
|
+
}
|
|
682
|
+
});
|
|
683
|
+
} else {
|
|
684
|
+
if (kept && existsSync(kept)) renameSync(kept, target);
|
|
685
|
+
if (how === "drift") ctx.opts.onComposedDrift?.(ctx.entry, ref);
|
|
686
|
+
}
|
|
565
687
|
item.set("ref", `./composes/${name}`);
|
|
566
688
|
changed = true;
|
|
567
689
|
}
|
|
@@ -571,7 +693,7 @@ function deployAsset(entry, repositories, opts, log = noop) {
|
|
|
571
693
|
return deployEntry(entry, repositories, opts, log).deployed;
|
|
572
694
|
}
|
|
573
695
|
function deployEntry(entry, repositories, opts, log, sourceKept = false, delegated = false) {
|
|
574
|
-
const
|
|
696
|
+
const harness = opts.harness ?? "claude-code";
|
|
575
697
|
const globalInstall = opts.global ?? false;
|
|
576
698
|
const cwd = opts.cwd;
|
|
577
699
|
const provider = opts.registry.getProvider(entry.kind);
|
|
@@ -579,17 +701,12 @@ function deployEntry(entry, repositories, opts, log, sourceKept = false, delegat
|
|
|
579
701
|
if (!provider || !component) return { deployed: true, changed: false };
|
|
580
702
|
if (component === "agent") {
|
|
581
703
|
const workspaceRoot = cwd ?? process.cwd();
|
|
582
|
-
const agentDeployDir = deployedBase(
|
|
583
|
-
|
|
584
|
-
driverTarget,
|
|
585
|
-
globalInstall,
|
|
586
|
-
cwd
|
|
587
|
-
);
|
|
588
|
-
const targetMap = DRIVER_TARGETS[driverTarget];
|
|
704
|
+
const agentDeployDir = deployedBase(component, harness, globalInstall, cwd);
|
|
705
|
+
const targetMap = HARNESS_TARGETS[harness];
|
|
589
706
|
const skillsRelDir = targetMap?.local.skill ?? "";
|
|
590
707
|
const wsConfig = resolveSkWorkspaceConfig(workspaceRoot);
|
|
591
708
|
const srcDir = statSync(entry.source).isDirectory() ? entry.source : dirname(entry.source);
|
|
592
|
-
for (const held of deployedPaths(component, entry.name,
|
|
709
|
+
for (const held of deployedPaths(component, entry.name, harness, globalInstall, cwd)) {
|
|
593
710
|
try {
|
|
594
711
|
if (lstatSync(held).isSymbolicLink()) unlinkSync(held);
|
|
595
712
|
} catch {
|
|
@@ -599,7 +716,7 @@ function deployEntry(entry, repositories, opts, log, sourceKept = false, delegat
|
|
|
599
716
|
srcDir,
|
|
600
717
|
agentDeployDir,
|
|
601
718
|
workspaceRoot,
|
|
602
|
-
|
|
719
|
+
harness,
|
|
603
720
|
skillsRelDir,
|
|
604
721
|
entry.name,
|
|
605
722
|
/* includeSubAgents */
|
|
@@ -614,17 +731,17 @@ function deployEntry(entry, repositories, opts, log, sourceKept = false, delegat
|
|
|
614
731
|
if (result.created.length > 0) {
|
|
615
732
|
let changed = result.changed.length > 0;
|
|
616
733
|
const staleRawCopy = join(agentDeployDir, entry.name);
|
|
617
|
-
if (
|
|
734
|
+
if (harness !== "omp" && existsSync(staleRawCopy)) {
|
|
618
735
|
clearDest(staleRawCopy);
|
|
619
736
|
changed = true;
|
|
620
737
|
}
|
|
621
738
|
if (!globalInstall && !sourceKept) {
|
|
622
|
-
materializeAgentSource(provider, entry, srcDir, workspaceRoot, log);
|
|
739
|
+
materializeAgentSource(provider, entry, srcDir, workspaceRoot, log, opts);
|
|
623
740
|
}
|
|
624
741
|
return { deployed: true, changed };
|
|
625
742
|
}
|
|
626
743
|
}
|
|
627
|
-
const dest = deployedDir(component, entry.name,
|
|
744
|
+
const dest = deployedDir(component, entry.name, harness, globalInstall, cwd);
|
|
628
745
|
mkdirSync(dirname(dest), { recursive: true });
|
|
629
746
|
const repoDecl = entry.publisher ? repositories[entry.publisher] : void 0;
|
|
630
747
|
const hasLocalPath = repoDecl?.path != null && repoDecl.factory !== true;
|
|
@@ -641,7 +758,7 @@ function deployAll(resolved, repositories, patches, opts, log = noop) {
|
|
|
641
758
|
assertNoLibrarySymlinks(resolved, opts.registry, repositories, opts.link === true);
|
|
642
759
|
const deployed = [];
|
|
643
760
|
const deployedAt = [];
|
|
644
|
-
const
|
|
761
|
+
const harness = opts.harness ?? "claude-code";
|
|
645
762
|
const globalInstall = opts.global ?? false;
|
|
646
763
|
const cwd = opts.cwd;
|
|
647
764
|
const isAgent = (entry) => installTargetOf(opts.registry, entry.kind) === "agent";
|
|
@@ -651,7 +768,7 @@ function deployAll(resolved, repositories, patches, opts, log = noop) {
|
|
|
651
768
|
const provider = opts.registry.getProvider(entry.kind);
|
|
652
769
|
if (!provider) continue;
|
|
653
770
|
const srcDir = statSync(entry.source).isDirectory() ? entry.source : dirname(entry.source);
|
|
654
|
-
materializeAgentSource(provider, entry, srcDir, cwd ?? process.cwd(), noop);
|
|
771
|
+
materializeAgentSource(provider, entry, srcDir, cwd ?? process.cwd(), noop, opts);
|
|
655
772
|
keptSources.add(entry);
|
|
656
773
|
}
|
|
657
774
|
}
|
|
@@ -665,8 +782,8 @@ function deployAll(resolved, repositories, patches, opts, log = noop) {
|
|
|
665
782
|
const component = installTargetOf(opts.registry, entry.kind);
|
|
666
783
|
if (!component) continue;
|
|
667
784
|
const ref = `${entry.kind}:${entry.name}`;
|
|
668
|
-
if (component !== "agent" && isDeployed(component, entry.name,
|
|
669
|
-
const dest = deployedDir(component, entry.name,
|
|
785
|
+
if (component !== "agent" && isDeployed(component, entry.name, harness, globalInstall, cwd)) {
|
|
786
|
+
const dest = deployedDir(component, entry.name, harness, globalInstall, cwd);
|
|
670
787
|
let destIsSymlink = false;
|
|
671
788
|
try {
|
|
672
789
|
destIsSymlink = lstatSync(dest).isSymbolicLink();
|
|
@@ -694,7 +811,7 @@ function deployAll(resolved, repositories, patches, opts, log = noop) {
|
|
|
694
811
|
return false;
|
|
695
812
|
}
|
|
696
813
|
});
|
|
697
|
-
const strayFiles = deployedAssetDrift(entry, { ...opts,
|
|
814
|
+
const strayFiles = deployedAssetDrift(entry, { ...opts, harness, global: globalInstall, cwd })?.extra.length ?? 0;
|
|
698
815
|
if (manifestUnchanged && companionsUnchanged && strayFiles === 0) {
|
|
699
816
|
log(` already deployed: ${ref}`);
|
|
700
817
|
continue;
|
|
@@ -714,7 +831,7 @@ function deployAll(resolved, repositories, patches, opts, log = noop) {
|
|
|
714
831
|
if (changed) deployedAt.push([resolved.indexOf(entry), canonicalEntryRef(entry)]);
|
|
715
832
|
const patchFile = patches[ref];
|
|
716
833
|
if (patchFile && existsSync(patchFile)) {
|
|
717
|
-
const dest = deployedDir(component, entry.name,
|
|
834
|
+
const dest = deployedDir(component, entry.name, harness, globalInstall, cwd);
|
|
718
835
|
if (applyPatch(dest, patchFile)) {
|
|
719
836
|
log(` patched ${ref}`);
|
|
720
837
|
} else {
|
|
@@ -726,9 +843,9 @@ function deployAll(resolved, repositories, patches, opts, log = noop) {
|
|
|
726
843
|
return deployed;
|
|
727
844
|
}
|
|
728
845
|
function diffDeployedAgent(entry, opts, instance) {
|
|
729
|
-
const
|
|
846
|
+
const harness = opts.harness ?? "claude-code";
|
|
730
847
|
const workspaceRoot = opts.cwd ?? process.cwd();
|
|
731
|
-
const deployedAgents = deployedBase("agent",
|
|
848
|
+
const deployedAgents = deployedBase("agent", harness, opts.global ?? false, opts.cwd);
|
|
732
849
|
const scratch = mkdtempSync(join(tmpdir(), "skaile-diff-agent-"));
|
|
733
850
|
try {
|
|
734
851
|
const renderedAgents = join(scratch, "agents");
|
|
@@ -737,8 +854,8 @@ function diffDeployedAgent(entry, opts, instance) {
|
|
|
737
854
|
srcDir,
|
|
738
855
|
renderedAgents,
|
|
739
856
|
workspaceRoot,
|
|
740
|
-
|
|
741
|
-
|
|
857
|
+
harness,
|
|
858
|
+
HARNESS_TARGETS[harness]?.local.skill ?? "",
|
|
742
859
|
instance?.id ?? entry.name,
|
|
743
860
|
/* includeSubAgents */
|
|
744
861
|
instance !== void 0,
|
|
@@ -791,16 +908,16 @@ function writeKeptLegacyCopies(paths) {
|
|
|
791
908
|
`);
|
|
792
909
|
}
|
|
793
910
|
function removeAsset(kind, name, opts) {
|
|
794
|
-
const
|
|
911
|
+
const harness = opts.harness ?? "claude-code";
|
|
795
912
|
const globalInstall = opts.global ?? false;
|
|
796
913
|
const cwd = opts.cwd;
|
|
797
914
|
const component = installTargetOf(opts.registry, kind);
|
|
798
915
|
if (!component) return false;
|
|
799
916
|
let removed = false;
|
|
800
917
|
const kept = globalInstall ? readKeptLegacyCopies() : /* @__PURE__ */ new Set();
|
|
801
|
-
const legacyOmp = globalInstall &&
|
|
918
|
+
const legacyOmp = globalInstall && harness === "omp" && component !== "flow" ? deployedPaths(component, name, "omp", false, homedir()).filter((p) => !kept.has(p)) : [];
|
|
802
919
|
for (const dest of [
|
|
803
|
-
...deployedPaths(component, name,
|
|
920
|
+
...deployedPaths(component, name, harness, globalInstall, cwd),
|
|
804
921
|
...legacyOmp
|
|
805
922
|
]) {
|
|
806
923
|
try {
|
|
@@ -812,7 +929,7 @@ function removeAsset(kind, name, opts) {
|
|
|
812
929
|
}
|
|
813
930
|
}
|
|
814
931
|
if (component === "agent") {
|
|
815
|
-
const agentDir = deployedBase(component,
|
|
932
|
+
const agentDir = deployedBase(component, harness, globalInstall, cwd);
|
|
816
933
|
const extras = [join(dirname(agentDir), CODEX_IDENTITY_DIR, `${name}.md`)];
|
|
817
934
|
if (!globalInstall) extras.push(join(agentSourceCacheDir(cwd ?? process.cwd()), name));
|
|
818
935
|
for (const extra of extras) {
|
|
@@ -914,6 +1031,6 @@ function createScaffold(name, kind, destDir, opts = {}) {
|
|
|
914
1031
|
return { ok: true, path: dest };
|
|
915
1032
|
}
|
|
916
1033
|
|
|
917
|
-
export { SCAFFOLD_KINDS, assertNoLibrarySymlinks, canonicalEntryRef, createScaffold, deployAll, deployAsset, deployedAssetDrift, diffDeployedAgent, installAgent, installTargetOf, readKeptLegacyCopies, removeAsset, writeKeptLegacyCopies };
|
|
918
|
-
//# sourceMappingURL=chunk-
|
|
919
|
-
//# sourceMappingURL=chunk-
|
|
1034
|
+
export { SCAFFOLD_KINDS, assertNoLibrarySymlinks, cachedComposedFiles, canonicalEntryRef, createScaffold, deployAll, deployAsset, deployedAssetDrift, diffDeployedAgent, installAgent, installTargetOf, readKeptLegacyCopies, removeAsset, sourceComposedFiles, writeKeptLegacyCopies };
|
|
1035
|
+
//# sourceMappingURL=chunk-NUA33BYO.js.map
|
|
1036
|
+
//# sourceMappingURL=chunk-NUA33BYO.js.map
|