yaml-flow 8.3.0 → 8.4.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/browser/asset-integrity.json +3 -3
- package/browser/board-livecards-localstorage.js +6 -4
- package/browser/live-cards.js +19 -25
- package/cli/browser-api/board-live-cards-browser-adapter.d.ts +2 -2
- package/cli/browser-api/board-live-cards-browser-adapter.js +3 -2
- package/cli/browser-api/card-store-browser-api.js +1 -1
- package/cli/{execution-interface-CrG5gzAx.d.ts → execution-interface-DCFBy4L8.d.ts} +36 -1
- package/cli/node/artifacts-store-cli.js +5 -5
- package/cli/node/batch-runner-cli.js +2 -2
- package/cli/node/board-live-cards-cli.js +15 -9
- package/cli/node/card-store-cli.js +6 -6
- package/cli/node/chat-store-cli.js +7 -7
- package/cli/node/execution-adapter.d.ts +1 -1
- package/cli/node/execution-adapter.js +2 -2
- package/cli/node/fs-board-adapter.d.ts +72 -73
- package/cli/node/fs-board-adapter.js +14 -10
- package/cli/node/step-machine-cli.js +3 -3
- package/cli/{types-PUfPBxc_.d.ts → types-Dc2VRMUw.d.ts} +24 -16
- package/examples/board/demo-shell-with-server.html +2 -2
- package/examples/board/doc.html +2 -2
- package/examples/board/server/board-server.js +10 -1
- package/examples/board-local/demo-shell-localstorage.html +3 -3
- package/lib/{artifacts-store-lib-public-ksGIExhc.d.ts → artifacts-store-lib-454TAuov.d.ts} +2 -32
- package/lib/{artifacts-store-lib-public-Cz8-kdXG.d.cts → artifacts-store-lib-zsGFbBV8.d.cts} +2 -32
- package/lib/artifacts-store-public.d.cts +34 -3
- package/lib/artifacts-store-public.d.ts +34 -3
- package/lib/board-live-cards-node.cjs +14 -10
- package/lib/board-live-cards-node.d.cts +24 -23
- package/lib/board-live-cards-node.d.ts +24 -23
- package/lib/board-live-cards-node.js +14 -10
- package/lib/{board-live-cards-public-BwZYGAsF.d.cts → board-live-cards-public-BM6jCEIa.d.cts} +24 -4
- package/lib/{board-live-cards-public-DWpZVDXN.d.ts → board-live-cards-public-Bz07XKRK.d.ts} +24 -4
- package/lib/board-live-cards-public.cjs +2 -2
- package/lib/board-live-cards-public.d.cts +2 -2
- package/lib/board-live-cards-public.d.ts +2 -2
- package/lib/board-live-cards-public.js +2 -2
- package/lib/board-live-cards-server-runtime.cjs +4 -4
- package/lib/board-live-cards-server-runtime.d.cts +5 -4
- package/lib/board-live-cards-server-runtime.d.ts +5 -4
- package/lib/board-live-cards-server-runtime.js +4 -4
- package/lib/card-store-public.d.cts +2 -2
- package/lib/card-store-public.d.ts +2 -2
- package/lib/{chat-storage-lib-BK5Njslc.d.ts → chat-storage-lib-DGaKrjVe.d.ts} +1 -1
- package/lib/{chat-storage-lib-C5bQ7bGe.d.cts → chat-storage-lib-OX0Q_Ttf.d.cts} +1 -1
- package/lib/chat-store-public.d.cts +3 -3
- package/lib/chat-store-public.d.ts +3 -3
- package/lib/execution-refs.cjs +1 -1
- package/lib/execution-refs.js +1 -1
- package/lib/index.d.cts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/server-runtime/index.cjs +4 -4
- package/lib/server-runtime/index.d.cts +6 -5
- package/lib/server-runtime/index.d.ts +6 -5
- package/lib/server-runtime/index.js +4 -4
- package/lib/step-machine-public/index.cjs +3 -3
- package/lib/step-machine-public/index.d.cts +1 -1
- package/lib/step-machine-public/index.d.ts +1 -1
- package/lib/step-machine-public/index.js +3 -3
- package/lib/{storage-interface-B6ecOulj.d.cts → storage-interface-B-7pDHwD.d.cts} +36 -1
- package/lib/{storage-interface-B6ecOulj.d.ts → storage-interface-B-7pDHwD.d.ts} +36 -1
- package/lib/stores/index.d.cts +1 -1
- package/lib/stores/index.d.ts +1 -1
- package/lib/stores/kv.d.cts +1 -1
- package/lib/stores/kv.d.ts +1 -1
- package/lib/{types-DNYhCFNJ.d.ts → types-Cn0b8G-i.d.ts} +15 -15
- package/lib/{types-D9B0Vrwg.d.cts → types-Dszjwfud.d.cts} +15 -15
- package/package.json +1 -1
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
5
|
-
import {
|
|
6
|
-
export {
|
|
7
|
-
import {
|
|
8
|
-
export {
|
|
1
|
+
import { a as ArtifactsStore } from './artifacts-store-lib-zsGFbBV8.cjs';
|
|
2
|
+
export { c as createArtifactsStore, b as createCardFileMetadataStore, d as createFileArtifactsStore } from './artifacts-store-lib-zsGFbBV8.cjs';
|
|
3
|
+
import { I as InvocationAdapter } from './types-Dszjwfud.cjs';
|
|
4
|
+
export { D as DescribeEnvelope } from './types-Dszjwfud.cjs';
|
|
5
|
+
import { a as KindValueRef } from './storage-interface-B-7pDHwD.cjs';
|
|
6
|
+
export { p as parseRef, s as serializeRef } from './storage-interface-B-7pDHwD.cjs';
|
|
7
|
+
import { e as BoardNonCorePlatformAdapter, d as BoardPlatformAdapter } from './board-live-cards-public-BM6jCEIa.cjs';
|
|
8
|
+
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-BM6jCEIa.cjs';
|
|
9
|
+
import { c as ChatStorage } from './chat-storage-lib-OX0Q_Ttf.cjs';
|
|
10
|
+
export { b as ChatConfig, C as ChatRecord, d as createChatStorage, e as createInMemoryChatStorage } from './chat-storage-lib-OX0Q_Ttf.cjs';
|
|
9
11
|
import { ExecutionRef, ArgsMassaging } from './execution-refs.cjs';
|
|
10
12
|
export { executionRefFromScriptPath, parseExecutionRef, serializeExecutionRef } from './execution-refs.cjs';
|
|
11
13
|
export { createCardStorePublic } from './card-store-public.cjs';
|
|
12
|
-
export {
|
|
14
|
+
export { createArtifactsStorePublic } from './artifacts-store-public.cjs';
|
|
13
15
|
import './types-BBhqYGhE.cjs';
|
|
14
16
|
|
|
15
17
|
/**
|
|
@@ -156,18 +158,6 @@ declare function createExecutionRefInvoker(options?: CreateExecutionRefInvokerOp
|
|
|
156
158
|
*/
|
|
157
159
|
declare function invokeRefSync(ref: ExecutionRef, args: Record<string, unknown>, options?: InvokeRefSyncOptions): InvokeRefResult;
|
|
158
160
|
|
|
159
|
-
/**
|
|
160
|
-
* fs-board-adapter.ts
|
|
161
|
-
*
|
|
162
|
-
* Wires Node.js / FS platform adapters into BoardPlatformAdapter and
|
|
163
|
-
* BoardNonCorePlatformAdapter, and provides FS-specific board utility functions.
|
|
164
|
-
*
|
|
165
|
-
* Everything in the board-live-cards system that is platform-free lives in
|
|
166
|
-
* src/cli/common/. All FS / Node.js / process concerns live here.
|
|
167
|
-
*
|
|
168
|
-
* Re-exports the full public API so consumers only need to import from this file.
|
|
169
|
-
*/
|
|
170
|
-
|
|
171
161
|
/**
|
|
172
162
|
* Creates an InvocationAdapter backed by Node.js `spawn`/`spawnSync`.
|
|
173
163
|
*
|
|
@@ -189,11 +179,22 @@ type FsBoardNonCoreAdapterOpts = {
|
|
|
189
179
|
};
|
|
190
180
|
declare function createFsBoardPlatformAdapter(baseRef: KindValueRef, cliDirOrOpts?: string | FsBoardAdapterOpts, maybeOpts?: FsBoardAdapterOpts): BoardPlatformAdapter;
|
|
191
181
|
declare function createFsBoardNonCorePlatformAdapter(baseRef: KindValueRef, cliDirOrOpts?: string | FsBoardNonCoreAdapterOpts, maybeOpts?: FsBoardNonCoreAdapterOpts): BoardNonCorePlatformAdapter;
|
|
192
|
-
|
|
182
|
+
interface FsBoardChatStorageOptions {
|
|
183
|
+
/** Subdirectory under boardDir for per-card jsonl files. Default: 'chats'. Pass '' to write directly under boardDir. */
|
|
184
|
+
chatsSubdir?: string;
|
|
185
|
+
/** Subdirectory under boardDir for chat KV (processing flags + config). Default: '.kv'. Pass '' to root at boardDir. */
|
|
186
|
+
kvSubdir?: string;
|
|
187
|
+
}
|
|
188
|
+
declare function createFsBoardChatStorage(boardDir: string, opts?: FsBoardChatStorageOptions): ChatStorage;
|
|
189
|
+
interface FsBoardFileArtifactsStoreOptions {
|
|
190
|
+
/** Subdirectory under baseDir for file uploads. Default: 'files'. Pass '' to root at baseDir. */
|
|
191
|
+
filesSubdir?: string;
|
|
192
|
+
}
|
|
193
|
+
declare function createFsBoardFileArtifactsStore(baseDir: string, opts?: FsBoardFileArtifactsStoreOptions): ArtifactsStore;
|
|
193
194
|
/**
|
|
194
195
|
* Extract the serialized board ref from a source token (which has a `br` field).
|
|
195
196
|
* Returns null for callback tokens (which don't carry a board ref).
|
|
196
197
|
*/
|
|
197
198
|
declare function decodeBoardRefFromToken(token: string): string | null;
|
|
198
199
|
|
|
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 };
|
|
200
|
+
export { BoardNonCorePlatformAdapter, BoardPlatformAdapter, ChatStorage, type CreateExecutionRefInvokerOptions, ExecutionRef, type ExecutionRefInvoker, type FsBoardChatStorageOptions, type FsBoardFileArtifactsStoreOptions, InvocationAdapter, type InvokeExecutionRefOptions, type InvokeRefResult, KindValueRef, type SyncTransportInvoker, type TransportInvoker, buildLocalBaseSpec, createExecutionRefInvoker, createFsBoardChatStorage, createFsBoardFileArtifactsStore, createFsBoardNonCorePlatformAdapter, createFsBoardPlatformAdapter, createNodeSpawnInvocationAdapter, decodeBoardRefFromToken, evaluateArgsMassaging, invokeExecutionRef, invokeExecutionRefSync, invokeRefSync, resolveWhatToRunValue, resolveYamlFlowCliPath };
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
5
|
-
import {
|
|
6
|
-
export {
|
|
7
|
-
import {
|
|
8
|
-
export {
|
|
1
|
+
import { a as ArtifactsStore } from './artifacts-store-lib-454TAuov.js';
|
|
2
|
+
export { c as createArtifactsStore, b as createCardFileMetadataStore, d as createFileArtifactsStore } from './artifacts-store-lib-454TAuov.js';
|
|
3
|
+
import { I as InvocationAdapter } from './types-Cn0b8G-i.js';
|
|
4
|
+
export { D as DescribeEnvelope } from './types-Cn0b8G-i.js';
|
|
5
|
+
import { a as KindValueRef } from './storage-interface-B-7pDHwD.js';
|
|
6
|
+
export { p as parseRef, s as serializeRef } from './storage-interface-B-7pDHwD.js';
|
|
7
|
+
import { e as BoardNonCorePlatformAdapter, d as BoardPlatformAdapter } from './board-live-cards-public-Bz07XKRK.js';
|
|
8
|
+
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-Bz07XKRK.js';
|
|
9
|
+
import { c as ChatStorage } from './chat-storage-lib-DGaKrjVe.js';
|
|
10
|
+
export { b as ChatConfig, C as ChatRecord, d as createChatStorage, e as createInMemoryChatStorage } from './chat-storage-lib-DGaKrjVe.js';
|
|
9
11
|
import { ExecutionRef, ArgsMassaging } from './execution-refs.js';
|
|
10
12
|
export { executionRefFromScriptPath, parseExecutionRef, serializeExecutionRef } from './execution-refs.js';
|
|
11
13
|
export { createCardStorePublic } from './card-store-public.js';
|
|
12
|
-
export {
|
|
14
|
+
export { createArtifactsStorePublic } from './artifacts-store-public.js';
|
|
13
15
|
import './types-BBhqYGhE.js';
|
|
14
16
|
|
|
15
17
|
/**
|
|
@@ -156,18 +158,6 @@ declare function createExecutionRefInvoker(options?: CreateExecutionRefInvokerOp
|
|
|
156
158
|
*/
|
|
157
159
|
declare function invokeRefSync(ref: ExecutionRef, args: Record<string, unknown>, options?: InvokeRefSyncOptions): InvokeRefResult;
|
|
158
160
|
|
|
159
|
-
/**
|
|
160
|
-
* fs-board-adapter.ts
|
|
161
|
-
*
|
|
162
|
-
* Wires Node.js / FS platform adapters into BoardPlatformAdapter and
|
|
163
|
-
* BoardNonCorePlatformAdapter, and provides FS-specific board utility functions.
|
|
164
|
-
*
|
|
165
|
-
* Everything in the board-live-cards system that is platform-free lives in
|
|
166
|
-
* src/cli/common/. All FS / Node.js / process concerns live here.
|
|
167
|
-
*
|
|
168
|
-
* Re-exports the full public API so consumers only need to import from this file.
|
|
169
|
-
*/
|
|
170
|
-
|
|
171
161
|
/**
|
|
172
162
|
* Creates an InvocationAdapter backed by Node.js `spawn`/`spawnSync`.
|
|
173
163
|
*
|
|
@@ -189,11 +179,22 @@ type FsBoardNonCoreAdapterOpts = {
|
|
|
189
179
|
};
|
|
190
180
|
declare function createFsBoardPlatformAdapter(baseRef: KindValueRef, cliDirOrOpts?: string | FsBoardAdapterOpts, maybeOpts?: FsBoardAdapterOpts): BoardPlatformAdapter;
|
|
191
181
|
declare function createFsBoardNonCorePlatformAdapter(baseRef: KindValueRef, cliDirOrOpts?: string | FsBoardNonCoreAdapterOpts, maybeOpts?: FsBoardNonCoreAdapterOpts): BoardNonCorePlatformAdapter;
|
|
192
|
-
|
|
182
|
+
interface FsBoardChatStorageOptions {
|
|
183
|
+
/** Subdirectory under boardDir for per-card jsonl files. Default: 'chats'. Pass '' to write directly under boardDir. */
|
|
184
|
+
chatsSubdir?: string;
|
|
185
|
+
/** Subdirectory under boardDir for chat KV (processing flags + config). Default: '.kv'. Pass '' to root at boardDir. */
|
|
186
|
+
kvSubdir?: string;
|
|
187
|
+
}
|
|
188
|
+
declare function createFsBoardChatStorage(boardDir: string, opts?: FsBoardChatStorageOptions): ChatStorage;
|
|
189
|
+
interface FsBoardFileArtifactsStoreOptions {
|
|
190
|
+
/** Subdirectory under baseDir for file uploads. Default: 'files'. Pass '' to root at baseDir. */
|
|
191
|
+
filesSubdir?: string;
|
|
192
|
+
}
|
|
193
|
+
declare function createFsBoardFileArtifactsStore(baseDir: string, opts?: FsBoardFileArtifactsStoreOptions): ArtifactsStore;
|
|
193
194
|
/**
|
|
194
195
|
* Extract the serialized board ref from a source token (which has a `br` field).
|
|
195
196
|
* Returns null for callback tokens (which don't carry a board ref).
|
|
196
197
|
*/
|
|
197
198
|
declare function decodeBoardRefFromToken(token: string): string | null;
|
|
198
199
|
|
|
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 };
|
|
200
|
+
export { BoardNonCorePlatformAdapter, BoardPlatformAdapter, ChatStorage, type CreateExecutionRefInvokerOptions, ExecutionRef, type ExecutionRefInvoker, type FsBoardChatStorageOptions, type FsBoardFileArtifactsStoreOptions, InvocationAdapter, type InvokeExecutionRefOptions, type InvokeRefResult, KindValueRef, type SyncTransportInvoker, type TransportInvoker, buildLocalBaseSpec, createExecutionRefInvoker, createFsBoardChatStorage, createFsBoardFileArtifactsStore, createFsBoardNonCorePlatformAdapter, createFsBoardPlatformAdapter, createNodeSpawnInvocationAdapter, decodeBoardRefFromToken, evaluateArgsMassaging, invokeExecutionRef, invokeExecutionRefSync, invokeRefSync, resolveWhatToRunValue, resolveYamlFlowCliPath };
|