@skaile/workspaces 2.9.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +17 -6
- package/dist/{asset-feeds-EO2QDJ4C.js → asset-feeds-XKPJZ6QT.js} +4 -4
- package/dist/{asset-feeds-EO2QDJ4C.js.map → asset-feeds-XKPJZ6QT.js.map} +1 -1
- package/dist/asset-manager/index.js +1 -1
- package/dist/bridge/drivers/claude-sdk.js +2 -2
- package/dist/bridge/drivers/codex.js +2 -2
- package/dist/bridge/drivers/continue.js +2 -2
- package/dist/bridge/drivers/echo.js +1 -1
- package/dist/bridge/drivers/gemini.js +4 -4
- package/dist/bridge/drivers/goose.js +2 -2
- package/dist/bridge/drivers/omp.js +1 -1
- package/dist/bridge/drivers/opencode.js +2 -2
- package/dist/bridge/drivers/qwen.js +4 -4
- package/dist/bridge/index.js +3 -3
- package/dist/bridge/src/models.d.ts +59 -0
- package/dist/bridge/src/models.d.ts.map +1 -1
- package/dist/{chunk-INHE5U74.js → chunk-5QGMEPUX.js} +8 -12
- package/dist/chunk-5QGMEPUX.js.map +1 -0
- package/dist/{chunk-TU7JDHKS.js → chunk-7HXS7WZF.js} +2 -2
- package/dist/{chunk-TU7JDHKS.js.map → chunk-7HXS7WZF.js.map} +1 -1
- package/dist/{chunk-OHLKWUO3.js → chunk-7KFN2EPR.js} +12 -4
- package/dist/chunk-7KFN2EPR.js.map +1 -0
- package/dist/{chunk-L3TS7ZO4.js → chunk-BJDACPWZ.js} +3 -3
- package/dist/{chunk-L3TS7ZO4.js.map → chunk-BJDACPWZ.js.map} +1 -1
- package/dist/{chunk-AFUOORJE.js → chunk-EH7BCJF4.js} +6 -6
- package/dist/{chunk-AFUOORJE.js.map → chunk-EH7BCJF4.js.map} +1 -1
- package/dist/{chunk-AGFAOSCZ.js → chunk-F5VREBV2.js} +8 -5
- package/dist/chunk-F5VREBV2.js.map +1 -0
- package/dist/{chunk-5LA4XI4Y.js → chunk-JQMULHO6.js} +24 -12
- package/dist/chunk-JQMULHO6.js.map +1 -0
- package/dist/{chunk-ZR2X4SIG.js → chunk-KXWUCKP5.js} +5 -5
- package/dist/{chunk-ZR2X4SIG.js.map → chunk-KXWUCKP5.js.map} +1 -1
- package/dist/{chunk-ZXJKWA44.js → chunk-N4GFUWWC.js} +3 -3
- package/dist/{chunk-ZXJKWA44.js.map → chunk-N4GFUWWC.js.map} +1 -1
- package/dist/{chunk-UTHMTZEH.js → chunk-NMKTM55X.js} +2 -2
- package/dist/{chunk-UTHMTZEH.js.map → chunk-NMKTM55X.js.map} +1 -1
- package/dist/{chunk-QVFCDSRH.js → chunk-P2J3MLTW.js} +3 -3
- package/dist/{chunk-QVFCDSRH.js.map → chunk-P2J3MLTW.js.map} +1 -1
- package/dist/{chunk-VNIKF66R.js → chunk-P5W6JVD4.js} +4 -4
- package/dist/{chunk-VNIKF66R.js.map → chunk-P5W6JVD4.js.map} +1 -1
- package/dist/{chunk-4PSDPZUG.js → chunk-Q6O53D5Q.js} +2 -2
- package/dist/{chunk-4PSDPZUG.js.map → chunk-Q6O53D5Q.js.map} +1 -1
- package/dist/{chunk-YFAED6OB.js → chunk-QGDQHNYC.js} +4 -4
- package/dist/{chunk-YFAED6OB.js.map → chunk-QGDQHNYC.js.map} +1 -1
- package/dist/{chunk-UAIR3K6X.js → chunk-S5FV6ISY.js} +8 -5
- package/dist/chunk-S5FV6ISY.js.map +1 -0
- package/dist/{chunk-HY3MBSNC.js → chunk-SR6NBBWT.js} +2 -2
- package/dist/{chunk-HY3MBSNC.js.map → chunk-SR6NBBWT.js.map} +1 -1
- package/dist/{chunk-BIKTLLLD.js → chunk-TXTCW7V6.js} +6 -6
- package/dist/{chunk-BIKTLLLD.js.map → chunk-TXTCW7V6.js.map} +1 -1
- package/dist/{chunk-BMQKMOQY.js → chunk-V34ZEXSE.js} +61 -3
- package/dist/chunk-V34ZEXSE.js.map +1 -0
- package/dist/{chunk-XXDQHZJY.js → chunk-WECBTWWZ.js} +3 -3
- package/dist/{chunk-XXDQHZJY.js.map → chunk-WECBTWWZ.js.map} +1 -1
- package/dist/{chunk-XHSS3YHV.js → chunk-XJECOBCO.js} +16 -7
- package/dist/chunk-XJECOBCO.js.map +1 -0
- package/dist/{chunk-E5VGAW4E.js → chunk-ZO7KL7GN.js} +230 -9
- package/dist/chunk-ZO7KL7GN.js.map +1 -0
- package/dist/cli/index.js +38 -38
- package/dist/connectors/index.js +11 -5
- package/dist/{ensure-sources-6ZOD45TO.js → ensure-sources-D6R57GAP.js} +4 -4
- package/dist/{ensure-sources-6ZOD45TO.js.map → ensure-sources-D6R57GAP.js.map} +1 -1
- package/dist/factory-assets/connectors/box.js +11 -5
- package/dist/factory-assets/connectors/deploy.js +11 -5
- package/dist/factory-assets/connectors/devserver.js +11 -5
- package/dist/factory-assets/connectors/flow/CONNECTOR.md +47 -6
- package/dist/factory-assets/connectors/flow/adapter.d.ts +5 -0
- package/dist/factory-assets/connectors/flow/adapter.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/adapter.js +11 -5
- package/dist/factory-assets/connectors/flow/contract/flow.v2.schema.json +0 -6
- package/dist/factory-assets/connectors/flow/contract/normalize.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/contract/schema.d.ts +0 -4
- package/dist/factory-assets/connectors/flow/contract/schema.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/contract.js +2 -2
- package/dist/factory-assets/connectors/flow/engine/bindings.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine/node-shape.d.ts +7 -1
- package/dist/factory-assets/connectors/flow/engine/node-shape.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine/types.d.ts +12 -12
- package/dist/factory-assets/connectors/flow/engine/types.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine.js +3 -3
- package/dist/factory-assets/connectors/flow/index.d.ts +1 -0
- package/dist/factory-assets/connectors/flow/index.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/inline-sub-flow-host.d.ts +3 -0
- package/dist/factory-assets/connectors/flow/inline-sub-flow-host.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/prompt-fragments.d.ts +14 -0
- package/dist/factory-assets/connectors/flow/prompt-fragments.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/prompt-fragments.js +2 -2
- package/dist/factory-assets/connectors/flow/run-flow.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/run-flow.js +12 -6
- package/dist/factory-assets/connectors/flow/subprompt-runner.d.ts +99 -0
- package/dist/factory-assets/connectors/flow/subprompt-runner.d.ts.map +1 -0
- package/dist/factory-assets/connectors/flow.js +11 -5
- package/dist/factory-assets/connectors/git.js +11 -5
- package/dist/factory-assets/connectors/gmail.js +11 -5
- package/dist/factory-assets/connectors/googledrive.js +11 -5
- package/dist/factory-assets/connectors/local.js +11 -5
- package/dist/factory-assets/connectors/mattermost.js +11 -5
- package/dist/factory-assets/connectors/memory.js +11 -5
- package/dist/factory-assets/connectors/minio.js +11 -5
- package/dist/factory-assets/connectors/postgres.js +11 -5
- package/dist/factory-assets/connectors/s3.js +11 -5
- package/dist/factory-assets/connectors/sharepoint.js +11 -5
- package/dist/factory-assets/connectors/sqlite.js +11 -5
- package/dist/factory-assets/connectors/static-server.js +11 -5
- package/dist/factory-assets/connectors/tunnel.js +11 -5
- package/dist/factory-assets/connectors/webdav.js +11 -5
- package/dist/factory-assets/connectors/xstate-store.js +11 -5
- package/dist/factory-assets/connectors/xstate.js +11 -5
- package/dist/{flows-7N5AUUIS.js → flows-LQSVM45J.js} +3 -3
- package/dist/{flows-7N5AUUIS.js.map → flows-LQSVM45J.js.map} +1 -1
- package/dist/{helpers-HWLCANAK.js → helpers-IS4MSEOQ.js} +4 -4
- package/dist/{helpers-HWLCANAK.js.map → helpers-IS4MSEOQ.js.map} +1 -1
- package/dist/{library-publish-GSAIZCO3.js → library-publish-QJACP6FW.js} +9 -9
- package/dist/{library-publish-GSAIZCO3.js.map → library-publish-QJACP6FW.js.map} +1 -1
- package/dist/{open-library-ZB2STYC6.js → open-library-3FMLAU3F.js} +8 -8
- package/dist/{open-library-ZB2STYC6.js.map → open-library-3FMLAU3F.js.map} +1 -1
- package/dist/{project-EJFCLSHS.js → project-KEAAGHSX.js} +5 -5
- package/dist/{project-EJFCLSHS.js.map → project-KEAAGHSX.js.map} +1 -1
- package/dist/runner/index.js +15 -15
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +1 -1
- package/dist/sdk/bridge.js +3 -3
- package/dist/sdk/flow.js +3 -3
- package/dist/sdk/index.js +15 -15
- package/dist/sdk/runner.js +15 -15
- package/dist/{setup-RHWARBBB.js → setup-VX6EPF5P.js} +5 -5
- package/dist/{setup-RHWARBBB.js.map → setup-VX6EPF5P.js.map} +1 -1
- package/dist/{source-ILV6ZKWM.js → source-45XHQSBF.js} +9 -9
- package/dist/{source-ILV6ZKWM.js.map → source-45XHQSBF.js.map} +1 -1
- package/dist/{source-manifest-publish-QE2IFDRW.js → source-manifest-publish-M34SKD46.js} +10 -10
- package/dist/{source-manifest-publish-QE2IFDRW.js.map → source-manifest-publish-M34SKD46.js.map} +1 -1
- package/dist/tui/index.js +15 -15
- package/dist/workspace-plugin/adapters/mcp.js +1 -1
- package/dist/workspace-plugin/adapters/omp.js +3 -3
- package/dist/workspace-plugin/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-5LA4XI4Y.js.map +0 -1
- package/dist/chunk-AGFAOSCZ.js.map +0 -1
- package/dist/chunk-BMQKMOQY.js.map +0 -1
- package/dist/chunk-E5VGAW4E.js.map +0 -1
- package/dist/chunk-INHE5U74.js.map +0 -1
- package/dist/chunk-OHLKWUO3.js.map +0 -1
- package/dist/chunk-UAIR3K6X.js.map +0 -1
- package/dist/chunk-XHSS3YHV.js.map +0 -1
package/dist/cli/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { makeInstallCommand, makeCheckCommand, makeCleanCommand, reportInstalledSoftDeps } from '../chunk-
|
|
3
|
-
import { makeSourceCommand, syncProjectSources } from '../chunk-
|
|
2
|
+
import { makeInstallCommand, makeCheckCommand, makeCleanCommand, reportInstalledSoftDeps } from '../chunk-TXTCW7V6.js';
|
|
3
|
+
import { makeSourceCommand, syncProjectSources } from '../chunk-EH7BCJF4.js';
|
|
4
4
|
import { AI_RESOURCES, aiResourceRoots } from '../chunk-57RFYEVM.js';
|
|
5
5
|
import { getStoreConfig, storeFetch, deviceLogin, loadStoreAuthConfig, logout, hasStoredAuth, isStoreAuthenticated, getStoreToken, getStoreIdentity } from '../chunk-AM5LFRXJ.js';
|
|
6
|
-
import { openCatalogSource, openLibraryManager, createFullRegistry, openLibrary } from '../chunk-
|
|
7
|
-
import { logErr, S, logOk, logInfo, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, logWarn, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth } from '../chunk-
|
|
6
|
+
import { openCatalogSource, openLibraryManager, createFullRegistry, openLibrary } from '../chunk-QGDQHNYC.js';
|
|
7
|
+
import { logErr, S, logOk, logInfo, kindColorPad, kindColor, colorRef, formatSoftDepSection, bareSoftDepName, logWarn, formatSoftDepHint, formatRelativeTime, formatSoftDepRemovePreview, formatSoftDepAddPreview, fitWidth } from '../chunk-P2J3MLTW.js';
|
|
8
8
|
import { LocalSecretsProvider } from '../chunk-6BEGKO2Q.js';
|
|
9
|
-
import { runAgentChat, loadSessionById, loadSession, listSessions, setCurrentSession, deleteSession, clearSession, loadAgentManifest, compileComposition, MarkdownStreamer, resolveMixin } from '../chunk-
|
|
10
|
-
import { buildClaudePluginFiles } from '../chunk-
|
|
9
|
+
import { runAgentChat, loadSessionById, loadSession, listSessions, setCurrentSession, deleteSession, clearSession, loadAgentManifest, compileComposition, MarkdownStreamer, resolveMixin } from '../chunk-JQMULHO6.js';
|
|
10
|
+
import { buildClaudePluginFiles } from '../chunk-NMKTM55X.js';
|
|
11
11
|
import '../chunk-X5YPJV4N.js';
|
|
12
12
|
import '../chunk-W3UDISS2.js';
|
|
13
13
|
import '../chunk-O7SG5PC2.js';
|
|
@@ -15,27 +15,27 @@ import '../chunk-7QBNJTTQ.js';
|
|
|
15
15
|
import '../chunk-GTS2FODO.js';
|
|
16
16
|
import '../chunk-WQ7DE5UC.js';
|
|
17
17
|
import '../chunk-32NA4TVC.js';
|
|
18
|
-
import '../chunk-
|
|
19
|
-
import '../chunk-ISQWMBKD.js';
|
|
20
|
-
import '../chunk-RRVQAE5D.js';
|
|
21
|
-
import '../chunk-BMQKMOQY.js';
|
|
22
|
-
import '../chunk-GAH4YRCI.js';
|
|
23
|
-
import '../chunk-HY3MBSNC.js';
|
|
24
|
-
import { runFlow, resumeFlow } from '../chunk-XHSS3YHV.js';
|
|
18
|
+
import { runFlow, resumeFlow } from '../chunk-XJECOBCO.js';
|
|
25
19
|
import '../chunk-4R6DROGN.js';
|
|
26
20
|
import { validateFlowVersions, parseSkillFrontmatter } from '../chunk-CZZRDYT4.js';
|
|
27
21
|
import '../chunk-BEAIJRVF.js';
|
|
28
|
-
import '../chunk-
|
|
29
|
-
import '../chunk-
|
|
22
|
+
import '../chunk-N4GFUWWC.js';
|
|
23
|
+
import '../chunk-ZO7KL7GN.js';
|
|
30
24
|
import '../chunk-ZNIHTT22.js';
|
|
25
|
+
import '../chunk-P5W6JVD4.js';
|
|
26
|
+
import '../chunk-ISQWMBKD.js';
|
|
27
|
+
import '../chunk-RRVQAE5D.js';
|
|
28
|
+
import '../chunk-V34ZEXSE.js';
|
|
29
|
+
import '../chunk-GAH4YRCI.js';
|
|
30
|
+
import '../chunk-SR6NBBWT.js';
|
|
31
31
|
import '../chunk-6E6PKKAD.js';
|
|
32
32
|
import '../chunk-IFGTRL2I.js';
|
|
33
|
-
import { loadFlow, loadAllFlows } from '../chunk-
|
|
34
|
-
import '../chunk-
|
|
35
|
-
import '../chunk-
|
|
36
|
-
import '../chunk-
|
|
33
|
+
import { loadFlow, loadAllFlows } from '../chunk-S5FV6ISY.js';
|
|
34
|
+
import '../chunk-5QGMEPUX.js';
|
|
35
|
+
import '../chunk-7KFN2EPR.js';
|
|
36
|
+
import '../chunk-F5VREBV2.js';
|
|
37
37
|
import '../chunk-D4VHBAJC.js';
|
|
38
|
-
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-
|
|
38
|
+
import { AssetManager, NON_DEPLOYABLE_KINDS, MissingManifestError, parseRefTolerant, normalizeRepoUrl, FACTORY_SOURCE_URL } from '../chunk-Q6O53D5Q.js';
|
|
39
39
|
import { resolveLibraryDir, getStoreManifestsDir, getDefaultValue, isSecretPlaceholder } from '../chunk-3HVASHBF.js';
|
|
40
40
|
import '../chunk-NU4E7C5I.js';
|
|
41
41
|
import '../chunk-UKJMQZV6.js';
|
|
@@ -110,7 +110,7 @@ async function runSearch(kind, query, opts) {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
async function searchIndex(query, kind) {
|
|
113
|
-
const { openLibrary: openLibrary2 } = await import('../open-library-
|
|
113
|
+
const { openLibrary: openLibrary2 } = await import('../open-library-3FMLAU3F.js');
|
|
114
114
|
const library = await openLibrary2();
|
|
115
115
|
try {
|
|
116
116
|
const defs = await library.listAssetDefs(kind ? { kind } : {});
|
|
@@ -163,7 +163,7 @@ async function searchLocal(query, kind, opts, showStore, airGapped) {
|
|
|
163
163
|
const factory = await searchFactory(projectDir, query, kind);
|
|
164
164
|
let entries = unionEntries(await searchIndex(query, kind), factory);
|
|
165
165
|
if (entries.length === 0 && !query && !kind && !airGapped) {
|
|
166
|
-
const { autoSyncForSearch } = await import('../source-
|
|
166
|
+
const { autoSyncForSearch } = await import('../source-45XHQSBF.js');
|
|
167
167
|
if (await autoSyncForSearch(projectDir)) {
|
|
168
168
|
entries = unionEntries(await searchIndex(query, kind), factory);
|
|
169
169
|
}
|
|
@@ -217,7 +217,7 @@ async function searchStore(query, kind, opts, airGapped) {
|
|
|
217
217
|
logInfo("air-gapped (cache_ttl: 0) \u2014 local sources only");
|
|
218
218
|
return;
|
|
219
219
|
}
|
|
220
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
220
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-3FMLAU3F.js');
|
|
221
221
|
try {
|
|
222
222
|
const remote = await openCatalogSource2({ projectDir: path14__default.resolve(opts.projectDir) });
|
|
223
223
|
const assets = await remote.listAssets(kind ? { kind } : {});
|
|
@@ -532,7 +532,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
532
532
|
return { entry: match ?? deployed };
|
|
533
533
|
}
|
|
534
534
|
const lookup = opts.storeLookup ?? (async (filter) => {
|
|
535
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
535
|
+
const { resolveCatalogSource } = await import('../open-library-3FMLAU3F.js');
|
|
536
536
|
const { source, close } = await resolveCatalogSource({ projectDir: opts.projectDir });
|
|
537
537
|
try {
|
|
538
538
|
return await source.listAssets(filter);
|
|
@@ -548,7 +548,7 @@ async function resolveInfoEntry(am2, ref, opts) {
|
|
|
548
548
|
);
|
|
549
549
|
return { entry: hit ? catalogAssetToEntry(hit) : null };
|
|
550
550
|
} catch (err) {
|
|
551
|
-
const { LocalCatalogDisabledError } = await import('../open-library-
|
|
551
|
+
const { LocalCatalogDisabledError } = await import('../open-library-3FMLAU3F.js');
|
|
552
552
|
const storeNote = err instanceof Error ? err.message : String(err);
|
|
553
553
|
const disabled = err instanceof LocalCatalogDisabledError || /catalog\.url/i.test(storeNote);
|
|
554
554
|
return { entry: null, storeNote, ...disabled ? { storeDisabled: true } : {} };
|
|
@@ -1168,7 +1168,7 @@ function makeCatalogCommand() {
|
|
|
1168
1168
|
return catalog;
|
|
1169
1169
|
}
|
|
1170
1170
|
async function runLocalCatalogTest(projectDir) {
|
|
1171
|
-
const { resolveCatalogSource } = await import('../open-library-
|
|
1171
|
+
const { resolveCatalogSource } = await import('../open-library-3FMLAU3F.js');
|
|
1172
1172
|
let resolved;
|
|
1173
1173
|
try {
|
|
1174
1174
|
resolved = await resolveCatalogSource({ projectDir });
|
|
@@ -3407,16 +3407,16 @@ function makeLibraryCommand() {
|
|
|
3407
3407
|
});
|
|
3408
3408
|
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(
|
|
3409
3409
|
async (lib, opts) => {
|
|
3410
|
-
const { runLibraryPublish } = await import('../library-publish-
|
|
3410
|
+
const { runLibraryPublish } = await import('../library-publish-QJACP6FW.js');
|
|
3411
3411
|
await withStoreErrorHandling(() => runLibraryPublish(lib, opts));
|
|
3412
3412
|
}
|
|
3413
3413
|
);
|
|
3414
3414
|
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) => {
|
|
3415
|
-
const { runLibraryRegister } = await import('../library-publish-
|
|
3415
|
+
const { runLibraryRegister } = await import('../library-publish-QJACP6FW.js');
|
|
3416
3416
|
await withStoreErrorHandling(() => runLibraryRegister(lib, opts));
|
|
3417
3417
|
});
|
|
3418
3418
|
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) => {
|
|
3419
|
-
const { runLibraryYank } = await import('../library-publish-
|
|
3419
|
+
const { runLibraryYank } = await import('../library-publish-QJACP6FW.js');
|
|
3420
3420
|
await withStoreErrorHandling(() => runLibraryYank(lib, opts));
|
|
3421
3421
|
});
|
|
3422
3422
|
return cmd;
|
|
@@ -4138,7 +4138,7 @@ function scheduleSoftDepPreview() {
|
|
|
4138
4138
|
}
|
|
4139
4139
|
async function loadAssets() {
|
|
4140
4140
|
softDepPreviewCache.clear();
|
|
4141
|
-
const { gatherAssetFeeds } = await import('../asset-feeds-
|
|
4141
|
+
const { gatherAssetFeeds } = await import('../asset-feeds-XKPJZ6QT.js');
|
|
4142
4142
|
const { entries, domains, notes } = await gatherAssetFeeds(am, am.projectDir);
|
|
4143
4143
|
if (notes.length > 0) {
|
|
4144
4144
|
state.message = notes.map((n) => `[${n.feed}] ${n.message}`).join(" \u2022 ");
|
|
@@ -4344,7 +4344,7 @@ function reconcileCollapsedSets(rows) {
|
|
|
4344
4344
|
async function loadSourcesAndLibraries() {
|
|
4345
4345
|
try {
|
|
4346
4346
|
const [{ openLibraryManager: openLibraryManager2 }, { skaileHomeDir }, { getGlobalCacheDir: getGlobalCacheDir2 }] = await Promise.all([
|
|
4347
|
-
import('../open-library-
|
|
4347
|
+
import('../open-library-3FMLAU3F.js'),
|
|
4348
4348
|
import('../library/index.js'),
|
|
4349
4349
|
import('../core/index.js')
|
|
4350
4350
|
]);
|
|
@@ -6788,7 +6788,7 @@ function makeServeCommand() {
|
|
|
6788
6788
|
);
|
|
6789
6789
|
}
|
|
6790
6790
|
async function ensurePluginsLoadedForServe(projectDir) {
|
|
6791
|
-
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-
|
|
6791
|
+
const { logInfo: logInfo2, logWarn: logWarn2 } = await import('../helpers-IS4MSEOQ.js');
|
|
6792
6792
|
try {
|
|
6793
6793
|
const { resolveSkWorkspaceConfig: resolveSkWorkspaceConfig2 } = await import('../core/index.js');
|
|
6794
6794
|
const config = resolveSkWorkspaceConfig2(projectDir);
|
|
@@ -6807,7 +6807,7 @@ async function ensurePluginsLoadedForServe(projectDir) {
|
|
|
6807
6807
|
}
|
|
6808
6808
|
}
|
|
6809
6809
|
async function runCompileTest(opts) {
|
|
6810
|
-
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-
|
|
6810
|
+
const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-IS4MSEOQ.js');
|
|
6811
6811
|
const { tmpdir } = await import('os');
|
|
6812
6812
|
const { dirname: dirname4, join: join7, resolve: resolve5 } = await import('path');
|
|
6813
6813
|
const { fileURLToPath: fileURLToPath2 } = await import('url');
|
|
@@ -7689,7 +7689,7 @@ function makeStoreCommand() {
|
|
|
7689
7689
|
process.exit(2);
|
|
7690
7690
|
});
|
|
7691
7691
|
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) => {
|
|
7692
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
7692
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-3FMLAU3F.js');
|
|
7693
7693
|
try {
|
|
7694
7694
|
const remote = await openCatalogSource2({ projectDir: path14__default.resolve(opts.projectDir) });
|
|
7695
7695
|
const assets = await remote.listAssets(opts.kind ? { kind: opts.kind } : {});
|
|
@@ -7722,8 +7722,8 @@ function makeStoreCommand() {
|
|
|
7722
7722
|
}
|
|
7723
7723
|
});
|
|
7724
7724
|
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) => {
|
|
7725
|
-
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-
|
|
7726
|
-
const { supportsInstallManifest } = await import('../project-
|
|
7725
|
+
const { openCatalogSource: openCatalogSource2, LocalCatalogDisabledError } = await import('../open-library-3FMLAU3F.js');
|
|
7726
|
+
const { supportsInstallManifest } = await import('../project-KEAAGHSX.js');
|
|
7727
7727
|
try {
|
|
7728
7728
|
const remote = await openCatalogSource2({ projectDir: path14__default.resolve(opts.projectDir) });
|
|
7729
7729
|
const asset = await remote.resolve(ref);
|
|
@@ -8803,7 +8803,7 @@ async function bootstrapUserConfig() {
|
|
|
8803
8803
|
}
|
|
8804
8804
|
async function hydrateInitSources(resolved, created) {
|
|
8805
8805
|
try {
|
|
8806
|
-
const { ensureSourcesCloned } = await import('../ensure-sources-
|
|
8806
|
+
const { ensureSourcesCloned } = await import('../ensure-sources-D6R57GAP.js');
|
|
8807
8807
|
const hydrate = ensureSourcesCloned(resolved, { quiet: true });
|
|
8808
8808
|
for (const n of hydrate.cloned) created.push(`~/.skaile/cache/sources/${n}/`);
|
|
8809
8809
|
if (hydrate.failed.length > 0) {
|
|
@@ -8843,7 +8843,7 @@ function printInitSummary(resolved, projectDir, created) {
|
|
|
8843
8843
|
console.log();
|
|
8844
8844
|
}
|
|
8845
8845
|
program.command("setup").description("Interactive provider setup wizard").action(async () => {
|
|
8846
|
-
const { cmdSetup } = await import('../setup-
|
|
8846
|
+
const { cmdSetup } = await import('../setup-VX6EPF5P.js');
|
|
8847
8847
|
await cmdSetup([], { projectDir: process.cwd() });
|
|
8848
8848
|
});
|
|
8849
8849
|
program.addCommand(makeInstallCommand());
|
package/dist/connectors/index.js
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
export { AbstractConnector, BUILTIN_CONNECTOR_CATALOG, ConnectorFieldMissingError, ConnectorManager, ConnectorStartupError, FlowAdapter, LogBuffer, ManagedGitconfigCollisionError, PortPool, atomicReplaceCredential, buildConnectorPromptSection, buildSdkConnectorTools, buildSdkFlowTools, createFsWatcher, createWorktree, defaultSpawn, ensureDirMode, ensureFleetMounted, findGitRoot, findMissingPackages, getConnector, installNpmPackages, isFleetManaged, isPackageResolvable, listConnectors, listWorktrees, registerBuiltinConnectors, removeMountBlock, renderCredentialHelperScript, tryGetConnector, worktreeRegistry, writeHelperScript, writeMountBlock } from '../chunk-
|
|
1
|
+
export { AbstractConnector, BUILTIN_CONNECTOR_CATALOG, ConnectorFieldMissingError, ConnectorManager, ConnectorStartupError, FlowAdapter, LogBuffer, ManagedGitconfigCollisionError, PortPool, atomicReplaceCredential, buildConnectorPromptSection, buildSdkConnectorTools, buildSdkFlowTools, createFsWatcher, createWorktree, defaultSpawn, ensureDirMode, ensureFleetMounted, findGitRoot, findMissingPackages, getConnector, installNpmPackages, isFleetManaged, isPackageResolvable, listConnectors, listWorktrees, registerBuiltinConnectors, removeMountBlock, renderCredentialHelperScript, tryGetConnector, worktreeRegistry, writeHelperScript, writeMountBlock } from '../chunk-ZO7KL7GN.js';
|
|
2
2
|
export { EnvSecretProvider, ForgeSecretProvider, InMemorySecretProvider, LegacyAuthGrammarError, LockedSecretProvider, OAuthRequiredError, PreMintedSecretProvider, SecretProviderChain, createCliSecretProviderChain, createForgeSecretProviderChain, deriveSingleMaterializedConnectorDeclaration, fromMaterializedConnectorMd, isKnownSecretRef, loadConnectorDeclarations, loadMaterializedConnectorDeclarations, resolveAuthRef, resolveBackendAuthFor, resolvedConfigToDeclarations } from '../chunk-ZNIHTT22.js';
|
|
3
|
+
import '../chunk-P5W6JVD4.js';
|
|
4
|
+
import '../chunk-ISQWMBKD.js';
|
|
5
|
+
import '../chunk-RRVQAE5D.js';
|
|
6
|
+
import '../chunk-V34ZEXSE.js';
|
|
7
|
+
import '../chunk-GAH4YRCI.js';
|
|
8
|
+
import '../chunk-SR6NBBWT.js';
|
|
3
9
|
import '../chunk-6E6PKKAD.js';
|
|
4
10
|
import '../chunk-IFGTRL2I.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-S5FV6ISY.js';
|
|
12
|
+
import '../chunk-5QGMEPUX.js';
|
|
13
|
+
import '../chunk-7KFN2EPR.js';
|
|
14
|
+
import '../chunk-F5VREBV2.js';
|
|
9
15
|
import '../chunk-P43HBWKK.js';
|
|
10
16
|
import '../chunk-F3HNW354.js';
|
|
11
17
|
import '../chunk-K5GBV4SA.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { logErr, logOk, logInfo } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { logErr, logOk, logInfo } from './chunk-P2J3MLTW.js';
|
|
2
|
+
import './chunk-Q6O53D5Q.js';
|
|
3
3
|
import './chunk-3HVASHBF.js';
|
|
4
4
|
import './chunk-NU4E7C5I.js';
|
|
5
5
|
import './chunk-UKJMQZV6.js';
|
|
@@ -86,5 +86,5 @@ function ensureSourcesCloned(projectDir, opts = {}) {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
export { ensureSourcesCloned };
|
|
89
|
-
//# sourceMappingURL=ensure-sources-
|
|
90
|
-
//# sourceMappingURL=ensure-sources-
|
|
89
|
+
//# sourceMappingURL=ensure-sources-D6R57GAP.js.map
|
|
90
|
+
//# sourceMappingURL=ensure-sources-D6R57GAP.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../cli/src/ensure-sources.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,SAAS,gBAAgB,GAAA,EAAqB;AAC5C,EAAA,OAAY,IAAA,CAAA,IAAA,CAAK,iBAAA,EAAkB,EAAG,GAAG,CAAA;AAC3C;AASA,SAAS,kBAAA,CAAmB,UAAkB,KAAA,EAAsC;AAClF,EAAA,IAAI;AACF,IAAA,OAAO,mBAAA,CAAoB,IAAA,CAAK,QAAQ,CAAA,CAAE,UAAA,EAAW;AAAA,EACvD,SAAS,GAAA,EAAK;AACZ,IAAA,IAAI,CAAC,KAAA,EAAO;AACV,MAAA,MAAA,CAAO,CAAA,eAAA,EAAkB,QAAQ,CAAA,EAAA,EAAK,GAAA,YAAe,KAAA,GAAQ,IAAI,OAAA,GAAU,MAAA,CAAO,GAAG,CAAC,CAAA,CAAE,CAAA;AAAA,IAC1F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AA,EACzC;AAEA,EAAA,IAAI,CAAC,KAAA,EAAO;AACV,IAAA,iBAAA,CAAkB,MAAM,CAAA;AAAA,EAC1B;AAEA,EAAA,OAAO,MAAA;AACT","file":"ensure-sources-D6R57GAP.js","sourcesContent":["/**\n * ensure-sources.ts — hydrate the `~/.skaile/cache/sources/` clone cache from a\n * project's `skaile.yaml` `sources:` entries.\n *\n * Called by `skaile init` (idempotent: no-op when no sources declared) and\n * `skaile install` so checking out a project pulls its source clones onto\n * the local machine.\n */\n\nimport { spawnSync } from \"node:child_process\";\nimport { existsSync, mkdirSync } from \"node:fs\";\nimport * as path from \"node:path\";\nimport {\n getGlobalCacheDir,\n type SourceEntry,\n sourceCacheKey,\n sourceShortName,\n WorkspaceYamlEditor,\n} from \"@skaile/workspaces/core\";\nimport { logErr, logInfo, logOk } from \"./helpers.ts\";\n\nfunction sourceClonePath(key: string): string {\n return path.join(getGlobalCacheDir(), key);\n}\n\nexport interface EnsureResult {\n cloned: string[];\n cached: string[];\n failed: string[];\n}\n\n/** Load `sources:` from a project's `skaile.yaml`, or `null` when unavailable. */\nfunction loadProjectSources(yamlPath: string, quiet: boolean): SourceEntry[] | null {\n try {\n return WorkspaceYamlEditor.load(yamlPath).getSources();\n } catch (err) {\n if (!quiet) {\n logErr(`Could not read ${yamlPath}: ${err instanceof Error ? err.message : String(err)}`);\n }\n return null;\n }\n}\n\n/**\n * Hydrate a single source entry into `result`: skip when already cached,\n * otherwise clone and record success/failure. Mutates `result` in place.\n */\nfunction hydrateSourceEntry(entry: SourceEntry, quiet: boolean, result: EnsureResult): void {\n const key = sourceCacheKey(entry.url);\n const slug = sourceShortName(entry.url);\n const dest = sourceClonePath(key);\n if (existsSync(dest)) {\n result.cached.push(slug);\n return;\n }\n mkdirSync(path.dirname(dest), { recursive: true });\n const args = [\"clone\", entry.url, dest];\n if (entry.pin) args.splice(1, 0, \"--branch\", entry.pin);\n const clone = spawnSync(\"git\", args, { stdio: quiet ? \"pipe\" : \"inherit\" });\n if (clone.status !== 0) {\n result.failed.push(slug);\n if (quiet) {\n logErr(`git clone failed for ${entry.url}`);\n }\n return;\n }\n result.cloned.push(slug);\n}\n\n/** Log a full-hydrate summary of cloned + reused-cached entries. */\nfunction logHydrateSummary(result: EnsureResult): void {\n for (const n of result.cloned) logOk(`Cloned source \"${n}\".`);\n if (result.cached.length > 0) {\n logInfo(`Reused cached clones: ${result.cached.join(\", \")}`);\n }\n}\n\n/**\n * Walk `projectDir/skaile.yaml` `sources:` and clone any entries whose\n * clone directory does not yet exist under `~/.skaile/cache/sources/`. Existing\n * clones are left untouched — this is hydration, not sync.\n *\n * Quiet by default: when `quiet: true` the helper only prints failures.\n * On full hydrate (`quiet: false`) it logs each cloned/cached entry.\n */\nexport function ensureSourcesCloned(\n projectDir: string,\n opts: { quiet?: boolean } = {},\n): EnsureResult {\n const result: EnsureResult = { cloned: [], cached: [], failed: [] };\n const yamlPath = path.join(projectDir, \"skaile.yaml\");\n if (!existsSync(yamlPath)) return result;\n\n const quiet = opts.quiet ?? false;\n const sources = loadProjectSources(yamlPath, quiet);\n if (sources === null) return result;\n if (sources.length === 0) return result;\n\n for (const entry of sources) {\n hydrateSourceEntry(entry, quiet, result);\n }\n\n if (!quiet) {\n logHydrateSummary(result);\n }\n\n return result;\n}\n"]}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
export { BoxConnector, createConnector4 as createConnector } from '../../chunk-
|
|
1
|
+
export { BoxConnector, createConnector4 as createConnector } from '../../chunk-ZO7KL7GN.js';
|
|
2
2
|
import '../../chunk-ZNIHTT22.js';
|
|
3
|
+
import '../../chunk-P5W6JVD4.js';
|
|
4
|
+
import '../../chunk-ISQWMBKD.js';
|
|
5
|
+
import '../../chunk-RRVQAE5D.js';
|
|
6
|
+
import '../../chunk-V34ZEXSE.js';
|
|
7
|
+
import '../../chunk-GAH4YRCI.js';
|
|
8
|
+
import '../../chunk-SR6NBBWT.js';
|
|
3
9
|
import '../../chunk-6E6PKKAD.js';
|
|
4
10
|
import '../../chunk-IFGTRL2I.js';
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
8
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-S5FV6ISY.js';
|
|
12
|
+
import '../../chunk-5QGMEPUX.js';
|
|
13
|
+
import '../../chunk-7KFN2EPR.js';
|
|
14
|
+
import '../../chunk-F5VREBV2.js';
|
|
9
15
|
import '../../chunk-P43HBWKK.js';
|
|
10
16
|
import '../../chunk-F3HNW354.js';
|
|
11
17
|
import '../../chunk-K5GBV4SA.js';
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
export { DeployConnector, createConnector2 as createConnector } from '../../chunk-
|
|
1
|
+
export { DeployConnector, createConnector2 as createConnector } from '../../chunk-ZO7KL7GN.js';
|
|
2
2
|
import '../../chunk-ZNIHTT22.js';
|
|
3
|
+
import '../../chunk-P5W6JVD4.js';
|
|
4
|
+
import '../../chunk-ISQWMBKD.js';
|
|
5
|
+
import '../../chunk-RRVQAE5D.js';
|
|
6
|
+
import '../../chunk-V34ZEXSE.js';
|
|
7
|
+
import '../../chunk-GAH4YRCI.js';
|
|
8
|
+
import '../../chunk-SR6NBBWT.js';
|
|
3
9
|
import '../../chunk-6E6PKKAD.js';
|
|
4
10
|
import '../../chunk-IFGTRL2I.js';
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
8
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-S5FV6ISY.js';
|
|
12
|
+
import '../../chunk-5QGMEPUX.js';
|
|
13
|
+
import '../../chunk-7KFN2EPR.js';
|
|
14
|
+
import '../../chunk-F5VREBV2.js';
|
|
9
15
|
import '../../chunk-P43HBWKK.js';
|
|
10
16
|
import '../../chunk-F3HNW354.js';
|
|
11
17
|
import '../../chunk-K5GBV4SA.js';
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
export { DevServerConnector, createConnector3 as createConnector } from '../../chunk-
|
|
1
|
+
export { DevServerConnector, createConnector3 as createConnector } from '../../chunk-ZO7KL7GN.js';
|
|
2
2
|
import '../../chunk-ZNIHTT22.js';
|
|
3
|
+
import '../../chunk-P5W6JVD4.js';
|
|
4
|
+
import '../../chunk-ISQWMBKD.js';
|
|
5
|
+
import '../../chunk-RRVQAE5D.js';
|
|
6
|
+
import '../../chunk-V34ZEXSE.js';
|
|
7
|
+
import '../../chunk-GAH4YRCI.js';
|
|
8
|
+
import '../../chunk-SR6NBBWT.js';
|
|
3
9
|
import '../../chunk-6E6PKKAD.js';
|
|
4
10
|
import '../../chunk-IFGTRL2I.js';
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
8
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-S5FV6ISY.js';
|
|
12
|
+
import '../../chunk-5QGMEPUX.js';
|
|
13
|
+
import '../../chunk-7KFN2EPR.js';
|
|
14
|
+
import '../../chunk-F5VREBV2.js';
|
|
9
15
|
import '../../chunk-P43HBWKK.js';
|
|
10
16
|
import '../../chunk-F3HNW354.js';
|
|
11
17
|
import '../../chunk-K5GBV4SA.js';
|
|
@@ -17,9 +17,11 @@ bridges three ownership roles:
|
|
|
17
17
|
read-only `get_state`, `get_globals`, `get_available`, `validate_node`,
|
|
18
18
|
`build_handoff`).
|
|
19
19
|
- **Runtime** — resolves available `router` nodes with bounded expressions,
|
|
20
|
-
drains available `function` and `check` nodes through `NodeExecutor`,
|
|
21
|
-
available `
|
|
22
|
-
|
|
20
|
+
drains available `function` and `check` nodes through `NodeExecutor`, drains
|
|
21
|
+
available `subprompt` nodes through `SubpromptRunner` on a second, isolated
|
|
22
|
+
driver instance, parks available `gate` nodes through durable approval
|
|
23
|
+
state, and drives available `sub-flow` nodes inline before an agent turn is
|
|
24
|
+
considered.
|
|
23
25
|
- **Host** — the runner applies out-of-turn mutations through direct adapter
|
|
24
26
|
methods (`applyApproval`, `applyInput`, `retryNode`, `setAutonomousMode`,
|
|
25
27
|
`cancel`, `hydrate`) in response to platform actions, forwards persistence
|
|
@@ -37,9 +39,10 @@ declared in `skaile.yaml` — it is constructed by the runner per session
|
|
|
37
39
|
and bound to the active `FlowDefinition`.
|
|
38
40
|
|
|
39
41
|
The adapter normalizes authored definitions at its connect/start boundary.
|
|
40
|
-
|
|
41
|
-
`run.kind:
|
|
42
|
-
|
|
42
|
+
All seven strict v2 kinds — `run.kind: agent`, `run.kind: subprompt`,
|
|
43
|
+
`run.kind: function`, `run.kind: check`, `run.kind: gate`, `run.kind: router`,
|
|
44
|
+
and `run.kind: sub-flow` — are active. Among legacy definitions, explicit
|
|
45
|
+
`type: skill` nodes normalize into the agent shape and exact `type: sub-flow`
|
|
43
46
|
nodes with `data.flow` normalize into the active inline-child shape. Other
|
|
44
47
|
legacy kinds normalize to false-precondition router placeholders: they are
|
|
45
48
|
tracked but never become available, so their outgoing hard flow edges remain
|
|
@@ -51,6 +54,8 @@ values as environment variables while provenance remains on the executor
|
|
|
51
54
|
request. They inherit the session environment and run from the session
|
|
52
55
|
workspace. Configured stdout/stderr captures map only to `fields.<name>`
|
|
53
56
|
output keys and remain attached to both completed and failed node executions.
|
|
57
|
+
A subprompt receives its interpolated instruction as a plain-text prompt, not
|
|
58
|
+
environment variables — see below.
|
|
54
59
|
|
|
55
60
|
A `check` runs the same deterministic process as a function, through the same
|
|
56
61
|
`NodeExecutor` seam, but its exit status is a pass/fail verdict rather than a
|
|
@@ -80,6 +85,42 @@ way back to `available`. A spawn failure or a timeout produced no verdict at
|
|
|
80
85
|
all, so it is always a plain node failure, carries no evidence, and never
|
|
81
86
|
escalates regardless of `onFail`.
|
|
82
87
|
|
|
88
|
+
A `subprompt` is `function`-shaped for everything except how the work is
|
|
89
|
+
performed and how its output provenance is classified. Instead of
|
|
90
|
+
`NodeExecutor`, an available subprompt hands its interpolated instruction —
|
|
91
|
+
plus a JSON-response directive when `contract.output.fields` is declared —
|
|
92
|
+
to a `SubpromptRunner`. The production implementation, `SessionSubpromptRunner`,
|
|
93
|
+
constructs a **second, isolated** `AgentDriver` instance per call: same
|
|
94
|
+
backend, provider, resolved model, and credentials as the session driver
|
|
95
|
+
(threaded through from the same values the two production wiring sites
|
|
96
|
+
already resolved for it — no new credential channel), but no Skaile system prompt, no MCP servers, no connector capabilities, and no access to the session conversation, bounded to a single turn. It does retain the backend's own native tool surface (a coding backend keeps its file and shell tools, rooted at the session workspace) — isolation here means a separate conversation, not a sandbox. The
|
|
97
|
+
instance is started, sent one prompt, and killed afterward; isolation comes
|
|
98
|
+
from the separate instance, never `resetSession()` (which mutates the shared
|
|
99
|
+
session). `run.model` resolves through a pure `resolveModelTier` in
|
|
100
|
+
`bridge/src/models.ts`: a configured override first, then the provider's
|
|
101
|
+
built-in tier. `default` and an absent tier fall back to the session model;
|
|
102
|
+
`small`/`deep` fail the node instead of substituting one, so an explicit
|
|
103
|
+
cost or quality request is never silently served by a different model. With no declared output contract the response is
|
|
104
|
+
prose, carried verbatim as the summary; with one declared, the response is
|
|
105
|
+
additionally parsed as JSON into `fields` and validated through the same
|
|
106
|
+
`validateConsumedNodeOutput` seam every other kind uses. The reply stays in
|
|
107
|
+
`summary` either way — `fields` is reachable only through an expression
|
|
108
|
+
binding, while `build_handoff` shows a downstream agent a predecessor's
|
|
109
|
+
summary/artifacts/concerns and never its `fields`, so replacing the summary
|
|
110
|
+
would make a declared output invisible to any consumer that reads it as
|
|
111
|
+
context rather than binding it. There is no
|
|
112
|
+
corrective reprompt — a subprompt has no conversation to reprompt in — so a
|
|
113
|
+
parse or validation failure is an ordinary node failure that consumes
|
|
114
|
+
`control.retries`, never fabricated output. `control.optional`,
|
|
115
|
+
`control.retries`, and `control.timeoutSec` reuse the identical
|
|
116
|
+
`raceWithTimeout` / `executionGeneration` / automatic-retry machinery as
|
|
117
|
+
`function` and `check` — including `raceWithTimeout`'s known limit: it stops
|
|
118
|
+
waiting on timeout but does not cancel the underlying call, so a timed-out
|
|
119
|
+
subprompt keeps running (and being billed) after the node fails. A
|
|
120
|
+
subprompt's output is classified `obtainedBy: "agent"` — model-generated even
|
|
121
|
+
though the *runtime* made the call — so a downstream `check` consuming it
|
|
122
|
+
always derives `"asserted"` provenance, never `"verified"`.
|
|
123
|
+
|
|
83
124
|
A first-class gate never enters the agent mutation surface and never calls
|
|
84
125
|
`NodeExecutor`. Admission parks it at `awaiting_approval` with `run.prompt` as
|
|
85
126
|
the initial summary. Approval completes it directly and unblocks successors;
|
|
@@ -30,6 +30,7 @@ import type { BindingOrigin } from "./contract/expression.js";
|
|
|
30
30
|
import { type FlowDefinition, isBlocking } from "./engine/index.js";
|
|
31
31
|
import type { NodeExecutor } from "./node-executor.js";
|
|
32
32
|
import type { InlineSubFlowOperationTarget, InlineSubFlowRunner } from "./sub-flow-runner.js";
|
|
33
|
+
import type { SubpromptRunner } from "./subprompt-runner.js";
|
|
33
34
|
import { type TurnStimulus } from "./prompt-fragments.js";
|
|
34
35
|
/**
|
|
35
36
|
* Minimal structural shape of the runner's `SessionStimulusBus`. Declared
|
|
@@ -81,6 +82,8 @@ export interface FlowAdapterState {
|
|
|
81
82
|
lastSignaledExecution?: FlowExecution;
|
|
82
83
|
/** Deterministic runtime backed by the already-materialized session workspace. */
|
|
83
84
|
nodeExecutor?: NodeExecutor;
|
|
85
|
+
/** Isolated model-call runtime for subprompt nodes — a second driver instance, never the session driver. */
|
|
86
|
+
subpromptRunner?: SubpromptRunner;
|
|
84
87
|
/** Host-owned inline child lifecycle, backed by the existing materialized session. */
|
|
85
88
|
inlineSubFlowRunner?: InlineSubFlowRunner;
|
|
86
89
|
/** Transient child operation routes keyed by their owning parent sub-flow node. */
|
|
@@ -135,6 +138,8 @@ export interface FlowAdapterConnectOptions {
|
|
|
135
138
|
useBusForStimulus?: boolean;
|
|
136
139
|
/** Runtime for function nodes. Required before deterministic nodes are drained. */
|
|
137
140
|
nodeExecutor?: NodeExecutor;
|
|
141
|
+
/** Runtime for subprompt nodes. Required before subprompt nodes are drained. */
|
|
142
|
+
subpromptRunner?: SubpromptRunner;
|
|
138
143
|
/** Host lifecycle used to resolve and drive inline child flows in the current session. */
|
|
139
144
|
inlineSubFlowRunner?: InlineSubFlowRunner;
|
|
140
145
|
/** @internal Provenance for child flow inputs, retained only in the live adapter. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../factory-assets/connectors/flow/adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,EACL,iBAAiB,EACjB,KAAK,cAAc,EAEnB,KAAK,oBAAoB,EAEzB,KAAK,eAAe,EAKpB,KAAK,QAAQ,EACd,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAIV,aAAa,EAUd,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,EAKL,KAAK,cAAc,EAKnB,UAAU,EAIX,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../factory-assets/connectors/flow/adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,EACL,iBAAiB,EACjB,KAAK,cAAc,EAEnB,KAAK,oBAAoB,EAEzB,KAAK,eAAe,EAKpB,KAAK,QAAQ,EACd,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAIV,aAAa,EAUd,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,EAKL,KAAK,cAAc,EAKnB,UAAU,EAIX,MAAM,mBAAmB,CAAC;AA2B3B,OAAO,KAAK,EAAyB,YAAY,EAAsB,MAAM,oBAAoB,CAAC;AAClG,OAAO,KAAK,EACV,4BAA4B,EAE5B,mBAAmB,EACpB,MAAM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AU,EAAE,CAAC;AAEtB;;;;GAIG;AACH,wBAAgB,eAAe,IAAI,WAAW,CAE7C"}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
export { FlowAdapter, createConnector } from '../../../chunk-
|
|
1
|
+
export { FlowAdapter, createConnector } from '../../../chunk-ZO7KL7GN.js';
|
|
2
2
|
import '../../../chunk-ZNIHTT22.js';
|
|
3
|
+
import '../../../chunk-P5W6JVD4.js';
|
|
4
|
+
import '../../../chunk-ISQWMBKD.js';
|
|
5
|
+
import '../../../chunk-RRVQAE5D.js';
|
|
6
|
+
import '../../../chunk-V34ZEXSE.js';
|
|
7
|
+
import '../../../chunk-GAH4YRCI.js';
|
|
8
|
+
import '../../../chunk-SR6NBBWT.js';
|
|
3
9
|
import '../../../chunk-6E6PKKAD.js';
|
|
4
10
|
import '../../../chunk-IFGTRL2I.js';
|
|
5
|
-
export { isBlocking } from '../../../chunk-
|
|
6
|
-
import '../../../chunk-
|
|
7
|
-
import '../../../chunk-
|
|
8
|
-
import '../../../chunk-
|
|
11
|
+
export { isBlocking } from '../../../chunk-S5FV6ISY.js';
|
|
12
|
+
import '../../../chunk-5QGMEPUX.js';
|
|
13
|
+
import '../../../chunk-7KFN2EPR.js';
|
|
14
|
+
import '../../../chunk-F5VREBV2.js';
|
|
9
15
|
import '../../../chunk-P43HBWKK.js';
|
|
10
16
|
import '../../../chunk-F3HNW354.js';
|
|
11
17
|
import '../../../chunk-K5GBV4SA.js';
|
|
@@ -76,9 +76,6 @@
|
|
|
76
76
|
"autoReview": {
|
|
77
77
|
"type": "boolean"
|
|
78
78
|
},
|
|
79
|
-
"subagentMode": {
|
|
80
|
-
"type": "boolean"
|
|
81
|
-
},
|
|
82
79
|
"verbosity": {
|
|
83
80
|
"type": "string",
|
|
84
81
|
"minLength": 1
|
|
@@ -631,9 +628,6 @@
|
|
|
631
628
|
"parallelGroup": {
|
|
632
629
|
"type": "string",
|
|
633
630
|
"minLength": 1
|
|
634
|
-
},
|
|
635
|
-
"subagent": {
|
|
636
|
-
"type": "boolean"
|
|
637
631
|
}
|
|
638
632
|
},
|
|
639
633
|
"additionalProperties": false
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../../../factory-assets/connectors/flow/contract/normalize.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,cAAc,EACpB,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../../../factory-assets/connectors/flow/contract/normalize.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,cAAc,EACpB,MAAM,aAAa,CAAC;AA0GrB,iGAAiG;AACjG,MAAM,WAAW,mBAAmB;IAClC,8EAA8E;IAC9E,IAAI,EAAE,MAAM,CAAC;IACb,kEAAkE;IAClE,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,+FAA+F;AAC/F,MAAM,MAAM,uBAAuB,GAAG;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE5B,6FAA6F;AAC7F,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,GAAG;IACjE,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,GAAG,uBAAuB,CAAC,CAAC;CACzE,CAAC;AAEF,yFAAyF;AACzF,MAAM,MAAM,yBAAyB,GACjC;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,IAAI,EAAE,oBAAoB,CAAA;CAAE,GACxC;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,mBAAmB,EAAE,CAAA;CAAE,CAAC;AA8FjD;;;GAGG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,OAAO,GAAG,yBAAyB,CAoJpE;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,OAAO,GAAG,yBAAyB,CAY5E"}
|
|
@@ -118,7 +118,6 @@ export declare function parseFlowDefinitionStructure(data: unknown): z.ZodSafePa
|
|
|
118
118
|
retries?: number | undefined;
|
|
119
119
|
timeoutSec?: number | undefined;
|
|
120
120
|
parallelGroup?: string | undefined;
|
|
121
|
-
subagent?: boolean | undefined;
|
|
122
121
|
} | undefined;
|
|
123
122
|
}[];
|
|
124
123
|
edges: {
|
|
@@ -140,7 +139,6 @@ export declare function parseFlowDefinitionStructure(data: unknown): z.ZodSafePa
|
|
|
140
139
|
approval?: "manual" | "auto" | "checkpoint" | undefined;
|
|
141
140
|
researchDepth?: string | undefined;
|
|
142
141
|
autoReview?: boolean | undefined;
|
|
143
|
-
subagentMode?: boolean | undefined;
|
|
144
142
|
verbosity?: string | undefined;
|
|
145
143
|
cliMode?: boolean | undefined;
|
|
146
144
|
run_input?: z.core.util.JSONType | undefined;
|
|
@@ -182,7 +180,6 @@ export declare const FlowDefinitionSchema: z.ZodObject<{
|
|
|
182
180
|
}>>;
|
|
183
181
|
researchDepth: z.ZodOptional<z.ZodString>;
|
|
184
182
|
autoReview: z.ZodOptional<z.ZodBoolean>;
|
|
185
|
-
subagentMode: z.ZodOptional<z.ZodBoolean>;
|
|
186
183
|
verbosity: z.ZodOptional<z.ZodString>;
|
|
187
184
|
cliMode: z.ZodOptional<z.ZodBoolean>;
|
|
188
185
|
run_input: z.ZodOptional<z.ZodJSONSchema>;
|
|
@@ -331,7 +328,6 @@ export declare const FlowDefinitionSchema: z.ZodObject<{
|
|
|
331
328
|
retries: z.ZodOptional<z.ZodNumber>;
|
|
332
329
|
timeoutSec: z.ZodOptional<z.ZodNumber>;
|
|
333
330
|
parallelGroup: z.ZodOptional<z.ZodString>;
|
|
334
|
-
subagent: z.ZodOptional<z.ZodBoolean>;
|
|
335
331
|
}, z.core.$strict>>;
|
|
336
332
|
}, z.core.$strict>>;
|
|
337
333
|
edges: z.ZodArray<z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../factory-assets/connectors/flow/contract/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../factory-assets/connectors/flow/contract/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AA4EzB,QAAA,MAAM,SAAS;;;;EAAuC,CAAC;AAkKvD,sFAAsF;AACtF,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAEzD;AAqDD,qFAAqF;AACrF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAmL/B,CAAC;AAEH,wFAAwF;AACxF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvD,0FAA0F;AAC1F,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC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|
|
1
|
-
export { FLOW_DEFINITION_JSON_SCHEMA_ID, canonicalizeFlowDefinition, generateFlowDefinitionJsonSchema, hashFlowDefinition } from '../../../chunk-
|
|
2
|
-
export { FLOW_EXPRESSION_LIMITS, FlowDefinitionSchema, FlowExpressionError, evaluate, evaluateFlowExpression, normalizeV1, parseFlowDefinition, resolveFlowBindings } from '../../../chunk-
|
|
1
|
+
export { FLOW_DEFINITION_JSON_SCHEMA_ID, canonicalizeFlowDefinition, generateFlowDefinitionJsonSchema, hashFlowDefinition } from '../../../chunk-N4GFUWWC.js';
|
|
2
|
+
export { FLOW_EXPRESSION_LIMITS, FlowDefinitionSchema, FlowExpressionError, evaluate, evaluateFlowExpression, normalizeV1, parseFlowDefinition, resolveFlowBindings } from '../../../chunk-5QGMEPUX.js';
|
|
3
3
|
import '../../../chunk-NSBPE2FW.js';
|
|
4
4
|
//# sourceMappingURL=contract.js.map
|
|
5
5
|
//# sourceMappingURL=contract.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bindings.d.ts","sourceRoot":"","sources":["../../../../../factory-assets/connectors/flow/engine/bindings.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EAC1B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAElF,yFAAyF;AACzF,wBAAgB,0BAA0B,CACxC,IAAI,EAAE,cAAc,EACpB,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC,GAC5C,qBAAqB,CAevB;AAED,8EAA8E;AAC9E,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,cAAc,EACpB,IAAI,EAAE,QAAQ,EACd,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC,EAC7C,gBAAgB,GAAE,MAAM,CAAC,MAAM,EAAE,aAAa,EAAE,CAAM,GACrD,oBAAoB,
|
|
1
|
+
{"version":3,"file":"bindings.d.ts","sourceRoot":"","sources":["../../../../../factory-assets/connectors/flow/engine/bindings.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EAC1B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAElF,yFAAyF;AACzF,wBAAgB,0BAA0B,CACxC,IAAI,EAAE,cAAc,EACpB,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC,GAC5C,qBAAqB,CAevB;AAED,8EAA8E;AAC9E,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,cAAc,EACpB,IAAI,EAAE,QAAQ,EACd,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC,EAC7C,gBAAgB,GAAE,MAAM,CAAC,MAAM,EAAE,aAAa,EAAE,CAAM,GACrD,oBAAoB,CAgBtB;AAED,oFAAoF;AACpF,wBAAgB,0BAA0B,CACxC,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9B,MAAM,CAQR"}
|