@skaile/workspaces 4.15.0 → 4.16.1
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/{asset-feeds-WJUCRFUC.js → asset-feeds-XOSCB6D5.js} +7 -7
- package/dist/{asset-feeds-WJUCRFUC.js.map → asset-feeds-XOSCB6D5.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 +5 -5
- package/dist/bridge/drivers/codex.js +5 -5
- package/dist/bridge/drivers/continue.js +7 -7
- package/dist/bridge/drivers/echo.js +1 -1
- package/dist/bridge/drivers/gemini.js +5 -5
- package/dist/bridge/drivers/goose.js +7 -7
- package/dist/bridge/drivers/omp.js +2 -2
- package/dist/bridge/drivers/opencode.js +81 -44
- package/dist/bridge/drivers/opencode.js.map +1 -1
- package/dist/bridge/drivers/qwen.js +5 -5
- package/dist/bridge/index.js +6 -6
- package/dist/bridge/src/drivers/_subprocess-cli.d.ts.map +1 -1
- package/dist/bridge/src/drivers/opencode.d.ts +18 -5
- package/dist/bridge/src/drivers/opencode.d.ts.map +1 -1
- package/dist/{chunk-NXTLDFLA.js → chunk-5RHPNNWP.js} +3 -3
- package/dist/{chunk-NXTLDFLA.js.map → chunk-5RHPNNWP.js.map} +1 -1
- package/dist/{chunk-WZQWZJYL.js → chunk-6GSZLKA5.js} +3 -3
- package/dist/{chunk-WZQWZJYL.js.map → chunk-6GSZLKA5.js.map} +1 -1
- package/dist/{chunk-3IAGNZH3.js → chunk-AJRRSHYB.js} +5 -5
- package/dist/{chunk-3IAGNZH3.js.map → chunk-AJRRSHYB.js.map} +1 -1
- package/dist/{chunk-LQMALDDB.js → chunk-CJGNYHPG.js} +2 -2
- package/dist/{chunk-LQMALDDB.js.map → chunk-CJGNYHPG.js.map} +1 -1
- package/dist/{chunk-QWGSKDD7.js → chunk-DF7C3KZK.js} +116 -5
- package/dist/chunk-DF7C3KZK.js.map +1 -0
- package/dist/{chunk-NKRAHM7T.js → chunk-GMXG2JGN.js} +3 -3
- package/dist/{chunk-NKRAHM7T.js.map → chunk-GMXG2JGN.js.map} +1 -1
- package/dist/{chunk-LYENHKH5.js → chunk-GP7VFWAO.js} +9 -9
- package/dist/{chunk-LYENHKH5.js.map → chunk-GP7VFWAO.js.map} +1 -1
- package/dist/{chunk-BRNGJTHH.js → chunk-IJTEDXWQ.js} +3 -3
- package/dist/{chunk-BRNGJTHH.js.map → chunk-IJTEDXWQ.js.map} +1 -1
- package/dist/{chunk-PB2Y4AMQ.js → chunk-J7WFDLV6.js} +4 -3
- package/dist/chunk-J7WFDLV6.js.map +1 -0
- package/dist/{chunk-RDOEZBVB.js → chunk-K2S4ECDJ.js} +6 -6
- package/dist/{chunk-RDOEZBVB.js.map → chunk-K2S4ECDJ.js.map} +1 -1
- package/dist/{chunk-VJKTXQ6D.js → chunk-KEBJL3QI.js} +3 -3
- package/dist/{chunk-VJKTXQ6D.js.map → chunk-KEBJL3QI.js.map} +1 -1
- package/dist/{chunk-A2T4WIZL.js → chunk-KTCMBEEB.js} +3 -3
- package/dist/{chunk-A2T4WIZL.js.map → chunk-KTCMBEEB.js.map} +1 -1
- package/dist/{chunk-LCKZCLXA.js → chunk-KU473DRO.js} +2 -2
- package/dist/{chunk-LCKZCLXA.js.map → chunk-KU473DRO.js.map} +1 -1
- package/dist/{chunk-ZXQMKXWR.js → chunk-LDT6NGSL.js} +3 -3
- package/dist/{chunk-ZXQMKXWR.js.map → chunk-LDT6NGSL.js.map} +1 -1
- package/dist/{chunk-MK3OCWBG.js → chunk-MC2MF4U5.js} +15 -9
- package/dist/chunk-MC2MF4U5.js.map +1 -0
- package/dist/{chunk-E4Q5GKO2.js → chunk-MY5TANRN.js} +52 -14
- package/dist/chunk-MY5TANRN.js.map +1 -0
- package/dist/{chunk-6GHXBCE5.js → chunk-OH2ULGQX.js} +6 -6
- package/dist/{chunk-6GHXBCE5.js.map → chunk-OH2ULGQX.js.map} +1 -1
- package/dist/{chunk-DPKH7AK7.js → chunk-OWKFJBSR.js} +7 -7
- package/dist/{chunk-DPKH7AK7.js.map → chunk-OWKFJBSR.js.map} +1 -1
- package/dist/{chunk-ZXPIKQAN.js → chunk-PQE2MYB6.js} +3 -3
- package/dist/{chunk-ZXPIKQAN.js.map → chunk-PQE2MYB6.js.map} +1 -1
- package/dist/{chunk-KFKOXYQC.js → chunk-QD4IQSDE.js} +7 -7
- package/dist/{chunk-KFKOXYQC.js.map → chunk-QD4IQSDE.js.map} +1 -1
- package/dist/{chunk-FVKSVVVP.js → chunk-RPC2C3QL.js} +3 -3
- package/dist/{chunk-FVKSVVVP.js.map → chunk-RPC2C3QL.js.map} +1 -1
- package/dist/{chunk-I6BO67AL.js → chunk-S3M2U3JP.js} +4 -4
- package/dist/{chunk-I6BO67AL.js.map → chunk-S3M2U3JP.js.map} +1 -1
- package/dist/{chunk-EHKYZ7TL.js → chunk-SPJWQXYF.js} +5 -5
- package/dist/{chunk-EHKYZ7TL.js.map → chunk-SPJWQXYF.js.map} +1 -1
- package/dist/{chunk-W64ZXABT.js → chunk-TEQDWOBS.js} +3 -3
- package/dist/{chunk-W64ZXABT.js.map → chunk-TEQDWOBS.js.map} +1 -1
- package/dist/{chunk-WQPLZUXU.js → chunk-UFWADBG6.js} +4 -4
- package/dist/{chunk-WQPLZUXU.js.map → chunk-UFWADBG6.js.map} +1 -1
- package/dist/{chunk-7NRF7BQB.js → chunk-UWU572Q6.js} +4 -4
- package/dist/{chunk-7NRF7BQB.js.map → chunk-UWU572Q6.js.map} +1 -1
- package/dist/{chunk-IOFPX6OO.js → chunk-VE2KMHG6.js} +38 -20
- package/dist/chunk-VE2KMHG6.js.map +1 -0
- package/dist/{chunk-2E3EGCQ3.js → chunk-WDBEHNOJ.js} +2 -2
- package/dist/{chunk-2E3EGCQ3.js.map → chunk-WDBEHNOJ.js.map} +1 -1
- package/dist/{chunk-4JGTXBQB.js → chunk-XFWB3KFV.js} +4 -4
- package/dist/{chunk-4JGTXBQB.js.map → chunk-XFWB3KFV.js.map} +1 -1
- package/dist/cli/index.js +64 -51
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/rebuild.d.ts.map +1 -1
- package/dist/connectors/config.js +2 -2
- package/dist/connectors/index.js +9 -9
- package/dist/connectors/src/config.d.ts +20 -3
- package/dist/connectors/src/config.d.ts.map +1 -1
- package/dist/connectors/src/index.d.ts +1 -1
- package/dist/connectors/src/index.d.ts.map +1 -1
- package/dist/core/index.js +3 -3
- package/dist/core/runtime-assets.js +2 -2
- package/dist/core/src/index.d.ts +2 -2
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/workspace-config.d.ts +38 -4
- package/dist/core/src/workspace-config.d.ts.map +1 -1
- package/dist/core/workspace-config.js +1 -1
- package/dist/deploy/index.js +3 -3
- package/dist/{ensure-sources-6QOYW2PI.js → ensure-sources-GAWYYBUI.js} +9 -9
- package/dist/{ensure-sources-6QOYW2PI.js.map → ensure-sources-GAWYYBUI.js.map} +1 -1
- package/dist/factory-assets/connectors/box.js +9 -9
- package/dist/factory-assets/connectors/deploy.js +9 -9
- package/dist/factory-assets/connectors/devserver.js +9 -9
- package/dist/factory-assets/connectors/flow/adapter.js +9 -9
- package/dist/factory-assets/connectors/flow/engine.js +4 -4
- package/dist/factory-assets/connectors/flow/run-flow.js +10 -10
- package/dist/factory-assets/connectors/flow.js +9 -9
- package/dist/factory-assets/connectors/git/CONNECTOR.md +3 -3
- package/dist/factory-assets/connectors/git/driver.d.ts +6 -0
- package/dist/factory-assets/connectors/git/driver.d.ts.map +1 -1
- package/dist/factory-assets/connectors/git.js +9 -9
- package/dist/factory-assets/connectors/gmail.js +9 -9
- package/dist/factory-assets/connectors/googledrive.js +9 -9
- package/dist/factory-assets/connectors/local.js +9 -9
- package/dist/factory-assets/connectors/mattermost.js +9 -9
- package/dist/factory-assets/connectors/memory.js +9 -9
- package/dist/factory-assets/connectors/minio.js +9 -9
- package/dist/factory-assets/connectors/postgres.js +9 -9
- package/dist/factory-assets/connectors/s3.js +9 -9
- package/dist/factory-assets/connectors/sharepoint.js +9 -9
- package/dist/factory-assets/connectors/sqlite.js +9 -9
- package/dist/factory-assets/connectors/static-server.js +9 -9
- package/dist/factory-assets/connectors/tunnel.js +9 -9
- package/dist/factory-assets/connectors/webdav.js +9 -9
- package/dist/factory-assets/connectors/xstate-store.js +9 -9
- package/dist/factory-assets/connectors/xstate.js +9 -9
- package/dist/{flows-7EB63Q2Q.js → flows-PDTAKFWM.js} +6 -6
- package/dist/{flows-7EB63Q2Q.js.map → flows-PDTAKFWM.js.map} +1 -1
- package/dist/{helpers-334DC7KB.js → helpers-7747HYZ7.js} +9 -9
- package/dist/{helpers-334DC7KB.js.map → helpers-7747HYZ7.js.map} +1 -1
- package/dist/library/index.js +4 -4
- package/dist/{library-publish-B5TLDFPF.js → library-publish-X7N4SDMM.js} +13 -13
- package/dist/{library-publish-B5TLDFPF.js.map → library-publish-X7N4SDMM.js.map} +1 -1
- package/dist/{open-library-2CMPISRN.js → open-library-CBTA4KOH.js} +11 -11
- package/dist/{open-library-2CMPISRN.js.map → open-library-CBTA4KOH.js.map} +1 -1
- package/dist/{paths-IK6Y4OIU.js → paths-6VH76QLZ.js} +6 -6
- package/dist/{paths-IK6Y4OIU.js.map → paths-6VH76QLZ.js.map} +1 -1
- package/dist/{plugin-store-LUJ4GXSO.js → plugin-store-4MXOIEHP.js} +5 -5
- package/dist/{plugin-store-LUJ4GXSO.js.map → plugin-store-4MXOIEHP.js.map} +1 -1
- package/dist/{project-NGIFJGPQ.js → project-TJYBZGVU.js} +10 -10
- package/dist/{project-NGIFJGPQ.js.map → project-TJYBZGVU.js.map} +1 -1
- package/dist/resolver/index.js +3 -3
- package/dist/runner/index.js +14 -14
- package/dist/runner/src/resources.d.ts +6 -6
- package/dist/runner/src/resources.d.ts.map +1 -1
- package/dist/runner/src/serve.d.ts +4 -2
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +6 -6
- package/dist/sdk/bridge.js +6 -6
- package/dist/sdk/core.js +3 -3
- package/dist/sdk/flow.js +4 -4
- package/dist/sdk/index.js +14 -14
- package/dist/sdk/resolver.js +3 -3
- package/dist/sdk/runner.js +14 -14
- package/dist/{setup-GVJL3V3D.js → setup-JKDRX7XK.js} +13 -13
- package/dist/{setup-GVJL3V3D.js.map → setup-JKDRX7XK.js.map} +1 -1
- package/dist/{skills-YB5RHUAT.js → skills-FA4VQEO7.js} +5 -5
- package/dist/{skills-YB5RHUAT.js.map → skills-FA4VQEO7.js.map} +1 -1
- package/dist/{source-BPLSCZLB.js → source-3YMETAC3.js} +12 -12
- package/dist/{source-BPLSCZLB.js.map → source-3YMETAC3.js.map} +1 -1
- package/dist/{source-manifest-publish-ZVR24GCL.js → source-manifest-publish-WTKOO45D.js} +14 -14
- package/dist/{source-manifest-publish-ZVR24GCL.js.map → source-manifest-publish-WTKOO45D.js.map} +1 -1
- package/dist/tui/index.js +14 -14
- package/dist/workspace-plugin/adapters/mcp.js +5 -5
- 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-E4Q5GKO2.js.map +0 -1
- package/dist/chunk-IOFPX6OO.js.map +0 -1
- package/dist/chunk-MK3OCWBG.js.map +0 -1
- package/dist/chunk-PB2Y4AMQ.js.map +0 -1
- package/dist/chunk-QWGSKDD7.js.map +0 -1
package/dist/cli/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { AI_RESOURCES } from '../chunk-
|
|
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-
|
|
2
|
+
import { AI_RESOURCES } from '../chunk-GMXG2JGN.js';
|
|
3
|
+
import { makeInstallCommand, makeCheckCommand, makeCleanCommand, reportInstalledSoftDeps } from '../chunk-QD4IQSDE.js';
|
|
4
|
+
import { makeProvidersCommand, loadRegistryView, addProviderEntry, ProviderRegistryWriteError } from '../chunk-SPJWQXYF.js';
|
|
5
|
+
import { getStoreConfig, storeFetch, deviceLogin, loadStoreAuthConfig, logout, hasStoredAuth, isStoreAuthenticated, getStoreToken, getStoreIdentity } from '../chunk-IJTEDXWQ.js';
|
|
6
|
+
import { makeSourceCommand, syncProjectSources } from '../chunk-GP7VFWAO.js';
|
|
7
|
+
import { openCatalogSource, openLibraryManager, createFullRegistry, openLibrary } from '../chunk-AJRRSHYB.js';
|
|
8
|
+
import { logErr, S, logOk, logInfo, logWarn, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth } from '../chunk-KEBJL3QI.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-VE2KMHG6.js';
|
|
11
|
+
import { buildClaudePluginFiles } from '../chunk-WDBEHNOJ.js';
|
|
12
|
+
import '../chunk-PQE2MYB6.js';
|
|
13
|
+
import '../chunk-KU473DRO.js';
|
|
14
14
|
import '../chunk-P2DLXBZK.js';
|
|
15
15
|
import '../chunk-7IH3RKKK.js';
|
|
16
16
|
import '../chunk-4ZTPYIBE.js';
|
|
@@ -24,45 +24,45 @@ import '../chunk-73ZXUUL6.js';
|
|
|
24
24
|
import '../chunk-32NA4TVC.js';
|
|
25
25
|
import '../chunk-W3UDISS2.js';
|
|
26
26
|
import '../chunk-PE3A6FFW.js';
|
|
27
|
-
import { runFlow, resumeFlow } from '../chunk-
|
|
27
|
+
import { runFlow, resumeFlow } from '../chunk-K2S4ECDJ.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-ZK7DQRB2.js';
|
|
32
|
-
import '../chunk-
|
|
32
|
+
import '../chunk-MY5TANRN.js';
|
|
33
33
|
import '../chunk-UF4AEO54.js';
|
|
34
|
-
import '../chunk-
|
|
35
|
-
import '../chunk-
|
|
34
|
+
import '../chunk-MC2MF4U5.js';
|
|
35
|
+
import '../chunk-TEQDWOBS.js';
|
|
36
36
|
import '../chunk-4SIMGJIU.js';
|
|
37
37
|
import '../chunk-LOO5CB5M.js';
|
|
38
38
|
import '../chunk-TOXPRXAK.js';
|
|
39
|
-
import '../chunk-
|
|
39
|
+
import '../chunk-LDT6NGSL.js';
|
|
40
40
|
import '../chunk-GAH4YRCI.js';
|
|
41
|
-
import { getProviderPreset, AI_PROVIDER_PRESETS } from '../chunk-
|
|
41
|
+
import { getProviderPreset, AI_PROVIDER_PRESETS } from '../chunk-CJGNYHPG.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-KTCMBEEB.js';
|
|
45
45
|
import '../chunk-XPDB4O4H.js';
|
|
46
46
|
import '../chunk-ALLCAFHQ.js';
|
|
47
47
|
import '../chunk-RQLL7L72.js';
|
|
48
48
|
import { nodeLabel, nodeSkillAsset, nodeIsInert, nodeIsOptional, nodeRunKind, flowSkillVersionPins } from '../chunk-V4RGCKYC.js';
|
|
49
49
|
import '../chunk-DHMBE5J7.js';
|
|
50
50
|
import '../chunk-QQ3G5N7X.js';
|
|
51
|
-
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-
|
|
52
|
-
import { getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-
|
|
51
|
+
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-OWKFJBSR.js';
|
|
52
|
+
import { getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-UFWADBG6.js';
|
|
53
53
|
import '../chunk-HGPSZXZP.js';
|
|
54
54
|
import '../chunk-VOEBLPXO.js';
|
|
55
55
|
import '../chunk-R7FOF242.js';
|
|
56
56
|
import '../chunk-JXT46QFC.js';
|
|
57
|
-
import '../chunk-
|
|
57
|
+
import '../chunk-XFWB3KFV.js';
|
|
58
58
|
import '../chunk-CGYEHQOX.js';
|
|
59
|
-
import { resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, WorkspaceYamlEditor, resolveLibraryDir, checkAgentSkillConformance, aiResourceRoots, readLock, workspaceProviderRegistryPath, userProviderRegistryPath, loadProviderRegistryFile } from '../chunk-
|
|
59
|
+
import { resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, WorkspaceYamlEditor, resolveLibraryDir, checkAgentSkillConformance, aiResourceRoots, readLock, workspaceProviderRegistryPath, userProviderRegistryPath, loadProviderRegistryFile } from '../chunk-UWU572Q6.js';
|
|
60
60
|
import '../chunk-4GY63JU6.js';
|
|
61
|
-
import { factoryAssetRoots } from '../chunk-
|
|
61
|
+
import { factoryAssetRoots } from '../chunk-5RHPNNWP.js';
|
|
62
62
|
import '../chunk-F3HNW354.js';
|
|
63
63
|
import { DRIVER_DEFAULTS } from '../chunk-K5GBV4SA.js';
|
|
64
64
|
import { detectDomains, assetSearchDirs } from '../chunk-QVZA2MDT.js';
|
|
65
|
-
import { globalCacheRoot, sourceCacheKey, getGlobalCacheDir, resolveAgentDir, matchPin, coerceVersion, loadSkWorkspaceConfig, resolveSkWorkspaceConfig, storeManifestSlug, isWorkspaceConfigFilename } from '../chunk-
|
|
65
|
+
import { globalCacheRoot, sourceCacheKey, getGlobalCacheDir, resolveAgentDir, AgentRefResolutionError, matchPin, coerceVersion, loadSkWorkspaceConfig, resolveSkWorkspaceConfig, storeManifestSlug, isWorkspaceConfigFilename } from '../chunk-DF7C3KZK.js';
|
|
66
66
|
import { SUPPORTED_DRIVER_TARGETS } from '../chunk-MENCWIHW.js';
|
|
67
67
|
import { SKAILE_MANIFEST_FILENAME, decodeSkaileManifest, loadSkPublishManifest, saveSkPublishManifest } from '../chunk-P4VHQA4N.js';
|
|
68
68
|
import { parseFrontmatter, scanDirectory } from '../chunk-2FBPAR2V.js';
|
|
@@ -127,7 +127,7 @@ async function runSearch(kind, query, opts) {
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
async function searchIndex(query, kind) {
|
|
130
|
-
const { openLibrary: openLibrary2 } = await import('../open-library-
|
|
130
|
+
const { openLibrary: openLibrary2 } = await import('../open-library-CBTA4KOH.js');
|
|
131
131
|
const library = await openLibrary2();
|
|
132
132
|
try {
|
|
133
133
|
const defs = await library.listAssetDefs(kind ? { kind } : {});
|
|
@@ -180,7 +180,7 @@ async function searchLocal(query, kind, opts, showStore, airGapped) {
|
|
|
180
180
|
const factory = await searchFactory(projectDir, query, kind);
|
|
181
181
|
let entries = unionEntries(await searchIndex(query, kind), factory);
|
|
182
182
|
if (entries.length === 0 && !query && !kind && !airGapped) {
|
|
183
|
-
const { autoSyncForSearch } = await import('../source-
|
|
183
|
+
const { autoSyncForSearch } = await import('../source-3YMETAC3.js');
|
|
184
184
|
if (await autoSyncForSearch(projectDir)) {
|
|
185
185
|
entries = unionEntries(await searchIndex(query, kind), factory);
|
|
186
186
|
}
|
|
@@ -234,7 +234,7 @@ async function searchStore(query, kind, opts, airGapped) {
|
|
|
234
234
|
logInfo("air-gapped (cache_ttl: 0) \u2014 local sources only");
|
|
235
235
|
return;
|
|
236
236
|
}
|
|
237
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
237
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-CBTA4KOH.js');
|
|
238
238
|
try {
|
|
239
239
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
240
240
|
const assets = await remote.listAssets(kind ? { kind } : {});
|
|
@@ -549,7 +549,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
549
549
|
return { entry: match ?? deployed };
|
|
550
550
|
}
|
|
551
551
|
const lookup = opts.storeLookup ?? (async (filter) => {
|
|
552
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
552
|
+
const { resolveCatalogSource } = await import('../open-library-CBTA4KOH.js');
|
|
553
553
|
const { source, close } = await resolveCatalogSource({ projectDir: opts.projectDir });
|
|
554
554
|
try {
|
|
555
555
|
return await source.listAssets(filter);
|
|
@@ -565,7 +565,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
565
565
|
);
|
|
566
566
|
return { entry: hit ? catalogAssetToEntry(hit) : null };
|
|
567
567
|
} catch (err) {
|
|
568
|
-
const { LocalCatalogDisabledError } = await import('../open-library-
|
|
568
|
+
const { LocalCatalogDisabledError } = await import('../open-library-CBTA4KOH.js');
|
|
569
569
|
const storeNote = err instanceof Error ? err.message : String(err);
|
|
570
570
|
const disabled = err instanceof LocalCatalogDisabledError || /catalog\.url/i.test(storeNote);
|
|
571
571
|
return { entry: null, storeNote, ...disabled ? { storeDisabled: true } : {} };
|
|
@@ -1185,7 +1185,7 @@ function makeCatalogCommand() {
|
|
|
1185
1185
|
return catalog;
|
|
1186
1186
|
}
|
|
1187
1187
|
async function runLocalCatalogTest(projectDir) {
|
|
1188
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
1188
|
+
const { resolveCatalogSource } = await import('../open-library-CBTA4KOH.js');
|
|
1189
1189
|
let resolved;
|
|
1190
1190
|
try {
|
|
1191
1191
|
resolved = await resolveCatalogSource({ projectDir });
|
|
@@ -2247,7 +2247,7 @@ async function ensureTargetsRegistered(projectDir) {
|
|
|
2247
2247
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
2248
2248
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
2249
2249
|
if (config.plugins && config.plugins.length > 0) {
|
|
2250
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
2250
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-4MXOIEHP.js');
|
|
2251
2251
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
2252
2252
|
for (const f of result.failed) logWarn(f.error);
|
|
2253
2253
|
}
|
|
@@ -3502,16 +3502,16 @@ function makeLibraryCommand() {
|
|
|
3502
3502
|
});
|
|
3503
3503
|
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(
|
|
3504
3504
|
async (lib, opts) => {
|
|
3505
|
-
const { runLibraryPublish } = await import('../library-publish-
|
|
3505
|
+
const { runLibraryPublish } = await import('../library-publish-X7N4SDMM.js');
|
|
3506
3506
|
await withStoreErrorHandling(() => runLibraryPublish(lib, opts));
|
|
3507
3507
|
}
|
|
3508
3508
|
);
|
|
3509
3509
|
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) => {
|
|
3510
|
-
const { runLibraryRegister } = await import('../library-publish-
|
|
3510
|
+
const { runLibraryRegister } = await import('../library-publish-X7N4SDMM.js');
|
|
3511
3511
|
await withStoreErrorHandling(() => runLibraryRegister(lib, opts));
|
|
3512
3512
|
});
|
|
3513
3513
|
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) => {
|
|
3514
|
-
const { runLibraryYank } = await import('../library-publish-
|
|
3514
|
+
const { runLibraryYank } = await import('../library-publish-X7N4SDMM.js');
|
|
3515
3515
|
await withStoreErrorHandling(() => runLibraryYank(lib, opts));
|
|
3516
3516
|
});
|
|
3517
3517
|
return cmd;
|
|
@@ -4233,7 +4233,7 @@ function scheduleSoftDepPreview() {
|
|
|
4233
4233
|
}
|
|
4234
4234
|
async function loadAssets() {
|
|
4235
4235
|
softDepPreviewCache.clear();
|
|
4236
|
-
const { gatherAssetFeeds } = await import('../asset-feeds-
|
|
4236
|
+
const { gatherAssetFeeds } = await import('../asset-feeds-XOSCB6D5.js');
|
|
4237
4237
|
const { entries, domains, notes } = await gatherAssetFeeds(am, am.projectDir);
|
|
4238
4238
|
if (notes.length > 0) {
|
|
4239
4239
|
state.message = notes.map((n) => `[${n.feed}] ${n.message}`).join(" \u2022 ");
|
|
@@ -4439,7 +4439,7 @@ function reconcileCollapsedSets(rows) {
|
|
|
4439
4439
|
async function loadSourcesAndLibraries() {
|
|
4440
4440
|
try {
|
|
4441
4441
|
const [{ openLibraryManager: openLibraryManager2 }, { skaileHomeDir }, { getGlobalCacheDir: getGlobalCacheDir2 }] = await Promise.all([
|
|
4442
|
-
import('../open-library-
|
|
4442
|
+
import('../open-library-CBTA4KOH.js'),
|
|
4443
4443
|
import('../library/index.js'),
|
|
4444
4444
|
import('../core/index.js')
|
|
4445
4445
|
]);
|
|
@@ -6081,7 +6081,7 @@ function action2(fn) {
|
|
|
6081
6081
|
};
|
|
6082
6082
|
}
|
|
6083
6083
|
async function reconcileAndReport(projectDir, plugins) {
|
|
6084
|
-
const { reconcilePlugins } = await import('../plugin-store-
|
|
6084
|
+
const { reconcilePlugins } = await import('../plugin-store-4MXOIEHP.js');
|
|
6085
6085
|
if (plugins.length === 0) {
|
|
6086
6086
|
logInfo("No plugins declared \u2014 nothing to reconcile.");
|
|
6087
6087
|
return;
|
|
@@ -6097,7 +6097,7 @@ async function reconcileAndReport(projectDir, plugins) {
|
|
|
6097
6097
|
async function runInstall2(spec, opts) {
|
|
6098
6098
|
const projectDir = path36__default.resolve(opts.projectDir);
|
|
6099
6099
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
6100
|
-
const { specName } = await import('../plugin-store-
|
|
6100
|
+
const { specName } = await import('../plugin-store-4MXOIEHP.js');
|
|
6101
6101
|
const yamlPath = path36__default.join(projectDir, "skaile.yaml");
|
|
6102
6102
|
const editor = WorkspaceYamlEditor2.load(yamlPath);
|
|
6103
6103
|
const replaced = editor.addPlugin(spec, specName);
|
|
@@ -6109,7 +6109,7 @@ async function runInstall2(spec, opts) {
|
|
|
6109
6109
|
async function runRemove(name, opts) {
|
|
6110
6110
|
const projectDir = path36__default.resolve(opts.projectDir);
|
|
6111
6111
|
const { WorkspaceYamlEditor: WorkspaceYamlEditor2 } = await import('../core/index.js');
|
|
6112
|
-
const { specName } = await import('../plugin-store-
|
|
6112
|
+
const { specName } = await import('../plugin-store-4MXOIEHP.js');
|
|
6113
6113
|
const yamlPath = path36__default.join(projectDir, "skaile.yaml");
|
|
6114
6114
|
const editor = WorkspaceYamlEditor2.load(yamlPath);
|
|
6115
6115
|
const removed = editor.removePlugin(name, specName);
|
|
@@ -6137,7 +6137,7 @@ async function runList(opts) {
|
|
|
6137
6137
|
const registry = createPluginRegistry();
|
|
6138
6138
|
if (declared.length > 0) {
|
|
6139
6139
|
try {
|
|
6140
|
-
const { loadPlugins } = await import('../plugin-store-
|
|
6140
|
+
const { loadPlugins } = await import('../plugin-store-4MXOIEHP.js');
|
|
6141
6141
|
const result = await loadPlugins(projectDir, declared, registry);
|
|
6142
6142
|
for (const f of result.failed) logWarn(f.error);
|
|
6143
6143
|
} catch (err) {
|
|
@@ -6895,11 +6895,24 @@ function makeRebuildCommand() {
|
|
|
6895
6895
|
if (agentArg.includes("/") || agentArg.includes("\\")) {
|
|
6896
6896
|
agentDir = path36__default.resolve(projectDir, agentArg);
|
|
6897
6897
|
} else {
|
|
6898
|
-
|
|
6898
|
+
let resolved;
|
|
6899
|
+
try {
|
|
6900
|
+
resolved = resolveAgentDir(projectDir);
|
|
6901
|
+
} catch (err) {
|
|
6902
|
+
if (!(err instanceof AgentRefResolutionError)) throw err;
|
|
6903
|
+
logWarn(`${err.message} \u2014 using "${agentArg}"`);
|
|
6904
|
+
}
|
|
6899
6905
|
agentDir = resolved ?? path36__default.resolve(projectDir, agentArg);
|
|
6900
6906
|
}
|
|
6901
6907
|
} else {
|
|
6902
|
-
|
|
6908
|
+
let resolved;
|
|
6909
|
+
try {
|
|
6910
|
+
resolved = resolveAgentDir(projectDir);
|
|
6911
|
+
} catch (err) {
|
|
6912
|
+
if (!(err instanceof AgentRefResolutionError)) throw err;
|
|
6913
|
+
logErr(err.message);
|
|
6914
|
+
process.exit(1);
|
|
6915
|
+
}
|
|
6903
6916
|
if (!resolved) {
|
|
6904
6917
|
logErr("No agent found in current project. Specify an agent name or path.");
|
|
6905
6918
|
process.exit(1);
|
|
@@ -7239,12 +7252,12 @@ function makeServeCommand() {
|
|
|
7239
7252
|
);
|
|
7240
7253
|
}
|
|
7241
7254
|
async function ensurePluginsLoadedForServe(projectDir) {
|
|
7242
|
-
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-
|
|
7255
|
+
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-7747HYZ7.js');
|
|
7243
7256
|
try {
|
|
7244
7257
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
7245
7258
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
7246
7259
|
if (!config.plugins || config.plugins.length === 0) return;
|
|
7247
|
-
const { ensurePluginsLoaded } = await import('../plugin-store-
|
|
7260
|
+
const { ensurePluginsLoaded } = await import('../plugin-store-4MXOIEHP.js');
|
|
7248
7261
|
const { pluginRegistry } = await import('../plugin-registry/index.js');
|
|
7249
7262
|
const result = await ensurePluginsLoaded(projectDir, config.plugins, pluginRegistry);
|
|
7250
7263
|
if (result.loaded.length > 0) {
|
|
@@ -7258,14 +7271,14 @@ async function ensurePluginsLoadedForServe(projectDir) {
|
|
|
7258
7271
|
}
|
|
7259
7272
|
}
|
|
7260
7273
|
async function runCompileTest(opts) {
|
|
7261
|
-
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-
|
|
7274
|
+
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-7747HYZ7.js');
|
|
7262
7275
|
const { tmpdir } = await import('os');
|
|
7263
7276
|
const { dirname: dirname4, join: join7, resolve: resolve5 } = await import('path');
|
|
7264
7277
|
const { fileURLToPath: fileURLToPath2 } = await import('url');
|
|
7265
7278
|
const { unlinkSync, existsSync: existsSync15 } = await import('fs');
|
|
7266
7279
|
const { spawn } = await import('child_process');
|
|
7267
7280
|
const { portableSpawnSync: portableSpawnSync2 } = await import('../core/index.js');
|
|
7268
|
-
const { MONOREPO_ROOT } = await import('../paths-
|
|
7281
|
+
const { MONOREPO_ROOT } = await import('../paths-6VH76QLZ.js');
|
|
7269
7282
|
if (MONOREPO_ROOT === null) {
|
|
7270
7283
|
logErr2("--compile-test is only available inside the skaile-dev workspace.");
|
|
7271
7284
|
logInfo2("Run it from a checkout of skaile-ai/skaile-dev (the monorepo shell).");
|
|
@@ -8140,7 +8153,7 @@ function makeStoreCommand() {
|
|
|
8140
8153
|
process.exit(2);
|
|
8141
8154
|
});
|
|
8142
8155
|
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) => {
|
|
8143
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
8156
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-CBTA4KOH.js');
|
|
8144
8157
|
try {
|
|
8145
8158
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
8146
8159
|
const assets = await remote.listAssets(opts.kind ? { kind: opts.kind } : {});
|
|
@@ -8173,8 +8186,8 @@ function makeStoreCommand() {
|
|
|
8173
8186
|
}
|
|
8174
8187
|
});
|
|
8175
8188
|
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) => {
|
|
8176
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
8177
|
-
const { supportsInstallManifest } = await import('../project-
|
|
8189
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-CBTA4KOH.js');
|
|
8190
|
+
const { supportsInstallManifest } = await import('../project-TJYBZGVU.js');
|
|
8178
8191
|
try {
|
|
8179
8192
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
8180
8193
|
const asset = await remote.resolve(ref);
|
|
@@ -9262,7 +9275,7 @@ async function bootstrapUserConfig() {
|
|
|
9262
9275
|
}
|
|
9263
9276
|
async function hydrateInitSources(resolved, created) {
|
|
9264
9277
|
try {
|
|
9265
|
-
const { ensureSourcesCloned } = await import('../ensure-sources-
|
|
9278
|
+
const { ensureSourcesCloned } = await import('../ensure-sources-GAWYYBUI.js');
|
|
9266
9279
|
const hydrate = ensureSourcesCloned(resolved, { quiet: true });
|
|
9267
9280
|
for (const n of hydrate.cloned) created.push(`~/.skaile/cache/sources/${n}/`);
|
|
9268
9281
|
if (hydrate.failed.length > 0) {
|
|
@@ -9302,7 +9315,7 @@ function printInitSummary(resolved, projectDir, created) {
|
|
|
9302
9315
|
console.log();
|
|
9303
9316
|
}
|
|
9304
9317
|
program.command("setup").description("Interactive provider setup wizard").action(async () => {
|
|
9305
|
-
const { cmdSetup } = await import('../setup-
|
|
9318
|
+
const { cmdSetup } = await import('../setup-JKDRX7XK.js');
|
|
9306
9319
|
await cmdSetup([], { projectDir: process.cwd() });
|
|
9307
9320
|
});
|
|
9308
9321
|
program.addCommand(makeInstallCommand());
|