@skaile/workspaces 1.2.0 → 1.3.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 +6 -0
- package/dist/{asset-feeds-OBPWVUDL.js → asset-feeds-NEZKG6YS.js} +9 -9
- package/dist/{asset-feeds-OBPWVUDL.js.map → asset-feeds-NEZKG6YS.js.map} +1 -1
- package/dist/asset-manager/index.js +7 -7
- package/dist/asset-manager/installer.js +6 -6
- package/dist/asset-manager/renderers.js +2 -2
- package/dist/bridge/drivers/claude-sdk.js +40 -5
- 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 +3 -2
- package/dist/bridge/src/cloud.d.ts +89 -0
- package/dist/bridge/src/cloud.d.ts.map +1 -0
- package/dist/bridge/src/drivers/claude-sdk.d.ts +12 -1
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
- package/dist/bridge/src/index.d.ts +1 -0
- package/dist/bridge/src/index.d.ts.map +1 -1
- package/dist/bridge/src/types.d.ts +31 -0
- package/dist/bridge/src/types.d.ts.map +1 -1
- package/dist/{chunk-MQEZE6TU.js → chunk-5XS3BFJS.js} +3 -3
- package/dist/{chunk-MQEZE6TU.js.map → chunk-5XS3BFJS.js.map} +1 -1
- package/dist/{chunk-TTTLCSEQ.js → chunk-7CNIRF42.js} +108 -37
- package/dist/chunk-7CNIRF42.js.map +1 -0
- package/dist/{chunk-MG6UIS7G.js → chunk-AZAS3FKN.js} +6 -3
- package/dist/chunk-AZAS3FKN.js.map +1 -0
- package/dist/{chunk-BCJL2UNH.js → chunk-BDUANIAR.js} +3 -3
- package/dist/{chunk-BCJL2UNH.js.map → chunk-BDUANIAR.js.map} +1 -1
- package/dist/{chunk-KVZ6XKVN.js → chunk-BZMTR5WW.js} +3 -3
- package/dist/{chunk-KVZ6XKVN.js.map → chunk-BZMTR5WW.js.map} +1 -1
- package/dist/{chunk-EPLYVB3L.js → chunk-ETYDLXI5.js} +2 -2
- package/dist/{chunk-EPLYVB3L.js.map → chunk-ETYDLXI5.js.map} +1 -1
- package/dist/{chunk-CU5Z7GH3.js → chunk-GB4SEEK4.js} +13 -5
- package/dist/chunk-GB4SEEK4.js.map +1 -0
- package/dist/chunk-ISQWMBKD.js +74 -0
- package/dist/chunk-ISQWMBKD.js.map +1 -0
- package/dist/{chunk-ZUE2PIJ5.js → chunk-JQMIG7D3.js} +3 -3
- package/dist/{chunk-ZUE2PIJ5.js.map → chunk-JQMIG7D3.js.map} +1 -1
- package/dist/{chunk-UY5Q2NZH.js → chunk-K5SD7FSF.js} +3 -3
- package/dist/{chunk-UY5Q2NZH.js.map → chunk-K5SD7FSF.js.map} +1 -1
- package/dist/{chunk-KAWKKMU4.js → chunk-OBSSORCE.js} +6 -6
- package/dist/{chunk-KAWKKMU4.js.map → chunk-OBSSORCE.js.map} +1 -1
- package/dist/{chunk-5AGARSQT.js → chunk-OUWNTFDG.js} +31 -3
- package/dist/chunk-OUWNTFDG.js.map +1 -0
- package/dist/{chunk-NUS5L5ZJ.js → chunk-P3MJYPZE.js} +5 -5
- package/dist/{chunk-NUS5L5ZJ.js.map → chunk-P3MJYPZE.js.map} +1 -1
- package/dist/{chunk-VCBLXF7D.js → chunk-PSMW5HLX.js} +4 -4
- package/dist/{chunk-VCBLXF7D.js.map → chunk-PSMW5HLX.js.map} +1 -1
- package/dist/{chunk-U5J77IIZ.js → chunk-QK5JDAFF.js} +4 -4
- package/dist/{chunk-U5J77IIZ.js.map → chunk-QK5JDAFF.js.map} +1 -1
- package/dist/{chunk-CLUJLV7Z.js → chunk-RHMQPLIK.js} +5 -5
- package/dist/{chunk-CLUJLV7Z.js.map → chunk-RHMQPLIK.js.map} +1 -1
- package/dist/{chunk-52XHXSBN.js → chunk-RJ3HUSBC.js} +3 -3
- package/dist/{chunk-52XHXSBN.js.map → chunk-RJ3HUSBC.js.map} +1 -1
- package/dist/{chunk-XWLVIEWD.js → chunk-RYRJEVQ4.js} +7 -7
- package/dist/{chunk-XWLVIEWD.js.map → chunk-RYRJEVQ4.js.map} +1 -1
- package/dist/{chunk-QVE3ILCY.js → chunk-SUOGVHGJ.js} +2 -2
- package/dist/chunk-SUOGVHGJ.js.map +1 -0
- package/dist/{chunk-BM37QD6U.js → chunk-TJRWGMD2.js} +3 -3
- package/dist/{chunk-BM37QD6U.js.map → chunk-TJRWGMD2.js.map} +1 -1
- package/dist/{chunk-35TLBMHX.js → chunk-WFEPI5LA.js} +5 -5
- package/dist/{chunk-35TLBMHX.js.map → chunk-WFEPI5LA.js.map} +1 -1
- package/dist/{chunk-OIGYDVCM.js → chunk-XBG2YDQQ.js} +3 -3
- package/dist/{chunk-OIGYDVCM.js.map → chunk-XBG2YDQQ.js.map} +1 -1
- package/dist/{chunk-WRBF34YE.js → chunk-XKARS6EE.js} +3 -3
- package/dist/{chunk-WRBF34YE.js.map → chunk-XKARS6EE.js.map} +1 -1
- package/dist/{chunk-YI5OZ7QO.js → chunk-YOPSHV7V.js} +2 -2
- package/dist/{chunk-YI5OZ7QO.js.map → chunk-YOPSHV7V.js.map} +1 -1
- package/dist/{chunk-W65IK4MH.js → chunk-YXEPZ7LP.js} +5 -5
- package/dist/{chunk-W65IK4MH.js.map → chunk-YXEPZ7LP.js.map} +1 -1
- package/dist/cli/index.js +40 -39
- package/dist/cli/index.js.map +1 -1
- package/dist/connectors/config.js +4 -4
- package/dist/connectors/index.js +5 -5
- package/dist/core/index.js +3 -3
- package/dist/core/runtime-assets.js +2 -2
- package/dist/core/src/index.d.ts +2 -2
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/settings.d.ts +18 -0
- package/dist/core/src/settings.d.ts.map +1 -1
- package/dist/core/src/workspace-config.d.ts +45 -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/discovery/index.js +2 -2
- package/dist/{ensure-sources-BQI2TOZZ.js → ensure-sources-4BAJGJRK.js} +10 -10
- package/dist/{ensure-sources-BQI2TOZZ.js.map → ensure-sources-4BAJGJRK.js.map} +1 -1
- package/dist/factory-assets/connectors/box.js +5 -5
- package/dist/factory-assets/connectors/deploy.js +5 -5
- package/dist/factory-assets/connectors/devserver.js +5 -5
- package/dist/factory-assets/connectors/flow/adapter.js +5 -5
- package/dist/factory-assets/connectors/flow/engine.js +3 -3
- package/dist/factory-assets/connectors/flow/run-flow.js +6 -6
- package/dist/factory-assets/connectors/flow.js +5 -5
- package/dist/factory-assets/connectors/git.js +5 -5
- package/dist/factory-assets/connectors/gmail.js +5 -5
- package/dist/factory-assets/connectors/googledrive.js +5 -5
- package/dist/factory-assets/connectors/local.js +5 -5
- package/dist/factory-assets/connectors/mattermost.js +5 -5
- package/dist/factory-assets/connectors/memory.js +5 -5
- package/dist/factory-assets/connectors/minio.js +5 -5
- package/dist/factory-assets/connectors/postgres.js +5 -5
- package/dist/factory-assets/connectors/s3.js +5 -5
- package/dist/factory-assets/connectors/sharepoint.js +5 -5
- package/dist/factory-assets/connectors/sqlite.js +5 -5
- package/dist/factory-assets/connectors/static-server.js +5 -5
- package/dist/factory-assets/connectors/tunnel.js +5 -5
- package/dist/factory-assets/connectors/webdav.js +5 -5
- package/dist/factory-assets/connectors/xstate-store.js +5 -5
- package/dist/factory-assets/connectors/xstate.js +5 -5
- package/dist/{flows-4Z74KY2H.js → flows-UFCOGAAM.js} +3 -3
- package/dist/{flows-4Z74KY2H.js.map → flows-UFCOGAAM.js.map} +1 -1
- package/dist/{helpers-SC4PWN2F.js → helpers-2OL4FRFB.js} +10 -10
- package/dist/{helpers-SC4PWN2F.js.map → helpers-2OL4FRFB.js.map} +1 -1
- package/dist/library/index.js +6 -6
- package/dist/library/install.js +3 -3
- package/dist/{open-library-ZNYIND7N.js → open-library-RPV2LIKL.js} +13 -13
- package/dist/{open-library-ZNYIND7N.js.map → open-library-RPV2LIKL.js.map} +1 -1
- package/dist/{paths-S7QNXYMB.js → paths-ML33B5SB.js} +6 -6
- package/dist/{paths-S7QNXYMB.js.map → paths-ML33B5SB.js.map} +1 -1
- package/dist/{plugin-store-3DAVGKHN.js → plugin-store-G4HKWCTU.js} +5 -5
- package/dist/{plugin-store-3DAVGKHN.js.map → plugin-store-G4HKWCTU.js.map} +1 -1
- package/dist/runner/index.js +10 -9
- package/dist/runner/src/cloud-bundle.d.ts +36 -0
- package/dist/runner/src/cloud-bundle.d.ts.map +1 -0
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/runner/src/session-builder.d.ts +32 -0
- package/dist/runner/src/session-builder.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +7 -7
- package/dist/sdk/bridge.js +3 -2
- package/dist/sdk/core.js +3 -3
- package/dist/sdk/flow.js +3 -3
- package/dist/sdk/index.js +10 -9
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/runner.js +10 -9
- package/dist/{setup-WBGDT2WY.js → setup-WS6PF6JQ.js} +8 -7
- package/dist/setup-WS6PF6JQ.js.map +1 -0
- package/dist/{source-SBFVULTG.js → source-22U5NOY4.js} +14 -14
- package/dist/{source-SBFVULTG.js.map → source-22U5NOY4.js.map} +1 -1
- package/dist/{store-client-YGDN4L2G.js → store-client-YLMBH5MF.js} +6 -6
- package/dist/{store-client-YGDN4L2G.js.map → store-client-YLMBH5MF.js.map} +1 -1
- package/dist/tui/index.js +10 -9
- package/dist/tui/index.js.map +1 -1
- package/dist/types/manifests.js +1 -1
- package/dist/types/src/manifests/agent.d.ts +47 -8
- package/dist/types/src/manifests/agent.d.ts.map +1 -1
- package/dist/types/src/manifests/index.d.ts +1 -1
- package/dist/types/src/manifests/index.d.ts.map +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +1 -1
- package/dist/workspace-plugin/adapters/omp.js +3 -3
- package/dist/workspace-plugin/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-5AGARSQT.js.map +0 -1
- package/dist/chunk-CU5Z7GH3.js.map +0 -1
- package/dist/chunk-MG6UIS7G.js.map +0 -1
- package/dist/chunk-QVE3ILCY.js.map +0 -1
- package/dist/chunk-TTTLCSEQ.js.map +0 -1
- package/dist/setup-WBGDT2WY.js.map +0 -1
package/dist/cli/index.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { makeSourceCommand, syncProjectSources } from '../chunk-
|
|
3
|
-
import { openCatalogSource, openLibraryManager, createFullRegistry, openLibrary } from '../chunk-
|
|
4
|
-
import { logErr, S, logOk, logInfo, colorRef, logWarn, kindColorPad, kindColor, formatSoftDepSection, bareSoftDepName, formatSoftDepHint, formatRelativeTime, fitWidth, formatSoftDepRemovePreview, formatSoftDepAddPreview } from '../chunk-
|
|
5
|
-
import { getStoreConfig, storeFetch, saveStoreTokens, clearStoreTokens, isStoreAuthenticated } from '../chunk-
|
|
6
|
-
import { AI_RESOURCES, aiResourceRoots } from '../chunk-
|
|
2
|
+
import { makeSourceCommand, syncProjectSources } from '../chunk-RYRJEVQ4.js';
|
|
3
|
+
import { openCatalogSource, openLibraryManager, createFullRegistry, openLibrary } from '../chunk-RHMQPLIK.js';
|
|
4
|
+
import { logErr, S, logOk, logInfo, colorRef, logWarn, kindColorPad, kindColor, formatSoftDepSection, bareSoftDepName, formatSoftDepHint, formatRelativeTime, fitWidth, formatSoftDepRemovePreview, formatSoftDepAddPreview } from '../chunk-5XS3BFJS.js';
|
|
5
|
+
import { getStoreConfig, storeFetch, saveStoreTokens, clearStoreTokens, isStoreAuthenticated } from '../chunk-JQMIG7D3.js';
|
|
6
|
+
import { AI_RESOURCES, aiResourceRoots } from '../chunk-XBG2YDQQ.js';
|
|
7
7
|
import { LocalSecretsProvider } from '../chunk-6BEGKO2Q.js';
|
|
8
|
-
import { resolveLibraryDir } from '../chunk-
|
|
9
|
-
import '../chunk-
|
|
8
|
+
import { resolveLibraryDir } from '../chunk-P3MJYPZE.js';
|
|
9
|
+
import '../chunk-BZMTR5WW.js';
|
|
10
10
|
import '../chunk-UKJMQZV6.js';
|
|
11
11
|
import '../chunk-R7FOF242.js';
|
|
12
12
|
import '../chunk-JXT46QFC.js';
|
|
13
|
-
import { runFlow, resumeFlow } from '../chunk-
|
|
13
|
+
import { runFlow, resumeFlow } from '../chunk-YXEPZ7LP.js';
|
|
14
14
|
import '../chunk-4R6DROGN.js';
|
|
15
15
|
import { validateFlowVersions, parseSkillFrontmatter } from '../chunk-GXC3TYMQ.js';
|
|
16
|
-
import { runAgentChat, loadSessionById, loadSession, listSessions, setCurrentSession, deleteSession, clearSession, loadAgentManifest, compileComposition, MarkdownStreamer, resolveMixin } from '../chunk-
|
|
17
|
-
import { buildClaudePluginFiles } from '../chunk-
|
|
16
|
+
import { runAgentChat, loadSessionById, loadSession, listSessions, setCurrentSession, deleteSession, clearSession, loadAgentManifest, compileComposition, MarkdownStreamer, resolveMixin } from '../chunk-7CNIRF42.js';
|
|
17
|
+
import { buildClaudePluginFiles } from '../chunk-ETYDLXI5.js';
|
|
18
18
|
import '../chunk-X5YPJV4N.js';
|
|
19
19
|
import '../chunk-O7SG5PC2.js';
|
|
20
20
|
import '../chunk-7QBNJTTQ.js';
|
|
@@ -23,23 +23,24 @@ import '../chunk-WQ7DE5UC.js';
|
|
|
23
23
|
import '../chunk-32NA4TVC.js';
|
|
24
24
|
import '../chunk-W3UDISS2.js';
|
|
25
25
|
import '../chunk-EVZKWY5J.js';
|
|
26
|
-
import '../chunk-
|
|
26
|
+
import '../chunk-K5SD7FSF.js';
|
|
27
|
+
import '../chunk-ISQWMBKD.js';
|
|
27
28
|
import '../chunk-BMQKMOQY.js';
|
|
28
29
|
import '../chunk-GAH4YRCI.js';
|
|
29
30
|
import '../chunk-RRVQAE5D.js';
|
|
30
|
-
import '../chunk-
|
|
31
|
+
import '../chunk-SUOGVHGJ.js';
|
|
31
32
|
import '../chunk-LV2HPH3C.js';
|
|
32
|
-
import '../chunk-
|
|
33
|
-
import '../chunk-
|
|
33
|
+
import '../chunk-PSMW5HLX.js';
|
|
34
|
+
import '../chunk-BDUANIAR.js';
|
|
34
35
|
import '../chunk-6E6PKKAD.js';
|
|
35
36
|
import { loadFlow, loadAllFlows } from '../chunk-SKADPHAM.js';
|
|
36
37
|
import '../chunk-DEYYRFQU.js';
|
|
37
38
|
import '../chunk-IFGTRL2I.js';
|
|
38
|
-
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError } from '../chunk-
|
|
39
|
-
import '../chunk-
|
|
40
|
-
import { readLock, resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, portableSpawn, portableSpawnSync, WorkspaceYamlEditor, checkAgentSkillConformance } from '../chunk-
|
|
41
|
-
import '../chunk-
|
|
42
|
-
import { globalCacheRoot, sourceCacheKey, getGlobalCacheDir, resolveAgentDir, resolveSkWorkspaceConfig } from '../chunk-
|
|
39
|
+
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError } from '../chunk-OBSSORCE.js';
|
|
40
|
+
import '../chunk-WFEPI5LA.js';
|
|
41
|
+
import { readLock, resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, portableSpawn, portableSpawnSync, WorkspaceYamlEditor, checkAgentSkillConformance } from '../chunk-AZAS3FKN.js';
|
|
42
|
+
import '../chunk-TJRWGMD2.js';
|
|
43
|
+
import { globalCacheRoot, sourceCacheKey, getGlobalCacheDir, resolveAgentDir, resolveSkWorkspaceConfig } from '../chunk-OUWNTFDG.js';
|
|
43
44
|
import { SKAILE_MANIFEST_FILENAME, decodeSkaileManifest, loadSkPublishManifest, saveSkPublishManifest } from '../chunk-DZCK7GRW.js';
|
|
44
45
|
import { parseFrontmatter } from '../chunk-BQCGFPHW.js';
|
|
45
46
|
import { parseAssetRef, ASSET_KINDS, isValidAssetName, slugifyAssetName, ASSET_NAME_HINT, assetRefToStr } from '../chunk-GEEW6SY2.js';
|
|
@@ -50,8 +51,8 @@ import { assetSearchDirs, detectDomains } from '../chunk-ZAP2BDHG.js';
|
|
|
50
51
|
import { openSqlite } from '../chunk-JB35MVBN.js';
|
|
51
52
|
import '../chunk-KTBKW2FI.js';
|
|
52
53
|
import '../chunk-UQ6LFBPZ.js';
|
|
53
|
-
import '../chunk-
|
|
54
|
-
import '../chunk-
|
|
54
|
+
import '../chunk-XKARS6EE.js';
|
|
55
|
+
import '../chunk-GB4SEEK4.js';
|
|
55
56
|
import '../chunk-CGYEHQOX.js';
|
|
56
57
|
import '../chunk-NSBPE2FW.js';
|
|
57
58
|
import * as fs12 from 'fs';
|
|
@@ -92,7 +93,7 @@ async function searchLocal(query, kind, opts, showStore, airGapped) {
|
|
|
92
93
|
const projectDir = path14__default.resolve(opts.projectDir);
|
|
93
94
|
let entries = new AssetManager({ projectDir }).search(query, kind);
|
|
94
95
|
if (entries.length === 0 && !query && !kind && !airGapped) {
|
|
95
|
-
const { autoSyncForSearch } = await import('../source-
|
|
96
|
+
const { autoSyncForSearch } = await import('../source-22U5NOY4.js');
|
|
96
97
|
if (await autoSyncForSearch(projectDir)) {
|
|
97
98
|
entries = new AssetManager({ projectDir }).search(query, kind);
|
|
98
99
|
}
|
|
@@ -145,7 +146,7 @@ async function searchStore(query, kind, opts, airGapped) {
|
|
|
145
146
|
return;
|
|
146
147
|
}
|
|
147
148
|
try {
|
|
148
|
-
const { getStoreConfig: getStoreConfig2, storeFetch: storeFetch2 } = await import('../store-client-
|
|
149
|
+
const { getStoreConfig: getStoreConfig2, storeFetch: storeFetch2 } = await import('../store-client-YLMBH5MF.js');
|
|
149
150
|
const config = getStoreConfig2();
|
|
150
151
|
const params = {};
|
|
151
152
|
if (query) params.q = query;
|
|
@@ -1005,7 +1006,7 @@ function makeCatalogCommand() {
|
|
|
1005
1006
|
return catalog;
|
|
1006
1007
|
}
|
|
1007
1008
|
async function runLocalCatalogTest(projectDir) {
|
|
1008
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
1009
|
+
const { resolveCatalogSource } = await import('../open-library-RPV2LIKL.js');
|
|
1009
1010
|
let resolved;
|
|
1010
1011
|
try {
|
|
1011
1012
|
resolved = await resolveCatalogSource({ projectDir });
|
|
@@ -1995,7 +1996,7 @@ async function ensureTargetsRegistered(projectDir) {
|
|
|
1995
1996
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
1996
1997
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
1997
1998
|
if (config.plugins && config.plugins.length > 0) {
|
|
1998
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
1999
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-G4HKWCTU.js');
|
|
1999
2000
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
2000
2001
|
for (const f of result.failed) logWarn(f.error);
|
|
2001
2002
|
}
|
|
@@ -3711,7 +3712,7 @@ async function previewSoftDepsUnderCursor() {
|
|
|
3711
3712
|
}
|
|
3712
3713
|
async function loadAssets() {
|
|
3713
3714
|
softDepPreviewCache.clear();
|
|
3714
|
-
const { gatherAssetFeeds } = await import('../asset-feeds-
|
|
3715
|
+
const { gatherAssetFeeds } = await import('../asset-feeds-NEZKG6YS.js');
|
|
3715
3716
|
const { entries, domains, notes } = await gatherAssetFeeds(am, am.projectDir);
|
|
3716
3717
|
if (notes.length > 0) {
|
|
3717
3718
|
state.message = notes.map((n) => `[${n.feed}] ${n.message}`).join(" \u2022 ");
|
|
@@ -3878,7 +3879,7 @@ function reconcileCollapsedSets(rows) {
|
|
|
3878
3879
|
async function loadSourcesAndLibraries() {
|
|
3879
3880
|
try {
|
|
3880
3881
|
const [{ openLibraryManager: openLibraryManager2 }, { skaileHomeDir }, { getGlobalCacheDir: getGlobalCacheDir2 }] = await Promise.all([
|
|
3881
|
-
import('../open-library-
|
|
3882
|
+
import('../open-library-RPV2LIKL.js'),
|
|
3882
3883
|
import('../library/index.js'),
|
|
3883
3884
|
import('../core/index.js')
|
|
3884
3885
|
]);
|
|
@@ -4964,7 +4965,7 @@ function action2(fn) {
|
|
|
4964
4965
|
};
|
|
4965
4966
|
}
|
|
4966
4967
|
async function reconcileAndReport(projectDir, plugins) {
|
|
4967
|
-
const { reconcilePlugins } = await import('../plugin-store-
|
|
4968
|
+
const { reconcilePlugins } = await import('../plugin-store-G4HKWCTU.js');
|
|
4968
4969
|
if (plugins.length === 0) {
|
|
4969
4970
|
logInfo("No plugins declared \u2014 nothing to reconcile.");
|
|
4970
4971
|
return;
|
|
@@ -4980,7 +4981,7 @@ async function reconcileAndReport(projectDir, plugins) {
|
|
|
4980
4981
|
async function runInstall2(spec, opts) {
|
|
4981
4982
|
const projectDir = path14__default.resolve(opts.projectDir);
|
|
4982
4983
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
4983
|
-
const { specName } = await import('../plugin-store-
|
|
4984
|
+
const { specName } = await import('../plugin-store-G4HKWCTU.js');
|
|
4984
4985
|
const yamlPath = path14__default.join(projectDir, "skaile.yaml");
|
|
4985
4986
|
const editor = WorkspaceYamlEditor2.load(yamlPath);
|
|
4986
4987
|
const replaced = editor.addPlugin(spec, specName);
|
|
@@ -4992,7 +4993,7 @@ async function runInstall2(spec, opts) {
|
|
|
4992
4993
|
async function runRemove(name, opts) {
|
|
4993
4994
|
const projectDir = path14__default.resolve(opts.projectDir);
|
|
4994
4995
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
4995
|
-
const { specName } = await import('../plugin-store-
|
|
4996
|
+
const { specName } = await import('../plugin-store-G4HKWCTU.js');
|
|
4996
4997
|
const yamlPath = path14__default.join(projectDir, "skaile.yaml");
|
|
4997
4998
|
const editor = WorkspaceYamlEditor2.load(yamlPath);
|
|
4998
4999
|
const removed = editor.removePlugin(name, specName);
|
|
@@ -5020,7 +5021,7 @@ async function runList(opts) {
|
|
|
5020
5021
|
const registry = createPluginRegistry();
|
|
5021
5022
|
if (declared.length > 0) {
|
|
5022
5023
|
try {
|
|
5023
|
-
const { loadPlugins } = await import('../plugin-store-
|
|
5024
|
+
const { loadPlugins } = await import('../plugin-store-G4HKWCTU.js');
|
|
5024
5025
|
const result = await loadPlugins(projectDir, declared, registry);
|
|
5025
5026
|
for (const f of result.failed) logWarn(f.error);
|
|
5026
5027
|
} catch (err) {
|
|
@@ -5274,7 +5275,7 @@ async function runRefInstall(ref, opts) {
|
|
|
5274
5275
|
const spinner5 = p6.spinner();
|
|
5275
5276
|
spinner5.start(`Installing ${ref}`);
|
|
5276
5277
|
try {
|
|
5277
|
-
const { openCatalogSource: openCatalogSource2, openLibrary: openLibrary2 } = await import('../open-library-
|
|
5278
|
+
const { openCatalogSource: openCatalogSource2, openLibrary: openLibrary2 } = await import('../open-library-RPV2LIKL.js');
|
|
5278
5279
|
const catalog = await openCatalogSource2({ projectDir: path14__default.resolve(opts.projectDir) });
|
|
5279
5280
|
if (!supportsInstallManifest(catalog)) {
|
|
5280
5281
|
throw new Error(
|
|
@@ -5311,7 +5312,7 @@ async function runYamlInstall(opts) {
|
|
|
5311
5312
|
return;
|
|
5312
5313
|
}
|
|
5313
5314
|
try {
|
|
5314
|
-
const { ensureSourcesCloned } = await import('../ensure-sources-
|
|
5315
|
+
const { ensureSourcesCloned } = await import('../ensure-sources-4BAJGJRK.js');
|
|
5315
5316
|
const hydrate = ensureSourcesCloned(projectDir, { quiet: true });
|
|
5316
5317
|
if (hydrate.cloned.length > 0) {
|
|
5317
5318
|
logOk(`Cloned source(s): ${hydrate.cloned.join(", ")}`);
|
|
@@ -5785,12 +5786,12 @@ function makeServeCommand() {
|
|
|
5785
5786
|
);
|
|
5786
5787
|
}
|
|
5787
5788
|
async function ensurePluginsLoadedForServe(projectDir) {
|
|
5788
|
-
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-
|
|
5789
|
+
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-2OL4FRFB.js');
|
|
5789
5790
|
try {
|
|
5790
5791
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
5791
5792
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
5792
5793
|
if (!config.plugins || config.plugins.length === 0) return;
|
|
5793
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
5794
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-G4HKWCTU.js');
|
|
5794
5795
|
const { pluginRegistry } = await import('../plugin-registry/index.js');
|
|
5795
5796
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
5796
5797
|
if (result.loaded.length > 0) {
|
|
@@ -5804,14 +5805,14 @@ async function ensurePluginsLoadedForServe(projectDir) {
|
|
|
5804
5805
|
}
|
|
5805
5806
|
}
|
|
5806
5807
|
async function runCompileTest(opts) {
|
|
5807
|
-
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-
|
|
5808
|
+
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-2OL4FRFB.js');
|
|
5808
5809
|
const { tmpdir } = await import('os');
|
|
5809
5810
|
const { dirname: dirname4, join: join5, resolve: resolve5 } = await import('path');
|
|
5810
5811
|
const { fileURLToPath: fileURLToPath2 } = await import('url');
|
|
5811
5812
|
const { unlinkSync, existsSync: existsSync13 } = await import('fs');
|
|
5812
5813
|
const { spawn } = await import('child_process');
|
|
5813
5814
|
const { portableSpawnSync: portableSpawnSync2 } = await import('../core/index.js');
|
|
5814
|
-
const { MONOREPO_ROOT } = await import('../paths-
|
|
5815
|
+
const { MONOREPO_ROOT } = await import('../paths-ML33B5SB.js');
|
|
5815
5816
|
if (MONOREPO_ROOT === null) {
|
|
5816
5817
|
logErr2("--compile-test is only available inside the skaile-dev workspace.");
|
|
5817
5818
|
logInfo2("Run it from a checkout of skaile-ai/skaile-dev (the monorepo shell).");
|
|
@@ -7717,7 +7718,7 @@ async function bootstrapUserConfig() {
|
|
|
7717
7718
|
}
|
|
7718
7719
|
async function hydrateInitSources(resolved, created) {
|
|
7719
7720
|
try {
|
|
7720
|
-
const { ensureSourcesCloned } = await import('../ensure-sources-
|
|
7721
|
+
const { ensureSourcesCloned } = await import('../ensure-sources-4BAJGJRK.js');
|
|
7721
7722
|
const hydrate = ensureSourcesCloned(resolved, { quiet: true });
|
|
7722
7723
|
for (const n of hydrate.cloned) created.push(`~/.skaile/cache/sources/${n}/`);
|
|
7723
7724
|
if (hydrate.failed.length > 0) {
|
|
@@ -7753,7 +7754,7 @@ function printInitSummary(resolved, projectDir, created) {
|
|
|
7753
7754
|
console.log();
|
|
7754
7755
|
}
|
|
7755
7756
|
program.command("setup").description("Interactive provider setup wizard").action(async () => {
|
|
7756
|
-
const { cmdSetup } = await import('../setup-
|
|
7757
|
+
const { cmdSetup } = await import('../setup-WS6PF6JQ.js');
|
|
7757
7758
|
await cmdSetup([], { projectDir: process.cwd() });
|
|
7758
7759
|
});
|
|
7759
7760
|
program.addCommand(makeInstallCommand());
|