@skaile/workspaces 4.26.0 → 4.27.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 +20 -0
- package/dist/{asset-feeds-72RJOE4E.js → asset-feeds-2KMVU67Q.js} +4 -4
- package/dist/{asset-feeds-72RJOE4E.js.map → asset-feeds-2KMVU67Q.js.map} +1 -1
- package/dist/asset-manager/index.js +1 -1
- package/dist/bridge/drivers/claude-sdk.js +20 -8
- package/dist/bridge/drivers/claude-sdk.js.map +1 -1
- package/dist/bridge/drivers/codex.js +2 -2
- package/dist/bridge/drivers/continue.js +3 -3
- package/dist/bridge/drivers/echo.js +3 -5
- package/dist/bridge/drivers/echo.js.map +1 -1
- package/dist/bridge/drivers/gemini.js +5 -5
- package/dist/bridge/drivers/goose.js +3 -3
- package/dist/bridge/drivers/omp.js +22 -8
- package/dist/bridge/drivers/omp.js.map +1 -1
- package/dist/bridge/drivers/opencode.js +3 -3
- package/dist/bridge/drivers/qwen.js +5 -5
- package/dist/bridge/index.js +5 -4
- package/dist/bridge/src/capability-dispatch.d.ts +16 -31
- package/dist/bridge/src/capability-dispatch.d.ts.map +1 -1
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
- package/dist/bridge/src/drivers/echo.d.ts.map +1 -1
- package/dist/bridge/src/drivers/omp.d.ts.map +1 -1
- package/dist/bridge/src/index.d.ts +1 -0
- package/dist/bridge/src/index.d.ts.map +1 -1
- package/dist/bridge/src/reconfigure-model-ref.d.ts +37 -0
- package/dist/bridge/src/reconfigure-model-ref.d.ts.map +1 -0
- package/dist/bridge/src/types.d.ts +10 -2
- package/dist/bridge/src/types.d.ts.map +1 -1
- package/dist/{chunk-EZOFQW3G.js → chunk-2L4KARVG.js} +5 -5
- package/dist/{chunk-EZOFQW3G.js.map → chunk-2L4KARVG.js.map} +1 -1
- package/dist/{chunk-H4XNX2FG.js → chunk-746DTX5S.js} +2 -2
- package/dist/{chunk-H4XNX2FG.js.map → chunk-746DTX5S.js.map} +1 -1
- package/dist/{chunk-OQRSSFTU.js → chunk-A2F7D47N.js} +4 -4
- package/dist/{chunk-OQRSSFTU.js.map → chunk-A2F7D47N.js.map} +1 -1
- package/dist/{chunk-Y6QVVKFN.js → chunk-AVYBLJ3A.js} +3 -3
- package/dist/{chunk-Y6QVVKFN.js.map → chunk-AVYBLJ3A.js.map} +1 -1
- package/dist/{chunk-IN466NSZ.js → chunk-BADVX5LG.js} +3 -3
- package/dist/{chunk-IN466NSZ.js.map → chunk-BADVX5LG.js.map} +1 -1
- package/dist/{chunk-SSODNBSC.js → chunk-CCHZLELJ.js} +3 -3
- package/dist/{chunk-SSODNBSC.js.map → chunk-CCHZLELJ.js.map} +1 -1
- package/dist/{chunk-SB4U7HLP.js → chunk-DOKEJ6H3.js} +6 -6
- package/dist/{chunk-SB4U7HLP.js.map → chunk-DOKEJ6H3.js.map} +1 -1
- package/dist/{chunk-PIY5NTXY.js → chunk-GKE66NTN.js} +3 -3
- package/dist/{chunk-PIY5NTXY.js.map → chunk-GKE66NTN.js.map} +1 -1
- package/dist/{chunk-XZCRIPWT.js → chunk-H3YO74Z5.js} +3 -3
- package/dist/{chunk-XZCRIPWT.js.map → chunk-H3YO74Z5.js.map} +1 -1
- package/dist/{chunk-IRGI7Q62.js → chunk-IQID7X6P.js} +2 -2
- package/dist/{chunk-IRGI7Q62.js.map → chunk-IQID7X6P.js.map} +1 -1
- package/dist/{chunk-2JGUFDKZ.js → chunk-JBSCY34V.js} +3 -3
- package/dist/{chunk-2JGUFDKZ.js.map → chunk-JBSCY34V.js.map} +1 -1
- package/dist/{chunk-47MUF565.js → chunk-LFYAU2H3.js} +6 -6
- package/dist/{chunk-47MUF565.js.map → chunk-LFYAU2H3.js.map} +1 -1
- package/dist/{chunk-IBMQMJ4X.js → chunk-MNJFBKFR.js} +3 -3
- package/dist/{chunk-IBMQMJ4X.js.map → chunk-MNJFBKFR.js.map} +1 -1
- package/dist/{chunk-JIPPMYOM.js → chunk-NLUW3IJL.js} +3 -3
- package/dist/{chunk-JIPPMYOM.js.map → chunk-NLUW3IJL.js.map} +1 -1
- package/dist/{chunk-YR3CLEQG.js → chunk-OGOQYOM4.js} +6 -6
- package/dist/{chunk-YR3CLEQG.js.map → chunk-OGOQYOM4.js.map} +1 -1
- package/dist/{chunk-UKUKVQO3.js → chunk-QJN462RG.js} +84 -23
- package/dist/chunk-QJN462RG.js.map +1 -0
- package/dist/chunk-TJRNJVGU.js +59 -0
- package/dist/chunk-TJRNJVGU.js.map +1 -0
- package/dist/{chunk-D3UARV3Z.js → chunk-TRRFUVDJ.js} +8 -7
- package/dist/chunk-TRRFUVDJ.js.map +1 -0
- package/dist/{chunk-IHFQTKUP.js → chunk-YOA4YBMR.js} +2 -2
- package/dist/{chunk-IHFQTKUP.js.map → chunk-YOA4YBMR.js.map} +1 -1
- package/dist/cli/index.js +33 -32
- package/dist/cli/index.js.map +1 -1
- package/dist/connectors/index.js +6 -5
- package/dist/{ensure-sources-HEOQJ4CS.js → ensure-sources-WQNMDENC.js} +4 -4
- package/dist/{ensure-sources-HEOQJ4CS.js.map → ensure-sources-WQNMDENC.js.map} +1 -1
- package/dist/factory-assets/connectors/box.js +6 -5
- package/dist/factory-assets/connectors/deploy.js +6 -5
- package/dist/factory-assets/connectors/devserver.js +6 -5
- package/dist/factory-assets/connectors/flow/adapter.js +6 -5
- package/dist/factory-assets/connectors/flow/run-flow.js +7 -6
- package/dist/factory-assets/connectors/flow.js +6 -5
- package/dist/factory-assets/connectors/git.js +6 -5
- package/dist/factory-assets/connectors/gmail.js +6 -5
- package/dist/factory-assets/connectors/googledrive.js +6 -5
- package/dist/factory-assets/connectors/local.js +6 -5
- package/dist/factory-assets/connectors/mattermost.js +6 -5
- package/dist/factory-assets/connectors/memory.js +6 -5
- package/dist/factory-assets/connectors/minio.js +6 -5
- package/dist/factory-assets/connectors/postgres.js +6 -5
- package/dist/factory-assets/connectors/s3.js +6 -5
- package/dist/factory-assets/connectors/sharepoint.js +6 -5
- package/dist/factory-assets/connectors/sqlite.js +6 -5
- package/dist/factory-assets/connectors/static-server.js +6 -5
- package/dist/factory-assets/connectors/tunnel.js +6 -5
- package/dist/factory-assets/connectors/webdav.js +6 -5
- package/dist/factory-assets/connectors/xstate-store.js +6 -5
- package/dist/factory-assets/connectors/xstate.js +6 -5
- package/dist/{helpers-VZJCQSLY.js → helpers-JLK7VJJK.js} +4 -4
- package/dist/{helpers-VZJCQSLY.js.map → helpers-JLK7VJJK.js.map} +1 -1
- package/dist/{library-publish-VBLSTO7S.js → library-publish-KTCHVGLN.js} +6 -6
- package/dist/{library-publish-VBLSTO7S.js.map → library-publish-KTCHVGLN.js.map} +1 -1
- package/dist/{open-library-SJ54ZBGJ.js → open-library-TJWAJRJS.js} +5 -5
- package/dist/{open-library-SJ54ZBGJ.js.map → open-library-TJWAJRJS.js.map} +1 -1
- package/dist/{project-GLZR4SLT.js → project-JBMJ44HH.js} +5 -5
- package/dist/{project-GLZR4SLT.js.map → project-JBMJ44HH.js.map} +1 -1
- package/dist/runner/index.js +9 -8
- package/dist/runner/src/capability-registry.d.ts +4 -5
- package/dist/runner/src/capability-registry.d.ts.map +1 -1
- package/dist/runner/src/capability-roundtrip.d.ts +2 -1
- package/dist/runner/src/capability-roundtrip.d.ts.map +1 -1
- package/dist/runner/src/codex-tools.d.ts.map +1 -1
- package/dist/runner/src/define-capability.d.ts +9 -0
- package/dist/runner/src/define-capability.d.ts.map +1 -1
- package/dist/runner/src/reconfigure-handler.d.ts +22 -5
- package/dist/runner/src/reconfigure-handler.d.ts.map +1 -1
- package/dist/runner/src/serve.d.ts +35 -0
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/runner/src/session-capability-wiring.d.ts +2 -0
- package/dist/runner/src/session-capability-wiring.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +1 -1
- package/dist/sdk/bridge.js +5 -4
- package/dist/sdk/index.js +9 -8
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/runner.js +9 -8
- package/dist/{setup-X73AWRMD.js → setup-6QBZIBW2.js} +10 -9
- package/dist/setup-6QBZIBW2.js.map +1 -0
- package/dist/{source-HYXJO2IE.js → source-AEBW5RRF.js} +6 -6
- package/dist/{source-HYXJO2IE.js.map → source-AEBW5RRF.js.map} +1 -1
- package/dist/{source-manifest-publish-V5LCVOYZ.js → source-manifest-publish-E2FTXASK.js} +7 -7
- package/dist/{source-manifest-publish-V5LCVOYZ.js.map → source-manifest-publish-E2FTXASK.js.map} +1 -1
- package/dist/tui/index.js +9 -8
- package/dist/tui/index.js.map +1 -1
- package/dist/workspace-plugin/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-D3UARV3Z.js.map +0 -1
- package/dist/chunk-UKUKVQO3.js.map +0 -1
- package/dist/setup-X73AWRMD.js.map +0 -1
package/dist/cli/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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-
|
|
3
|
+
import { makeInstallCommand, makeCheckCommand, makeCleanCommand, reportInstalledSoftDeps } from '../chunk-OGOQYOM4.js';
|
|
4
|
+
import { makeProvidersCommand, loadRegistryView, addProviderEntry, ProviderRegistryWriteError } from '../chunk-A2F7D47N.js';
|
|
5
5
|
import { getStoreConfig, storeFetch, deviceLogin, loadStoreAuthConfig, logout, hasStoredAuth, isStoreAuthenticated, getStoreToken, getStoreIdentity } from '../chunk-IJTEDXWQ.js';
|
|
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-
|
|
6
|
+
import { makeSourceCommand, syncProjectSources } from '../chunk-DOKEJ6H3.js';
|
|
7
|
+
import { openCatalogSource, openLibraryManager, createFullRegistry, openLibrary } from '../chunk-H3YO74Z5.js';
|
|
8
|
+
import { logErr, S, logOk, logInfo, logWarn, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth } from '../chunk-CCHZLELJ.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-
|
|
10
|
+
import { runAgentChat, loadSessionById, loadSession, listSessions, setCurrentSession, deleteSession, clearSession, loadAgentManifest, compileComposition, MarkdownStreamer, resolveMixin } from '../chunk-QJN462RG.js';
|
|
11
|
+
import { buildClaudePluginFiles } from '../chunk-746DTX5S.js';
|
|
12
12
|
import '../chunk-HMUFI3L5.js';
|
|
13
13
|
import '../chunk-KU473DRO.js';
|
|
14
14
|
import '../chunk-P2DLXBZK.js';
|
|
@@ -24,22 +24,23 @@ import '../chunk-5LKOAX7I.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-MNJFBKFR.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-2L4KARVG.js';
|
|
33
33
|
import '../chunk-KVWSBQNP.js';
|
|
34
34
|
import '../chunk-2OLNNQKT.js';
|
|
35
|
-
import '../chunk-
|
|
35
|
+
import '../chunk-BADVX5LG.js';
|
|
36
36
|
import '../chunk-6S5KL76M.js';
|
|
37
|
+
import '../chunk-TJRNJVGU.js';
|
|
37
38
|
import '../chunk-LOO5CB5M.js';
|
|
38
|
-
import '../chunk-
|
|
39
|
-
import '../chunk-
|
|
39
|
+
import '../chunk-TRRFUVDJ.js';
|
|
40
|
+
import '../chunk-NLUW3IJL.js';
|
|
40
41
|
import '../chunk-BGY4KTU6.js';
|
|
41
42
|
import '../chunk-YROR332M.js';
|
|
42
|
-
import { getProviderPreset, AI_PROVIDER_PRESETS } from '../chunk-
|
|
43
|
+
import { getProviderPreset, AI_PROVIDER_PRESETS } from '../chunk-IQID7X6P.js';
|
|
43
44
|
import '../chunk-6E6PKKAD.js';
|
|
44
45
|
import '../chunk-IFGTRL2I.js';
|
|
45
46
|
import { projectAiAssetsRoots, loadFlow, loadAllFlowEntries, findFlowFileInRoots } from '../chunk-KTCMBEEB.js';
|
|
@@ -49,7 +50,7 @@ import '../chunk-D6YOE2DB.js';
|
|
|
49
50
|
import { nodeLabel, nodeSkillAsset, nodeIsInert, nodeIsOptional, nodeRunKind, flowSkillVersionPins } from '../chunk-V4RGCKYC.js';
|
|
50
51
|
import '../chunk-DHMBE5J7.js';
|
|
51
52
|
import '../chunk-GRBB4CQL.js';
|
|
52
|
-
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-
|
|
53
|
+
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-YOA4YBMR.js';
|
|
53
54
|
import { getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-UFWADBG6.js';
|
|
54
55
|
import '../chunk-HGPSZXZP.js';
|
|
55
56
|
import '../chunk-VOEBLPXO.js';
|
|
@@ -128,7 +129,7 @@ async function runSearch(kind, query, opts) {
|
|
|
128
129
|
}
|
|
129
130
|
}
|
|
130
131
|
async function searchIndex(query, kind) {
|
|
131
|
-
const { openLibrary: openLibrary2 } = await import('../open-library-
|
|
132
|
+
const { openLibrary: openLibrary2 } = await import('../open-library-TJWAJRJS.js');
|
|
132
133
|
const library = await openLibrary2();
|
|
133
134
|
try {
|
|
134
135
|
const defs = await library.listAssetDefs(kind ? { kind } : {});
|
|
@@ -181,7 +182,7 @@ async function searchLocal(query, kind, opts, showStore, airGapped) {
|
|
|
181
182
|
const factory = await searchFactory(projectDir, query, kind);
|
|
182
183
|
let entries = unionEntries(await searchIndex(query, kind), factory);
|
|
183
184
|
if (entries.length === 0 && !query && !kind && !airGapped) {
|
|
184
|
-
const { autoSyncForSearch } = await import('../source-
|
|
185
|
+
const { autoSyncForSearch } = await import('../source-AEBW5RRF.js');
|
|
185
186
|
if (await autoSyncForSearch(projectDir)) {
|
|
186
187
|
entries = unionEntries(await searchIndex(query, kind), factory);
|
|
187
188
|
}
|
|
@@ -235,7 +236,7 @@ async function searchStore(query, kind, opts, airGapped) {
|
|
|
235
236
|
logInfo("air-gapped (cache_ttl: 0) \u2014 local sources only");
|
|
236
237
|
return;
|
|
237
238
|
}
|
|
238
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
239
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-TJWAJRJS.js');
|
|
239
240
|
try {
|
|
240
241
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
241
242
|
const assets = await remote.listAssets(kind ? { kind } : {});
|
|
@@ -550,7 +551,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
550
551
|
return { entry: match ?? deployed };
|
|
551
552
|
}
|
|
552
553
|
const lookup = opts.storeLookup ?? (async (filter) => {
|
|
553
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
554
|
+
const { resolveCatalogSource } = await import('../open-library-TJWAJRJS.js');
|
|
554
555
|
const { source, close } = await resolveCatalogSource({ projectDir: opts.projectDir });
|
|
555
556
|
try {
|
|
556
557
|
return await source.listAssets(filter);
|
|
@@ -566,7 +567,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
566
567
|
);
|
|
567
568
|
return { entry: hit ? catalogAssetToEntry(hit) : null };
|
|
568
569
|
} catch (err) {
|
|
569
|
-
const { LocalCatalogDisabledError } = await import('../open-library-
|
|
570
|
+
const { LocalCatalogDisabledError } = await import('../open-library-TJWAJRJS.js');
|
|
570
571
|
const storeNote = err instanceof Error ? err.message : String(err);
|
|
571
572
|
const disabled = err instanceof LocalCatalogDisabledError || /catalog\.url/i.test(storeNote);
|
|
572
573
|
return { entry: null, storeNote, ...disabled ? { storeDisabled: true } : {} };
|
|
@@ -1186,7 +1187,7 @@ function makeCatalogCommand() {
|
|
|
1186
1187
|
return catalog;
|
|
1187
1188
|
}
|
|
1188
1189
|
async function runLocalCatalogTest(projectDir) {
|
|
1189
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
1190
|
+
const { resolveCatalogSource } = await import('../open-library-TJWAJRJS.js');
|
|
1190
1191
|
let resolved;
|
|
1191
1192
|
try {
|
|
1192
1193
|
resolved = await resolveCatalogSource({ projectDir });
|
|
@@ -3503,16 +3504,16 @@ function makeLibraryCommand() {
|
|
|
3503
3504
|
});
|
|
3504
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(
|
|
3505
3506
|
async (lib, opts) => {
|
|
3506
|
-
const { runLibraryPublish } = await import('../library-publish-
|
|
3507
|
+
const { runLibraryPublish } = await import('../library-publish-KTCHVGLN.js');
|
|
3507
3508
|
await withStoreErrorHandling(() => runLibraryPublish(lib, opts));
|
|
3508
3509
|
}
|
|
3509
3510
|
);
|
|
3510
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) => {
|
|
3511
|
-
const { runLibraryRegister } = await import('../library-publish-
|
|
3512
|
+
const { runLibraryRegister } = await import('../library-publish-KTCHVGLN.js');
|
|
3512
3513
|
await withStoreErrorHandling(() => runLibraryRegister(lib, opts));
|
|
3513
3514
|
});
|
|
3514
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) => {
|
|
3515
|
-
const { runLibraryYank } = await import('../library-publish-
|
|
3516
|
+
const { runLibraryYank } = await import('../library-publish-KTCHVGLN.js');
|
|
3516
3517
|
await withStoreErrorHandling(() => runLibraryYank(lib, opts));
|
|
3517
3518
|
});
|
|
3518
3519
|
return cmd;
|
|
@@ -4234,7 +4235,7 @@ function scheduleSoftDepPreview() {
|
|
|
4234
4235
|
}
|
|
4235
4236
|
async function loadAssets() {
|
|
4236
4237
|
softDepPreviewCache.clear();
|
|
4237
|
-
const { gatherAssetFeeds } = await import('../asset-feeds-
|
|
4238
|
+
const { gatherAssetFeeds } = await import('../asset-feeds-2KMVU67Q.js');
|
|
4238
4239
|
const { entries, domains, notes } = await gatherAssetFeeds(am, am.projectDir);
|
|
4239
4240
|
if (notes.length > 0) {
|
|
4240
4241
|
state.message = notes.map((n) => `[${n.feed}] ${n.message}`).join(" \u2022 ");
|
|
@@ -4440,7 +4441,7 @@ function reconcileCollapsedSets(rows) {
|
|
|
4440
4441
|
async function loadSourcesAndLibraries() {
|
|
4441
4442
|
try {
|
|
4442
4443
|
const [{ openLibraryManager: openLibraryManager2 }, { skaileHomeDir }, { getGlobalCacheDir: getGlobalCacheDir2 }] = await Promise.all([
|
|
4443
|
-
import('../open-library-
|
|
4444
|
+
import('../open-library-TJWAJRJS.js'),
|
|
4444
4445
|
import('../library/index.js'),
|
|
4445
4446
|
import('../core/index.js')
|
|
4446
4447
|
]);
|
|
@@ -7255,7 +7256,7 @@ function makeServeCommand() {
|
|
|
7255
7256
|
);
|
|
7256
7257
|
}
|
|
7257
7258
|
async function ensurePluginsLoadedForServe(projectDir) {
|
|
7258
|
-
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-
|
|
7259
|
+
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-JLK7VJJK.js');
|
|
7259
7260
|
try {
|
|
7260
7261
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
7261
7262
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
@@ -7274,7 +7275,7 @@ async function ensurePluginsLoadedForServe(projectDir) {
|
|
|
7274
7275
|
}
|
|
7275
7276
|
}
|
|
7276
7277
|
async function runCompileTest(opts) {
|
|
7277
|
-
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-
|
|
7278
|
+
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-JLK7VJJK.js');
|
|
7278
7279
|
const { tmpdir } = await import('os');
|
|
7279
7280
|
const { dirname: dirname4, join: join7, resolve: resolve5 } = await import('path');
|
|
7280
7281
|
const { fileURLToPath: fileURLToPath2 } = await import('url');
|
|
@@ -8156,7 +8157,7 @@ function makeStoreCommand() {
|
|
|
8156
8157
|
process.exit(2);
|
|
8157
8158
|
});
|
|
8158
8159
|
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) => {
|
|
8159
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
8160
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-TJWAJRJS.js');
|
|
8160
8161
|
try {
|
|
8161
8162
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
8162
8163
|
const assets = await remote.listAssets(opts.kind ? { kind: opts.kind } : {});
|
|
@@ -8189,8 +8190,8 @@ function makeStoreCommand() {
|
|
|
8189
8190
|
}
|
|
8190
8191
|
});
|
|
8191
8192
|
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) => {
|
|
8192
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
8193
|
-
const { supportsInstallManifest } = await import('../project-
|
|
8193
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-TJWAJRJS.js');
|
|
8194
|
+
const { supportsInstallManifest } = await import('../project-JBMJ44HH.js');
|
|
8194
8195
|
try {
|
|
8195
8196
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
8196
8197
|
const asset = await remote.resolve(ref);
|
|
@@ -9278,7 +9279,7 @@ async function bootstrapUserConfig() {
|
|
|
9278
9279
|
}
|
|
9279
9280
|
async function hydrateInitSources(resolved, created) {
|
|
9280
9281
|
try {
|
|
9281
|
-
const { ensureSourcesCloned } = await import('../ensure-sources-
|
|
9282
|
+
const { ensureSourcesCloned } = await import('../ensure-sources-WQNMDENC.js');
|
|
9282
9283
|
const hydrate = ensureSourcesCloned(resolved, { quiet: true });
|
|
9283
9284
|
for (const n of hydrate.cloned) created.push(`~/.skaile/cache/sources/${n}/`);
|
|
9284
9285
|
if (hydrate.failed.length > 0) {
|
|
@@ -9318,7 +9319,7 @@ function printInitSummary(resolved, projectDir, created) {
|
|
|
9318
9319
|
console.log();
|
|
9319
9320
|
}
|
|
9320
9321
|
program.command("setup").description("Interactive provider setup wizard").action(async () => {
|
|
9321
|
-
const { cmdSetup } = await import('../setup-
|
|
9322
|
+
const { cmdSetup } = await import('../setup-6QBZIBW2.js');
|
|
9322
9323
|
await cmdSetup([], { projectDir: process.cwd() });
|
|
9323
9324
|
});
|
|
9324
9325
|
program.addCommand(makeInstallCommand());
|