yaml-flow 8.2.5 → 8.3.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/browser/asset-integrity.json +3 -3
- package/browser/board-livecards-client.js +1 -1
- package/browser/board-livecards-localstorage.js +4 -4
- package/browser/live-cards.js +19 -19
- package/cli/{board-live-cards-lib-Iq_XAC09.d.ts → board-live-cards-lib-tjYsPt5U.d.ts} +1 -1
- package/cli/browser-api/board-live-cards-browser-adapter.d.ts +3 -3
- package/cli/browser-api/card-store-browser-api.d.ts +1 -1
- package/cli/{execution-interface-ftO1W7Po.d.ts → execution-interface-CrG5gzAx.d.ts} +116 -2
- package/cli/node/batch-runner-cli.d.ts +3 -0
- package/cli/node/batch-runner-cli.js +2 -1
- package/cli/node/board-live-cards-cli.js +9 -9
- package/cli/node/chat-store-cli.d.ts +23 -0
- package/cli/node/chat-store-cli.js +8 -0
- package/cli/node/execution-adapter.d.ts +4 -2
- package/cli/node/execution-adapter.js +2 -2
- package/cli/node/fs-board-adapter.d.ts +7 -6
- package/cli/node/fs-board-adapter.js +8 -8
- package/cli/node/source-cli-task-executor.js +4 -4
- package/cli/node/step-machine-cli.js +3 -3
- package/cli/{types--rXGWbSR.d.ts → types-PUfPBxc_.d.ts} +4 -109
- package/examples/board/demo-shell-with-server.html +3 -196
- package/examples/board/doc.html +465 -0
- package/examples/board/server/board-server.js +20 -81
- package/examples/board/server/board-worker/source_def_flows.json +2 -2
- package/examples/board/server/chat-flow/copilot-chat/assistant.js +44 -185
- package/examples/board/server/chat-flow/copilot-chat/copilot_wrapper.bat +157 -0
- package/examples/board/server/chat-flow/copilot-chat/copilot_wrapper_helper.ps1 +190 -0
- package/examples/board/server/chat-flow/flow-steps.json +122 -56
- package/examples/board/test/server-http-test.js +252 -220
- package/examples/board-local/demo-shell-localstorage.html +3 -3
- package/lib/{artifacts-store-lib-public-C5UL5tyG.d.cts → artifacts-store-lib-public-Cz8-kdXG.d.cts} +1 -1
- package/lib/{artifacts-store-lib-public-GD4H-fFp.d.ts → artifacts-store-lib-public-ksGIExhc.d.ts} +1 -1
- package/lib/artifacts-store-public.d.cts +2 -2
- package/lib/artifacts-store-public.d.ts +2 -2
- package/lib/board-live-cards-node.cjs +8 -8
- package/lib/board-live-cards-node.d.cts +26 -6
- package/lib/board-live-cards-node.d.ts +26 -6
- package/lib/board-live-cards-node.js +8 -8
- package/lib/{board-live-cards-public-BLXbcBNk.d.cts → board-live-cards-public-BwZYGAsF.d.cts} +1 -1
- package/lib/{board-live-cards-public-BZaNb2mi.d.ts → board-live-cards-public-DWpZVDXN.d.ts} +1 -1
- package/lib/board-live-cards-public.d.cts +1 -1
- package/lib/board-live-cards-public.d.ts +1 -1
- package/lib/board-live-cards-server-runtime.cjs +3 -3
- package/lib/board-live-cards-server-runtime.d.cts +3 -2
- package/lib/board-live-cards-server-runtime.d.ts +3 -2
- package/lib/board-live-cards-server-runtime.js +3 -3
- package/lib/board-worker-adapter.cjs +2 -2
- package/lib/board-worker-adapter.js +2 -2
- package/lib/card-store-public.d.cts +1 -1
- package/lib/card-store-public.d.ts +1 -1
- package/lib/chat-storage-lib-BK5Njslc.d.ts +53 -0
- package/lib/chat-storage-lib-C5bQ7bGe.d.cts +53 -0
- package/lib/chat-store-public.cjs +2 -0
- package/lib/chat-store-public.d.cts +128 -0
- package/lib/chat-store-public.d.ts +128 -0
- package/lib/chat-store-public.js +2 -0
- package/lib/execution-refs.d.cts +10 -1
- package/lib/execution-refs.d.ts +10 -1
- package/lib/server-runtime/index.cjs +3 -3
- package/lib/server-runtime/index.d.cts +4 -3
- package/lib/server-runtime/index.d.ts +4 -3
- package/lib/server-runtime/index.js +3 -3
- package/lib/{types-Bztd1KoK.d.cts → types-D9B0Vrwg.d.cts} +4 -53
- package/lib/{types-D-xVWPdY.d.ts → types-DNYhCFNJ.d.ts} +4 -53
- package/package.json +8 -2
- package/examples/board/.board-ws/cards/store/_index.json +0 -17
- package/examples/board/.board-ws/cards/store/card-market-prices.json +0 -80
- package/examples/board/.board-ws/cards/store/card-portfolio-value.json +0 -90
- package/examples/board/.board-ws/cards/store/card-portfolio.json +0 -78
- package/examples/board/server/chat-flow/chat-clear-processing.js +0 -41
- package/examples/board/server/chat-flow/chat-open-turn.js +0 -144
- package/examples/board/server/chat-flow/chat-write-assistant.js +0 -44
- package/examples/board/server/chat-flow/echo-probe/assistant.js +0 -28
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { I as InvocationAdapter } from './types-D9B0Vrwg.cjs';
|
|
2
|
+
export { D as DescribeEnvelope } from './types-D9B0Vrwg.cjs';
|
|
3
3
|
import { a as KindValueRef } from './storage-interface-B6ecOulj.cjs';
|
|
4
4
|
export { p as parseRef, s as serializeRef } from './storage-interface-B6ecOulj.cjs';
|
|
5
|
-
import { e as BoardNonCorePlatformAdapter, d as BoardPlatformAdapter } from './board-live-cards-public-
|
|
6
|
-
export { f as BOARD_GRAPH_KEY, g as BoardLiveCardsNonCorePublic, c as BoardLiveCardsPublic, C as CommandInput, a as CommandResult, E as EMPTY_CONFIG, L as LiveCard, S as SNAPSHOT_SCHEMA_VERSION_V1, h as createBoardLiveCardsNonCorePublic, i as createBoardLiveCardsPublic, j as createCardStore } from './board-live-cards-public-
|
|
5
|
+
import { e as BoardNonCorePlatformAdapter, d as BoardPlatformAdapter } from './board-live-cards-public-BwZYGAsF.cjs';
|
|
6
|
+
export { f as BOARD_GRAPH_KEY, g as BoardLiveCardsNonCorePublic, c as BoardLiveCardsPublic, C as CommandInput, a as CommandResult, E as EMPTY_CONFIG, L as LiveCard, S as SNAPSHOT_SCHEMA_VERSION_V1, h as createBoardLiveCardsNonCorePublic, i as createBoardLiveCardsPublic, j as createCardStore } from './board-live-cards-public-BwZYGAsF.cjs';
|
|
7
|
+
import { c as ChatStorage } from './chat-storage-lib-C5bQ7bGe.cjs';
|
|
8
|
+
export { b as ChatConfig, C as ChatRecord, d as createChatStorage, e as createInMemoryChatStorage } from './chat-storage-lib-C5bQ7bGe.cjs';
|
|
7
9
|
import { ExecutionRef, ArgsMassaging } from './execution-refs.cjs';
|
|
8
10
|
export { executionRefFromScriptPath, parseExecutionRef, serializeExecutionRef } from './execution-refs.cjs';
|
|
9
11
|
export { createCardStorePublic } from './card-store-public.cjs';
|
|
10
|
-
export { c as createArtifactsStore, a as createArtifactsStorePublic, b as createCardFileMetadataStore, d as createFileArtifactsStore } from './artifacts-store-lib-public-
|
|
12
|
+
export { c as createArtifactsStore, a as createArtifactsStorePublic, b as createCardFileMetadataStore, d as createFileArtifactsStore } from './artifacts-store-lib-public-Cz8-kdXG.cjs';
|
|
11
13
|
import './types-BBhqYGhE.cjs';
|
|
12
14
|
|
|
13
15
|
/**
|
|
@@ -80,6 +82,24 @@ interface MassagedArgs {
|
|
|
80
82
|
* If argsMassaging is absent, the adapter uses its default mapping.
|
|
81
83
|
*/
|
|
82
84
|
|
|
85
|
+
declare function resolveYamlFlowCliPath(cliFileName: string): string;
|
|
86
|
+
declare function resolveWhatToRunValue(whatToRun: string | KindValueRef): string;
|
|
87
|
+
/**
|
|
88
|
+
* Resolve an ExecutionRef to its base { command, baseArgs } for local transports.
|
|
89
|
+
*
|
|
90
|
+
* Exported for callers that need to stay synchronous (e.g. validate-source-def,
|
|
91
|
+
* describe-capabilities) and build their own final argv.
|
|
92
|
+
* Does NOT evaluate argsMassaging — append custom argv after baseArgs.
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* const { command, baseArgs } = buildLocalBaseSpec(teRef, cliDir);
|
|
96
|
+
* executor.executeSync(command, [...baseArgs, 'describe-capabilities'], { timeout: 10_000 });
|
|
97
|
+
*/
|
|
98
|
+
declare function buildLocalBaseSpec(ref: ExecutionRef, cliDir: string): {
|
|
99
|
+
command: string;
|
|
100
|
+
baseArgs: string[];
|
|
101
|
+
};
|
|
102
|
+
|
|
83
103
|
/** Normalized envelope returned by invokeRefSync. */
|
|
84
104
|
interface InvokeRefResult {
|
|
85
105
|
/** Outcome key — drives transitions in the step machine ('success' | 'failure' | custom). */
|
|
@@ -176,4 +196,4 @@ declare function createFsBoardChatStorage(boardDir: string): ChatStorage;
|
|
|
176
196
|
*/
|
|
177
197
|
declare function decodeBoardRefFromToken(token: string): string | null;
|
|
178
198
|
|
|
179
|
-
export { BoardNonCorePlatformAdapter, BoardPlatformAdapter, ChatStorage, type CreateExecutionRefInvokerOptions, ExecutionRef, type ExecutionRefInvoker, InvocationAdapter, type InvokeExecutionRefOptions, type InvokeRefResult, KindValueRef, type SyncTransportInvoker, type TransportInvoker, createExecutionRefInvoker, createFsBoardChatStorage, createFsBoardNonCorePlatformAdapter, createFsBoardPlatformAdapter, createNodeSpawnInvocationAdapter, decodeBoardRefFromToken, evaluateArgsMassaging, invokeExecutionRef, invokeExecutionRefSync, invokeRefSync };
|
|
199
|
+
export { BoardNonCorePlatformAdapter, BoardPlatformAdapter, ChatStorage, type CreateExecutionRefInvokerOptions, ExecutionRef, type ExecutionRefInvoker, InvocationAdapter, type InvokeExecutionRefOptions, type InvokeRefResult, KindValueRef, type SyncTransportInvoker, type TransportInvoker, buildLocalBaseSpec, createExecutionRefInvoker, createFsBoardChatStorage, createFsBoardNonCorePlatformAdapter, createFsBoardPlatformAdapter, createNodeSpawnInvocationAdapter, decodeBoardRefFromToken, evaluateArgsMassaging, invokeExecutionRef, invokeExecutionRefSync, invokeRefSync, resolveWhatToRunValue, resolveYamlFlowCliPath };
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { I as InvocationAdapter } from './types-DNYhCFNJ.js';
|
|
2
|
+
export { D as DescribeEnvelope } from './types-DNYhCFNJ.js';
|
|
3
3
|
import { a as KindValueRef } from './storage-interface-B6ecOulj.js';
|
|
4
4
|
export { p as parseRef, s as serializeRef } from './storage-interface-B6ecOulj.js';
|
|
5
|
-
import { e as BoardNonCorePlatformAdapter, d as BoardPlatformAdapter } from './board-live-cards-public-
|
|
6
|
-
export { f as BOARD_GRAPH_KEY, g as BoardLiveCardsNonCorePublic, c as BoardLiveCardsPublic, C as CommandInput, a as CommandResult, E as EMPTY_CONFIG, L as LiveCard, S as SNAPSHOT_SCHEMA_VERSION_V1, h as createBoardLiveCardsNonCorePublic, i as createBoardLiveCardsPublic, j as createCardStore } from './board-live-cards-public-
|
|
5
|
+
import { e as BoardNonCorePlatformAdapter, d as BoardPlatformAdapter } from './board-live-cards-public-DWpZVDXN.js';
|
|
6
|
+
export { f as BOARD_GRAPH_KEY, g as BoardLiveCardsNonCorePublic, c as BoardLiveCardsPublic, C as CommandInput, a as CommandResult, E as EMPTY_CONFIG, L as LiveCard, S as SNAPSHOT_SCHEMA_VERSION_V1, h as createBoardLiveCardsNonCorePublic, i as createBoardLiveCardsPublic, j as createCardStore } from './board-live-cards-public-DWpZVDXN.js';
|
|
7
|
+
import { c as ChatStorage } from './chat-storage-lib-BK5Njslc.js';
|
|
8
|
+
export { b as ChatConfig, C as ChatRecord, d as createChatStorage, e as createInMemoryChatStorage } from './chat-storage-lib-BK5Njslc.js';
|
|
7
9
|
import { ExecutionRef, ArgsMassaging } from './execution-refs.js';
|
|
8
10
|
export { executionRefFromScriptPath, parseExecutionRef, serializeExecutionRef } from './execution-refs.js';
|
|
9
11
|
export { createCardStorePublic } from './card-store-public.js';
|
|
10
|
-
export { c as createArtifactsStore, a as createArtifactsStorePublic, b as createCardFileMetadataStore, d as createFileArtifactsStore } from './artifacts-store-lib-public-
|
|
12
|
+
export { c as createArtifactsStore, a as createArtifactsStorePublic, b as createCardFileMetadataStore, d as createFileArtifactsStore } from './artifacts-store-lib-public-ksGIExhc.js';
|
|
11
13
|
import './types-BBhqYGhE.js';
|
|
12
14
|
|
|
13
15
|
/**
|
|
@@ -80,6 +82,24 @@ interface MassagedArgs {
|
|
|
80
82
|
* If argsMassaging is absent, the adapter uses its default mapping.
|
|
81
83
|
*/
|
|
82
84
|
|
|
85
|
+
declare function resolveYamlFlowCliPath(cliFileName: string): string;
|
|
86
|
+
declare function resolveWhatToRunValue(whatToRun: string | KindValueRef): string;
|
|
87
|
+
/**
|
|
88
|
+
* Resolve an ExecutionRef to its base { command, baseArgs } for local transports.
|
|
89
|
+
*
|
|
90
|
+
* Exported for callers that need to stay synchronous (e.g. validate-source-def,
|
|
91
|
+
* describe-capabilities) and build their own final argv.
|
|
92
|
+
* Does NOT evaluate argsMassaging — append custom argv after baseArgs.
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* const { command, baseArgs } = buildLocalBaseSpec(teRef, cliDir);
|
|
96
|
+
* executor.executeSync(command, [...baseArgs, 'describe-capabilities'], { timeout: 10_000 });
|
|
97
|
+
*/
|
|
98
|
+
declare function buildLocalBaseSpec(ref: ExecutionRef, cliDir: string): {
|
|
99
|
+
command: string;
|
|
100
|
+
baseArgs: string[];
|
|
101
|
+
};
|
|
102
|
+
|
|
83
103
|
/** Normalized envelope returned by invokeRefSync. */
|
|
84
104
|
interface InvokeRefResult {
|
|
85
105
|
/** Outcome key — drives transitions in the step machine ('success' | 'failure' | custom). */
|
|
@@ -176,4 +196,4 @@ declare function createFsBoardChatStorage(boardDir: string): ChatStorage;
|
|
|
176
196
|
*/
|
|
177
197
|
declare function decodeBoardRefFromToken(token: string): string | null;
|
|
178
198
|
|
|
179
|
-
export { BoardNonCorePlatformAdapter, BoardPlatformAdapter, ChatStorage, type CreateExecutionRefInvokerOptions, ExecutionRef, type ExecutionRefInvoker, InvocationAdapter, type InvokeExecutionRefOptions, type InvokeRefResult, KindValueRef, type SyncTransportInvoker, type TransportInvoker, createExecutionRefInvoker, createFsBoardChatStorage, createFsBoardNonCorePlatformAdapter, createFsBoardPlatformAdapter, createNodeSpawnInvocationAdapter, decodeBoardRefFromToken, evaluateArgsMassaging, invokeExecutionRef, invokeExecutionRefSync, invokeRefSync };
|
|
199
|
+
export { BoardNonCorePlatformAdapter, BoardPlatformAdapter, ChatStorage, type CreateExecutionRefInvokerOptions, ExecutionRef, type ExecutionRefInvoker, InvocationAdapter, type InvokeExecutionRefOptions, type InvokeRefResult, KindValueRef, type SyncTransportInvoker, type TransportInvoker, buildLocalBaseSpec, createExecutionRefInvoker, createFsBoardChatStorage, createFsBoardNonCorePlatformAdapter, createFsBoardPlatformAdapter, createNodeSpawnInvocationAdapter, decodeBoardRefFromToken, evaluateArgsMassaging, invokeExecutionRef, invokeExecutionRefSync, invokeRefSync, resolveWhatToRunValue, resolveYamlFlowCliPath };
|