@skaile/workspaces 6.2.0 → 6.4.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 +31 -0
- package/dist/ai-sdk.d.ts +2 -0
- package/dist/ai-sdk.js +123 -0
- package/dist/ai-sdk.js.map +1 -0
- package/dist/app-sdk/index.js +1 -1
- package/dist/{asset-feeds-KPKCE64E.js → asset-feeds-UJSYGKCX.js} +20 -20
- package/dist/{asset-feeds-KPKCE64E.js.map → asset-feeds-UJSYGKCX.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.js +7 -7
- package/dist/asset-manager/index.js +12 -12
- package/dist/asset-manager/installer.js +8 -8
- package/dist/asset-manager/renderers.js +7 -7
- package/dist/asset-manager/src/index.d.ts +42 -15
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/asset-manager/src/install-instances.d.ts +2 -0
- package/dist/asset-manager/src/install-instances.d.ts.map +1 -1
- package/dist/asset-manager/src/installer.d.ts.map +1 -1
- package/dist/bridge/harnesses/claude-sdk.js +13 -12
- package/dist/bridge/harnesses/claude-sdk.js.map +1 -1
- package/dist/bridge/harnesses/codex.js +12 -11
- package/dist/bridge/harnesses/codex.js.map +1 -1
- package/dist/bridge/harnesses/continue.js +11 -10
- package/dist/bridge/harnesses/continue.js.map +1 -1
- package/dist/bridge/harnesses/echo.js +6 -5
- package/dist/bridge/harnesses/echo.js.map +1 -1
- package/dist/bridge/harnesses/gemini.js +8 -7
- package/dist/bridge/harnesses/goose.js +11 -10
- package/dist/bridge/harnesses/goose.js.map +1 -1
- package/dist/bridge/harnesses/omp.js +8 -7
- package/dist/bridge/harnesses/omp.js.map +1 -1
- package/dist/bridge/harnesses/opencode.js +11 -10
- package/dist/bridge/harnesses/opencode.js.map +1 -1
- package/dist/bridge/harnesses/qwen.js +8 -7
- package/dist/bridge/harnesses/qwen.js.map +1 -1
- package/dist/bridge/index.js +18 -16
- package/dist/bridge/src/ai-sdk.d.ts +51 -0
- package/dist/bridge/src/ai-sdk.d.ts.map +1 -0
- package/dist/bridge/src/harness-model-check.d.ts +11 -7
- package/dist/bridge/src/harness-model-check.d.ts.map +1 -1
- package/dist/bridge/src/index.d.ts +1 -0
- package/dist/bridge/src/index.d.ts.map +1 -1
- package/dist/bridge/src/provider-registry-load.d.ts +30 -0
- package/dist/bridge/src/provider-registry-load.d.ts.map +1 -0
- package/dist/{chunk-7DRFKAJZ.js → chunk-24D7IW5O.js} +8 -7
- package/dist/chunk-24D7IW5O.js.map +1 -0
- package/dist/{chunk-ITFCWMOY.js → chunk-2WOA3TKK.js} +12 -12
- package/dist/chunk-2WOA3TKK.js.map +1 -0
- package/dist/{chunk-QPWR3YMY.js → chunk-3ENE6ZOF.js} +4 -4
- package/dist/{chunk-QPWR3YMY.js.map → chunk-3ENE6ZOF.js.map} +1 -1
- package/dist/{chunk-ICSGNT5P.js → chunk-45KLCFQB.js} +8 -27
- package/dist/chunk-45KLCFQB.js.map +1 -0
- package/dist/{chunk-Q5RN4PWV.js → chunk-5NHBLKKU.js} +3 -3
- package/dist/{chunk-Q5RN4PWV.js.map → chunk-5NHBLKKU.js.map} +1 -1
- package/dist/{chunk-RQMIZONH.js → chunk-5T3DTK7A.js} +43 -24
- package/dist/chunk-5T3DTK7A.js.map +1 -0
- package/dist/{chunk-X37JUNEW.js → chunk-6UP2EDFN.js} +4 -313
- package/dist/chunk-6UP2EDFN.js.map +1 -0
- package/dist/{chunk-KJSC2ZD6.js → chunk-6WQGJF65.js} +18 -6
- package/dist/chunk-6WQGJF65.js.map +1 -0
- package/dist/{chunk-BOT64P3U.js → chunk-6X3GDPCB.js} +4 -3
- package/dist/chunk-6X3GDPCB.js.map +1 -0
- package/dist/{chunk-T2VBPVWZ.js → chunk-76WSWPOB.js} +15 -7
- package/dist/{chunk-T2VBPVWZ.js.map → chunk-76WSWPOB.js.map} +1 -1
- package/dist/{chunk-BRK5QZKI.js → chunk-ABVWUM2E.js} +27 -17
- package/dist/chunk-ABVWUM2E.js.map +1 -0
- package/dist/{chunk-MM4YO3EL.js → chunk-ACBL7X62.js} +3 -3
- package/dist/{chunk-MM4YO3EL.js.map → chunk-ACBL7X62.js.map} +1 -1
- package/dist/{chunk-VUJXZDCY.js → chunk-BOS7P2Y4.js} +3 -3
- package/dist/{chunk-VUJXZDCY.js.map → chunk-BOS7P2Y4.js.map} +1 -1
- package/dist/{chunk-PNUM7GUY.js → chunk-BUU2DLPC.js} +3 -3
- package/dist/{chunk-PNUM7GUY.js.map → chunk-BUU2DLPC.js.map} +1 -1
- package/dist/{chunk-BEYNH2LS.js → chunk-BX7PSWJA.js} +4 -4
- package/dist/{chunk-BEYNH2LS.js.map → chunk-BX7PSWJA.js.map} +1 -1
- package/dist/{chunk-URCJIV7T.js → chunk-C7TQARGC.js} +3 -3
- package/dist/{chunk-URCJIV7T.js.map → chunk-C7TQARGC.js.map} +1 -1
- package/dist/{chunk-E5NQRHEB.js → chunk-CK3CJSRY.js} +3 -3
- package/dist/{chunk-E5NQRHEB.js.map → chunk-CK3CJSRY.js.map} +1 -1
- package/dist/{chunk-GF5JXQIZ.js → chunk-DCJ4BION.js} +2 -2
- package/dist/{chunk-GF5JXQIZ.js.map → chunk-DCJ4BION.js.map} +1 -1
- package/dist/{chunk-5LQ62LNT.js → chunk-DF5WJC3Q.js} +4 -4
- package/dist/{chunk-5LQ62LNT.js.map → chunk-DF5WJC3Q.js.map} +1 -1
- package/dist/{chunk-QK7AG5AV.js → chunk-E237FGGX.js} +4 -4
- package/dist/{chunk-QK7AG5AV.js.map → chunk-E237FGGX.js.map} +1 -1
- package/dist/{chunk-K3R2UKG7.js → chunk-EXRQKOY6.js} +12 -12
- package/dist/{chunk-K3R2UKG7.js.map → chunk-EXRQKOY6.js.map} +1 -1
- package/dist/chunk-G63KOHFS.js +32 -0
- package/dist/chunk-G63KOHFS.js.map +1 -0
- package/dist/{chunk-6CYKTHNT.js → chunk-GBXQFJ4G.js} +8 -8
- package/dist/{chunk-6CYKTHNT.js.map → chunk-GBXQFJ4G.js.map} +1 -1
- package/dist/{chunk-6GWSDPBP.js → chunk-GTMANMBZ.js} +3 -3
- package/dist/{chunk-6GWSDPBP.js.map → chunk-GTMANMBZ.js.map} +1 -1
- package/dist/{chunk-JJJ2G4K2.js → chunk-HSF665NV.js} +5 -5
- package/dist/{chunk-JJJ2G4K2.js.map → chunk-HSF665NV.js.map} +1 -1
- package/dist/{chunk-I7LC5TDY.js → chunk-HTGTNN2B.js} +3 -3
- package/dist/{chunk-I7LC5TDY.js.map → chunk-HTGTNN2B.js.map} +1 -1
- package/dist/{chunk-PMWRM4EJ.js → chunk-HXZ3FQQN.js} +14 -14
- package/dist/{chunk-PMWRM4EJ.js.map → chunk-HXZ3FQQN.js.map} +1 -1
- package/dist/{chunk-2XM3ZH36.js → chunk-IYZAJ2J2.js} +16 -13
- package/dist/chunk-IYZAJ2J2.js.map +1 -0
- package/dist/{chunk-3HACK2Z7.js → chunk-IZV3HDVG.js} +5 -5
- package/dist/{chunk-3HACK2Z7.js.map → chunk-IZV3HDVG.js.map} +1 -1
- package/dist/{chunk-U673DB5U.js → chunk-JSWMRYLM.js} +4 -3
- package/dist/chunk-JSWMRYLM.js.map +1 -0
- package/dist/{chunk-TSTRH4SM.js → chunk-L45IHRDH.js} +3 -3
- package/dist/{chunk-TSTRH4SM.js.map → chunk-L45IHRDH.js.map} +1 -1
- package/dist/{chunk-27SXN33H.js → chunk-L4OYPFLB.js} +3 -3
- package/dist/{chunk-27SXN33H.js.map → chunk-L4OYPFLB.js.map} +1 -1
- package/dist/{chunk-QIHL3YPL.js → chunk-O7KAQQAI.js} +4 -4
- package/dist/{chunk-QIHL3YPL.js.map → chunk-O7KAQQAI.js.map} +1 -1
- package/dist/{chunk-Z3IRZBXB.js → chunk-P7EL7QRD.js} +14 -14
- package/dist/{chunk-Z3IRZBXB.js.map → chunk-P7EL7QRD.js.map} +1 -1
- package/dist/{chunk-QXKUFROW.js → chunk-PTBX55QF.js} +4 -4
- package/dist/{chunk-QXKUFROW.js.map → chunk-PTBX55QF.js.map} +1 -1
- package/dist/{chunk-5JPW27BI.js → chunk-Q4XWCVFA.js} +7 -7
- package/dist/{chunk-5JPW27BI.js.map → chunk-Q4XWCVFA.js.map} +1 -1
- package/dist/chunk-QJQQNBVT.js +315 -0
- package/dist/chunk-QJQQNBVT.js.map +1 -0
- package/dist/{chunk-M4OG2YN4.js → chunk-QSIFEHSN.js} +3 -3
- package/dist/{chunk-M4OG2YN4.js.map → chunk-QSIFEHSN.js.map} +1 -1
- package/dist/{chunk-7Y6S4XLL.js → chunk-RKI35EAN.js} +3 -3
- package/dist/{chunk-7Y6S4XLL.js.map → chunk-RKI35EAN.js.map} +1 -1
- package/dist/{chunk-OCQNUV4T.js → chunk-SISUT7VR.js} +7 -7
- package/dist/{chunk-OCQNUV4T.js.map → chunk-SISUT7VR.js.map} +1 -1
- package/dist/{chunk-7H6XRCPG.js → chunk-TDKZL5ZC.js} +3 -3
- package/dist/{chunk-7H6XRCPG.js.map → chunk-TDKZL5ZC.js.map} +1 -1
- package/dist/{chunk-LRBP3234.js → chunk-TF5CWJQZ.js} +5 -5
- package/dist/{chunk-LRBP3234.js.map → chunk-TF5CWJQZ.js.map} +1 -1
- package/dist/{chunk-PKBLJI23.js → chunk-TGB4E5Z6.js} +188 -52
- package/dist/chunk-TGB4E5Z6.js.map +1 -0
- package/dist/{chunk-KB56WBQ3.js → chunk-TPQKFX6X.js} +4 -4
- package/dist/{chunk-KB56WBQ3.js.map → chunk-TPQKFX6X.js.map} +1 -1
- package/dist/{chunk-TZERN27L.js → chunk-U3SXCVR7.js} +3 -3
- package/dist/{chunk-TZERN27L.js.map → chunk-U3SXCVR7.js.map} +1 -1
- package/dist/{chunk-KPKGWXUJ.js → chunk-U6S5CXKB.js} +3 -3
- package/dist/{chunk-KPKGWXUJ.js.map → chunk-U6S5CXKB.js.map} +1 -1
- package/dist/{chunk-JFLQICIU.js → chunk-UAOHR6AL.js} +4 -4
- package/dist/{chunk-JFLQICIU.js.map → chunk-UAOHR6AL.js.map} +1 -1
- package/dist/{chunk-KXJMQTOU.js → chunk-UBLZALKP.js} +3 -3
- package/dist/{chunk-KXJMQTOU.js.map → chunk-UBLZALKP.js.map} +1 -1
- package/dist/{chunk-BIRW3HOG.js → chunk-UUKCPPTQ.js} +3 -3
- package/dist/{chunk-BIRW3HOG.js.map → chunk-UUKCPPTQ.js.map} +1 -1
- package/dist/{chunk-BY5WIRCU.js → chunk-UVTN4O7N.js} +42 -17
- package/dist/chunk-UVTN4O7N.js.map +1 -0
- package/dist/{chunk-COAFAYBS.js → chunk-V4OXHEWY.js} +3 -3
- package/dist/{chunk-COAFAYBS.js.map → chunk-V4OXHEWY.js.map} +1 -1
- package/dist/{chunk-SJNZ4WPA.js → chunk-VSCLUPGZ.js} +31 -28
- package/dist/chunk-VSCLUPGZ.js.map +1 -0
- package/dist/{chunk-JMIKGAUA.js → chunk-VV2DJT4I.js} +15 -5
- package/dist/chunk-VV2DJT4I.js.map +1 -0
- package/dist/{chunk-JCPD4QRM.js → chunk-VZU67OKK.js} +2 -2
- package/dist/{chunk-JCPD4QRM.js.map → chunk-VZU67OKK.js.map} +1 -1
- package/dist/{chunk-MAZ3UXJK.js → chunk-WENTJ5KP.js} +4 -4
- package/dist/{chunk-MAZ3UXJK.js.map → chunk-WENTJ5KP.js.map} +1 -1
- package/dist/{chunk-ZWJCRHP3.js → chunk-YFGXYQW4.js} +3 -3
- package/dist/{chunk-ZWJCRHP3.js.map → chunk-YFGXYQW4.js.map} +1 -1
- package/dist/{chunk-S2H3RBK7.js → chunk-YJNE4V2M.js} +16 -9
- package/dist/chunk-YJNE4V2M.js.map +1 -0
- package/dist/{chunk-PJJSBZZP.js → chunk-ZWCGJYR7.js} +3 -3
- package/dist/{chunk-PJJSBZZP.js.map → chunk-ZWCGJYR7.js.map} +1 -1
- package/dist/{claude-code-BBMNVH2J.js → claude-code-UBT4ZME7.js} +4 -4
- package/dist/{claude-code-BBMNVH2J.js.map → claude-code-UBT4ZME7.js.map} +1 -1
- package/dist/cli/index.js +107 -91
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/library-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/library-index.d.ts.map +1 -1
- package/dist/cli/src/commands/plugin-registry-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/preset-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/providers.d.ts.map +1 -1
- package/dist/cli/src/helpers.d.ts +10 -2
- package/dist/cli/src/helpers.d.ts.map +1 -1
- package/dist/cli/src/plugin-store/index.d.ts +1 -1
- package/dist/cli/src/plugin-store/index.d.ts.map +1 -1
- package/dist/cli/src/plugin-store/reconcile.d.ts.map +1 -1
- package/dist/cli/src/plugin-store/spec.d.ts +19 -14
- package/dist/cli/src/plugin-store/spec.d.ts.map +1 -1
- package/dist/cli/src/setup.d.ts.map +1 -1
- package/dist/connectors/config.js +4 -4
- package/dist/connectors/index.js +22 -20
- package/dist/{connectors-47EM6C2P.js → connectors-4WH32NK2.js} +25 -23
- package/dist/{connectors-47EM6C2P.js.map → connectors-4WH32NK2.js.map} +1 -1
- package/dist/connectors-shared/index.js +2 -2
- package/dist/core/index.js +6 -6
- package/dist/core/manifest.js +1 -1
- package/dist/core/publish-manifest.js +2 -2
- package/dist/core/runtime-assets.js +4 -4
- package/dist/core/src/index.d.ts +1 -1
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/lock.d.ts.map +1 -1
- package/dist/core/src/manifest.d.ts +9 -3
- package/dist/core/src/manifest.d.ts.map +1 -1
- package/dist/core/src/workspace-config.d.ts +15 -0
- package/dist/core/src/workspace-config.d.ts.map +1 -1
- package/dist/core/src/workspace-yaml-editor.d.ts.map +1 -1
- package/dist/core/workspace-config.js +3 -3
- package/dist/deploy/index.js +6 -6
- package/dist/discovery/index.js +3 -3
- package/dist/{ensure-sources-K5EFNC3L.js → ensure-sources-UC2RBYMP.js} +27 -25
- package/dist/ensure-sources-UC2RBYMP.js.map +1 -0
- package/dist/factory-assets/connectors/box.js +22 -20
- package/dist/factory-assets/connectors/deploy.js +22 -20
- package/dist/factory-assets/connectors/devserver.js +22 -20
- package/dist/factory-assets/connectors/flow/adapter.js +22 -20
- package/dist/factory-assets/connectors/flow/engine.js +7 -7
- package/dist/factory-assets/connectors/flow/run-flow.js +24 -22
- package/dist/factory-assets/connectors/flow.js +22 -20
- package/dist/factory-assets/connectors/git.js +22 -20
- package/dist/factory-assets/connectors/gmail.js +22 -20
- package/dist/factory-assets/connectors/googledrive.js +22 -20
- package/dist/factory-assets/connectors/local.js +22 -20
- package/dist/factory-assets/connectors/mattermost.js +22 -20
- package/dist/factory-assets/connectors/memory.js +22 -20
- package/dist/factory-assets/connectors/minio.js +22 -20
- package/dist/factory-assets/connectors/postgres.js +22 -20
- package/dist/factory-assets/connectors/s3.js +22 -20
- package/dist/factory-assets/connectors/sharepoint.js +22 -20
- package/dist/factory-assets/connectors/sqlite.js +22 -20
- package/dist/factory-assets/connectors/static-server.js +22 -20
- package/dist/factory-assets/connectors/tunnel.js +22 -20
- package/dist/factory-assets/connectors/webdav.js +22 -20
- package/dist/factory-assets/connectors/xstate-store.js +22 -20
- package/dist/factory-assets/connectors/xstate.js +22 -20
- package/dist/{flows-KLBNSKLO.js → flows-LYTKNGKE.js} +11 -11
- package/dist/{flows-KLBNSKLO.js.map → flows-LYTKNGKE.js.map} +1 -1
- package/dist/{helpers-LUSV2ICC.js → helpers-SSSKT5XK.js} +27 -25
- package/dist/{helpers-LUSV2ICC.js.map → helpers-SSSKT5XK.js.map} +1 -1
- package/dist/library/index.js +9 -9
- package/dist/library/install.js +3 -3
- package/dist/{library-publish-XMRCKRNR.js → library-publish-GQMNTAKK.js} +52 -50
- package/dist/library-publish-GQMNTAKK.js.map +1 -0
- package/dist/model-endpoint/index.js +10 -9
- package/dist/open-library-XGUCUJYE.js +58 -0
- package/dist/{open-library-XBR46DJL.js.map → open-library-XGUCUJYE.js.map} +1 -1
- package/dist/{open-registry-W562DCDL.js → open-registry-DIFEPDF6.js} +13 -13
- package/dist/{open-registry-W562DCDL.js.map → open-registry-DIFEPDF6.js.map} +1 -1
- package/dist/{paths-2AZXB3QL.js → paths-G4GFJLE2.js} +9 -9
- package/dist/{paths-2AZXB3QL.js.map → paths-G4GFJLE2.js.map} +1 -1
- package/dist/{plugin-store-36SIL4TV.js → plugin-store-BBLDFD3L.js} +9 -9
- package/dist/{plugin-store-36SIL4TV.js.map → plugin-store-BBLDFD3L.js.map} +1 -1
- package/dist/{project-D7GN7WLS.js → project-LB745WVZ.js} +48 -46
- package/dist/{project-D7GN7WLS.js.map → project-LB745WVZ.js.map} +1 -1
- package/dist/resolver/index.js +7 -7
- package/dist/runner/index.js +38 -36
- package/dist/runner/src/capability-roundtrip.d.ts +4 -1
- package/dist/runner/src/capability-roundtrip.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +12 -12
- package/dist/sdk/bridge.js +18 -16
- package/dist/sdk/core.js +6 -6
- package/dist/sdk/flow.js +7 -7
- package/dist/sdk/index.js +38 -36
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/resolver.js +7 -7
- package/dist/sdk/runner.js +38 -36
- package/dist/sdk/session.js +2 -2
- package/dist/sdk/transport/ws/server.js +7 -7
- package/dist/sdk/transport/ws.js +7 -7
- package/dist/sdk/transport.js +7 -7
- package/dist/sdk/types.js +1 -1
- package/dist/{serve-preflight-CGA5G3AE.js → serve-preflight-NPWI4MV6.js} +28 -26
- package/dist/serve-preflight-NPWI4MV6.js.map +1 -0
- package/dist/session/index.js +2 -2
- package/dist/{setup-IBDNJAOU.js → setup-X6ZYH2MW.js} +33 -28
- package/dist/setup-X6ZYH2MW.js.map +1 -0
- package/dist/{skills-CTTO7SZK.js → skills-62PXDBPJ.js} +12 -12
- package/dist/{skills-CTTO7SZK.js.map → skills-62PXDBPJ.js.map} +1 -1
- package/dist/{source-2DJ5KNOI.js → source-LAYCTRHP.js} +48 -46
- package/dist/{source-2DJ5KNOI.js.map → source-LAYCTRHP.js.map} +1 -1
- package/dist/{source-manifest-publish-IYWUMUCY.js → source-manifest-publish-3S6PJ25W.js} +50 -48
- package/dist/source-manifest-publish-3S6PJ25W.js.map +1 -0
- package/dist/transport/index.js +7 -7
- package/dist/transport/ws/server.js +7 -7
- package/dist/transport/ws.js +7 -7
- package/dist/tui/index.js +38 -36
- package/dist/tui/index.js.map +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/src/capabilities.d.ts +9 -1
- package/dist/types/src/capabilities.d.ts.map +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +29 -27
- package/dist/workspace-plugin/adapters/omp.js +14 -14
- package/dist/workspace-plugin/index.js +1 -1
- package/package.json +27 -1
- package/dist/chunk-2XM3ZH36.js.map +0 -1
- package/dist/chunk-7DRFKAJZ.js.map +0 -1
- package/dist/chunk-BOT64P3U.js.map +0 -1
- package/dist/chunk-BRK5QZKI.js.map +0 -1
- package/dist/chunk-BY5WIRCU.js.map +0 -1
- package/dist/chunk-ICSGNT5P.js.map +0 -1
- package/dist/chunk-ITFCWMOY.js.map +0 -1
- package/dist/chunk-JMIKGAUA.js.map +0 -1
- package/dist/chunk-KJSC2ZD6.js.map +0 -1
- package/dist/chunk-PKBLJI23.js.map +0 -1
- package/dist/chunk-RQMIZONH.js.map +0 -1
- package/dist/chunk-S2H3RBK7.js.map +0 -1
- package/dist/chunk-SJNZ4WPA.js.map +0 -1
- package/dist/chunk-U673DB5U.js.map +0 -1
- package/dist/chunk-X37JUNEW.js.map +0 -1
- package/dist/ensure-sources-K5EFNC3L.js.map +0 -1
- package/dist/library-publish-XMRCKRNR.js.map +0 -1
- package/dist/open-library-XBR46DJL.js +0 -56
- package/dist/serve-preflight-CGA5G3AE.js.map +0 -1
- package/dist/setup-IBDNJAOU.js.map +0 -1
- package/dist/source-manifest-publish-IYWUMUCY.js.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { disable, enable, install, refreshPluginSkills, status, uninstall } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { disable, enable, install, refreshPluginSkills, status, uninstall } from './chunk-ACBL7X62.js';
|
|
2
|
+
import './chunk-DCJ4BION.js';
|
|
3
3
|
import './chunk-3MWQKQUB.js';
|
|
4
4
|
import './chunk-C5HFK34M.js';
|
|
5
5
|
import './chunk-DKXNKFKP.js';
|
|
6
6
|
import './chunk-C3CAXQMA.js';
|
|
7
7
|
import './chunk-BOFL7GIF.js';
|
|
8
8
|
import './chunk-NSBPE2FW.js';
|
|
9
|
-
//# sourceMappingURL=claude-code-
|
|
10
|
-
//# sourceMappingURL=claude-code-
|
|
9
|
+
//# sourceMappingURL=claude-code-UBT4ZME7.js.map
|
|
10
|
+
//# sourceMappingURL=claude-code-UBT4ZME7.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"claude-code-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"claude-code-UBT4ZME7.js"}
|
package/dist/cli/index.js
CHANGED
|
@@ -1,95 +1,97 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { status, enable, disable, install, uninstall } from '../chunk-ACBL7X62.js';
|
|
3
|
+
import { makeValidateCommand, scanIdentities } from '../chunk-P7EL7QRD.js';
|
|
4
|
+
import { storeNotInstallableReason, mcpNotRunnableHere } from '../chunk-TDKZL5ZC.js';
|
|
5
|
+
import { makeProvidersCommand, loadRegistryView, addProviderEntry, ProviderRegistryWriteError, removeProviderEntry } from '../chunk-45KLCFQB.js';
|
|
6
|
+
import { makeInstallCommand, makeCheckCommand, makeCleanCommand, pinComposedAgents, reportRewritten, reportReplaced, reportRelocked, reportMoved, reportStoreNotChecked, globalProblems, editedConventionFiles, supportsInstallManifest, runYamlInstall, REF_HINT, reportInstalledSoftDeps } from '../chunk-2WOA3TKK.js';
|
|
7
|
+
import { reportUnknownHarnesses, reportProjectConfig, agentInstanceErrorLines, isRecord } from '../chunk-TF5CWJQZ.js';
|
|
7
8
|
import { createSpinner } from '../chunk-NESV47MF.js';
|
|
8
|
-
import { loadDeclaredPlugins } from '../chunk-
|
|
9
|
-
import { getStoreConfig, storeFetch, isStoreAuthenticated, getStoreToken } from '../chunk-
|
|
10
|
-
import { makeSourceCommand, syncProjectSources, divergedSourceClones } from '../chunk-
|
|
11
|
-
import { libraryAssetRefusals, manifestEntryRenames, deviceLogin, loadStoreAuthConfig, logout, hasStoredAuth, exitOnLibrarySymlinks, resolveLibraryPublisherDetailed, getStoreIdentity, warnLibraryNameFallback, indexLibrary, warnIgnoredDomainFiles, removedDomainOption, rejectRemovedDomainOption, requireValidPublisherOrExit, exitOnManifestPublisherProblems, findAssetManifestFile, checkAssetFile, registerLibraryAsset, DOMAIN_REMOVED_HINT, reportLibrarySymlinks, checkAsset, manifestPublisherProblems, exitOnManifestPathProblems, manifestRequiresProblems, composeRefContext, registeredAssetKeys, assetEntryRef, duplicateAssetMessage, manifestParseFailureLine, manifestParseErrorText, unresolvedManifestDependencies, findEntryManifestFile, unheldRequiresOfFile, warnLegacyBundleFiles, checkComposeKinds } from '../chunk-
|
|
12
|
-
import { openCatalogSource, LocalCatalogDisabledError, openLibraryManager, openLibrary } from '../chunk-
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { logErr, unknownHarnessTargetMessage, S, logOk, logInfo, logWarnErr, unknownHarnessMessage, logWarn, TARGET_DEFAULT_HINT, parseHarnessFilter, requireProjectConfig, deferredWarnings, warnPlaceholderBodies, warnFilesOnlyDelegates, reportLegacyOmpCopies, logNoProject, warnStaleHarnessCopies, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, driverAliasOption, foldDriverFlag, friendlyHarnessError, harnessErrorNotes, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth, KIND_COL_WIDTH } from '../chunk-
|
|
16
|
-
import { getKindRegistry, getKnownKinds } from '../chunk-JJJ2G4K2.js';
|
|
9
|
+
import { loadDeclaredPlugins } from '../chunk-UVTN4O7N.js';
|
|
10
|
+
import { getStoreConfig, storeFetch, isStoreAuthenticated, getStoreToken } from '../chunk-TPQKFX6X.js';
|
|
11
|
+
import { makeSourceCommand, syncProjectSources, divergedSourceClones } from '../chunk-HXZ3FQQN.js';
|
|
12
|
+
import { libraryAssetRefusals, manifestEntryRenames, deviceLogin, loadStoreAuthConfig, logout, hasStoredAuth, exitOnLibrarySymlinks, resolveLibraryPublisherDetailed, getStoreIdentity, warnLibraryNameFallback, indexLibrary, warnIgnoredDomainFiles, removedDomainOption, rejectRemovedDomainOption, requireValidPublisherOrExit, exitOnManifestPublisherProblems, findAssetManifestFile, checkAssetFile, registerLibraryAsset, DOMAIN_REMOVED_HINT, reportLibrarySymlinks, checkAsset, manifestPublisherProblems, exitOnManifestPathProblems, manifestRequiresProblems, composeRefContext, registeredAssetKeys, assetEntryRef, duplicateAssetMessage, manifestParseFailureLine, manifestParseErrorText, unresolvedManifestDependencies, findEntryManifestFile, unheldRequiresOfFile, warnLegacyBundleFiles, checkComposeKinds } from '../chunk-IYZAJ2J2.js';
|
|
13
|
+
import { openCatalogSource, LocalCatalogDisabledError, openLibraryManager, openLibrary } from '../chunk-BX7PSWJA.js';
|
|
14
|
+
import { getKindRegistry, getKnownKinds } from '../chunk-HSF665NV.js';
|
|
15
|
+
import { AI_RESOURCES } from '../chunk-DF5WJC3Q.js';
|
|
16
|
+
import { logErr, unknownHarnessTargetMessage, S, logOk, setActiveCommand, logInfo, logWarnErr, unknownHarnessMessage, logWarn, TARGET_DEFAULT_HINT, parseHarnessFilter, requireProjectConfig, deferredWarnings, warnPlaceholderBodies, warnFilesOnlyDelegates, reportLegacyOmpCopies, logNoProject, warnStaleHarnessCopies, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, driverAliasOption, foldDriverFlag, friendlyHarnessError, harnessErrorNotes, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth, KIND_COL_WIDTH } from '../chunk-76WSWPOB.js';
|
|
17
17
|
import { LocalSecretsProvider } from '../chunk-ILFGVSTJ.js';
|
|
18
|
-
import { resolveInstanceAgentDir, instanceSessionOverrides, runAgentChat, isCompositionError, resolveSessionId, loadSessionById, loadSession, listSessions, setCurrentSession, deleteSession, clearSession, loadAgentManifest, hashAgentFiles, createCompositionContentSource, compileComposition, manifestModelForHarness, instanceForSession, resolveAgentInstance, describeComposition, MarkdownStreamer, createFinalTextFallback } from '../chunk-
|
|
19
|
-
import '../chunk-
|
|
20
|
-
import '../chunk-
|
|
21
|
-
import '../chunk-
|
|
22
|
-
import '../chunk-
|
|
18
|
+
import { resolveInstanceAgentDir, instanceSessionOverrides, runAgentChat, isCompositionError, resolveSessionId, loadSessionById, loadSession, listSessions, setCurrentSession, deleteSession, clearSession, loadAgentManifest, hashAgentFiles, createCompositionContentSource, compileComposition, manifestModelForHarness, instanceForSession, resolveAgentInstance, describeComposition, MarkdownStreamer, createFinalTextFallback } from '../chunk-VSCLUPGZ.js';
|
|
19
|
+
import '../chunk-DCJ4BION.js';
|
|
20
|
+
import '../chunk-SISUT7VR.js';
|
|
21
|
+
import '../chunk-YFGXYQW4.js';
|
|
22
|
+
import '../chunk-5NHBLKKU.js';
|
|
23
23
|
import '../chunk-WYZXSJBK.js';
|
|
24
|
-
import '../chunk-
|
|
25
|
-
import '../chunk-
|
|
24
|
+
import '../chunk-E237FGGX.js';
|
|
25
|
+
import '../chunk-L45IHRDH.js';
|
|
26
26
|
import '../chunk-KW37WNXY.js';
|
|
27
27
|
import '../chunk-3MWQKQUB.js';
|
|
28
|
-
import '../chunk-
|
|
28
|
+
import '../chunk-IZV3HDVG.js';
|
|
29
29
|
import '../chunk-O7SG5PC2.js';
|
|
30
30
|
import '../chunk-7QBNJTTQ.js';
|
|
31
31
|
import '../chunk-O2SYFJWP.js';
|
|
32
|
-
import '../chunk-
|
|
32
|
+
import '../chunk-UBLZALKP.js';
|
|
33
33
|
import '../chunk-32NA4TVC.js';
|
|
34
34
|
import '../chunk-W3UDISS2.js';
|
|
35
|
-
import '../chunk-
|
|
36
|
-
import { runFlow, resumeFlow } from '../chunk-
|
|
35
|
+
import '../chunk-HTGTNN2B.js';
|
|
36
|
+
import { runFlow, resumeFlow } from '../chunk-Q4XWCVFA.js';
|
|
37
37
|
import '../chunk-4R6DROGN.js';
|
|
38
|
-
import { parseSkillRequirements, validateRequirements } from '../chunk-
|
|
39
|
-
import '../chunk-
|
|
40
|
-
import '../chunk-
|
|
41
|
-
import '../chunk-
|
|
42
|
-
import '../chunk-
|
|
43
|
-
import { checkHarnessModel, checkModelProvider } from '../chunk-
|
|
44
|
-
import '../chunk-
|
|
45
|
-
import '../chunk-
|
|
46
|
-
import '../chunk-
|
|
38
|
+
import { parseSkillRequirements, validateRequirements } from '../chunk-C7TQARGC.js';
|
|
39
|
+
import '../chunk-BUU2DLPC.js';
|
|
40
|
+
import '../chunk-EXRQKOY6.js';
|
|
41
|
+
import '../chunk-GTMANMBZ.js';
|
|
42
|
+
import '../chunk-O7KAQQAI.js';
|
|
43
|
+
import { checkHarnessModel, checkModelProvider } from '../chunk-5T3DTK7A.js';
|
|
44
|
+
import '../chunk-UAOHR6AL.js';
|
|
45
|
+
import '../chunk-PTBX55QF.js';
|
|
46
|
+
import '../chunk-JSWMRYLM.js';
|
|
47
47
|
import '../chunk-LOO5CB5M.js';
|
|
48
|
-
import '../chunk-
|
|
49
|
-
import '../chunk-
|
|
50
|
-
import '../chunk-
|
|
48
|
+
import '../chunk-UUKCPPTQ.js';
|
|
49
|
+
import '../chunk-U3SXCVR7.js';
|
|
50
|
+
import '../chunk-6X3GDPCB.js';
|
|
51
51
|
import '../chunk-6OHZUUR7.js';
|
|
52
52
|
import '../chunk-7DN6JKP2.js';
|
|
53
|
-
import '../chunk-
|
|
54
|
-
import { listHarnesses
|
|
53
|
+
import '../chunk-QSIFEHSN.js';
|
|
54
|
+
import { listHarnesses } from '../chunk-QJQQNBVT.js';
|
|
55
55
|
import '../chunk-G5SUWZEU.js';
|
|
56
|
+
import '../chunk-G63KOHFS.js';
|
|
57
|
+
import { getProviderPreset, AI_PROVIDER_PRESETS } from '../chunk-6UP2EDFN.js';
|
|
56
58
|
import '../chunk-IFGTRL2I.js';
|
|
57
|
-
import { loadFlow, flowLookupRoots, findFlowFileInRoots, loadAllFlowEntries } from '../chunk-
|
|
59
|
+
import { loadFlow, flowLookupRoots, findFlowFileInRoots, loadAllFlowEntries } from '../chunk-ZWCGJYR7.js';
|
|
58
60
|
import '../chunk-WD3L5QSU.js';
|
|
59
61
|
import { nodeLabel, nodeSkillAsset, nodeIsInert, nodeIsOptional, nodeRunKind, nodeAssets } from '../chunk-7RGTAEG6.js';
|
|
60
|
-
import '../chunk-
|
|
61
|
-
import { setLibraryAssetCheck, setRenamedEntryLookup, LibraryEntryError, AssetManager, parseRefTolerant, MissingManifestError, parseCanonicalLockKey, normalizeRepoUrl } from '../chunk-
|
|
62
|
-
import { CatalogHttpError, libraryDirMissing, missingLibraryDirMessage, cloneOrInitGitRepo, trackOriginBranch, stampManifestPublisher, isGitRepo, ensureGitRepo, conflictingAssetRoot, scanUnlistedAssets, setManifestPublisher, LIBRARY_OWNERSHIPS, assertManifestEditable, installLibraryAsset, getStoreManifestsDir, assertValidLibraryName, unparsableAssetFiles, syncManifestWithDisk, renamedLibraryName, storeManifestFile, getDefaultValue, isSecretPlaceholder } from '../chunk-
|
|
63
|
-
import { flowFileNameError, SEMVER_RE } from '../chunk-
|
|
64
|
-
import '../chunk-
|
|
62
|
+
import '../chunk-VZU67OKK.js';
|
|
63
|
+
import { setLibraryAssetCheck, setRenamedEntryLookup, LibraryEntryError, AssetManager, parseRefTolerant, MissingManifestError, parseCanonicalLockKey, normalizeRepoUrl } from '../chunk-TGB4E5Z6.js';
|
|
64
|
+
import { CatalogHttpError, libraryDirMissing, missingLibraryDirMessage, cloneOrInitGitRepo, trackOriginBranch, stampManifestPublisher, isGitRepo, ensureGitRepo, conflictingAssetRoot, scanUnlistedAssets, setManifestPublisher, LIBRARY_OWNERSHIPS, assertManifestEditable, installLibraryAsset, getStoreManifestsDir, assertValidLibraryName, unparsableAssetFiles, syncManifestWithDisk, renamedLibraryName, storeManifestFile, getDefaultValue, isSecretPlaceholder } from '../chunk-GBXQFJ4G.js';
|
|
65
|
+
import { flowFileNameError, SEMVER_RE } from '../chunk-WENTJ5KP.js';
|
|
66
|
+
import '../chunk-CK3CJSRY.js';
|
|
65
67
|
import '../chunk-F3D25RGM.js';
|
|
66
68
|
import '../chunk-3TXEJN4W.js';
|
|
67
69
|
import '../chunk-ISHJITXJ.js';
|
|
68
70
|
import '../chunk-LNFKL23K.js';
|
|
69
71
|
import '../chunk-JRN5QF4C.js';
|
|
70
72
|
import '../chunk-NUELZWCF.js';
|
|
71
|
-
import { installTargetOf, SCAFFOLD_KINDS } from '../chunk-
|
|
73
|
+
import { installTargetOf, SCAFFOLD_KINDS } from '../chunk-YJNE4V2M.js';
|
|
72
74
|
import '../chunk-PKE3PXOK.js';
|
|
73
75
|
import '../chunk-KTBKW2FI.js';
|
|
74
76
|
import '../chunk-UQ6LFBPZ.js';
|
|
75
|
-
import '../chunk-
|
|
77
|
+
import '../chunk-V4OXHEWY.js';
|
|
76
78
|
import { effectiveComposes, validatePreset, validateAgent, composeSlotDiagnostics, agentDeprecationDiagnostics, SLOT_ID_PATTERN } from '../chunk-76FLBODK.js';
|
|
77
|
-
import { loadSettings, globalSettingsPath, resolveSettings, projectSettingsPath, saveSettings, WorkspaceYamlEditor, resolveLibraryDir, checkAgentSkillConformance, resolveSettingsWithSources, resolveConfiguredHarnessName, readLock, FACTORY_SOURCE_URL, globalInstallDir, GLOBAL_INSTALL_DIR_NAME, workspaceProviderRegistryPath, userProviderRegistryPath, loadProviderRegistryFile, aiResourceRoots } from '../chunk-
|
|
79
|
+
import { loadSettings, globalSettingsPath, resolveSettings, projectSettingsPath, saveSettings, WorkspaceYamlEditor, resolveLibraryDir, checkAgentSkillConformance, resolveSettingsWithSources, resolveConfiguredHarnessName, readLock, FACTORY_SOURCE_URL, globalInstallDir, GLOBAL_INSTALL_DIR_NAME, workspaceProviderRegistryPath, userProviderRegistryPath, loadProviderRegistryFile, aiResourceRoots } from '../chunk-ABVWUM2E.js';
|
|
78
80
|
import '../chunk-4GY63JU6.js';
|
|
79
|
-
import { factoryAssetRoots } from '../chunk-
|
|
81
|
+
import { factoryAssetRoots } from '../chunk-3ENE6ZOF.js';
|
|
80
82
|
import { deployedDir } from '../chunk-5KRMNUL4.js';
|
|
81
83
|
import { DEFAULT_HARNESS_ID, HARNESS_DEFAULTS } from '../chunk-C5HFK34M.js';
|
|
82
84
|
import { findKindDirs } from '../chunk-MWXYN6NY.js';
|
|
83
|
-
import { SourceEntryError, LegacyKeyError, resolveSkWorkspaceConfig, sourceCacheKey, getGlobalCacheDir, resolveAgentDir, AgentRefResolutionError, resolveAgentDefinitionDir, effectiveAgentInstances, matchPin, coerceVersion, loadSkWorkspaceConfig, findWorkspaceRoot, isWorkspaceConfigFilename, SKAILE_YAML_DEFAULT, AGENT_PROFILE_FIELDS } from '../chunk-
|
|
85
|
+
import { SourceEntryError, LegacyKeyError, ConfigParseError, resolveSkWorkspaceConfig, sourceCacheKey, getGlobalCacheDir, resolveAgentDir, AgentRefResolutionError, resolveAgentDefinitionDir, effectiveAgentInstances, matchPin, coerceVersion, loadSkWorkspaceConfig, configParseErrorOf, findWorkspaceRoot, isWorkspaceConfigFilename, SKAILE_YAML_DEFAULT, AGENT_PROFILE_FIELDS } from '../chunk-6WQGJF65.js';
|
|
84
86
|
import { globalCacheRoot, globalSkaileDir, userConfigPath } from '../chunk-L5VSIPQD.js';
|
|
85
87
|
import { HARNESS_TARGETS, SUPPORTED_HARNESSES, harnessNameForHarnessId } from '../chunk-VTETQCR6.js';
|
|
86
|
-
import { SKAILE_MANIFEST_FILENAME, loadSkPublishManifest, decodeSkaileManifest, LIBRARY_GITIGNORE, librarySymlinkMessage, isNonAssetPath, isNonAssetDir, encodeSkaileManifest } from '../chunk-
|
|
88
|
+
import { SKAILE_MANIFEST_FILENAME, loadSkPublishManifest, decodeSkaileManifest, LIBRARY_GITIGNORE, librarySymlinkMessage, isNonAssetPath, isNonAssetDir, encodeSkaileManifest } from '../chunk-U6S5CXKB.js';
|
|
89
|
+
import { setWalkTruncationSink, dedupeRequirements, parseFrontmatter, scanDirectory, parseRequires } from '../chunk-VV2DJT4I.js';
|
|
87
90
|
import { pluginTitle } from '../chunk-RVRB27AN.js';
|
|
88
|
-
import { setWalkTruncationSink, dedupeRequirements, parseFrontmatter, scanDirectory, parseRequires } from '../chunk-JMIKGAUA.js';
|
|
89
91
|
import { parseAssetRef, isValidPublisher, PUBLISHER_HINT, isValidAssetName, ASSET_NAME_HINT, depToStr, assetRefToStr, slugifyAssetName, parseAssetRefLoose } from '../chunk-IZQOO6MN.js';
|
|
90
92
|
import { portableSpawn, portableSpawnSync } from '../chunk-VSX2G7LA.js';
|
|
91
|
-
import { openSqlite } from '../chunk-DKXNKFKP.js';
|
|
92
93
|
import { parseModelRef, resolveEntryBaseUrl } from '../chunk-RXGPFAMN.js';
|
|
94
|
+
import { openSqlite } from '../chunk-DKXNKFKP.js';
|
|
93
95
|
import '../chunk-C3CAXQMA.js';
|
|
94
96
|
import { registerLogStore, LogStore, StdoutSink } from '../chunk-BOFL7GIF.js';
|
|
95
97
|
import '../chunk-NSBPE2FW.js';
|
|
@@ -236,7 +238,7 @@ async function runSearch(kind, query, opts) {
|
|
|
236
238
|
}
|
|
237
239
|
}
|
|
238
240
|
async function searchIndex(query, kind, projectDir) {
|
|
239
|
-
const { openLibrary: openLibrary2 } = await import('../open-library-
|
|
241
|
+
const { openLibrary: openLibrary2 } = await import('../open-library-XGUCUJYE.js');
|
|
240
242
|
const library = await openLibrary2();
|
|
241
243
|
try {
|
|
242
244
|
const { libraryDirMissing: libraryDirMissing2 } = await import('../library/index.js');
|
|
@@ -411,14 +413,14 @@ async function withAddVersions(entries, projectDir) {
|
|
|
411
413
|
}
|
|
412
414
|
async function searchLocal(query, kind, opts, showStore, airGapped) {
|
|
413
415
|
const projectDir = path19__default.resolve(opts.projectDir);
|
|
414
|
-
const { restoreSourceReaders } = await import('../source-
|
|
416
|
+
const { restoreSourceReaders } = await import('../source-LAYCTRHP.js');
|
|
415
417
|
for (const name of await restoreSourceReaders(projectDir)) {
|
|
416
418
|
logInfo(`Re-registered source "${name}" (its library entry was removed elsewhere).`);
|
|
417
419
|
}
|
|
418
420
|
const factory = await searchFactory(projectDir, query, kind);
|
|
419
421
|
let entries = unionEntries(await searchIndex(query, kind, projectDir), factory);
|
|
420
422
|
if (entries.length === 0 && !query && !kind && !airGapped) {
|
|
421
|
-
const { autoSyncForSearch } = await import('../source-
|
|
423
|
+
const { autoSyncForSearch } = await import('../source-LAYCTRHP.js');
|
|
422
424
|
if (await autoSyncForSearch(projectDir)) {
|
|
423
425
|
entries = unionEntries(await searchIndex(query, kind, projectDir), factory);
|
|
424
426
|
}
|
|
@@ -536,7 +538,7 @@ async function searchStore(query, kind, opts, airGapped) {
|
|
|
536
538
|
logInfo("air-gapped (cache_ttl: 0) \u2014 local sources only");
|
|
537
539
|
return "skipped";
|
|
538
540
|
}
|
|
539
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError: LocalCatalogDisabledError2 } = await import('../open-library-
|
|
541
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError: LocalCatalogDisabledError2 } = await import('../open-library-XGUCUJYE.js');
|
|
540
542
|
try {
|
|
541
543
|
const remote = await openCatalogSource2({ projectDir: path19__default.resolve(opts.projectDir) });
|
|
542
544
|
const assets = await remote.listAssets(kind ? { kind } : {});
|
|
@@ -1100,7 +1102,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
1100
1102
|
return { entry: match ?? deployed };
|
|
1101
1103
|
}
|
|
1102
1104
|
const lookup = opts.storeLookup ?? (async (filter) => {
|
|
1103
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
1105
|
+
const { resolveCatalogSource } = await import('../open-library-XGUCUJYE.js');
|
|
1104
1106
|
const { source, close } = await resolveCatalogSource({ projectDir: opts.projectDir });
|
|
1105
1107
|
try {
|
|
1106
1108
|
return await source.listAssets(filter);
|
|
@@ -1116,7 +1118,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
1116
1118
|
);
|
|
1117
1119
|
return { entry: hit ? catalogAssetToEntry(hit) : null };
|
|
1118
1120
|
} catch (err) {
|
|
1119
|
-
const { LocalCatalogDisabledError: LocalCatalogDisabledError2 } = await import('../open-library-
|
|
1121
|
+
const { LocalCatalogDisabledError: LocalCatalogDisabledError2 } = await import('../open-library-XGUCUJYE.js');
|
|
1120
1122
|
const storeNote = err instanceof Error ? err.message : String(err);
|
|
1121
1123
|
const disabled = err instanceof LocalCatalogDisabledError2 || /catalog\.url/i.test(storeNote);
|
|
1122
1124
|
return { entry: null, storeNote, ...disabled ? { storeDisabled: true } : {} };
|
|
@@ -1840,7 +1842,7 @@ function makeCatalogCommand() {
|
|
|
1840
1842
|
return catalog;
|
|
1841
1843
|
}
|
|
1842
1844
|
async function runLocalCatalogTest(projectDir) {
|
|
1843
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
1845
|
+
const { resolveCatalogSource } = await import('../open-library-XGUCUJYE.js');
|
|
1844
1846
|
let resolved;
|
|
1845
1847
|
try {
|
|
1846
1848
|
resolved = await resolveCatalogSource({ projectDir });
|
|
@@ -2016,7 +2018,7 @@ async function scanLibraryFlowEntries() {
|
|
|
2016
2018
|
const { LocalIndex, resolveIndexPath, scanAuthoringLibraries } = await import('../library/index.js');
|
|
2017
2019
|
const indexPath = resolveIndexPath();
|
|
2018
2020
|
if (!existsSync(indexPath)) return entries;
|
|
2019
|
-
const { getKindRegistry: getKindRegistry2 } = await import('../open-registry-
|
|
2021
|
+
const { getKindRegistry: getKindRegistry2 } = await import('../open-registry-DIFEPDF6.js');
|
|
2020
2022
|
const index = new LocalIndex({ indexPath });
|
|
2021
2023
|
try {
|
|
2022
2024
|
for (const { library, assets } of await scanAuthoringLibraries(index, getKindRegistry2())) {
|
|
@@ -3162,7 +3164,7 @@ async function ensureTargetsRegistered(projectDir) {
|
|
|
3162
3164
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
3163
3165
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
3164
3166
|
if (config.plugins && config.plugins.length > 0) {
|
|
3165
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
3167
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-BBLDFD3L.js');
|
|
3166
3168
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
3167
3169
|
for (const f of result.failed) logWarn(f.error);
|
|
3168
3170
|
}
|
|
@@ -4663,7 +4665,7 @@ function remoteBranches(url) {
|
|
|
4663
4665
|
return r.stdout.split("\n").map((line) => line.split(" ")[1]?.replace(/^refs\/heads\//, "")).filter((b) => !!b);
|
|
4664
4666
|
}
|
|
4665
4667
|
async function warnIfNotGithubRemote(name, url) {
|
|
4666
|
-
const { isGithubRemote, notGithubRemoteMessage } = await import('../library-publish-
|
|
4668
|
+
const { isGithubRemote, notGithubRemoteMessage } = await import('../library-publish-GQMNTAKK.js');
|
|
4667
4669
|
if (!isGithubRemote(url)) logWarn(notGithubRemoteMessage(name, url));
|
|
4668
4670
|
}
|
|
4669
4671
|
function scaffoldLibraryFiles(dir, name) {
|
|
@@ -4883,7 +4885,14 @@ function makeLibraryCommand() {
|
|
|
4883
4885
|
stampManifestPublisher(lib.path, resolved.publisher);
|
|
4884
4886
|
warnManifestNeedsCommit(lib.path, name);
|
|
4885
4887
|
}
|
|
4886
|
-
|
|
4888
|
+
let toIndex = lib;
|
|
4889
|
+
if (ownership !== "owner" && resolved.source !== "manifest" && backendConfig) {
|
|
4890
|
+
await manager.updateLibrary(name, {
|
|
4891
|
+
backendConfig: { ...backendConfig, publisher: resolved.publisher }
|
|
4892
|
+
});
|
|
4893
|
+
toIndex = await manager.requireLibrary(name);
|
|
4894
|
+
}
|
|
4895
|
+
const res = await indexLibrary(toIndex, library);
|
|
4887
4896
|
for (const e of res.errors) logWarn(e);
|
|
4888
4897
|
logOk(`Indexed ${res.assetsUpdated} asset(s) from ${name}.`);
|
|
4889
4898
|
warnUnlistedAssets(unlisted, name);
|
|
@@ -5396,16 +5405,16 @@ function makeLibraryCommand() {
|
|
|
5396
5405
|
"With --create-repo: create the repo private (the store only accepts public repos)"
|
|
5397
5406
|
).option("--ref <gitref>", "Git ref to ingest (default: the library branch or main)").option("--dry-run", "Print the plan; push nothing and call no store endpoint").action(
|
|
5398
5407
|
async (lib, opts) => {
|
|
5399
|
-
const { runLibraryPublish } = await import('../library-publish-
|
|
5408
|
+
const { runLibraryPublish } = await import('../library-publish-GQMNTAKK.js');
|
|
5400
5409
|
await withStoreErrorHandling(() => runLibraryPublish(lib, opts));
|
|
5401
5410
|
}
|
|
5402
5411
|
);
|
|
5403
5412
|
cmd.command("register <lib>").description("Register the library's manifest without pushing (bytes already on github)").option("--asset <ref>", "Publish only the single asset matching this ref/name").option("--ref <gitref>", "Git ref to ingest (default: the library branch or main)").option("--dry-run", "Print the plan; call no store endpoint").action(async (lib, opts) => {
|
|
5404
|
-
const { runLibraryRegister } = await import('../library-publish-
|
|
5413
|
+
const { runLibraryRegister } = await import('../library-publish-GQMNTAKK.js');
|
|
5405
5414
|
await withStoreErrorHandling(() => runLibraryRegister(lib, opts));
|
|
5406
5415
|
});
|
|
5407
5416
|
cmd.command("yank <lib>").description("Retract the library's published assets from the store").option("--asset <ref>", "Yank only the single asset matching this ref/name").action(async (lib, opts) => {
|
|
5408
|
-
const { runLibraryYank } = await import('../library-publish-
|
|
5417
|
+
const { runLibraryYank } = await import('../library-publish-GQMNTAKK.js');
|
|
5409
5418
|
await withStoreErrorHandling(() => runLibraryYank(lib, opts));
|
|
5410
5419
|
});
|
|
5411
5420
|
return cmd;
|
|
@@ -6065,7 +6074,7 @@ function scheduleSoftDepPreview() {
|
|
|
6065
6074
|
}
|
|
6066
6075
|
async function loadAssets() {
|
|
6067
6076
|
softDepPreviewCache.clear();
|
|
6068
|
-
const { gatherAssetFeeds } = await import('../asset-feeds-
|
|
6077
|
+
const { gatherAssetFeeds } = await import('../asset-feeds-UJSYGKCX.js');
|
|
6069
6078
|
const { entries, notes } = await gatherAssetFeeds(am, am.projectDir);
|
|
6070
6079
|
if (notes.length > 0) {
|
|
6071
6080
|
state.message = notes.map((n) => `[${n.feed}] ${n.message}`).join(" \u2022 ");
|
|
@@ -6269,7 +6278,7 @@ function reconcileCollapsedSets(rows) {
|
|
|
6269
6278
|
async function loadSourcesAndLibraries() {
|
|
6270
6279
|
try {
|
|
6271
6280
|
const [{ openLibraryManager: openLibraryManager2 }, { getGlobalCacheDir: getGlobalCacheDir2, globalSkaileDir: globalSkaileDir2 }] = await Promise.all([
|
|
6272
|
-
import('../open-library-
|
|
6281
|
+
import('../open-library-XGUCUJYE.js'),
|
|
6273
6282
|
import('../core/index.js')
|
|
6274
6283
|
]);
|
|
6275
6284
|
const { manager, library, close } = await openLibraryManager2();
|
|
@@ -9361,7 +9370,7 @@ function action2(fn) {
|
|
|
9361
9370
|
};
|
|
9362
9371
|
}
|
|
9363
9372
|
async function reconcileAndReport(projectDir, plugins, opts = {}) {
|
|
9364
|
-
const { reconcilePlugins } = await import('../plugin-store-
|
|
9373
|
+
const { reconcilePlugins } = await import('../plugin-store-BBLDFD3L.js');
|
|
9365
9374
|
if (plugins.length === 0) {
|
|
9366
9375
|
logInfo("No plugins declared \u2014 nothing to reconcile.");
|
|
9367
9376
|
return;
|
|
@@ -9376,7 +9385,7 @@ async function reconcileAndReport(projectDir, plugins, opts = {}) {
|
|
|
9376
9385
|
}
|
|
9377
9386
|
}
|
|
9378
9387
|
async function verifyPluginLoads(projectDir, spec) {
|
|
9379
|
-
const { loadPlugins } = await import('../plugin-store-
|
|
9388
|
+
const { loadPlugins } = await import('../plugin-store-BBLDFD3L.js');
|
|
9380
9389
|
const { createPluginRegistry } = await import('../plugin-registry/index.js');
|
|
9381
9390
|
const registry = createPluginRegistry();
|
|
9382
9391
|
const result = await loadPlugins(projectDir, [spec], registry);
|
|
@@ -9387,12 +9396,13 @@ async function verifyPluginLoads(projectDir, spec) {
|
|
|
9387
9396
|
);
|
|
9388
9397
|
logOk(`Loaded ${S.cmd(spec)}${contributed.length > 0 ? ` (${contributed.join(", ")})` : ""}`);
|
|
9389
9398
|
}
|
|
9390
|
-
async function runInstall2(
|
|
9399
|
+
async function runInstall2(rawSpec, opts) {
|
|
9391
9400
|
const projectDir = path19__default.resolve(opts.projectDir);
|
|
9392
9401
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
9393
|
-
const { specName, rollbackPluginStore, npmSpecError } = await import('../plugin-store-
|
|
9394
|
-
const specError = npmSpecError(
|
|
9402
|
+
const { specName, rollbackPluginStore, npmSpecError, projectRelativeFileSpec } = await import('../plugin-store-BBLDFD3L.js');
|
|
9403
|
+
const specError = npmSpecError(rawSpec);
|
|
9395
9404
|
if (specError) throw new Error(specError);
|
|
9405
|
+
const spec = projectRelativeFileSpec(rawSpec, process.cwd(), projectDir);
|
|
9396
9406
|
const yamlPath = path19__default.join(projectDir, "skaile.yaml");
|
|
9397
9407
|
if (!existsSync(yamlPath)) {
|
|
9398
9408
|
throw new Error(`no skaile.yaml in ${projectDir}; run \`skaile init\` first`);
|
|
@@ -9421,7 +9431,7 @@ async function runInstall2(spec, opts) {
|
|
|
9421
9431
|
async function runRemove(name, opts) {
|
|
9422
9432
|
const projectDir = path19__default.resolve(opts.projectDir);
|
|
9423
9433
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
9424
|
-
const { specName } = await import('../plugin-store-
|
|
9434
|
+
const { specName } = await import('../plugin-store-BBLDFD3L.js');
|
|
9425
9435
|
const yamlPath = path19__default.join(projectDir, "skaile.yaml");
|
|
9426
9436
|
if (!existsSync(yamlPath)) {
|
|
9427
9437
|
logInfo(`No plugin matching ${S.cmd(name)}: there is no skaile.yaml in ${projectDir}.`);
|
|
@@ -9453,7 +9463,7 @@ async function runList(opts) {
|
|
|
9453
9463
|
const registry = createPluginRegistry();
|
|
9454
9464
|
if (declared.length > 0) {
|
|
9455
9465
|
try {
|
|
9456
|
-
const { loadPlugins } = await import('../plugin-store-
|
|
9466
|
+
const { loadPlugins } = await import('../plugin-store-BBLDFD3L.js');
|
|
9457
9467
|
const result = await loadPlugins(projectDir, declared, registry);
|
|
9458
9468
|
for (const f of result.failed) logWarn(f.error);
|
|
9459
9469
|
} catch (err) {
|
|
@@ -9785,6 +9795,11 @@ async function runPresetExport(name, opts) {
|
|
|
9785
9795
|
logInfo("Run this from a project directory or pass --project-dir <path>.");
|
|
9786
9796
|
process.exit(1);
|
|
9787
9797
|
}
|
|
9798
|
+
const parseError = configParseErrorOf(file, "skaile.yaml");
|
|
9799
|
+
if (parseError) {
|
|
9800
|
+
logErr(parseError.message);
|
|
9801
|
+
process.exit(1);
|
|
9802
|
+
}
|
|
9788
9803
|
const presetName = name ?? file.config.name ?? "my-preset";
|
|
9789
9804
|
let lock = null;
|
|
9790
9805
|
try {
|
|
@@ -10981,7 +10996,7 @@ function makeServeCommand() {
|
|
|
10981
10996
|
process.exitCode = 1;
|
|
10982
10997
|
return;
|
|
10983
10998
|
}
|
|
10984
|
-
const dirProblem = (await import('../serve-preflight-
|
|
10999
|
+
const dirProblem = (await import('../serve-preflight-NPWI4MV6.js')).checkServeProjectDir(
|
|
10985
11000
|
opts.projectDir
|
|
10986
11001
|
);
|
|
10987
11002
|
if (dirProblem) {
|
|
@@ -11010,8 +11025,8 @@ function makeServeCommand() {
|
|
|
11010
11025
|
}
|
|
11011
11026
|
const providers = parseProviderIds(opts.providers);
|
|
11012
11027
|
const modelEndpoint = parseModelEndpointFlag(opts.modelEndpoint);
|
|
11013
|
-
const { checkHarnessSdk, checkModelEndpointPeer, checkServeModel } = await import('../serve-preflight-
|
|
11014
|
-
const { checkServeHarness, checkServeAgentDefinition } = await import('../serve-preflight-
|
|
11028
|
+
const { checkHarnessSdk, checkModelEndpointPeer, checkServeModel } = await import('../serve-preflight-NPWI4MV6.js');
|
|
11029
|
+
const { checkServeHarness, checkServeAgentDefinition } = await import('../serve-preflight-NPWI4MV6.js');
|
|
11015
11030
|
const startProblem = managedCodex ? null : await checkServeHarness(opts.projectDir, opts.harness) ?? checkServeAgentDefinition(opts.projectDir);
|
|
11016
11031
|
if (startProblem) {
|
|
11017
11032
|
logErr(startProblem);
|
|
@@ -11078,12 +11093,12 @@ function makeServeCommand() {
|
|
|
11078
11093
|
);
|
|
11079
11094
|
}
|
|
11080
11095
|
async function ensurePluginsLoadedForServe(projectDir) {
|
|
11081
|
-
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-
|
|
11096
|
+
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-SSSKT5XK.js');
|
|
11082
11097
|
try {
|
|
11083
11098
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
11084
11099
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
11085
11100
|
if (!config.plugins || config.plugins.length === 0) return;
|
|
11086
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
11101
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-BBLDFD3L.js');
|
|
11087
11102
|
const { pluginRegistry } = await import('../plugin-registry/index.js');
|
|
11088
11103
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
11089
11104
|
if (result.loaded.length > 0) {
|
|
@@ -11097,14 +11112,14 @@ async function ensurePluginsLoadedForServe(projectDir) {
|
|
|
11097
11112
|
}
|
|
11098
11113
|
}
|
|
11099
11114
|
async function runCompileTest(opts) {
|
|
11100
|
-
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-
|
|
11115
|
+
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-SSSKT5XK.js');
|
|
11101
11116
|
const { tmpdir } = await import('os');
|
|
11102
11117
|
const { dirname: dirname3, join: join6, resolve: resolve4 } = await import('path');
|
|
11103
11118
|
const { fileURLToPath: fileURLToPath2 } = await import('url');
|
|
11104
11119
|
const { unlinkSync, existsSync: existsSync22 } = await import('fs');
|
|
11105
11120
|
const { spawn } = await import('child_process');
|
|
11106
11121
|
const { portableSpawnSync: portableSpawnSync2 } = await import('../core/index.js');
|
|
11107
|
-
const { MONOREPO_ROOT } = await import('../paths-
|
|
11122
|
+
const { MONOREPO_ROOT } = await import('../paths-G4GFJLE2.js');
|
|
11108
11123
|
if (MONOREPO_ROOT === null) {
|
|
11109
11124
|
logErr2("--compile-test is only available inside the skaile-dev workspace.");
|
|
11110
11125
|
logInfo2("Run it from a checkout of skaile-ai/skaile-dev (the monorepo shell).");
|
|
@@ -12062,8 +12077,8 @@ function makeStoreCommand() {
|
|
|
12062
12077
|
"--all",
|
|
12063
12078
|
`List every match (default: ${STORE_ROW_LIMIT} rows, only what \`skaile add\` can install)`
|
|
12064
12079
|
).option("-C, --project-dir <dir>", "Project directory (catalog config overlay)", process.cwd()).action(async (query, opts) => {
|
|
12065
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError: LocalCatalogDisabledError2 } = await import('../open-library-
|
|
12066
|
-
const { getKnownKinds: getKnownKinds2 } = await import('../open-registry-
|
|
12080
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError: LocalCatalogDisabledError2 } = await import('../open-library-XGUCUJYE.js');
|
|
12081
|
+
const { getKnownKinds: getKnownKinds2 } = await import('../open-registry-DIFEPDF6.js');
|
|
12067
12082
|
const projectDir = path19__default.resolve(opts.projectDir);
|
|
12068
12083
|
if (opts.kind && !getKnownKinds2().has(opts.kind)) {
|
|
12069
12084
|
logErr(
|
|
@@ -12121,8 +12136,8 @@ function makeStoreCommand() {
|
|
|
12121
12136
|
}
|
|
12122
12137
|
});
|
|
12123
12138
|
store.command("show <ref>").description("Show a store asset's details + provenance (source, files, integrity)").option("-C, --project-dir <dir>", "Project directory (catalog config overlay)", process.cwd()).action(async (ref, opts) => {
|
|
12124
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError: LocalCatalogDisabledError2 } = await import('../open-library-
|
|
12125
|
-
const { supportsInstallManifest: supportsInstallManifest2 } = await import('../project-
|
|
12139
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError: LocalCatalogDisabledError2 } = await import('../open-library-XGUCUJYE.js');
|
|
12140
|
+
const { supportsInstallManifest: supportsInstallManifest2 } = await import('../project-LB745WVZ.js');
|
|
12126
12141
|
try {
|
|
12127
12142
|
parseAssetRef(ref);
|
|
12128
12143
|
} catch (e) {
|
|
@@ -13067,7 +13082,7 @@ async function bootstrapUserConfig() {
|
|
|
13067
13082
|
}
|
|
13068
13083
|
async function hydrateInitSources(resolved, created) {
|
|
13069
13084
|
try {
|
|
13070
|
-
const { ensureSourcesCloned } = await import('../ensure-sources-
|
|
13085
|
+
const { ensureSourcesCloned } = await import('../ensure-sources-UC2RBYMP.js');
|
|
13071
13086
|
const hydrate = ensureSourcesCloned(resolved, { quiet: true });
|
|
13072
13087
|
for (const n of hydrate.cloned) created.push(`~/.skaile/cache/sources/${n}/`);
|
|
13073
13088
|
if (hydrate.failed.length > 0) {
|
|
@@ -13106,8 +13121,9 @@ function printInitSummary(resolved, projectDir, created) {
|
|
|
13106
13121
|
);
|
|
13107
13122
|
console.log();
|
|
13108
13123
|
}
|
|
13124
|
+
program.hook("preAction", (_program, actionCommand) => setActiveCommand(actionCommand));
|
|
13109
13125
|
program.command("setup").description("Interactive provider setup wizard").action(async () => {
|
|
13110
|
-
const { cmdSetup } = await import('../setup-
|
|
13126
|
+
const { cmdSetup } = await import('../setup-X6ZYH2MW.js');
|
|
13111
13127
|
await cmdSetup([], { projectDir: process.cwd() });
|
|
13112
13128
|
});
|
|
13113
13129
|
program.addCommand(makeInstallCommand());
|
|
@@ -13188,7 +13204,7 @@ program.hook("postAction", async (_thisCommand, actionCommand) => {
|
|
|
13188
13204
|
const opts = actionCommand.opts();
|
|
13189
13205
|
if (opts.global || opts.dryRun) return;
|
|
13190
13206
|
const projectDir = path19__default.resolve(opts.projectDir ?? process.cwd());
|
|
13191
|
-
const { refreshPluginSkills } = await import('../claude-code-
|
|
13207
|
+
const { refreshPluginSkills } = await import('../claude-code-UBT4ZME7.js');
|
|
13192
13208
|
try {
|
|
13193
13209
|
if (await refreshPluginSkills(projectDir)) {
|
|
13194
13210
|
logInfo(`Updated ${S.cmd(".claude/plugins/skaile/skills")} (the --full plugin copy)`);
|
|
@@ -13229,7 +13245,7 @@ try {
|
|
|
13229
13245
|
process.exit(1);
|
|
13230
13246
|
}
|
|
13231
13247
|
const { LibrarySyncError } = await import('../library/index.js');
|
|
13232
|
-
if (!(err instanceof LibrarySyncError || err instanceof LibraryEntryError || err instanceof SourceEntryError || err instanceof LegacyKeyError))
|
|
13248
|
+
if (!(err instanceof LibrarySyncError || err instanceof LibraryEntryError || err instanceof SourceEntryError || err instanceof LegacyKeyError || err instanceof ConfigParseError))
|
|
13233
13249
|
throw err;
|
|
13234
13250
|
logErr(err.message);
|
|
13235
13251
|
process.exit(1);
|