@skaile/workspaces 4.5.2 → 4.7.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 +18 -0
- package/dist/app-sdk/index.js +1 -1
- package/dist/{asset-feeds-G4WIFRFX.js → asset-feeds-CV7EE4GI.js} +7 -7
- package/dist/{asset-feeds-G4WIFRFX.js.map → asset-feeds-CV7EE4GI.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.js +3 -3
- package/dist/asset-manager/index.js +6 -6
- package/dist/asset-manager/installer.js +4 -4
- package/dist/bridge/codex-app-server.js +4 -4
- package/dist/bridge/drivers/claude-sdk.js +54 -11
- package/dist/bridge/drivers/claude-sdk.js.map +1 -1
- package/dist/bridge/drivers/codex.js +6 -6
- package/dist/bridge/drivers/continue.js +6 -6
- package/dist/bridge/drivers/echo.js +3 -3
- package/dist/bridge/drivers/gemini.js +4 -4
- package/dist/bridge/drivers/goose.js +6 -6
- package/dist/bridge/drivers/omp.js +1 -1
- package/dist/bridge/drivers/opencode.js +6 -6
- package/dist/bridge/drivers/qwen.js +4 -4
- package/dist/bridge/index.js +8 -8
- package/dist/bridge/src/drivers/claude-sdk.d.ts +16 -0
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
- package/dist/{chunk-NOH5UDO7.js → chunk-3GKBSHUG.js} +3 -3
- package/dist/{chunk-NOH5UDO7.js.map → chunk-3GKBSHUG.js.map} +1 -1
- package/dist/{chunk-GNXKNQPU.js → chunk-4AAEBUX7.js} +7 -7
- package/dist/{chunk-GNXKNQPU.js.map → chunk-4AAEBUX7.js.map} +1 -1
- package/dist/{chunk-JXCUUZA3.js → chunk-4ZTPYIBE.js} +9 -6
- package/dist/chunk-4ZTPYIBE.js.map +1 -0
- package/dist/{chunk-C2CYBRYJ.js → chunk-5GYFYGVW.js} +2 -2
- package/dist/{chunk-C2CYBRYJ.js.map → chunk-5GYFYGVW.js.map} +1 -1
- package/dist/{chunk-CKLCKPC7.js → chunk-7UM46L33.js} +2 -2
- package/dist/{chunk-CKLCKPC7.js.map → chunk-7UM46L33.js.map} +1 -1
- package/dist/{chunk-3OLCTLTH.js → chunk-7WVPAQPE.js} +3 -2
- package/dist/chunk-7WVPAQPE.js.map +1 -0
- package/dist/{chunk-Q5C77OZW.js → chunk-A42QGGSB.js} +3 -3
- package/dist/{chunk-Q5C77OZW.js.map → chunk-A42QGGSB.js.map} +1 -1
- package/dist/{chunk-UJPVUN6H.js → chunk-BCXZ74DM.js} +4 -4
- package/dist/{chunk-UJPVUN6H.js.map → chunk-BCXZ74DM.js.map} +1 -1
- package/dist/{chunk-PTETBRRC.js → chunk-DS7B54NF.js} +3 -3
- package/dist/{chunk-PTETBRRC.js.map → chunk-DS7B54NF.js.map} +1 -1
- package/dist/{chunk-KW7YIRYL.js → chunk-DYT3AQBM.js} +44 -4
- package/dist/chunk-DYT3AQBM.js.map +1 -0
- package/dist/{chunk-YVQZQGVW.js → chunk-HBBVWZ4T.js} +5 -5
- package/dist/{chunk-YVQZQGVW.js.map → chunk-HBBVWZ4T.js.map} +1 -1
- package/dist/{chunk-K27T47OO.js → chunk-HKOC273F.js} +71 -5
- package/dist/chunk-HKOC273F.js.map +1 -0
- package/dist/{chunk-COK4WPU4.js → chunk-HR2AGPLJ.js} +4 -4
- package/dist/{chunk-COK4WPU4.js.map → chunk-HR2AGPLJ.js.map} +1 -1
- package/dist/{chunk-6GA27VV4.js → chunk-HVTU3CVF.js} +189 -50
- package/dist/chunk-HVTU3CVF.js.map +1 -0
- package/dist/{chunk-W3YYB7K7.js → chunk-IECSLI55.js} +3 -3
- package/dist/{chunk-W3YYB7K7.js.map → chunk-IECSLI55.js.map} +1 -1
- package/dist/{chunk-VP2CACF2.js → chunk-IUVPPJ4T.js} +3 -3
- package/dist/{chunk-VP2CACF2.js.map → chunk-IUVPPJ4T.js.map} +1 -1
- package/dist/{chunk-35XUCUKZ.js → chunk-J2NEKEZK.js} +3 -3
- package/dist/{chunk-35XUCUKZ.js.map → chunk-J2NEKEZK.js.map} +1 -1
- package/dist/{chunk-VJJUKODI.js → chunk-JH63TVZG.js} +5 -5
- package/dist/{chunk-VJJUKODI.js.map → chunk-JH63TVZG.js.map} +1 -1
- package/dist/{chunk-WVSF3IEQ.js → chunk-JWWER4L5.js} +2 -2
- package/dist/{chunk-WVSF3IEQ.js.map → chunk-JWWER4L5.js.map} +1 -1
- package/dist/{chunk-AMJEPVNB.js → chunk-MHROUPZN.js} +9 -9
- package/dist/{chunk-AMJEPVNB.js.map → chunk-MHROUPZN.js.map} +1 -1
- package/dist/{chunk-NWZQMJTI.js → chunk-NIHNZC6E.js} +3 -3
- package/dist/{chunk-NWZQMJTI.js.map → chunk-NIHNZC6E.js.map} +1 -1
- package/dist/{chunk-PJP2TOCB.js → chunk-NV6R6HJR.js} +5 -5
- package/dist/{chunk-PJP2TOCB.js.map → chunk-NV6R6HJR.js.map} +1 -1
- package/dist/{chunk-Y5E6LHSQ.js → chunk-NYRLSXTB.js} +125 -67
- package/dist/chunk-NYRLSXTB.js.map +1 -0
- package/dist/{chunk-DHYIUGZW.js → chunk-P2PXD3AF.js} +6 -6
- package/dist/{chunk-DHYIUGZW.js.map → chunk-P2PXD3AF.js.map} +1 -1
- package/dist/{chunk-JF77XKD7.js → chunk-Q5WGUPC5.js} +3 -3
- package/dist/{chunk-JF77XKD7.js.map → chunk-Q5WGUPC5.js.map} +1 -1
- package/dist/{chunk-U4AA7MOV.js → chunk-QAH24E5U.js} +6 -3
- package/dist/chunk-QAH24E5U.js.map +1 -0
- package/dist/{chunk-CNYIITSZ.js → chunk-R4OMDCGZ.js} +3 -3
- package/dist/{chunk-CNYIITSZ.js.map → chunk-R4OMDCGZ.js.map} +1 -1
- package/dist/{chunk-MKJ2QYID.js → chunk-RN3N7PHY.js} +5 -5
- package/dist/{chunk-MKJ2QYID.js.map → chunk-RN3N7PHY.js.map} +1 -1
- package/dist/{chunk-XXRQHASJ.js → chunk-S5TEP5WI.js} +7 -7
- package/dist/{chunk-XXRQHASJ.js.map → chunk-S5TEP5WI.js.map} +1 -1
- package/dist/chunk-SDNGG6FB.js +32 -0
- package/dist/chunk-SDNGG6FB.js.map +1 -0
- package/dist/{chunk-REILIKVM.js → chunk-SU5LVG6T.js} +3 -3
- package/dist/{chunk-REILIKVM.js.map → chunk-SU5LVG6T.js.map} +1 -1
- package/dist/{chunk-23BTREZQ.js → chunk-TKHJXUG3.js} +4 -4
- package/dist/{chunk-23BTREZQ.js.map → chunk-TKHJXUG3.js.map} +1 -1
- package/dist/{chunk-GVOPQBGM.js → chunk-U4LC6PLI.js} +4 -4
- package/dist/{chunk-GVOPQBGM.js.map → chunk-U4LC6PLI.js.map} +1 -1
- package/dist/{chunk-YSJKLJD4.js → chunk-VRBEMXEM.js} +3 -3
- package/dist/{chunk-YSJKLJD4.js.map → chunk-VRBEMXEM.js.map} +1 -1
- package/dist/{chunk-JHPBSZIP.js → chunk-XENB453B.js} +4 -4
- package/dist/{chunk-JHPBSZIP.js.map → chunk-XENB453B.js.map} +1 -1
- package/dist/cli/index.js +53 -52
- package/dist/cli/index.js.map +1 -1
- package/dist/connectors/config.js +4 -4
- package/dist/connectors/index.js +12 -11
- package/dist/connectors/src/classify-connect-error.d.ts +20 -0
- package/dist/connectors/src/classify-connect-error.d.ts.map +1 -0
- package/dist/connectors/src/config.d.ts.map +1 -1
- package/dist/connectors/src/connect-error-kind.d.ts +47 -0
- package/dist/connectors/src/connect-error-kind.d.ts.map +1 -0
- package/dist/connectors/src/connector-manager.d.ts +9 -0
- package/dist/connectors/src/connector-manager.d.ts.map +1 -1
- package/dist/connectors/src/connector-prompt.d.ts.map +1 -1
- package/dist/connectors/src/connector-types.d.ts +25 -0
- package/dist/connectors/src/connector-types.d.ts.map +1 -1
- package/dist/connectors/src/index.d.ts +5 -2
- package/dist/connectors/src/index.d.ts.map +1 -1
- package/dist/connectors-shared/index.js +2 -0
- package/dist/connectors-shared/index.js.map +1 -1
- package/dist/connectors-shared/src/index.d.ts +7 -2
- package/dist/connectors-shared/src/index.d.ts.map +1 -1
- package/dist/core/index.js +3 -3
- package/dist/core/runtime-assets.js +2 -2
- package/dist/core/src/index.d.ts +1 -1
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/workspace-config.d.ts +64 -0
- package/dist/core/src/workspace-config.d.ts.map +1 -1
- package/dist/core/workspace-config.js +1 -1
- package/dist/deploy/index.js +3 -3
- package/dist/{ensure-sources-J5J2TBRA.js → ensure-sources-E5C3NAZ5.js} +9 -9
- package/dist/{ensure-sources-J5J2TBRA.js.map → ensure-sources-E5C3NAZ5.js.map} +1 -1
- package/dist/factory-assets/connectors/box.js +12 -11
- package/dist/factory-assets/connectors/deploy.js +12 -11
- package/dist/factory-assets/connectors/devserver.js +12 -11
- package/dist/factory-assets/connectors/flow/adapter.js +12 -11
- package/dist/factory-assets/connectors/flow/engine.js +4 -4
- package/dist/factory-assets/connectors/flow/run-flow.js +13 -12
- package/dist/factory-assets/connectors/flow.js +12 -11
- package/dist/factory-assets/connectors/git/driver.d.ts.map +1 -1
- package/dist/factory-assets/connectors/git.js +12 -11
- package/dist/factory-assets/connectors/gmail.js +12 -11
- package/dist/factory-assets/connectors/googledrive.js +12 -11
- package/dist/factory-assets/connectors/local.js +12 -11
- package/dist/factory-assets/connectors/mattermost.js +12 -11
- package/dist/factory-assets/connectors/memory.js +12 -11
- package/dist/factory-assets/connectors/minio.js +12 -11
- package/dist/factory-assets/connectors/postgres.js +12 -11
- package/dist/factory-assets/connectors/s3.js +12 -11
- package/dist/factory-assets/connectors/sharepoint.js +12 -11
- package/dist/factory-assets/connectors/sqlite.js +12 -11
- package/dist/factory-assets/connectors/static-server.js +12 -11
- package/dist/factory-assets/connectors/tunnel.js +12 -11
- package/dist/factory-assets/connectors/webdav.js +12 -11
- package/dist/factory-assets/connectors/xstate-store.js +12 -11
- package/dist/factory-assets/connectors/xstate.js +12 -11
- package/dist/{flows-X4KJC4RH.js → flows-DAA2HPCK.js} +6 -6
- package/dist/{flows-X4KJC4RH.js.map → flows-DAA2HPCK.js.map} +1 -1
- package/dist/{helpers-OJJNDSPO.js → helpers-B37XGJHI.js} +9 -9
- package/dist/{helpers-OJJNDSPO.js.map → helpers-B37XGJHI.js.map} +1 -1
- package/dist/library/index.js +4 -4
- package/dist/library/install.js +3 -3
- package/dist/{library-publish-TDT5HCLA.js → library-publish-ANMJDDZH.js} +13 -13
- package/dist/{library-publish-TDT5HCLA.js.map → library-publish-ANMJDDZH.js.map} +1 -1
- package/dist/{open-library-OAVUUOAN.js → open-library-O5HS654Y.js} +11 -11
- package/dist/{open-library-OAVUUOAN.js.map → open-library-O5HS654Y.js.map} +1 -1
- package/dist/{paths-FRD62K2N.js → paths-LH7LD4CC.js} +6 -6
- package/dist/{paths-FRD62K2N.js.map → paths-LH7LD4CC.js.map} +1 -1
- package/dist/{plugin-store-54SEASTK.js → plugin-store-A6VLQHCT.js} +5 -5
- package/dist/{plugin-store-54SEASTK.js.map → plugin-store-A6VLQHCT.js.map} +1 -1
- package/dist/{project-PNSDEXUH.js → project-DLAPSJ36.js} +10 -10
- package/dist/{project-PNSDEXUH.js.map → project-DLAPSJ36.js.map} +1 -1
- package/dist/resolver/index.js +3 -3
- package/dist/runner/index.js +18 -17
- package/dist/runner/src/runner-capabilities.d.ts +33 -2
- package/dist/runner/src/runner-capabilities.d.ts.map +1 -1
- package/dist/runner/src/serial-lock.d.ts +17 -0
- package/dist/runner/src/serial-lock.d.ts.map +1 -0
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/runner/src/session-capability-wiring.d.ts +5 -0
- package/dist/runner/src/session-capability-wiring.d.ts.map +1 -1
- package/dist/runner/src/session-resource-handlers.d.ts.map +1 -1
- package/dist/runner/src/skill-staging.d.ts +76 -0
- package/dist/runner/src/skill-staging.d.ts.map +1 -0
- package/dist/sdk/asset-manager.js +6 -6
- package/dist/sdk/bridge.js +8 -8
- package/dist/sdk/core.js +3 -3
- package/dist/sdk/flow.js +4 -4
- package/dist/sdk/index.js +18 -17
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/resolver.js +3 -3
- package/dist/sdk/runner.js +18 -17
- package/dist/sdk/session.js +2 -2
- package/dist/sdk/store.js +1 -1
- package/dist/sdk/types.js +1 -1
- package/dist/session/index.js +2 -2
- package/dist/{setup-6FAITLPM.js → setup-TMPJSDCX.js} +15 -15
- package/dist/{setup-6FAITLPM.js.map → setup-TMPJSDCX.js.map} +1 -1
- package/dist/{skills-C6NOMIBV.js → skills-ZO66BL2Y.js} +5 -5
- package/dist/{skills-C6NOMIBV.js.map → skills-ZO66BL2Y.js.map} +1 -1
- package/dist/{source-RTVNF6GB.js → source-5WMBWNO7.js} +12 -12
- package/dist/{source-RTVNF6GB.js.map → source-5WMBWNO7.js.map} +1 -1
- package/dist/{source-manifest-publish-U2PVHXCF.js → source-manifest-publish-WBVQV3JC.js} +14 -14
- package/dist/{source-manifest-publish-U2PVHXCF.js.map → source-manifest-publish-WBVQV3JC.js.map} +1 -1
- package/dist/store/index.js +1 -1
- package/dist/store/src/resource-client.d.ts.map +1 -1
- package/dist/store/src/types.d.ts +3 -1
- package/dist/store/src/types.d.ts.map +1 -1
- package/dist/tui/index.js +18 -17
- package/dist/tui/index.js.map +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/src/events.d.ts +22 -0
- package/dist/types/src/events.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +2 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/validator-FA2PFW6N.js +5 -0
- package/dist/{validator-P5ESKTW5.js.map → validator-FA2PFW6N.js.map} +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +7 -7
- package/dist/workspace-plugin/adapters/omp.js +10 -10
- package/dist/workspace-plugin/index.js +1 -1
- package/dist/workspace-plugin/src/tools/validator.d.ts +1 -0
- package/dist/workspace-plugin/src/tools/validator.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-3OLCTLTH.js.map +0 -1
- package/dist/chunk-6GA27VV4.js.map +0 -1
- package/dist/chunk-JXCUUZA3.js.map +0 -1
- package/dist/chunk-K27T47OO.js.map +0 -1
- package/dist/chunk-KW7YIRYL.js.map +0 -1
- package/dist/chunk-U4AA7MOV.js.map +0 -1
- package/dist/chunk-Y5E6LHSQ.js.map +0 -1
- package/dist/validator-P5ESKTW5.js +0 -5
package/dist/cli/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { AI_RESOURCES } from '../chunk-
|
|
3
|
-
import { makeInstallCommand, makeCheckCommand, makeCleanCommand, reportInstalledSoftDeps } from '../chunk-
|
|
4
|
-
import { makeProvidersCommand, loadRegistryView, addProviderEntry, ProviderRegistryWriteError } from '../chunk-
|
|
5
|
-
import { getStoreConfig, storeFetch, deviceLogin, loadStoreAuthConfig, logout, hasStoredAuth, isStoreAuthenticated, getStoreToken, getStoreIdentity } from '../chunk-
|
|
6
|
-
import { makeSourceCommand, syncProjectSources } from '../chunk-
|
|
7
|
-
import { openCatalogSource, openLibraryManager, createFullRegistry, openLibrary } from '../chunk-
|
|
8
|
-
import { logErr, S, logOk, logInfo, logWarn, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth } from '../chunk-
|
|
2
|
+
import { AI_RESOURCES } from '../chunk-DS7B54NF.js';
|
|
3
|
+
import { makeInstallCommand, makeCheckCommand, makeCleanCommand, reportInstalledSoftDeps } from '../chunk-S5TEP5WI.js';
|
|
4
|
+
import { makeProvidersCommand, loadRegistryView, addProviderEntry, ProviderRegistryWriteError } from '../chunk-RN3N7PHY.js';
|
|
5
|
+
import { getStoreConfig, storeFetch, deviceLogin, loadStoreAuthConfig, logout, hasStoredAuth, isStoreAuthenticated, getStoreToken, getStoreIdentity } from '../chunk-IECSLI55.js';
|
|
6
|
+
import { makeSourceCommand, syncProjectSources } from '../chunk-MHROUPZN.js';
|
|
7
|
+
import { openCatalogSource, openLibraryManager, createFullRegistry, openLibrary } from '../chunk-JH63TVZG.js';
|
|
8
|
+
import { logErr, S, logOk, logInfo, logWarn, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth } from '../chunk-A42QGGSB.js';
|
|
9
9
|
import { LocalSecretsProvider } from '../chunk-6BEGKO2Q.js';
|
|
10
|
-
import { runAgentChat, loadSessionById, loadSession, listSessions, setCurrentSession, deleteSession, clearSession, loadAgentManifest, compileComposition, MarkdownStreamer, resolveMixin } from '../chunk-
|
|
11
|
-
import { buildClaudePluginFiles } from '../chunk-
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-
|
|
10
|
+
import { runAgentChat, loadSessionById, loadSession, listSessions, setCurrentSession, deleteSession, clearSession, loadAgentManifest, compileComposition, MarkdownStreamer, resolveMixin } from '../chunk-HVTU3CVF.js';
|
|
11
|
+
import { buildClaudePluginFiles } from '../chunk-7UM46L33.js';
|
|
12
|
+
import '../chunk-HBBVWZ4T.js';
|
|
13
|
+
import '../chunk-JWWER4L5.js';
|
|
14
14
|
import '../chunk-FAI2SMFE.js';
|
|
15
15
|
import '../chunk-7IRJ4K4F.js';
|
|
16
|
-
import '../chunk-
|
|
16
|
+
import '../chunk-4ZTPYIBE.js';
|
|
17
17
|
import '../chunk-FUCYTGAE.js';
|
|
18
18
|
import '../chunk-R6O6YWU7.js';
|
|
19
19
|
import '../chunk-X5YPJV4N.js';
|
|
@@ -24,42 +24,43 @@ import '../chunk-73ZXUUL6.js';
|
|
|
24
24
|
import '../chunk-32NA4TVC.js';
|
|
25
25
|
import '../chunk-W3UDISS2.js';
|
|
26
26
|
import '../chunk-45LLHKQ2.js';
|
|
27
|
-
import { runFlow, resumeFlow } from '../chunk-
|
|
27
|
+
import { runFlow, resumeFlow } from '../chunk-P2PXD3AF.js';
|
|
28
28
|
import '../chunk-4R6DROGN.js';
|
|
29
29
|
import { validateFlowVersions, parseSkillFrontmatter } from '../chunk-3XXQPHGL.js';
|
|
30
30
|
import '../chunk-7BUZQVRR.js';
|
|
31
31
|
import '../chunk-M6VQU5TS.js';
|
|
32
|
-
import '../chunk-
|
|
33
|
-
import '../chunk-
|
|
34
|
-
import '../chunk-
|
|
32
|
+
import '../chunk-NYRLSXTB.js';
|
|
33
|
+
import '../chunk-SDNGG6FB.js';
|
|
34
|
+
import '../chunk-DYT3AQBM.js';
|
|
35
|
+
import '../chunk-U4LC6PLI.js';
|
|
35
36
|
import '../chunk-OUJVFZWJ.js';
|
|
36
37
|
import '../chunk-LOO5CB5M.js';
|
|
37
|
-
import '../chunk-
|
|
38
|
-
import '../chunk-
|
|
38
|
+
import '../chunk-3GKBSHUG.js';
|
|
39
|
+
import '../chunk-IUVPPJ4T.js';
|
|
39
40
|
import '../chunk-GAH4YRCI.js';
|
|
40
|
-
import { getProviderPreset, AI_PROVIDER_PRESETS } from '../chunk-
|
|
41
|
+
import { getProviderPreset, AI_PROVIDER_PRESETS } from '../chunk-5GYFYGVW.js';
|
|
41
42
|
import '../chunk-6E6PKKAD.js';
|
|
42
43
|
import '../chunk-IFGTRL2I.js';
|
|
43
|
-
import { projectAiAssetsRoots, loadFlow, loadAllFlowEntries, findFlowFileInRoots } from '../chunk-
|
|
44
|
+
import { projectAiAssetsRoots, loadFlow, loadAllFlowEntries, findFlowFileInRoots } from '../chunk-NIHNZC6E.js';
|
|
44
45
|
import '../chunk-TIOT3ZOQ.js';
|
|
45
46
|
import '../chunk-53ORCYPJ.js';
|
|
46
47
|
import '../chunk-2D5BYAL6.js';
|
|
47
48
|
import { nodeLabel, nodeSkillAsset, nodeIsInert, nodeIsOptional, nodeRunKind, flowSkillVersionPins } from '../chunk-ELPR5XBG.js';
|
|
48
|
-
import '../chunk-
|
|
49
|
-
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-
|
|
50
|
-
import { getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-
|
|
49
|
+
import '../chunk-QAH24E5U.js';
|
|
50
|
+
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-4AAEBUX7.js';
|
|
51
|
+
import { getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-HR2AGPLJ.js';
|
|
51
52
|
import '../chunk-M5H4DWIA.js';
|
|
52
53
|
import '../chunk-UKJMQZV6.js';
|
|
53
54
|
import '../chunk-R7FOF242.js';
|
|
54
55
|
import '../chunk-JXT46QFC.js';
|
|
55
|
-
import '../chunk-
|
|
56
|
+
import '../chunk-TKHJXUG3.js';
|
|
56
57
|
import '../chunk-CGYEHQOX.js';
|
|
57
|
-
import { resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, WorkspaceYamlEditor, resolveLibraryDir, checkAgentSkillConformance, aiResourceRoots, readLock, workspaceProviderRegistryPath, userProviderRegistryPath, loadProviderRegistryFile } from '../chunk-
|
|
58
|
-
import { factoryAssetRoots } from '../chunk-
|
|
58
|
+
import { resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, WorkspaceYamlEditor, resolveLibraryDir, checkAgentSkillConformance, aiResourceRoots, readLock, workspaceProviderRegistryPath, userProviderRegistryPath, loadProviderRegistryFile } from '../chunk-BCXZ74DM.js';
|
|
59
|
+
import { factoryAssetRoots } from '../chunk-SU5LVG6T.js';
|
|
59
60
|
import '../chunk-F3HNW354.js';
|
|
60
61
|
import { DRIVER_DEFAULTS } from '../chunk-K5GBV4SA.js';
|
|
61
62
|
import { detectDomains, assetSearchDirs } from '../chunk-QVZA2MDT.js';
|
|
62
|
-
import { globalCacheRoot, sourceCacheKey, getGlobalCacheDir, resolveAgentDir, matchPin, coerceVersion, loadSkWorkspaceConfig, resolveSkWorkspaceConfig, storeManifestSlug, isWorkspaceConfigFilename } from '../chunk-
|
|
63
|
+
import { globalCacheRoot, sourceCacheKey, getGlobalCacheDir, resolveAgentDir, matchPin, coerceVersion, loadSkWorkspaceConfig, resolveSkWorkspaceConfig, storeManifestSlug, isWorkspaceConfigFilename } from '../chunk-HKOC273F.js';
|
|
63
64
|
import { SUPPORTED_DRIVER_TARGETS } from '../chunk-MENCWIHW.js';
|
|
64
65
|
import { SKAILE_MANIFEST_FILENAME, decodeSkaileManifest, loadSkPublishManifest, saveSkPublishManifest } from '../chunk-P4VHQA4N.js';
|
|
65
66
|
import { parseFrontmatter, scanDirectory } from '../chunk-MKZOK4JU.js';
|
|
@@ -123,7 +124,7 @@ async function runSearch(kind, query, opts) {
|
|
|
123
124
|
}
|
|
124
125
|
}
|
|
125
126
|
async function searchIndex(query, kind) {
|
|
126
|
-
const { openLibrary: openLibrary2 } = await import('../open-library-
|
|
127
|
+
const { openLibrary: openLibrary2 } = await import('../open-library-O5HS654Y.js');
|
|
127
128
|
const library = await openLibrary2();
|
|
128
129
|
try {
|
|
129
130
|
const defs = await library.listAssetDefs(kind ? { kind } : {});
|
|
@@ -176,7 +177,7 @@ async function searchLocal(query, kind, opts, showStore, airGapped) {
|
|
|
176
177
|
const factory = await searchFactory(projectDir, query, kind);
|
|
177
178
|
let entries = unionEntries(await searchIndex(query, kind), factory);
|
|
178
179
|
if (entries.length === 0 && !query && !kind && !airGapped) {
|
|
179
|
-
const { autoSyncForSearch } = await import('../source-
|
|
180
|
+
const { autoSyncForSearch } = await import('../source-5WMBWNO7.js');
|
|
180
181
|
if (await autoSyncForSearch(projectDir)) {
|
|
181
182
|
entries = unionEntries(await searchIndex(query, kind), factory);
|
|
182
183
|
}
|
|
@@ -230,7 +231,7 @@ async function searchStore(query, kind, opts, airGapped) {
|
|
|
230
231
|
logInfo("air-gapped (cache_ttl: 0) \u2014 local sources only");
|
|
231
232
|
return;
|
|
232
233
|
}
|
|
233
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
234
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-O5HS654Y.js');
|
|
234
235
|
try {
|
|
235
236
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
236
237
|
const assets = await remote.listAssets(kind ? { kind } : {});
|
|
@@ -545,7 +546,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
545
546
|
return { entry: match ?? deployed };
|
|
546
547
|
}
|
|
547
548
|
const lookup = opts.storeLookup ?? (async (filter) => {
|
|
548
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
549
|
+
const { resolveCatalogSource } = await import('../open-library-O5HS654Y.js');
|
|
549
550
|
const { source, close } = await resolveCatalogSource({ projectDir: opts.projectDir });
|
|
550
551
|
try {
|
|
551
552
|
return await source.listAssets(filter);
|
|
@@ -561,7 +562,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
561
562
|
);
|
|
562
563
|
return { entry: hit ? catalogAssetToEntry(hit) : null };
|
|
563
564
|
} catch (err) {
|
|
564
|
-
const { LocalCatalogDisabledError } = await import('../open-library-
|
|
565
|
+
const { LocalCatalogDisabledError } = await import('../open-library-O5HS654Y.js');
|
|
565
566
|
const storeNote = err instanceof Error ? err.message : String(err);
|
|
566
567
|
const disabled = err instanceof LocalCatalogDisabledError || /catalog\.url/i.test(storeNote);
|
|
567
568
|
return { entry: null, storeNote, ...disabled ? { storeDisabled: true } : {} };
|
|
@@ -1181,7 +1182,7 @@ function makeCatalogCommand() {
|
|
|
1181
1182
|
return catalog;
|
|
1182
1183
|
}
|
|
1183
1184
|
async function runLocalCatalogTest(projectDir) {
|
|
1184
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
1185
|
+
const { resolveCatalogSource } = await import('../open-library-O5HS654Y.js');
|
|
1185
1186
|
let resolved;
|
|
1186
1187
|
try {
|
|
1187
1188
|
resolved = await resolveCatalogSource({ projectDir });
|
|
@@ -2243,7 +2244,7 @@ async function ensureTargetsRegistered(projectDir) {
|
|
|
2243
2244
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
2244
2245
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
2245
2246
|
if (config.plugins && config.plugins.length > 0) {
|
|
2246
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
2247
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-A6VLQHCT.js');
|
|
2247
2248
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
2248
2249
|
for (const f of result.failed) logWarn(f.error);
|
|
2249
2250
|
}
|
|
@@ -3498,16 +3499,16 @@ function makeLibraryCommand() {
|
|
|
3498
3499
|
});
|
|
3499
3500
|
cmd.command("publish <lib>").description("Push + register the library's manifest atomically (needs git backend)").option("--asset <ref>", "Publish only the single asset matching this ref/name").option("--create-repo", "Provision + link a public github repo if the library has no remote").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(
|
|
3500
3501
|
async (lib, opts) => {
|
|
3501
|
-
const { runLibraryPublish } = await import('../library-publish-
|
|
3502
|
+
const { runLibraryPublish } = await import('../library-publish-ANMJDDZH.js');
|
|
3502
3503
|
await withStoreErrorHandling(() => runLibraryPublish(lib, opts));
|
|
3503
3504
|
}
|
|
3504
3505
|
);
|
|
3505
3506
|
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) => {
|
|
3506
|
-
const { runLibraryRegister } = await import('../library-publish-
|
|
3507
|
+
const { runLibraryRegister } = await import('../library-publish-ANMJDDZH.js');
|
|
3507
3508
|
await withStoreErrorHandling(() => runLibraryRegister(lib, opts));
|
|
3508
3509
|
});
|
|
3509
3510
|
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) => {
|
|
3510
|
-
const { runLibraryYank } = await import('../library-publish-
|
|
3511
|
+
const { runLibraryYank } = await import('../library-publish-ANMJDDZH.js');
|
|
3511
3512
|
await withStoreErrorHandling(() => runLibraryYank(lib, opts));
|
|
3512
3513
|
});
|
|
3513
3514
|
return cmd;
|
|
@@ -4229,7 +4230,7 @@ function scheduleSoftDepPreview() {
|
|
|
4229
4230
|
}
|
|
4230
4231
|
async function loadAssets() {
|
|
4231
4232
|
softDepPreviewCache.clear();
|
|
4232
|
-
const { gatherAssetFeeds } = await import('../asset-feeds-
|
|
4233
|
+
const { gatherAssetFeeds } = await import('../asset-feeds-CV7EE4GI.js');
|
|
4233
4234
|
const { entries, domains, notes } = await gatherAssetFeeds(am, am.projectDir);
|
|
4234
4235
|
if (notes.length > 0) {
|
|
4235
4236
|
state.message = notes.map((n) => `[${n.feed}] ${n.message}`).join(" \u2022 ");
|
|
@@ -4435,7 +4436,7 @@ function reconcileCollapsedSets(rows) {
|
|
|
4435
4436
|
async function loadSourcesAndLibraries() {
|
|
4436
4437
|
try {
|
|
4437
4438
|
const [{ openLibraryManager: openLibraryManager2 }, { skaileHomeDir }, { getGlobalCacheDir: getGlobalCacheDir2 }] = await Promise.all([
|
|
4438
|
-
import('../open-library-
|
|
4439
|
+
import('../open-library-O5HS654Y.js'),
|
|
4439
4440
|
import('../library/index.js'),
|
|
4440
4441
|
import('../core/index.js')
|
|
4441
4442
|
]);
|
|
@@ -6072,7 +6073,7 @@ function action2(fn) {
|
|
|
6072
6073
|
};
|
|
6073
6074
|
}
|
|
6074
6075
|
async function reconcileAndReport(projectDir, plugins) {
|
|
6075
|
-
const { reconcilePlugins } = await import('../plugin-store-
|
|
6076
|
+
const { reconcilePlugins } = await import('../plugin-store-A6VLQHCT.js');
|
|
6076
6077
|
if (plugins.length === 0) {
|
|
6077
6078
|
logInfo("No plugins declared \u2014 nothing to reconcile.");
|
|
6078
6079
|
return;
|
|
@@ -6088,7 +6089,7 @@ async function reconcileAndReport(projectDir, plugins) {
|
|
|
6088
6089
|
async function runInstall2(spec, opts) {
|
|
6089
6090
|
const projectDir = path36__default.resolve(opts.projectDir);
|
|
6090
6091
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
6091
|
-
const { specName } = await import('../plugin-store-
|
|
6092
|
+
const { specName } = await import('../plugin-store-A6VLQHCT.js');
|
|
6092
6093
|
const yamlPath = path36__default.join(projectDir, "skaile.yaml");
|
|
6093
6094
|
const editor = WorkspaceYamlEditor2.load(yamlPath);
|
|
6094
6095
|
const replaced = editor.addPlugin(spec, specName);
|
|
@@ -6100,7 +6101,7 @@ async function runInstall2(spec, opts) {
|
|
|
6100
6101
|
async function runRemove(name, opts) {
|
|
6101
6102
|
const projectDir = path36__default.resolve(opts.projectDir);
|
|
6102
6103
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
6103
|
-
const { specName } = await import('../plugin-store-
|
|
6104
|
+
const { specName } = await import('../plugin-store-A6VLQHCT.js');
|
|
6104
6105
|
const yamlPath = path36__default.join(projectDir, "skaile.yaml");
|
|
6105
6106
|
const editor = WorkspaceYamlEditor2.load(yamlPath);
|
|
6106
6107
|
const removed = editor.removePlugin(name, specName);
|
|
@@ -6128,7 +6129,7 @@ async function runList(opts) {
|
|
|
6128
6129
|
const registry = createPluginRegistry();
|
|
6129
6130
|
if (declared.length > 0) {
|
|
6130
6131
|
try {
|
|
6131
|
-
const { loadPlugins } = await import('../plugin-store-
|
|
6132
|
+
const { loadPlugins } = await import('../plugin-store-A6VLQHCT.js');
|
|
6132
6133
|
const result = await loadPlugins(projectDir, declared, registry);
|
|
6133
6134
|
for (const f of result.failed) logWarn(f.error);
|
|
6134
6135
|
} catch (err) {
|
|
@@ -7230,12 +7231,12 @@ function makeServeCommand() {
|
|
|
7230
7231
|
);
|
|
7231
7232
|
}
|
|
7232
7233
|
async function ensurePluginsLoadedForServe(projectDir) {
|
|
7233
|
-
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-
|
|
7234
|
+
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-B37XGJHI.js');
|
|
7234
7235
|
try {
|
|
7235
7236
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
7236
7237
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
7237
7238
|
if (!config.plugins || config.plugins.length === 0) return;
|
|
7238
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
7239
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-A6VLQHCT.js');
|
|
7239
7240
|
const { pluginRegistry } = await import('../plugin-registry/index.js');
|
|
7240
7241
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
7241
7242
|
if (result.loaded.length > 0) {
|
|
@@ -7249,14 +7250,14 @@ async function ensurePluginsLoadedForServe(projectDir) {
|
|
|
7249
7250
|
}
|
|
7250
7251
|
}
|
|
7251
7252
|
async function runCompileTest(opts) {
|
|
7252
|
-
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-
|
|
7253
|
+
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-B37XGJHI.js');
|
|
7253
7254
|
const { tmpdir } = await import('os');
|
|
7254
7255
|
const { dirname: dirname4, join: join7, resolve: resolve5 } = await import('path');
|
|
7255
7256
|
const { fileURLToPath: fileURLToPath2 } = await import('url');
|
|
7256
7257
|
const { unlinkSync, existsSync: existsSync15 } = await import('fs');
|
|
7257
7258
|
const { spawn } = await import('child_process');
|
|
7258
7259
|
const { portableSpawnSync: portableSpawnSync2 } = await import('../core/index.js');
|
|
7259
|
-
const { MONOREPO_ROOT } = await import('../paths-
|
|
7260
|
+
const { MONOREPO_ROOT } = await import('../paths-LH7LD4CC.js');
|
|
7260
7261
|
if (MONOREPO_ROOT === null) {
|
|
7261
7262
|
logErr2("--compile-test is only available inside the skaile-dev workspace.");
|
|
7262
7263
|
logInfo2("Run it from a checkout of skaile-ai/skaile-dev (the monorepo shell).");
|
|
@@ -8131,7 +8132,7 @@ function makeStoreCommand() {
|
|
|
8131
8132
|
process.exit(2);
|
|
8132
8133
|
});
|
|
8133
8134
|
store.command("search <query>").description("Search the AI Asset Store catalog by name, description, or publisher").option("--kind <kind>", "Filter by asset kind (skill, agent, prompt, flow, \u2026)").option("-C, --project-dir <dir>", "Project directory (catalog config overlay)", process.cwd()).action(async (query, opts) => {
|
|
8134
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
8135
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-O5HS654Y.js');
|
|
8135
8136
|
try {
|
|
8136
8137
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
8137
8138
|
const assets = await remote.listAssets(opts.kind ? { kind: opts.kind } : {});
|
|
@@ -8164,8 +8165,8 @@ function makeStoreCommand() {
|
|
|
8164
8165
|
}
|
|
8165
8166
|
});
|
|
8166
8167
|
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) => {
|
|
8167
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
8168
|
-
const { supportsInstallManifest } = await import('../project-
|
|
8168
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-O5HS654Y.js');
|
|
8169
|
+
const { supportsInstallManifest } = await import('../project-DLAPSJ36.js');
|
|
8169
8170
|
try {
|
|
8170
8171
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
8171
8172
|
const asset = await remote.resolve(ref);
|
|
@@ -9253,7 +9254,7 @@ async function bootstrapUserConfig() {
|
|
|
9253
9254
|
}
|
|
9254
9255
|
async function hydrateInitSources(resolved, created) {
|
|
9255
9256
|
try {
|
|
9256
|
-
const { ensureSourcesCloned } = await import('../ensure-sources-
|
|
9257
|
+
const { ensureSourcesCloned } = await import('../ensure-sources-E5C3NAZ5.js');
|
|
9257
9258
|
const hydrate = ensureSourcesCloned(resolved, { quiet: true });
|
|
9258
9259
|
for (const n of hydrate.cloned) created.push(`~/.skaile/cache/sources/${n}/`);
|
|
9259
9260
|
if (hydrate.failed.length > 0) {
|
|
@@ -9293,7 +9294,7 @@ function printInitSummary(resolved, projectDir, created) {
|
|
|
9293
9294
|
console.log();
|
|
9294
9295
|
}
|
|
9295
9296
|
program.command("setup").description("Interactive provider setup wizard").action(async () => {
|
|
9296
|
-
const { cmdSetup } = await import('../setup-
|
|
9297
|
+
const { cmdSetup } = await import('../setup-TMPJSDCX.js');
|
|
9297
9298
|
await cmdSetup([], { projectDir: process.cwd() });
|
|
9298
9299
|
});
|
|
9299
9300
|
program.addCommand(makeInstallCommand());
|