@skaile/workspaces 4.39.0 → 5.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 +35 -0
- package/dist/asset-feeds-TU5CS6QL.js +131 -0
- package/dist/asset-feeds-TU5CS6QL.js.map +1 -0
- package/dist/asset-manager/catalog-deployer.js +12 -11
- package/dist/asset-manager/index.js +17 -16
- package/dist/asset-manager/installer.js +12 -11
- package/dist/asset-manager/src/catalog-deployer.d.ts +1 -3
- package/dist/asset-manager/src/catalog-deployer.d.ts.map +1 -1
- package/dist/asset-manager/src/index.d.ts +8 -9
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/bridge/drivers/claude-sdk.js +25 -13
- package/dist/bridge/drivers/claude-sdk.js.map +1 -1
- package/dist/bridge/drivers/codex.js +13 -12
- package/dist/bridge/drivers/codex.js.map +1 -1
- package/dist/bridge/drivers/continue.js +14 -13
- package/dist/bridge/drivers/continue.js.map +1 -1
- package/dist/bridge/drivers/echo.js +2 -2
- package/dist/bridge/drivers/gemini.js +6 -6
- package/dist/bridge/drivers/goose.js +14 -13
- package/dist/bridge/drivers/goose.js.map +1 -1
- package/dist/bridge/drivers/omp.js +3 -3
- package/dist/bridge/drivers/opencode.js +14 -13
- package/dist/bridge/drivers/opencode.js.map +1 -1
- package/dist/bridge/drivers/qwen.js +6 -6
- package/dist/bridge/index.js +15 -14
- package/dist/bridge/src/drivers/claude-sdk.d.ts +4 -0
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
- package/dist/bridge/src/types.d.ts +7 -0
- package/dist/bridge/src/types.d.ts.map +1 -1
- package/dist/{chunk-NLKIW2VI.js → chunk-2Y6DSR36.js} +5 -4
- package/dist/chunk-2Y6DSR36.js.map +1 -0
- package/dist/{chunk-H7N6RWNF.js → chunk-3KSAFYD4.js} +9 -5
- package/dist/chunk-3KSAFYD4.js.map +1 -0
- package/dist/{chunk-SM6EUQMY.js → chunk-3NGPZC44.js} +11 -11
- package/dist/chunk-3NGPZC44.js.map +1 -0
- package/dist/{chunk-A5EDMBFG.js → chunk-43ZBF3WH.js} +5 -8
- package/dist/chunk-43ZBF3WH.js.map +1 -0
- package/dist/{chunk-P7BU6DAC.js → chunk-55RMUF4G.js} +76 -33
- package/dist/chunk-55RMUF4G.js.map +1 -0
- package/dist/{chunk-TQ6XNACF.js → chunk-6LDUA57J.js} +25 -26
- package/dist/chunk-6LDUA57J.js.map +1 -0
- package/dist/chunk-A2ULN3KX.js +40 -0
- package/dist/chunk-A2ULN3KX.js.map +1 -0
- package/dist/{chunk-DSB6X25D.js → chunk-AG44ZJ7W.js} +3 -3
- package/dist/{chunk-DSB6X25D.js.map → chunk-AG44ZJ7W.js.map} +1 -1
- package/dist/{chunk-YCMZHL4T.js → chunk-AGWYBS2E.js} +6 -6
- package/dist/{chunk-YCMZHL4T.js.map → chunk-AGWYBS2E.js.map} +1 -1
- package/dist/{chunk-35G4M33T.js → chunk-AOMWF2OE.js} +4 -4
- package/dist/chunk-AOMWF2OE.js.map +1 -0
- package/dist/{chunk-X4DKUGV4.js → chunk-AYNPGPT5.js} +9 -15
- package/dist/chunk-AYNPGPT5.js.map +1 -0
- package/dist/{chunk-SSCPTAFJ.js → chunk-CI6FQ654.js} +3 -3
- package/dist/{chunk-SSCPTAFJ.js.map → chunk-CI6FQ654.js.map} +1 -1
- package/dist/{chunk-6X4DHKHP.js → chunk-CT6NQSA4.js} +3 -3
- package/dist/{chunk-6X4DHKHP.js.map → chunk-CT6NQSA4.js.map} +1 -1
- package/dist/{chunk-5K2VT6E2.js → chunk-DXUQCMVT.js} +3 -3
- package/dist/{chunk-5K2VT6E2.js.map → chunk-DXUQCMVT.js.map} +1 -1
- package/dist/{chunk-3C3ODIDE.js → chunk-E3ZACBHD.js} +13 -16
- package/dist/chunk-E3ZACBHD.js.map +1 -0
- package/dist/{chunk-C75VKXAM.js → chunk-E67J56FJ.js} +3 -3
- package/dist/{chunk-C75VKXAM.js.map → chunk-E67J56FJ.js.map} +1 -1
- package/dist/{chunk-B4IAZTZZ.js → chunk-EB6OPURC.js} +3 -3
- package/dist/{chunk-B4IAZTZZ.js.map → chunk-EB6OPURC.js.map} +1 -1
- package/dist/{chunk-VXPFSZDT.js → chunk-EPHQWHOH.js} +6 -6
- package/dist/{chunk-VXPFSZDT.js.map → chunk-EPHQWHOH.js.map} +1 -1
- package/dist/chunk-F7JHP7JV.js +122 -0
- package/dist/chunk-F7JHP7JV.js.map +1 -0
- package/dist/{chunk-FTPKMJFD.js → chunk-G47EV3V6.js} +2 -2
- package/dist/{chunk-FTPKMJFD.js.map → chunk-G47EV3V6.js.map} +1 -1
- package/dist/{chunk-252TK4RU.js → chunk-G4T7MYTA.js} +12 -14
- package/dist/chunk-G4T7MYTA.js.map +1 -0
- package/dist/{chunk-2EL2PBRC.js → chunk-H4EGUQ7M.js} +3 -3
- package/dist/{chunk-2EL2PBRC.js.map → chunk-H4EGUQ7M.js.map} +1 -1
- package/dist/{chunk-YV3YI3TA.js → chunk-IWCCZL7C.js} +17 -11
- package/dist/chunk-IWCCZL7C.js.map +1 -0
- package/dist/{chunk-QVLQGXT6.js → chunk-IYIIT4R3.js} +5 -5
- package/dist/{chunk-QVLQGXT6.js.map → chunk-IYIIT4R3.js.map} +1 -1
- package/dist/{chunk-YYH5EVPM.js → chunk-JUXQUZOQ.js} +12 -4
- package/dist/{chunk-YYH5EVPM.js.map → chunk-JUXQUZOQ.js.map} +1 -1
- package/dist/{chunk-BCUVRJXV.js → chunk-KAYH6AXN.js} +3 -3
- package/dist/{chunk-BCUVRJXV.js.map → chunk-KAYH6AXN.js.map} +1 -1
- package/dist/{chunk-JEPSP6XK.js → chunk-MXXKTQXJ.js} +18 -12
- package/dist/chunk-MXXKTQXJ.js.map +1 -0
- package/dist/{chunk-UDFWBALP.js → chunk-NFGRW3L7.js} +3 -3
- package/dist/{chunk-UDFWBALP.js.map → chunk-NFGRW3L7.js.map} +1 -1
- package/dist/{chunk-WCWFS36P.js → chunk-P5UQ56RA.js} +3 -3
- package/dist/{chunk-WCWFS36P.js.map → chunk-P5UQ56RA.js.map} +1 -1
- package/dist/{chunk-ORH2BZEM.js → chunk-QCI6D7E4.js} +69 -22
- package/dist/chunk-QCI6D7E4.js.map +1 -0
- package/dist/{chunk-5RWL4L3X.js → chunk-QFZFZXQW.js} +171 -28
- package/dist/chunk-QFZFZXQW.js.map +1 -0
- package/dist/{chunk-DIQDYNXZ.js → chunk-QZLWJETK.js} +3 -3
- package/dist/{chunk-DIQDYNXZ.js.map → chunk-QZLWJETK.js.map} +1 -1
- package/dist/{chunk-TSVRKUGV.js → chunk-RDTHJSGY.js} +11 -2
- package/dist/chunk-RDTHJSGY.js.map +1 -0
- package/dist/{chunk-QBQITQAM.js → chunk-RNNUYFFD.js} +3 -3
- package/dist/{chunk-QBQITQAM.js.map → chunk-RNNUYFFD.js.map} +1 -1
- package/dist/chunk-RVRB27AN.js +64 -0
- package/dist/chunk-RVRB27AN.js.map +1 -0
- package/dist/{chunk-XU7JET5Z.js → chunk-SP47UJKE.js} +37 -109
- package/dist/chunk-SP47UJKE.js.map +1 -0
- package/dist/{chunk-EB4ZTESQ.js → chunk-TOSHZX4C.js} +8 -3
- package/dist/chunk-TOSHZX4C.js.map +1 -0
- package/dist/{chunk-5NYBY6ZE.js → chunk-TVOODIZE.js} +3 -3
- package/dist/{chunk-5NYBY6ZE.js.map → chunk-TVOODIZE.js.map} +1 -1
- package/dist/{chunk-EOKAFBJ7.js → chunk-TYUJB336.js} +3 -3
- package/dist/{chunk-EOKAFBJ7.js.map → chunk-TYUJB336.js.map} +1 -1
- package/dist/{chunk-KAJH3XPW.js → chunk-U6K3I3AX.js} +3 -3
- package/dist/{chunk-KAJH3XPW.js.map → chunk-U6K3I3AX.js.map} +1 -1
- package/dist/{chunk-7RC37XFW.js → chunk-UMSWQKCY.js} +59 -12
- package/dist/chunk-UMSWQKCY.js.map +1 -0
- package/dist/{chunk-OLMNDIAU.js → chunk-UVOJSWD2.js} +95 -320
- package/dist/chunk-UVOJSWD2.js.map +1 -0
- package/dist/{chunk-DOVURNRK.js → chunk-VDJKWKH2.js} +3 -3
- package/dist/chunk-VDJKWKH2.js.map +1 -0
- package/dist/{chunk-VDBP6Y5M.js → chunk-WCQMXBO5.js} +21 -47
- package/dist/chunk-WCQMXBO5.js.map +1 -0
- package/dist/{chunk-YQEF36D5.js → chunk-WKIOWDLQ.js} +4 -4
- package/dist/{chunk-YQEF36D5.js.map → chunk-WKIOWDLQ.js.map} +1 -1
- package/dist/{chunk-5LF27VUB.js → chunk-X6E7Y4JD.js} +17 -15
- package/dist/chunk-X6E7Y4JD.js.map +1 -0
- package/dist/chunk-XUQBVK4R.js +15 -0
- package/dist/chunk-XUQBVK4R.js.map +1 -0
- package/dist/{chunk-K3IBZ2UZ.js → chunk-XUUYAS3Z.js} +3 -3
- package/dist/{chunk-K3IBZ2UZ.js.map → chunk-XUUYAS3Z.js.map} +1 -1
- package/dist/{chunk-36ML6SFP.js → chunk-YDJZRLGN.js} +4 -4
- package/dist/{chunk-36ML6SFP.js.map → chunk-YDJZRLGN.js.map} +1 -1
- package/dist/{chunk-M7GPCWEV.js → chunk-YIVB7GIP.js} +3 -3
- package/dist/{chunk-M7GPCWEV.js.map → chunk-YIVB7GIP.js.map} +1 -1
- package/dist/{chunk-VJNTB4DN.js → chunk-YMOZC2D3.js} +4 -4
- package/dist/{chunk-VJNTB4DN.js.map → chunk-YMOZC2D3.js.map} +1 -1
- package/dist/{chunk-OQRB7JUS.js → chunk-YV4J7V53.js} +3 -3
- package/dist/{chunk-OQRB7JUS.js.map → chunk-YV4J7V53.js.map} +1 -1
- package/dist/{chunk-JXT46QFC.js → chunk-ZDKJHQY2.js} +2 -2
- package/dist/{chunk-JXT46QFC.js.map → chunk-ZDKJHQY2.js.map} +1 -1
- package/dist/cli/index.js +777 -1120
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/asset-feeds.d.ts +1 -8
- package/dist/cli/src/asset-feeds.d.ts.map +1 -1
- package/dist/cli/src/commands/asset-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/catalog.d.ts.map +1 -1
- package/dist/cli/src/commands/flow.d.ts +5 -5
- package/dist/cli/src/commands/library-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/library-index.d.ts +5 -12
- 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/manage.d.ts +74 -58
- package/dist/cli/src/commands/manage.d.ts.map +1 -1
- package/dist/cli/src/commands/project.d.ts.map +1 -1
- package/dist/cli/src/commands/publish-core.d.ts +10 -0
- package/dist/cli/src/commands/publish-core.d.ts.map +1 -1
- package/dist/cli/src/commands/run.d.ts.map +1 -1
- package/dist/cli/src/commands/show.d.ts +1 -1
- package/dist/cli/src/commands/skailify-lib.d.ts +17 -31
- package/dist/cli/src/commands/skailify-lib.d.ts.map +1 -1
- package/dist/cli/src/commands/source-manifest.d.ts.map +1 -1
- package/dist/cli/src/commands/validate.d.ts +20 -2
- package/dist/cli/src/commands/validate.d.ts.map +1 -1
- package/dist/cli/src/flow-discovery.d.ts +46 -3
- package/dist/cli/src/flow-discovery.d.ts.map +1 -1
- package/dist/cli/src/helpers.d.ts +6 -0
- package/dist/cli/src/helpers.d.ts.map +1 -1
- package/dist/cli/src/hooks/pre-commit-version.d.ts +1 -1
- package/dist/cli/src/open-library.d.ts +11 -0
- package/dist/cli/src/open-library.d.ts.map +1 -1
- package/dist/cli/src/skill-walker.d.ts +7 -10
- package/dist/cli/src/skill-walker.d.ts.map +1 -1
- package/dist/connectors/config.js +7 -6
- package/dist/connectors/index.js +23 -22
- package/dist/connectors/src/connector-manager.d.ts +53 -3
- package/dist/connectors/src/connector-manager.d.ts.map +1 -1
- package/dist/connectors/src/connector-prompt.d.ts +16 -2
- package/dist/connectors/src/connector-prompt.d.ts.map +1 -1
- package/dist/connectors/src/fleet-utils.d.ts +3 -4
- package/dist/connectors/src/fleet-utils.d.ts.map +1 -1
- package/dist/connectors/src/index.d.ts +3 -3
- package/dist/connectors/src/index.d.ts.map +1 -1
- package/dist/connectors-VX7YRFFS.js +45 -0
- package/dist/{connectors-T57XL7EA.js.map → connectors-VX7YRFFS.js.map} +1 -1
- package/dist/core/discovery.js +1 -1
- package/dist/core/driver-targets.js +1 -1
- package/dist/core/index.js +11 -10
- package/dist/core/manifest.js +2 -2
- package/dist/core/models.js +1 -1
- package/dist/core/plugin-groupings.d.ts +2 -0
- package/dist/core/plugin-groupings.js +4 -0
- package/dist/core/plugin-groupings.js.map +1 -0
- package/dist/core/publish-manifest.js +2 -2
- package/dist/core/ref.js +1 -1
- package/dist/core/runtime-assets.js +7 -6
- package/dist/core/src/discovery.d.ts +11 -51
- package/dist/core/src/discovery.d.ts.map +1 -1
- package/dist/core/src/driver-targets.d.ts +10 -0
- package/dist/core/src/driver-targets.d.ts.map +1 -1
- package/dist/core/src/index.d.ts +5 -4
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/models.d.ts +6 -33
- package/dist/core/src/models.d.ts.map +1 -1
- package/dist/core/src/plugin-groupings.d.ts +31 -0
- package/dist/core/src/plugin-groupings.d.ts.map +1 -0
- package/dist/core/src/repo-manager.d.ts.map +1 -1
- package/dist/core/src/settings.d.ts +14 -1
- package/dist/core/src/settings.d.ts.map +1 -1
- package/dist/core/src/workspace-config.d.ts +1 -1
- package/dist/core/store.js +2 -2
- package/dist/core/workspace-config.js +6 -5
- package/dist/deploy/index.js +11 -10
- package/dist/deploy/index.js.map +1 -1
- package/dist/discovery/index.js +6 -5
- package/dist/discovery/src/discover.d.ts +9 -25
- package/dist/discovery/src/discover.d.ts.map +1 -1
- package/dist/discovery/src/index.d.ts +0 -2
- package/dist/discovery/src/index.d.ts.map +1 -1
- package/dist/discovery/src/source-config.d.ts +13 -9
- package/dist/discovery/src/source-config.d.ts.map +1 -1
- package/dist/discovery/src/tree-entries.d.ts +6 -11
- package/dist/discovery/src/tree-entries.d.ts.map +1 -1
- package/dist/{ensure-sources-J5CDTQ36.js → ensure-sources-2XQS32WI.js} +20 -19
- package/dist/ensure-sources-2XQS32WI.js.map +1 -0
- package/dist/factory-assets/README.md +1 -1
- package/dist/factory-assets/connectors/box.js +23 -22
- package/dist/factory-assets/connectors/deploy.js +23 -22
- package/dist/factory-assets/connectors/devserver.js +23 -22
- package/dist/factory-assets/connectors/flow/CONNECTOR.md +6 -1
- package/dist/factory-assets/connectors/flow/adapter.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/adapter.js +23 -22
- package/dist/factory-assets/connectors/flow/contract/flow.v2.schema.json +13 -3
- package/dist/factory-assets/connectors/flow/contract/index.d.ts +1 -0
- package/dist/factory-assets/connectors/flow/contract/index.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/contract/output-fields.d.ts +21 -5
- package/dist/factory-assets/connectors/flow/contract/output-fields.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/contract/schema.d.ts +2 -0
- package/dist/factory-assets/connectors/flow/contract/schema.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/contract/sub-flow-output.d.ts +20 -0
- package/dist/factory-assets/connectors/flow/contract/sub-flow-output.d.ts.map +1 -0
- package/dist/factory-assets/connectors/flow/contract.js +4 -4
- package/dist/factory-assets/connectors/flow/engine/bindings.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine/flow-output.d.ts +12 -0
- package/dist/factory-assets/connectors/flow/engine/flow-output.d.ts.map +1 -0
- package/dist/factory-assets/connectors/flow/engine/index.d.ts +1 -0
- package/dist/factory-assets/connectors/flow/engine/index.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine/loader.d.ts +3 -3
- package/dist/factory-assets/connectors/flow/engine/locate.d.ts +2 -2
- package/dist/factory-assets/connectors/flow/engine/locate.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine/types.d.ts +0 -2
- package/dist/factory-assets/connectors/flow/engine/types.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine.js +15 -14
- package/dist/factory-assets/connectors/flow/inline-sub-flow-host.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/prompt-fragments.js +3 -3
- package/dist/factory-assets/connectors/flow/run-flow.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/run-flow.js +25 -24
- package/dist/factory-assets/connectors/flow/sub-flow-runner.d.ts +6 -5
- package/dist/factory-assets/connectors/flow/sub-flow-runner.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow.js +23 -22
- package/dist/factory-assets/connectors/git.js +23 -22
- package/dist/factory-assets/connectors/gmail.js +23 -22
- package/dist/factory-assets/connectors/googledrive.js +23 -22
- package/dist/factory-assets/connectors/local.js +23 -22
- package/dist/factory-assets/connectors/mattermost.js +23 -22
- package/dist/factory-assets/connectors/memory.js +23 -22
- package/dist/factory-assets/connectors/minio.js +23 -22
- package/dist/factory-assets/connectors/postgres.js +23 -22
- package/dist/factory-assets/connectors/s3.js +23 -22
- package/dist/factory-assets/connectors/sharepoint.js +23 -22
- package/dist/factory-assets/connectors/sqlite.js +23 -22
- package/dist/factory-assets/connectors/static-server.js +23 -22
- package/dist/factory-assets/connectors/tunnel.js +23 -22
- package/dist/factory-assets/connectors/webdav.js +23 -22
- package/dist/factory-assets/connectors/xstate-store.js +23 -22
- package/dist/factory-assets/connectors/xstate.js +23 -22
- package/dist/factory-assets/skills/skaile-author-asset/SKILL.md +37 -26
- package/dist/factory-assets/skills/skaile-manage-workspace/SKILL.md +2 -2
- package/dist/factory-assets/skills/skailify/SKILL.md +10 -19
- package/dist/flows-SVCCADGE.js +26 -0
- package/dist/{flows-PX53XFV7.js.map → flows-SVCCADGE.js.map} +1 -1
- package/dist/helpers-IELQGVGB.js +34 -0
- package/dist/{helpers-EP6H3O3S.js.map → helpers-IELQGVGB.js.map} +1 -1
- package/dist/library/index.js +15 -14
- package/dist/library/install.js +2 -2
- package/dist/library/src/index.d.ts +1 -1
- package/dist/library/src/index.d.ts.map +1 -1
- package/dist/library/src/local/db.d.ts.map +1 -1
- package/dist/library/src/local/library-manager.d.ts.map +1 -1
- package/dist/library/src/local/library.d.ts.map +1 -1
- package/dist/library/src/local/local-catalog-source.d.ts +14 -10
- package/dist/library/src/local/local-catalog-source.d.ts.map +1 -1
- package/dist/library/src/local/schema.d.ts +1 -20
- package/dist/library/src/local/schema.d.ts.map +1 -1
- package/dist/library/src/remote/remote-catalog-source.d.ts +1 -11
- package/dist/library/src/remote/remote-catalog-source.d.ts.map +1 -1
- package/dist/library/src/sync/manifest-writeback.d.ts +5 -5
- package/dist/library/src/sync/manifest-writeback.d.ts.map +1 -1
- package/dist/library/src/user-library.d.ts +1 -9
- package/dist/library/src/user-library.d.ts.map +1 -1
- package/dist/{library-publish-KKT73FJK.js → library-publish-TCFU3X5L.js} +39 -26
- package/dist/library-publish-TCFU3X5L.js.map +1 -0
- package/dist/open-library-SSBN4FX2.js +40 -0
- package/dist/{open-library-R62UBL6E.js.map → open-library-SSBN4FX2.js.map} +1 -1
- package/dist/open-registry-CHCWKV5W.js +32 -0
- package/dist/open-registry-CHCWKV5W.js.map +1 -0
- package/dist/paths-MKSI52PF.js +22 -0
- package/dist/{paths-W4LDORQQ.js.map → paths-MKSI52PF.js.map} +1 -1
- package/dist/{plugin-store-D45CREMJ.js → plugin-store-SVYV7L4C.js} +13 -12
- package/dist/plugin-store-SVYV7L4C.js.map +1 -0
- package/dist/plugins/index.js +1 -1
- package/dist/plugins/src/catalog-source.d.ts +4 -55
- package/dist/plugins/src/catalog-source.d.ts.map +1 -1
- package/dist/plugins/src/index.d.ts +1 -1
- package/dist/plugins/src/index.d.ts.map +1 -1
- package/dist/project-PJ37PM6N.js +35 -0
- package/dist/{project-GCW5DFAB.js.map → project-PJ37PM6N.js.map} +1 -1
- package/dist/resolver/index.js +12 -11
- package/dist/runner/index.js +35 -34
- package/dist/runner/src/compaction/orchestrator.d.ts +2 -1
- package/dist/runner/src/compaction/orchestrator.d.ts.map +1 -1
- package/dist/runner/src/compaction-gate.d.ts +13 -0
- package/dist/runner/src/compaction-gate.d.ts.map +1 -1
- package/dist/runner/src/fleet-health-flag-dispatcher.d.ts +14 -11
- package/dist/runner/src/fleet-health-flag-dispatcher.d.ts.map +1 -1
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +17 -16
- package/dist/sdk/bridge.js +15 -14
- package/dist/sdk/core.js +11 -10
- package/dist/sdk/flow.js +15 -14
- package/dist/sdk/index.js +35 -34
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/resolver.js +12 -11
- package/dist/sdk/runner.js +35 -34
- package/dist/secrets/index.js +2 -2
- package/dist/{setup-Q3LXY5AE.js → setup-JW2ZGCUG.js} +25 -24
- package/dist/setup-JW2ZGCUG.js.map +1 -0
- package/dist/skills-7K2YO3KN.js +26 -0
- package/dist/{skills-R3RPIPWP.js.map → skills-7K2YO3KN.js.map} +1 -1
- package/dist/source-F2VO32W6.js +41 -0
- package/dist/{source-CFQESKJU.js.map → source-F2VO32W6.js.map} +1 -1
- package/dist/{source-manifest-publish-3TCBA2RV.js → source-manifest-publish-AXNII2J4.js} +29 -27
- package/dist/source-manifest-publish-AXNII2J4.js.map +1 -0
- package/dist/tui/index.js +35 -34
- package/dist/tui/index.js.map +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +40 -18
- package/dist/workspace-plugin/adapters/omp.js +21 -21
- package/dist/workspace-plugin/adapters/omp.js.map +1 -1
- package/dist/workspace-plugin/index.js +1 -1
- package/dist/workspace-plugin/src/adapters/mcp.d.ts +4 -4
- package/dist/workspace-plugin/src/adapters/mcp.d.ts.map +1 -1
- package/dist/workspace-plugin/src/adapters/omp.d.ts +2 -2
- package/dist/workspace-plugin/src/tools/connectors.d.ts +1 -1
- package/dist/workspace-plugin/src/tools/connectors.d.ts.map +1 -1
- package/dist/workspace-plugin/src/tools/skills.d.ts +5 -17
- package/dist/workspace-plugin/src/tools/skills.d.ts.map +1 -1
- package/package.json +7 -1
- package/dist/asset-feeds-KXL45ALC.js +0 -210
- package/dist/asset-feeds-KXL45ALC.js.map +0 -1
- package/dist/chunk-252TK4RU.js.map +0 -1
- package/dist/chunk-35G4M33T.js.map +0 -1
- package/dist/chunk-3C3ODIDE.js.map +0 -1
- package/dist/chunk-5LF27VUB.js.map +0 -1
- package/dist/chunk-5RWL4L3X.js.map +0 -1
- package/dist/chunk-7RC37XFW.js.map +0 -1
- package/dist/chunk-A5EDMBFG.js.map +0 -1
- package/dist/chunk-DOVURNRK.js.map +0 -1
- package/dist/chunk-EB4ZTESQ.js.map +0 -1
- package/dist/chunk-H7N6RWNF.js.map +0 -1
- package/dist/chunk-JEPSP6XK.js.map +0 -1
- package/dist/chunk-NLKIW2VI.js.map +0 -1
- package/dist/chunk-OLMNDIAU.js.map +0 -1
- package/dist/chunk-ORH2BZEM.js.map +0 -1
- package/dist/chunk-P7BU6DAC.js.map +0 -1
- package/dist/chunk-QVZA2MDT.js +0 -81
- package/dist/chunk-QVZA2MDT.js.map +0 -1
- package/dist/chunk-SM6EUQMY.js.map +0 -1
- package/dist/chunk-TQ6XNACF.js.map +0 -1
- package/dist/chunk-TSVRKUGV.js.map +0 -1
- package/dist/chunk-VDBP6Y5M.js.map +0 -1
- package/dist/chunk-X4DKUGV4.js.map +0 -1
- package/dist/chunk-XU7JET5Z.js.map +0 -1
- package/dist/chunk-YV3YI3TA.js.map +0 -1
- package/dist/connectors-T57XL7EA.js +0 -5
- package/dist/discovery/src/domains.d.ts +0 -149
- package/dist/discovery/src/domains.d.ts.map +0 -1
- package/dist/ensure-sources-J5CDTQ36.js.map +0 -1
- package/dist/flows-PX53XFV7.js +0 -25
- package/dist/helpers-EP6H3O3S.js +0 -33
- package/dist/library-publish-KKT73FJK.js.map +0 -1
- package/dist/open-library-R62UBL6E.js +0 -38
- package/dist/paths-W4LDORQQ.js +0 -21
- package/dist/plugin-store-D45CREMJ.js.map +0 -1
- package/dist/project-GCW5DFAB.js +0 -34
- package/dist/setup-Q3LXY5AE.js.map +0 -1
- package/dist/skills-R3RPIPWP.js +0 -25
- package/dist/source-CFQESKJU.js +0 -39
- package/dist/source-manifest-publish-3TCBA2RV.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#997](https://github.com/skaile-ai/workspaces/pull/997) [`cf877b2`](https://github.com/skaile-ai/workspaces/commit/cf877b2e9ae6e9a657e6434c4b07f6298562cc1e) Thanks [@Frozen666](https://github.com/Frozen666)! - `connector_list` now reports each host fleet mount's health, so an agent can see a mount that died mid-session and tell the user instead of writing into it. Each fleet mount in `connected` carries `health: { status: "ok" | "stale" | "failed", errorClass?, detail?, checkedAt }`, built from the in-container liveness probe and the host's verdict in `.skaile/fleet-health/<id>` (which `reportFleetHealth` now records instead of dropping). When a mount is not ok the result adds a one-line `notice`: "Tell the user; do not write to it." The `## Mounts` prompt section gets one line telling the agent when to check. Report-only: nothing blocks writes. New: `ConnectorManager.checkMountHealth`, `listConnectorsWithHealth`, `isFleetManagedMount`, `clearFleetHealth`, `buildConnectorListPayload`, and the `MountHealth` types.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#995](https://github.com/skaile-ai/workspaces/pull/995) [`4aa174f`](https://github.com/skaile-ai/workspaces/commit/4aa174fdcb0b2fc4fb18adba20b8639a14e74713) Thanks [@mortegro](https://github.com/mortegro)! - `skaile add`, `install`, `update`, `remove`, `list` and `clean` now deploy into the harness the project is configured for. Before, a project created with `skaile init --harness codex` (or `--harness omp`) got every asset in `.claude/skills/`, although `skaile config show` reported `.codex/skills` (or `.omp/skills`) and the harness never reads `.claude/`; `list` showed the asset as `installed` because it looked in the same wrong place. Now the default target is the `driver` from `skaile.yaml` / `.skaile/settings.json` — the one `skaile config show` resolves — so `add` writes `.codex/skills/<name>/SKILL.md` (or `.omp/skills/…`), and `install --locked` and `remove` use the same directory. A project that configures no driver still uses `.claude/`, and an explicit `--target <agent>` still wins.
|
|
12
|
+
|
|
13
|
+
- [#995](https://github.com/skaile-ai/workspaces/pull/995) [`4aa174f`](https://github.com/skaile-ai/workspaces/commit/4aa174fdcb0b2fc4fb18adba20b8639a14e74713) Thanks [@mortegro](https://github.com/mortegro)! - `skaile flow list` and `flow show` now find the flows in your local libraries. Before, a flow made with `skaile library create flow <name>` (or `… --dir <dir>`) was found by `skaile search flow --local`, but `skaile flow list` printed `No flows found.` until you ran `skaile add`: `flow list` only looked inside `flows/` directories, while `library create` writes the flow to `<library>/<name>/` or `<library>/<dir>/<name>/`. Now `flow list`, `flow show` and `skaile run <flow-id>` also read every registered local library with the same scan `skaile library index` uses, so a new flow shows up straight away. An installed copy in `.skaile/flows/` still wins over the library original, so a flow added to a project is listed once. Resuming a run, sub-flow targets and `skaile serve` still need the flow added first.
|
|
14
|
+
|
|
15
|
+
- [#995](https://github.com/skaile-ai/workspaces/pull/995) [`4aa174f`](https://github.com/skaile-ai/workspaces/commit/4aa174fdcb0b2fc4fb18adba20b8639a14e74713) Thanks [@mortegro](https://github.com/mortegro)! - Libraries: deleting an asset's directory no longer leaves a ghost in `skaile.manifest.yaml`. Before, the entry stayed, `skaile validate` still passed and `skaile library publish --dry-run` still planned to publish it. Now `skaile library index <lib>` removes manifest entries whose `root` directory is gone and prints one `Removed manifest entry <ref> (root <dir> is gone)` line per entry (a root that exists but is malformed is kept and warned about, as before). `skaile library publish` / `register` (also `--dry-run`) refuse with exit 1 while the manifest lists a missing root, naming it and pointing at `skaile library index <lib>`. `skaile validate` on a library fails for such an entry, naming the entry and the fix.
|
|
16
|
+
|
|
17
|
+
## 5.0.0
|
|
18
|
+
|
|
19
|
+
### Major Changes
|
|
20
|
+
|
|
21
|
+
- [#992](https://github.com/skaile-ai/workspaces/pull/992) [`6208c41`](https://github.com/skaile-ai/workspaces/commit/6208c4111374fca7d3a4e3aa5f08ee8804d52da5) Thanks [@mortegro](https://github.com/mortegro)! - Remove the "domains" concept. It was two tangled ideas: a navigational `DOMAIN.md` descriptor layer, and a first-path-segment layout convention (`<root>/<domain>/<kind>/`) that silently set the publisher, the library `structure` and how deep discovery walked. Both are gone.
|
|
22
|
+
|
|
23
|
+
- **Discovery is depth-agnostic.** Assets are found at any depth under a content root (`ai-assets/`, a source repo, a library); folder names carry no meaning. `findKindDirs(root, kindDirName)` in `@skaile/workspaces/core` replaces `assetSearchDirs` / `ASSET_KIND_DIRS` / `detectDomains`; `detectAiResources` is removed without a replacement export (the flow engine keeps a private upward `ai-assets/` lookup). `validate versions`, `validate changelog` and the pre-commit hook walk `ai-assets/` recursively; a modified asset's changelog unit is its nearest ancestor `CHANGELOG.md`.
|
|
24
|
+
- **Publisher never comes from a path segment.** Order: `publisher_overrides` match, literal `publisher_default` (used exactly as written), explicit `--publisher` / `DiscoveryOptions.publisher`, store identity / git org, repo or library short name. A legacy `publisher_default: '@<domain>'` is now rejected by source-config validation (use a literal or `publisher_overrides`); it is not treated as unset. `manifestToSourceConfig`, `decodeManifestSourceConfig` and `readManifestSourceConfig` take a required `fallbackPublisher`; `loadMergedSourceConfig` and `loadMergedSourceConfigFromFile` accept it as an optional trailing argument; `resolveLibraryPublisher` drops its domain argument.
|
|
25
|
+
- **Grouping follows the skills CLI** (vercel-labs `npx skills`): `.claude-plugin/marketplace.json` then `.claude-plugin/plugin.json` membership. `skaile manage` renders each plugin as a collapsible, select-all group and puts unlisted assets under `Other` (only when the band has a plugin group). `CatalogEntry.plugin`, `CatalogAsset.plugin` and `DiscoveredAsset.plugin` carry it (display-only); `readPluginGroupings` / `pluginTitle` are exported from `@skaile/workspaces/core`.
|
|
26
|
+
- **Removed:** `DOMAIN.md` parsing and every `Domain*` export from `discovery`, `core`, `plugins` and `library` (including `applyDomains` and `describeDomainError`); `detectAiResources` from `core`; `library domain create|list|show`, `library set structure=` and the library `structure` concept; `asset import --domain`, `asset migrate --domain`, `validate versions --domain`; MCP `skill_list_domains` and the `skill_list` `domain` param; `ICatalogSource.listDomains`; `source_domain` in compiled catalogs (deployer ids are `<publisher>/<name>`); `OverviewResult.byDomain` is now `byPublisher`.
|
|
27
|
+
|
|
28
|
+
The rationale for a major bump: public exports, CLI commands, an MCP tool and the compiled catalog shape change. See `MIGRATION.md` ("MAJOR: domains removed; plugin grouping, path-free publishers") for the full `from → to` table and fix steps.
|
|
29
|
+
|
|
30
|
+
### Minor Changes
|
|
31
|
+
|
|
32
|
+
- [#967](https://github.com/skaile-ai/workspaces/pull/967) [`29a4562`](https://github.com/skaile-ai/workspaces/commit/29a45628b3620be7110963ad7a2710a59f325969) Thanks [@Frozen666](https://github.com/Frozen666)! - Flows: a sub-flow node can now return the child flow's output. A child flow declares `output.bindings` next to `output.schema`, one binding per schema property, in the same syntax as node input bindings. When the child completes, the bound values are validated against `output.schema` and become the parent node's `output.fields`, so a parent router, binding or `contract.requires` guard can read `nodes.<sub>.output.fields.<x>`. The parent node declares the fields it reads in its own `contract.output.fields`. Returned fields are always agent-obtained on the parent. A missing source value or a schema mismatch fails the child. A parent read that the resolved child does not return fails the sub-flow node before any child node runs, naming both flows. The new `undeclaredSubFlowOutputReads` (from `factory-assets/connectors/flow/contract`) lets a host run the same check at save time. A flow `output.schema` without `bindings` still returns nothing.
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- [#994](https://github.com/skaile-ai/workspaces/pull/994) [`965f976`](https://github.com/skaile-ai/workspaces/commit/965f9765e94d62e9d6c47595289bbe87e1fb00ec) Thanks [@peteralbert](https://github.com/peteralbert)! - Fix compactions that hung for 2×10 minutes after a driver swap. A swap (provider config switch, tool rebuild) could kill the driver mid-compaction; the compaction and its retry then waited on the dead driver until the 10-minute bound fired twice. Compactions now hold driver swaps off and skip when a swap is pending; `ClaudeSdkDriver.kill()` rejects a turn still in flight, and a killed driver now rejects any later `prompt()` (the contract already forbade reuse); and a compaction turn that shows no driver activity for `SKAILE_COMPACTION_INACTIVITY_MS` (default 3 min) is aborted early, while one that keeps streaming still runs to the 10-minute ceiling.
|
|
37
|
+
|
|
3
38
|
## 4.39.0
|
|
4
39
|
|
|
5
40
|
### Minor Changes
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import './chunk-IWCCZL7C.js';
|
|
2
|
+
import './chunk-4GY63JU6.js';
|
|
3
|
+
import { factoryAssetRoots } from './chunk-YDJZRLGN.js';
|
|
4
|
+
import './chunk-U6K3I3AX.js';
|
|
5
|
+
import './chunk-K5GBV4SA.js';
|
|
6
|
+
import './chunk-A2ULN3KX.js';
|
|
7
|
+
import { scanRepo } from './chunk-MXXKTQXJ.js';
|
|
8
|
+
import './chunk-TLKM4M47.js';
|
|
9
|
+
import './chunk-TOSHZX4C.js';
|
|
10
|
+
import './chunk-AG44ZJ7W.js';
|
|
11
|
+
import './chunk-RVRB27AN.js';
|
|
12
|
+
import './chunk-DXUQCMVT.js';
|
|
13
|
+
import './chunk-43ZBF3WH.js';
|
|
14
|
+
import './chunk-ICSCSM5D.js';
|
|
15
|
+
import './chunk-JMKB7IB4.js';
|
|
16
|
+
import './chunk-MJHSLODD.js';
|
|
17
|
+
import './chunk-C3CAXQMA.js';
|
|
18
|
+
import './chunk-BOFL7GIF.js';
|
|
19
|
+
import './chunk-NSBPE2FW.js';
|
|
20
|
+
import { existsSync } from 'fs';
|
|
21
|
+
import * as path from 'path';
|
|
22
|
+
|
|
23
|
+
async function libraryAssets() {
|
|
24
|
+
const notes = [];
|
|
25
|
+
try {
|
|
26
|
+
const { openLibraryManager, authoringLibraries } = await import('./open-library-SSBN4FX2.js');
|
|
27
|
+
const { manager, close } = await openLibraryManager();
|
|
28
|
+
try {
|
|
29
|
+
const libs = authoringLibraries(await manager.listLibraries());
|
|
30
|
+
const entries = [];
|
|
31
|
+
for (const lib of libs) {
|
|
32
|
+
if (!existsSync(lib.path)) continue;
|
|
33
|
+
const libEntries = [...await scanRepo(lib.path, lib.name)];
|
|
34
|
+
for (const entry of libEntries) entries.push({ origin: "library", entry, group: lib.name });
|
|
35
|
+
}
|
|
36
|
+
return { entries, notes };
|
|
37
|
+
} finally {
|
|
38
|
+
close();
|
|
39
|
+
}
|
|
40
|
+
} catch (err) {
|
|
41
|
+
notes.push({
|
|
42
|
+
feed: "libraries",
|
|
43
|
+
message: err instanceof Error ? err.message : String(err)
|
|
44
|
+
});
|
|
45
|
+
return { entries: [], notes };
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
async function storeAssets(projectDir) {
|
|
49
|
+
const notes = [];
|
|
50
|
+
try {
|
|
51
|
+
const { resolveCatalogSource } = await import('./open-library-SSBN4FX2.js');
|
|
52
|
+
const { source, close } = await resolveCatalogSource({ projectDir });
|
|
53
|
+
try {
|
|
54
|
+
const assets = await source.listAssets();
|
|
55
|
+
const entries = assets.map((a) => ({
|
|
56
|
+
name: a.name,
|
|
57
|
+
kind: a.kind ?? "skill",
|
|
58
|
+
description: a.description ?? "",
|
|
59
|
+
source: `store://${a.id}`,
|
|
60
|
+
publisher: a.publisher,
|
|
61
|
+
repo: a.repo,
|
|
62
|
+
plugin: a.plugin,
|
|
63
|
+
category: a.category,
|
|
64
|
+
version: a.version,
|
|
65
|
+
requires: [],
|
|
66
|
+
dependencies: []
|
|
67
|
+
}));
|
|
68
|
+
return { entries, notes };
|
|
69
|
+
} finally {
|
|
70
|
+
close();
|
|
71
|
+
}
|
|
72
|
+
} catch (err) {
|
|
73
|
+
const msg = err instanceof Error ? err.message : String(err);
|
|
74
|
+
if (!/local/i.test(msg)) {
|
|
75
|
+
notes.push({ feed: "store", message: msg });
|
|
76
|
+
}
|
|
77
|
+
return { entries: [], notes };
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
async function sourceAssets(am) {
|
|
81
|
+
const factoryPrefixes = factoryAssetRoots().map((r) => r.endsWith(path.sep) ? r : r + path.sep);
|
|
82
|
+
const isFactoryPath = (p) => factoryPrefixes.some((fp) => p === fp.slice(0, -1) || p.startsWith(fp));
|
|
83
|
+
const all = (await am.search()).filter((e) => !isFactoryPath(e.source));
|
|
84
|
+
const entries = [];
|
|
85
|
+
for (const { repoName, root } of am.searchRepoRoots()) {
|
|
86
|
+
if (isFactoryPath(root)) continue;
|
|
87
|
+
const prefix = root.endsWith(path.sep) ? root : root + path.sep;
|
|
88
|
+
const owned = all.filter((e) => e.source === root || e.source.startsWith(prefix));
|
|
89
|
+
if (owned.length === 0) continue;
|
|
90
|
+
const sourceName = repoName.split("/").pop() || repoName;
|
|
91
|
+
for (const entry of owned) entries.push({ origin: "source", entry, group: sourceName });
|
|
92
|
+
}
|
|
93
|
+
return entries;
|
|
94
|
+
}
|
|
95
|
+
async function factoryAssets() {
|
|
96
|
+
const notes = [];
|
|
97
|
+
try {
|
|
98
|
+
const entries = [];
|
|
99
|
+
for (const root of factoryAssetRoots()) {
|
|
100
|
+
entries.push(...await scanRepo(root, "skaile-factory"));
|
|
101
|
+
}
|
|
102
|
+
return { entries, notes };
|
|
103
|
+
} catch (err) {
|
|
104
|
+
notes.push({
|
|
105
|
+
feed: "factory",
|
|
106
|
+
message: err instanceof Error ? err.message : String(err)
|
|
107
|
+
});
|
|
108
|
+
return { entries: [], notes };
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
function tag(origin, entries) {
|
|
112
|
+
return entries.map((entry) => ({ origin, entry }));
|
|
113
|
+
}
|
|
114
|
+
async function gatherAssetFeeds(am, projectDir) {
|
|
115
|
+
const [libs, store] = await Promise.all([libraryAssets(), storeAssets(projectDir)]);
|
|
116
|
+
const factory = await factoryAssets();
|
|
117
|
+
const src = await sourceAssets(am);
|
|
118
|
+
return {
|
|
119
|
+
entries: [
|
|
120
|
+
...src,
|
|
121
|
+
...libs.entries,
|
|
122
|
+
...tag("factory", factory.entries),
|
|
123
|
+
...tag("store", store.entries)
|
|
124
|
+
],
|
|
125
|
+
notes: [...libs.notes, ...store.notes, ...factory.notes]
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export { gatherAssetFeeds };
|
|
130
|
+
//# sourceMappingURL=asset-feeds-TU5CS6QL.js.map
|
|
131
|
+
//# sourceMappingURL=asset-feeds-TU5CS6QL.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../cli/src/asset-feeds.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAkEA,eAAe,aAAA,GAGZ;AACD,EAAA,MAAM,QAAoB,EAAC;AAC3B,EAAA,IAAI;AACF,IAAA,MAAM,EAAE,kBAAA,EAAoB,kBAAA,EAAmB,GAAI,MAAM,OAAO,4BAAmB,CAAA;AACnF,IAAA,MAAM,EAAE,OAAA,EAAS,KAAA,EAAM,GAAI,MAAM,kBAAA,EAAmB;AACpD,IAAA,IAAI;AAEF,MAAA,MAAM,IAAA,GAAO,kBAAA,CAAmB,MAAM,OAAA,CAAQ,eAAe,CAAA;AAC7D,MAAA,MAAM,UAAyB,EAAC;AAChC,MAAA,KAAA,MAAW,OAAO,IAAA,EAAM;AACtB,QAAA,IAAI,CAAC,UAAA,CAAW,GAAA,CAAI,IAAI,CAAA,EAAG;AAC3B,QAAA,MAAM,UAAA,GAAa,CAAC,GAAI,MAAM,SAAS,GAAA,CAAI,IAAA,EAAM,GAAA,CAAI,IAAI,CAAE,CAAA;AAC3D,QAAA,KAAA,MAAW,KAAA,IAAS,UAAA,EAAY,OAAA,CAAQ,IAAA,CAAK,EAAE,MAAA,EAAQ,SAAA,EAAW,KAAA,EAAO,KAAA,EAAO,GAAA,CAAI,IAAA,EAAM,CAAA;AAAA,MAC5F;AACA,MAAA,OAAO,EAAE,SAAS,KAAA,EAAM;AAAA,IAC1B,CAAA,SAAE;AACA,MAAA,KAAA,EAAM;AAAA,IACR;AAAA,EACF,SAAS,GAAA,EAAK;AACZ,IAAA,KAAA,CAAM,IAAA,CAAK;AAAA,MACT,IAAA,EAAM,WAAA;AAAA,MACN,SAAS,GAAA,YAA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aAAA,EAAc;AACpC,EAAA,MAAM,GAAA,GAAM,MAAM,YAAA,CAAa,EAAE,CAAA;AACjC,EAAA,OAAO;AAAA,IACL,OAAA,EAAS;AAAA,MACP,GAAG,GAAA;AAAA,MACH,GAAG,IAAA,CAAK,OAAA;AAAA,MACR,GAAG,GAAA,CAAI,SAAA,EAAW,OAAA,CAAQ,OAAO,CAAA;AAAA,MACjC,GAAG,GAAA,CAAI,OAAA,EAAS,KAAA,CAAM,OAAO;AAAA,KAC/B;AAAA,IACA,KAAA,EAAO,CAAC,GAAG,IAAA,CAAK,KAAA,EAAO,GAAG,KAAA,CAAM,KAAA,EAAO,GAAG,OAAA,CAAQ,KAAK;AAAA,GACzD;AACF","file":"asset-feeds-TU5CS6QL.js","sourcesContent":["/**\n * asset-feeds.ts — gather installable assets from every feed the manage TUI\n * surfaces.\n *\n * Four feeds, normalized into `CatalogEntry`:\n * - **Project sources** — `skaile.yaml` `sources:` entries (scanned via\n * `AssetManager.search()`; the new `sources:` field is merged into the\n * legacy repositories map in `AssetManager.loadConfig`).\n * - **Local libraries** — user authoring places from `LocalIndex` (filesystem\n * scan of each library's `path`).\n * - **Factory assets** — the bundled first-party `factory-assets` tree\n * (`factoryAssetRoots()`), scanned from disk. Always present; no network.\n * - **Remote store** — the configured catalog source when `catalog.url` is\n * not `local`. Failures are non-fatal — they surface as notes.\n */\n\nimport { existsSync } from \"node:fs\";\nimport * as path from \"node:path\";\nimport {\n type AssetKind,\n type CatalogEntry,\n factoryAssetRoots,\n scanRepo,\n} from \"@skaile/workspaces/core\";\n\n/** One non-fatal note returned to the caller for surfacing in the UI. */\nexport interface FeedNote {\n feed: \"sources\" | \"libraries\" | \"store\" | \"factory\";\n message: string;\n}\n\n/**\n * Which feed an asset came from. This is the top-level grouping axis in the\n * manage TUI (\"where is this skill coming from?\") and is intentionally distinct\n * from `publisher` (asset-intrinsic identity): the same publisher can legitimately\n * appear under more than one origin (e.g. a github repo you added as a `source`\n * that is also listed in the remote `store`).\n */\nexport type AssetOrigin = \"source\" | \"library\" | \"factory\" | \"store\";\n\n/** A catalog entry tagged with the feed it was gathered from. */\nexport interface OriginEntry {\n origin: AssetOrigin;\n entry: CatalogEntry;\n /**\n * Second-level grouping label for the manage tree. Defaults (when unset) to the\n * entry's `publisher`; the source feed sets it to the source's short repo name\n * so the Sources band groups by source — \"which repo did this come from\" — not\n * by the asset-intrinsic publisher.\n */\n group?: string;\n}\n\nexport interface AssetFeedResult {\n entries: OriginEntry[];\n notes: FeedNote[];\n}\n\n/**\n * Pull assets from local libraries (the authoring places under\n * `~/.skaile/libraries/<name>/`, not the `~/.skaile/cache/sources/` cache). Each\n * library's `path` is scanned with `scanRepo` and grouped under the bare library\n * name (`group: <name>`) so the manage TUI shows a clean `<name>` band — no\n * `library:` prefix (mirrors the source feed). Plugin grouping (`entry.plugin`)\n * is stamped by `scanRepo`.\n */\nasync function libraryAssets(): Promise<{\n entries: OriginEntry[];\n notes: FeedNote[];\n}> {\n const notes: FeedNote[] = [];\n try {\n const { openLibraryManager, authoringLibraries } = await import(\"./open-library.ts\");\n const { manager, close } = await openLibraryManager();\n try {\n // Authoring libraries are the rows that are NOT source clones.\n const libs = authoringLibraries(await manager.listLibraries());\n const entries: OriginEntry[] = [];\n for (const lib of libs) {\n if (!existsSync(lib.path)) continue;\n const libEntries = [...(await scanRepo(lib.path, lib.name))];\n for (const entry of libEntries) entries.push({ origin: \"library\", entry, group: lib.name });\n }\n return { entries, notes };\n } finally {\n close();\n }\n } catch (err) {\n notes.push({\n feed: \"libraries\",\n message: err instanceof Error ? err.message : String(err),\n });\n return { entries: [], notes };\n }\n}\n\n/**\n * Pull a (best-effort) snapshot of the connected remote store catalog.\n *\n * - Returns no entries when the resolved catalog is local-only or the host\n * is unreachable (the failure becomes a note, not an exception).\n * - Maps `CatalogAsset` → `CatalogEntry`, carrying `publisher`, `repo`, and\n * `category` straight through and using `source = \"store://<id>\"`; per-file\n * `source` paths are not available for remote assets so the canonical ref is\n * a stable placeholder.\n */\nasync function storeAssets(projectDir: string): Promise<{\n entries: CatalogEntry[];\n notes: FeedNote[];\n}> {\n const notes: FeedNote[] = [];\n try {\n const { resolveCatalogSource } = await import(\"./open-library.ts\");\n const { source, close } = await resolveCatalogSource({ projectDir });\n try {\n const assets = await source.listAssets();\n const entries: CatalogEntry[] = assets.map((a) => ({\n name: a.name,\n kind: (a.kind as AssetKind) ?? \"skill\",\n description: a.description ?? \"\",\n source: `store://${a.id}`,\n publisher: a.publisher,\n repo: a.repo,\n plugin: a.plugin,\n category: a.category,\n version: a.version,\n requires: [],\n dependencies: [],\n }));\n return { entries, notes };\n } finally {\n close();\n }\n } catch (err) {\n const msg = err instanceof Error ? err.message : String(err);\n // Local-only catalog throws a recognizable message — silence it; absence\n // is the user's choice, not an error.\n if (!/local/i.test(msg)) {\n notes.push({ feed: \"store\", message: msg });\n }\n return { entries: [], notes };\n }\n}\n\n/** The slice of `AssetManager` the source feed needs (kept narrow for tests). */\ninterface AssetManagerLike {\n search: () => Promise<CatalogEntry[]>;\n searchRepoRoots: () => { repoName: string; root: string }[];\n}\n\n/**\n * Project-source feed: leans on `AssetManager.search()`, which merges\n * `skaile.yaml`'s `sources:` field into the repositories map. Plugin grouping\n * (`entry.plugin`) is stamped by the scanner, so entries pass through as-is.\n */\nasync function sourceAssets(am: AssetManagerLike): Promise<OriginEntry[]> {\n // The bundled factory tree is injected into the repositories map as an implicit\n // source, so `am.search()` returns it too. It has its own `factory` origin band,\n // so drop it here — otherwise the same first-party skills list twice under Sources.\n const factoryPrefixes = factoryAssetRoots().map((r) => (r.endsWith(path.sep) ? r : r + path.sep));\n const isFactoryPath = (p: string) =>\n factoryPrefixes.some((fp) => p === fp.slice(0, -1) || p.startsWith(fp));\n\n const all = (await am.search()).filter((e) => !isFactoryPath(e.source));\n const entries: OriginEntry[] = [];\n // Group each source's entries under the source node (its short repo name), not\n // the publisher: under Sources the navigational question is \"which repo did\n // this come from\". Each entry's `source` (absolute manifest path) lives under\n // exactly one declared root, so group by prefix. The cache slug is\n // URL-keyed `github.com/<org>/<repo>` — take the trailing segment.\n for (const { repoName, root } of am.searchRepoRoots()) {\n if (isFactoryPath(root)) continue;\n const prefix = root.endsWith(path.sep) ? root : root + path.sep;\n const owned = all.filter((e) => e.source === root || e.source.startsWith(prefix));\n if (owned.length === 0) continue;\n const sourceName = repoName.split(\"/\").pop() || repoName;\n for (const entry of owned) entries.push({ origin: \"source\", entry, group: sourceName });\n }\n return entries;\n}\n\n/**\n * Factory-asset feed: scan the bundled first-party `factory-assets` tree(s)\n * resolved by `factoryAssetRoots()` (the `SKAILE_FACTORY_ASSETS_DIR` override\n * layer ahead of the bundled tree). Local disk only, no network — the entries are\n * the built-in skills / connectors / bundles that ship with `@skaile/workspaces`.\n * `factoryAssetRoots()` already dedupes, so the env override pointing at the\n * bundled dir collapses to one root.\n */\nasync function factoryAssets(): Promise<{\n entries: CatalogEntry[];\n notes: FeedNote[];\n}> {\n const notes: FeedNote[] = [];\n try {\n const entries: CatalogEntry[] = [];\n for (const root of factoryAssetRoots()) {\n entries.push(...(await scanRepo(root, \"skaile-factory\")));\n }\n return { entries, notes };\n } catch (err) {\n notes.push({\n feed: \"factory\",\n message: err instanceof Error ? err.message : String(err),\n });\n return { entries: [], notes };\n }\n}\n\n/** Tag a flat entry list with a single origin. */\nfunction tag(origin: AssetOrigin, entries: CatalogEntry[]): OriginEntry[] {\n return entries.map((entry) => ({ origin, entry }));\n}\n\n/**\n * Run all feeds and return a single normalized result.\n *\n * Feeds run in parallel where possible — the store fetch is the slow one\n * (one HTTP call) and is fired alongside the local library walk. The factory\n * scan is local disk only, so it runs inline.\n */\nexport async function gatherAssetFeeds(\n am: AssetManagerLike,\n projectDir: string,\n): Promise<AssetFeedResult> {\n const [libs, store] = await Promise.all([libraryAssets(), storeAssets(projectDir)]);\n const factory = await factoryAssets();\n const src = await sourceAssets(am);\n return {\n entries: [\n ...src,\n ...libs.entries,\n ...tag(\"factory\", factory.entries),\n ...tag(\"store\", store.entries),\n ],\n notes: [...libs.notes, ...store.notes, ...factory.notes],\n };\n}\n"]}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
export { WORKSPACE_MOUNT_ENV_VAR, deployAll, deployCatalogEntry, findAiAssetsRoot, isUnderWorkspaceMount, resolveFlowSkills, undeployCatalogEntry, workspaceMountDirs } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { WORKSPACE_MOUNT_ENV_VAR, deployAll, deployCatalogEntry, findAiAssetsRoot, isUnderWorkspaceMount, resolveFlowSkills, undeployCatalogEntry, workspaceMountDirs } from '../chunk-VDJKWKH2.js';
|
|
2
|
+
import '../chunk-IWCCZL7C.js';
|
|
3
3
|
import '../chunk-4GY63JU6.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-YDJZRLGN.js';
|
|
5
|
+
import '../chunk-U6K3I3AX.js';
|
|
6
6
|
import '../chunk-K5GBV4SA.js';
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-A2ULN3KX.js';
|
|
8
|
+
import '../chunk-MXXKTQXJ.js';
|
|
9
9
|
import '../chunk-TLKM4M47.js';
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-
|
|
14
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-TOSHZX4C.js';
|
|
11
|
+
import '../chunk-AG44ZJ7W.js';
|
|
12
|
+
import '../chunk-RVRB27AN.js';
|
|
13
|
+
import '../chunk-DXUQCMVT.js';
|
|
14
|
+
import '../chunk-43ZBF3WH.js';
|
|
15
15
|
import '../chunk-ICSCSM5D.js';
|
|
16
|
+
import '../chunk-JMKB7IB4.js';
|
|
16
17
|
import '../chunk-MJHSLODD.js';
|
|
17
18
|
import '../chunk-C3CAXQMA.js';
|
|
18
19
|
import '../chunk-BOFL7GIF.js';
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
export { AssetManager, FACTORY_SOURCE_URL, MissingManifestError, NON_DEPLOYABLE_KINDS, normalizeRepoUrl, parseCanonicalLockKey, parseRefTolerant, renderMcpServerConfig, softDepName } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
export { AssetManager, FACTORY_SOURCE_URL, MissingManifestError, NON_DEPLOYABLE_KINDS, normalizeRepoUrl, parseCanonicalLockKey, parseRefTolerant, renderMcpServerConfig, softDepName } from '../chunk-6LDUA57J.js';
|
|
2
|
+
import '../chunk-SP47UJKE.js';
|
|
3
|
+
import '../chunk-UVOJSWD2.js';
|
|
4
|
+
import '../chunk-H4EGUQ7M.js';
|
|
5
5
|
import '../chunk-R7FOF242.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
export { createScaffold, deployAll, installAgent, removeAsset } from '../chunk-
|
|
6
|
+
import '../chunk-ZDKJHQY2.js';
|
|
7
|
+
export { createScaffold, deployAll, installAgent, removeAsset } from '../chunk-AGWYBS2E.js';
|
|
8
8
|
export { BUILT_IN_FRAGMENTS, loadPromptExtensions, resolveFragments } from '../chunk-CGYEHQOX.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-IWCCZL7C.js';
|
|
10
10
|
import '../chunk-4GY63JU6.js';
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-YDJZRLGN.js';
|
|
12
|
+
import '../chunk-U6K3I3AX.js';
|
|
13
13
|
import '../chunk-K5GBV4SA.js';
|
|
14
|
-
import '../chunk-
|
|
15
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-A2ULN3KX.js';
|
|
15
|
+
import '../chunk-MXXKTQXJ.js';
|
|
16
16
|
import '../chunk-TLKM4M47.js';
|
|
17
|
-
import '../chunk-
|
|
18
|
-
import '../chunk-
|
|
19
|
-
import '../chunk-
|
|
20
|
-
import '../chunk-
|
|
21
|
-
import '../chunk-
|
|
17
|
+
import '../chunk-TOSHZX4C.js';
|
|
18
|
+
import '../chunk-AG44ZJ7W.js';
|
|
19
|
+
import '../chunk-RVRB27AN.js';
|
|
20
|
+
import '../chunk-DXUQCMVT.js';
|
|
21
|
+
import '../chunk-43ZBF3WH.js';
|
|
22
22
|
import '../chunk-ICSCSM5D.js';
|
|
23
|
+
import '../chunk-JMKB7IB4.js';
|
|
23
24
|
import '../chunk-MJHSLODD.js';
|
|
24
25
|
import '../chunk-C3CAXQMA.js';
|
|
25
26
|
import '../chunk-BOFL7GIF.js';
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
export { createScaffold, deployAll, deployAsset, removeAsset } from '../chunk-
|
|
1
|
+
export { createScaffold, deployAll, deployAsset, removeAsset } from '../chunk-AGWYBS2E.js';
|
|
2
2
|
import '../chunk-CGYEHQOX.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-IWCCZL7C.js';
|
|
4
4
|
import '../chunk-4GY63JU6.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-YDJZRLGN.js';
|
|
6
|
+
import '../chunk-U6K3I3AX.js';
|
|
7
7
|
import '../chunk-K5GBV4SA.js';
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-A2ULN3KX.js';
|
|
9
|
+
import '../chunk-MXXKTQXJ.js';
|
|
10
10
|
import '../chunk-TLKM4M47.js';
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-
|
|
14
|
-
import '../chunk-
|
|
15
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-TOSHZX4C.js';
|
|
12
|
+
import '../chunk-AG44ZJ7W.js';
|
|
13
|
+
import '../chunk-RVRB27AN.js';
|
|
14
|
+
import '../chunk-DXUQCMVT.js';
|
|
15
|
+
import '../chunk-43ZBF3WH.js';
|
|
16
16
|
import '../chunk-ICSCSM5D.js';
|
|
17
|
+
import '../chunk-JMKB7IB4.js';
|
|
17
18
|
import '../chunk-MJHSLODD.js';
|
|
18
19
|
import '../chunk-C3CAXQMA.js';
|
|
19
20
|
import '../chunk-BOFL7GIF.js';
|
|
@@ -30,7 +30,7 @@ export interface InputSpec {
|
|
|
30
30
|
* @docLink packages/asset-manager/concepts#catalog-deployer
|
|
31
31
|
*/
|
|
32
32
|
export interface CatalogEntryCompiled {
|
|
33
|
-
/** Unique ID in `
|
|
33
|
+
/** Unique ID in `publisher/name` form (e.g. `skaileup/cf_overview`). */
|
|
34
34
|
id: string;
|
|
35
35
|
/** Asset kind. */
|
|
36
36
|
kind: "skill" | "flow";
|
|
@@ -46,8 +46,6 @@ export interface CatalogEntryCompiled {
|
|
|
46
46
|
keywords: string[];
|
|
47
47
|
/** User-facing input specifications. */
|
|
48
48
|
inputs: InputSpec[];
|
|
49
|
-
/** Domain directory name. */
|
|
50
|
-
source_domain: string;
|
|
51
49
|
/** Asset path relative to assetsRoot. */
|
|
52
50
|
source_path: string;
|
|
53
51
|
/** Optional icon identifier. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog-deployer.d.ts","sourceRoot":"","sources":["../../../asset-manager/src/catalog-deployer.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAWH;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB,oDAAoD;IACpD,GAAG,EAAE,MAAM,CAAC;IACZ,mEAAmE;IACnE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oEAAoE;IACpE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oEAAoE;IACpE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gEAAgE;IAChE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,
|
|
1
|
+
{"version":3,"file":"catalog-deployer.d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;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,oBAAoB,EAC1B,UAAU,EAAE,oBAAoB,EAAE,GACjC;IAAE,QAAQ,EAAE,oBAAoB,EAAE,CAAC;IAAC,QAAQ,EAAE,oBAAoB,EAAE,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,CAuB3F"}
|
|
@@ -277,9 +277,7 @@ export interface OverviewEntry {
|
|
|
277
277
|
kind: string;
|
|
278
278
|
/** Asset name. */
|
|
279
279
|
name: string;
|
|
280
|
-
/**
|
|
281
|
-
domain: string;
|
|
282
|
-
/** Repository that provides this asset. */
|
|
280
|
+
/** Publisher that provides this asset (from the lock file; `"unknown"` when unresolvable). */
|
|
283
281
|
publisher: string;
|
|
284
282
|
/** Version string from the lock file. */
|
|
285
283
|
version: string;
|
|
@@ -299,8 +297,8 @@ export interface OverviewEntry {
|
|
|
299
297
|
* @docLink packages/asset-manager/concepts#asset-manager
|
|
300
298
|
*/
|
|
301
299
|
export interface OverviewResult {
|
|
302
|
-
/** Entries grouped by
|
|
303
|
-
|
|
300
|
+
/** Entries grouped by publisher, sorted alphabetically. Each group is sorted by kind then name. */
|
|
301
|
+
byPublisher: Map<string, OverviewEntry[]>;
|
|
304
302
|
/** Total number of deployed assets. */
|
|
305
303
|
total: number;
|
|
306
304
|
/** Sync status for each configured repository. */
|
|
@@ -317,7 +315,8 @@ export interface AssetManagerOptions {
|
|
|
317
315
|
/**
|
|
318
316
|
* Agent framework to target for asset deployment.
|
|
319
317
|
* Determines which framework directories (``.claude/``, ``.omp/``, etc.) are used.
|
|
320
|
-
* Defaults to `
|
|
318
|
+
* Defaults to the harness the project is configured for (`skaile.yaml`
|
|
319
|
+
* `agent-config.default.driver`, `.skaile/settings.json`), else `"claude-code"`.
|
|
321
320
|
*/
|
|
322
321
|
driverTarget?: DriverTarget;
|
|
323
322
|
/**
|
|
@@ -774,7 +773,7 @@ export declare class AssetManager {
|
|
|
774
773
|
* On-disk root + config slug for every declared (and the implicit factory)
|
|
775
774
|
* source that has a local clone. Companion to {@link search}: callers that
|
|
776
775
|
* need to relate a scanned entry back to its source root (e.g. to stamp
|
|
777
|
-
*
|
|
776
|
+
* plugin grouping) can't recover the root from the flat
|
|
778
777
|
* {@link CatalogEntry} list `search` returns.
|
|
779
778
|
*/
|
|
780
779
|
searchRepoRoots(): {
|
|
@@ -850,12 +849,12 @@ export declare class AssetManager {
|
|
|
850
849
|
kind?: string;
|
|
851
850
|
}): HarnessDeclaredAsset[];
|
|
852
851
|
/**
|
|
853
|
-
* Build an aggregated workspace overview with
|
|
852
|
+
* Build an aggregated workspace overview with publisher grouping and sync status.
|
|
854
853
|
*
|
|
855
854
|
* Combines deployed assets, lock file metadata, and live repository status
|
|
856
855
|
* into a single structured result. Used by `skaile status`.
|
|
857
856
|
*
|
|
858
|
-
* @returns {@link OverviewResult} with entries grouped by
|
|
857
|
+
* @returns {@link OverviewResult} with entries grouped by publisher and per-repo sync status.
|
|
859
858
|
*/
|
|
860
859
|
overview(): OverviewResult;
|
|
861
860
|
/** Collect live sync status for every configured repository, keyed by name. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../asset-manager/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAcH,OAAO,KAAK,EAEV,QAAQ,EACR,YAAY,EACZ,YAAY,EAEZ,QAAQ,EAQR,YAAY,EACb,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../asset-manager/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAcH,OAAO,KAAK,EAEV,QAAQ,EACR,YAAY,EACZ,YAAY,EAEZ,QAAQ,EAQR,YAAY,EACb,MAAM,yBAAyB,CAAC;AA+CjC,OAAO,KAAK,EAAmB,YAAY,EAAW,MAAM,4BAA4B,CAAC;AAMzF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cA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,eAAe,EACf,UAAU,GACX,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import { formatDroppedToolsNotice, filterInProcessMcpServerTools, checkToolPropertyKeys } from '../../chunk-X5O56UO4.js';
|
|
2
|
-
import { scrubPoisonedTranscript, transcriptStoreForRuntime, resolveClaudeConfigDir, claudeEndpointMode, buildClaudeEndpointEnv } from '../../chunk-
|
|
2
|
+
import { scrubPoisonedTranscript, transcriptStoreForRuntime, resolveClaudeConfigDir, claudeEndpointMode, buildClaudeEndpointEnv } from '../../chunk-TVOODIZE.js';
|
|
3
3
|
import { scopeReconfigureModel } from '../../chunk-EINLFFP6.js';
|
|
4
4
|
import { dispatchCapability } from '../../chunk-RDYI4MML.js';
|
|
5
|
-
import { fetchProviderModels } from '../../chunk-
|
|
5
|
+
import { fetchProviderModels } from '../../chunk-P5UQ56RA.js';
|
|
6
6
|
import { AuthError, stripRunnerPrivateEnv, classifyClaudeSdkError, reclassifyAuthAsAccountUnavailable, AccountUnavailableError, isLongContextEntitlementRejection, LONG_CONTEXT_CREDITS_API_ERROR } from '../../chunk-XBSQ4KMC.js';
|
|
7
7
|
import { agentExecRequested, wrapAgentCommand, resolveAgentExec } from '../../chunk-YROR332M.js';
|
|
8
|
-
import { BUILTIN_DRIVER_CATALOG, AgentDriver, getBridgeLogger, entryCredentialValue, registryDriverConfig } from '../../chunk-
|
|
8
|
+
import { BUILTIN_DRIVER_CATALOG, AgentDriver, getBridgeLogger, entryCredentialValue, registryDriverConfig } from '../../chunk-RDTHJSGY.js';
|
|
9
9
|
import '../../chunk-6E6PKKAD.js';
|
|
10
10
|
import { withActivityLabelShape } from '../../chunk-IDEA6CYI.js';
|
|
11
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-IWCCZL7C.js';
|
|
12
12
|
import '../../chunk-4GY63JU6.js';
|
|
13
|
-
import '../../chunk-
|
|
14
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-YDJZRLGN.js';
|
|
14
|
+
import '../../chunk-U6K3I3AX.js';
|
|
15
15
|
import '../../chunk-K5GBV4SA.js';
|
|
16
|
-
import '../../chunk-
|
|
17
|
-
import '../../chunk-
|
|
16
|
+
import '../../chunk-A2ULN3KX.js';
|
|
17
|
+
import '../../chunk-MXXKTQXJ.js';
|
|
18
18
|
import '../../chunk-TLKM4M47.js';
|
|
19
|
-
import '../../chunk-
|
|
20
|
-
import '../../chunk-
|
|
21
|
-
import '../../chunk-
|
|
22
|
-
import '../../chunk-
|
|
23
|
-
import '../../chunk-
|
|
19
|
+
import '../../chunk-TOSHZX4C.js';
|
|
20
|
+
import '../../chunk-AG44ZJ7W.js';
|
|
21
|
+
import '../../chunk-RVRB27AN.js';
|
|
22
|
+
import '../../chunk-DXUQCMVT.js';
|
|
23
|
+
import '../../chunk-43ZBF3WH.js';
|
|
24
24
|
import '../../chunk-ICSCSM5D.js';
|
|
25
|
+
import '../../chunk-JMKB7IB4.js';
|
|
25
26
|
import { mergeRegistries, parseModelRef, isEntryEnabled, resolveEntryBaseUrl } from '../../chunk-MJHSLODD.js';
|
|
26
27
|
import '../../chunk-C3CAXQMA.js';
|
|
27
28
|
import { createLogger } from '../../chunk-BOFL7GIF.js';
|
|
@@ -405,6 +406,7 @@ var PushableInputStream = class {
|
|
|
405
406
|
}
|
|
406
407
|
};
|
|
407
408
|
var ABORT_GRACE_MS = 3e3;
|
|
409
|
+
var KILLED_TURN_MESSAGE = "driver was killed";
|
|
408
410
|
var MODEL_USAGE_COUNTERS = [
|
|
409
411
|
["inputTokens", "inputTokens"],
|
|
410
412
|
["outputTokens", "outputTokens"],
|
|
@@ -554,6 +556,8 @@ var ClaudeSdkDriver = class extends AgentDriver {
|
|
|
554
556
|
promptTail = Promise.resolve();
|
|
555
557
|
/** Guards against duplicate agent_end emissions per turn. */
|
|
556
558
|
turnCompleted = false;
|
|
559
|
+
/** Set by {@link kill}: no turn may start or replay on this driver again. */
|
|
560
|
+
killed = false;
|
|
557
561
|
/** `Date.now()` of the most recent SDK message — the watchdog's liveness signal. */
|
|
558
562
|
lastSdkMessageAt = 0;
|
|
559
563
|
/** Armed while a turn is in flight; trips when the SDK goes silent for too long. */
|
|
@@ -880,6 +884,7 @@ var ClaudeSdkDriver = class extends AgentDriver {
|
|
|
880
884
|
* enqueue behind themselves and deadlock.
|
|
881
885
|
*/
|
|
882
886
|
async runPrompt(message, _budget) {
|
|
887
|
+
if (this.killed) throw new Error(KILLED_TURN_MESSAGE);
|
|
883
888
|
if (!this.sdk) await this.start();
|
|
884
889
|
this.authSelfHealUsed = _budget.auth;
|
|
885
890
|
this.limitFailoverUsed = _budget.limit;
|
|
@@ -931,6 +936,7 @@ var ClaudeSdkDriver = class extends AgentDriver {
|
|
|
931
936
|
try {
|
|
932
937
|
await turnPromise;
|
|
933
938
|
} catch (err) {
|
|
939
|
+
if (this.killed) throw err;
|
|
934
940
|
if (!_budget.queryEnded && err instanceof QueryEndedBeforeTurnError) {
|
|
935
941
|
this.log.warn("turn was enqueued into an ending query; replaying on a fresh one");
|
|
936
942
|
this.retractUnfinishedText();
|
|
@@ -2831,6 +2837,8 @@ var ClaudeSdkDriver = class extends AgentDriver {
|
|
|
2831
2837
|
*/
|
|
2832
2838
|
kill() {
|
|
2833
2839
|
this.denyPendingQuestion("session terminated before the question was answered");
|
|
2840
|
+
this.killed = true;
|
|
2841
|
+
if (this.turnReject) this.rejectTurnSilently(new Error(KILLED_TURN_MESSAGE));
|
|
2834
2842
|
const descendants = this.snapshotDescendantPids();
|
|
2835
2843
|
this.endInputStream();
|
|
2836
2844
|
if (this.query) {
|
|
@@ -2858,6 +2866,10 @@ var ClaudeSdkDriver = class extends AgentDriver {
|
|
|
2858
2866
|
});
|
|
2859
2867
|
return result.ok ? result.models : [];
|
|
2860
2868
|
}
|
|
2869
|
+
/** Every SDK message counts, as for the turn-stall watchdog. */
|
|
2870
|
+
lastActivityAt() {
|
|
2871
|
+
return this.lastSdkMessageAt || null;
|
|
2872
|
+
}
|
|
2861
2873
|
getTokenUsage() {
|
|
2862
2874
|
return this._lastTokens;
|
|
2863
2875
|
}
|