@skaile/workspaces 4.30.0 → 4.31.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 +18 -0
- package/dist/app-sdk/index.js +1 -1
- package/dist/{asset-feeds-K7N37CGF.js → asset-feeds-XNL4NQBM.js} +7 -7
- package/dist/{asset-feeds-K7N37CGF.js.map → asset-feeds-XNL4NQBM.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.js +3 -3
- package/dist/asset-manager/index.js +6 -6
- package/dist/asset-manager/installer.js +4 -4
- package/dist/bridge/drivers/claude-sdk.js +105 -17
- package/dist/bridge/drivers/claude-sdk.js.map +1 -1
- package/dist/bridge/drivers/codex.js +7 -7
- package/dist/bridge/drivers/continue.js +7 -7
- package/dist/bridge/drivers/echo.js +5 -5
- package/dist/bridge/drivers/gemini.js +8 -8
- package/dist/bridge/drivers/goose.js +7 -7
- package/dist/bridge/drivers/omp.js +8 -8
- package/dist/bridge/drivers/opencode.js +7 -7
- package/dist/bridge/drivers/qwen.js +8 -8
- package/dist/bridge/index.js +11 -11
- package/dist/bridge/src/drivers/claude-sdk.d.ts +24 -0
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
- package/dist/bridge/src/error-classifier.d.ts +13 -0
- package/dist/bridge/src/error-classifier.d.ts.map +1 -1
- package/dist/bridge/src/types.d.ts +15 -0
- package/dist/bridge/src/types.d.ts.map +1 -1
- package/dist/{chunk-3FVL4TBA.js → chunk-2RIM7HAG.js} +8 -8
- package/dist/{chunk-3FVL4TBA.js.map → chunk-2RIM7HAG.js.map} +1 -1
- package/dist/{chunk-IJTEDXWQ.js → chunk-3ZE7X5Y6.js} +3 -3
- package/dist/{chunk-IJTEDXWQ.js.map → chunk-3ZE7X5Y6.js.map} +1 -1
- package/dist/{chunk-MLM5JZAQ.js → chunk-4UGEZIMA.js} +4 -4
- package/dist/{chunk-MLM5JZAQ.js.map → chunk-4UGEZIMA.js.map} +1 -1
- package/dist/{chunk-UQ3JFN4N.js → chunk-54A5QAIV.js} +2 -2
- package/dist/{chunk-UQ3JFN4N.js.map → chunk-54A5QAIV.js.map} +1 -1
- package/dist/{chunk-KOVAB6W2.js → chunk-5KJLMR23.js} +5 -5
- package/dist/{chunk-KOVAB6W2.js.map → chunk-5KJLMR23.js.map} +1 -1
- package/dist/{chunk-TU2UTFVG.js → chunk-7ZXENJLO.js} +4 -4
- package/dist/{chunk-TU2UTFVG.js.map → chunk-7ZXENJLO.js.map} +1 -1
- package/dist/{chunk-RLIISQHO.js → chunk-A62RPNIZ.js} +4 -4
- package/dist/{chunk-RLIISQHO.js.map → chunk-A62RPNIZ.js.map} +1 -1
- package/dist/{chunk-HNWYNNIX.js → chunk-ATRQ2PKM.js} +2 -2
- package/dist/{chunk-HNWYNNIX.js.map → chunk-ATRQ2PKM.js.map} +1 -1
- package/dist/{chunk-K575XNKG.js → chunk-AVXSY4WO.js} +4 -4
- package/dist/{chunk-K575XNKG.js.map → chunk-AVXSY4WO.js.map} +1 -1
- package/dist/{chunk-UFWADBG6.js → chunk-BR2IXOWX.js} +3 -3
- package/dist/{chunk-UFWADBG6.js.map → chunk-BR2IXOWX.js.map} +1 -1
- package/dist/{chunk-CFKJQDPA.js → chunk-CMHRZOHQ.js} +5 -5
- package/dist/{chunk-CFKJQDPA.js.map → chunk-CMHRZOHQ.js.map} +1 -1
- package/dist/{chunk-GHX6XFLY.js → chunk-D6L7RQGP.js} +9 -9
- package/dist/{chunk-GHX6XFLY.js.map → chunk-D6L7RQGP.js.map} +1 -1
- package/dist/{chunk-TJRNJVGU.js → chunk-EINLFFP6.js} +3 -3
- package/dist/{chunk-TJRNJVGU.js.map → chunk-EINLFFP6.js.map} +1 -1
- package/dist/{chunk-GHLJV2FY.js → chunk-FF5L6IV3.js} +3 -3
- package/dist/{chunk-GHLJV2FY.js.map → chunk-FF5L6IV3.js.map} +1 -1
- package/dist/{chunk-LIWDDZO2.js → chunk-GH3BHLBF.js} +6 -6
- package/dist/{chunk-LIWDDZO2.js.map → chunk-GH3BHLBF.js.map} +1 -1
- package/dist/{chunk-PE3A6FFW.js → chunk-HCYS7GFP.js} +3 -3
- package/dist/{chunk-PE3A6FFW.js.map → chunk-HCYS7GFP.js.map} +1 -1
- package/dist/{chunk-XFWB3KFV.js → chunk-HL6SZ7Z3.js} +3 -3
- package/dist/{chunk-XFWB3KFV.js.map → chunk-HL6SZ7Z3.js.map} +1 -1
- package/dist/{chunk-DPLIN2RA.js → chunk-ICSCSM5D.js} +3 -3
- package/dist/{chunk-DPLIN2RA.js.map → chunk-ICSCSM5D.js.map} +1 -1
- package/dist/{chunk-3W4SDHJP.js → chunk-J3UD57GK.js} +45 -29
- package/dist/chunk-J3UD57GK.js.map +1 -0
- package/dist/{chunk-YVWUHPQW.js → chunk-JULFGNQN.js} +3 -3
- package/dist/{chunk-YVWUHPQW.js.map → chunk-JULFGNQN.js.map} +1 -1
- package/dist/{chunk-324NAWHN.js → chunk-JV2YHKOY.js} +7 -7
- package/dist/{chunk-324NAWHN.js.map → chunk-JV2YHKOY.js.map} +1 -1
- package/dist/{chunk-527MPCTU.js → chunk-JXTW3VCT.js} +4 -4
- package/dist/{chunk-527MPCTU.js.map → chunk-JXTW3VCT.js.map} +1 -1
- package/dist/{chunk-6S5KL76M.js → chunk-LX3FKVLL.js} +3 -3
- package/dist/{chunk-6S5KL76M.js.map → chunk-LX3FKVLL.js.map} +1 -1
- package/dist/{chunk-OHON7XSG.js → chunk-M42SMH7V.js} +3 -3
- package/dist/{chunk-OHON7XSG.js.map → chunk-M42SMH7V.js.map} +1 -1
- package/dist/{chunk-GZZPKAV5.js → chunk-MJHSLODD.js} +20 -3
- package/dist/chunk-MJHSLODD.js.map +1 -0
- package/dist/{chunk-NQOE57Q7.js → chunk-MX7LCQUQ.js} +4 -4
- package/dist/{chunk-NQOE57Q7.js.map → chunk-MX7LCQUQ.js.map} +1 -1
- package/dist/{chunk-KKBXGPJE.js → chunk-NHABMUXY.js} +5 -5
- package/dist/{chunk-KKBXGPJE.js.map → chunk-NHABMUXY.js.map} +1 -1
- package/dist/{chunk-MZQOSE2X.js → chunk-OGPNWRWU.js} +5 -5
- package/dist/{chunk-MZQOSE2X.js.map → chunk-OGPNWRWU.js.map} +1 -1
- package/dist/{chunk-CYX7TIWL.js → chunk-RTQTWQHW.js} +3 -3
- package/dist/{chunk-CYX7TIWL.js.map → chunk-RTQTWQHW.js.map} +1 -1
- package/dist/{chunk-C5OSO7HJ.js → chunk-VYNIZDAD.js} +3 -3
- package/dist/{chunk-C5OSO7HJ.js.map → chunk-VYNIZDAD.js.map} +1 -1
- package/dist/{chunk-RHXRXTBO.js → chunk-WORPEN3X.js} +4 -4
- package/dist/{chunk-RHXRXTBO.js.map → chunk-WORPEN3X.js.map} +1 -1
- package/dist/{chunk-UWU572Q6.js → chunk-WPISSDEI.js} +3 -3
- package/dist/{chunk-UWU572Q6.js.map → chunk-WPISSDEI.js.map} +1 -1
- package/dist/{chunk-BGY4KTU6.js → chunk-XBSQ4KMC.js} +10 -3
- package/dist/chunk-XBSQ4KMC.js.map +1 -0
- package/dist/{chunk-X22NBPTU.js → chunk-XSVWRISC.js} +7 -7
- package/dist/{chunk-X22NBPTU.js.map → chunk-XSVWRISC.js.map} +1 -1
- package/dist/cli/index.js +65 -56
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/serve.d.ts +5 -0
- package/dist/cli/src/commands/serve.d.ts.map +1 -1
- package/dist/connectors/index.js +14 -14
- package/dist/connectors-shared/index.js +2 -2
- package/dist/core/index.js +3 -3
- package/dist/core/provider-registry-credentials.js +2 -2
- package/dist/core/provider-registry.js +1 -1
- package/dist/core/src/index.d.ts +1 -1
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/provider-registry.d.ts +10 -0
- package/dist/core/src/provider-registry.d.ts.map +1 -1
- package/dist/deploy/index.js +3 -3
- package/dist/{ensure-sources-OGAOMNTT.js → ensure-sources-NEZZ6YY7.js} +9 -9
- package/dist/{ensure-sources-OGAOMNTT.js.map → ensure-sources-NEZZ6YY7.js.map} +1 -1
- package/dist/factory-assets/connectors/box.js +14 -14
- package/dist/factory-assets/connectors/deploy.js +14 -14
- package/dist/factory-assets/connectors/devserver.js +14 -14
- package/dist/factory-assets/connectors/flow/adapter.js +14 -14
- package/dist/factory-assets/connectors/flow/engine.js +4 -4
- package/dist/factory-assets/connectors/flow/run-flow.js +15 -15
- package/dist/factory-assets/connectors/flow.js +14 -14
- package/dist/factory-assets/connectors/git.js +14 -14
- package/dist/factory-assets/connectors/gmail.js +14 -14
- package/dist/factory-assets/connectors/googledrive.js +14 -14
- package/dist/factory-assets/connectors/local.js +14 -14
- package/dist/factory-assets/connectors/mattermost.js +14 -14
- package/dist/factory-assets/connectors/memory.js +14 -14
- package/dist/factory-assets/connectors/minio.js +14 -14
- package/dist/factory-assets/connectors/postgres.js +14 -14
- package/dist/factory-assets/connectors/s3.js +14 -14
- package/dist/factory-assets/connectors/sharepoint.js +14 -14
- package/dist/factory-assets/connectors/sqlite.js +14 -14
- package/dist/factory-assets/connectors/static-server.js +14 -14
- package/dist/factory-assets/connectors/tunnel.js +14 -14
- package/dist/factory-assets/connectors/webdav.js +14 -14
- package/dist/factory-assets/connectors/xstate-store.js +14 -14
- package/dist/factory-assets/connectors/xstate.js +14 -14
- package/dist/{flows-6WUQ2J4X.js → flows-QTUSWYKY.js} +6 -6
- package/dist/{flows-6WUQ2J4X.js.map → flows-QTUSWYKY.js.map} +1 -1
- package/dist/{helpers-AS2CN7BJ.js → helpers-XJEFDCMQ.js} +9 -9
- package/dist/{helpers-AS2CN7BJ.js.map → helpers-XJEFDCMQ.js.map} +1 -1
- package/dist/library/index.js +4 -4
- package/dist/{library-publish-SXQAWWPG.js → library-publish-N726WYMF.js} +13 -13
- package/dist/{library-publish-SXQAWWPG.js.map → library-publish-N726WYMF.js.map} +1 -1
- package/dist/{open-library-UVAFPWK7.js → open-library-D6ACC3TX.js} +11 -11
- package/dist/{open-library-UVAFPWK7.js.map → open-library-D6ACC3TX.js.map} +1 -1
- package/dist/{paths-6VH76QLZ.js → paths-IOOMNHTC.js} +5 -5
- package/dist/{paths-6VH76QLZ.js.map → paths-IOOMNHTC.js.map} +1 -1
- package/dist/{plugin-store-4MXOIEHP.js → plugin-store-OIIPB2MQ.js} +5 -5
- package/dist/{plugin-store-4MXOIEHP.js.map → plugin-store-OIIPB2MQ.js.map} +1 -1
- package/dist/{project-MHUUWPCN.js → project-NRCGUOM4.js} +10 -10
- package/dist/{project-MHUUWPCN.js.map → project-NRCGUOM4.js.map} +1 -1
- package/dist/resolver/index.js +3 -3
- package/dist/runner/index.js +20 -20
- package/dist/runner/src/serve.d.ts +6 -0
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/runner/src/session-builder.d.ts +7 -1
- package/dist/runner/src/session-builder.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +6 -6
- package/dist/sdk/bridge.js +11 -11
- package/dist/sdk/core.js +3 -3
- package/dist/sdk/flow.js +4 -4
- package/dist/sdk/index.js +20 -20
- package/dist/sdk/resolver.js +3 -3
- package/dist/sdk/runner.js +20 -20
- package/dist/sdk/session.js +2 -2
- package/dist/sdk/types.js +1 -1
- package/dist/session/index.js +2 -2
- package/dist/{setup-NQKJXRK5.js → setup-3GHCXHOO.js} +18 -18
- package/dist/{setup-NQKJXRK5.js.map → setup-3GHCXHOO.js.map} +1 -1
- package/dist/{skills-FA4VQEO7.js → skills-DH75K326.js} +5 -5
- package/dist/{skills-FA4VQEO7.js.map → skills-DH75K326.js.map} +1 -1
- package/dist/{source-T7DWNSDN.js → source-OAIEGNQB.js} +12 -12
- package/dist/{source-T7DWNSDN.js.map → source-OAIEGNQB.js.map} +1 -1
- package/dist/{source-manifest-publish-WBAWFUHX.js → source-manifest-publish-DQTXHT4V.js} +14 -14
- package/dist/{source-manifest-publish-WBAWFUHX.js.map → source-manifest-publish-DQTXHT4V.js.map} +1 -1
- package/dist/tui/index.js +20 -20
- package/dist/types/index.js +1 -1
- package/dist/types/src/events.d.ts +8 -0
- package/dist/types/src/events.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 +6 -6
- 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-3W4SDHJP.js.map +0 -1
- package/dist/chunk-BGY4KTU6.js.map +0 -1
- package/dist/chunk-GZZPKAV5.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-GMXG2JGN.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-XSVWRISC.js';
|
|
4
|
+
import { makeProvidersCommand, loadRegistryView, addProviderEntry, ProviderRegistryWriteError } from '../chunk-JV2YHKOY.js';
|
|
5
|
+
import { getStoreConfig, storeFetch, deviceLogin, loadStoreAuthConfig, logout, hasStoredAuth, isStoreAuthenticated, getStoreToken, getStoreIdentity } from '../chunk-3ZE7X5Y6.js';
|
|
6
|
+
import { makeSourceCommand, syncProjectSources } from '../chunk-2RIM7HAG.js';
|
|
7
|
+
import { openCatalogSource, openLibraryManager, createFullRegistry, openLibrary } from '../chunk-NHABMUXY.js';
|
|
8
|
+
import { logErr, S, logOk, logInfo, logWarn, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth } from '../chunk-RTQTWQHW.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-J3UD57GK.js';
|
|
11
|
+
import { buildClaudePluginFiles } from '../chunk-ATRQ2PKM.js';
|
|
12
|
+
import '../chunk-JXTW3VCT.js';
|
|
13
|
+
import '../chunk-54A5QAIV.js';
|
|
14
14
|
import '../chunk-P2DLXBZK.js';
|
|
15
15
|
import '../chunk-7IH3RKKK.js';
|
|
16
16
|
import '../chunk-4ZTPYIBE.js';
|
|
@@ -23,42 +23,42 @@ import '../chunk-OBYKJB4U.js';
|
|
|
23
23
|
import '../chunk-5LKOAX7I.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-HCYS7GFP.js';
|
|
27
|
+
import { runFlow, resumeFlow } from '../chunk-OGPNWRWU.js';
|
|
28
28
|
import '../chunk-4R6DROGN.js';
|
|
29
29
|
import { validateFlowVersions, parseSkillFrontmatter } from '../chunk-T3YUSWVK.js';
|
|
30
30
|
import '../chunk-Q6NDQ6BH.js';
|
|
31
31
|
import '../chunk-6X4DHKHP.js';
|
|
32
|
-
import '../chunk-
|
|
33
|
-
import '../chunk-
|
|
32
|
+
import '../chunk-D6L7RQGP.js';
|
|
33
|
+
import '../chunk-VYNIZDAD.js';
|
|
34
34
|
import '../chunk-2JANXYTJ.js';
|
|
35
|
-
import '../chunk-
|
|
36
|
-
import '../chunk-
|
|
37
|
-
import '../chunk-
|
|
35
|
+
import '../chunk-CMHRZOHQ.js';
|
|
36
|
+
import '../chunk-LX3FKVLL.js';
|
|
37
|
+
import '../chunk-EINLFFP6.js';
|
|
38
38
|
import '../chunk-LOO5CB5M.js';
|
|
39
|
-
import '../chunk-
|
|
40
|
-
import '../chunk-
|
|
41
|
-
import '../chunk-
|
|
39
|
+
import '../chunk-FF5L6IV3.js';
|
|
40
|
+
import '../chunk-4UGEZIMA.js';
|
|
41
|
+
import '../chunk-XBSQ4KMC.js';
|
|
42
42
|
import '../chunk-YROR332M.js';
|
|
43
|
-
import { getProviderPreset, AI_PROVIDER_PRESETS } from '../chunk-
|
|
43
|
+
import { getProviderPreset, AI_PROVIDER_PRESETS } from '../chunk-WORPEN3X.js';
|
|
44
44
|
import '../chunk-6E6PKKAD.js';
|
|
45
45
|
import '../chunk-IFGTRL2I.js';
|
|
46
|
-
import { projectAiAssetsRoots, loadFlow, loadAllFlowEntries, findFlowFileInRoots } from '../chunk-
|
|
46
|
+
import { projectAiAssetsRoots, loadFlow, loadAllFlowEntries, findFlowFileInRoots } from '../chunk-JULFGNQN.js';
|
|
47
47
|
import '../chunk-YYH5EVPM.js';
|
|
48
48
|
import '../chunk-DIQDYNXZ.js';
|
|
49
49
|
import '../chunk-K3IBZ2UZ.js';
|
|
50
50
|
import { nodeLabel, nodeSkillAsset, nodeIsInert, nodeIsOptional, nodeRunKind, flowSkillVersionPins } from '../chunk-UDFWBALP.js';
|
|
51
51
|
import '../chunk-ORH2BZEM.js';
|
|
52
|
-
import '../chunk-
|
|
53
|
-
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-
|
|
54
|
-
import { getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-
|
|
52
|
+
import '../chunk-MX7LCQUQ.js';
|
|
53
|
+
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-5KJLMR23.js';
|
|
54
|
+
import { getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-BR2IXOWX.js';
|
|
55
55
|
import '../chunk-HGPSZXZP.js';
|
|
56
56
|
import '../chunk-VOEBLPXO.js';
|
|
57
57
|
import '../chunk-R7FOF242.js';
|
|
58
58
|
import '../chunk-JXT46QFC.js';
|
|
59
|
-
import '../chunk-
|
|
59
|
+
import '../chunk-HL6SZ7Z3.js';
|
|
60
60
|
import '../chunk-CGYEHQOX.js';
|
|
61
|
-
import { resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, WorkspaceYamlEditor, resolveLibraryDir, checkAgentSkillConformance, aiResourceRoots, readLock, workspaceProviderRegistryPath, userProviderRegistryPath, loadProviderRegistryFile } from '../chunk-
|
|
61
|
+
import { resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, WorkspaceYamlEditor, resolveLibraryDir, checkAgentSkillConformance, aiResourceRoots, readLock, workspaceProviderRegistryPath, userProviderRegistryPath, loadProviderRegistryFile } from '../chunk-WPISSDEI.js';
|
|
62
62
|
import '../chunk-4GY63JU6.js';
|
|
63
63
|
import { factoryAssetRoots } from '../chunk-5RHPNNWP.js';
|
|
64
64
|
import '../chunk-F3HNW354.js';
|
|
@@ -70,8 +70,8 @@ import { SKAILE_MANIFEST_FILENAME, decodeSkaileManifest, loadSkPublishManifest,
|
|
|
70
70
|
import { parseFrontmatter, scanDirectory } from '../chunk-2FBPAR2V.js';
|
|
71
71
|
import { parseAssetRef, ASSET_KINDS, isValidAssetName, slugifyAssetName, ASSET_NAME_HINT, assetRefToStr } from '../chunk-GEEW6SY2.js';
|
|
72
72
|
import { openSqlite } from '../chunk-JMKB7IB4.js';
|
|
73
|
-
import { portableSpawn, portableSpawnSync } from '../chunk-
|
|
74
|
-
import { parseModelRef, resolveEntryBaseUrl } from '../chunk-
|
|
73
|
+
import { portableSpawn, portableSpawnSync } from '../chunk-ICSCSM5D.js';
|
|
74
|
+
import { parseModelRef, resolveEntryBaseUrl } from '../chunk-MJHSLODD.js';
|
|
75
75
|
import '../chunk-C3CAXQMA.js';
|
|
76
76
|
import '../chunk-BOFL7GIF.js';
|
|
77
77
|
import '../chunk-KTBKW2FI.js';
|
|
@@ -129,7 +129,7 @@ async function runSearch(kind, query, opts) {
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
async function searchIndex(query, kind) {
|
|
132
|
-
const { openLibrary: openLibrary2 } = await import('../open-library-
|
|
132
|
+
const { openLibrary: openLibrary2 } = await import('../open-library-D6ACC3TX.js');
|
|
133
133
|
const library = await openLibrary2();
|
|
134
134
|
try {
|
|
135
135
|
const defs = await library.listAssetDefs(kind ? { kind } : {});
|
|
@@ -182,7 +182,7 @@ async function searchLocal(query, kind, opts, showStore, airGapped) {
|
|
|
182
182
|
const factory = await searchFactory(projectDir, query, kind);
|
|
183
183
|
let entries = unionEntries(await searchIndex(query, kind), factory);
|
|
184
184
|
if (entries.length === 0 && !query && !kind && !airGapped) {
|
|
185
|
-
const { autoSyncForSearch } = await import('../source-
|
|
185
|
+
const { autoSyncForSearch } = await import('../source-OAIEGNQB.js');
|
|
186
186
|
if (await autoSyncForSearch(projectDir)) {
|
|
187
187
|
entries = unionEntries(await searchIndex(query, kind), factory);
|
|
188
188
|
}
|
|
@@ -236,7 +236,7 @@ async function searchStore(query, kind, opts, airGapped) {
|
|
|
236
236
|
logInfo("air-gapped (cache_ttl: 0) \u2014 local sources only");
|
|
237
237
|
return;
|
|
238
238
|
}
|
|
239
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
239
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-D6ACC3TX.js');
|
|
240
240
|
try {
|
|
241
241
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
242
242
|
const assets = await remote.listAssets(kind ? { kind } : {});
|
|
@@ -551,7 +551,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
551
551
|
return { entry: match ?? deployed };
|
|
552
552
|
}
|
|
553
553
|
const lookup = opts.storeLookup ?? (async (filter) => {
|
|
554
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
554
|
+
const { resolveCatalogSource } = await import('../open-library-D6ACC3TX.js');
|
|
555
555
|
const { source, close } = await resolveCatalogSource({ projectDir: opts.projectDir });
|
|
556
556
|
try {
|
|
557
557
|
return await source.listAssets(filter);
|
|
@@ -567,7 +567,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
567
567
|
);
|
|
568
568
|
return { entry: hit ? catalogAssetToEntry(hit) : null };
|
|
569
569
|
} catch (err) {
|
|
570
|
-
const { LocalCatalogDisabledError } = await import('../open-library-
|
|
570
|
+
const { LocalCatalogDisabledError } = await import('../open-library-D6ACC3TX.js');
|
|
571
571
|
const storeNote = err instanceof Error ? err.message : String(err);
|
|
572
572
|
const disabled = err instanceof LocalCatalogDisabledError || /catalog\.url/i.test(storeNote);
|
|
573
573
|
return { entry: null, storeNote, ...disabled ? { storeDisabled: true } : {} };
|
|
@@ -1187,7 +1187,7 @@ function makeCatalogCommand() {
|
|
|
1187
1187
|
return catalog;
|
|
1188
1188
|
}
|
|
1189
1189
|
async function runLocalCatalogTest(projectDir) {
|
|
1190
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
1190
|
+
const { resolveCatalogSource } = await import('../open-library-D6ACC3TX.js');
|
|
1191
1191
|
let resolved;
|
|
1192
1192
|
try {
|
|
1193
1193
|
resolved = await resolveCatalogSource({ projectDir });
|
|
@@ -2249,7 +2249,7 @@ async function ensureTargetsRegistered(projectDir) {
|
|
|
2249
2249
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
2250
2250
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
2251
2251
|
if (config.plugins && config.plugins.length > 0) {
|
|
2252
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
2252
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-OIIPB2MQ.js');
|
|
2253
2253
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
2254
2254
|
for (const f of result.failed) logWarn(f.error);
|
|
2255
2255
|
}
|
|
@@ -3504,16 +3504,16 @@ function makeLibraryCommand() {
|
|
|
3504
3504
|
});
|
|
3505
3505
|
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(
|
|
3506
3506
|
async (lib, opts) => {
|
|
3507
|
-
const { runLibraryPublish } = await import('../library-publish-
|
|
3507
|
+
const { runLibraryPublish } = await import('../library-publish-N726WYMF.js');
|
|
3508
3508
|
await withStoreErrorHandling(() => runLibraryPublish(lib, opts));
|
|
3509
3509
|
}
|
|
3510
3510
|
);
|
|
3511
3511
|
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) => {
|
|
3512
|
-
const { runLibraryRegister } = await import('../library-publish-
|
|
3512
|
+
const { runLibraryRegister } = await import('../library-publish-N726WYMF.js');
|
|
3513
3513
|
await withStoreErrorHandling(() => runLibraryRegister(lib, opts));
|
|
3514
3514
|
});
|
|
3515
3515
|
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) => {
|
|
3516
|
-
const { runLibraryYank } = await import('../library-publish-
|
|
3516
|
+
const { runLibraryYank } = await import('../library-publish-N726WYMF.js');
|
|
3517
3517
|
await withStoreErrorHandling(() => runLibraryYank(lib, opts));
|
|
3518
3518
|
});
|
|
3519
3519
|
return cmd;
|
|
@@ -4235,7 +4235,7 @@ function scheduleSoftDepPreview() {
|
|
|
4235
4235
|
}
|
|
4236
4236
|
async function loadAssets() {
|
|
4237
4237
|
softDepPreviewCache.clear();
|
|
4238
|
-
const { gatherAssetFeeds } = await import('../asset-feeds-
|
|
4238
|
+
const { gatherAssetFeeds } = await import('../asset-feeds-XNL4NQBM.js');
|
|
4239
4239
|
const { entries, domains, notes } = await gatherAssetFeeds(am, am.projectDir);
|
|
4240
4240
|
if (notes.length > 0) {
|
|
4241
4241
|
state.message = notes.map((n) => `[${n.feed}] ${n.message}`).join(" \u2022 ");
|
|
@@ -4441,7 +4441,7 @@ function reconcileCollapsedSets(rows) {
|
|
|
4441
4441
|
async function loadSourcesAndLibraries() {
|
|
4442
4442
|
try {
|
|
4443
4443
|
const [{ openLibraryManager: openLibraryManager2 }, { skaileHomeDir }, { getGlobalCacheDir: getGlobalCacheDir2 }] = await Promise.all([
|
|
4444
|
-
import('../open-library-
|
|
4444
|
+
import('../open-library-D6ACC3TX.js'),
|
|
4445
4445
|
import('../library/index.js'),
|
|
4446
4446
|
import('../core/index.js')
|
|
4447
4447
|
]);
|
|
@@ -6083,7 +6083,7 @@ function action2(fn) {
|
|
|
6083
6083
|
};
|
|
6084
6084
|
}
|
|
6085
6085
|
async function reconcileAndReport(projectDir, plugins) {
|
|
6086
|
-
const { reconcilePlugins } = await import('../plugin-store-
|
|
6086
|
+
const { reconcilePlugins } = await import('../plugin-store-OIIPB2MQ.js');
|
|
6087
6087
|
if (plugins.length === 0) {
|
|
6088
6088
|
logInfo("No plugins declared \u2014 nothing to reconcile.");
|
|
6089
6089
|
return;
|
|
@@ -6099,7 +6099,7 @@ async function reconcileAndReport(projectDir, plugins) {
|
|
|
6099
6099
|
async function runInstall2(spec, opts) {
|
|
6100
6100
|
const projectDir = path36__default.resolve(opts.projectDir);
|
|
6101
6101
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
6102
|
-
const { specName } = await import('../plugin-store-
|
|
6102
|
+
const { specName } = await import('../plugin-store-OIIPB2MQ.js');
|
|
6103
6103
|
const yamlPath = path36__default.join(projectDir, "skaile.yaml");
|
|
6104
6104
|
const editor = WorkspaceYamlEditor2.load(yamlPath);
|
|
6105
6105
|
const replaced = editor.addPlugin(spec, specName);
|
|
@@ -6111,7 +6111,7 @@ async function runInstall2(spec, opts) {
|
|
|
6111
6111
|
async function runRemove(name, opts) {
|
|
6112
6112
|
const projectDir = path36__default.resolve(opts.projectDir);
|
|
6113
6113
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
6114
|
-
const { specName } = await import('../plugin-store-
|
|
6114
|
+
const { specName } = await import('../plugin-store-OIIPB2MQ.js');
|
|
6115
6115
|
const yamlPath = path36__default.join(projectDir, "skaile.yaml");
|
|
6116
6116
|
const editor = WorkspaceYamlEditor2.load(yamlPath);
|
|
6117
6117
|
const removed = editor.removePlugin(name, specName);
|
|
@@ -6139,7 +6139,7 @@ async function runList(opts) {
|
|
|
6139
6139
|
const registry = createPluginRegistry();
|
|
6140
6140
|
if (declared.length > 0) {
|
|
6141
6141
|
try {
|
|
6142
|
-
const { loadPlugins } = await import('../plugin-store-
|
|
6142
|
+
const { loadPlugins } = await import('../plugin-store-OIIPB2MQ.js');
|
|
6143
6143
|
const result = await loadPlugins(projectDir, declared, registry);
|
|
6144
6144
|
for (const f of result.failed) logWarn(f.error);
|
|
6145
6145
|
} catch (err) {
|
|
@@ -7212,11 +7212,17 @@ function makeReplCommand() {
|
|
|
7212
7212
|
});
|
|
7213
7213
|
});
|
|
7214
7214
|
}
|
|
7215
|
+
function parseProviderIds(raw) {
|
|
7216
|
+
return (raw ?? "").split(",").map((id) => id.trim()).filter((id) => id.length > 0);
|
|
7217
|
+
}
|
|
7215
7218
|
function makeServeCommand() {
|
|
7216
7219
|
return new Command("serve").description("Start a WebSocket agent server (for platform integration)").option("--port <port>", "WebSocket server port", "8080").option("--project-dir <path>", "Project directory", process.cwd()).option(
|
|
7217
7220
|
"--managed-codex-config <path>",
|
|
7218
7221
|
"Explicit private host configuration for managed Codex"
|
|
7219
|
-
).option("--driver <name>", "Override driver").option("--model <name>", "Override model").option("--provider <name>", "Override provider").option("--session-id <id>", "Session ID for conversation continuity").option("--resume-session-id <id>", "OMP session ID to resume (restores native OMP context)").option(
|
|
7222
|
+
).option("--driver <name>", "Override driver").option("--model <name>", "Override model").option("--provider <name>", "Override provider").option("--session-id <id>", "Session ID for conversation continuity").option("--resume-session-id <id>", "OMP session ID to resume (restores native OMP context)").option(
|
|
7223
|
+
"--providers <ids>",
|
|
7224
|
+
"Restrict the AI provider registry to these entry ids (comma-separated)"
|
|
7225
|
+
).option("--compile-test", "Build a compiled binary and run it (simulates Docker environment)").option(
|
|
7220
7226
|
"--with-codex",
|
|
7221
7227
|
"Include the Codex backend in the compiled binary (used with --compile-test)"
|
|
7222
7228
|
).action(
|
|
@@ -7237,6 +7243,7 @@ function makeServeCommand() {
|
|
|
7237
7243
|
} else {
|
|
7238
7244
|
await ensurePluginsLoadedForServe(opts.projectDir);
|
|
7239
7245
|
}
|
|
7246
|
+
const providers = parseProviderIds(opts.providers);
|
|
7240
7247
|
await startAgentServer({
|
|
7241
7248
|
port: parseInt(opts.port, 10),
|
|
7242
7249
|
authTokenIntake: wsAuth,
|
|
@@ -7250,18 +7257,19 @@ function makeServeCommand() {
|
|
|
7250
7257
|
model: opts.model,
|
|
7251
7258
|
provider: opts.provider,
|
|
7252
7259
|
sessionId: opts.sessionId,
|
|
7253
|
-
resumeSessionId: opts.resumeSessionId
|
|
7260
|
+
resumeSessionId: opts.resumeSessionId,
|
|
7261
|
+
...providers.length > 0 ? { providers } : {}
|
|
7254
7262
|
});
|
|
7255
7263
|
}
|
|
7256
7264
|
);
|
|
7257
7265
|
}
|
|
7258
7266
|
async function ensurePluginsLoadedForServe(projectDir) {
|
|
7259
|
-
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-
|
|
7267
|
+
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-XJEFDCMQ.js');
|
|
7260
7268
|
try {
|
|
7261
7269
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
7262
7270
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
7263
7271
|
if (!config.plugins || config.plugins.length === 0) return;
|
|
7264
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
7272
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-OIIPB2MQ.js');
|
|
7265
7273
|
const { pluginRegistry } = await import('../plugin-registry/index.js');
|
|
7266
7274
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
7267
7275
|
if (result.loaded.length > 0) {
|
|
@@ -7275,14 +7283,14 @@ async function ensurePluginsLoadedForServe(projectDir) {
|
|
|
7275
7283
|
}
|
|
7276
7284
|
}
|
|
7277
7285
|
async function runCompileTest(opts) {
|
|
7278
|
-
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-
|
|
7286
|
+
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-XJEFDCMQ.js');
|
|
7279
7287
|
const { tmpdir } = await import('os');
|
|
7280
7288
|
const { dirname: dirname4, join: join7, resolve: resolve5 } = await import('path');
|
|
7281
7289
|
const { fileURLToPath: fileURLToPath2 } = await import('url');
|
|
7282
7290
|
const { unlinkSync, existsSync: existsSync15 } = await import('fs');
|
|
7283
7291
|
const { spawn } = await import('child_process');
|
|
7284
7292
|
const { portableSpawnSync: portableSpawnSync2 } = await import('../core/index.js');
|
|
7285
|
-
const { MONOREPO_ROOT } = await import('../paths-
|
|
7293
|
+
const { MONOREPO_ROOT } = await import('../paths-IOOMNHTC.js');
|
|
7286
7294
|
if (MONOREPO_ROOT === null) {
|
|
7287
7295
|
logErr2("--compile-test is only available inside the skaile-dev workspace.");
|
|
7288
7296
|
logInfo2("Run it from a checkout of skaile-ai/skaile-dev (the monorepo shell).");
|
|
@@ -7330,6 +7338,7 @@ async function runCompileTest(opts) {
|
|
|
7330
7338
|
if (opts.model) serveArgs.push("--model", opts.model);
|
|
7331
7339
|
if (opts.provider) serveArgs.push("--provider", opts.provider);
|
|
7332
7340
|
if (opts.sessionId) serveArgs.push("--session-id", opts.sessionId);
|
|
7341
|
+
if (opts.providers) serveArgs.push("--providers", opts.providers);
|
|
7333
7342
|
logInfo2(`Running: ${S2.dim(serveArgs.join(" "))}`);
|
|
7334
7343
|
console.log();
|
|
7335
7344
|
const [serveBin, ...serveRest] = serveArgs;
|
|
@@ -8157,7 +8166,7 @@ function makeStoreCommand() {
|
|
|
8157
8166
|
process.exit(2);
|
|
8158
8167
|
});
|
|
8159
8168
|
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) => {
|
|
8160
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
8169
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-D6ACC3TX.js');
|
|
8161
8170
|
try {
|
|
8162
8171
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
8163
8172
|
const assets = await remote.listAssets(opts.kind ? { kind: opts.kind } : {});
|
|
@@ -8190,8 +8199,8 @@ function makeStoreCommand() {
|
|
|
8190
8199
|
}
|
|
8191
8200
|
});
|
|
8192
8201
|
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) => {
|
|
8193
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
8194
|
-
const { supportsInstallManifest } = await import('../project-
|
|
8202
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-D6ACC3TX.js');
|
|
8203
|
+
const { supportsInstallManifest } = await import('../project-NRCGUOM4.js');
|
|
8195
8204
|
try {
|
|
8196
8205
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
8197
8206
|
const asset = await remote.resolve(ref);
|
|
@@ -9279,7 +9288,7 @@ async function bootstrapUserConfig() {
|
|
|
9279
9288
|
}
|
|
9280
9289
|
async function hydrateInitSources(resolved, created) {
|
|
9281
9290
|
try {
|
|
9282
|
-
const { ensureSourcesCloned } = await import('../ensure-sources-
|
|
9291
|
+
const { ensureSourcesCloned } = await import('../ensure-sources-NEZZ6YY7.js');
|
|
9283
9292
|
const hydrate = ensureSourcesCloned(resolved, { quiet: true });
|
|
9284
9293
|
for (const n of hydrate.cloned) created.push(`~/.skaile/cache/sources/${n}/`);
|
|
9285
9294
|
if (hydrate.failed.length > 0) {
|
|
@@ -9319,7 +9328,7 @@ function printInitSummary(resolved, projectDir, created) {
|
|
|
9319
9328
|
console.log();
|
|
9320
9329
|
}
|
|
9321
9330
|
program.command("setup").description("Interactive provider setup wizard").action(async () => {
|
|
9322
|
-
const { cmdSetup } = await import('../setup-
|
|
9331
|
+
const { cmdSetup } = await import('../setup-3GHCXHOO.js');
|
|
9323
9332
|
await cmdSetup([], { projectDir: process.cwd() });
|
|
9324
9333
|
});
|
|
9325
9334
|
program.addCommand(makeInstallCommand());
|