@skaile/workspaces 4.9.1 → 4.9.3
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 +14 -0
- package/dist/{asset-feeds-23UCAOLX.js → asset-feeds-74HE5Q7W.js} +7 -6
- package/dist/asset-feeds-74HE5Q7W.js.map +1 -0
- package/dist/asset-manager/catalog-deployer.js +3 -2
- package/dist/asset-manager/index.js +6 -5
- package/dist/asset-manager/installer.js +4 -3
- package/dist/bridge/codex-app-server.js +2 -15
- package/dist/bridge/drivers/claude-sdk.js +5 -4
- package/dist/bridge/drivers/claude-sdk.js.map +1 -1
- package/dist/bridge/drivers/codex.js +7 -6
- package/dist/bridge/drivers/codex.js.map +1 -1
- package/dist/bridge/drivers/continue.js +5 -4
- package/dist/bridge/drivers/continue.js.map +1 -1
- package/dist/bridge/drivers/echo.js +2 -2
- package/dist/bridge/drivers/gemini.js +5 -5
- package/dist/bridge/drivers/goose.js +5 -4
- package/dist/bridge/drivers/goose.js.map +1 -1
- package/dist/bridge/drivers/omp.js +2 -2
- package/dist/bridge/drivers/opencode.js +5 -4
- package/dist/bridge/drivers/opencode.js.map +1 -1
- package/dist/bridge/drivers/qwen.js +5 -5
- package/dist/bridge/index.js +6 -5
- package/dist/bridge/src/codex-app-server.d.ts.map +1 -1
- package/dist/{chunk-45LLHKQ2.js → chunk-2HUQUTJ3.js} +3 -3
- package/dist/{chunk-45LLHKQ2.js.map → chunk-2HUQUTJ3.js.map} +1 -1
- package/dist/{chunk-6BUJARLT.js → chunk-2KVFAWUA.js} +3 -3
- package/dist/{chunk-6BUJARLT.js.map → chunk-2KVFAWUA.js.map} +1 -1
- package/dist/{chunk-FTG7CRFD.js → chunk-3HKYCT2M.js} +69 -6
- package/dist/chunk-3HKYCT2M.js.map +1 -0
- package/dist/{chunk-2PGVW3FL.js → chunk-4F2L7WPU.js} +3 -3
- package/dist/chunk-4F2L7WPU.js.map +1 -0
- package/dist/chunk-4GY63JU6.js +63 -0
- package/dist/chunk-4GY63JU6.js.map +1 -0
- package/dist/{chunk-PAYS6YCK.js → chunk-6L2WH2LS.js} +8 -8
- package/dist/{chunk-PAYS6YCK.js.map → chunk-6L2WH2LS.js.map} +1 -1
- package/dist/{chunk-HUF4ON2C.js → chunk-7LHSC2DS.js} +3 -3
- package/dist/{chunk-HUF4ON2C.js.map → chunk-7LHSC2DS.js.map} +1 -1
- package/dist/{chunk-5DHAVCKW.js → chunk-7ZWLVXQN.js} +2 -2
- package/dist/{chunk-5DHAVCKW.js.map → chunk-7ZWLVXQN.js.map} +1 -1
- package/dist/{chunk-6J3L2CZ7.js → chunk-AF3ETSXF.js} +3 -3
- package/dist/{chunk-6J3L2CZ7.js.map → chunk-AF3ETSXF.js.map} +1 -1
- package/dist/{chunk-SJYOKKYO.js → chunk-AOE4KOMJ.js} +3 -3
- package/dist/{chunk-SJYOKKYO.js.map → chunk-AOE4KOMJ.js.map} +1 -1
- package/dist/{chunk-ERYOLF7V.js → chunk-FTSXFA7P.js} +5 -5
- package/dist/{chunk-ERYOLF7V.js.map → chunk-FTSXFA7P.js.map} +1 -1
- package/dist/{chunk-5WNQPXEG.js → chunk-GFU367UH.js} +3 -59
- package/dist/chunk-GFU367UH.js.map +1 -0
- package/dist/{chunk-JBKXLCMG.js → chunk-JU736VOI.js} +7 -7
- package/dist/chunk-JU736VOI.js.map +1 -0
- package/dist/{chunk-5PF5OIQK.js → chunk-KQTMJP3X.js} +3 -3
- package/dist/{chunk-5PF5OIQK.js.map → chunk-KQTMJP3X.js.map} +1 -1
- package/dist/{chunk-WQ5BCHQS.js → chunk-LDQB5VEC.js} +2 -2
- package/dist/{chunk-WQ5BCHQS.js.map → chunk-LDQB5VEC.js.map} +1 -1
- package/dist/{chunk-QJDVOKQO.js → chunk-LMS54WVA.js} +4 -4
- package/dist/{chunk-QJDVOKQO.js.map → chunk-LMS54WVA.js.map} +1 -1
- package/dist/{chunk-2DGIAWKU.js → chunk-LN4M7WMX.js} +114 -79
- package/dist/chunk-LN4M7WMX.js.map +1 -0
- package/dist/{chunk-XHKM7OMR.js → chunk-O33RRDO5.js} +5 -5
- package/dist/{chunk-XHKM7OMR.js.map → chunk-O33RRDO5.js.map} +1 -1
- package/dist/{chunk-Q3AK4IQG.js → chunk-RL7O3OZQ.js} +5 -5
- package/dist/{chunk-Q3AK4IQG.js.map → chunk-RL7O3OZQ.js.map} +1 -1
- package/dist/{chunk-I7IWIVXY.js → chunk-S4RYZDBB.js} +3 -3
- package/dist/{chunk-I7IWIVXY.js.map → chunk-S4RYZDBB.js.map} +1 -1
- package/dist/{chunk-UJ5O5KQB.js → chunk-VLRP35H4.js} +7 -7
- package/dist/{chunk-UJ5O5KQB.js.map → chunk-VLRP35H4.js.map} +1 -1
- package/dist/{chunk-WLPL7CRM.js → chunk-WPW5XS6I.js} +2 -2
- package/dist/{chunk-WLPL7CRM.js.map → chunk-WPW5XS6I.js.map} +1 -1
- package/dist/{chunk-T4IXZOG2.js → chunk-WXECUQC6.js} +5 -5
- package/dist/{chunk-T4IXZOG2.js.map → chunk-WXECUQC6.js.map} +1 -1
- package/dist/{chunk-I7SQIWYX.js → chunk-XEWX4V7T.js} +3 -3
- package/dist/{chunk-I7SQIWYX.js.map → chunk-XEWX4V7T.js.map} +1 -1
- package/dist/{chunk-ZYAVNMKA.js → chunk-XZYZOCPK.js} +5 -5
- package/dist/{chunk-ZYAVNMKA.js.map → chunk-XZYZOCPK.js.map} +1 -1
- package/dist/{chunk-FSRWPLIQ.js → chunk-YCIW4YOT.js} +3 -3
- package/dist/{chunk-FSRWPLIQ.js.map → chunk-YCIW4YOT.js.map} +1 -1
- package/dist/{chunk-HA3XJN65.js → chunk-ZVYWMD6Q.js} +3 -3
- package/dist/{chunk-HA3XJN65.js.map → chunk-ZVYWMD6Q.js.map} +1 -1
- package/dist/cli/index.js +48 -47
- package/dist/cli/index.js.map +1 -1
- package/dist/connectors/config.js +3 -2
- package/dist/connectors/index.js +8 -7
- package/dist/core/index.js +3 -2
- package/dist/core/logging.js +1 -1
- package/dist/core/src/logging/index.d.ts +3 -1
- package/dist/core/src/logging/index.d.ts.map +1 -1
- package/dist/core/src/logging/retention.d.ts +29 -0
- package/dist/core/src/logging/retention.d.ts.map +1 -0
- package/dist/core/src/logging/sinks/sqlite-runtime.d.ts +6 -1
- package/dist/core/src/logging/sinks/sqlite-runtime.d.ts.map +1 -1
- package/dist/deploy/index.js +3 -2
- package/dist/deploy/index.js.map +1 -1
- package/dist/deploy/src/targets/process-handle.d.ts.map +1 -1
- package/dist/{ensure-sources-AGDLO3RW.js → ensure-sources-VTIIEJBO.js} +9 -8
- package/dist/ensure-sources-VTIIEJBO.js.map +1 -0
- package/dist/factory-assets/connectors/box.js +8 -7
- package/dist/factory-assets/connectors/deploy.js +8 -7
- package/dist/factory-assets/connectors/devserver/adapter.d.ts.map +1 -1
- package/dist/factory-assets/connectors/devserver.js +8 -7
- package/dist/factory-assets/connectors/flow/adapter.js +8 -7
- package/dist/factory-assets/connectors/flow/engine.js +4 -3
- package/dist/factory-assets/connectors/flow/run-flow.js +9 -8
- package/dist/factory-assets/connectors/flow.js +8 -7
- package/dist/factory-assets/connectors/git.js +8 -7
- package/dist/factory-assets/connectors/gmail.js +8 -7
- package/dist/factory-assets/connectors/googledrive.js +8 -7
- package/dist/factory-assets/connectors/local.js +8 -7
- package/dist/factory-assets/connectors/mattermost.js +8 -7
- package/dist/factory-assets/connectors/memory.js +8 -7
- package/dist/factory-assets/connectors/minio.js +8 -7
- package/dist/factory-assets/connectors/postgres.js +8 -7
- package/dist/factory-assets/connectors/s3.js +8 -7
- package/dist/factory-assets/connectors/sharepoint.js +8 -7
- package/dist/factory-assets/connectors/sqlite.js +8 -7
- package/dist/factory-assets/connectors/static-server.js +8 -7
- package/dist/factory-assets/connectors/tunnel.js +8 -7
- package/dist/factory-assets/connectors/webdav.js +8 -7
- package/dist/factory-assets/connectors/xstate-store.js +8 -7
- package/dist/factory-assets/connectors/xstate.js +8 -7
- package/dist/{flows-EO5CO3A3.js → flows-SYYQDDCT.js} +6 -5
- package/dist/{flows-EO5CO3A3.js.map → flows-SYYQDDCT.js.map} +1 -1
- package/dist/{helpers-4H73P3WO.js → helpers-JJ4OLUVW.js} +9 -8
- package/dist/{helpers-4H73P3WO.js.map → helpers-JJ4OLUVW.js.map} +1 -1
- package/dist/library/index.js +4 -3
- package/dist/library/install.js +3 -2
- package/dist/{library-publish-WTVCH5UI.js → library-publish-IA76SB6X.js} +13 -12
- package/dist/library-publish-IA76SB6X.js.map +1 -0
- package/dist/{open-library-KS4IT4C7.js → open-library-F24FIE65.js} +11 -10
- package/dist/{open-library-KS4IT4C7.js.map → open-library-F24FIE65.js.map} +1 -1
- package/dist/{paths-HWWTOYUY.js → paths-NHONUGUU.js} +5 -4
- package/dist/{paths-HWWTOYUY.js.map → paths-NHONUGUU.js.map} +1 -1
- package/dist/{plugin-store-VJYXFXP5.js → plugin-store-4RALGK5S.js} +5 -4
- package/dist/plugin-store-4RALGK5S.js.map +1 -0
- package/dist/{project-DWCNGU56.js → project-OGJSXBAC.js} +10 -9
- package/dist/{project-DWCNGU56.js.map → project-OGJSXBAC.js.map} +1 -1
- package/dist/resolver/index.js +3 -2
- package/dist/runner/index.js +14 -13
- package/dist/runner/src/lifecycle-handler.d.ts +2 -0
- package/dist/runner/src/lifecycle-handler.d.ts.map +1 -1
- package/dist/runner/src/logging-bootstrap.d.ts +11 -0
- package/dist/runner/src/logging-bootstrap.d.ts.map +1 -1
- package/dist/runner/src/runner-capabilities.d.ts +7 -2
- package/dist/runner/src/runner-capabilities.d.ts.map +1 -1
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +6 -5
- package/dist/sdk/bridge.js +6 -5
- package/dist/sdk/core.js +3 -2
- package/dist/sdk/flow.js +4 -3
- package/dist/sdk/index.js +14 -13
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/resolver.js +3 -2
- package/dist/sdk/runner.js +14 -13
- package/dist/{setup-EPDRYWWI.js → setup-3IIIW3QM.js} +13 -12
- package/dist/setup-3IIIW3QM.js.map +1 -0
- package/dist/{skills-DNCI6ITW.js → skills-VUPPILR5.js} +5 -4
- package/dist/{skills-DNCI6ITW.js.map → skills-VUPPILR5.js.map} +1 -1
- package/dist/{source-7TLL7GO7.js → source-HBEZDIWE.js} +12 -11
- package/dist/{source-7TLL7GO7.js.map → source-HBEZDIWE.js.map} +1 -1
- package/dist/{source-manifest-publish-NX3JBMUT.js → source-manifest-publish-G7ZAYFMH.js} +14 -13
- package/dist/source-manifest-publish-G7ZAYFMH.js.map +1 -0
- package/dist/tui/index.js +14 -13
- package/dist/tui/index.js.map +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +5 -4
- package/dist/workspace-plugin/adapters/omp.js +7 -7
- package/dist/workspace-plugin/index.js +2 -2
- package/package.json +2 -1
- package/dist/asset-feeds-23UCAOLX.js.map +0 -1
- package/dist/chunk-2DGIAWKU.js.map +0 -1
- package/dist/chunk-2PGVW3FL.js.map +0 -1
- package/dist/chunk-5WNQPXEG.js.map +0 -1
- package/dist/chunk-FTG7CRFD.js.map +0 -1
- package/dist/chunk-JBKXLCMG.js.map +0 -1
- package/dist/ensure-sources-AGDLO3RW.js.map +0 -1
- package/dist/library-publish-WTVCH5UI.js.map +0 -1
- package/dist/plugin-store-VJYXFXP5.js.map +0 -1
- package/dist/setup-EPDRYWWI.js.map +0 -1
- package/dist/source-manifest-publish-NX3JBMUT.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-F4PCBWPB.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-VLRP35H4.js';
|
|
4
|
+
import { makeProvidersCommand, loadRegistryView, addProviderEntry, ProviderRegistryWriteError } from '../chunk-RL7O3OZQ.js';
|
|
5
|
+
import { getStoreConfig, storeFetch, deviceLogin, loadStoreAuthConfig, logout, hasStoredAuth, isStoreAuthenticated, getStoreToken, getStoreIdentity } from '../chunk-S4RYZDBB.js';
|
|
6
|
+
import { makeSourceCommand, syncProjectSources } from '../chunk-6L2WH2LS.js';
|
|
7
|
+
import { openCatalogSource, openLibraryManager, createFullRegistry, openLibrary } from '../chunk-XZYZOCPK.js';
|
|
8
|
+
import { logErr, S, logOk, logInfo, logWarn, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth } from '../chunk-2KVFAWUA.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-LN4M7WMX.js';
|
|
11
|
+
import { buildClaudePluginFiles } from '../chunk-7ZWLVXQN.js';
|
|
12
|
+
import '../chunk-XEWX4V7T.js';
|
|
13
|
+
import '../chunk-WPW5XS6I.js';
|
|
14
14
|
import '../chunk-FAI2SMFE.js';
|
|
15
15
|
import '../chunk-7IRJ4K4F.js';
|
|
16
16
|
import '../chunk-4ZTPYIBE.js';
|
|
@@ -23,39 +23,40 @@ 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-2HUQUTJ3.js';
|
|
27
|
+
import { runFlow, resumeFlow } from '../chunk-WXECUQC6.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-I3UWSGEB.js';
|
|
32
|
-
import '../chunk-
|
|
32
|
+
import '../chunk-JU736VOI.js';
|
|
33
33
|
import '../chunk-SDNGG6FB.js';
|
|
34
34
|
import '../chunk-JUZJUKWM.js';
|
|
35
|
-
import '../chunk-
|
|
35
|
+
import '../chunk-ZVYWMD6Q.js';
|
|
36
36
|
import '../chunk-OUJVFZWJ.js';
|
|
37
37
|
import '../chunk-LOO5CB5M.js';
|
|
38
38
|
import '../chunk-3GKBSHUG.js';
|
|
39
|
-
import '../chunk-
|
|
39
|
+
import '../chunk-YCIW4YOT.js';
|
|
40
40
|
import '../chunk-GAH4YRCI.js';
|
|
41
|
-
import { getProviderPreset, AI_PROVIDER_PRESETS } from '../chunk-
|
|
41
|
+
import { getProviderPreset, AI_PROVIDER_PRESETS } from '../chunk-LDQB5VEC.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-AOE4KOMJ.js';
|
|
45
45
|
import '../chunk-KLMXMW6Z.js';
|
|
46
46
|
import '../chunk-REYJKU7T.js';
|
|
47
47
|
import '../chunk-2D5BYAL6.js';
|
|
48
48
|
import { nodeLabel, nodeSkillAsset, nodeIsInert, nodeIsOptional, nodeRunKind, flowSkillVersionPins } from '../chunk-ELPR5XBG.js';
|
|
49
49
|
import '../chunk-QAH24E5U.js';
|
|
50
|
-
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-
|
|
51
|
-
import { getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-
|
|
50
|
+
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-O33RRDO5.js';
|
|
51
|
+
import { getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-7LHSC2DS.js';
|
|
52
52
|
import '../chunk-M5H4DWIA.js';
|
|
53
53
|
import '../chunk-UKJMQZV6.js';
|
|
54
54
|
import '../chunk-R7FOF242.js';
|
|
55
55
|
import '../chunk-JXT46QFC.js';
|
|
56
|
-
import '../chunk-
|
|
56
|
+
import '../chunk-AF3ETSXF.js';
|
|
57
57
|
import '../chunk-CGYEHQOX.js';
|
|
58
|
-
import { resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, WorkspaceYamlEditor, resolveLibraryDir, checkAgentSkillConformance, aiResourceRoots, readLock, workspaceProviderRegistryPath, userProviderRegistryPath, loadProviderRegistryFile } from '../chunk-
|
|
58
|
+
import { resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, WorkspaceYamlEditor, resolveLibraryDir, checkAgentSkillConformance, aiResourceRoots, readLock, workspaceProviderRegistryPath, userProviderRegistryPath, loadProviderRegistryFile } from '../chunk-GFU367UH.js';
|
|
59
|
+
import '../chunk-4GY63JU6.js';
|
|
59
60
|
import { factoryAssetRoots } from '../chunk-UM4LDXV5.js';
|
|
60
61
|
import '../chunk-F3HNW354.js';
|
|
61
62
|
import { DRIVER_DEFAULTS } from '../chunk-K5GBV4SA.js';
|
|
@@ -65,7 +66,7 @@ import { SUPPORTED_DRIVER_TARGETS } from '../chunk-MENCWIHW.js';
|
|
|
65
66
|
import { SKAILE_MANIFEST_FILENAME, decodeSkaileManifest, loadSkPublishManifest, saveSkPublishManifest } from '../chunk-P4VHQA4N.js';
|
|
66
67
|
import { parseFrontmatter, scanDirectory } from '../chunk-MKZOK4JU.js';
|
|
67
68
|
import { parseAssetRef, ASSET_KINDS, isValidAssetName, slugifyAssetName, ASSET_NAME_HINT, assetRefToStr } from '../chunk-GEEW6SY2.js';
|
|
68
|
-
import { openSqlite } from '../chunk-
|
|
69
|
+
import { openSqlite } from '../chunk-3HKYCT2M.js';
|
|
69
70
|
import { portableSpawn, portableSpawnSync } from '../chunk-KSIRR5PL.js';
|
|
70
71
|
import { parseModelRef, resolveEntryBaseUrl } from '../chunk-ILG4BXYE.js';
|
|
71
72
|
import '../chunk-W4IPN3DD.js';
|
|
@@ -124,7 +125,7 @@ async function runSearch(kind, query, opts) {
|
|
|
124
125
|
}
|
|
125
126
|
}
|
|
126
127
|
async function searchIndex(query, kind) {
|
|
127
|
-
const { openLibrary: openLibrary2 } = await import('../open-library-
|
|
128
|
+
const { openLibrary: openLibrary2 } = await import('../open-library-F24FIE65.js');
|
|
128
129
|
const library = await openLibrary2();
|
|
129
130
|
try {
|
|
130
131
|
const defs = await library.listAssetDefs(kind ? { kind } : {});
|
|
@@ -177,7 +178,7 @@ async function searchLocal(query, kind, opts, showStore, airGapped) {
|
|
|
177
178
|
const factory = await searchFactory(projectDir, query, kind);
|
|
178
179
|
let entries = unionEntries(await searchIndex(query, kind), factory);
|
|
179
180
|
if (entries.length === 0 && !query && !kind && !airGapped) {
|
|
180
|
-
const { autoSyncForSearch } = await import('../source-
|
|
181
|
+
const { autoSyncForSearch } = await import('../source-HBEZDIWE.js');
|
|
181
182
|
if (await autoSyncForSearch(projectDir)) {
|
|
182
183
|
entries = unionEntries(await searchIndex(query, kind), factory);
|
|
183
184
|
}
|
|
@@ -231,7 +232,7 @@ async function searchStore(query, kind, opts, airGapped) {
|
|
|
231
232
|
logInfo("air-gapped (cache_ttl: 0) \u2014 local sources only");
|
|
232
233
|
return;
|
|
233
234
|
}
|
|
234
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
235
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-F24FIE65.js');
|
|
235
236
|
try {
|
|
236
237
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
237
238
|
const assets = await remote.listAssets(kind ? { kind } : {});
|
|
@@ -546,7 +547,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
546
547
|
return { entry: match ?? deployed };
|
|
547
548
|
}
|
|
548
549
|
const lookup = opts.storeLookup ?? (async (filter) => {
|
|
549
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
550
|
+
const { resolveCatalogSource } = await import('../open-library-F24FIE65.js');
|
|
550
551
|
const { source, close } = await resolveCatalogSource({ projectDir: opts.projectDir });
|
|
551
552
|
try {
|
|
552
553
|
return await source.listAssets(filter);
|
|
@@ -562,7 +563,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
562
563
|
);
|
|
563
564
|
return { entry: hit ? catalogAssetToEntry(hit) : null };
|
|
564
565
|
} catch (err) {
|
|
565
|
-
const { LocalCatalogDisabledError } = await import('../open-library-
|
|
566
|
+
const { LocalCatalogDisabledError } = await import('../open-library-F24FIE65.js');
|
|
566
567
|
const storeNote = err instanceof Error ? err.message : String(err);
|
|
567
568
|
const disabled = err instanceof LocalCatalogDisabledError || /catalog\.url/i.test(storeNote);
|
|
568
569
|
return { entry: null, storeNote, ...disabled ? { storeDisabled: true } : {} };
|
|
@@ -1182,7 +1183,7 @@ function makeCatalogCommand() {
|
|
|
1182
1183
|
return catalog;
|
|
1183
1184
|
}
|
|
1184
1185
|
async function runLocalCatalogTest(projectDir) {
|
|
1185
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
1186
|
+
const { resolveCatalogSource } = await import('../open-library-F24FIE65.js');
|
|
1186
1187
|
let resolved;
|
|
1187
1188
|
try {
|
|
1188
1189
|
resolved = await resolveCatalogSource({ projectDir });
|
|
@@ -2244,7 +2245,7 @@ async function ensureTargetsRegistered(projectDir) {
|
|
|
2244
2245
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
2245
2246
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
2246
2247
|
if (config.plugins && config.plugins.length > 0) {
|
|
2247
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
2248
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-4RALGK5S.js');
|
|
2248
2249
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
2249
2250
|
for (const f of result.failed) logWarn(f.error);
|
|
2250
2251
|
}
|
|
@@ -3499,16 +3500,16 @@ function makeLibraryCommand() {
|
|
|
3499
3500
|
});
|
|
3500
3501
|
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(
|
|
3501
3502
|
async (lib, opts) => {
|
|
3502
|
-
const { runLibraryPublish } = await import('../library-publish-
|
|
3503
|
+
const { runLibraryPublish } = await import('../library-publish-IA76SB6X.js');
|
|
3503
3504
|
await withStoreErrorHandling(() => runLibraryPublish(lib, opts));
|
|
3504
3505
|
}
|
|
3505
3506
|
);
|
|
3506
3507
|
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) => {
|
|
3507
|
-
const { runLibraryRegister } = await import('../library-publish-
|
|
3508
|
+
const { runLibraryRegister } = await import('../library-publish-IA76SB6X.js');
|
|
3508
3509
|
await withStoreErrorHandling(() => runLibraryRegister(lib, opts));
|
|
3509
3510
|
});
|
|
3510
3511
|
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) => {
|
|
3511
|
-
const { runLibraryYank } = await import('../library-publish-
|
|
3512
|
+
const { runLibraryYank } = await import('../library-publish-IA76SB6X.js');
|
|
3512
3513
|
await withStoreErrorHandling(() => runLibraryYank(lib, opts));
|
|
3513
3514
|
});
|
|
3514
3515
|
return cmd;
|
|
@@ -4230,7 +4231,7 @@ function scheduleSoftDepPreview() {
|
|
|
4230
4231
|
}
|
|
4231
4232
|
async function loadAssets() {
|
|
4232
4233
|
softDepPreviewCache.clear();
|
|
4233
|
-
const { gatherAssetFeeds } = await import('../asset-feeds-
|
|
4234
|
+
const { gatherAssetFeeds } = await import('../asset-feeds-74HE5Q7W.js');
|
|
4234
4235
|
const { entries, domains, notes } = await gatherAssetFeeds(am, am.projectDir);
|
|
4235
4236
|
if (notes.length > 0) {
|
|
4236
4237
|
state.message = notes.map((n) => `[${n.feed}] ${n.message}`).join(" \u2022 ");
|
|
@@ -4436,7 +4437,7 @@ function reconcileCollapsedSets(rows) {
|
|
|
4436
4437
|
async function loadSourcesAndLibraries() {
|
|
4437
4438
|
try {
|
|
4438
4439
|
const [{ openLibraryManager: openLibraryManager2 }, { skaileHomeDir }, { getGlobalCacheDir: getGlobalCacheDir2 }] = await Promise.all([
|
|
4439
|
-
import('../open-library-
|
|
4440
|
+
import('../open-library-F24FIE65.js'),
|
|
4440
4441
|
import('../library/index.js'),
|
|
4441
4442
|
import('../core/index.js')
|
|
4442
4443
|
]);
|
|
@@ -6073,7 +6074,7 @@ function action2(fn) {
|
|
|
6073
6074
|
};
|
|
6074
6075
|
}
|
|
6075
6076
|
async function reconcileAndReport(projectDir, plugins) {
|
|
6076
|
-
const { reconcilePlugins } = await import('../plugin-store-
|
|
6077
|
+
const { reconcilePlugins } = await import('../plugin-store-4RALGK5S.js');
|
|
6077
6078
|
if (plugins.length === 0) {
|
|
6078
6079
|
logInfo("No plugins declared \u2014 nothing to reconcile.");
|
|
6079
6080
|
return;
|
|
@@ -6089,7 +6090,7 @@ async function reconcileAndReport(projectDir, plugins) {
|
|
|
6089
6090
|
async function runInstall2(spec, opts) {
|
|
6090
6091
|
const projectDir = path36__default.resolve(opts.projectDir);
|
|
6091
6092
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
6092
|
-
const { specName } = await import('../plugin-store-
|
|
6093
|
+
const { specName } = await import('../plugin-store-4RALGK5S.js');
|
|
6093
6094
|
const yamlPath = path36__default.join(projectDir, "skaile.yaml");
|
|
6094
6095
|
const editor = WorkspaceYamlEditor2.load(yamlPath);
|
|
6095
6096
|
const replaced = editor.addPlugin(spec, specName);
|
|
@@ -6101,7 +6102,7 @@ async function runInstall2(spec, opts) {
|
|
|
6101
6102
|
async function runRemove(name, opts) {
|
|
6102
6103
|
const projectDir = path36__default.resolve(opts.projectDir);
|
|
6103
6104
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
6104
|
-
const { specName } = await import('../plugin-store-
|
|
6105
|
+
const { specName } = await import('../plugin-store-4RALGK5S.js');
|
|
6105
6106
|
const yamlPath = path36__default.join(projectDir, "skaile.yaml");
|
|
6106
6107
|
const editor = WorkspaceYamlEditor2.load(yamlPath);
|
|
6107
6108
|
const removed = editor.removePlugin(name, specName);
|
|
@@ -6129,7 +6130,7 @@ async function runList(opts) {
|
|
|
6129
6130
|
const registry = createPluginRegistry();
|
|
6130
6131
|
if (declared.length > 0) {
|
|
6131
6132
|
try {
|
|
6132
|
-
const { loadPlugins } = await import('../plugin-store-
|
|
6133
|
+
const { loadPlugins } = await import('../plugin-store-4RALGK5S.js');
|
|
6133
6134
|
const result = await loadPlugins(projectDir, declared, registry);
|
|
6134
6135
|
for (const f of result.failed) logWarn(f.error);
|
|
6135
6136
|
} catch (err) {
|
|
@@ -7231,12 +7232,12 @@ function makeServeCommand() {
|
|
|
7231
7232
|
);
|
|
7232
7233
|
}
|
|
7233
7234
|
async function ensurePluginsLoadedForServe(projectDir) {
|
|
7234
|
-
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-
|
|
7235
|
+
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-JJ4OLUVW.js');
|
|
7235
7236
|
try {
|
|
7236
7237
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
7237
7238
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
7238
7239
|
if (!config.plugins || config.plugins.length === 0) return;
|
|
7239
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
7240
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-4RALGK5S.js');
|
|
7240
7241
|
const { pluginRegistry } = await import('../plugin-registry/index.js');
|
|
7241
7242
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
7242
7243
|
if (result.loaded.length > 0) {
|
|
@@ -7250,14 +7251,14 @@ async function ensurePluginsLoadedForServe(projectDir) {
|
|
|
7250
7251
|
}
|
|
7251
7252
|
}
|
|
7252
7253
|
async function runCompileTest(opts) {
|
|
7253
|
-
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-
|
|
7254
|
+
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-JJ4OLUVW.js');
|
|
7254
7255
|
const { tmpdir } = await import('os');
|
|
7255
7256
|
const { dirname: dirname4, join: join7, resolve: resolve5 } = await import('path');
|
|
7256
7257
|
const { fileURLToPath: fileURLToPath2 } = await import('url');
|
|
7257
7258
|
const { unlinkSync, existsSync: existsSync15 } = await import('fs');
|
|
7258
7259
|
const { spawn } = await import('child_process');
|
|
7259
7260
|
const { portableSpawnSync: portableSpawnSync2 } = await import('../core/index.js');
|
|
7260
|
-
const { MONOREPO_ROOT } = await import('../paths-
|
|
7261
|
+
const { MONOREPO_ROOT } = await import('../paths-NHONUGUU.js');
|
|
7261
7262
|
if (MONOREPO_ROOT === null) {
|
|
7262
7263
|
logErr2("--compile-test is only available inside the skaile-dev workspace.");
|
|
7263
7264
|
logInfo2("Run it from a checkout of skaile-ai/skaile-dev (the monorepo shell).");
|
|
@@ -8132,7 +8133,7 @@ function makeStoreCommand() {
|
|
|
8132
8133
|
process.exit(2);
|
|
8133
8134
|
});
|
|
8134
8135
|
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) => {
|
|
8135
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
8136
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-F24FIE65.js');
|
|
8136
8137
|
try {
|
|
8137
8138
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
8138
8139
|
const assets = await remote.listAssets(opts.kind ? { kind: opts.kind } : {});
|
|
@@ -8165,8 +8166,8 @@ function makeStoreCommand() {
|
|
|
8165
8166
|
}
|
|
8166
8167
|
});
|
|
8167
8168
|
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) => {
|
|
8168
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
8169
|
-
const { supportsInstallManifest } = await import('../project-
|
|
8169
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-F24FIE65.js');
|
|
8170
|
+
const { supportsInstallManifest } = await import('../project-OGJSXBAC.js');
|
|
8170
8171
|
try {
|
|
8171
8172
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
8172
8173
|
const asset = await remote.resolve(ref);
|
|
@@ -9254,7 +9255,7 @@ async function bootstrapUserConfig() {
|
|
|
9254
9255
|
}
|
|
9255
9256
|
async function hydrateInitSources(resolved, created) {
|
|
9256
9257
|
try {
|
|
9257
|
-
const { ensureSourcesCloned } = await import('../ensure-sources-
|
|
9258
|
+
const { ensureSourcesCloned } = await import('../ensure-sources-VTIIEJBO.js');
|
|
9258
9259
|
const hydrate = ensureSourcesCloned(resolved, { quiet: true });
|
|
9259
9260
|
for (const n of hydrate.cloned) created.push(`~/.skaile/cache/sources/${n}/`);
|
|
9260
9261
|
if (hydrate.failed.length > 0) {
|
|
@@ -9294,7 +9295,7 @@ function printInitSummary(resolved, projectDir, created) {
|
|
|
9294
9295
|
console.log();
|
|
9295
9296
|
}
|
|
9296
9297
|
program.command("setup").description("Interactive provider setup wizard").action(async () => {
|
|
9297
|
-
const { cmdSetup } = await import('../setup-
|
|
9298
|
+
const { cmdSetup } = await import('../setup-3IIIW3QM.js');
|
|
9298
9299
|
await cmdSetup([], { projectDir: process.cwd() });
|
|
9299
9300
|
});
|
|
9300
9301
|
program.addCommand(makeInstallCommand());
|