@skaile/workspaces 3.15.0 → 3.16.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 +43 -0
- package/dist/{asset-feeds-XSUE5LE6.js → asset-feeds-6UC7CUTI.js} +11 -11
- package/dist/{asset-feeds-XSUE5LE6.js.map → asset-feeds-6UC7CUTI.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.js +7 -7
- package/dist/asset-manager/index.js +10 -10
- package/dist/asset-manager/installer.js +7 -7
- package/dist/bridge/drivers/claude-sdk.js +8 -8
- package/dist/bridge/drivers/codex.js +3 -3
- package/dist/bridge/drivers/continue.js +4 -4
- package/dist/bridge/drivers/echo.js +3 -3
- package/dist/bridge/drivers/gemini.js +5 -5
- package/dist/bridge/drivers/goose.js +4 -4
- package/dist/bridge/drivers/omp.js +3 -3
- package/dist/bridge/drivers/opencode.js +4 -4
- package/dist/bridge/drivers/qwen.js +5 -5
- package/dist/bridge/index.js +9 -9
- package/dist/{chunk-RUFTB7QN.js → chunk-3NCGSSCU.js} +3 -3
- package/dist/{chunk-RUFTB7QN.js.map → chunk-3NCGSSCU.js.map} +1 -1
- package/dist/{chunk-4VTBZ2MF.js → chunk-3XXQPHGL.js} +4 -4
- package/dist/{chunk-4VTBZ2MF.js.map → chunk-3XXQPHGL.js.map} +1 -1
- package/dist/{chunk-3UU3D2Q3.js → chunk-5KSIVLOX.js} +5 -5
- package/dist/{chunk-3UU3D2Q3.js.map → chunk-5KSIVLOX.js.map} +1 -1
- package/dist/{chunk-CWTL2QWL.js → chunk-6HTQNNOX.js} +7 -7
- package/dist/{chunk-CWTL2QWL.js.map → chunk-6HTQNNOX.js.map} +1 -1
- package/dist/{chunk-FYLIY6TO.js → chunk-6KPCHQP5.js} +3 -3
- package/dist/{chunk-FYLIY6TO.js.map → chunk-6KPCHQP5.js.map} +1 -1
- package/dist/{chunk-GHWJHOYX.js → chunk-7BUZQVRR.js} +4 -4
- package/dist/{chunk-GHWJHOYX.js.map → chunk-7BUZQVRR.js.map} +1 -1
- package/dist/{chunk-JAHHMZWG.js → chunk-7IRJ4K4F.js} +3 -3
- package/dist/{chunk-JAHHMZWG.js.map → chunk-7IRJ4K4F.js.map} +1 -1
- package/dist/{chunk-QZ6XXD3A.js → chunk-BQMRUH7J.js} +3 -3
- package/dist/{chunk-QZ6XXD3A.js.map → chunk-BQMRUH7J.js.map} +1 -1
- package/dist/{chunk-O52DU5KU.js → chunk-BUKPS4YL.js} +3 -3
- package/dist/{chunk-O52DU5KU.js.map → chunk-BUKPS4YL.js.map} +1 -1
- package/dist/{chunk-Q7KWJO4J.js → chunk-C4AP3XZB.js} +5 -5
- package/dist/{chunk-Q7KWJO4J.js.map → chunk-C4AP3XZB.js.map} +1 -1
- package/dist/{chunk-F2WTSHZS.js → chunk-CIPK5JMJ.js} +4 -4
- package/dist/{chunk-F2WTSHZS.js.map → chunk-CIPK5JMJ.js.map} +1 -1
- package/dist/{chunk-MTCLDJPR.js → chunk-CL4TYERP.js} +9 -9
- package/dist/{chunk-MTCLDJPR.js.map → chunk-CL4TYERP.js.map} +1 -1
- package/dist/{chunk-PPKK5EV6.js → chunk-DZ4UZOFB.js} +3 -3
- package/dist/{chunk-PPKK5EV6.js.map → chunk-DZ4UZOFB.js.map} +1 -1
- package/dist/{chunk-LVZ5NGME.js → chunk-ER4UOIUS.js} +3 -3
- package/dist/{chunk-LVZ5NGME.js.map → chunk-ER4UOIUS.js.map} +1 -1
- package/dist/{chunk-G2CXWUO5.js → chunk-FAI2SMFE.js} +4 -4
- package/dist/{chunk-G2CXWUO5.js.map → chunk-FAI2SMFE.js.map} +1 -1
- package/dist/{chunk-5Q7HA4JP.js → chunk-FTG7CRFD.js} +3 -3
- package/dist/{chunk-5Q7HA4JP.js.map → chunk-FTG7CRFD.js.map} +1 -1
- package/dist/{chunk-TMAGWRKY.js → chunk-GWQZ2ECO.js} +6 -6
- package/dist/{chunk-TMAGWRKY.js.map → chunk-GWQZ2ECO.js.map} +1 -1
- package/dist/{chunk-5WMFU575.js → chunk-IVWJHELM.js} +116 -29
- package/dist/chunk-IVWJHELM.js.map +1 -0
- package/dist/{chunk-DTSKPMP3.js → chunk-JNCORFRK.js} +3 -3
- package/dist/{chunk-DTSKPMP3.js.map → chunk-JNCORFRK.js.map} +1 -1
- package/dist/{chunk-DWO2N72K.js → chunk-KLDWNSDN.js} +4 -4
- package/dist/{chunk-DWO2N72K.js.map → chunk-KLDWNSDN.js.map} +1 -1
- package/dist/{chunk-FI4QNNMD.js → chunk-MFWIWPJP.js} +8 -8
- package/dist/{chunk-FI4QNNMD.js.map → chunk-MFWIWPJP.js.map} +1 -1
- package/dist/{chunk-VQ4P7UYE.js → chunk-MKZOK4JU.js} +3 -3
- package/dist/{chunk-VQ4P7UYE.js.map → chunk-MKZOK4JU.js.map} +1 -1
- package/dist/{chunk-Z5ED4E57.js → chunk-NIUG3MIH.js} +3 -3
- package/dist/{chunk-Z5ED4E57.js.map → chunk-NIUG3MIH.js.map} +1 -1
- package/dist/{chunk-4OQ2HQCQ.js → chunk-OGTS7QJX.js} +4 -4
- package/dist/{chunk-4OQ2HQCQ.js.map → chunk-OGTS7QJX.js.map} +1 -1
- package/dist/{chunk-SH572OBN.js → chunk-OIDFK7SG.js} +4 -4
- package/dist/{chunk-SH572OBN.js.map → chunk-OIDFK7SG.js.map} +1 -1
- package/dist/{chunk-IP3GXHOB.js → chunk-OZ7UNMTK.js} +3 -3
- package/dist/{chunk-IP3GXHOB.js.map → chunk-OZ7UNMTK.js.map} +1 -1
- package/dist/{chunk-6YDXCJGK.js → chunk-PMYZRX6M.js} +3 -3
- package/dist/{chunk-6YDXCJGK.js.map → chunk-PMYZRX6M.js.map} +1 -1
- package/dist/{chunk-X5EYJEEQ.js → chunk-S4UA244H.js} +4 -4
- package/dist/{chunk-X5EYJEEQ.js.map → chunk-S4UA244H.js.map} +1 -1
- package/dist/{chunk-WE7ONZNB.js → chunk-SUPIVTLX.js} +3 -3
- package/dist/{chunk-WE7ONZNB.js.map → chunk-SUPIVTLX.js.map} +1 -1
- package/dist/{chunk-VFPFW67T.js → chunk-SZ7VJQK3.js} +10 -10
- package/dist/{chunk-VFPFW67T.js.map → chunk-SZ7VJQK3.js.map} +1 -1
- package/dist/{chunk-3A5IKBHQ.js → chunk-W4IPN3DD.js} +61 -8
- package/dist/chunk-W4IPN3DD.js.map +1 -0
- package/dist/{chunk-LAOS2TZU.js → chunk-X2665LP2.js} +8 -8
- package/dist/{chunk-LAOS2TZU.js.map → chunk-X2665LP2.js.map} +1 -1
- package/dist/{chunk-M5D2QNTY.js → chunk-ZNCZ7RUO.js} +3 -3
- package/dist/{chunk-M5D2QNTY.js.map → chunk-ZNCZ7RUO.js.map} +1 -1
- package/dist/cli/index.js +56 -52
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/serve.d.ts.map +1 -1
- package/dist/connectors/config.js +7 -7
- package/dist/connectors/index.js +12 -12
- package/dist/core/index.js +6 -6
- package/dist/core/logging.js +2 -2
- package/dist/core/manifest.js +2 -2
- package/dist/core/runtime-assets.js +4 -4
- package/dist/core/src/logging/index.d.ts +2 -0
- package/dist/core/src/logging/index.d.ts.map +1 -1
- package/dist/core/src/logging/log-store.d.ts.map +1 -1
- package/dist/core/src/logging/sinks/stdout-sink.d.ts +6 -1
- package/dist/core/src/logging/sinks/stdout-sink.d.ts.map +1 -1
- package/dist/core/src/logging/stream-health.d.ts +46 -0
- package/dist/core/src/logging/stream-health.d.ts.map +1 -0
- package/dist/core/workspace-config.js +3 -3
- package/dist/deploy/index.js +8 -7
- package/dist/deploy/index.js.map +1 -1
- package/dist/deploy/src/targets/process-handle.d.ts.map +1 -1
- package/dist/discovery/index.js +3 -3
- package/dist/{ensure-sources-SFQT5GXY.js → ensure-sources-VJZUHSFZ.js} +13 -13
- package/dist/{ensure-sources-SFQT5GXY.js.map → ensure-sources-VJZUHSFZ.js.map} +1 -1
- package/dist/factory-assets/connectors/box.js +12 -12
- package/dist/factory-assets/connectors/deploy.js +12 -12
- package/dist/factory-assets/connectors/devserver.js +12 -12
- package/dist/factory-assets/connectors/flow/adapter.js +12 -12
- package/dist/factory-assets/connectors/flow/engine.js +7 -7
- package/dist/factory-assets/connectors/flow/run-flow.js +14 -14
- package/dist/factory-assets/connectors/flow.js +12 -12
- package/dist/factory-assets/connectors/git.js +12 -12
- package/dist/factory-assets/connectors/gmail.js +12 -12
- package/dist/factory-assets/connectors/googledrive.js +12 -12
- package/dist/factory-assets/connectors/local.js +12 -12
- package/dist/factory-assets/connectors/mattermost.js +12 -12
- package/dist/factory-assets/connectors/memory.js +12 -12
- package/dist/factory-assets/connectors/minio.js +12 -12
- package/dist/factory-assets/connectors/postgres.js +12 -12
- package/dist/factory-assets/connectors/s3.js +12 -12
- package/dist/factory-assets/connectors/sharepoint.js +12 -12
- package/dist/factory-assets/connectors/sqlite.js +12 -12
- package/dist/factory-assets/connectors/static-server.js +12 -12
- package/dist/factory-assets/connectors/tunnel.js +12 -12
- package/dist/factory-assets/connectors/webdav.js +12 -12
- package/dist/factory-assets/connectors/xstate-store.js +12 -12
- package/dist/factory-assets/connectors/xstate.js +12 -12
- package/dist/flows-2SUFOVVO.js +20 -0
- package/dist/{flows-Z3DM5BHF.js.map → flows-2SUFOVVO.js.map} +1 -1
- package/dist/{helpers-VRQXNHFR.js → helpers-EEYMGGLO.js} +13 -13
- package/dist/{helpers-VRQXNHFR.js.map → helpers-EEYMGGLO.js.map} +1 -1
- package/dist/library/index.js +8 -8
- package/dist/library/install.js +6 -6
- package/dist/{library-publish-DV3B2ITY.js → library-publish-37UBVMC3.js} +17 -17
- package/dist/{library-publish-DV3B2ITY.js.map → library-publish-37UBVMC3.js.map} +1 -1
- package/dist/{open-library-2BXBAC6Q.js → open-library-JYVUN4CY.js} +15 -15
- package/dist/{open-library-2BXBAC6Q.js.map → open-library-JYVUN4CY.js.map} +1 -1
- package/dist/paths-4APA2PKT.js +16 -0
- package/dist/{paths-AI7MDPNA.js.map → paths-4APA2PKT.js.map} +1 -1
- package/dist/{plugin-store-OO5EZBYP.js → plugin-store-JQAIKR3R.js} +8 -8
- package/dist/{plugin-store-OO5EZBYP.js.map → plugin-store-JQAIKR3R.js.map} +1 -1
- package/dist/{project-2TYDMEZB.js → project-DKQACM3N.js} +14 -14
- package/dist/{project-2TYDMEZB.js.map → project-DKQACM3N.js.map} +1 -1
- package/dist/resolver/index.js +7 -7
- package/dist/runner/index.js +17 -17
- package/dist/runner/src/process-safety-net.d.ts +61 -0
- package/dist/runner/src/process-safety-net.d.ts.map +1 -0
- package/dist/runner/src/serve.d.ts +10 -0
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +10 -10
- package/dist/sdk/bridge.js +9 -9
- package/dist/sdk/core.js +6 -6
- package/dist/sdk/flow.js +7 -7
- package/dist/sdk/index.js +17 -17
- package/dist/sdk/resolver.js +7 -7
- package/dist/sdk/runner.js +17 -17
- package/dist/{setup-EH4TZFMN.js → setup-7FJNMKFA.js} +11 -11
- package/dist/{setup-EH4TZFMN.js.map → setup-7FJNMKFA.js.map} +1 -1
- package/dist/skills-Q7PJVB3W.js +20 -0
- package/dist/{skills-XZOG6ZPX.js.map → skills-Q7PJVB3W.js.map} +1 -1
- package/dist/{source-PVTUMNAO.js → source-CT6RH3CJ.js} +16 -16
- package/dist/{source-PVTUMNAO.js.map → source-CT6RH3CJ.js.map} +1 -1
- package/dist/{source-manifest-publish-3XYTUVQQ.js → source-manifest-publish-VBENANBT.js} +18 -18
- package/dist/{source-manifest-publish-3XYTUVQQ.js.map → source-manifest-publish-VBENANBT.js.map} +1 -1
- package/dist/tui/index.js +17 -17
- package/dist/workspace-plugin/adapters/mcp.js +11 -11
- package/dist/workspace-plugin/adapters/omp.js +7 -7
- package/dist/workspace-plugin/index.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-3A5IKBHQ.js.map +0 -1
- package/dist/chunk-5WMFU575.js.map +0 -1
- package/dist/flows-Z3DM5BHF.js +0 -20
- package/dist/paths-AI7MDPNA.js +0 -16
- package/dist/skills-XZOG6ZPX.js +0 -20
package/dist/cli/index.js
CHANGED
|
@@ -1,13 +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 } 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-6HTQNNOX.js';
|
|
3
|
+
import { makeSourceCommand, syncProjectSources } from '../chunk-SZ7VJQK3.js';
|
|
4
|
+
import { AI_RESOURCES } from '../chunk-ZNCZ7RUO.js';
|
|
5
|
+
import { getStoreConfig, storeFetch, deviceLogin, loadStoreAuthConfig, logout, hasStoredAuth, isStoreAuthenticated, getStoreToken, getStoreIdentity } from '../chunk-SUPIVTLX.js';
|
|
6
|
+
import { openCatalogSource, openLibraryManager, createFullRegistry, openLibrary } from '../chunk-GWQZ2ECO.js';
|
|
7
|
+
import { logErr, S, logOk, logInfo, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, logWarn, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth } from '../chunk-ER4UOIUS.js';
|
|
8
8
|
import { LocalSecretsProvider } from '../chunk-6BEGKO2Q.js';
|
|
9
|
-
import { runAgentChat, loadSessionById, loadSession, listSessions, setCurrentSession, deleteSession, clearSession, loadAgentManifest, compileComposition, MarkdownStreamer, resolveMixin } from '../chunk-
|
|
10
|
-
import { buildClaudePluginFiles } from '../chunk-
|
|
9
|
+
import { runAgentChat, loadSessionById, loadSession, listSessions, setCurrentSession, deleteSession, clearSession, loadAgentManifest, compileComposition, MarkdownStreamer, resolveMixin } from '../chunk-IVWJHELM.js';
|
|
10
|
+
import { buildClaudePluginFiles } from '../chunk-PMYZRX6M.js';
|
|
11
11
|
import '../chunk-X5YPJV4N.js';
|
|
12
12
|
import '../chunk-W3UDISS2.js';
|
|
13
13
|
import '../chunk-O7SG5PC2.js';
|
|
@@ -15,47 +15,47 @@ import '../chunk-7QBNJTTQ.js';
|
|
|
15
15
|
import '../chunk-GTS2FODO.js';
|
|
16
16
|
import '../chunk-WQ7DE5UC.js';
|
|
17
17
|
import '../chunk-32NA4TVC.js';
|
|
18
|
-
import { runFlow, resumeFlow } from '../chunk-
|
|
18
|
+
import { runFlow, resumeFlow } from '../chunk-X2665LP2.js';
|
|
19
19
|
import '../chunk-4R6DROGN.js';
|
|
20
|
-
import { validateFlowVersions, parseSkillFrontmatter } from '../chunk-
|
|
21
|
-
import '../chunk-
|
|
20
|
+
import { validateFlowVersions, parseSkillFrontmatter } from '../chunk-3XXQPHGL.js';
|
|
21
|
+
import '../chunk-7BUZQVRR.js';
|
|
22
22
|
import '../chunk-NC5YXVZF.js';
|
|
23
|
-
import '../chunk-
|
|
24
|
-
import '../chunk-
|
|
25
|
-
import '../chunk-
|
|
26
|
-
import '../chunk-
|
|
23
|
+
import '../chunk-CL4TYERP.js';
|
|
24
|
+
import '../chunk-5KSIVLOX.js';
|
|
25
|
+
import '../chunk-JNCORFRK.js';
|
|
26
|
+
import '../chunk-3NCGSSCU.js';
|
|
27
27
|
import '../chunk-RRVQAE5D.js';
|
|
28
28
|
import '../chunk-GURXUF2J.js';
|
|
29
29
|
import '../chunk-GAH4YRCI.js';
|
|
30
|
-
import '../chunk-
|
|
30
|
+
import '../chunk-NIUG3MIH.js';
|
|
31
31
|
import '../chunk-6E6PKKAD.js';
|
|
32
32
|
import '../chunk-IFGTRL2I.js';
|
|
33
|
-
import { projectAiAssetsRoots, loadFlow, loadAllFlowEntries, findFlowFileInRoots } from '../chunk-
|
|
33
|
+
import { projectAiAssetsRoots, loadFlow, loadAllFlowEntries, findFlowFileInRoots } from '../chunk-BQMRUH7J.js';
|
|
34
34
|
import '../chunk-AXEOG4B5.js';
|
|
35
35
|
import '../chunk-HY6CIKFH.js';
|
|
36
36
|
import '../chunk-2D5BYAL6.js';
|
|
37
37
|
import { nodeLabel, nodeSkillAsset, nodeIsInert, nodeIsOptional, nodeRunKind, flowSkillVersionPins } from '../chunk-ELPR5XBG.js';
|
|
38
38
|
import '../chunk-2KBA5OO2.js';
|
|
39
|
-
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-
|
|
40
|
-
import { getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-
|
|
41
|
-
import '../chunk-
|
|
39
|
+
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-MFWIWPJP.js';
|
|
40
|
+
import { getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-C4AP3XZB.js';
|
|
41
|
+
import '../chunk-DZ4UZOFB.js';
|
|
42
42
|
import '../chunk-UKJMQZV6.js';
|
|
43
43
|
import '../chunk-R7FOF242.js';
|
|
44
44
|
import '../chunk-JXT46QFC.js';
|
|
45
|
-
import '../chunk-
|
|
45
|
+
import '../chunk-S4UA244H.js';
|
|
46
46
|
import '../chunk-CGYEHQOX.js';
|
|
47
|
-
import { resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, portableSpawn, portableSpawnSync, WorkspaceYamlEditor, resolveLibraryDir, checkAgentSkillConformance, aiResourceRoots, readLock } from '../chunk-
|
|
47
|
+
import { resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, portableSpawn, portableSpawnSync, WorkspaceYamlEditor, resolveLibraryDir, checkAgentSkillConformance, aiResourceRoots, readLock } from '../chunk-CIPK5JMJ.js';
|
|
48
48
|
import '../chunk-F3HNW354.js';
|
|
49
49
|
import { DRIVER_DEFAULTS } from '../chunk-K5GBV4SA.js';
|
|
50
50
|
import { detectDomains, assetSearchDirs } from '../chunk-QVZA2MDT.js';
|
|
51
|
-
import { factoryAssetRoots } from '../chunk-
|
|
52
|
-
import { globalCacheRoot, sourceCacheKey, getGlobalCacheDir, resolveAgentDir, matchPin, coerceVersion, loadSkWorkspaceConfig, resolveSkWorkspaceConfig, storeManifestSlug } from '../chunk-
|
|
51
|
+
import { factoryAssetRoots } from '../chunk-OIDFK7SG.js';
|
|
52
|
+
import { globalCacheRoot, sourceCacheKey, getGlobalCacheDir, resolveAgentDir, matchPin, coerceVersion, loadSkWorkspaceConfig, resolveSkWorkspaceConfig, storeManifestSlug } from '../chunk-OZ7UNMTK.js';
|
|
53
53
|
import { SUPPORTED_DRIVER_TARGETS } from '../chunk-MENCWIHW.js';
|
|
54
54
|
import { SKAILE_MANIFEST_FILENAME, decodeSkaileManifest, loadSkPublishManifest, saveSkPublishManifest } from '../chunk-P4VHQA4N.js';
|
|
55
|
-
import { parseFrontmatter, scanDirectory } from '../chunk-
|
|
55
|
+
import { parseFrontmatter, scanDirectory } from '../chunk-MKZOK4JU.js';
|
|
56
56
|
import { parseAssetRef, ASSET_KINDS, isValidAssetName, slugifyAssetName, ASSET_NAME_HINT, assetRefToStr } from '../chunk-GEEW6SY2.js';
|
|
57
|
-
import { openSqlite } from '../chunk-
|
|
58
|
-
import '../chunk-
|
|
57
|
+
import { openSqlite } from '../chunk-FTG7CRFD.js';
|
|
58
|
+
import '../chunk-W4IPN3DD.js';
|
|
59
59
|
import '../chunk-KTBKW2FI.js';
|
|
60
60
|
import '../chunk-UQ6LFBPZ.js';
|
|
61
61
|
import '../chunk-DVSASEGO.js';
|
|
@@ -111,7 +111,7 @@ async function runSearch(kind, query, opts) {
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
async function searchIndex(query, kind) {
|
|
114
|
-
const { openLibrary: openLibrary2 } = await import('../open-library-
|
|
114
|
+
const { openLibrary: openLibrary2 } = await import('../open-library-JYVUN4CY.js');
|
|
115
115
|
const library = await openLibrary2();
|
|
116
116
|
try {
|
|
117
117
|
const defs = await library.listAssetDefs(kind ? { kind } : {});
|
|
@@ -164,7 +164,7 @@ async function searchLocal(query, kind, opts, showStore, airGapped) {
|
|
|
164
164
|
const factory = await searchFactory(projectDir, query, kind);
|
|
165
165
|
let entries = unionEntries(await searchIndex(query, kind), factory);
|
|
166
166
|
if (entries.length === 0 && !query && !kind && !airGapped) {
|
|
167
|
-
const { autoSyncForSearch } = await import('../source-
|
|
167
|
+
const { autoSyncForSearch } = await import('../source-CT6RH3CJ.js');
|
|
168
168
|
if (await autoSyncForSearch(projectDir)) {
|
|
169
169
|
entries = unionEntries(await searchIndex(query, kind), factory);
|
|
170
170
|
}
|
|
@@ -218,7 +218,7 @@ async function searchStore(query, kind, opts, airGapped) {
|
|
|
218
218
|
logInfo("air-gapped (cache_ttl: 0) \u2014 local sources only");
|
|
219
219
|
return;
|
|
220
220
|
}
|
|
221
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
221
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-JYVUN4CY.js');
|
|
222
222
|
try {
|
|
223
223
|
const remote = await openCatalogSource2({ projectDir: path35__default.resolve(opts.projectDir) });
|
|
224
224
|
const assets = await remote.listAssets(kind ? { kind } : {});
|
|
@@ -533,7 +533,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
533
533
|
return { entry: match ?? deployed };
|
|
534
534
|
}
|
|
535
535
|
const lookup = opts.storeLookup ?? (async (filter) => {
|
|
536
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
536
|
+
const { resolveCatalogSource } = await import('../open-library-JYVUN4CY.js');
|
|
537
537
|
const { source, close } = await resolveCatalogSource({ projectDir: opts.projectDir });
|
|
538
538
|
try {
|
|
539
539
|
return await source.listAssets(filter);
|
|
@@ -549,7 +549,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
549
549
|
);
|
|
550
550
|
return { entry: hit ? catalogAssetToEntry(hit) : null };
|
|
551
551
|
} catch (err) {
|
|
552
|
-
const { LocalCatalogDisabledError } = await import('../open-library-
|
|
552
|
+
const { LocalCatalogDisabledError } = await import('../open-library-JYVUN4CY.js');
|
|
553
553
|
const storeNote = err instanceof Error ? err.message : String(err);
|
|
554
554
|
const disabled = err instanceof LocalCatalogDisabledError || /catalog\.url/i.test(storeNote);
|
|
555
555
|
return { entry: null, storeNote, ...disabled ? { storeDisabled: true } : {} };
|
|
@@ -1169,7 +1169,7 @@ function makeCatalogCommand() {
|
|
|
1169
1169
|
return catalog;
|
|
1170
1170
|
}
|
|
1171
1171
|
async function runLocalCatalogTest(projectDir) {
|
|
1172
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
1172
|
+
const { resolveCatalogSource } = await import('../open-library-JYVUN4CY.js');
|
|
1173
1173
|
let resolved;
|
|
1174
1174
|
try {
|
|
1175
1175
|
resolved = await resolveCatalogSource({ projectDir });
|
|
@@ -2153,7 +2153,7 @@ async function ensureTargetsRegistered(projectDir) {
|
|
|
2153
2153
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
2154
2154
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
2155
2155
|
if (config.plugins && config.plugins.length > 0) {
|
|
2156
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
2156
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-JQAIKR3R.js');
|
|
2157
2157
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
2158
2158
|
for (const f of result.failed) logWarn(f.error);
|
|
2159
2159
|
}
|
|
@@ -3408,16 +3408,16 @@ function makeLibraryCommand() {
|
|
|
3408
3408
|
});
|
|
3409
3409
|
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(
|
|
3410
3410
|
async (lib, opts) => {
|
|
3411
|
-
const { runLibraryPublish } = await import('../library-publish-
|
|
3411
|
+
const { runLibraryPublish } = await import('../library-publish-37UBVMC3.js');
|
|
3412
3412
|
await withStoreErrorHandling(() => runLibraryPublish(lib, opts));
|
|
3413
3413
|
}
|
|
3414
3414
|
);
|
|
3415
3415
|
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) => {
|
|
3416
|
-
const { runLibraryRegister } = await import('../library-publish-
|
|
3416
|
+
const { runLibraryRegister } = await import('../library-publish-37UBVMC3.js');
|
|
3417
3417
|
await withStoreErrorHandling(() => runLibraryRegister(lib, opts));
|
|
3418
3418
|
});
|
|
3419
3419
|
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) => {
|
|
3420
|
-
const { runLibraryYank } = await import('../library-publish-
|
|
3420
|
+
const { runLibraryYank } = await import('../library-publish-37UBVMC3.js');
|
|
3421
3421
|
await withStoreErrorHandling(() => runLibraryYank(lib, opts));
|
|
3422
3422
|
});
|
|
3423
3423
|
return cmd;
|
|
@@ -4139,7 +4139,7 @@ function scheduleSoftDepPreview() {
|
|
|
4139
4139
|
}
|
|
4140
4140
|
async function loadAssets() {
|
|
4141
4141
|
softDepPreviewCache.clear();
|
|
4142
|
-
const { gatherAssetFeeds } = await import('../asset-feeds-
|
|
4142
|
+
const { gatherAssetFeeds } = await import('../asset-feeds-6UC7CUTI.js');
|
|
4143
4143
|
const { entries, domains, notes } = await gatherAssetFeeds(am, am.projectDir);
|
|
4144
4144
|
if (notes.length > 0) {
|
|
4145
4145
|
state.message = notes.map((n) => `[${n.feed}] ${n.message}`).join(" \u2022 ");
|
|
@@ -4345,7 +4345,7 @@ function reconcileCollapsedSets(rows) {
|
|
|
4345
4345
|
async function loadSourcesAndLibraries() {
|
|
4346
4346
|
try {
|
|
4347
4347
|
const [{ openLibraryManager: openLibraryManager2 }, { skaileHomeDir }, { getGlobalCacheDir: getGlobalCacheDir2 }] = await Promise.all([
|
|
4348
|
-
import('../open-library-
|
|
4348
|
+
import('../open-library-JYVUN4CY.js'),
|
|
4349
4349
|
import('../library/index.js'),
|
|
4350
4350
|
import('../core/index.js')
|
|
4351
4351
|
]);
|
|
@@ -5634,7 +5634,7 @@ function action2(fn) {
|
|
|
5634
5634
|
};
|
|
5635
5635
|
}
|
|
5636
5636
|
async function reconcileAndReport(projectDir, plugins) {
|
|
5637
|
-
const { reconcilePlugins } = await import('../plugin-store-
|
|
5637
|
+
const { reconcilePlugins } = await import('../plugin-store-JQAIKR3R.js');
|
|
5638
5638
|
if (plugins.length === 0) {
|
|
5639
5639
|
logInfo("No plugins declared \u2014 nothing to reconcile.");
|
|
5640
5640
|
return;
|
|
@@ -5650,7 +5650,7 @@ async function reconcileAndReport(projectDir, plugins) {
|
|
|
5650
5650
|
async function runInstall2(spec, opts) {
|
|
5651
5651
|
const projectDir = path35__default.resolve(opts.projectDir);
|
|
5652
5652
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
5653
|
-
const { specName } = await import('../plugin-store-
|
|
5653
|
+
const { specName } = await import('../plugin-store-JQAIKR3R.js');
|
|
5654
5654
|
const yamlPath = path35__default.join(projectDir, "skaile.yaml");
|
|
5655
5655
|
const editor = WorkspaceYamlEditor2.load(yamlPath);
|
|
5656
5656
|
const replaced = editor.addPlugin(spec, specName);
|
|
@@ -5662,7 +5662,7 @@ async function runInstall2(spec, opts) {
|
|
|
5662
5662
|
async function runRemove(name, opts) {
|
|
5663
5663
|
const projectDir = path35__default.resolve(opts.projectDir);
|
|
5664
5664
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
5665
|
-
const { specName } = await import('../plugin-store-
|
|
5665
|
+
const { specName } = await import('../plugin-store-JQAIKR3R.js');
|
|
5666
5666
|
const yamlPath = path35__default.join(projectDir, "skaile.yaml");
|
|
5667
5667
|
const editor = WorkspaceYamlEditor2.load(yamlPath);
|
|
5668
5668
|
const removed = editor.removePlugin(name, specName);
|
|
@@ -5690,7 +5690,7 @@ async function runList(opts) {
|
|
|
5690
5690
|
const registry = createPluginRegistry();
|
|
5691
5691
|
if (declared.length > 0) {
|
|
5692
5692
|
try {
|
|
5693
|
-
const { loadPlugins } = await import('../plugin-store-
|
|
5693
|
+
const { loadPlugins } = await import('../plugin-store-JQAIKR3R.js');
|
|
5694
5694
|
const result = await loadPlugins(projectDir, declared, registry);
|
|
5695
5695
|
for (const f of result.failed) logWarn(f.error);
|
|
5696
5696
|
} catch (err) {
|
|
@@ -6768,6 +6768,10 @@ function makeServeCommand() {
|
|
|
6768
6768
|
const { startAgentServer } = await import('../runner/index.js');
|
|
6769
6769
|
await startAgentServer({
|
|
6770
6770
|
port: parseInt(opts.port, 10),
|
|
6771
|
+
// The CLI owns its process, so a dead stdout pipe is fatal here.
|
|
6772
|
+
// `SKAILE_SERVE_EXIT_ON_BROKEN_STDOUT=0` opts out — the `local` /
|
|
6773
|
+
// `nix` deploy targets set it for children meant to outlive them.
|
|
6774
|
+
exitOnBrokenPipe: process.env.SKAILE_SERVE_EXIT_ON_BROKEN_STDOUT !== "0",
|
|
6771
6775
|
projectDir: opts.projectDir,
|
|
6772
6776
|
driver: opts.driver,
|
|
6773
6777
|
model: opts.model,
|
|
@@ -6779,12 +6783,12 @@ function makeServeCommand() {
|
|
|
6779
6783
|
);
|
|
6780
6784
|
}
|
|
6781
6785
|
async function ensurePluginsLoadedForServe(projectDir) {
|
|
6782
|
-
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-
|
|
6786
|
+
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-EEYMGGLO.js');
|
|
6783
6787
|
try {
|
|
6784
6788
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
6785
6789
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
6786
6790
|
if (!config.plugins || config.plugins.length === 0) return;
|
|
6787
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
6791
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-JQAIKR3R.js');
|
|
6788
6792
|
const { pluginRegistry } = await import('../plugin-registry/index.js');
|
|
6789
6793
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
6790
6794
|
if (result.loaded.length > 0) {
|
|
@@ -6798,14 +6802,14 @@ async function ensurePluginsLoadedForServe(projectDir) {
|
|
|
6798
6802
|
}
|
|
6799
6803
|
}
|
|
6800
6804
|
async function runCompileTest(opts) {
|
|
6801
|
-
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-
|
|
6805
|
+
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-EEYMGGLO.js');
|
|
6802
6806
|
const { tmpdir } = await import('os');
|
|
6803
6807
|
const { dirname: dirname4, join: join7, resolve: resolve5 } = await import('path');
|
|
6804
6808
|
const { fileURLToPath: fileURLToPath2 } = await import('url');
|
|
6805
6809
|
const { unlinkSync, existsSync: existsSync15 } = await import('fs');
|
|
6806
6810
|
const { spawn } = await import('child_process');
|
|
6807
6811
|
const { portableSpawnSync: portableSpawnSync2 } = await import('../core/index.js');
|
|
6808
|
-
const { MONOREPO_ROOT } = await import('../paths-
|
|
6812
|
+
const { MONOREPO_ROOT } = await import('../paths-4APA2PKT.js');
|
|
6809
6813
|
if (MONOREPO_ROOT === null) {
|
|
6810
6814
|
logErr2("--compile-test is only available inside the skaile-dev workspace.");
|
|
6811
6815
|
logInfo2("Run it from a checkout of skaile-ai/skaile-dev (the monorepo shell).");
|
|
@@ -7680,7 +7684,7 @@ function makeStoreCommand() {
|
|
|
7680
7684
|
process.exit(2);
|
|
7681
7685
|
});
|
|
7682
7686
|
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) => {
|
|
7683
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
7687
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-JYVUN4CY.js');
|
|
7684
7688
|
try {
|
|
7685
7689
|
const remote = await openCatalogSource2({ projectDir: path35__default.resolve(opts.projectDir) });
|
|
7686
7690
|
const assets = await remote.listAssets(opts.kind ? { kind: opts.kind } : {});
|
|
@@ -7713,8 +7717,8 @@ function makeStoreCommand() {
|
|
|
7713
7717
|
}
|
|
7714
7718
|
});
|
|
7715
7719
|
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) => {
|
|
7716
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
7717
|
-
const { supportsInstallManifest } = await import('../project-
|
|
7720
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-JYVUN4CY.js');
|
|
7721
|
+
const { supportsInstallManifest } = await import('../project-DKQACM3N.js');
|
|
7718
7722
|
try {
|
|
7719
7723
|
const remote = await openCatalogSource2({ projectDir: path35__default.resolve(opts.projectDir) });
|
|
7720
7724
|
const asset = await remote.resolve(ref);
|
|
@@ -8800,7 +8804,7 @@ async function bootstrapUserConfig() {
|
|
|
8800
8804
|
}
|
|
8801
8805
|
async function hydrateInitSources(resolved, created) {
|
|
8802
8806
|
try {
|
|
8803
|
-
const { ensureSourcesCloned } = await import('../ensure-sources-
|
|
8807
|
+
const { ensureSourcesCloned } = await import('../ensure-sources-VJZUHSFZ.js');
|
|
8804
8808
|
const hydrate = ensureSourcesCloned(resolved, { quiet: true });
|
|
8805
8809
|
for (const n of hydrate.cloned) created.push(`~/.skaile/cache/sources/${n}/`);
|
|
8806
8810
|
if (hydrate.failed.length > 0) {
|
|
@@ -8840,7 +8844,7 @@ function printInitSummary(resolved, projectDir, created) {
|
|
|
8840
8844
|
console.log();
|
|
8841
8845
|
}
|
|
8842
8846
|
program.command("setup").description("Interactive provider setup wizard").action(async () => {
|
|
8843
|
-
const { cmdSetup } = await import('../setup-
|
|
8847
|
+
const { cmdSetup } = await import('../setup-7FJNMKFA.js');
|
|
8844
8848
|
await cmdSetup([], { projectDir: process.cwd() });
|
|
8845
8849
|
});
|
|
8846
8850
|
program.addCommand(makeInstallCommand());
|