@skaile/workspaces 6.3.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 +22 -0
- package/dist/ai-sdk.js +28 -16
- package/dist/ai-sdk.js.map +1 -1
- package/dist/app-sdk/index.js +1 -1
- package/dist/{asset-feeds-3YO2352Y.js → asset-feeds-UJSYGKCX.js} +19 -19
- package/dist/{asset-feeds-3YO2352Y.js.map → asset-feeds-UJSYGKCX.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.js +6 -6
- package/dist/asset-manager/index.js +11 -11
- package/dist/asset-manager/installer.js +7 -7
- package/dist/asset-manager/renderers.js +6 -6
- 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 +10 -10
- package/dist/bridge/harnesses/codex.js +8 -8
- package/dist/bridge/harnesses/continue.js +9 -9
- package/dist/bridge/harnesses/echo.js +4 -4
- package/dist/bridge/harnesses/gemini.js +5 -5
- package/dist/bridge/harnesses/goose.js +9 -9
- package/dist/bridge/harnesses/omp.js +6 -6
- package/dist/bridge/harnesses/opencode.js +9 -9
- package/dist/bridge/harnesses/qwen.js +5 -5
- package/dist/bridge/index.js +15 -15
- package/dist/bridge/src/ai-sdk.d.ts +5 -0
- package/dist/bridge/src/ai-sdk.d.ts.map +1 -1
- 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/{chunk-72NT2TJU.js → chunk-24D7IW5O.js} +6 -6
- package/dist/{chunk-72NT2TJU.js.map → chunk-24D7IW5O.js.map} +1 -1
- package/dist/{chunk-HH2H2ZV7.js → chunk-2WOA3TKK.js} +12 -12
- package/dist/chunk-2WOA3TKK.js.map +1 -0
- package/dist/{chunk-6WH2WE4B.js → chunk-3ENE6ZOF.js} +4 -4
- package/dist/{chunk-6WH2WE4B.js.map → chunk-3ENE6ZOF.js.map} +1 -1
- package/dist/{chunk-32FYVSSW.js → chunk-45KLCFQB.js} +5 -5
- package/dist/{chunk-32FYVSSW.js.map → chunk-45KLCFQB.js.map} +1 -1
- package/dist/{chunk-BPTWWKGF.js → chunk-5NHBLKKU.js} +3 -3
- package/dist/{chunk-BPTWWKGF.js.map → chunk-5NHBLKKU.js.map} +1 -1
- package/dist/{chunk-7MV3NHPT.js → chunk-5T3DTK7A.js} +41 -23
- package/dist/chunk-5T3DTK7A.js.map +1 -0
- package/dist/{chunk-XBQTXGY4.js → chunk-6WQGJF65.js} +18 -6
- package/dist/chunk-6WQGJF65.js.map +1 -0
- package/dist/{chunk-H622YULS.js → chunk-6X3GDPCB.js} +3 -3
- package/dist/{chunk-H622YULS.js.map → chunk-6X3GDPCB.js.map} +1 -1
- package/dist/{chunk-7QG2WRSN.js → chunk-76WSWPOB.js} +15 -7
- package/dist/{chunk-7QG2WRSN.js.map → chunk-76WSWPOB.js.map} +1 -1
- package/dist/{chunk-J5JRGBKK.js → chunk-ABVWUM2E.js} +27 -17
- package/dist/chunk-ABVWUM2E.js.map +1 -0
- package/dist/{chunk-V5BPDB4J.js → chunk-ACBL7X62.js} +3 -3
- package/dist/{chunk-V5BPDB4J.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-PL52CI4U.js → chunk-BX7PSWJA.js} +4 -4
- package/dist/{chunk-PL52CI4U.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-4QRJBY2P.js → chunk-DCJ4BION.js} +2 -2
- package/dist/{chunk-4QRJBY2P.js.map → chunk-DCJ4BION.js.map} +1 -1
- package/dist/{chunk-HGOJEVHY.js → chunk-DF5WJC3Q.js} +4 -4
- package/dist/{chunk-HGOJEVHY.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-ZEH4WFEG.js → chunk-EXRQKOY6.js} +11 -11
- package/dist/{chunk-ZEH4WFEG.js.map → chunk-EXRQKOY6.js.map} +1 -1
- package/dist/{chunk-QFFMFZIR.js → chunk-G63KOHFS.js} +3 -3
- package/dist/{chunk-QFFMFZIR.js.map → chunk-G63KOHFS.js.map} +1 -1
- package/dist/{chunk-Y3I4KGLX.js → chunk-GBXQFJ4G.js} +8 -8
- package/dist/{chunk-Y3I4KGLX.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-YW4ASEUP.js → chunk-HSF665NV.js} +5 -5
- package/dist/{chunk-YW4ASEUP.js.map → chunk-HSF665NV.js.map} +1 -1
- package/dist/{chunk-LEJQAX7G.js → chunk-HXZ3FQQN.js} +14 -14
- package/dist/{chunk-LEJQAX7G.js.map → chunk-HXZ3FQQN.js.map} +1 -1
- package/dist/{chunk-ROVZCGTN.js → chunk-IYZAJ2J2.js} +16 -13
- package/dist/chunk-IYZAJ2J2.js.map +1 -0
- package/dist/{chunk-PHAMYCZH.js → chunk-IZV3HDVG.js} +5 -5
- package/dist/{chunk-PHAMYCZH.js.map → chunk-IZV3HDVG.js.map} +1 -1
- package/dist/{chunk-ELSGFI3I.js → chunk-JSWMRYLM.js} +3 -3
- package/dist/{chunk-ELSGFI3I.js.map → chunk-JSWMRYLM.js.map} +1 -1
- 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-Q7CU5GQO.js → chunk-L4OYPFLB.js} +3 -3
- package/dist/{chunk-Q7CU5GQO.js.map → chunk-L4OYPFLB.js.map} +1 -1
- package/dist/{chunk-7TSNR5H5.js → chunk-O7KAQQAI.js} +4 -4
- package/dist/{chunk-7TSNR5H5.js.map → chunk-O7KAQQAI.js.map} +1 -1
- package/dist/{chunk-EQNIBBB6.js → chunk-P7EL7QRD.js} +14 -14
- package/dist/{chunk-EQNIBBB6.js.map → chunk-P7EL7QRD.js.map} +1 -1
- package/dist/{chunk-2TFKXSB5.js → chunk-PTBX55QF.js} +4 -4
- package/dist/{chunk-2TFKXSB5.js.map → chunk-PTBX55QF.js.map} +1 -1
- package/dist/{chunk-DU26AVK2.js → chunk-Q4XWCVFA.js} +7 -7
- package/dist/{chunk-DU26AVK2.js.map → chunk-Q4XWCVFA.js.map} +1 -1
- package/dist/{chunk-S6KZHPR4.js → chunk-QJQQNBVT.js} +2 -2
- package/dist/{chunk-S6KZHPR4.js.map → chunk-QJQQNBVT.js.map} +1 -1
- package/dist/{chunk-HDVLBEEX.js → chunk-QSIFEHSN.js} +3 -3
- package/dist/{chunk-HDVLBEEX.js.map → chunk-QSIFEHSN.js.map} +1 -1
- package/dist/{chunk-VUWRGMT6.js → chunk-RKI35EAN.js} +3 -3
- package/dist/{chunk-VUWRGMT6.js.map → chunk-RKI35EAN.js.map} +1 -1
- package/dist/{chunk-7RH6E332.js → chunk-SISUT7VR.js} +7 -7
- package/dist/{chunk-7RH6E332.js.map → chunk-SISUT7VR.js.map} +1 -1
- package/dist/{chunk-TGV2EWGL.js → chunk-TDKZL5ZC.js} +3 -3
- package/dist/{chunk-TGV2EWGL.js.map → chunk-TDKZL5ZC.js.map} +1 -1
- package/dist/{chunk-KIPCBIFJ.js → chunk-TF5CWJQZ.js} +5 -5
- package/dist/{chunk-KIPCBIFJ.js.map → chunk-TF5CWJQZ.js.map} +1 -1
- package/dist/{chunk-KGHYXXXV.js → chunk-TGB4E5Z6.js} +188 -52
- package/dist/chunk-TGB4E5Z6.js.map +1 -0
- package/dist/{chunk-AMJ6KEV7.js → chunk-TPQKFX6X.js} +4 -4
- package/dist/{chunk-AMJ6KEV7.js.map → chunk-TPQKFX6X.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-JGH7NB47.js → chunk-UAOHR6AL.js} +4 -4
- package/dist/{chunk-JGH7NB47.js.map → chunk-UAOHR6AL.js.map} +1 -1
- package/dist/{chunk-COUJOTAJ.js → chunk-UBLZALKP.js} +3 -3
- package/dist/{chunk-COUJOTAJ.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-TO5SSMRI.js → chunk-UVTN4O7N.js} +42 -17
- package/dist/chunk-UVTN4O7N.js.map +1 -0
- package/dist/{chunk-LD6O6QKU.js → chunk-V4OXHEWY.js} +3 -3
- package/dist/{chunk-LD6O6QKU.js.map → chunk-V4OXHEWY.js.map} +1 -1
- package/dist/{chunk-QTLUZUF2.js → chunk-VSCLUPGZ.js} +28 -26
- 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-XEVFSDIF.js → chunk-WENTJ5KP.js} +4 -4
- package/dist/{chunk-XEVFSDIF.js.map → chunk-WENTJ5KP.js.map} +1 -1
- package/dist/{chunk-MD3FUZS3.js → chunk-YFGXYQW4.js} +3 -3
- package/dist/{chunk-MD3FUZS3.js.map → chunk-YFGXYQW4.js.map} +1 -1
- package/dist/{chunk-MYXFR27L.js → chunk-YJNE4V2M.js} +16 -9
- package/dist/chunk-YJNE4V2M.js.map +1 -0
- package/dist/{chunk-RFQONXET.js → chunk-ZWCGJYR7.js} +3 -3
- package/dist/{chunk-RFQONXET.js.map → chunk-ZWCGJYR7.js.map} +1 -1
- package/dist/{claude-code-EUKDGOOO.js → claude-code-UBT4ZME7.js} +4 -4
- package/dist/{claude-code-EUKDGOOO.js.map → claude-code-UBT4ZME7.js.map} +1 -1
- package/dist/cli/index.js +103 -89
- 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/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 +19 -19
- package/dist/{connectors-XYPE2DCQ.js → connectors-4WH32NK2.js} +22 -22
- package/dist/{connectors-XYPE2DCQ.js.map → connectors-4WH32NK2.js.map} +1 -1
- package/dist/connectors-shared/index.js +2 -2
- package/dist/core/index.js +5 -5
- 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 +5 -5
- package/dist/discovery/index.js +3 -3
- package/dist/{ensure-sources-IN3VKHUA.js → ensure-sources-UC2RBYMP.js} +24 -24
- package/dist/{ensure-sources-IN3VKHUA.js.map → ensure-sources-UC2RBYMP.js.map} +1 -1
- package/dist/factory-assets/connectors/box.js +19 -19
- package/dist/factory-assets/connectors/deploy.js +19 -19
- package/dist/factory-assets/connectors/devserver.js +19 -19
- package/dist/factory-assets/connectors/flow/adapter.js +19 -19
- package/dist/factory-assets/connectors/flow/engine.js +6 -6
- package/dist/factory-assets/connectors/flow/run-flow.js +21 -21
- package/dist/factory-assets/connectors/flow.js +19 -19
- package/dist/factory-assets/connectors/git.js +19 -19
- package/dist/factory-assets/connectors/gmail.js +19 -19
- package/dist/factory-assets/connectors/googledrive.js +19 -19
- package/dist/factory-assets/connectors/local.js +19 -19
- package/dist/factory-assets/connectors/mattermost.js +19 -19
- package/dist/factory-assets/connectors/memory.js +19 -19
- package/dist/factory-assets/connectors/minio.js +19 -19
- package/dist/factory-assets/connectors/postgres.js +19 -19
- package/dist/factory-assets/connectors/s3.js +19 -19
- package/dist/factory-assets/connectors/sharepoint.js +19 -19
- package/dist/factory-assets/connectors/sqlite.js +19 -19
- package/dist/factory-assets/connectors/static-server.js +19 -19
- package/dist/factory-assets/connectors/tunnel.js +19 -19
- package/dist/factory-assets/connectors/webdav.js +19 -19
- package/dist/factory-assets/connectors/xstate-store.js +19 -19
- package/dist/factory-assets/connectors/xstate.js +19 -19
- package/dist/{flows-QAO63TDV.js → flows-LYTKNGKE.js} +10 -10
- package/dist/{flows-QAO63TDV.js.map → flows-LYTKNGKE.js.map} +1 -1
- package/dist/{helpers-HDVGCF3M.js → helpers-SSSKT5XK.js} +24 -24
- package/dist/{helpers-HDVGCF3M.js.map → helpers-SSSKT5XK.js.map} +1 -1
- package/dist/library/index.js +8 -8
- package/dist/library/install.js +3 -3
- package/dist/{library-publish-62OWCNB5.js → library-publish-GQMNTAKK.js} +48 -48
- package/dist/{library-publish-62OWCNB5.js.map → library-publish-GQMNTAKK.js.map} +1 -1
- package/dist/model-endpoint/index.js +8 -8
- package/dist/{open-library-TZ7OSDEJ.js → open-library-XGUCUJYE.js} +27 -27
- package/dist/{open-library-TZ7OSDEJ.js.map → open-library-XGUCUJYE.js.map} +1 -1
- package/dist/{open-registry-RLZKTJG3.js → open-registry-DIFEPDF6.js} +12 -12
- package/dist/{open-registry-RLZKTJG3.js.map → open-registry-DIFEPDF6.js.map} +1 -1
- package/dist/{paths-D6LBQETQ.js → paths-G4GFJLE2.js} +8 -8
- package/dist/{paths-D6LBQETQ.js.map → paths-G4GFJLE2.js.map} +1 -1
- package/dist/{plugin-store-A5J4TLCH.js → plugin-store-BBLDFD3L.js} +8 -8
- package/dist/{plugin-store-A5J4TLCH.js.map → plugin-store-BBLDFD3L.js.map} +1 -1
- package/dist/{project-4AVRES3M.js → project-LB745WVZ.js} +44 -44
- package/dist/{project-4AVRES3M.js.map → project-LB745WVZ.js.map} +1 -1
- package/dist/resolver/index.js +6 -6
- package/dist/runner/index.js +34 -34
- 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 +11 -11
- package/dist/sdk/bridge.js +15 -15
- package/dist/sdk/core.js +5 -5
- package/dist/sdk/flow.js +6 -6
- package/dist/sdk/index.js +34 -34
- package/dist/sdk/resolver.js +6 -6
- package/dist/sdk/runner.js +34 -34
- package/dist/sdk/session.js +2 -2
- package/dist/sdk/transport/ws/server.js +6 -6
- package/dist/sdk/transport/ws.js +6 -6
- package/dist/sdk/transport.js +6 -6
- package/dist/sdk/types.js +1 -1
- package/dist/{serve-preflight-H2AYMGJ6.js → serve-preflight-NPWI4MV6.js} +25 -25
- package/dist/{serve-preflight-H2AYMGJ6.js.map → serve-preflight-NPWI4MV6.js.map} +1 -1
- package/dist/session/index.js +2 -2
- package/dist/{setup-NSPQD4V4.js → setup-X6ZYH2MW.js} +30 -27
- package/dist/setup-X6ZYH2MW.js.map +1 -0
- package/dist/{skills-B533SRVZ.js → skills-62PXDBPJ.js} +11 -11
- package/dist/{skills-B533SRVZ.js.map → skills-62PXDBPJ.js.map} +1 -1
- package/dist/{source-VTECABUO.js → source-LAYCTRHP.js} +44 -44
- package/dist/{source-VTECABUO.js.map → source-LAYCTRHP.js.map} +1 -1
- package/dist/{source-manifest-publish-YORI42MN.js → source-manifest-publish-3S6PJ25W.js} +46 -46
- package/dist/{source-manifest-publish-YORI42MN.js.map → source-manifest-publish-3S6PJ25W.js.map} +1 -1
- package/dist/transport/index.js +6 -6
- package/dist/transport/ws/server.js +6 -6
- package/dist/transport/ws.js +6 -6
- package/dist/tui/index.js +34 -34
- 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 +26 -26
- package/dist/workspace-plugin/adapters/omp.js +14 -14
- package/dist/workspace-plugin/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-7MV3NHPT.js.map +0 -1
- package/dist/chunk-HH2H2ZV7.js.map +0 -1
- package/dist/chunk-J5JRGBKK.js.map +0 -1
- package/dist/chunk-JMIKGAUA.js.map +0 -1
- package/dist/chunk-KGHYXXXV.js.map +0 -1
- package/dist/chunk-MYXFR27L.js.map +0 -1
- package/dist/chunk-QTLUZUF2.js.map +0 -1
- package/dist/chunk-ROVZCGTN.js.map +0 -1
- package/dist/chunk-TO5SSMRI.js.map +0 -1
- package/dist/chunk-XBQTXGY4.js.map +0 -1
- package/dist/setup-NSPQD4V4.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,92 +1,92 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { status, enable, disable, install, uninstall } from '../chunk-
|
|
3
|
-
import { makeValidateCommand, scanIdentities } from '../chunk-
|
|
4
|
-
import { storeNotInstallableReason, mcpNotRunnableHere } from '../chunk-
|
|
5
|
-
import { makeProvidersCommand, loadRegistryView, addProviderEntry, ProviderRegistryWriteError, removeProviderEntry } from '../chunk-
|
|
6
|
-
import { makeInstallCommand, makeCheckCommand, makeCleanCommand, pinComposedAgents, reportRewritten, reportReplaced, reportRelocked, reportMoved, reportStoreNotChecked, globalProblems, editedConventionFiles, supportsInstallManifest, runYamlInstall, REF_HINT, reportInstalledSoftDeps } from '../chunk-
|
|
7
|
-
import { reportUnknownHarnesses, reportProjectConfig, agentInstanceErrorLines, isRecord } from '../chunk-
|
|
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';
|
|
8
8
|
import { createSpinner } from '../chunk-NESV47MF.js';
|
|
9
|
-
import { loadDeclaredPlugins } from '../chunk-
|
|
10
|
-
import { getStoreConfig, storeFetch, isStoreAuthenticated, getStoreToken } from '../chunk-
|
|
11
|
-
import { makeSourceCommand, syncProjectSources, divergedSourceClones } from '../chunk-
|
|
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-
|
|
13
|
-
import { openCatalogSource, LocalCatalogDisabledError, openLibraryManager, openLibrary } from '../chunk-
|
|
14
|
-
import { getKindRegistry, getKnownKinds } from '../chunk-
|
|
15
|
-
import { AI_RESOURCES } from '../chunk-
|
|
16
|
-
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-
|
|
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
35
|
import '../chunk-HTGTNN2B.js';
|
|
36
|
-
import { runFlow, resumeFlow } from '../chunk-
|
|
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-
|
|
48
|
+
import '../chunk-UUKCPPTQ.js';
|
|
49
49
|
import '../chunk-U3SXCVR7.js';
|
|
50
|
-
import '../chunk-
|
|
50
|
+
import '../chunk-6X3GDPCB.js';
|
|
51
51
|
import '../chunk-6OHZUUR7.js';
|
|
52
52
|
import '../chunk-7DN6JKP2.js';
|
|
53
|
-
import '../chunk-
|
|
54
|
-
import { listHarnesses } from '../chunk-
|
|
53
|
+
import '../chunk-QSIFEHSN.js';
|
|
54
|
+
import { listHarnesses } from '../chunk-QJQQNBVT.js';
|
|
55
55
|
import '../chunk-G5SUWZEU.js';
|
|
56
|
-
import '../chunk-
|
|
56
|
+
import '../chunk-G63KOHFS.js';
|
|
57
57
|
import { getProviderPreset, AI_PROVIDER_PRESETS } from '../chunk-6UP2EDFN.js';
|
|
58
58
|
import '../chunk-IFGTRL2I.js';
|
|
59
|
-
import { loadFlow, flowLookupRoots, findFlowFileInRoots, loadAllFlowEntries } from '../chunk-
|
|
59
|
+
import { loadFlow, flowLookupRoots, findFlowFileInRoots, loadAllFlowEntries } from '../chunk-ZWCGJYR7.js';
|
|
60
60
|
import '../chunk-WD3L5QSU.js';
|
|
61
61
|
import { nodeLabel, nodeSkillAsset, nodeIsInert, nodeIsOptional, nodeRunKind, nodeAssets } from '../chunk-7RGTAEG6.js';
|
|
62
|
-
import '../chunk-
|
|
63
|
-
import { setLibraryAssetCheck, setRenamedEntryLookup, LibraryEntryError, AssetManager, parseRefTolerant, MissingManifestError, parseCanonicalLockKey, normalizeRepoUrl } from '../chunk-
|
|
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-
|
|
65
|
-
import { flowFileNameError, SEMVER_RE } from '../chunk-
|
|
66
|
-
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';
|
|
67
67
|
import '../chunk-F3D25RGM.js';
|
|
68
68
|
import '../chunk-3TXEJN4W.js';
|
|
69
69
|
import '../chunk-ISHJITXJ.js';
|
|
70
70
|
import '../chunk-LNFKL23K.js';
|
|
71
71
|
import '../chunk-JRN5QF4C.js';
|
|
72
72
|
import '../chunk-NUELZWCF.js';
|
|
73
|
-
import { installTargetOf, SCAFFOLD_KINDS } from '../chunk-
|
|
73
|
+
import { installTargetOf, SCAFFOLD_KINDS } from '../chunk-YJNE4V2M.js';
|
|
74
74
|
import '../chunk-PKE3PXOK.js';
|
|
75
75
|
import '../chunk-KTBKW2FI.js';
|
|
76
76
|
import '../chunk-UQ6LFBPZ.js';
|
|
77
|
-
import '../chunk-
|
|
77
|
+
import '../chunk-V4OXHEWY.js';
|
|
78
78
|
import { effectiveComposes, validatePreset, validateAgent, composeSlotDiagnostics, agentDeprecationDiagnostics, SLOT_ID_PATTERN } from '../chunk-76FLBODK.js';
|
|
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-
|
|
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';
|
|
80
80
|
import '../chunk-4GY63JU6.js';
|
|
81
|
-
import { factoryAssetRoots } from '../chunk-
|
|
81
|
+
import { factoryAssetRoots } from '../chunk-3ENE6ZOF.js';
|
|
82
82
|
import { deployedDir } from '../chunk-5KRMNUL4.js';
|
|
83
83
|
import { DEFAULT_HARNESS_ID, HARNESS_DEFAULTS } from '../chunk-C5HFK34M.js';
|
|
84
84
|
import { findKindDirs } from '../chunk-MWXYN6NY.js';
|
|
85
|
-
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';
|
|
86
86
|
import { globalCacheRoot, globalSkaileDir, userConfigPath } from '../chunk-L5VSIPQD.js';
|
|
87
87
|
import { HARNESS_TARGETS, SUPPORTED_HARNESSES, harnessNameForHarnessId } from '../chunk-VTETQCR6.js';
|
|
88
|
-
import { SKAILE_MANIFEST_FILENAME, loadSkPublishManifest, decodeSkaileManifest, LIBRARY_GITIGNORE, librarySymlinkMessage, isNonAssetPath, isNonAssetDir, encodeSkaileManifest } from '../chunk-
|
|
89
|
-
import { setWalkTruncationSink, dedupeRequirements, parseFrontmatter, scanDirectory, parseRequires } 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';
|
|
90
90
|
import { pluginTitle } from '../chunk-RVRB27AN.js';
|
|
91
91
|
import { parseAssetRef, isValidPublisher, PUBLISHER_HINT, isValidAssetName, ASSET_NAME_HINT, depToStr, assetRefToStr, slugifyAssetName, parseAssetRefLoose } from '../chunk-IZQOO6MN.js';
|
|
92
92
|
import { portableSpawn, portableSpawnSync } from '../chunk-VSX2G7LA.js';
|
|
@@ -238,7 +238,7 @@ async function runSearch(kind, query, opts) {
|
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
async function searchIndex(query, kind, projectDir) {
|
|
241
|
-
const { openLibrary: openLibrary2 } = await import('../open-library-
|
|
241
|
+
const { openLibrary: openLibrary2 } = await import('../open-library-XGUCUJYE.js');
|
|
242
242
|
const library = await openLibrary2();
|
|
243
243
|
try {
|
|
244
244
|
const { libraryDirMissing: libraryDirMissing2 } = await import('../library/index.js');
|
|
@@ -413,14 +413,14 @@ async function withAddVersions(entries, projectDir) {
|
|
|
413
413
|
}
|
|
414
414
|
async function searchLocal(query, kind, opts, showStore, airGapped) {
|
|
415
415
|
const projectDir = path19__default.resolve(opts.projectDir);
|
|
416
|
-
const { restoreSourceReaders } = await import('../source-
|
|
416
|
+
const { restoreSourceReaders } = await import('../source-LAYCTRHP.js');
|
|
417
417
|
for (const name of await restoreSourceReaders(projectDir)) {
|
|
418
418
|
logInfo(`Re-registered source "${name}" (its library entry was removed elsewhere).`);
|
|
419
419
|
}
|
|
420
420
|
const factory = await searchFactory(projectDir, query, kind);
|
|
421
421
|
let entries = unionEntries(await searchIndex(query, kind, projectDir), factory);
|
|
422
422
|
if (entries.length === 0 && !query && !kind && !airGapped) {
|
|
423
|
-
const { autoSyncForSearch } = await import('../source-
|
|
423
|
+
const { autoSyncForSearch } = await import('../source-LAYCTRHP.js');
|
|
424
424
|
if (await autoSyncForSearch(projectDir)) {
|
|
425
425
|
entries = unionEntries(await searchIndex(query, kind, projectDir), factory);
|
|
426
426
|
}
|
|
@@ -538,7 +538,7 @@ async function searchStore(query, kind, opts, airGapped) {
|
|
|
538
538
|
logInfo("air-gapped (cache_ttl: 0) \u2014 local sources only");
|
|
539
539
|
return "skipped";
|
|
540
540
|
}
|
|
541
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError: LocalCatalogDisabledError2 } = await import('../open-library-
|
|
541
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError: LocalCatalogDisabledError2 } = await import('../open-library-XGUCUJYE.js');
|
|
542
542
|
try {
|
|
543
543
|
const remote = await openCatalogSource2({ projectDir: path19__default.resolve(opts.projectDir) });
|
|
544
544
|
const assets = await remote.listAssets(kind ? { kind } : {});
|
|
@@ -1102,7 +1102,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
1102
1102
|
return { entry: match ?? deployed };
|
|
1103
1103
|
}
|
|
1104
1104
|
const lookup = opts.storeLookup ?? (async (filter) => {
|
|
1105
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
1105
|
+
const { resolveCatalogSource } = await import('../open-library-XGUCUJYE.js');
|
|
1106
1106
|
const { source, close } = await resolveCatalogSource({ projectDir: opts.projectDir });
|
|
1107
1107
|
try {
|
|
1108
1108
|
return await source.listAssets(filter);
|
|
@@ -1118,7 +1118,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
1118
1118
|
);
|
|
1119
1119
|
return { entry: hit ? catalogAssetToEntry(hit) : null };
|
|
1120
1120
|
} catch (err) {
|
|
1121
|
-
const { LocalCatalogDisabledError: LocalCatalogDisabledError2 } = await import('../open-library-
|
|
1121
|
+
const { LocalCatalogDisabledError: LocalCatalogDisabledError2 } = await import('../open-library-XGUCUJYE.js');
|
|
1122
1122
|
const storeNote = err instanceof Error ? err.message : String(err);
|
|
1123
1123
|
const disabled = err instanceof LocalCatalogDisabledError2 || /catalog\.url/i.test(storeNote);
|
|
1124
1124
|
return { entry: null, storeNote, ...disabled ? { storeDisabled: true } : {} };
|
|
@@ -1842,7 +1842,7 @@ function makeCatalogCommand() {
|
|
|
1842
1842
|
return catalog;
|
|
1843
1843
|
}
|
|
1844
1844
|
async function runLocalCatalogTest(projectDir) {
|
|
1845
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
1845
|
+
const { resolveCatalogSource } = await import('../open-library-XGUCUJYE.js');
|
|
1846
1846
|
let resolved;
|
|
1847
1847
|
try {
|
|
1848
1848
|
resolved = await resolveCatalogSource({ projectDir });
|
|
@@ -2018,7 +2018,7 @@ async function scanLibraryFlowEntries() {
|
|
|
2018
2018
|
const { LocalIndex, resolveIndexPath, scanAuthoringLibraries } = await import('../library/index.js');
|
|
2019
2019
|
const indexPath = resolveIndexPath();
|
|
2020
2020
|
if (!existsSync(indexPath)) return entries;
|
|
2021
|
-
const { getKindRegistry: getKindRegistry2 } = await import('../open-registry-
|
|
2021
|
+
const { getKindRegistry: getKindRegistry2 } = await import('../open-registry-DIFEPDF6.js');
|
|
2022
2022
|
const index = new LocalIndex({ indexPath });
|
|
2023
2023
|
try {
|
|
2024
2024
|
for (const { library, assets } of await scanAuthoringLibraries(index, getKindRegistry2())) {
|
|
@@ -3164,7 +3164,7 @@ async function ensureTargetsRegistered(projectDir) {
|
|
|
3164
3164
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
3165
3165
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
3166
3166
|
if (config.plugins && config.plugins.length > 0) {
|
|
3167
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
3167
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-BBLDFD3L.js');
|
|
3168
3168
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
3169
3169
|
for (const f of result.failed) logWarn(f.error);
|
|
3170
3170
|
}
|
|
@@ -4665,7 +4665,7 @@ function remoteBranches(url) {
|
|
|
4665
4665
|
return r.stdout.split("\n").map((line) => line.split(" ")[1]?.replace(/^refs\/heads\//, "")).filter((b) => !!b);
|
|
4666
4666
|
}
|
|
4667
4667
|
async function warnIfNotGithubRemote(name, url) {
|
|
4668
|
-
const { isGithubRemote, notGithubRemoteMessage } = await import('../library-publish-
|
|
4668
|
+
const { isGithubRemote, notGithubRemoteMessage } = await import('../library-publish-GQMNTAKK.js');
|
|
4669
4669
|
if (!isGithubRemote(url)) logWarn(notGithubRemoteMessage(name, url));
|
|
4670
4670
|
}
|
|
4671
4671
|
function scaffoldLibraryFiles(dir, name) {
|
|
@@ -4885,7 +4885,14 @@ function makeLibraryCommand() {
|
|
|
4885
4885
|
stampManifestPublisher(lib.path, resolved.publisher);
|
|
4886
4886
|
warnManifestNeedsCommit(lib.path, name);
|
|
4887
4887
|
}
|
|
4888
|
-
|
|
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);
|
|
4889
4896
|
for (const e of res.errors) logWarn(e);
|
|
4890
4897
|
logOk(`Indexed ${res.assetsUpdated} asset(s) from ${name}.`);
|
|
4891
4898
|
warnUnlistedAssets(unlisted, name);
|
|
@@ -5398,16 +5405,16 @@ function makeLibraryCommand() {
|
|
|
5398
5405
|
"With --create-repo: create the repo private (the store only accepts public repos)"
|
|
5399
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(
|
|
5400
5407
|
async (lib, opts) => {
|
|
5401
|
-
const { runLibraryPublish } = await import('../library-publish-
|
|
5408
|
+
const { runLibraryPublish } = await import('../library-publish-GQMNTAKK.js');
|
|
5402
5409
|
await withStoreErrorHandling(() => runLibraryPublish(lib, opts));
|
|
5403
5410
|
}
|
|
5404
5411
|
);
|
|
5405
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) => {
|
|
5406
|
-
const { runLibraryRegister } = await import('../library-publish-
|
|
5413
|
+
const { runLibraryRegister } = await import('../library-publish-GQMNTAKK.js');
|
|
5407
5414
|
await withStoreErrorHandling(() => runLibraryRegister(lib, opts));
|
|
5408
5415
|
});
|
|
5409
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) => {
|
|
5410
|
-
const { runLibraryYank } = await import('../library-publish-
|
|
5417
|
+
const { runLibraryYank } = await import('../library-publish-GQMNTAKK.js');
|
|
5411
5418
|
await withStoreErrorHandling(() => runLibraryYank(lib, opts));
|
|
5412
5419
|
});
|
|
5413
5420
|
return cmd;
|
|
@@ -6067,7 +6074,7 @@ function scheduleSoftDepPreview() {
|
|
|
6067
6074
|
}
|
|
6068
6075
|
async function loadAssets() {
|
|
6069
6076
|
softDepPreviewCache.clear();
|
|
6070
|
-
const { gatherAssetFeeds } = await import('../asset-feeds-
|
|
6077
|
+
const { gatherAssetFeeds } = await import('../asset-feeds-UJSYGKCX.js');
|
|
6071
6078
|
const { entries, notes } = await gatherAssetFeeds(am, am.projectDir);
|
|
6072
6079
|
if (notes.length > 0) {
|
|
6073
6080
|
state.message = notes.map((n) => `[${n.feed}] ${n.message}`).join(" \u2022 ");
|
|
@@ -6271,7 +6278,7 @@ function reconcileCollapsedSets(rows) {
|
|
|
6271
6278
|
async function loadSourcesAndLibraries() {
|
|
6272
6279
|
try {
|
|
6273
6280
|
const [{ openLibraryManager: openLibraryManager2 }, { getGlobalCacheDir: getGlobalCacheDir2, globalSkaileDir: globalSkaileDir2 }] = await Promise.all([
|
|
6274
|
-
import('../open-library-
|
|
6281
|
+
import('../open-library-XGUCUJYE.js'),
|
|
6275
6282
|
import('../core/index.js')
|
|
6276
6283
|
]);
|
|
6277
6284
|
const { manager, library, close } = await openLibraryManager2();
|
|
@@ -9363,7 +9370,7 @@ function action2(fn) {
|
|
|
9363
9370
|
};
|
|
9364
9371
|
}
|
|
9365
9372
|
async function reconcileAndReport(projectDir, plugins, opts = {}) {
|
|
9366
|
-
const { reconcilePlugins } = await import('../plugin-store-
|
|
9373
|
+
const { reconcilePlugins } = await import('../plugin-store-BBLDFD3L.js');
|
|
9367
9374
|
if (plugins.length === 0) {
|
|
9368
9375
|
logInfo("No plugins declared \u2014 nothing to reconcile.");
|
|
9369
9376
|
return;
|
|
@@ -9378,7 +9385,7 @@ async function reconcileAndReport(projectDir, plugins, opts = {}) {
|
|
|
9378
9385
|
}
|
|
9379
9386
|
}
|
|
9380
9387
|
async function verifyPluginLoads(projectDir, spec) {
|
|
9381
|
-
const { loadPlugins } = await import('../plugin-store-
|
|
9388
|
+
const { loadPlugins } = await import('../plugin-store-BBLDFD3L.js');
|
|
9382
9389
|
const { createPluginRegistry } = await import('../plugin-registry/index.js');
|
|
9383
9390
|
const registry = createPluginRegistry();
|
|
9384
9391
|
const result = await loadPlugins(projectDir, [spec], registry);
|
|
@@ -9389,12 +9396,13 @@ async function verifyPluginLoads(projectDir, spec) {
|
|
|
9389
9396
|
);
|
|
9390
9397
|
logOk(`Loaded ${S.cmd(spec)}${contributed.length > 0 ? ` (${contributed.join(", ")})` : ""}`);
|
|
9391
9398
|
}
|
|
9392
|
-
async function runInstall2(
|
|
9399
|
+
async function runInstall2(rawSpec, opts) {
|
|
9393
9400
|
const projectDir = path19__default.resolve(opts.projectDir);
|
|
9394
9401
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
9395
|
-
const { specName, rollbackPluginStore, npmSpecError } = await import('../plugin-store-
|
|
9396
|
-
const specError = npmSpecError(
|
|
9402
|
+
const { specName, rollbackPluginStore, npmSpecError, projectRelativeFileSpec } = await import('../plugin-store-BBLDFD3L.js');
|
|
9403
|
+
const specError = npmSpecError(rawSpec);
|
|
9397
9404
|
if (specError) throw new Error(specError);
|
|
9405
|
+
const spec = projectRelativeFileSpec(rawSpec, process.cwd(), projectDir);
|
|
9398
9406
|
const yamlPath = path19__default.join(projectDir, "skaile.yaml");
|
|
9399
9407
|
if (!existsSync(yamlPath)) {
|
|
9400
9408
|
throw new Error(`no skaile.yaml in ${projectDir}; run \`skaile init\` first`);
|
|
@@ -9423,7 +9431,7 @@ async function runInstall2(spec, opts) {
|
|
|
9423
9431
|
async function runRemove(name, opts) {
|
|
9424
9432
|
const projectDir = path19__default.resolve(opts.projectDir);
|
|
9425
9433
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
9426
|
-
const { specName } = await import('../plugin-store-
|
|
9434
|
+
const { specName } = await import('../plugin-store-BBLDFD3L.js');
|
|
9427
9435
|
const yamlPath = path19__default.join(projectDir, "skaile.yaml");
|
|
9428
9436
|
if (!existsSync(yamlPath)) {
|
|
9429
9437
|
logInfo(`No plugin matching ${S.cmd(name)}: there is no skaile.yaml in ${projectDir}.`);
|
|
@@ -9455,7 +9463,7 @@ async function runList(opts) {
|
|
|
9455
9463
|
const registry = createPluginRegistry();
|
|
9456
9464
|
if (declared.length > 0) {
|
|
9457
9465
|
try {
|
|
9458
|
-
const { loadPlugins } = await import('../plugin-store-
|
|
9466
|
+
const { loadPlugins } = await import('../plugin-store-BBLDFD3L.js');
|
|
9459
9467
|
const result = await loadPlugins(projectDir, declared, registry);
|
|
9460
9468
|
for (const f of result.failed) logWarn(f.error);
|
|
9461
9469
|
} catch (err) {
|
|
@@ -9787,6 +9795,11 @@ async function runPresetExport(name, opts) {
|
|
|
9787
9795
|
logInfo("Run this from a project directory or pass --project-dir <path>.");
|
|
9788
9796
|
process.exit(1);
|
|
9789
9797
|
}
|
|
9798
|
+
const parseError = configParseErrorOf(file, "skaile.yaml");
|
|
9799
|
+
if (parseError) {
|
|
9800
|
+
logErr(parseError.message);
|
|
9801
|
+
process.exit(1);
|
|
9802
|
+
}
|
|
9790
9803
|
const presetName = name ?? file.config.name ?? "my-preset";
|
|
9791
9804
|
let lock = null;
|
|
9792
9805
|
try {
|
|
@@ -10983,7 +10996,7 @@ function makeServeCommand() {
|
|
|
10983
10996
|
process.exitCode = 1;
|
|
10984
10997
|
return;
|
|
10985
10998
|
}
|
|
10986
|
-
const dirProblem = (await import('../serve-preflight-
|
|
10999
|
+
const dirProblem = (await import('../serve-preflight-NPWI4MV6.js')).checkServeProjectDir(
|
|
10987
11000
|
opts.projectDir
|
|
10988
11001
|
);
|
|
10989
11002
|
if (dirProblem) {
|
|
@@ -11012,8 +11025,8 @@ function makeServeCommand() {
|
|
|
11012
11025
|
}
|
|
11013
11026
|
const providers = parseProviderIds(opts.providers);
|
|
11014
11027
|
const modelEndpoint = parseModelEndpointFlag(opts.modelEndpoint);
|
|
11015
|
-
const { checkHarnessSdk, checkModelEndpointPeer, checkServeModel } = await import('../serve-preflight-
|
|
11016
|
-
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');
|
|
11017
11030
|
const startProblem = managedCodex ? null : await checkServeHarness(opts.projectDir, opts.harness) ?? checkServeAgentDefinition(opts.projectDir);
|
|
11018
11031
|
if (startProblem) {
|
|
11019
11032
|
logErr(startProblem);
|
|
@@ -11080,12 +11093,12 @@ function makeServeCommand() {
|
|
|
11080
11093
|
);
|
|
11081
11094
|
}
|
|
11082
11095
|
async function ensurePluginsLoadedForServe(projectDir) {
|
|
11083
|
-
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-
|
|
11096
|
+
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-SSSKT5XK.js');
|
|
11084
11097
|
try {
|
|
11085
11098
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
11086
11099
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
11087
11100
|
if (!config.plugins || config.plugins.length === 0) return;
|
|
11088
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
11101
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-BBLDFD3L.js');
|
|
11089
11102
|
const { pluginRegistry } = await import('../plugin-registry/index.js');
|
|
11090
11103
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
11091
11104
|
if (result.loaded.length > 0) {
|
|
@@ -11099,14 +11112,14 @@ async function ensurePluginsLoadedForServe(projectDir) {
|
|
|
11099
11112
|
}
|
|
11100
11113
|
}
|
|
11101
11114
|
async function runCompileTest(opts) {
|
|
11102
|
-
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');
|
|
11103
11116
|
const { tmpdir } = await import('os');
|
|
11104
11117
|
const { dirname: dirname3, join: join6, resolve: resolve4 } = await import('path');
|
|
11105
11118
|
const { fileURLToPath: fileURLToPath2 } = await import('url');
|
|
11106
11119
|
const { unlinkSync, existsSync: existsSync22 } = await import('fs');
|
|
11107
11120
|
const { spawn } = await import('child_process');
|
|
11108
11121
|
const { portableSpawnSync: portableSpawnSync2 } = await import('../core/index.js');
|
|
11109
|
-
const { MONOREPO_ROOT } = await import('../paths-
|
|
11122
|
+
const { MONOREPO_ROOT } = await import('../paths-G4GFJLE2.js');
|
|
11110
11123
|
if (MONOREPO_ROOT === null) {
|
|
11111
11124
|
logErr2("--compile-test is only available inside the skaile-dev workspace.");
|
|
11112
11125
|
logInfo2("Run it from a checkout of skaile-ai/skaile-dev (the monorepo shell).");
|
|
@@ -12064,8 +12077,8 @@ function makeStoreCommand() {
|
|
|
12064
12077
|
"--all",
|
|
12065
12078
|
`List every match (default: ${STORE_ROW_LIMIT} rows, only what \`skaile add\` can install)`
|
|
12066
12079
|
).option("-C, --project-dir <dir>", "Project directory (catalog config overlay)", process.cwd()).action(async (query, opts) => {
|
|
12067
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError: LocalCatalogDisabledError2 } = await import('../open-library-
|
|
12068
|
-
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');
|
|
12069
12082
|
const projectDir = path19__default.resolve(opts.projectDir);
|
|
12070
12083
|
if (opts.kind && !getKnownKinds2().has(opts.kind)) {
|
|
12071
12084
|
logErr(
|
|
@@ -12123,8 +12136,8 @@ function makeStoreCommand() {
|
|
|
12123
12136
|
}
|
|
12124
12137
|
});
|
|
12125
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) => {
|
|
12126
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError: LocalCatalogDisabledError2 } = await import('../open-library-
|
|
12127
|
-
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');
|
|
12128
12141
|
try {
|
|
12129
12142
|
parseAssetRef(ref);
|
|
12130
12143
|
} catch (e) {
|
|
@@ -13069,7 +13082,7 @@ async function bootstrapUserConfig() {
|
|
|
13069
13082
|
}
|
|
13070
13083
|
async function hydrateInitSources(resolved, created) {
|
|
13071
13084
|
try {
|
|
13072
|
-
const { ensureSourcesCloned } = await import('../ensure-sources-
|
|
13085
|
+
const { ensureSourcesCloned } = await import('../ensure-sources-UC2RBYMP.js');
|
|
13073
13086
|
const hydrate = ensureSourcesCloned(resolved, { quiet: true });
|
|
13074
13087
|
for (const n of hydrate.cloned) created.push(`~/.skaile/cache/sources/${n}/`);
|
|
13075
13088
|
if (hydrate.failed.length > 0) {
|
|
@@ -13108,8 +13121,9 @@ function printInitSummary(resolved, projectDir, created) {
|
|
|
13108
13121
|
);
|
|
13109
13122
|
console.log();
|
|
13110
13123
|
}
|
|
13124
|
+
program.hook("preAction", (_program, actionCommand) => setActiveCommand(actionCommand));
|
|
13111
13125
|
program.command("setup").description("Interactive provider setup wizard").action(async () => {
|
|
13112
|
-
const { cmdSetup } = await import('../setup-
|
|
13126
|
+
const { cmdSetup } = await import('../setup-X6ZYH2MW.js');
|
|
13113
13127
|
await cmdSetup([], { projectDir: process.cwd() });
|
|
13114
13128
|
});
|
|
13115
13129
|
program.addCommand(makeInstallCommand());
|
|
@@ -13190,7 +13204,7 @@ program.hook("postAction", async (_thisCommand, actionCommand) => {
|
|
|
13190
13204
|
const opts = actionCommand.opts();
|
|
13191
13205
|
if (opts.global || opts.dryRun) return;
|
|
13192
13206
|
const projectDir = path19__default.resolve(opts.projectDir ?? process.cwd());
|
|
13193
|
-
const { refreshPluginSkills } = await import('../claude-code-
|
|
13207
|
+
const { refreshPluginSkills } = await import('../claude-code-UBT4ZME7.js');
|
|
13194
13208
|
try {
|
|
13195
13209
|
if (await refreshPluginSkills(projectDir)) {
|
|
13196
13210
|
logInfo(`Updated ${S.cmd(".claude/plugins/skaile/skills")} (the --full plugin copy)`);
|
|
@@ -13231,7 +13245,7 @@ try {
|
|
|
13231
13245
|
process.exit(1);
|
|
13232
13246
|
}
|
|
13233
13247
|
const { LibrarySyncError } = await import('../library/index.js');
|
|
13234
|
-
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))
|
|
13235
13249
|
throw err;
|
|
13236
13250
|
logErr(err.message);
|
|
13237
13251
|
process.exit(1);
|