@skaile/workspaces 2.2.0 → 2.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 +24 -0
- package/README.md +35 -12
- package/dist/{asset-feeds-D2LOXTOS.js → asset-feeds-4AWAT5PW.js} +6 -6
- package/dist/{asset-feeds-D2LOXTOS.js.map → asset-feeds-4AWAT5PW.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.js +1 -1
- package/dist/asset-manager/index.js +5 -5
- package/dist/asset-manager/installer.js +2 -2
- package/dist/bridge/drivers/claude-sdk.js +5 -2
- package/dist/bridge/drivers/claude-sdk.js.map +1 -1
- package/dist/bridge/drivers/codex.js +1 -1
- package/dist/bridge/drivers/continue.js +2 -2
- package/dist/bridge/drivers/echo.js +1 -1
- package/dist/bridge/drivers/gemini.js +3 -3
- package/dist/bridge/drivers/goose.js +2 -2
- package/dist/bridge/drivers/omp.js +1 -1
- package/dist/bridge/drivers/opencode.js +2 -2
- package/dist/bridge/drivers/qwen.js +3 -3
- package/dist/bridge/index.js +2 -2
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
- package/dist/{chunk-CERGXDGG.js → chunk-2OCYS5EP.js} +3 -3
- package/dist/{chunk-CERGXDGG.js.map → chunk-2OCYS5EP.js.map} +1 -1
- package/dist/{chunk-TQIU4HQG.js → chunk-2QVPCZTL.js} +101 -40
- package/dist/chunk-2QVPCZTL.js.map +1 -0
- package/dist/{chunk-A67FJ4YT.js → chunk-3HVASHBF.js} +3 -3
- package/dist/{chunk-A67FJ4YT.js.map → chunk-3HVASHBF.js.map} +1 -1
- package/dist/chunk-4O2RAXKJ.js +446 -0
- package/dist/chunk-4O2RAXKJ.js.map +1 -0
- package/dist/chunk-4QROZZ5Z.js +50 -0
- package/dist/chunk-4QROZZ5Z.js.map +1 -0
- package/dist/{chunk-VSSAJYFK.js → chunk-57RFYEVM.js} +3 -3
- package/dist/{chunk-VSSAJYFK.js.map → chunk-57RFYEVM.js.map} +1 -1
- package/dist/{chunk-SZJCUC52.js → chunk-6BV5NAPD.js} +156 -28
- package/dist/chunk-6BV5NAPD.js.map +1 -0
- package/dist/{chunk-MAIKGYFR.js → chunk-AKVAZ5CB.js} +2 -2
- package/dist/{chunk-MAIKGYFR.js.map → chunk-AKVAZ5CB.js.map} +1 -1
- package/dist/{chunk-BFIK6NPZ.js → chunk-AM5LFRXJ.js} +3 -3
- package/dist/{chunk-BFIK6NPZ.js.map → chunk-AM5LFRXJ.js.map} +1 -1
- package/dist/{chunk-6QSGCHE5.js → chunk-EEHOMCRU.js} +1071 -123
- package/dist/chunk-EEHOMCRU.js.map +1 -0
- package/dist/{chunk-6I5VRIX3.js → chunk-ENBTXMPL.js} +7 -7
- package/dist/{chunk-6I5VRIX3.js.map → chunk-ENBTXMPL.js.map} +1 -1
- package/dist/{chunk-Y662DNQQ.js → chunk-FKBQRV4J.js} +68 -24
- package/dist/chunk-FKBQRV4J.js.map +1 -0
- package/dist/{chunk-BUPFJFGP.js → chunk-G5V6YCHF.js} +3 -3
- package/dist/{chunk-BUPFJFGP.js.map → chunk-G5V6YCHF.js.map} +1 -1
- package/dist/{chunk-KGIVZOLU.js → chunk-GM2X24Q6.js} +2 -2
- package/dist/{chunk-KGIVZOLU.js.map → chunk-GM2X24Q6.js.map} +1 -1
- package/dist/{chunk-5BH6ZEGC.js → chunk-IHX2SN35.js} +9 -9
- package/dist/{chunk-5BH6ZEGC.js.map → chunk-IHX2SN35.js.map} +1 -1
- package/dist/{chunk-6HPTB6KT.js → chunk-JAFEMG7W.js} +4 -4
- package/dist/{chunk-6HPTB6KT.js.map → chunk-JAFEMG7W.js.map} +1 -1
- package/dist/{chunk-I5ESMJMW.js → chunk-MADO7PH5.js} +2 -2
- package/dist/{chunk-I5ESMJMW.js.map → chunk-MADO7PH5.js.map} +1 -1
- package/dist/{chunk-BCTU4TN7.js → chunk-MWFYXUFK.js} +3 -3
- package/dist/{chunk-BCTU4TN7.js.map → chunk-MWFYXUFK.js.map} +1 -1
- package/dist/{chunk-MAN7AGQJ.js → chunk-NU4E7C5I.js} +25 -6
- package/dist/chunk-NU4E7C5I.js.map +1 -0
- package/dist/{chunk-RKMXBOIO.js → chunk-O7ROIKTF.js} +3 -3
- package/dist/{chunk-RKMXBOIO.js.map → chunk-O7ROIKTF.js.map} +1 -1
- package/dist/chunk-OEGHKO5N.js +1236 -0
- package/dist/chunk-OEGHKO5N.js.map +1 -0
- package/dist/{chunk-63ZPKREA.js → chunk-P43HBWKK.js} +11 -4
- package/dist/chunk-P43HBWKK.js.map +1 -0
- package/dist/{chunk-IR6VPAVH.js → chunk-PJ6INYDD.js} +3 -3
- package/dist/{chunk-IR6VPAVH.js.map → chunk-PJ6INYDD.js.map} +1 -1
- package/dist/{chunk-DHGMYXOY.js → chunk-UGKOWIRP.js} +4 -4
- package/dist/{chunk-DHGMYXOY.js.map → chunk-UGKOWIRP.js.map} +1 -1
- package/dist/{chunk-WA7ADYSA.js → chunk-UZYTSIX6.js} +6 -6
- package/dist/{chunk-WA7ADYSA.js.map → chunk-UZYTSIX6.js.map} +1 -1
- package/dist/chunk-V4ZLZJFN.js +86 -0
- package/dist/chunk-V4ZLZJFN.js.map +1 -0
- package/dist/{chunk-GPMIXOJJ.js → chunk-WSARNOPP.js} +5 -5
- package/dist/{chunk-GPMIXOJJ.js.map → chunk-WSARNOPP.js.map} +1 -1
- package/dist/cli/index.js +49 -46
- package/dist/cli/index.js.map +1 -1
- package/dist/connectors/config.js +1 -1
- package/dist/connectors/index.js +6 -4
- package/dist/core/index.js +1 -1
- package/dist/core/src/subprocess.d.ts +5 -1
- package/dist/core/src/subprocess.d.ts.map +1 -1
- package/dist/deploy/index.js +1 -1
- package/dist/discovery/index.js +1 -1
- package/dist/discovery/src/requires-graph.d.ts +1 -1
- package/dist/discovery/src/requires-graph.d.ts.map +1 -1
- package/dist/{ensure-sources-6QMXRI6D.js → ensure-sources-QF72HVUM.js} +8 -8
- package/dist/{ensure-sources-6QMXRI6D.js.map → ensure-sources-QF72HVUM.js.map} +1 -1
- package/dist/factory-assets/connectors/box.js +6 -4
- package/dist/factory-assets/connectors/deploy.js +6 -4
- package/dist/factory-assets/connectors/devserver.js +6 -4
- package/dist/factory-assets/connectors/flow/CONNECTOR.md +63 -10
- package/dist/factory-assets/connectors/flow/adapter.d.ts +79 -36
- package/dist/factory-assets/connectors/flow/adapter.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/adapter.js +6 -4
- package/dist/factory-assets/connectors/flow/contract/expression.d.ts +55 -0
- package/dist/factory-assets/connectors/flow/contract/expression.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/contract/flow.v2.schema.json +61 -134
- package/dist/factory-assets/connectors/flow/contract/index.d.ts +1 -1
- package/dist/factory-assets/connectors/flow/contract/index.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/contract/normalize.d.ts +4 -1
- package/dist/factory-assets/connectors/flow/contract/normalize.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/contract/schema.d.ts +20 -8
- package/dist/factory-assets/connectors/flow/contract/schema.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/contract.js +2 -1024
- package/dist/factory-assets/connectors/flow/contract.js.map +1 -1
- package/dist/factory-assets/connectors/flow/engine/bindings.d.ts +9 -0
- package/dist/factory-assets/connectors/flow/engine/bindings.d.ts.map +1 -0
- package/dist/factory-assets/connectors/flow/engine/engine.d.ts +11 -6
- package/dist/factory-assets/connectors/flow/engine/engine.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine/flow-kind-provider.d.ts +1 -1
- package/dist/factory-assets/connectors/flow/engine/flow-kind-provider.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine/index.d.ts +2 -0
- package/dist/factory-assets/connectors/flow/engine/index.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine/loader.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine/node-shape.d.ts +42 -0
- package/dist/factory-assets/connectors/flow/engine/node-shape.d.ts.map +1 -0
- package/dist/factory-assets/connectors/flow/engine/output-schema.d.ts +18 -0
- package/dist/factory-assets/connectors/flow/engine/output-schema.d.ts.map +1 -0
- package/dist/factory-assets/connectors/flow/engine/types.d.ts +67 -33
- package/dist/factory-assets/connectors/flow/engine/types.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine.js +4 -2
- package/dist/factory-assets/connectors/flow/index.d.ts +3 -0
- package/dist/factory-assets/connectors/flow/index.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/inline-sub-flow-host.d.ts +48 -0
- package/dist/factory-assets/connectors/flow/inline-sub-flow-host.d.ts.map +1 -0
- package/dist/factory-assets/connectors/flow/node-executor.d.ts +45 -0
- package/dist/factory-assets/connectors/flow/node-executor.d.ts.map +1 -0
- package/dist/factory-assets/connectors/flow/prompt-fragments.d.ts +5 -6
- package/dist/factory-assets/connectors/flow/prompt-fragments.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/prompt-fragments.js +2 -1
- package/dist/factory-assets/connectors/flow/run-flow.d.ts +10 -9
- package/dist/factory-assets/connectors/flow/run-flow.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/run-flow.js +7 -5
- package/dist/factory-assets/connectors/flow/sub-flow-runner.d.ts +73 -0
- package/dist/factory-assets/connectors/flow/sub-flow-runner.d.ts.map +1 -0
- package/dist/factory-assets/connectors/flow.js +6 -4
- package/dist/factory-assets/connectors/git.js +6 -4
- package/dist/factory-assets/connectors/gmail.js +6 -4
- package/dist/factory-assets/connectors/googledrive.js +6 -4
- package/dist/factory-assets/connectors/local.js +6 -4
- package/dist/factory-assets/connectors/mattermost.js +6 -4
- package/dist/factory-assets/connectors/memory.js +6 -4
- package/dist/factory-assets/connectors/minio.js +6 -4
- package/dist/factory-assets/connectors/postgres.js +6 -4
- package/dist/factory-assets/connectors/s3.js +6 -4
- package/dist/factory-assets/connectors/sharepoint.js +6 -4
- package/dist/factory-assets/connectors/sqlite.js +6 -4
- package/dist/factory-assets/connectors/static-server.js +6 -4
- package/dist/factory-assets/connectors/tunnel.js +6 -4
- package/dist/factory-assets/connectors/webdav.js +6 -4
- package/dist/factory-assets/connectors/xstate-store.js +6 -4
- package/dist/factory-assets/connectors/xstate.js +6 -4
- package/dist/{flows-TDDBCLNF.js → flows-YIW4HL3L.js} +4 -4
- package/dist/{flows-TDDBCLNF.js.map → flows-YIW4HL3L.js.map} +1 -1
- package/dist/{helpers-COQ7TDD4.js → helpers-LURCZHA4.js} +8 -8
- package/dist/{helpers-COQ7TDD4.js.map → helpers-LURCZHA4.js.map} +1 -1
- package/dist/library/index.js +3 -3
- package/dist/library/install.js +1 -1
- package/dist/{library-publish-SNPER6PO.js → library-publish-2GMJM3NZ.js} +14 -12
- package/dist/library-publish-2GMJM3NZ.js.map +1 -0
- package/dist/{open-library-VH2VEYQ7.js → open-library-POFOXZWH.js} +12 -10
- package/dist/{open-library-VH2VEYQ7.js.map → open-library-POFOXZWH.js.map} +1 -1
- package/dist/{paths-XZA22IB4.js → paths-ZLX4ITAQ.js} +6 -6
- package/dist/{paths-XZA22IB4.js.map → paths-ZLX4ITAQ.js.map} +1 -1
- package/dist/{plugin-store-CYSNVZIX.js → plugin-store-YIMNH2FH.js} +3 -3
- package/dist/{plugin-store-CYSNVZIX.js.map → plugin-store-YIMNH2FH.js.map} +1 -1
- package/dist/{project-FKL7PMJV.js → project-GVOPZEJZ.js} +9 -9
- package/dist/{project-FKL7PMJV.js.map → project-GVOPZEJZ.js.map} +1 -1
- package/dist/resolver/index.js +1 -1
- package/dist/runner/index.js +14 -8
- package/dist/runner/src/serve.d.ts +3 -1
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +5 -5
- package/dist/sdk/bridge.js +2 -2
- package/dist/sdk/core.js +1 -1
- package/dist/sdk/flow.js +4 -2
- package/dist/sdk/index.js +14 -8
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/resolver.js +1 -1
- package/dist/sdk/runner.js +14 -8
- package/dist/{setup-BM6HMYJJ.js → setup-TJYLYT2A.js} +5 -5
- package/dist/{setup-BM6HMYJJ.js.map → setup-TJYLYT2A.js.map} +1 -1
- package/dist/{skills-LHS4TOKK.js → skills-HGVH6UTA.js} +5 -5
- package/dist/{skills-LHS4TOKK.js.map → skills-HGVH6UTA.js.map} +1 -1
- package/dist/{source-JIUBJC4F.js → source-FB3T4IHP.js} +13 -11
- package/dist/{source-JIUBJC4F.js.map → source-FB3T4IHP.js.map} +1 -1
- package/dist/{source-manifest-publish-TLH6UWWU.js → source-manifest-publish-XTRDVPSC.js} +15 -13
- package/dist/source-manifest-publish-XTRDVPSC.js.map +1 -0
- package/dist/tui/index.js +14 -8
- package/dist/tui/index.js.map +1 -1
- package/dist/types/src/flow.d.ts +26 -0
- package/dist/types/src/flow.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +4 -4
- package/dist/workspace-plugin/adapters/omp.js +7 -7
- package/dist/workspace-plugin/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-63ZPKREA.js.map +0 -1
- package/dist/chunk-6QSGCHE5.js.map +0 -1
- package/dist/chunk-HPGV54O4.js +0 -301
- package/dist/chunk-HPGV54O4.js.map +0 -1
- package/dist/chunk-MAN7AGQJ.js.map +0 -1
- package/dist/chunk-SZJCUC52.js.map +0 -1
- package/dist/chunk-TQIU4HQG.js.map +0 -1
- package/dist/chunk-Y662DNQQ.js.map +0 -1
- package/dist/library-publish-SNPER6PO.js.map +0 -1
- package/dist/source-manifest-publish-TLH6UWWU.js.map +0 -1
package/dist/cli/index.js
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { makeInstallCommand, makeCheckCommand, makeCleanCommand, reportInstalledSoftDeps } from '../chunk-
|
|
3
|
-
import { makeSourceCommand, syncProjectSources } from '../chunk-
|
|
4
|
-
import { AI_RESOURCES, aiResourceRoots } from '../chunk-
|
|
5
|
-
import { getStoreConfig, storeFetch, deviceLogin, loadStoreAuthConfig, logout, hasStoredAuth, isStoreAuthenticated, getStoreToken, getStoreIdentity } from '../chunk-
|
|
6
|
-
import { openCatalogSource, openLibraryManager, createFullRegistry, openLibrary } from '../chunk-
|
|
7
|
-
import { logErr, S, logOk, logInfo, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, logWarn, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth } from '../chunk-
|
|
2
|
+
import { makeInstallCommand, makeCheckCommand, makeCleanCommand, reportInstalledSoftDeps } from '../chunk-ENBTXMPL.js';
|
|
3
|
+
import { makeSourceCommand, syncProjectSources } from '../chunk-IHX2SN35.js';
|
|
4
|
+
import { AI_RESOURCES, aiResourceRoots } from '../chunk-57RFYEVM.js';
|
|
5
|
+
import { getStoreConfig, storeFetch, deviceLogin, loadStoreAuthConfig, logout, hasStoredAuth, isStoreAuthenticated, getStoreToken, getStoreIdentity } from '../chunk-AM5LFRXJ.js';
|
|
6
|
+
import { openCatalogSource, openLibraryManager, createFullRegistry, openLibrary } from '../chunk-UZYTSIX6.js';
|
|
7
|
+
import { logErr, S, logOk, logInfo, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, logWarn, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth } from '../chunk-PJ6INYDD.js';
|
|
8
8
|
import { LocalSecretsProvider } from '../chunk-6BEGKO2Q.js';
|
|
9
|
-
import {
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import { validateFlowVersions, parseSkillFrontmatter } from '../chunk-CZZRDYT4.js';
|
|
12
|
-
import { runAgentChat, loadSessionById, loadSession, listSessions, setCurrentSession, deleteSession, clearSession, loadAgentManifest, compileComposition, MarkdownStreamer, resolveMixin } from '../chunk-TQIU4HQG.js';
|
|
13
|
-
import { buildClaudePluginFiles } from '../chunk-MAIKGYFR.js';
|
|
9
|
+
import { runAgentChat, loadSessionById, loadSession, listSessions, setCurrentSession, deleteSession, clearSession, loadAgentManifest, compileComposition, MarkdownStreamer, resolveMixin } from '../chunk-2QVPCZTL.js';
|
|
10
|
+
import { buildClaudePluginFiles } from '../chunk-AKVAZ5CB.js';
|
|
14
11
|
import '../chunk-X5YPJV4N.js';
|
|
15
12
|
import '../chunk-W3UDISS2.js';
|
|
16
13
|
import '../chunk-O7SG5PC2.js';
|
|
@@ -18,29 +15,35 @@ import '../chunk-7QBNJTTQ.js';
|
|
|
18
15
|
import '../chunk-GTS2FODO.js';
|
|
19
16
|
import '../chunk-WQ7DE5UC.js';
|
|
20
17
|
import '../chunk-32NA4TVC.js';
|
|
21
|
-
import '../chunk-
|
|
18
|
+
import '../chunk-O7ROIKTF.js';
|
|
22
19
|
import '../chunk-ISQWMBKD.js';
|
|
23
20
|
import '../chunk-RRVQAE5D.js';
|
|
24
21
|
import '../chunk-BMQKMOQY.js';
|
|
25
22
|
import '../chunk-GAH4YRCI.js';
|
|
26
|
-
import '../chunk-
|
|
23
|
+
import '../chunk-GM2X24Q6.js';
|
|
24
|
+
import { runFlow, resumeFlow } from '../chunk-6BV5NAPD.js';
|
|
25
|
+
import '../chunk-4R6DROGN.js';
|
|
26
|
+
import { validateFlowVersions, parseSkillFrontmatter } from '../chunk-CZZRDYT4.js';
|
|
27
27
|
import '../chunk-BEAIJRVF.js';
|
|
28
|
-
import '../chunk-
|
|
28
|
+
import '../chunk-V4ZLZJFN.js';
|
|
29
|
+
import '../chunk-EEHOMCRU.js';
|
|
29
30
|
import '../chunk-ZNIHTT22.js';
|
|
30
31
|
import '../chunk-6E6PKKAD.js';
|
|
31
32
|
import '../chunk-IFGTRL2I.js';
|
|
32
|
-
import { loadFlow, loadAllFlows } from '../chunk-
|
|
33
|
-
import '../chunk-
|
|
33
|
+
import { loadFlow, loadAllFlows } from '../chunk-4O2RAXKJ.js';
|
|
34
|
+
import '../chunk-OEGHKO5N.js';
|
|
35
|
+
import '../chunk-FKBQRV4J.js';
|
|
36
|
+
import '../chunk-4QROZZ5Z.js';
|
|
34
37
|
import '../chunk-RDE43ORT.js';
|
|
35
|
-
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-
|
|
36
|
-
import { resolveLibraryDir, getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-
|
|
37
|
-
import '../chunk-
|
|
38
|
+
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-WSARNOPP.js';
|
|
39
|
+
import { resolveLibraryDir, getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-3HVASHBF.js';
|
|
40
|
+
import '../chunk-NU4E7C5I.js';
|
|
38
41
|
import '../chunk-UKJMQZV6.js';
|
|
39
42
|
import '../chunk-R7FOF242.js';
|
|
40
43
|
import '../chunk-JXT46QFC.js';
|
|
41
|
-
import '../chunk-
|
|
44
|
+
import '../chunk-2OCYS5EP.js';
|
|
42
45
|
import '../chunk-CGYEHQOX.js';
|
|
43
|
-
import { resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, portableSpawn, portableSpawnSync, WorkspaceYamlEditor, checkAgentSkillConformance, readLock } from '../chunk-
|
|
46
|
+
import { resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, portableSpawn, portableSpawnSync, WorkspaceYamlEditor, checkAgentSkillConformance, readLock } from '../chunk-P43HBWKK.js';
|
|
44
47
|
import '../chunk-F3HNW354.js';
|
|
45
48
|
import { DRIVER_DEFAULTS } from '../chunk-K5GBV4SA.js';
|
|
46
49
|
import { assetSearchDirs, detectDomains } from '../chunk-ZAP2BDHG.js';
|
|
@@ -107,7 +110,7 @@ async function runSearch(kind, query, opts) {
|
|
|
107
110
|
}
|
|
108
111
|
}
|
|
109
112
|
async function searchIndex(query, kind) {
|
|
110
|
-
const { openLibrary: openLibrary2 } = await import('../open-library-
|
|
113
|
+
const { openLibrary: openLibrary2 } = await import('../open-library-POFOXZWH.js');
|
|
111
114
|
const library = await openLibrary2();
|
|
112
115
|
try {
|
|
113
116
|
const defs = await library.listAssetDefs(kind ? { kind } : {});
|
|
@@ -160,7 +163,7 @@ async function searchLocal(query, kind, opts, showStore, airGapped) {
|
|
|
160
163
|
const factory = await searchFactory(projectDir, query, kind);
|
|
161
164
|
let entries = unionEntries(await searchIndex(query, kind), factory);
|
|
162
165
|
if (entries.length === 0 && !query && !kind && !airGapped) {
|
|
163
|
-
const { autoSyncForSearch } = await import('../source-
|
|
166
|
+
const { autoSyncForSearch } = await import('../source-FB3T4IHP.js');
|
|
164
167
|
if (await autoSyncForSearch(projectDir)) {
|
|
165
168
|
entries = unionEntries(await searchIndex(query, kind), factory);
|
|
166
169
|
}
|
|
@@ -214,7 +217,7 @@ async function searchStore(query, kind, opts, airGapped) {
|
|
|
214
217
|
logInfo("air-gapped (cache_ttl: 0) \u2014 local sources only");
|
|
215
218
|
return;
|
|
216
219
|
}
|
|
217
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
220
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-POFOXZWH.js');
|
|
218
221
|
try {
|
|
219
222
|
const remote = await openCatalogSource2({ projectDir: path14__default.resolve(opts.projectDir) });
|
|
220
223
|
const assets = await remote.listAssets(kind ? { kind } : {});
|
|
@@ -529,7 +532,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
529
532
|
return { entry: match ?? deployed };
|
|
530
533
|
}
|
|
531
534
|
const lookup = opts.storeLookup ?? (async (filter) => {
|
|
532
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
535
|
+
const { resolveCatalogSource } = await import('../open-library-POFOXZWH.js');
|
|
533
536
|
const { source, close } = await resolveCatalogSource({ projectDir: opts.projectDir });
|
|
534
537
|
try {
|
|
535
538
|
return await source.listAssets(filter);
|
|
@@ -545,7 +548,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
545
548
|
);
|
|
546
549
|
return { entry: hit ? catalogAssetToEntry(hit) : null };
|
|
547
550
|
} catch (err) {
|
|
548
|
-
const { LocalCatalogDisabledError } = await import('../open-library-
|
|
551
|
+
const { LocalCatalogDisabledError } = await import('../open-library-POFOXZWH.js');
|
|
549
552
|
const storeNote = err instanceof Error ? err.message : String(err);
|
|
550
553
|
const disabled = err instanceof LocalCatalogDisabledError || /catalog\.url/i.test(storeNote);
|
|
551
554
|
return { entry: null, storeNote, ...disabled ? { storeDisabled: true } : {} };
|
|
@@ -1165,7 +1168,7 @@ function makeCatalogCommand() {
|
|
|
1165
1168
|
return catalog;
|
|
1166
1169
|
}
|
|
1167
1170
|
async function runLocalCatalogTest(projectDir) {
|
|
1168
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
1171
|
+
const { resolveCatalogSource } = await import('../open-library-POFOXZWH.js');
|
|
1169
1172
|
let resolved;
|
|
1170
1173
|
try {
|
|
1171
1174
|
resolved = await resolveCatalogSource({ projectDir });
|
|
@@ -2155,7 +2158,7 @@ async function ensureTargetsRegistered(projectDir) {
|
|
|
2155
2158
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
2156
2159
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
2157
2160
|
if (config.plugins && config.plugins.length > 0) {
|
|
2158
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
2161
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-YIMNH2FH.js');
|
|
2159
2162
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
2160
2163
|
for (const f of result.failed) logWarn(f.error);
|
|
2161
2164
|
}
|
|
@@ -3404,16 +3407,16 @@ function makeLibraryCommand() {
|
|
|
3404
3407
|
});
|
|
3405
3408
|
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(
|
|
3406
3409
|
async (lib, opts) => {
|
|
3407
|
-
const { runLibraryPublish } = await import('../library-publish-
|
|
3410
|
+
const { runLibraryPublish } = await import('../library-publish-2GMJM3NZ.js');
|
|
3408
3411
|
await withStoreErrorHandling(() => runLibraryPublish(lib, opts));
|
|
3409
3412
|
}
|
|
3410
3413
|
);
|
|
3411
3414
|
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) => {
|
|
3412
|
-
const { runLibraryRegister } = await import('../library-publish-
|
|
3415
|
+
const { runLibraryRegister } = await import('../library-publish-2GMJM3NZ.js');
|
|
3413
3416
|
await withStoreErrorHandling(() => runLibraryRegister(lib, opts));
|
|
3414
3417
|
});
|
|
3415
3418
|
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) => {
|
|
3416
|
-
const { runLibraryYank } = await import('../library-publish-
|
|
3419
|
+
const { runLibraryYank } = await import('../library-publish-2GMJM3NZ.js');
|
|
3417
3420
|
await withStoreErrorHandling(() => runLibraryYank(lib, opts));
|
|
3418
3421
|
});
|
|
3419
3422
|
return cmd;
|
|
@@ -4135,7 +4138,7 @@ function scheduleSoftDepPreview() {
|
|
|
4135
4138
|
}
|
|
4136
4139
|
async function loadAssets() {
|
|
4137
4140
|
softDepPreviewCache.clear();
|
|
4138
|
-
const { gatherAssetFeeds } = await import('../asset-feeds-
|
|
4141
|
+
const { gatherAssetFeeds } = await import('../asset-feeds-4AWAT5PW.js');
|
|
4139
4142
|
const { entries, domains, notes } = await gatherAssetFeeds(am, am.projectDir);
|
|
4140
4143
|
if (notes.length > 0) {
|
|
4141
4144
|
state.message = notes.map((n) => `[${n.feed}] ${n.message}`).join(" \u2022 ");
|
|
@@ -4341,7 +4344,7 @@ function reconcileCollapsedSets(rows) {
|
|
|
4341
4344
|
async function loadSourcesAndLibraries() {
|
|
4342
4345
|
try {
|
|
4343
4346
|
const [{ openLibraryManager: openLibraryManager2 }, { skaileHomeDir }, { getGlobalCacheDir: getGlobalCacheDir2 }] = await Promise.all([
|
|
4344
|
-
import('../open-library-
|
|
4347
|
+
import('../open-library-POFOXZWH.js'),
|
|
4345
4348
|
import('../library/index.js'),
|
|
4346
4349
|
import('../core/index.js')
|
|
4347
4350
|
]);
|
|
@@ -5630,7 +5633,7 @@ function action2(fn) {
|
|
|
5630
5633
|
};
|
|
5631
5634
|
}
|
|
5632
5635
|
async function reconcileAndReport(projectDir, plugins) {
|
|
5633
|
-
const { reconcilePlugins } = await import('../plugin-store-
|
|
5636
|
+
const { reconcilePlugins } = await import('../plugin-store-YIMNH2FH.js');
|
|
5634
5637
|
if (plugins.length === 0) {
|
|
5635
5638
|
logInfo("No plugins declared \u2014 nothing to reconcile.");
|
|
5636
5639
|
return;
|
|
@@ -5646,7 +5649,7 @@ async function reconcileAndReport(projectDir, plugins) {
|
|
|
5646
5649
|
async function runInstall2(spec, opts) {
|
|
5647
5650
|
const projectDir = path14__default.resolve(opts.projectDir);
|
|
5648
5651
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
5649
|
-
const { specName } = await import('../plugin-store-
|
|
5652
|
+
const { specName } = await import('../plugin-store-YIMNH2FH.js');
|
|
5650
5653
|
const yamlPath = path14__default.join(projectDir, "skaile.yaml");
|
|
5651
5654
|
const editor = WorkspaceYamlEditor2.load(yamlPath);
|
|
5652
5655
|
const replaced = editor.addPlugin(spec, specName);
|
|
@@ -5658,7 +5661,7 @@ async function runInstall2(spec, opts) {
|
|
|
5658
5661
|
async function runRemove(name, opts) {
|
|
5659
5662
|
const projectDir = path14__default.resolve(opts.projectDir);
|
|
5660
5663
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
5661
|
-
const { specName } = await import('../plugin-store-
|
|
5664
|
+
const { specName } = await import('../plugin-store-YIMNH2FH.js');
|
|
5662
5665
|
const yamlPath = path14__default.join(projectDir, "skaile.yaml");
|
|
5663
5666
|
const editor = WorkspaceYamlEditor2.load(yamlPath);
|
|
5664
5667
|
const removed = editor.removePlugin(name, specName);
|
|
@@ -5686,7 +5689,7 @@ async function runList(opts) {
|
|
|
5686
5689
|
const registry = createPluginRegistry();
|
|
5687
5690
|
if (declared.length > 0) {
|
|
5688
5691
|
try {
|
|
5689
|
-
const { loadPlugins } = await import('../plugin-store-
|
|
5692
|
+
const { loadPlugins } = await import('../plugin-store-YIMNH2FH.js');
|
|
5690
5693
|
const result = await loadPlugins(projectDir, declared, registry);
|
|
5691
5694
|
for (const f of result.failed) logWarn(f.error);
|
|
5692
5695
|
} catch (err) {
|
|
@@ -6785,12 +6788,12 @@ function makeServeCommand() {
|
|
|
6785
6788
|
);
|
|
6786
6789
|
}
|
|
6787
6790
|
async function ensurePluginsLoadedForServe(projectDir) {
|
|
6788
|
-
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-
|
|
6791
|
+
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-LURCZHA4.js');
|
|
6789
6792
|
try {
|
|
6790
6793
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
6791
6794
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
6792
6795
|
if (!config.plugins || config.plugins.length === 0) return;
|
|
6793
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
6796
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-YIMNH2FH.js');
|
|
6794
6797
|
const { pluginRegistry } = await import('../plugin-registry/index.js');
|
|
6795
6798
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
6796
6799
|
if (result.loaded.length > 0) {
|
|
@@ -6804,14 +6807,14 @@ async function ensurePluginsLoadedForServe(projectDir) {
|
|
|
6804
6807
|
}
|
|
6805
6808
|
}
|
|
6806
6809
|
async function runCompileTest(opts) {
|
|
6807
|
-
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-
|
|
6810
|
+
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-LURCZHA4.js');
|
|
6808
6811
|
const { tmpdir } = await import('os');
|
|
6809
6812
|
const { dirname: dirname4, join: join7, resolve: resolve5 } = await import('path');
|
|
6810
6813
|
const { fileURLToPath: fileURLToPath2 } = await import('url');
|
|
6811
6814
|
const { unlinkSync, existsSync: existsSync15 } = await import('fs');
|
|
6812
6815
|
const { spawn } = await import('child_process');
|
|
6813
6816
|
const { portableSpawnSync: portableSpawnSync2 } = await import('../core/index.js');
|
|
6814
|
-
const { MONOREPO_ROOT } = await import('../paths-
|
|
6817
|
+
const { MONOREPO_ROOT } = await import('../paths-ZLX4ITAQ.js');
|
|
6815
6818
|
if (MONOREPO_ROOT === null) {
|
|
6816
6819
|
logErr2("--compile-test is only available inside the skaile-dev workspace.");
|
|
6817
6820
|
logInfo2("Run it from a checkout of skaile-ai/skaile-dev (the monorepo shell).");
|
|
@@ -7686,7 +7689,7 @@ function makeStoreCommand() {
|
|
|
7686
7689
|
process.exit(2);
|
|
7687
7690
|
});
|
|
7688
7691
|
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) => {
|
|
7689
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
7692
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-POFOXZWH.js');
|
|
7690
7693
|
try {
|
|
7691
7694
|
const remote = await openCatalogSource2({ projectDir: path14__default.resolve(opts.projectDir) });
|
|
7692
7695
|
const assets = await remote.listAssets(opts.kind ? { kind: opts.kind } : {});
|
|
@@ -7719,8 +7722,8 @@ function makeStoreCommand() {
|
|
|
7719
7722
|
}
|
|
7720
7723
|
});
|
|
7721
7724
|
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) => {
|
|
7722
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
7723
|
-
const { supportsInstallManifest } = await import('../project-
|
|
7725
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-POFOXZWH.js');
|
|
7726
|
+
const { supportsInstallManifest } = await import('../project-GVOPZEJZ.js');
|
|
7724
7727
|
try {
|
|
7725
7728
|
const remote = await openCatalogSource2({ projectDir: path14__default.resolve(opts.projectDir) });
|
|
7726
7729
|
const asset = await remote.resolve(ref);
|
|
@@ -8800,7 +8803,7 @@ async function bootstrapUserConfig() {
|
|
|
8800
8803
|
}
|
|
8801
8804
|
async function hydrateInitSources(resolved, created) {
|
|
8802
8805
|
try {
|
|
8803
|
-
const { ensureSourcesCloned } = await import('../ensure-sources-
|
|
8806
|
+
const { ensureSourcesCloned } = await import('../ensure-sources-QF72HVUM.js');
|
|
8804
8807
|
const hydrate = ensureSourcesCloned(resolved, { quiet: true });
|
|
8805
8808
|
for (const n of hydrate.cloned) created.push(`~/.skaile/cache/sources/${n}/`);
|
|
8806
8809
|
if (hydrate.failed.length > 0) {
|
|
@@ -8840,7 +8843,7 @@ function printInitSummary(resolved, projectDir, created) {
|
|
|
8840
8843
|
console.log();
|
|
8841
8844
|
}
|
|
8842
8845
|
program.command("setup").description("Interactive provider setup wizard").action(async () => {
|
|
8843
|
-
const { cmdSetup } = await import('../setup-
|
|
8846
|
+
const { cmdSetup } = await import('../setup-TJYLYT2A.js');
|
|
8844
8847
|
await cmdSetup([], { projectDir: process.cwd() });
|
|
8845
8848
|
});
|
|
8846
8849
|
program.addCommand(makeInstallCommand());
|