yaml-flow 8.2.0 → 8.2.2

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.
Files changed (107) hide show
  1. package/browser/asset-integrity.json +3 -3
  2. package/browser/board-livecards-client.js +1 -1
  3. package/browser/board-livecards-localstorage.js +4 -6
  4. package/cli/{board-live-cards-lib-tjYsPt5U.d.ts → board-live-cards-lib-Iq_XAC09.d.ts} +1 -1
  5. package/cli/browser-api/board-live-cards-browser-adapter.d.ts +4 -3
  6. package/cli/browser-api/board-live-cards-browser-adapter.js +2 -2
  7. package/cli/browser-api/card-store-browser-api.d.ts +1 -1
  8. package/cli/node/artifacts-store-cli.js +8 -8
  9. package/cli/node/board-live-cards-cli.js +8 -8
  10. package/cli/node/fs-board-adapter.d.ts +6 -33
  11. package/cli/node/fs-board-adapter.js +10 -8
  12. package/cli/node/step-machine-cli.js +2 -2
  13. package/cli/{types-CSiGbY__.d.ts → types--rXGWbSR.d.ts} +76 -4
  14. package/examples/board/.board-ws/cards/store/_index.json +17 -0
  15. package/examples/board/.board-ws/cards/store/card-market-prices.json +80 -0
  16. package/examples/board/.board-ws/cards/store/card-portfolio-value.json +90 -0
  17. package/examples/board/.board-ws/cards/store/card-portfolio.json +78 -0
  18. package/examples/board/cards/cardT-market-prices.json +6 -4
  19. package/examples/board/cards/cardT-portfolio-value.json +10 -38
  20. package/examples/board/cards/cardT-portfolio.json +9 -4
  21. package/examples/board/demo-shell-with-server.html +3 -3
  22. package/examples/board/server/board-server.js +593 -0
  23. package/examples/board/server/board-worker/source-def-flows/mock-handler/mock-db.js +13 -0
  24. package/examples/board/server/board-worker/source-def-flows/sqlite-handler/.retain/compliance.db +0 -0
  25. package/examples/board/server/board-worker/source-def-flows/sqlite-handler/.retain/optimus.db +0 -0
  26. package/examples/board/server/board-worker/source-def-flows/sqlite-handler/query.cjs +51 -0
  27. package/examples/board/server/board-worker/source-def-flows/sqlite-handler/seed-cpm.cjs +197 -0
  28. package/examples/board/server/board-worker/source-def-flows/sqlite-handler/seed-cpmV2.cjs +128 -0
  29. package/examples/board/server/board-worker/source-def-flows/sqlite-handler/seed-optimus.cjs +352 -0
  30. package/examples/board/server/board-worker/source-def-flows/sqlite-handler/sqlite-config.json +3 -0
  31. package/examples/board/server/board-worker/source-def-flows/sqlite-handler/sqlite-handler.js +84 -0
  32. package/examples/board/{source-def-flows/url.flow.json → server/board-worker/source-def-flows/sqlite.flow.json} +7 -7
  33. package/examples/board/{source-def-handlers → server/board-worker/source-def-flows/url-handler}/http-source-handler.js +29 -21
  34. package/examples/board/server/board-worker/source-def-flows/url.flow.json +73 -0
  35. package/examples/board/{source_def_flows.json → server/board-worker/source_def_flows.json} +61 -115
  36. package/examples/board/server/board-worker/task-executor.js +475 -0
  37. package/examples/board/server/chat-flow/chat-clear-processing.js +41 -0
  38. package/examples/board/server/chat-flow/chat-open-turn.js +144 -0
  39. package/examples/board/server/chat-flow/chat-write-assistant.js +44 -0
  40. package/examples/board/server/chat-flow/copilot-chat/assistant.js +253 -0
  41. package/examples/board/server/chat-flow/echo-probe/assistant.js +28 -0
  42. package/examples/board/server/chat-flow/flow-steps.json +167 -0
  43. package/examples/board/server-config.json +22 -0
  44. package/examples/board/test/server-http-test.js +707 -0
  45. package/examples/board/test/{portfolio-tracker-sse-worker.js → sse-worker.js} +9 -8
  46. package/examples/board-local/demo-shell-localstorage.html +3 -3
  47. package/lib/{artifacts-store-lib-public-DfU9t5-S.d.cts → artifacts-store-lib-public-C5UL5tyG.d.cts} +3 -31
  48. package/lib/{artifacts-store-lib-public-BPW_C15z.d.ts → artifacts-store-lib-public-GD4H-fFp.d.ts} +3 -31
  49. package/lib/artifacts-store-public.d.cts +3 -3
  50. package/lib/artifacts-store-public.d.ts +3 -3
  51. package/lib/board-live-cards-node.cjs +10 -8
  52. package/lib/board-live-cards-node.d.cts +9 -8
  53. package/lib/board-live-cards-node.d.ts +9 -8
  54. package/lib/board-live-cards-node.js +10 -8
  55. package/lib/{board-live-cards-public-W2zK59m0.d.cts → board-live-cards-public-BLXbcBNk.d.cts} +1 -1
  56. package/lib/{board-live-cards-public-B8b_0k_j.d.ts → board-live-cards-public-BZaNb2mi.d.ts} +1 -1
  57. package/lib/board-live-cards-public.d.cts +2 -2
  58. package/lib/board-live-cards-public.d.ts +2 -2
  59. package/lib/board-live-cards-server-runtime.cjs +4 -6
  60. package/lib/board-live-cards-server-runtime.d.cts +3 -3
  61. package/lib/board-live-cards-server-runtime.d.ts +3 -3
  62. package/lib/board-live-cards-server-runtime.js +4 -6
  63. package/lib/board-livegraph-runtime/index.cjs +2 -2
  64. package/lib/board-livegraph-runtime/index.js +2 -2
  65. package/lib/card-store-public.d.cts +2 -2
  66. package/lib/card-store-public.d.ts +2 -2
  67. package/lib/execution-refs.cjs +1 -1
  68. package/lib/execution-refs.js +1 -1
  69. package/lib/index.cjs +1 -1
  70. package/lib/index.d.cts +1 -1
  71. package/lib/index.d.ts +1 -1
  72. package/lib/index.js +1 -1
  73. package/lib/server-runtime/index.cjs +4 -6
  74. package/lib/server-runtime/index.d.cts +4 -4
  75. package/lib/server-runtime/index.d.ts +4 -4
  76. package/lib/server-runtime/index.js +4 -6
  77. package/lib/step-machine-public/index.d.cts +1 -1
  78. package/lib/step-machine-public/index.d.ts +1 -1
  79. package/lib/{storage-interface-BhAON-gW.d.cts → storage-interface-B6ecOulj.d.cts} +25 -3
  80. package/lib/{storage-interface-BhAON-gW.d.ts → storage-interface-B6ecOulj.d.ts} +25 -3
  81. package/lib/stores/index.d.cts +1 -1
  82. package/lib/stores/index.d.ts +1 -1
  83. package/lib/stores/kv.d.cts +1 -1
  84. package/lib/stores/kv.d.ts +1 -1
  85. package/lib/{types-seTI8zta.d.cts → types-Bztd1KoK.d.cts} +55 -3
  86. package/lib/{types-Bm7IFD7r.d.ts → types-D-xVWPdY.d.ts} +55 -3
  87. package/package.json +1 -1
  88. package/examples/board/demo-chat-copilot.flow.json +0 -38
  89. package/examples/board/demo-chat-copilot.js +0 -185
  90. package/examples/board/demo-chat-echo.flow.json +0 -38
  91. package/examples/board/demo-chat-echo.js +0 -92
  92. package/examples/board/demo-server-config.copilot-chat.json +0 -10
  93. package/examples/board/demo-server-config.json +0 -10
  94. package/examples/board/demo-server.js +0 -629
  95. package/examples/board/demo-task-executor.js +0 -721
  96. package/examples/board/gandalf-cards/card-source-kinds.json +0 -36
  97. package/examples/board/gandalf-cards/cards/_index.json +0 -7
  98. package/examples/board/gandalf-cards/cards/card-source-kinds.json +0 -64
  99. package/examples/board/scripts/copilot_wrapper.bat +0 -157
  100. package/examples/board/scripts/copilot_wrapper_helper.ps1 +0 -190
  101. package/examples/board/scripts/workiq_wrapper.mjs +0 -66
  102. package/examples/board/source-def-flows/copilot.flow.json +0 -33
  103. package/examples/board/source-def-flows/url-list.flow.json +0 -33
  104. package/examples/board/source-def-flows/workiq.flow.json +0 -34
  105. package/examples/board/source-def-handlers/copilot-source-handler.js +0 -141
  106. package/examples/board/test/demo-http-test.js +0 -362
  107. /package/examples/board/{source-def-flows → server/board-worker/source-def-flows}/mock.flow.json +0 -0
@@ -1,13 +1,13 @@
1
- import { I as InvocationAdapter } from './types-seTI8zta.cjs';
2
- export { D as DescribeEnvelope } from './types-seTI8zta.cjs';
3
- import { a as KindValueRef } from './storage-interface-BhAON-gW.cjs';
4
- export { p as parseRef, s as serializeRef } from './storage-interface-BhAON-gW.cjs';
5
- import { e as BoardNonCorePlatformAdapter, d as BoardPlatformAdapter } from './board-live-cards-public-W2zK59m0.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-W2zK59m0.cjs';
1
+ import { c as ChatStorage, I as InvocationAdapter } from './types-Bztd1KoK.cjs';
2
+ export { f as ChatConfig, g as ChatRecord, D as DescribeEnvelope, h as createChatStorage, i as createInMemoryChatStorage } from './types-Bztd1KoK.cjs';
3
+ import { a as KindValueRef } from './storage-interface-B6ecOulj.cjs';
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-BLXbcBNk.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-BLXbcBNk.cjs';
7
7
  import { ExecutionRef, ArgsMassaging } from './execution-refs.cjs';
8
8
  export { executionRefFromScriptPath, parseExecutionRef, serializeExecutionRef } from './execution-refs.cjs';
9
9
  export { createCardStorePublic } from './card-store-public.cjs';
10
- export { c as createArtifactsStore, a as createArtifactsStorePublic, b as createCardFileMetadataStore, d as createChatArtifactsStore, e as createFileArtifactsStore } from './artifacts-store-lib-public-DfU9t5-S.cjs';
10
+ export { c as createArtifactsStore, a as createArtifactsStorePublic, b as createCardFileMetadataStore, d as createFileArtifactsStore } from './artifacts-store-lib-public-C5UL5tyG.cjs';
11
11
  import './types-BBhqYGhE.cjs';
12
12
 
13
13
  /**
@@ -169,10 +169,11 @@ type FsBoardNonCoreAdapterOpts = {
169
169
  };
170
170
  declare function createFsBoardPlatformAdapter(baseRef: KindValueRef, cliDirOrOpts?: string | FsBoardAdapterOpts, maybeOpts?: FsBoardAdapterOpts): BoardPlatformAdapter;
171
171
  declare function createFsBoardNonCorePlatformAdapter(baseRef: KindValueRef, cliDirOrOpts?: string | FsBoardNonCoreAdapterOpts, maybeOpts?: FsBoardNonCoreAdapterOpts): BoardNonCorePlatformAdapter;
172
+ declare function createFsBoardChatStorage(boardDir: string): ChatStorage;
172
173
  /**
173
174
  * Extract the serialized board ref from a source token (which has a `br` field).
174
175
  * Returns null for callback tokens (which don't carry a board ref).
175
176
  */
176
177
  declare function decodeBoardRefFromToken(token: string): string | null;
177
178
 
178
- export { BoardNonCorePlatformAdapter, BoardPlatformAdapter, type CreateExecutionRefInvokerOptions, ExecutionRef, type ExecutionRefInvoker, InvocationAdapter, type InvokeExecutionRefOptions, type InvokeRefResult, KindValueRef, type SyncTransportInvoker, type TransportInvoker, createExecutionRefInvoker, createFsBoardNonCorePlatformAdapter, createFsBoardPlatformAdapter, createNodeSpawnInvocationAdapter, decodeBoardRefFromToken, evaluateArgsMassaging, invokeExecutionRef, invokeExecutionRefSync, invokeRefSync };
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 };
@@ -1,13 +1,13 @@
1
- import { I as InvocationAdapter } from './types-Bm7IFD7r.js';
2
- export { D as DescribeEnvelope } from './types-Bm7IFD7r.js';
3
- import { a as KindValueRef } from './storage-interface-BhAON-gW.js';
4
- export { p as parseRef, s as serializeRef } from './storage-interface-BhAON-gW.js';
5
- import { e as BoardNonCorePlatformAdapter, d as BoardPlatformAdapter } from './board-live-cards-public-B8b_0k_j.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-B8b_0k_j.js';
1
+ import { c as ChatStorage, I as InvocationAdapter } from './types-D-xVWPdY.js';
2
+ export { f as ChatConfig, g as ChatRecord, D as DescribeEnvelope, h as createChatStorage, i as createInMemoryChatStorage } from './types-D-xVWPdY.js';
3
+ import { a as KindValueRef } from './storage-interface-B6ecOulj.js';
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-BZaNb2mi.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-BZaNb2mi.js';
7
7
  import { ExecutionRef, ArgsMassaging } from './execution-refs.js';
8
8
  export { executionRefFromScriptPath, parseExecutionRef, serializeExecutionRef } from './execution-refs.js';
9
9
  export { createCardStorePublic } from './card-store-public.js';
10
- export { c as createArtifactsStore, a as createArtifactsStorePublic, b as createCardFileMetadataStore, d as createChatArtifactsStore, e as createFileArtifactsStore } from './artifacts-store-lib-public-BPW_C15z.js';
10
+ export { c as createArtifactsStore, a as createArtifactsStorePublic, b as createCardFileMetadataStore, d as createFileArtifactsStore } from './artifacts-store-lib-public-GD4H-fFp.js';
11
11
  import './types-BBhqYGhE.js';
12
12
 
13
13
  /**
@@ -169,10 +169,11 @@ type FsBoardNonCoreAdapterOpts = {
169
169
  };
170
170
  declare function createFsBoardPlatformAdapter(baseRef: KindValueRef, cliDirOrOpts?: string | FsBoardAdapterOpts, maybeOpts?: FsBoardAdapterOpts): BoardPlatformAdapter;
171
171
  declare function createFsBoardNonCorePlatformAdapter(baseRef: KindValueRef, cliDirOrOpts?: string | FsBoardNonCoreAdapterOpts, maybeOpts?: FsBoardNonCoreAdapterOpts): BoardNonCorePlatformAdapter;
172
+ declare function createFsBoardChatStorage(boardDir: string): ChatStorage;
172
173
  /**
173
174
  * Extract the serialized board ref from a source token (which has a `br` field).
174
175
  * Returns null for callback tokens (which don't carry a board ref).
175
176
  */
176
177
  declare function decodeBoardRefFromToken(token: string): string | null;
177
178
 
178
- export { BoardNonCorePlatformAdapter, BoardPlatformAdapter, type CreateExecutionRefInvokerOptions, ExecutionRef, type ExecutionRefInvoker, InvocationAdapter, type InvokeExecutionRefOptions, type InvokeRefResult, KindValueRef, type SyncTransportInvoker, type TransportInvoker, createExecutionRefInvoker, createFsBoardNonCorePlatformAdapter, createFsBoardPlatformAdapter, createNodeSpawnInvocationAdapter, decodeBoardRefFromToken, evaluateArgsMassaging, invokeExecutionRef, invokeExecutionRefSync, invokeRefSync };
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 };