@skaile/workspaces 4.12.0 → 4.14.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 +24 -0
- package/dist/app-sdk/index.js +1 -1
- package/dist/{asset-feeds-WSKIL5GA.js → asset-feeds-ZCUKOJVN.js} +9 -8
- package/dist/asset-feeds-ZCUKOJVN.js.map +1 -0
- package/dist/asset-manager/catalog-deployer.js +5 -4
- package/dist/asset-manager/index.js +8 -7
- package/dist/asset-manager/installer.js +6 -5
- package/dist/bridge/drivers/claude-sdk.js +259 -27
- package/dist/bridge/drivers/claude-sdk.js.map +1 -1
- package/dist/bridge/drivers/codex.js +8 -7
- package/dist/bridge/drivers/codex.js.map +1 -1
- package/dist/bridge/drivers/continue.js +9 -8
- package/dist/bridge/drivers/continue.js.map +1 -1
- package/dist/bridge/drivers/echo.js +5 -4
- package/dist/bridge/drivers/echo.js.map +1 -1
- package/dist/bridge/drivers/gemini.js +7 -6
- package/dist/bridge/drivers/goose.js +9 -8
- package/dist/bridge/drivers/goose.js.map +1 -1
- package/dist/bridge/drivers/omp.js +4 -3
- package/dist/bridge/drivers/omp.js.map +1 -1
- package/dist/bridge/drivers/opencode.js +9 -8
- package/dist/bridge/drivers/opencode.js.map +1 -1
- package/dist/bridge/drivers/qwen.js +7 -6
- package/dist/bridge/drivers/qwen.js.map +1 -1
- package/dist/bridge/index.js +10 -9
- package/dist/bridge/src/drivers/claude-sdk.d.ts +25 -1
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
- package/dist/bridge/src/mcp-tool-schema-filter.d.ts +44 -0
- package/dist/bridge/src/mcp-tool-schema-filter.d.ts.map +1 -0
- package/dist/bridge/src/normalizer.d.ts.map +1 -1
- package/dist/bridge/src/types.d.ts +8 -0
- package/dist/bridge/src/types.d.ts.map +1 -1
- package/dist/{chunk-5UPJWC3M.js → chunk-2JGXE46E.js} +7 -7
- package/dist/{chunk-5UPJWC3M.js.map → chunk-2JGXE46E.js.map} +1 -1
- package/dist/{chunk-C7R65ZTD.js → chunk-4JGTXBQB.js} +4 -4
- package/dist/{chunk-C7R65ZTD.js.map → chunk-4JGTXBQB.js.map} +1 -1
- package/dist/{chunk-TMOS6KL5.js → chunk-6GHXBCE5.js} +6 -6
- package/dist/{chunk-TMOS6KL5.js.map → chunk-6GHXBCE5.js.map} +1 -1
- package/dist/{chunk-RE2XE2AP.js → chunk-7CO3MYNN.js} +6 -6
- package/dist/chunk-7CO3MYNN.js.map +1 -0
- package/dist/{chunk-3QCLMSXU.js → chunk-7NRF7BQB.js} +4 -4
- package/dist/{chunk-3QCLMSXU.js.map → chunk-7NRF7BQB.js.map} +1 -1
- package/dist/{chunk-626UIDZT.js → chunk-A2T4WIZL.js} +3 -3
- package/dist/{chunk-626UIDZT.js.map → chunk-A2T4WIZL.js.map} +1 -1
- package/dist/{chunk-C7DPL3YA.js → chunk-BRNGJTHH.js} +3 -3
- package/dist/{chunk-C7DPL3YA.js.map → chunk-BRNGJTHH.js.map} +1 -1
- package/dist/chunk-C3CAXQMA.js +8 -0
- package/dist/chunk-C3CAXQMA.js.map +1 -0
- package/dist/{chunk-N5O6Z7HV.js → chunk-DM4KP4SC.js} +9 -9
- package/dist/{chunk-N5O6Z7HV.js.map → chunk-DM4KP4SC.js.map} +1 -1
- package/dist/{chunk-NQ3OMJFK.js → chunk-FEEAYDKF.js} +28 -10
- package/dist/chunk-FEEAYDKF.js.map +1 -0
- package/dist/{chunk-DMJ4FUEO.js → chunk-FVKSVVVP.js} +3 -3
- package/dist/{chunk-DMJ4FUEO.js.map → chunk-FVKSVVVP.js.map} +1 -1
- package/dist/{chunk-TVQPJZSO.js → chunk-IM7S4A5E.js} +2 -2
- package/dist/{chunk-TVQPJZSO.js.map → chunk-IM7S4A5E.js.map} +1 -1
- package/dist/{chunk-RUBPZLMO.js → chunk-JMKB7IB4.js} +3 -5
- package/dist/chunk-JMKB7IB4.js.map +1 -0
- package/dist/{chunk-QUSE2T4N.js → chunk-JN2TH5YB.js} +9 -9
- package/dist/chunk-JN2TH5YB.js.map +1 -0
- package/dist/{chunk-QOCH3LO7.js → chunk-L534UCEQ.js} +5 -5
- package/dist/{chunk-QOCH3LO7.js.map → chunk-L534UCEQ.js.map} +1 -1
- package/dist/{chunk-LHBWHIIT.js → chunk-LCKZCLXA.js} +2 -2
- package/dist/{chunk-LHBWHIIT.js.map → chunk-LCKZCLXA.js.map} +1 -1
- package/dist/{chunk-RQRWMKST.js → chunk-LQMALDDB.js} +2 -2
- package/dist/{chunk-RQRWMKST.js.map → chunk-LQMALDDB.js.map} +1 -1
- package/dist/{chunk-WNDDWWGU.js → chunk-NCALGSGL.js} +5 -5
- package/dist/{chunk-WNDDWWGU.js.map → chunk-NCALGSGL.js.map} +1 -1
- package/dist/{chunk-ZSB2SPV4.js → chunk-NKRAHM7T.js} +3 -3
- package/dist/{chunk-ZSB2SPV4.js.map → chunk-NKRAHM7T.js.map} +1 -1
- package/dist/{chunk-N4DHPRBS.js → chunk-NXTLDFLA.js} +3 -3
- package/dist/{chunk-N4DHPRBS.js.map → chunk-NXTLDFLA.js.map} +1 -1
- package/dist/{chunk-PCM75ICY.js → chunk-O7MVMQEU.js} +4 -4
- package/dist/{chunk-PCM75ICY.js.map → chunk-O7MVMQEU.js.map} +1 -1
- package/dist/{chunk-BVYTXIN5.js → chunk-ODP2MN2D.js} +3 -3
- package/dist/{chunk-BVYTXIN5.js.map → chunk-ODP2MN2D.js.map} +1 -1
- package/dist/{chunk-UE4AKJNQ.js → chunk-PB2Y4AMQ.js} +3 -3
- package/dist/{chunk-UE4AKJNQ.js.map → chunk-PB2Y4AMQ.js.map} +1 -1
- package/dist/{chunk-6XIIGQXL.js → chunk-PE3A6FFW.js} +3 -3
- package/dist/{chunk-6XIIGQXL.js.map → chunk-PE3A6FFW.js.map} +1 -1
- package/dist/{chunk-O64WU6WS.js → chunk-QQ3G5N7X.js} +4 -4
- package/dist/chunk-QQ3G5N7X.js.map +1 -0
- package/dist/{chunk-2J3PASYF.js → chunk-QWGSKDD7.js} +90 -6
- package/dist/chunk-QWGSKDD7.js.map +1 -0
- package/dist/{chunk-CPIAQTYM.js → chunk-TOXPRXAK.js} +3 -3
- package/dist/{chunk-CPIAQTYM.js.map → chunk-TOXPRXAK.js.map} +1 -1
- package/dist/{chunk-YZSMZK37.js → chunk-UF4AEO54.js} +3 -3
- package/dist/{chunk-YZSMZK37.js.map → chunk-UF4AEO54.js.map} +1 -1
- package/dist/{chunk-IGI6M7MS.js → chunk-UOJW2DOZ.js} +3 -3
- package/dist/{chunk-IGI6M7MS.js.map → chunk-UOJW2DOZ.js.map} +1 -1
- package/dist/{chunk-KECSNBET.js → chunk-W64ZXABT.js} +26 -19
- package/dist/chunk-W64ZXABT.js.map +1 -0
- package/dist/{chunk-7EYRYGIM.js → chunk-WQPLZUXU.js} +4 -4
- package/dist/{chunk-7EYRYGIM.js.map → chunk-WQPLZUXU.js.map} +1 -1
- package/dist/{chunk-DPKRBLYC.js → chunk-WZQWZJYL.js} +3 -3
- package/dist/{chunk-DPKRBLYC.js.map → chunk-WZQWZJYL.js.map} +1 -1
- package/dist/{chunk-RJNBMEFG.js → chunk-ZEODSOBX.js} +10 -8
- package/dist/chunk-ZEODSOBX.js.map +1 -0
- package/dist/{chunk-BYBIEHQX.js → chunk-ZISHZRG6.js} +27 -27
- package/dist/chunk-ZISHZRG6.js.map +1 -0
- package/dist/{chunk-MH4GYGOW.js → chunk-ZXPIKQAN.js} +4 -4
- package/dist/{chunk-MH4GYGOW.js.map → chunk-ZXPIKQAN.js.map} +1 -1
- package/dist/{chunk-4G6HFU27.js → chunk-ZXQMKXWR.js} +3 -3
- package/dist/{chunk-4G6HFU27.js.map → chunk-ZXQMKXWR.js.map} +1 -1
- package/dist/cli/index.js +61 -55
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/migrate-legacy-entry.d.ts.map +1 -1
- package/dist/cli/src/commands/project.d.ts.map +1 -1
- package/dist/cli/src/store-auth.d.ts.map +1 -1
- package/dist/connectors/config.js +3 -2
- package/dist/connectors/index.js +14 -13
- package/dist/connectors-shared/index.js +2 -2
- package/dist/core/index.js +5 -4
- package/dist/core/logging.js +2 -1
- package/dist/core/runtime-assets.js +3 -2
- package/dist/core/src/index.d.ts +2 -2
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/logging/retention-value.d.ts +7 -0
- package/dist/core/src/logging/retention-value.d.ts.map +1 -0
- package/dist/core/src/logging/retention.d.ts.map +1 -1
- package/dist/core/src/workspace-config.d.ts +51 -2
- package/dist/core/src/workspace-config.d.ts.map +1 -1
- package/dist/core/workspace-config.js +2 -1
- package/dist/deploy/index.js +5 -4
- package/dist/deploy/index.js.map +1 -1
- package/dist/{ensure-sources-ZZRU74UG.js → ensure-sources-5QRNKIKQ.js} +11 -10
- package/dist/ensure-sources-5QRNKIKQ.js.map +1 -0
- package/dist/factory-assets/connectors/box.js +14 -13
- package/dist/factory-assets/connectors/deploy.js +14 -13
- package/dist/factory-assets/connectors/devserver.js +14 -13
- package/dist/factory-assets/connectors/flow/adapter.js +14 -13
- package/dist/factory-assets/connectors/flow/engine.js +6 -5
- package/dist/factory-assets/connectors/flow/run-flow.js +15 -14
- package/dist/factory-assets/connectors/flow/subprompt-runner.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow.js +14 -13
- package/dist/factory-assets/connectors/git.js +14 -13
- package/dist/factory-assets/connectors/gmail.js +14 -13
- package/dist/factory-assets/connectors/googledrive.js +14 -13
- package/dist/factory-assets/connectors/local.js +14 -13
- package/dist/factory-assets/connectors/mattermost.js +14 -13
- package/dist/factory-assets/connectors/memory.js +14 -13
- package/dist/factory-assets/connectors/minio.js +14 -13
- package/dist/factory-assets/connectors/postgres.js +14 -13
- package/dist/factory-assets/connectors/s3.js +14 -13
- package/dist/factory-assets/connectors/sharepoint.js +14 -13
- package/dist/factory-assets/connectors/sqlite.js +14 -13
- package/dist/factory-assets/connectors/static-server.js +14 -13
- package/dist/factory-assets/connectors/tunnel.js +14 -13
- package/dist/factory-assets/connectors/webdav.js +14 -13
- package/dist/factory-assets/connectors/xstate-store.js +14 -13
- package/dist/factory-assets/connectors/xstate.js +14 -13
- package/dist/{flows-XHRUNYJV.js → flows-7EB63Q2Q.js} +8 -7
- package/dist/{flows-XHRUNYJV.js.map → flows-7EB63Q2Q.js.map} +1 -1
- package/dist/{helpers-M76C6JVC.js → helpers-FNZ6J5AB.js} +11 -10
- package/dist/{helpers-M76C6JVC.js.map → helpers-FNZ6J5AB.js.map} +1 -1
- package/dist/library/index.js +6 -5
- package/dist/{library-publish-EQYEJXWO.js → library-publish-BM7X5K6K.js} +15 -14
- package/dist/library-publish-BM7X5K6K.js.map +1 -0
- package/dist/{open-library-YTP7CVVT.js → open-library-TVZI745K.js} +13 -12
- package/dist/{open-library-YTP7CVVT.js.map → open-library-TVZI745K.js.map} +1 -1
- package/dist/{paths-BG3I2LPM.js → paths-IK6Y4OIU.js} +8 -7
- package/dist/{paths-BG3I2LPM.js.map → paths-IK6Y4OIU.js.map} +1 -1
- package/dist/{plugin-store-BCNR6ZBP.js → plugin-store-LUJ4GXSO.js} +7 -6
- package/dist/plugin-store-LUJ4GXSO.js.map +1 -0
- package/dist/{project-THCZLS67.js → project-SLWRBQVB.js} +12 -11
- package/dist/{project-THCZLS67.js.map → project-SLWRBQVB.js.map} +1 -1
- package/dist/resolver/index.js +5 -4
- package/dist/run-group-engine/index.js.map +1 -1
- package/dist/run-group-engine/src/rollup.d.ts.map +1 -1
- package/dist/runner/index.js +20 -19
- package/dist/runner/src/codex-init.d.ts.map +1 -1
- package/dist/runner/src/compaction/orchestrator.d.ts.map +1 -1
- package/dist/runner/src/compaction/strategy.d.ts +8 -5
- package/dist/runner/src/compaction/strategy.d.ts.map +1 -1
- package/dist/runner/src/logging-bootstrap.d.ts +6 -1
- package/dist/runner/src/logging-bootstrap.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +8 -7
- package/dist/sdk/bridge.js +10 -9
- package/dist/sdk/core.js +5 -4
- package/dist/sdk/flow.js +6 -5
- package/dist/sdk/index.js +20 -19
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/resolver.js +5 -4
- package/dist/sdk/runner.js +20 -19
- package/dist/sdk/session.js +2 -2
- package/dist/sdk/types.js +1 -1
- package/dist/session/index.js +2 -2
- package/dist/session/src/dispatcher.d.ts +7 -1
- package/dist/session/src/dispatcher.d.ts.map +1 -1
- package/dist/{setup-QN4HKSFJ.js → setup-YTYMPCWC.js} +17 -16
- package/dist/setup-YTYMPCWC.js.map +1 -0
- package/dist/{skills-FKVBIDNM.js → skills-YB5RHUAT.js} +7 -6
- package/dist/{skills-FKVBIDNM.js.map → skills-YB5RHUAT.js.map} +1 -1
- package/dist/{source-5EAGZA6K.js → source-WPO6HH4P.js} +14 -13
- package/dist/{source-5EAGZA6K.js.map → source-WPO6HH4P.js.map} +1 -1
- package/dist/{source-manifest-publish-57SGT7Q3.js → source-manifest-publish-FNPZJFFK.js} +16 -15
- package/dist/source-manifest-publish-FNPZJFFK.js.map +1 -0
- package/dist/tui/index.js +20 -19
- package/dist/tui/index.js.map +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/src/events.d.ts +12 -0
- package/dist/types/src/events.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +8 -1
- package/dist/types/src/version.d.ts.map +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +8 -7
- package/dist/workspace-plugin/adapters/omp.js +7 -7
- package/dist/workspace-plugin/adapters/omp.js.map +1 -1
- package/dist/workspace-plugin/index.js +3 -2
- package/dist/workspace-plugin/src/adapters/omp.d.ts.map +1 -1
- package/package.json +2 -1
- package/dist/asset-feeds-WSKIL5GA.js.map +0 -1
- package/dist/chunk-2J3PASYF.js.map +0 -1
- package/dist/chunk-BYBIEHQX.js.map +0 -1
- package/dist/chunk-KECSNBET.js.map +0 -1
- package/dist/chunk-NQ3OMJFK.js.map +0 -1
- package/dist/chunk-O64WU6WS.js.map +0 -1
- package/dist/chunk-QUSE2T4N.js.map +0 -1
- package/dist/chunk-RE2XE2AP.js.map +0 -1
- package/dist/chunk-RJNBMEFG.js.map +0 -1
- package/dist/chunk-RUBPZLMO.js.map +0 -1
- package/dist/ensure-sources-ZZRU74UG.js.map +0 -1
- package/dist/library-publish-EQYEJXWO.js.map +0 -1
- package/dist/plugin-store-BCNR6ZBP.js.map +0 -1
- package/dist/setup-QN4HKSFJ.js.map +0 -1
- package/dist/source-manifest-publish-57SGT7Q3.js.map +0 -1
package/dist/cli/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
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-NKRAHM7T.js';
|
|
3
|
+
import { makeInstallCommand, makeCheckCommand, makeCleanCommand, reportInstalledSoftDeps } from '../chunk-ZEODSOBX.js';
|
|
4
|
+
import { makeProvidersCommand, loadRegistryView, addProviderEntry, ProviderRegistryWriteError } from '../chunk-NCALGSGL.js';
|
|
5
|
+
import { getStoreConfig, storeFetch, deviceLogin, loadStoreAuthConfig, logout, hasStoredAuth, isStoreAuthenticated, getStoreToken, getStoreIdentity } from '../chunk-BRNGJTHH.js';
|
|
6
|
+
import { makeSourceCommand, syncProjectSources } from '../chunk-DM4KP4SC.js';
|
|
7
|
+
import { openCatalogSource, openLibraryManager, createFullRegistry, openLibrary } from '../chunk-L534UCEQ.js';
|
|
8
|
+
import { logErr, S, logOk, logInfo, logWarn, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth } from '../chunk-ODP2MN2D.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-ZISHZRG6.js';
|
|
11
|
+
import { buildClaudePluginFiles } from '../chunk-IM7S4A5E.js';
|
|
12
|
+
import '../chunk-ZXPIKQAN.js';
|
|
13
|
+
import '../chunk-LCKZCLXA.js';
|
|
14
14
|
import '../chunk-P2DLXBZK.js';
|
|
15
15
|
import '../chunk-7IH3RKKK.js';
|
|
16
16
|
import '../chunk-4ZTPYIBE.js';
|
|
@@ -23,53 +23,54 @@ import '../chunk-GTS2FODO.js';
|
|
|
23
23
|
import '../chunk-73ZXUUL6.js';
|
|
24
24
|
import '../chunk-32NA4TVC.js';
|
|
25
25
|
import '../chunk-W3UDISS2.js';
|
|
26
|
-
import '../chunk-
|
|
27
|
-
import { runFlow, resumeFlow } from '../chunk-
|
|
26
|
+
import '../chunk-PE3A6FFW.js';
|
|
27
|
+
import { runFlow, resumeFlow } from '../chunk-7CO3MYNN.js';
|
|
28
28
|
import '../chunk-4R6DROGN.js';
|
|
29
29
|
import { validateFlowVersions, parseSkillFrontmatter } from '../chunk-T3YUSWVK.js';
|
|
30
30
|
import '../chunk-Q6NDQ6BH.js';
|
|
31
31
|
import '../chunk-ZK7DQRB2.js';
|
|
32
|
-
import '../chunk-
|
|
33
|
-
import '../chunk-
|
|
34
|
-
import '../chunk-
|
|
35
|
-
import '../chunk-
|
|
32
|
+
import '../chunk-JN2TH5YB.js';
|
|
33
|
+
import '../chunk-UF4AEO54.js';
|
|
34
|
+
import '../chunk-UOJW2DOZ.js';
|
|
35
|
+
import '../chunk-W64ZXABT.js';
|
|
36
36
|
import '../chunk-4SIMGJIU.js';
|
|
37
37
|
import '../chunk-LOO5CB5M.js';
|
|
38
|
-
import '../chunk-
|
|
39
|
-
import '../chunk-
|
|
38
|
+
import '../chunk-TOXPRXAK.js';
|
|
39
|
+
import '../chunk-ZXQMKXWR.js';
|
|
40
40
|
import '../chunk-GAH4YRCI.js';
|
|
41
|
-
import { getProviderPreset, AI_PROVIDER_PRESETS } from '../chunk-
|
|
41
|
+
import { getProviderPreset, AI_PROVIDER_PRESETS } from '../chunk-LQMALDDB.js';
|
|
42
42
|
import '../chunk-6E6PKKAD.js';
|
|
43
43
|
import '../chunk-IFGTRL2I.js';
|
|
44
|
-
import { projectAiAssetsRoots, loadFlow, loadAllFlowEntries, findFlowFileInRoots } from '../chunk-
|
|
44
|
+
import { projectAiAssetsRoots, loadFlow, loadAllFlowEntries, findFlowFileInRoots } from '../chunk-A2T4WIZL.js';
|
|
45
45
|
import '../chunk-XPDB4O4H.js';
|
|
46
46
|
import '../chunk-ALLCAFHQ.js';
|
|
47
47
|
import '../chunk-RQLL7L72.js';
|
|
48
48
|
import { nodeLabel, nodeSkillAsset, nodeIsInert, nodeIsOptional, nodeRunKind, flowSkillVersionPins } from '../chunk-V4RGCKYC.js';
|
|
49
49
|
import '../chunk-DHMBE5J7.js';
|
|
50
|
-
import '../chunk-
|
|
51
|
-
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-
|
|
52
|
-
import { getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-
|
|
50
|
+
import '../chunk-QQ3G5N7X.js';
|
|
51
|
+
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-2JGXE46E.js';
|
|
52
|
+
import { getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-WQPLZUXU.js';
|
|
53
53
|
import '../chunk-HGPSZXZP.js';
|
|
54
54
|
import '../chunk-VOEBLPXO.js';
|
|
55
55
|
import '../chunk-R7FOF242.js';
|
|
56
56
|
import '../chunk-JXT46QFC.js';
|
|
57
|
-
import '../chunk-
|
|
57
|
+
import '../chunk-4JGTXBQB.js';
|
|
58
58
|
import '../chunk-CGYEHQOX.js';
|
|
59
|
-
import { resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, WorkspaceYamlEditor, resolveLibraryDir, checkAgentSkillConformance, aiResourceRoots, readLock, workspaceProviderRegistryPath, userProviderRegistryPath, loadProviderRegistryFile } from '../chunk-
|
|
59
|
+
import { resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, WorkspaceYamlEditor, resolveLibraryDir, checkAgentSkillConformance, aiResourceRoots, readLock, workspaceProviderRegistryPath, userProviderRegistryPath, loadProviderRegistryFile } from '../chunk-7NRF7BQB.js';
|
|
60
60
|
import '../chunk-4GY63JU6.js';
|
|
61
|
-
import { factoryAssetRoots } from '../chunk-
|
|
61
|
+
import { factoryAssetRoots } from '../chunk-NXTLDFLA.js';
|
|
62
62
|
import '../chunk-F3HNW354.js';
|
|
63
63
|
import { DRIVER_DEFAULTS } from '../chunk-K5GBV4SA.js';
|
|
64
64
|
import { detectDomains, assetSearchDirs } from '../chunk-QVZA2MDT.js';
|
|
65
|
-
import { globalCacheRoot, sourceCacheKey, getGlobalCacheDir, resolveAgentDir, matchPin, coerceVersion, loadSkWorkspaceConfig, resolveSkWorkspaceConfig, storeManifestSlug, isWorkspaceConfigFilename } from '../chunk-
|
|
65
|
+
import { globalCacheRoot, sourceCacheKey, getGlobalCacheDir, resolveAgentDir, matchPin, coerceVersion, loadSkWorkspaceConfig, resolveSkWorkspaceConfig, storeManifestSlug, isWorkspaceConfigFilename } from '../chunk-QWGSKDD7.js';
|
|
66
66
|
import { SUPPORTED_DRIVER_TARGETS } from '../chunk-MENCWIHW.js';
|
|
67
67
|
import { SKAILE_MANIFEST_FILENAME, decodeSkaileManifest, loadSkPublishManifest, saveSkPublishManifest } from '../chunk-P4VHQA4N.js';
|
|
68
68
|
import { parseFrontmatter, scanDirectory } from '../chunk-2FBPAR2V.js';
|
|
69
69
|
import { parseAssetRef, ASSET_KINDS, isValidAssetName, slugifyAssetName, ASSET_NAME_HINT, assetRefToStr } from '../chunk-GEEW6SY2.js';
|
|
70
|
-
import { openSqlite } from '../chunk-
|
|
70
|
+
import { openSqlite } from '../chunk-JMKB7IB4.js';
|
|
71
71
|
import { portableSpawn, portableSpawnSync } from '../chunk-DPLIN2RA.js';
|
|
72
72
|
import { parseModelRef, resolveEntryBaseUrl } from '../chunk-GZZPKAV5.js';
|
|
73
|
+
import '../chunk-C3CAXQMA.js';
|
|
73
74
|
import '../chunk-BOFL7GIF.js';
|
|
74
75
|
import '../chunk-KTBKW2FI.js';
|
|
75
76
|
import '../chunk-UQ6LFBPZ.js';
|
|
@@ -126,7 +127,7 @@ async function runSearch(kind, query, opts) {
|
|
|
126
127
|
}
|
|
127
128
|
}
|
|
128
129
|
async function searchIndex(query, kind) {
|
|
129
|
-
const { openLibrary: openLibrary2 } = await import('../open-library-
|
|
130
|
+
const { openLibrary: openLibrary2 } = await import('../open-library-TVZI745K.js');
|
|
130
131
|
const library = await openLibrary2();
|
|
131
132
|
try {
|
|
132
133
|
const defs = await library.listAssetDefs(kind ? { kind } : {});
|
|
@@ -179,7 +180,7 @@ async function searchLocal(query, kind, opts, showStore, airGapped) {
|
|
|
179
180
|
const factory = await searchFactory(projectDir, query, kind);
|
|
180
181
|
let entries = unionEntries(await searchIndex(query, kind), factory);
|
|
181
182
|
if (entries.length === 0 && !query && !kind && !airGapped) {
|
|
182
|
-
const { autoSyncForSearch } = await import('../source-
|
|
183
|
+
const { autoSyncForSearch } = await import('../source-WPO6HH4P.js');
|
|
183
184
|
if (await autoSyncForSearch(projectDir)) {
|
|
184
185
|
entries = unionEntries(await searchIndex(query, kind), factory);
|
|
185
186
|
}
|
|
@@ -233,7 +234,7 @@ async function searchStore(query, kind, opts, airGapped) {
|
|
|
233
234
|
logInfo("air-gapped (cache_ttl: 0) \u2014 local sources only");
|
|
234
235
|
return;
|
|
235
236
|
}
|
|
236
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
237
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-TVZI745K.js');
|
|
237
238
|
try {
|
|
238
239
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
239
240
|
const assets = await remote.listAssets(kind ? { kind } : {});
|
|
@@ -548,7 +549,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
548
549
|
return { entry: match ?? deployed };
|
|
549
550
|
}
|
|
550
551
|
const lookup = opts.storeLookup ?? (async (filter) => {
|
|
551
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
552
|
+
const { resolveCatalogSource } = await import('../open-library-TVZI745K.js');
|
|
552
553
|
const { source, close } = await resolveCatalogSource({ projectDir: opts.projectDir });
|
|
553
554
|
try {
|
|
554
555
|
return await source.listAssets(filter);
|
|
@@ -564,7 +565,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
564
565
|
);
|
|
565
566
|
return { entry: hit ? catalogAssetToEntry(hit) : null };
|
|
566
567
|
} catch (err) {
|
|
567
|
-
const { LocalCatalogDisabledError } = await import('../open-library-
|
|
568
|
+
const { LocalCatalogDisabledError } = await import('../open-library-TVZI745K.js');
|
|
568
569
|
const storeNote = err instanceof Error ? err.message : String(err);
|
|
569
570
|
const disabled = err instanceof LocalCatalogDisabledError || /catalog\.url/i.test(storeNote);
|
|
570
571
|
return { entry: null, storeNote, ...disabled ? { storeDisabled: true } : {} };
|
|
@@ -1184,7 +1185,7 @@ function makeCatalogCommand() {
|
|
|
1184
1185
|
return catalog;
|
|
1185
1186
|
}
|
|
1186
1187
|
async function runLocalCatalogTest(projectDir) {
|
|
1187
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
1188
|
+
const { resolveCatalogSource } = await import('../open-library-TVZI745K.js');
|
|
1188
1189
|
let resolved;
|
|
1189
1190
|
try {
|
|
1190
1191
|
resolved = await resolveCatalogSource({ projectDir });
|
|
@@ -2246,7 +2247,7 @@ async function ensureTargetsRegistered(projectDir) {
|
|
|
2246
2247
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
2247
2248
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
2248
2249
|
if (config.plugins && config.plugins.length > 0) {
|
|
2249
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
2250
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-LUJ4GXSO.js');
|
|
2250
2251
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
2251
2252
|
for (const f of result.failed) logWarn(f.error);
|
|
2252
2253
|
}
|
|
@@ -3501,16 +3502,16 @@ function makeLibraryCommand() {
|
|
|
3501
3502
|
});
|
|
3502
3503
|
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(
|
|
3503
3504
|
async (lib, opts) => {
|
|
3504
|
-
const { runLibraryPublish } = await import('../library-publish-
|
|
3505
|
+
const { runLibraryPublish } = await import('../library-publish-BM7X5K6K.js');
|
|
3505
3506
|
await withStoreErrorHandling(() => runLibraryPublish(lib, opts));
|
|
3506
3507
|
}
|
|
3507
3508
|
);
|
|
3508
3509
|
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) => {
|
|
3509
|
-
const { runLibraryRegister } = await import('../library-publish-
|
|
3510
|
+
const { runLibraryRegister } = await import('../library-publish-BM7X5K6K.js');
|
|
3510
3511
|
await withStoreErrorHandling(() => runLibraryRegister(lib, opts));
|
|
3511
3512
|
});
|
|
3512
3513
|
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) => {
|
|
3513
|
-
const { runLibraryYank } = await import('../library-publish-
|
|
3514
|
+
const { runLibraryYank } = await import('../library-publish-BM7X5K6K.js');
|
|
3514
3515
|
await withStoreErrorHandling(() => runLibraryYank(lib, opts));
|
|
3515
3516
|
});
|
|
3516
3517
|
return cmd;
|
|
@@ -4232,7 +4233,7 @@ function scheduleSoftDepPreview() {
|
|
|
4232
4233
|
}
|
|
4233
4234
|
async function loadAssets() {
|
|
4234
4235
|
softDepPreviewCache.clear();
|
|
4235
|
-
const { gatherAssetFeeds } = await import('../asset-feeds-
|
|
4236
|
+
const { gatherAssetFeeds } = await import('../asset-feeds-ZCUKOJVN.js');
|
|
4236
4237
|
const { entries, domains, notes } = await gatherAssetFeeds(am, am.projectDir);
|
|
4237
4238
|
if (notes.length > 0) {
|
|
4238
4239
|
state.message = notes.map((n) => `[${n.feed}] ${n.message}`).join(" \u2022 ");
|
|
@@ -4438,7 +4439,7 @@ function reconcileCollapsedSets(rows) {
|
|
|
4438
4439
|
async function loadSourcesAndLibraries() {
|
|
4439
4440
|
try {
|
|
4440
4441
|
const [{ openLibraryManager: openLibraryManager2 }, { skaileHomeDir }, { getGlobalCacheDir: getGlobalCacheDir2 }] = await Promise.all([
|
|
4441
|
-
import('../open-library-
|
|
4442
|
+
import('../open-library-TVZI745K.js'),
|
|
4442
4443
|
import('../library/index.js'),
|
|
4443
4444
|
import('../core/index.js')
|
|
4444
4445
|
]);
|
|
@@ -5609,7 +5610,12 @@ function cloudEntry(cloud, cfg, env) {
|
|
|
5609
5610
|
return { ...common, transport: "foundry", params: { resource: cfg.resource } };
|
|
5610
5611
|
if (!cfg?.baseUrl) return { ...common };
|
|
5611
5612
|
const hostLabel = cfg.baseUrl.replace(/^[a-z][a-z0-9+.-]*:\/\//i, "").split(/[./:]/)[0];
|
|
5612
|
-
return hostLabel ? {
|
|
5613
|
+
return hostLabel ? {
|
|
5614
|
+
...common,
|
|
5615
|
+
transport: "foundry",
|
|
5616
|
+
params: { resource: hostLabel },
|
|
5617
|
+
base_url: cfg.baseUrl
|
|
5618
|
+
} : { ...common, base_url: cfg.baseUrl };
|
|
5613
5619
|
}
|
|
5614
5620
|
default: {
|
|
5615
5621
|
const baseUrl = cfg?.baseUrl ?? env.ANTHROPIC_BASE_URL;
|
|
@@ -6075,7 +6081,7 @@ function action2(fn) {
|
|
|
6075
6081
|
};
|
|
6076
6082
|
}
|
|
6077
6083
|
async function reconcileAndReport(projectDir, plugins) {
|
|
6078
|
-
const { reconcilePlugins } = await import('../plugin-store-
|
|
6084
|
+
const { reconcilePlugins } = await import('../plugin-store-LUJ4GXSO.js');
|
|
6079
6085
|
if (plugins.length === 0) {
|
|
6080
6086
|
logInfo("No plugins declared \u2014 nothing to reconcile.");
|
|
6081
6087
|
return;
|
|
@@ -6091,7 +6097,7 @@ async function reconcileAndReport(projectDir, plugins) {
|
|
|
6091
6097
|
async function runInstall2(spec, opts) {
|
|
6092
6098
|
const projectDir = path36__default.resolve(opts.projectDir);
|
|
6093
6099
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
6094
|
-
const { specName } = await import('../plugin-store-
|
|
6100
|
+
const { specName } = await import('../plugin-store-LUJ4GXSO.js');
|
|
6095
6101
|
const yamlPath = path36__default.join(projectDir, "skaile.yaml");
|
|
6096
6102
|
const editor = WorkspaceYamlEditor2.load(yamlPath);
|
|
6097
6103
|
const replaced = editor.addPlugin(spec, specName);
|
|
@@ -6103,7 +6109,7 @@ async function runInstall2(spec, opts) {
|
|
|
6103
6109
|
async function runRemove(name, opts) {
|
|
6104
6110
|
const projectDir = path36__default.resolve(opts.projectDir);
|
|
6105
6111
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
6106
|
-
const { specName } = await import('../plugin-store-
|
|
6112
|
+
const { specName } = await import('../plugin-store-LUJ4GXSO.js');
|
|
6107
6113
|
const yamlPath = path36__default.join(projectDir, "skaile.yaml");
|
|
6108
6114
|
const editor = WorkspaceYamlEditor2.load(yamlPath);
|
|
6109
6115
|
const removed = editor.removePlugin(name, specName);
|
|
@@ -6131,7 +6137,7 @@ async function runList(opts) {
|
|
|
6131
6137
|
const registry = createPluginRegistry();
|
|
6132
6138
|
if (declared.length > 0) {
|
|
6133
6139
|
try {
|
|
6134
|
-
const { loadPlugins } = await import('../plugin-store-
|
|
6140
|
+
const { loadPlugins } = await import('../plugin-store-LUJ4GXSO.js');
|
|
6135
6141
|
const result = await loadPlugins(projectDir, declared, registry);
|
|
6136
6142
|
for (const f of result.failed) logWarn(f.error);
|
|
6137
6143
|
} catch (err) {
|
|
@@ -7233,12 +7239,12 @@ function makeServeCommand() {
|
|
|
7233
7239
|
);
|
|
7234
7240
|
}
|
|
7235
7241
|
async function ensurePluginsLoadedForServe(projectDir) {
|
|
7236
|
-
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-
|
|
7242
|
+
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-FNZ6J5AB.js');
|
|
7237
7243
|
try {
|
|
7238
7244
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
7239
7245
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
7240
7246
|
if (!config.plugins || config.plugins.length === 0) return;
|
|
7241
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
7247
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-LUJ4GXSO.js');
|
|
7242
7248
|
const { pluginRegistry } = await import('../plugin-registry/index.js');
|
|
7243
7249
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
7244
7250
|
if (result.loaded.length > 0) {
|
|
@@ -7252,14 +7258,14 @@ async function ensurePluginsLoadedForServe(projectDir) {
|
|
|
7252
7258
|
}
|
|
7253
7259
|
}
|
|
7254
7260
|
async function runCompileTest(opts) {
|
|
7255
|
-
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-
|
|
7261
|
+
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-FNZ6J5AB.js');
|
|
7256
7262
|
const { tmpdir } = await import('os');
|
|
7257
7263
|
const { dirname: dirname4, join: join7, resolve: resolve5 } = await import('path');
|
|
7258
7264
|
const { fileURLToPath: fileURLToPath2 } = await import('url');
|
|
7259
7265
|
const { unlinkSync, existsSync: existsSync15 } = await import('fs');
|
|
7260
7266
|
const { spawn } = await import('child_process');
|
|
7261
7267
|
const { portableSpawnSync: portableSpawnSync2 } = await import('../core/index.js');
|
|
7262
|
-
const { MONOREPO_ROOT } = await import('../paths-
|
|
7268
|
+
const { MONOREPO_ROOT } = await import('../paths-IK6Y4OIU.js');
|
|
7263
7269
|
if (MONOREPO_ROOT === null) {
|
|
7264
7270
|
logErr2("--compile-test is only available inside the skaile-dev workspace.");
|
|
7265
7271
|
logInfo2("Run it from a checkout of skaile-ai/skaile-dev (the monorepo shell).");
|
|
@@ -8134,7 +8140,7 @@ function makeStoreCommand() {
|
|
|
8134
8140
|
process.exit(2);
|
|
8135
8141
|
});
|
|
8136
8142
|
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) => {
|
|
8137
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
8143
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-TVZI745K.js');
|
|
8138
8144
|
try {
|
|
8139
8145
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
8140
8146
|
const assets = await remote.listAssets(opts.kind ? { kind: opts.kind } : {});
|
|
@@ -8167,8 +8173,8 @@ function makeStoreCommand() {
|
|
|
8167
8173
|
}
|
|
8168
8174
|
});
|
|
8169
8175
|
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) => {
|
|
8170
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
8171
|
-
const { supportsInstallManifest } = await import('../project-
|
|
8176
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-TVZI745K.js');
|
|
8177
|
+
const { supportsInstallManifest } = await import('../project-SLWRBQVB.js');
|
|
8172
8178
|
try {
|
|
8173
8179
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
8174
8180
|
const asset = await remote.resolve(ref);
|
|
@@ -9256,7 +9262,7 @@ async function bootstrapUserConfig() {
|
|
|
9256
9262
|
}
|
|
9257
9263
|
async function hydrateInitSources(resolved, created) {
|
|
9258
9264
|
try {
|
|
9259
|
-
const { ensureSourcesCloned } = await import('../ensure-sources-
|
|
9265
|
+
const { ensureSourcesCloned } = await import('../ensure-sources-5QRNKIKQ.js');
|
|
9260
9266
|
const hydrate = ensureSourcesCloned(resolved, { quiet: true });
|
|
9261
9267
|
for (const n of hydrate.cloned) created.push(`~/.skaile/cache/sources/${n}/`);
|
|
9262
9268
|
if (hydrate.failed.length > 0) {
|
|
@@ -9296,7 +9302,7 @@ function printInitSummary(resolved, projectDir, created) {
|
|
|
9296
9302
|
console.log();
|
|
9297
9303
|
}
|
|
9298
9304
|
program.command("setup").description("Interactive provider setup wizard").action(async () => {
|
|
9299
|
-
const { cmdSetup } = await import('../setup-
|
|
9305
|
+
const { cmdSetup } = await import('../setup-YTYMPCWC.js');
|
|
9300
9306
|
await cmdSetup([], { projectDir: process.cwd() });
|
|
9301
9307
|
});
|
|
9302
9308
|
program.addCommand(makeInstallCommand());
|