@skaile/workspaces 4.1.0 → 4.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 +16 -0
- package/dist/app-sdk/index.js +1 -1
- package/dist/{asset-feeds-VEPD5ZU7.js → asset-feeds-SUK47KWR.js} +5 -5
- package/dist/{asset-feeds-VEPD5ZU7.js.map → asset-feeds-SUK47KWR.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.js +1 -1
- package/dist/asset-manager/index.js +4 -4
- package/dist/asset-manager/installer.js +2 -2
- package/dist/bridge/codex-app-server.js +2 -2
- package/dist/bridge/drivers/claude-sdk.js +68 -9
- package/dist/bridge/drivers/claude-sdk.js.map +1 -1
- package/dist/bridge/drivers/codex.js +4 -4
- package/dist/bridge/drivers/continue.js +3 -3
- package/dist/bridge/drivers/echo.js +3 -3
- package/dist/bridge/drivers/gemini.js +4 -4
- package/dist/bridge/drivers/goose.js +3 -3
- package/dist/bridge/drivers/omp.js +1 -1
- package/dist/bridge/drivers/opencode.js +3 -3
- package/dist/bridge/drivers/qwen.js +4 -4
- package/dist/bridge/index.js +6 -6
- package/dist/bridge/src/drivers/claude-sdk.d.ts +20 -0
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
- package/dist/bridge/src/provider-catalog.d.ts +2 -2
- package/dist/bridge/src/provider-materialize/credential-env.d.ts +1 -2
- package/dist/bridge/src/provider-materialize/credential-env.d.ts.map +1 -1
- package/dist/bridge/src/provider-registry-derive.d.ts +6 -35
- package/dist/bridge/src/provider-registry-derive.d.ts.map +1 -1
- package/dist/bridge/src/types.d.ts +34 -0
- package/dist/bridge/src/types.d.ts.map +1 -1
- package/dist/{chunk-6DI4NTZN.js → chunk-23BTREZQ.js} +3 -3
- package/dist/{chunk-6DI4NTZN.js.map → chunk-23BTREZQ.js.map} +1 -1
- package/dist/{chunk-R2GE2NXM.js → chunk-2CDYYL6T.js} +3 -3
- package/dist/{chunk-R2GE2NXM.js.map → chunk-2CDYYL6T.js.map} +1 -1
- package/dist/{chunk-M2F5UXCX.js → chunk-2EDBRUFS.js} +5 -5
- package/dist/{chunk-M2F5UXCX.js.map → chunk-2EDBRUFS.js.map} +1 -1
- package/dist/{chunk-MLDJHV2U.js → chunk-35XUCUKZ.js} +3 -3
- package/dist/{chunk-MLDJHV2U.js.map → chunk-35XUCUKZ.js.map} +1 -1
- package/dist/{chunk-2GF42G2J.js → chunk-3VUCSJBJ.js} +5 -5
- package/dist/{chunk-2GF42G2J.js.map → chunk-3VUCSJBJ.js.map} +1 -1
- package/dist/{chunk-LPF24MZA.js → chunk-643F3GNV.js} +3 -3
- package/dist/{chunk-LPF24MZA.js.map → chunk-643F3GNV.js.map} +1 -1
- package/dist/{chunk-APDN5LW4.js → chunk-67IZGZI2.js} +3 -3
- package/dist/{chunk-APDN5LW4.js.map → chunk-67IZGZI2.js.map} +1 -1
- package/dist/{chunk-CTBUPYOQ.js → chunk-6CMMJFPV.js} +5 -5
- package/dist/{chunk-CTBUPYOQ.js.map → chunk-6CMMJFPV.js.map} +1 -1
- package/dist/{chunk-FGTYTU6Q.js → chunk-6SBTX44S.js} +4 -4
- package/dist/{chunk-FGTYTU6Q.js.map → chunk-6SBTX44S.js.map} +1 -1
- package/dist/{chunk-5DQWB5TW.js → chunk-7J3FBC6T.js} +3 -51
- package/dist/chunk-7J3FBC6T.js.map +1 -0
- package/dist/{chunk-QQL3ET3J.js → chunk-7YNBVDGL.js} +3 -3
- package/dist/{chunk-QQL3ET3J.js.map → chunk-7YNBVDGL.js.map} +1 -1
- package/dist/{chunk-2RO6N7DN.js → chunk-COK4WPU4.js} +3 -3
- package/dist/{chunk-2RO6N7DN.js.map → chunk-COK4WPU4.js.map} +1 -1
- package/dist/{chunk-YS4XBN7O.js → chunk-DY3R7FYY.js} +4 -4
- package/dist/{chunk-YS4XBN7O.js.map → chunk-DY3R7FYY.js.map} +1 -1
- package/dist/{chunk-PI244HAH.js → chunk-GB2CMJ3R.js} +64 -24
- package/dist/chunk-GB2CMJ3R.js.map +1 -0
- package/dist/{chunk-AN7E2IL5.js → chunk-HKLCMOK4.js} +4 -4
- package/dist/{chunk-AN7E2IL5.js.map → chunk-HKLCMOK4.js.map} +1 -1
- package/dist/{chunk-ASU5IJZS.js → chunk-IXQC4ADP.js} +5 -5
- package/dist/{chunk-ASU5IJZS.js.map → chunk-IXQC4ADP.js.map} +1 -1
- package/dist/{chunk-5HT5M5HX.js → chunk-NWZQMJTI.js} +3 -3
- package/dist/{chunk-5HT5M5HX.js.map → chunk-NWZQMJTI.js.map} +1 -1
- package/dist/{chunk-FEFTOV2Y.js → chunk-O552FCP7.js} +3 -3
- package/dist/{chunk-FEFTOV2Y.js.map → chunk-O552FCP7.js.map} +1 -1
- package/dist/{chunk-2K7NURDN.js → chunk-OJ4GNQO5.js} +5 -5
- package/dist/{chunk-2K7NURDN.js.map → chunk-OJ4GNQO5.js.map} +1 -1
- package/dist/{chunk-ORZBDXNS.js → chunk-PX5M5WDS.js} +8 -8
- package/dist/{chunk-ORZBDXNS.js.map → chunk-PX5M5WDS.js.map} +1 -1
- package/dist/{chunk-HHC2T7BM.js → chunk-T3LXTYWS.js} +7 -7
- package/dist/{chunk-HHC2T7BM.js.map → chunk-T3LXTYWS.js.map} +1 -1
- package/dist/{chunk-6AMTSRRO.js → chunk-TZUAFEYN.js} +4 -4
- package/dist/{chunk-6AMTSRRO.js.map → chunk-TZUAFEYN.js.map} +1 -1
- package/dist/{chunk-3VSRJE3M.js → chunk-UJPVUN6H.js} +24 -40
- package/dist/chunk-UJPVUN6H.js.map +1 -0
- package/dist/{chunk-WO65FA7W.js → chunk-V7VHX7MK.js} +2 -2
- package/dist/{chunk-WO65FA7W.js.map → chunk-V7VHX7MK.js.map} +1 -1
- package/dist/{chunk-OXTPH6HT.js → chunk-W3YYB7K7.js} +3 -3
- package/dist/{chunk-OXTPH6HT.js.map → chunk-W3YYB7K7.js.map} +1 -1
- package/dist/{chunk-MVBK4JUK.js → chunk-WVSF3IEQ.js} +2 -2
- package/dist/{chunk-MVBK4JUK.js.map → chunk-WVSF3IEQ.js.map} +1 -1
- package/dist/{chunk-BTMDSMXF.js → chunk-ZKIVYTU6.js} +8 -8
- package/dist/{chunk-BTMDSMXF.js.map → chunk-ZKIVYTU6.js.map} +1 -1
- package/dist/cli/index.js +49 -54
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/config.d.ts.map +1 -1
- package/dist/cli/src/setup.d.ts.map +1 -1
- package/dist/connectors/config.js +1 -1
- package/dist/connectors/index.js +8 -8
- package/dist/core/index.js +1 -1
- package/dist/core/src/settings.d.ts +8 -17
- package/dist/core/src/settings.d.ts.map +1 -1
- package/dist/deploy/index.js +1 -1
- package/dist/{ensure-sources-B3VWHD5M.js → ensure-sources-V62XWSYD.js} +7 -7
- package/dist/{ensure-sources-B3VWHD5M.js.map → ensure-sources-V62XWSYD.js.map} +1 -1
- package/dist/factory-assets/connectors/box.js +8 -8
- package/dist/factory-assets/connectors/deploy.js +8 -8
- package/dist/factory-assets/connectors/devserver.js +8 -8
- package/dist/factory-assets/connectors/flow/adapter.js +8 -8
- package/dist/factory-assets/connectors/flow/engine.js +2 -2
- package/dist/factory-assets/connectors/flow/run-flow.js +9 -9
- package/dist/factory-assets/connectors/flow.js +8 -8
- package/dist/factory-assets/connectors/git.js +8 -8
- package/dist/factory-assets/connectors/gmail.js +8 -8
- package/dist/factory-assets/connectors/googledrive.js +8 -8
- package/dist/factory-assets/connectors/local.js +8 -8
- package/dist/factory-assets/connectors/mattermost.js +8 -8
- package/dist/factory-assets/connectors/memory.js +8 -8
- package/dist/factory-assets/connectors/minio.js +8 -8
- package/dist/factory-assets/connectors/postgres.js +8 -8
- package/dist/factory-assets/connectors/s3.js +8 -8
- package/dist/factory-assets/connectors/sharepoint.js +8 -8
- package/dist/factory-assets/connectors/sqlite.js +8 -8
- package/dist/factory-assets/connectors/static-server.js +8 -8
- package/dist/factory-assets/connectors/tunnel.js +8 -8
- package/dist/factory-assets/connectors/webdav.js +8 -8
- package/dist/factory-assets/connectors/xstate-store.js +8 -8
- package/dist/factory-assets/connectors/xstate.js +8 -8
- package/dist/{flows-KIQH2VGA.js → flows-X4KJC4RH.js} +4 -4
- package/dist/{flows-KIQH2VGA.js.map → flows-X4KJC4RH.js.map} +1 -1
- package/dist/{helpers-72W3NZ2L.js → helpers-ZXSNIPEH.js} +7 -7
- package/dist/{helpers-72W3NZ2L.js.map → helpers-ZXSNIPEH.js.map} +1 -1
- package/dist/library/index.js +2 -2
- package/dist/library/install.js +1 -1
- package/dist/{library-publish-YPHKEA6L.js → library-publish-OHNV7TCD.js} +11 -11
- package/dist/{library-publish-YPHKEA6L.js.map → library-publish-OHNV7TCD.js.map} +1 -1
- package/dist/{open-library-7OIUAGAH.js → open-library-VXKQ4KNY.js} +9 -9
- package/dist/{open-library-7OIUAGAH.js.map → open-library-VXKQ4KNY.js.map} +1 -1
- package/dist/{paths-XLSP5K6C.js → paths-FRD62K2N.js} +3 -3
- package/dist/{paths-XLSP5K6C.js.map → paths-FRD62K2N.js.map} +1 -1
- package/dist/{plugin-store-V5BMOYGS.js → plugin-store-54SEASTK.js} +3 -3
- package/dist/{plugin-store-V5BMOYGS.js.map → plugin-store-54SEASTK.js.map} +1 -1
- package/dist/{project-KNAZV4B3.js → project-GOQYIOKG.js} +8 -8
- package/dist/{project-KNAZV4B3.js.map → project-GOQYIOKG.js.map} +1 -1
- package/dist/resolver/index.js +1 -1
- package/dist/runner/index.js +13 -13
- package/dist/runner/src/provider-quota-forwarder.d.ts +37 -0
- package/dist/runner/src/provider-quota-forwarder.d.ts.map +1 -0
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/runner/src/session-builder.d.ts +7 -0
- package/dist/runner/src/session-builder.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +4 -4
- package/dist/sdk/bridge.js +6 -6
- package/dist/sdk/core.js +1 -1
- package/dist/sdk/flow.js +2 -2
- package/dist/sdk/index.js +13 -13
- package/dist/sdk/resolver.js +1 -1
- package/dist/sdk/runner.js +13 -13
- package/dist/sdk/session.js +2 -2
- package/dist/sdk/types.js +1 -1
- package/dist/session/index.js +2 -2
- package/dist/{setup-TG4KECRQ.js → setup-7DVYP3TP.js} +13 -14
- package/dist/setup-7DVYP3TP.js.map +1 -0
- package/dist/{skills-KHBYF6AU.js → skills-C6NOMIBV.js} +3 -3
- package/dist/{skills-KHBYF6AU.js.map → skills-C6NOMIBV.js.map} +1 -1
- package/dist/{source-7AFRUD3U.js → source-4SAPYPNW.js} +10 -10
- package/dist/{source-7AFRUD3U.js.map → source-4SAPYPNW.js.map} +1 -1
- package/dist/{source-manifest-publish-JWOT7O3A.js → source-manifest-publish-UEMPQCE5.js} +12 -12
- package/dist/{source-manifest-publish-JWOT7O3A.js.map → source-manifest-publish-UEMPQCE5.js.map} +1 -1
- package/dist/tui/index.js +13 -13
- package/dist/types/index.js +1 -1
- package/dist/types/src/events.d.ts +38 -4
- package/dist/types/src/events.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/types/src/version.d.ts +8 -1
- package/dist/types/src/version.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-3VSRJE3M.js.map +0 -1
- package/dist/chunk-5DQWB5TW.js.map +0 -1
- package/dist/chunk-PI244HAH.js.map +0 -1
- package/dist/setup-TG4KECRQ.js.map +0 -1
package/dist/cli/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { AI_RESOURCES } from '../chunk-PTETBRRC.js';
|
|
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-
|
|
3
|
+
import { makeInstallCommand, makeCheckCommand, makeCleanCommand, reportInstalledSoftDeps } from '../chunk-T3LXTYWS.js';
|
|
4
|
+
import { makeProvidersCommand, loadRegistryView, addProviderEntry, ProviderRegistryWriteError } from '../chunk-6CMMJFPV.js';
|
|
5
|
+
import { getStoreConfig, storeFetch, deviceLogin, loadStoreAuthConfig, logout, hasStoredAuth, isStoreAuthenticated, getStoreToken, getStoreIdentity } from '../chunk-W3YYB7K7.js';
|
|
6
|
+
import { makeSourceCommand, syncProjectSources } from '../chunk-ZKIVYTU6.js';
|
|
7
|
+
import { openCatalogSource, openLibraryManager, createFullRegistry, openLibrary } from '../chunk-3VUCSJBJ.js';
|
|
8
|
+
import { logErr, S, logOk, logInfo, logWarn, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth } from '../chunk-67IZGZI2.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-GB2CMJ3R.js';
|
|
11
|
+
import { buildClaudePluginFiles } from '../chunk-V7VHX7MK.js';
|
|
12
|
+
import '../chunk-HKLCMOK4.js';
|
|
13
|
+
import '../chunk-WVSF3IEQ.js';
|
|
14
14
|
import '../chunk-FAI2SMFE.js';
|
|
15
15
|
import '../chunk-7IRJ4K4F.js';
|
|
16
16
|
import '../chunk-JXCUUZA3.js';
|
|
@@ -24,37 +24,37 @@ import '../chunk-73ZXUUL6.js';
|
|
|
24
24
|
import '../chunk-32NA4TVC.js';
|
|
25
25
|
import '../chunk-W3UDISS2.js';
|
|
26
26
|
import '../chunk-45LLHKQ2.js';
|
|
27
|
-
import { runFlow, resumeFlow } from '../chunk-
|
|
27
|
+
import { runFlow, resumeFlow } from '../chunk-IXQC4ADP.js';
|
|
28
28
|
import '../chunk-4R6DROGN.js';
|
|
29
29
|
import { validateFlowVersions, parseSkillFrontmatter } from '../chunk-3XXQPHGL.js';
|
|
30
30
|
import '../chunk-7BUZQVRR.js';
|
|
31
31
|
import '../chunk-M6VQU5TS.js';
|
|
32
|
-
import '../chunk-
|
|
32
|
+
import '../chunk-PX5M5WDS.js';
|
|
33
33
|
import '../chunk-KW7YIRYL.js';
|
|
34
|
-
import '../chunk-
|
|
34
|
+
import '../chunk-6SBTX44S.js';
|
|
35
35
|
import '../chunk-WLFRA5RM.js';
|
|
36
36
|
import '../chunk-LOO5CB5M.js';
|
|
37
|
-
import '../chunk-
|
|
38
|
-
import '../chunk-
|
|
37
|
+
import '../chunk-7YNBVDGL.js';
|
|
38
|
+
import '../chunk-2CDYYL6T.js';
|
|
39
39
|
import '../chunk-GAH4YRCI.js';
|
|
40
|
-
import {
|
|
40
|
+
import { getProviderPreset, AI_PROVIDER_PRESETS } from '../chunk-7J3FBC6T.js';
|
|
41
41
|
import '../chunk-6E6PKKAD.js';
|
|
42
42
|
import '../chunk-IFGTRL2I.js';
|
|
43
|
-
import { projectAiAssetsRoots, loadFlow, loadAllFlowEntries, findFlowFileInRoots } from '../chunk-
|
|
43
|
+
import { projectAiAssetsRoots, loadFlow, loadAllFlowEntries, findFlowFileInRoots } from '../chunk-NWZQMJTI.js';
|
|
44
44
|
import '../chunk-TIOT3ZOQ.js';
|
|
45
45
|
import '../chunk-53ORCYPJ.js';
|
|
46
46
|
import '../chunk-2D5BYAL6.js';
|
|
47
47
|
import { nodeLabel, nodeSkillAsset, nodeIsInert, nodeIsOptional, nodeRunKind, flowSkillVersionPins } from '../chunk-ELPR5XBG.js';
|
|
48
|
-
import '../chunk-
|
|
49
|
-
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-
|
|
50
|
-
import { getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-
|
|
48
|
+
import '../chunk-DY3R7FYY.js';
|
|
49
|
+
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-OJ4GNQO5.js';
|
|
50
|
+
import { getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-COK4WPU4.js';
|
|
51
51
|
import '../chunk-M5H4DWIA.js';
|
|
52
52
|
import '../chunk-UKJMQZV6.js';
|
|
53
53
|
import '../chunk-R7FOF242.js';
|
|
54
54
|
import '../chunk-JXT46QFC.js';
|
|
55
|
-
import '../chunk-
|
|
55
|
+
import '../chunk-23BTREZQ.js';
|
|
56
56
|
import '../chunk-CGYEHQOX.js';
|
|
57
|
-
import { resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, WorkspaceYamlEditor, resolveLibraryDir, checkAgentSkillConformance, aiResourceRoots, readLock, workspaceProviderRegistryPath, userProviderRegistryPath, loadProviderRegistryFile } from '../chunk-
|
|
57
|
+
import { resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, WorkspaceYamlEditor, resolveLibraryDir, checkAgentSkillConformance, aiResourceRoots, readLock, workspaceProviderRegistryPath, userProviderRegistryPath, loadProviderRegistryFile } from '../chunk-UJPVUN6H.js';
|
|
58
58
|
import { factoryAssetRoots } from '../chunk-REILIKVM.js';
|
|
59
59
|
import '../chunk-F3HNW354.js';
|
|
60
60
|
import { DRIVER_DEFAULTS } from '../chunk-K5GBV4SA.js';
|
|
@@ -66,7 +66,7 @@ import { parseFrontmatter, scanDirectory } from '../chunk-MKZOK4JU.js';
|
|
|
66
66
|
import { parseAssetRef, ASSET_KINDS, isValidAssetName, slugifyAssetName, ASSET_NAME_HINT, assetRefToStr } from '../chunk-GEEW6SY2.js';
|
|
67
67
|
import { openSqlite } from '../chunk-FTG7CRFD.js';
|
|
68
68
|
import { portableSpawn, portableSpawnSync } from '../chunk-KSIRR5PL.js';
|
|
69
|
-
import { parseModelRef,
|
|
69
|
+
import { parseModelRef, resolveEntryBaseUrl } from '../chunk-ILG4BXYE.js';
|
|
70
70
|
import '../chunk-W4IPN3DD.js';
|
|
71
71
|
import '../chunk-KTBKW2FI.js';
|
|
72
72
|
import '../chunk-UQ6LFBPZ.js';
|
|
@@ -123,7 +123,7 @@ async function runSearch(kind, query, opts) {
|
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
async function searchIndex(query, kind) {
|
|
126
|
-
const { openLibrary: openLibrary2 } = await import('../open-library-
|
|
126
|
+
const { openLibrary: openLibrary2 } = await import('../open-library-VXKQ4KNY.js');
|
|
127
127
|
const library = await openLibrary2();
|
|
128
128
|
try {
|
|
129
129
|
const defs = await library.listAssetDefs(kind ? { kind } : {});
|
|
@@ -176,7 +176,7 @@ async function searchLocal(query, kind, opts, showStore, airGapped) {
|
|
|
176
176
|
const factory = await searchFactory(projectDir, query, kind);
|
|
177
177
|
let entries = unionEntries(await searchIndex(query, kind), factory);
|
|
178
178
|
if (entries.length === 0 && !query && !kind && !airGapped) {
|
|
179
|
-
const { autoSyncForSearch } = await import('../source-
|
|
179
|
+
const { autoSyncForSearch } = await import('../source-4SAPYPNW.js');
|
|
180
180
|
if (await autoSyncForSearch(projectDir)) {
|
|
181
181
|
entries = unionEntries(await searchIndex(query, kind), factory);
|
|
182
182
|
}
|
|
@@ -230,7 +230,7 @@ async function searchStore(query, kind, opts, airGapped) {
|
|
|
230
230
|
logInfo("air-gapped (cache_ttl: 0) \u2014 local sources only");
|
|
231
231
|
return;
|
|
232
232
|
}
|
|
233
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
233
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-VXKQ4KNY.js');
|
|
234
234
|
try {
|
|
235
235
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
236
236
|
const assets = await remote.listAssets(kind ? { kind } : {});
|
|
@@ -545,7 +545,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
545
545
|
return { entry: match ?? deployed };
|
|
546
546
|
}
|
|
547
547
|
const lookup = opts.storeLookup ?? (async (filter) => {
|
|
548
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
548
|
+
const { resolveCatalogSource } = await import('../open-library-VXKQ4KNY.js');
|
|
549
549
|
const { source, close } = await resolveCatalogSource({ projectDir: opts.projectDir });
|
|
550
550
|
try {
|
|
551
551
|
return await source.listAssets(filter);
|
|
@@ -561,7 +561,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
561
561
|
);
|
|
562
562
|
return { entry: hit ? catalogAssetToEntry(hit) : null };
|
|
563
563
|
} catch (err) {
|
|
564
|
-
const { LocalCatalogDisabledError } = await import('../open-library-
|
|
564
|
+
const { LocalCatalogDisabledError } = await import('../open-library-VXKQ4KNY.js');
|
|
565
565
|
const storeNote = err instanceof Error ? err.message : String(err);
|
|
566
566
|
const disabled = err instanceof LocalCatalogDisabledError || /catalog\.url/i.test(storeNote);
|
|
567
567
|
return { entry: null, storeNote, ...disabled ? { storeDisabled: true } : {} };
|
|
@@ -1181,7 +1181,7 @@ function makeCatalogCommand() {
|
|
|
1181
1181
|
return catalog;
|
|
1182
1182
|
}
|
|
1183
1183
|
async function runLocalCatalogTest(projectDir) {
|
|
1184
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
1184
|
+
const { resolveCatalogSource } = await import('../open-library-VXKQ4KNY.js');
|
|
1185
1185
|
let resolved;
|
|
1186
1186
|
try {
|
|
1187
1187
|
resolved = await resolveCatalogSource({ projectDir });
|
|
@@ -1458,11 +1458,7 @@ function printWorkspaceDefaultsSection(wsDefaults) {
|
|
|
1458
1458
|
}
|
|
1459
1459
|
function printModelSelectionSection(config, projectDir) {
|
|
1460
1460
|
const view = loadRegistryView({ projectDir });
|
|
1461
|
-
const
|
|
1462
|
-
const registry = Object.keys(legacy.providers).length > 0 ? mergeRegistries([
|
|
1463
|
-
{ layer: "catalog", providers: legacy.providers },
|
|
1464
|
-
{ layer: "user", providers: view.merged.providers }
|
|
1465
|
-
]) : view.merged;
|
|
1461
|
+
const registry = view.merged;
|
|
1466
1462
|
console.log();
|
|
1467
1463
|
console.log(` ${S.heading("Model selection")}`);
|
|
1468
1464
|
console.log(` ${S.rule(40)}`);
|
|
@@ -1498,7 +1494,6 @@ function printModelSelectionSection(config, projectDir) {
|
|
|
1498
1494
|
` ${S.label("providers:".padEnd(16))} ${configured.join(", ")} ${S.dim("(skaile providers list)")}`
|
|
1499
1495
|
);
|
|
1500
1496
|
}
|
|
1501
|
-
if (legacy.deprecation) logWarn(legacy.deprecation);
|
|
1502
1497
|
}
|
|
1503
1498
|
function printResolvedPathsSection(config) {
|
|
1504
1499
|
const fw = config.driver ?? "omp";
|
|
@@ -2246,7 +2241,7 @@ async function ensureTargetsRegistered(projectDir) {
|
|
|
2246
2241
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
2247
2242
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
2248
2243
|
if (config.plugins && config.plugins.length > 0) {
|
|
2249
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
2244
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-54SEASTK.js');
|
|
2250
2245
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
2251
2246
|
for (const f of result.failed) logWarn(f.error);
|
|
2252
2247
|
}
|
|
@@ -3501,16 +3496,16 @@ function makeLibraryCommand() {
|
|
|
3501
3496
|
});
|
|
3502
3497
|
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
3498
|
async (lib, opts) => {
|
|
3504
|
-
const { runLibraryPublish } = await import('../library-publish-
|
|
3499
|
+
const { runLibraryPublish } = await import('../library-publish-OHNV7TCD.js');
|
|
3505
3500
|
await withStoreErrorHandling(() => runLibraryPublish(lib, opts));
|
|
3506
3501
|
}
|
|
3507
3502
|
);
|
|
3508
3503
|
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-
|
|
3504
|
+
const { runLibraryRegister } = await import('../library-publish-OHNV7TCD.js');
|
|
3510
3505
|
await withStoreErrorHandling(() => runLibraryRegister(lib, opts));
|
|
3511
3506
|
});
|
|
3512
3507
|
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-
|
|
3508
|
+
const { runLibraryYank } = await import('../library-publish-OHNV7TCD.js');
|
|
3514
3509
|
await withStoreErrorHandling(() => runLibraryYank(lib, opts));
|
|
3515
3510
|
});
|
|
3516
3511
|
return cmd;
|
|
@@ -4232,7 +4227,7 @@ function scheduleSoftDepPreview() {
|
|
|
4232
4227
|
}
|
|
4233
4228
|
async function loadAssets() {
|
|
4234
4229
|
softDepPreviewCache.clear();
|
|
4235
|
-
const { gatherAssetFeeds } = await import('../asset-feeds-
|
|
4230
|
+
const { gatherAssetFeeds } = await import('../asset-feeds-SUK47KWR.js');
|
|
4236
4231
|
const { entries, domains, notes } = await gatherAssetFeeds(am, am.projectDir);
|
|
4237
4232
|
if (notes.length > 0) {
|
|
4238
4233
|
state.message = notes.map((n) => `[${n.feed}] ${n.message}`).join(" \u2022 ");
|
|
@@ -4438,7 +4433,7 @@ function reconcileCollapsedSets(rows) {
|
|
|
4438
4433
|
async function loadSourcesAndLibraries() {
|
|
4439
4434
|
try {
|
|
4440
4435
|
const [{ openLibraryManager: openLibraryManager2 }, { skaileHomeDir }, { getGlobalCacheDir: getGlobalCacheDir2 }] = await Promise.all([
|
|
4441
|
-
import('../open-library-
|
|
4436
|
+
import('../open-library-VXKQ4KNY.js'),
|
|
4442
4437
|
import('../library/index.js'),
|
|
4443
4438
|
import('../core/index.js')
|
|
4444
4439
|
]);
|
|
@@ -6075,7 +6070,7 @@ function action2(fn) {
|
|
|
6075
6070
|
};
|
|
6076
6071
|
}
|
|
6077
6072
|
async function reconcileAndReport(projectDir, plugins) {
|
|
6078
|
-
const { reconcilePlugins } = await import('../plugin-store-
|
|
6073
|
+
const { reconcilePlugins } = await import('../plugin-store-54SEASTK.js');
|
|
6079
6074
|
if (plugins.length === 0) {
|
|
6080
6075
|
logInfo("No plugins declared \u2014 nothing to reconcile.");
|
|
6081
6076
|
return;
|
|
@@ -6091,7 +6086,7 @@ async function reconcileAndReport(projectDir, plugins) {
|
|
|
6091
6086
|
async function runInstall2(spec, opts) {
|
|
6092
6087
|
const projectDir = path36__default.resolve(opts.projectDir);
|
|
6093
6088
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
6094
|
-
const { specName } = await import('../plugin-store-
|
|
6089
|
+
const { specName } = await import('../plugin-store-54SEASTK.js');
|
|
6095
6090
|
const yamlPath = path36__default.join(projectDir, "skaile.yaml");
|
|
6096
6091
|
const editor = WorkspaceYamlEditor2.load(yamlPath);
|
|
6097
6092
|
const replaced = editor.addPlugin(spec, specName);
|
|
@@ -6103,7 +6098,7 @@ async function runInstall2(spec, opts) {
|
|
|
6103
6098
|
async function runRemove(name, opts) {
|
|
6104
6099
|
const projectDir = path36__default.resolve(opts.projectDir);
|
|
6105
6100
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
6106
|
-
const { specName } = await import('../plugin-store-
|
|
6101
|
+
const { specName } = await import('../plugin-store-54SEASTK.js');
|
|
6107
6102
|
const yamlPath = path36__default.join(projectDir, "skaile.yaml");
|
|
6108
6103
|
const editor = WorkspaceYamlEditor2.load(yamlPath);
|
|
6109
6104
|
const removed = editor.removePlugin(name, specName);
|
|
@@ -6131,7 +6126,7 @@ async function runList(opts) {
|
|
|
6131
6126
|
const registry = createPluginRegistry();
|
|
6132
6127
|
if (declared.length > 0) {
|
|
6133
6128
|
try {
|
|
6134
|
-
const { loadPlugins } = await import('../plugin-store-
|
|
6129
|
+
const { loadPlugins } = await import('../plugin-store-54SEASTK.js');
|
|
6135
6130
|
const result = await loadPlugins(projectDir, declared, registry);
|
|
6136
6131
|
for (const f of result.failed) logWarn(f.error);
|
|
6137
6132
|
} catch (err) {
|
|
@@ -7232,12 +7227,12 @@ function makeServeCommand() {
|
|
|
7232
7227
|
);
|
|
7233
7228
|
}
|
|
7234
7229
|
async function ensurePluginsLoadedForServe(projectDir) {
|
|
7235
|
-
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-
|
|
7230
|
+
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-ZXSNIPEH.js');
|
|
7236
7231
|
try {
|
|
7237
7232
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
7238
7233
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
7239
7234
|
if (!config.plugins || config.plugins.length === 0) return;
|
|
7240
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
7235
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-54SEASTK.js');
|
|
7241
7236
|
const { pluginRegistry } = await import('../plugin-registry/index.js');
|
|
7242
7237
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
7243
7238
|
if (result.loaded.length > 0) {
|
|
@@ -7251,14 +7246,14 @@ async function ensurePluginsLoadedForServe(projectDir) {
|
|
|
7251
7246
|
}
|
|
7252
7247
|
}
|
|
7253
7248
|
async function runCompileTest(opts) {
|
|
7254
|
-
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-
|
|
7249
|
+
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-ZXSNIPEH.js');
|
|
7255
7250
|
const { tmpdir } = await import('os');
|
|
7256
7251
|
const { dirname: dirname4, join: join7, resolve: resolve5 } = await import('path');
|
|
7257
7252
|
const { fileURLToPath: fileURLToPath2 } = await import('url');
|
|
7258
7253
|
const { unlinkSync, existsSync: existsSync15 } = await import('fs');
|
|
7259
7254
|
const { spawn } = await import('child_process');
|
|
7260
7255
|
const { portableSpawnSync: portableSpawnSync2 } = await import('../core/index.js');
|
|
7261
|
-
const { MONOREPO_ROOT } = await import('../paths-
|
|
7256
|
+
const { MONOREPO_ROOT } = await import('../paths-FRD62K2N.js');
|
|
7262
7257
|
if (MONOREPO_ROOT === null) {
|
|
7263
7258
|
logErr2("--compile-test is only available inside the skaile-dev workspace.");
|
|
7264
7259
|
logInfo2("Run it from a checkout of skaile-ai/skaile-dev (the monorepo shell).");
|
|
@@ -8133,7 +8128,7 @@ function makeStoreCommand() {
|
|
|
8133
8128
|
process.exit(2);
|
|
8134
8129
|
});
|
|
8135
8130
|
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) => {
|
|
8136
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
8131
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-VXKQ4KNY.js');
|
|
8137
8132
|
try {
|
|
8138
8133
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
8139
8134
|
const assets = await remote.listAssets(opts.kind ? { kind: opts.kind } : {});
|
|
@@ -8166,8 +8161,8 @@ function makeStoreCommand() {
|
|
|
8166
8161
|
}
|
|
8167
8162
|
});
|
|
8168
8163
|
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) => {
|
|
8169
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
8170
|
-
const { supportsInstallManifest } = await import('../project-
|
|
8164
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-VXKQ4KNY.js');
|
|
8165
|
+
const { supportsInstallManifest } = await import('../project-GOQYIOKG.js');
|
|
8171
8166
|
try {
|
|
8172
8167
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
8173
8168
|
const asset = await remote.resolve(ref);
|
|
@@ -9255,7 +9250,7 @@ async function bootstrapUserConfig() {
|
|
|
9255
9250
|
}
|
|
9256
9251
|
async function hydrateInitSources(resolved, created) {
|
|
9257
9252
|
try {
|
|
9258
|
-
const { ensureSourcesCloned } = await import('../ensure-sources-
|
|
9253
|
+
const { ensureSourcesCloned } = await import('../ensure-sources-V62XWSYD.js');
|
|
9259
9254
|
const hydrate = ensureSourcesCloned(resolved, { quiet: true });
|
|
9260
9255
|
for (const n of hydrate.cloned) created.push(`~/.skaile/cache/sources/${n}/`);
|
|
9261
9256
|
if (hydrate.failed.length > 0) {
|
|
@@ -9295,7 +9290,7 @@ function printInitSummary(resolved, projectDir, created) {
|
|
|
9295
9290
|
console.log();
|
|
9296
9291
|
}
|
|
9297
9292
|
program.command("setup").description("Interactive provider setup wizard").action(async () => {
|
|
9298
|
-
const { cmdSetup } = await import('../setup-
|
|
9293
|
+
const { cmdSetup } = await import('../setup-7DVYP3TP.js');
|
|
9299
9294
|
await cmdSetup([], { projectDir: process.cwd() });
|
|
9300
9295
|
});
|
|
9301
9296
|
program.addCommand(makeInstallCommand());
|