@skaile/workspaces 4.16.2 → 4.16.3
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 +6 -0
- package/dist/{asset-feeds-7SXXHPIF.js → asset-feeds-XBSARE5D.js} +4 -4
- package/dist/{asset-feeds-7SXXHPIF.js.map → asset-feeds-XBSARE5D.js.map} +1 -1
- package/dist/asset-manager/index.js +1 -1
- package/dist/bridge/drivers/claude-sdk.js +4 -4
- package/dist/bridge/drivers/claude-sdk.js.map +1 -1
- package/dist/bridge/drivers/codex.js +4 -3
- package/dist/bridge/drivers/codex.js.map +1 -1
- package/dist/bridge/drivers/continue.js +4 -4
- package/dist/bridge/drivers/echo.js +1 -1
- package/dist/bridge/drivers/gemini.js +6 -6
- package/dist/bridge/drivers/goose.js +4 -4
- package/dist/bridge/drivers/omp.js +4 -3
- package/dist/bridge/drivers/omp.js.map +1 -1
- package/dist/bridge/drivers/opencode.js +4 -4
- package/dist/bridge/drivers/qwen.js +6 -6
- package/dist/bridge/index.js +4 -4
- package/dist/bridge/src/drivers/_subprocess-cli.d.ts.map +1 -1
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
- package/dist/bridge/src/drivers/codex.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/runner-private-env.d.ts +19 -0
- package/dist/bridge/src/runner-private-env.d.ts.map +1 -0
- package/dist/{chunk-RPC2C3QL.js → chunk-3MRCJJSH.js} +3 -3
- package/dist/{chunk-RPC2C3QL.js.map → chunk-3MRCJJSH.js.map} +1 -1
- package/dist/{chunk-43JBP4QJ.js → chunk-5OAMRXJZ.js} +3 -3
- package/dist/{chunk-43JBP4QJ.js.map → chunk-5OAMRXJZ.js.map} +1 -1
- package/dist/{chunk-MRCGJ4N3.js → chunk-76IGAJ47.js} +3 -3
- package/dist/{chunk-MRCGJ4N3.js.map → chunk-76IGAJ47.js.map} +1 -1
- package/dist/{chunk-NFKLOGA2.js → chunk-7GCOHM2S.js} +2 -2
- package/dist/{chunk-NFKLOGA2.js.map → chunk-7GCOHM2S.js.map} +1 -1
- package/dist/{chunk-LDT6NGSL.js → chunk-B6IDJRRZ.js} +3 -3
- package/dist/{chunk-LDT6NGSL.js.map → chunk-B6IDJRRZ.js.map} +1 -1
- package/dist/{chunk-GAH4YRCI.js → chunk-BGY4KTU6.js} +13 -3
- package/dist/chunk-BGY4KTU6.js.map +1 -0
- package/dist/{chunk-OWFWZ2K4.js → chunk-BWWNJLXJ.js} +6 -6
- package/dist/{chunk-OWFWZ2K4.js.map → chunk-BWWNJLXJ.js.map} +1 -1
- package/dist/{chunk-LISGIFKY.js → chunk-GGRHNBUP.js} +3 -3
- package/dist/{chunk-LISGIFKY.js.map → chunk-GGRHNBUP.js.map} +1 -1
- package/dist/{chunk-B4L3DTPD.js → chunk-I66MW6OR.js} +3 -3
- package/dist/{chunk-B4L3DTPD.js.map → chunk-I66MW6OR.js.map} +1 -1
- package/dist/{chunk-TEQDWOBS.js → chunk-LPPRZAO5.js} +4 -4
- package/dist/{chunk-TEQDWOBS.js.map → chunk-LPPRZAO5.js.map} +1 -1
- package/dist/{chunk-J7WFDLV6.js → chunk-N5YUCSMA.js} +5 -5
- package/dist/chunk-N5YUCSMA.js.map +1 -0
- package/dist/{chunk-MGGFO32R.js → chunk-OWMHVP6Q.js} +51 -11
- package/dist/chunk-OWMHVP6Q.js.map +1 -0
- package/dist/{chunk-OH2ULGQX.js → chunk-SNW3UR3K.js} +6 -6
- package/dist/{chunk-OH2ULGQX.js.map → chunk-SNW3UR3K.js.map} +1 -1
- package/dist/{chunk-DEZOLXIA.js → chunk-UBDQFZZH.js} +5 -5
- package/dist/{chunk-DEZOLXIA.js.map → chunk-UBDQFZZH.js.map} +1 -1
- package/dist/{chunk-RTIFNBX6.js → chunk-VIX4AEVZ.js} +4 -4
- package/dist/{chunk-RTIFNBX6.js.map → chunk-VIX4AEVZ.js.map} +1 -1
- package/dist/{chunk-2TY2HO6D.js → chunk-W4AEVRUC.js} +6 -6
- package/dist/{chunk-2TY2HO6D.js.map → chunk-W4AEVRUC.js.map} +1 -1
- package/dist/{chunk-KP2DZHAL.js → chunk-WTUHM2NJ.js} +2 -2
- package/dist/{chunk-KP2DZHAL.js.map → chunk-WTUHM2NJ.js.map} +1 -1
- package/dist/{chunk-CJGNYHPG.js → chunk-ZCKQQJ7K.js} +2 -2
- package/dist/{chunk-CJGNYHPG.js.map → chunk-ZCKQQJ7K.js.map} +1 -1
- package/dist/cli/index.js +35 -33
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/serve.d.ts.map +1 -1
- package/dist/connectors/index.js +5 -5
- package/dist/{ensure-sources-YQTLMWC7.js → ensure-sources-PTZJZE56.js} +4 -4
- package/dist/{ensure-sources-YQTLMWC7.js.map → ensure-sources-PTZJZE56.js.map} +1 -1
- package/dist/factory-assets/connectors/box.js +5 -5
- package/dist/factory-assets/connectors/deploy.js +5 -5
- package/dist/factory-assets/connectors/devserver.js +5 -5
- package/dist/factory-assets/connectors/flow/adapter.js +5 -5
- package/dist/factory-assets/connectors/flow/run-flow.js +6 -6
- package/dist/factory-assets/connectors/flow.js +5 -5
- package/dist/factory-assets/connectors/git.js +5 -5
- package/dist/factory-assets/connectors/gmail.js +5 -5
- package/dist/factory-assets/connectors/googledrive.js +5 -5
- package/dist/factory-assets/connectors/local.js +5 -5
- package/dist/factory-assets/connectors/mattermost.js +5 -5
- package/dist/factory-assets/connectors/memory.js +5 -5
- package/dist/factory-assets/connectors/minio.js +5 -5
- package/dist/factory-assets/connectors/postgres.js +5 -5
- package/dist/factory-assets/connectors/s3.js +5 -5
- package/dist/factory-assets/connectors/sharepoint.js +5 -5
- package/dist/factory-assets/connectors/sqlite.js +5 -5
- package/dist/factory-assets/connectors/static-server.js +5 -5
- package/dist/factory-assets/connectors/tunnel.js +5 -5
- package/dist/factory-assets/connectors/webdav.js +5 -5
- package/dist/factory-assets/connectors/xstate-store.js +5 -5
- package/dist/factory-assets/connectors/xstate.js +5 -5
- package/dist/{helpers-FLGUKSJC.js → helpers-TPVJ6XTD.js} +4 -4
- package/dist/{helpers-FLGUKSJC.js.map → helpers-TPVJ6XTD.js.map} +1 -1
- package/dist/{library-publish-GAGKIYZM.js → library-publish-4XE5BQTE.js} +6 -6
- package/dist/{library-publish-GAGKIYZM.js.map → library-publish-4XE5BQTE.js.map} +1 -1
- package/dist/{open-library-KBKNUPXA.js → open-library-WFTFVJ67.js} +5 -5
- package/dist/{open-library-KBKNUPXA.js.map → open-library-WFTFVJ67.js.map} +1 -1
- package/dist/{project-WJCOAMD2.js → project-FI5A4E7X.js} +5 -5
- package/dist/{project-WJCOAMD2.js.map → project-FI5A4E7X.js.map} +1 -1
- package/dist/runner/index.js +8 -8
- package/dist/runner/src/index.d.ts +1 -0
- package/dist/runner/src/index.d.ts.map +1 -1
- package/dist/runner/src/serve.d.ts +12 -2
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/runner/src/ws-auth-token.d.ts +52 -0
- package/dist/runner/src/ws-auth-token.d.ts.map +1 -0
- package/dist/sdk/asset-manager.js +1 -1
- package/dist/sdk/bridge.js +4 -4
- package/dist/sdk/index.js +8 -8
- package/dist/sdk/runner.js +8 -8
- package/dist/{setup-Y44FMZ3F.js → setup-EDSTI5LM.js} +9 -9
- package/dist/{setup-Y44FMZ3F.js.map → setup-EDSTI5LM.js.map} +1 -1
- package/dist/{source-4U7OVLVV.js → source-7VNEUEGO.js} +6 -6
- package/dist/{source-4U7OVLVV.js.map → source-7VNEUEGO.js.map} +1 -1
- package/dist/{source-manifest-publish-RUJVFIJG.js → source-manifest-publish-SQ2SXJEA.js} +7 -7
- package/dist/{source-manifest-publish-RUJVFIJG.js.map → source-manifest-publish-SQ2SXJEA.js.map} +1 -1
- package/dist/tui/index.js +8 -8
- package/dist/workspace-plugin/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-GAH4YRCI.js.map +0 -1
- package/dist/chunk-J7WFDLV6.js.map +0 -1
- package/dist/chunk-MGGFO32R.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-BWWNJLXJ.js';
|
|
4
|
+
import { makeProvidersCommand, loadRegistryView, addProviderEntry, ProviderRegistryWriteError } from '../chunk-VIX4AEVZ.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-W4AEVRUC.js';
|
|
7
|
+
import { openCatalogSource, openLibraryManager, createFullRegistry, openLibrary } from '../chunk-GGRHNBUP.js';
|
|
8
|
+
import { logErr, S, logOk, logInfo, logWarn, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth } from '../chunk-I66MW6OR.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-OWMHVP6Q.js';
|
|
11
|
+
import { buildClaudePluginFiles } from '../chunk-7GCOHM2S.js';
|
|
12
12
|
import '../chunk-PQE2MYB6.js';
|
|
13
13
|
import '../chunk-KU473DRO.js';
|
|
14
14
|
import '../chunk-P2DLXBZK.js';
|
|
@@ -24,21 +24,21 @@ 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-5OAMRXJZ.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-UBDQFZZH.js';
|
|
33
33
|
import '../chunk-UF4AEO54.js';
|
|
34
34
|
import '../chunk-MC2MF4U5.js';
|
|
35
|
-
import '../chunk-
|
|
35
|
+
import '../chunk-LPPRZAO5.js';
|
|
36
36
|
import '../chunk-4SIMGJIU.js';
|
|
37
37
|
import '../chunk-LOO5CB5M.js';
|
|
38
38
|
import '../chunk-TOXPRXAK.js';
|
|
39
|
-
import '../chunk-
|
|
40
|
-
import '../chunk-
|
|
41
|
-
import { getProviderPreset, AI_PROVIDER_PRESETS } from '../chunk-
|
|
39
|
+
import '../chunk-B6IDJRRZ.js';
|
|
40
|
+
import '../chunk-BGY4KTU6.js';
|
|
41
|
+
import { getProviderPreset, AI_PROVIDER_PRESETS } from '../chunk-ZCKQQJ7K.js';
|
|
42
42
|
import '../chunk-6E6PKKAD.js';
|
|
43
43
|
import '../chunk-IFGTRL2I.js';
|
|
44
44
|
import { projectAiAssetsRoots, loadFlow, loadAllFlowEntries, findFlowFileInRoots } from '../chunk-KTCMBEEB.js';
|
|
@@ -48,7 +48,7 @@ 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-
|
|
51
|
+
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-WTUHM2NJ.js';
|
|
52
52
|
import { getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-UFWADBG6.js';
|
|
53
53
|
import '../chunk-HGPSZXZP.js';
|
|
54
54
|
import '../chunk-VOEBLPXO.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-WFTFVJ67.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-7VNEUEGO.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-WFTFVJ67.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-WFTFVJ67.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-WFTFVJ67.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-WFTFVJ67.js');
|
|
1189
1189
|
let resolved;
|
|
1190
1190
|
try {
|
|
1191
1191
|
resolved = await resolveCatalogSource({ projectDir });
|
|
@@ -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-4XE5BQTE.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-4XE5BQTE.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-4XE5BQTE.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-XBSARE5D.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-WFTFVJ67.js'),
|
|
4443
4443
|
import('../library/index.js'),
|
|
4444
4444
|
import('../core/index.js')
|
|
4445
4445
|
]);
|
|
@@ -7225,7 +7225,8 @@ function makeServeCommand() {
|
|
|
7225
7225
|
await runCompileTest({ ...opts, withCodex: opts.withCodex ?? false });
|
|
7226
7226
|
return;
|
|
7227
7227
|
}
|
|
7228
|
-
const { startAgentServer, loadManagedCodexHostConfig } = await import('../runner/index.js');
|
|
7228
|
+
const { startAgentServer, loadManagedCodexHostConfig, takeRunnerWsAuthToken } = await import('../runner/index.js');
|
|
7229
|
+
const wsAuth = takeRunnerWsAuthToken();
|
|
7229
7230
|
const managedCodex = opts.managedCodexConfig ? loadManagedCodexHostConfig(opts.managedCodexConfig, opts.projectDir) : void 0;
|
|
7230
7231
|
if (managedCodex) {
|
|
7231
7232
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
@@ -7236,6 +7237,7 @@ function makeServeCommand() {
|
|
|
7236
7237
|
}
|
|
7237
7238
|
await startAgentServer({
|
|
7238
7239
|
port: parseInt(opts.port, 10),
|
|
7240
|
+
authTokenIntake: wsAuth,
|
|
7239
7241
|
...managedCodex ? { managedCodex } : {},
|
|
7240
7242
|
// The CLI owns its process, so a dead stdout pipe is fatal here.
|
|
7241
7243
|
// `SKAILE_SERVE_EXIT_ON_BROKEN_STDOUT=0` opts out — the `local` /
|
|
@@ -7252,7 +7254,7 @@ function makeServeCommand() {
|
|
|
7252
7254
|
);
|
|
7253
7255
|
}
|
|
7254
7256
|
async function ensurePluginsLoadedForServe(projectDir) {
|
|
7255
|
-
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-
|
|
7257
|
+
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-TPVJ6XTD.js');
|
|
7256
7258
|
try {
|
|
7257
7259
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
7258
7260
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
@@ -7271,7 +7273,7 @@ async function ensurePluginsLoadedForServe(projectDir) {
|
|
|
7271
7273
|
}
|
|
7272
7274
|
}
|
|
7273
7275
|
async function runCompileTest(opts) {
|
|
7274
|
-
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-
|
|
7276
|
+
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-TPVJ6XTD.js');
|
|
7275
7277
|
const { tmpdir } = await import('os');
|
|
7276
7278
|
const { dirname: dirname4, join: join7, resolve: resolve5 } = await import('path');
|
|
7277
7279
|
const { fileURLToPath: fileURLToPath2 } = await import('url');
|
|
@@ -8153,7 +8155,7 @@ function makeStoreCommand() {
|
|
|
8153
8155
|
process.exit(2);
|
|
8154
8156
|
});
|
|
8155
8157
|
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) => {
|
|
8156
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
8158
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-WFTFVJ67.js');
|
|
8157
8159
|
try {
|
|
8158
8160
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
8159
8161
|
const assets = await remote.listAssets(opts.kind ? { kind: opts.kind } : {});
|
|
@@ -8186,8 +8188,8 @@ function makeStoreCommand() {
|
|
|
8186
8188
|
}
|
|
8187
8189
|
});
|
|
8188
8190
|
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) => {
|
|
8189
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
8190
|
-
const { supportsInstallManifest } = await import('../project-
|
|
8191
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-WFTFVJ67.js');
|
|
8192
|
+
const { supportsInstallManifest } = await import('../project-FI5A4E7X.js');
|
|
8191
8193
|
try {
|
|
8192
8194
|
const remote = await openCatalogSource2({ projectDir: path36__default.resolve(opts.projectDir) });
|
|
8193
8195
|
const asset = await remote.resolve(ref);
|
|
@@ -9275,7 +9277,7 @@ async function bootstrapUserConfig() {
|
|
|
9275
9277
|
}
|
|
9276
9278
|
async function hydrateInitSources(resolved, created) {
|
|
9277
9279
|
try {
|
|
9278
|
-
const { ensureSourcesCloned } = await import('../ensure-sources-
|
|
9280
|
+
const { ensureSourcesCloned } = await import('../ensure-sources-PTZJZE56.js');
|
|
9279
9281
|
const hydrate = ensureSourcesCloned(resolved, { quiet: true });
|
|
9280
9282
|
for (const n of hydrate.cloned) created.push(`~/.skaile/cache/sources/${n}/`);
|
|
9281
9283
|
if (hydrate.failed.length > 0) {
|
|
@@ -9315,7 +9317,7 @@ function printInitSummary(resolved, projectDir, created) {
|
|
|
9315
9317
|
console.log();
|
|
9316
9318
|
}
|
|
9317
9319
|
program.command("setup").description("Interactive provider setup wizard").action(async () => {
|
|
9318
|
-
const { cmdSetup } = await import('../setup-
|
|
9320
|
+
const { cmdSetup } = await import('../setup-EDSTI5LM.js');
|
|
9319
9321
|
await cmdSetup([], { projectDir: process.cwd() });
|
|
9320
9322
|
});
|
|
9321
9323
|
program.addCommand(makeInstallCommand());
|