@skaile/workspaces 5.6.0 → 5.6.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 +11 -0
- package/dist/{asset-feeds-4O2JK5S4.js → asset-feeds-LU7NHOAP.js} +4 -4
- package/dist/{asset-feeds-4O2JK5S4.js.map → asset-feeds-LU7NHOAP.js.map} +1 -1
- package/dist/asset-manager/index.js +2 -2
- package/dist/asset-manager/installer.js +1 -1
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/asset-manager/src/installer.d.ts.map +1 -1
- package/dist/{chunk-IPWR33AW.js → chunk-2KOKBTR4.js} +18 -9
- package/dist/chunk-2KOKBTR4.js.map +1 -0
- package/dist/{chunk-DZM73WDN.js → chunk-65EYRFZJ.js} +3 -3
- package/dist/{chunk-DZM73WDN.js.map → chunk-65EYRFZJ.js.map} +1 -1
- package/dist/{chunk-436GRQC2.js → chunk-D2V42LUE.js} +6 -6
- package/dist/{chunk-436GRQC2.js.map → chunk-D2V42LUE.js.map} +1 -1
- package/dist/{chunk-O5GDKC5I.js → chunk-GP6ZL7PE.js} +3 -3
- package/dist/{chunk-O5GDKC5I.js.map → chunk-GP6ZL7PE.js.map} +1 -1
- package/dist/{chunk-V7NN3HXR.js → chunk-I4QBZLOR.js} +3 -3
- package/dist/{chunk-V7NN3HXR.js.map → chunk-I4QBZLOR.js.map} +1 -1
- package/dist/{chunk-4CTGEEN6.js → chunk-PTO2YDDG.js} +17 -5
- package/dist/chunk-PTO2YDDG.js.map +1 -0
- package/dist/{chunk-NLXIALVO.js → chunk-QD772CGQ.js} +3 -3
- package/dist/{chunk-NLXIALVO.js.map → chunk-QD772CGQ.js.map} +1 -1
- package/dist/{chunk-S7QXEXKY.js → chunk-VJENKWXF.js} +3 -3
- package/dist/{chunk-S7QXEXKY.js.map → chunk-VJENKWXF.js.map} +1 -1
- package/dist/{chunk-MX6LZE2C.js → chunk-WIHQWVWL.js} +6 -6
- package/dist/{chunk-MX6LZE2C.js.map → chunk-WIHQWVWL.js.map} +1 -1
- package/dist/cli/index.js +70 -38
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/migrate-agents.d.ts.map +1 -1
- package/dist/{ensure-sources-VCPKNPK2.js → ensure-sources-DSTSXJWK.js} +5 -5
- package/dist/{ensure-sources-VCPKNPK2.js.map → ensure-sources-DSTSXJWK.js.map} +1 -1
- package/dist/{helpers-IW36CEJX.js → helpers-R44RUTDY.js} +5 -5
- package/dist/{helpers-IW36CEJX.js.map → helpers-R44RUTDY.js.map} +1 -1
- package/dist/{library-publish-R3DQLMTD.js → library-publish-LFOJJVMK.js} +8 -8
- package/dist/{library-publish-R3DQLMTD.js.map → library-publish-LFOJJVMK.js.map} +1 -1
- package/dist/{open-library-FAJZRDKE.js → open-library-4WUMQHES.js} +6 -6
- package/dist/{open-library-FAJZRDKE.js.map → open-library-4WUMQHES.js.map} +1 -1
- package/dist/{project-ALJIVFHI.js → project-VMOHUXBD.js} +6 -6
- package/dist/{project-ALJIVFHI.js.map → project-VMOHUXBD.js.map} +1 -1
- package/dist/sdk/asset-manager.js +2 -2
- package/dist/{setup-35JXIA3N.js → setup-PYY23HGZ.js} +6 -6
- package/dist/{setup-35JXIA3N.js.map → setup-PYY23HGZ.js.map} +1 -1
- package/dist/{source-ISR4KRZV.js → source-JCF6KSQN.js} +7 -7
- package/dist/{source-ISR4KRZV.js.map → source-JCF6KSQN.js.map} +1 -1
- package/dist/{source-manifest-publish-P22IPK5F.js → source-manifest-publish-O6P7G2M7.js} +9 -9
- package/dist/{source-manifest-publish-P22IPK5F.js.map → source-manifest-publish-O6P7G2M7.js.map} +1 -1
- package/package.json +3 -1
- package/dist/chunk-4CTGEEN6.js.map +0 -1
- package/dist/chunk-IPWR33AW.js.map +0 -1
package/dist/cli/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { makeProvidersCommand, loadRegistryView, addProviderEntry, ProviderRegistryWriteError } from '../chunk-
|
|
3
|
-
import { makeSourceCommand, syncProjectSources } from '../chunk-
|
|
2
|
+
import { makeProvidersCommand, loadRegistryView, addProviderEntry, ProviderRegistryWriteError } from '../chunk-QD772CGQ.js';
|
|
3
|
+
import { makeSourceCommand, syncProjectSources } from '../chunk-D2V42LUE.js';
|
|
4
4
|
import { AI_RESOURCES } from '../chunk-OGLDAJFL.js';
|
|
5
5
|
import { checkSkillManifest } from '../chunk-2NYXQYHN.js';
|
|
6
|
-
import { getStoreConfig, storeFetch, deviceLogin, loadStoreAuthConfig, logout, hasStoredAuth, isStoreAuthenticated, getStoreToken, getStoreIdentity, assetEntryRef, refFor } from '../chunk-
|
|
7
|
-
import { makeInstallCommand, makeCheckCommand, makeCleanCommand, reportInstalledSoftDeps } from '../chunk-
|
|
6
|
+
import { getStoreConfig, storeFetch, deviceLogin, loadStoreAuthConfig, logout, hasStoredAuth, isStoreAuthenticated, getStoreToken, getStoreIdentity, assetEntryRef, refFor } from '../chunk-65EYRFZJ.js';
|
|
7
|
+
import { makeInstallCommand, makeCheckCommand, makeCleanCommand, reportInstalledSoftDeps } from '../chunk-WIHQWVWL.js';
|
|
8
8
|
import { createSpinner } from '../chunk-NESV47MF.js';
|
|
9
|
-
import { openCatalogSource, openLibraryManager, openLibrary } from '../chunk-
|
|
10
|
-
import { logErr, S, logOk, logInfo, logWarn, TARGET_DEFAULT_HINT, deferredWarnings, warnLegacyClaudeCopies, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth, KIND_COL_WIDTH } from '../chunk-
|
|
9
|
+
import { openCatalogSource, openLibraryManager, openLibrary } from '../chunk-I4QBZLOR.js';
|
|
10
|
+
import { logErr, S, logOk, logInfo, logWarn, TARGET_DEFAULT_HINT, deferredWarnings, warnLegacyClaudeCopies, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth, KIND_COL_WIDTH } from '../chunk-VJENKWXF.js';
|
|
11
11
|
import { getKindRegistry, getKnownKinds } from '../chunk-OLLAQLFJ.js';
|
|
12
12
|
import { LocalSecretsProvider } from '../chunk-VSQFGU5D.js';
|
|
13
13
|
import { runAgentChat, isCompositionError, loadSessionById, loadSession, listSessions, setCurrentSession, deleteSession, clearSession, loadAgentManifest, hashAgentFiles, createCompositionContentSource, compileComposition, instanceForSession, resolveAgentInstance, describeComposition, MarkdownStreamer } from '../chunk-RGXVQZOV.js';
|
|
@@ -53,18 +53,18 @@ import '../chunk-XUUYAS3Z.js';
|
|
|
53
53
|
import { nodeLabel, nodeSkillAsset, nodeIsInert, nodeIsOptional, nodeRunKind, flowSkillVersionPins } from '../chunk-NFGRW3L7.js';
|
|
54
54
|
import '../chunk-QCI6D7E4.js';
|
|
55
55
|
import '../chunk-DMLDYFDS.js';
|
|
56
|
-
import { AssetManager, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-
|
|
56
|
+
import { AssetManager, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-PTO2YDDG.js';
|
|
57
57
|
import { cloneOrInitGitRepo, ensureGitRepo, setManifestPublisher, syncManifestWithDisk, isGitRepo, assertManifestEditable, installLibraryAsset, missingRootAssets, stampManifestPublisher, upsertManifestAsset, getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-MX3UQXLU.js';
|
|
58
58
|
import { parseManifestFile } from '../chunk-XOGG7VDZ.js';
|
|
59
59
|
import '../chunk-BTISGSK4.js';
|
|
60
60
|
import '../chunk-R7FOF242.js';
|
|
61
61
|
import '../chunk-3TXEJN4W.js';
|
|
62
|
-
import { installTargetOf } from '../chunk-
|
|
62
|
+
import { installTargetOf } from '../chunk-2KOKBTR4.js';
|
|
63
63
|
import '../chunk-CGYEHQOX.js';
|
|
64
64
|
import '../chunk-KTBKW2FI.js';
|
|
65
65
|
import '../chunk-UQ6LFBPZ.js';
|
|
66
66
|
import '../chunk-VKSXST23.js';
|
|
67
|
-
import { effectiveComposes, validatePreset, composeSlotDiagnostics, agentDeprecationDiagnostics, validateAgent } from '../chunk-FRHE7FFB.js';
|
|
67
|
+
import { effectiveComposes, validatePreset, composeSlotDiagnostics, agentDeprecationDiagnostics, validateAgent, SLOT_ID_PATTERN } from '../chunk-FRHE7FFB.js';
|
|
68
68
|
import { resolveSettings, globalSettingsPath, projectSettingsPath, loadSettings, saveSettings, WorkspaceYamlEditor, resolveLibraryDir, checkAgentSkillConformance, globalInstallDir, GLOBAL_INSTALL_DIR_NAME, readLock, aiResourceRoots, workspaceProviderRegistryPath, userProviderRegistryPath, loadProviderRegistryFile } from '../chunk-TZCQ7ZWQ.js';
|
|
69
69
|
import '../chunk-4GY63JU6.js';
|
|
70
70
|
import { factoryAssetRoots } from '../chunk-BF33SCLY.js';
|
|
@@ -185,7 +185,7 @@ async function runSearch(kind, query, opts) {
|
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
async function searchIndex(query, kind) {
|
|
188
|
-
const { openLibrary: openLibrary2 } = await import('../open-library-
|
|
188
|
+
const { openLibrary: openLibrary2 } = await import('../open-library-4WUMQHES.js');
|
|
189
189
|
const library = await openLibrary2();
|
|
190
190
|
try {
|
|
191
191
|
const defs = await library.listAssetDefs(kind ? { kind } : {});
|
|
@@ -241,7 +241,7 @@ async function searchLocal(query, kind, opts, showStore, airGapped) {
|
|
|
241
241
|
const factory = await searchFactory(projectDir, query, kind);
|
|
242
242
|
let entries = unionEntries(await searchIndex(query, kind), factory);
|
|
243
243
|
if (entries.length === 0 && !query && !kind && !airGapped) {
|
|
244
|
-
const { autoSyncForSearch } = await import('../source-
|
|
244
|
+
const { autoSyncForSearch } = await import('../source-JCF6KSQN.js');
|
|
245
245
|
if (await autoSyncForSearch(projectDir)) {
|
|
246
246
|
entries = unionEntries(await searchIndex(query, kind), factory);
|
|
247
247
|
}
|
|
@@ -350,7 +350,7 @@ async function searchStore(query, kind, opts, airGapped) {
|
|
|
350
350
|
logInfo("air-gapped (cache_ttl: 0) \u2014 local sources only");
|
|
351
351
|
return;
|
|
352
352
|
}
|
|
353
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
353
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-4WUMQHES.js');
|
|
354
354
|
try {
|
|
355
355
|
const remote = await openCatalogSource2({ projectDir: path25__default.resolve(opts.projectDir) });
|
|
356
356
|
const assets = await remote.listAssets(kind ? { kind } : {});
|
|
@@ -691,7 +691,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
691
691
|
return { entry: match ?? deployed };
|
|
692
692
|
}
|
|
693
693
|
const lookup = opts.storeLookup ?? (async (filter) => {
|
|
694
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
694
|
+
const { resolveCatalogSource } = await import('../open-library-4WUMQHES.js');
|
|
695
695
|
const { source, close } = await resolveCatalogSource({ projectDir: opts.projectDir });
|
|
696
696
|
try {
|
|
697
697
|
return await source.listAssets(filter);
|
|
@@ -707,7 +707,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
707
707
|
);
|
|
708
708
|
return { entry: hit ? catalogAssetToEntry(hit) : null };
|
|
709
709
|
} catch (err2) {
|
|
710
|
-
const { LocalCatalogDisabledError } = await import('../open-library-
|
|
710
|
+
const { LocalCatalogDisabledError } = await import('../open-library-4WUMQHES.js');
|
|
711
711
|
const storeNote = err2 instanceof Error ? err2.message : String(err2);
|
|
712
712
|
const disabled = err2 instanceof LocalCatalogDisabledError || /catalog\.url/i.test(storeNote);
|
|
713
713
|
return { entry: null, storeNote, ...disabled ? { storeDisabled: true } : {} };
|
|
@@ -1408,7 +1408,7 @@ function makeCatalogCommand() {
|
|
|
1408
1408
|
return catalog;
|
|
1409
1409
|
}
|
|
1410
1410
|
async function runLocalCatalogTest(projectDir) {
|
|
1411
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
1411
|
+
const { resolveCatalogSource } = await import('../open-library-4WUMQHES.js');
|
|
1412
1412
|
let resolved;
|
|
1413
1413
|
try {
|
|
1414
1414
|
resolved = await resolveCatalogSource({ projectDir });
|
|
@@ -1552,7 +1552,7 @@ async function scanLibraryFlowEntries() {
|
|
|
1552
1552
|
const indexPath = resolveIndexPath();
|
|
1553
1553
|
if (!existsSync(indexPath)) return entries;
|
|
1554
1554
|
const [{ authoringLibraries }, { getKindRegistry: getKindRegistry2 }] = await Promise.all([
|
|
1555
|
-
import('../open-library-
|
|
1555
|
+
import('../open-library-4WUMQHES.js'),
|
|
1556
1556
|
import('../open-registry-NVPCQPND.js')
|
|
1557
1557
|
]);
|
|
1558
1558
|
const index = new LocalIndex({ indexPath });
|
|
@@ -3916,16 +3916,16 @@ function makeLibraryCommand() {
|
|
|
3916
3916
|
"With --create-repo: create the repo private (the store only accepts public repos)"
|
|
3917
3917
|
).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(
|
|
3918
3918
|
async (lib, opts) => {
|
|
3919
|
-
const { runLibraryPublish } = await import('../library-publish-
|
|
3919
|
+
const { runLibraryPublish } = await import('../library-publish-LFOJJVMK.js');
|
|
3920
3920
|
await withStoreErrorHandling(() => runLibraryPublish(lib, opts));
|
|
3921
3921
|
}
|
|
3922
3922
|
);
|
|
3923
3923
|
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) => {
|
|
3924
|
-
const { runLibraryRegister } = await import('../library-publish-
|
|
3924
|
+
const { runLibraryRegister } = await import('../library-publish-LFOJJVMK.js');
|
|
3925
3925
|
await withStoreErrorHandling(() => runLibraryRegister(lib, opts));
|
|
3926
3926
|
});
|
|
3927
3927
|
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) => {
|
|
3928
|
-
const { runLibraryYank } = await import('../library-publish-
|
|
3928
|
+
const { runLibraryYank } = await import('../library-publish-LFOJJVMK.js');
|
|
3929
3929
|
await withStoreErrorHandling(() => runLibraryYank(lib, opts));
|
|
3930
3930
|
});
|
|
3931
3931
|
return cmd;
|
|
@@ -4585,7 +4585,7 @@ function scheduleSoftDepPreview() {
|
|
|
4585
4585
|
}
|
|
4586
4586
|
async function loadAssets() {
|
|
4587
4587
|
softDepPreviewCache.clear();
|
|
4588
|
-
const { gatherAssetFeeds } = await import('../asset-feeds-
|
|
4588
|
+
const { gatherAssetFeeds } = await import('../asset-feeds-LU7NHOAP.js');
|
|
4589
4589
|
const { entries, notes } = await gatherAssetFeeds(am, am.projectDir);
|
|
4590
4590
|
if (notes.length > 0) {
|
|
4591
4591
|
state.message = notes.map((n) => `[${n.feed}] ${n.message}`).join(" \u2022 ");
|
|
@@ -4752,7 +4752,7 @@ function reconcileCollapsedSets(rows) {
|
|
|
4752
4752
|
async function loadSourcesAndLibraries() {
|
|
4753
4753
|
try {
|
|
4754
4754
|
const [{ openLibraryManager: openLibraryManager2 }, { getGlobalCacheDir: getGlobalCacheDir2, globalSkaileDir: globalSkaileDir2 }] = await Promise.all([
|
|
4755
|
-
import('../open-library-
|
|
4755
|
+
import('../open-library-4WUMQHES.js'),
|
|
4756
4756
|
import('../core/index.js')
|
|
4757
4757
|
]);
|
|
4758
4758
|
const { manager, library, close } = await openLibraryManager2();
|
|
@@ -6770,6 +6770,9 @@ function itemsFromEntry(field, entry, ctx) {
|
|
|
6770
6770
|
function slugTail(ref) {
|
|
6771
6771
|
return ref.replace(/#.*$/, "").split(/[/:]/).filter(Boolean).pop() ?? ref;
|
|
6772
6772
|
}
|
|
6773
|
+
function aliasSlug(name) {
|
|
6774
|
+
return name.normalize("NFKD").replace(/\p{M}/gu, "").trim().toLowerCase().replace(/[^a-z0-9_-]+/g, "-").replace(/^-+|-+$/g, "");
|
|
6775
|
+
}
|
|
6773
6776
|
function defaultKindFor(field) {
|
|
6774
6777
|
switch (field) {
|
|
6775
6778
|
case "persona":
|
|
@@ -6933,11 +6936,40 @@ function migrateAgentYaml(source, options) {
|
|
|
6933
6936
|
const seen = new Set(existing.map((i) => `${String(i.kind)}\0${String(i.ref)}`));
|
|
6934
6937
|
const fresh = [];
|
|
6935
6938
|
for (const item of derived) {
|
|
6936
|
-
const
|
|
6937
|
-
if (seen.has(
|
|
6938
|
-
seen.add(
|
|
6939
|
+
const key2 = `${item.kind}\0${item.ref}`;
|
|
6940
|
+
if (seen.has(key2)) continue;
|
|
6941
|
+
seen.add(key2);
|
|
6939
6942
|
fresh.push(item);
|
|
6940
6943
|
}
|
|
6944
|
+
const key = (kind, alias) => `${kind}\0${alias}`;
|
|
6945
|
+
const usedAs = /* @__PURE__ */ new Set([
|
|
6946
|
+
...existing.map(
|
|
6947
|
+
(i) => key(String(i.kind), typeof i.as === "string" ? i.as : aliasSlug(slugTail(String(i.ref))))
|
|
6948
|
+
),
|
|
6949
|
+
...fresh.filter((i) => i.as === void 0).map((i) => key(i.kind, aliasSlug(slugTail(i.ref))))
|
|
6950
|
+
]);
|
|
6951
|
+
for (const item of fresh) {
|
|
6952
|
+
if (item.as === void 0) continue;
|
|
6953
|
+
const original = item.as;
|
|
6954
|
+
const slug = aliasSlug(original);
|
|
6955
|
+
if (!SLOT_ID_PATTERN.test(slug)) {
|
|
6956
|
+
delete item.as;
|
|
6957
|
+
manual.push(
|
|
6958
|
+
`composes ${item.kind} ${item.ref}: name "${original}" cannot be made a valid \`as\` alias ([a-z][a-z0-9_-]*); \`as\` omitted, set one by hand`
|
|
6959
|
+
);
|
|
6960
|
+
} else if (usedAs.has(key(item.kind, slug))) {
|
|
6961
|
+
delete item.as;
|
|
6962
|
+
manual.push(
|
|
6963
|
+
`composes ${item.kind} ${item.ref}: name "${original}" \u2192 "${slug}" collides with another \`as\` in this agent; \`as\` omitted, set a unique one by hand`
|
|
6964
|
+
);
|
|
6965
|
+
} else {
|
|
6966
|
+
usedAs.add(key(item.kind, slug));
|
|
6967
|
+
item.as = slug;
|
|
6968
|
+
if (slug !== original) {
|
|
6969
|
+
notes.push(`composes ${item.kind} ${item.ref}: as "${original}" \u2192 "${slug}"`);
|
|
6970
|
+
}
|
|
6971
|
+
}
|
|
6972
|
+
}
|
|
6941
6973
|
let changed = false;
|
|
6942
6974
|
const flowItem = (item) => {
|
|
6943
6975
|
const obj = { kind: item.kind, ref: item.ref };
|
|
@@ -6968,10 +7000,10 @@ function migrateAgentYaml(source, options) {
|
|
|
6968
7000
|
let carriedComment;
|
|
6969
7001
|
let carriedSpace = false;
|
|
6970
7002
|
if (anchor >= 0) {
|
|
6971
|
-
const
|
|
6972
|
-
if (isScalar(
|
|
6973
|
-
carriedComment =
|
|
6974
|
-
carriedSpace =
|
|
7003
|
+
const key2 = root.items[anchor].key;
|
|
7004
|
+
if (isScalar(key2)) {
|
|
7005
|
+
carriedComment = key2.commentBefore ?? void 0;
|
|
7006
|
+
carriedSpace = key2.spaceBefore === true;
|
|
6975
7007
|
}
|
|
6976
7008
|
}
|
|
6977
7009
|
if (fresh.length > 0 || removedTop.length > 0 || removedMeta.length > 0) {
|
|
@@ -7009,11 +7041,11 @@ function migrateAgentYaml(source, options) {
|
|
|
7009
7041
|
const metaNode = root.get("metadata", true);
|
|
7010
7042
|
if (isMap(metaNode)) {
|
|
7011
7043
|
for (const field of removedMeta) removeKey(metaNode, field);
|
|
7012
|
-
for (const [
|
|
7044
|
+
for (const [key2, values] of Object.entries(proseNotes)) {
|
|
7013
7045
|
if (values.length === 0) continue;
|
|
7014
|
-
const current = metaNode.get(
|
|
7046
|
+
const current = metaNode.get(key2);
|
|
7015
7047
|
const merged = Array.isArray(current) ? [...current, ...values] : values;
|
|
7016
|
-
metaNode.set(
|
|
7048
|
+
metaNode.set(key2, doc.createNode(merged));
|
|
7017
7049
|
}
|
|
7018
7050
|
if (metaNode.items.length === 0 && removedMeta.length > 0) removeKey(root, "metadata");
|
|
7019
7051
|
}
|
|
@@ -9566,7 +9598,7 @@ function makeServeCommand() {
|
|
|
9566
9598
|
);
|
|
9567
9599
|
}
|
|
9568
9600
|
async function ensurePluginsLoadedForServe(projectDir) {
|
|
9569
|
-
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-
|
|
9601
|
+
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-R44RUTDY.js');
|
|
9570
9602
|
try {
|
|
9571
9603
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
9572
9604
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
@@ -9585,7 +9617,7 @@ async function ensurePluginsLoadedForServe(projectDir) {
|
|
|
9585
9617
|
}
|
|
9586
9618
|
}
|
|
9587
9619
|
async function runCompileTest(opts) {
|
|
9588
|
-
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-
|
|
9620
|
+
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-R44RUTDY.js');
|
|
9589
9621
|
const { tmpdir } = await import('os');
|
|
9590
9622
|
const { dirname: dirname3, join: join7, resolve: resolve5 } = await import('path');
|
|
9591
9623
|
const { fileURLToPath: fileURLToPath2 } = await import('url');
|
|
@@ -10469,7 +10501,7 @@ function makeStoreCommand() {
|
|
|
10469
10501
|
process.exit(2);
|
|
10470
10502
|
});
|
|
10471
10503
|
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) => {
|
|
10472
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
10504
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-4WUMQHES.js');
|
|
10473
10505
|
try {
|
|
10474
10506
|
const remote = await openCatalogSource2({ projectDir: path25__default.resolve(opts.projectDir) });
|
|
10475
10507
|
const assets = await remote.listAssets(opts.kind ? { kind: opts.kind } : {});
|
|
@@ -10497,8 +10529,8 @@ function makeStoreCommand() {
|
|
|
10497
10529
|
}
|
|
10498
10530
|
});
|
|
10499
10531
|
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) => {
|
|
10500
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
10501
|
-
const { supportsInstallManifest } = await import('../project-
|
|
10532
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-4WUMQHES.js');
|
|
10533
|
+
const { supportsInstallManifest } = await import('../project-VMOHUXBD.js');
|
|
10502
10534
|
try {
|
|
10503
10535
|
const remote = await openCatalogSource2({ projectDir: path25__default.resolve(opts.projectDir) });
|
|
10504
10536
|
const asset = await remote.resolve(ref);
|
|
@@ -11086,7 +11118,7 @@ async function bootstrapUserConfig() {
|
|
|
11086
11118
|
}
|
|
11087
11119
|
async function hydrateInitSources(resolved, created) {
|
|
11088
11120
|
try {
|
|
11089
|
-
const { ensureSourcesCloned } = await import('../ensure-sources-
|
|
11121
|
+
const { ensureSourcesCloned } = await import('../ensure-sources-DSTSXJWK.js');
|
|
11090
11122
|
const hydrate = ensureSourcesCloned(resolved, { quiet: true });
|
|
11091
11123
|
for (const n of hydrate.cloned) created.push(`~/.skaile/cache/sources/${n}/`);
|
|
11092
11124
|
if (hydrate.failed.length > 0) {
|
|
@@ -11126,7 +11158,7 @@ function printInitSummary(resolved, projectDir, created) {
|
|
|
11126
11158
|
console.log();
|
|
11127
11159
|
}
|
|
11128
11160
|
program.command("setup").description("Interactive provider setup wizard").action(async () => {
|
|
11129
|
-
const { cmdSetup } = await import('../setup-
|
|
11161
|
+
const { cmdSetup } = await import('../setup-PYY23HGZ.js');
|
|
11130
11162
|
await cmdSetup([], { projectDir: process.cwd() });
|
|
11131
11163
|
});
|
|
11132
11164
|
program.addCommand(makeInstallCommand());
|