yaml-flow 8.7.0 → 8.8.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.
Files changed (200) hide show
  1. package/browser/adapters/firebase-storage.js +2 -2
  2. package/browser/adapters/firestore-storage.js +2 -2
  3. package/browser/adapters/localstorage-storage.js +3 -3
  4. package/browser/asset-integrity.json +11 -15
  5. package/browser/live-cards.schema.json +10 -1
  6. package/browser/server-runtime-controlface.js +5 -5
  7. package/examples/ARCHITECTURE.md +0 -27
  8. package/examples/board/server/board-server.js +151 -101
  9. package/examples/board/server/board-worker/source_def_flows.json +0 -8
  10. package/examples/board/server/board-worker/task-executor.js +1 -3
  11. package/examples/board/test/server-http-test.js +181 -152
  12. package/examples/board-firestore/server/worker.js +9 -1
  13. package/examples/portfolio-tracker/portfolio-tracker.js +11 -1
  14. package/examples/portfolio-tracker/test/portfolio-t4.js +12 -2
  15. package/lib/{artifacts-store-lib-D9nMkVcE.d.cts → artifacts-store-lib-C6qBpMfU.d.cts} +1 -1
  16. package/lib/{artifacts-store-lib-DSSMqVL2.d.ts → artifacts-store-lib-D4qf7Q-7.d.ts} +1 -1
  17. package/lib/artifacts-store-public.d.cts +3 -3
  18. package/lib/artifacts-store-public.d.ts +3 -3
  19. package/lib/board-live-cards-mcp.cjs +1 -1
  20. package/lib/board-live-cards-mcp.d.cts +7 -7
  21. package/lib/board-live-cards-mcp.d.ts +7 -7
  22. package/lib/board-live-cards-mcp.js +1 -1
  23. package/lib/board-live-cards-node.cjs +8 -8
  24. package/lib/board-live-cards-node.d.cts +16 -14
  25. package/lib/board-live-cards-node.d.ts +16 -14
  26. package/lib/board-live-cards-node.js +8 -8
  27. package/lib/{board-live-cards-public-DQzPe7A9.d.cts → board-live-cards-public-BT5HrgqZ.d.cts} +82 -59
  28. package/lib/{board-live-cards-public-D-DJek3X.d.ts → board-live-cards-public-DSRamFm8.d.ts} +82 -59
  29. package/lib/{board-live-cards-public-async-CgMCYYft.d.cts → board-live-cards-public-async-CYjr4mgX.d.cts} +18 -8
  30. package/lib/{board-live-cards-public-async-3hUuHxDx.d.ts → board-live-cards-public-async-DlyC3PgC.d.ts} +18 -8
  31. package/lib/board-live-cards-public.cjs +1 -1
  32. package/lib/board-live-cards-public.d.cts +2 -2
  33. package/lib/board-live-cards-public.d.ts +2 -2
  34. package/lib/board-live-cards-public.js +1 -1
  35. package/lib/board-live-cards-server-runtime.cjs +1 -1
  36. package/lib/board-live-cards-server-runtime.d.cts +6 -8
  37. package/lib/board-live-cards-server-runtime.d.ts +6 -8
  38. package/lib/board-live-cards-server-runtime.js +1 -1
  39. package/lib/board-livegraph-runtime/index.cjs +1 -1
  40. package/lib/board-livegraph-runtime/index.js +1 -1
  41. package/lib/{board-platform-adapter-async-DOfEq_HC.d.cts → board-platform-adapter-async-BZIftm36.d.cts} +18 -14
  42. package/lib/{board-platform-adapter-async-JZPCzZnH.d.ts → board-platform-adapter-async-JP9V-U5E.d.ts} +18 -14
  43. package/lib/board-worker-adapter.cjs +1 -24
  44. package/lib/board-worker-adapter.d.cts +68 -3
  45. package/lib/board-worker-adapter.d.ts +68 -3
  46. package/lib/board-worker-adapter.js +1 -24
  47. package/lib/card-compute/index.cjs +1 -1
  48. package/lib/card-compute/index.js +1 -1
  49. package/lib/card-store-public.d.cts +2 -2
  50. package/lib/card-store-public.d.ts +2 -2
  51. package/lib/card-validation.cjs +1 -1
  52. package/lib/card-validation.js +1 -1
  53. package/lib/chat-store-public.cjs +1 -1
  54. package/lib/chat-store-public.d.cts +20 -20
  55. package/lib/chat-store-public.d.ts +20 -20
  56. package/lib/chat-store-public.js +1 -1
  57. package/lib/chunk-2GSI6C45.js +7 -0
  58. package/lib/chunk-35N7ONTH.js +2 -0
  59. package/lib/chunk-37HDEW26.cjs +2 -0
  60. package/lib/{chunk-PMUSJQSR.cjs → chunk-3CZCGNY4.cjs} +2 -2
  61. package/lib/chunk-3KC6LBOG.js +3 -0
  62. package/lib/{chunk-BQS3EIEK.js → chunk-44L64VQ2.js} +3 -3
  63. package/lib/chunk-6OPXQPSC.js +2 -0
  64. package/lib/chunk-7BTZCOT5.js +2 -0
  65. package/lib/{chunk-U2N6MCD5.cjs → chunk-7JVHYHT2.cjs} +2 -2
  66. package/lib/chunk-7QZ267XP.cjs +2 -0
  67. package/lib/{chunk-XQRNDX4Q.js → chunk-ANKA7HEJ.js} +2 -2
  68. package/lib/{chunk-KAWQPLIE.cjs → chunk-BQUQTOPB.cjs} +2 -2
  69. package/lib/chunk-CMFD27ZC.cjs +3 -0
  70. package/lib/chunk-DOFNXJ4C.js +3 -0
  71. package/lib/chunk-ETW3BXHD.cjs +2 -0
  72. package/lib/chunk-FO4KNVU7.cjs +2 -0
  73. package/lib/{chunk-SGV7PU4H.js → chunk-FOFGEABN.js} +2 -2
  74. package/lib/chunk-GPCMBPLK.cjs +2 -0
  75. package/lib/chunk-GU3T75C4.js +3 -0
  76. package/lib/chunk-H3EHFCDZ.js +3 -0
  77. package/lib/chunk-H4TYOSMD.cjs +45 -0
  78. package/lib/chunk-HFW7E2Z7.cjs +4 -0
  79. package/lib/chunk-HWYMZK3N.cjs +3 -0
  80. package/lib/chunk-IQIZA7TN.cjs +7 -0
  81. package/lib/chunk-J4MHQ7JF.js +45 -0
  82. package/lib/chunk-MCPADH33.cjs +2 -0
  83. package/lib/chunk-NBJTYAYN.cjs +2 -0
  84. package/lib/chunk-NDAKMJQK.cjs +3 -0
  85. package/lib/chunk-NNSBBO5R.js +2 -0
  86. package/lib/chunk-NU5NO5NM.js +2 -0
  87. package/lib/chunk-O4RKTQBP.cjs +3 -0
  88. package/lib/chunk-O5UYCGIN.js +2 -0
  89. package/lib/chunk-Q3OTUDIE.js +2 -0
  90. package/lib/chunk-R44X3RQB.cjs +2 -0
  91. package/lib/chunk-RKKSVOP2.js +2 -0
  92. package/lib/chunk-UB54HZA4.cjs +2 -0
  93. package/lib/{chunk-CIAJNUR4.js → chunk-VGDLSS2H.js} +2 -2
  94. package/lib/{chunk-SFVO2LB2.cjs → chunk-VQCIOKJV.cjs} +3 -3
  95. package/lib/chunk-VS3BXEYK.js +4 -0
  96. package/lib/chunk-Y4WK7HE4.js +2 -0
  97. package/lib/chunk-YBYXCFAI.js +2 -0
  98. package/lib/chunk-ZK3E7L4Y.cjs +2 -0
  99. package/lib/cloud-storage.cjs +1 -1
  100. package/lib/cloud-storage.d.cts +6 -6
  101. package/lib/cloud-storage.d.ts +6 -6
  102. package/lib/cloud-storage.js +1 -1
  103. package/lib/continuous-event-graph/index.cjs +1 -1
  104. package/lib/continuous-event-graph/index.js +1 -1
  105. package/lib/execution-refs.cjs +1 -1
  106. package/lib/execution-refs.js +1 -1
  107. package/lib/firebase-storage/index.cjs +2 -2
  108. package/lib/firebase-storage/index.d.cts +2 -2
  109. package/lib/firebase-storage/index.d.ts +2 -2
  110. package/lib/firebase-storage/index.js +2 -2
  111. package/lib/firestore-storage/index.cjs +2 -2
  112. package/lib/firestore-storage/index.d.cts +23 -8
  113. package/lib/firestore-storage/index.d.ts +23 -8
  114. package/lib/firestore-storage/index.js +2 -2
  115. package/lib/index.cjs +2 -2
  116. package/lib/index.d.cts +1 -1
  117. package/lib/index.d.ts +1 -1
  118. package/lib/index.js +1 -1
  119. package/lib/localstorage-storage/index.cjs +1 -1
  120. package/lib/localstorage-storage/index.d.cts +10 -6
  121. package/lib/localstorage-storage/index.d.ts +10 -6
  122. package/lib/localstorage-storage/index.js +1 -1
  123. package/lib/{mcp-tool-registries-W3TRj6O5.d.cts → mcp-tool-registries-CRtea2x4.d.cts} +3 -0
  124. package/lib/{mcp-tool-registries-BBObLYga.d.ts → mcp-tool-registries-D3rWSppt.d.ts} +3 -0
  125. package/lib/server-jobs-queue-runner/index.cjs +1 -1
  126. package/lib/server-jobs-queue-runner/index.d.cts +12 -9
  127. package/lib/server-jobs-queue-runner/index.d.ts +12 -9
  128. package/lib/server-jobs-queue-runner/index.js +1 -1
  129. package/lib/server-runtime/index.cjs +1 -1
  130. package/lib/server-runtime/index.d.cts +7 -9
  131. package/lib/server-runtime/index.d.ts +7 -9
  132. package/lib/server-runtime/index.js +1 -1
  133. package/lib/server-runtime-agentface/index.d.cts +7 -9
  134. package/lib/server-runtime-agentface/index.d.ts +7 -9
  135. package/lib/server-runtime-controlface/index.cjs +1 -1
  136. package/lib/server-runtime-controlface/index.d.cts +19 -71
  137. package/lib/server-runtime-controlface/index.d.ts +19 -71
  138. package/lib/server-runtime-controlface/index.js +1 -1
  139. package/lib/server-runtime-core/index.cjs +1 -1
  140. package/lib/server-runtime-core/index.d.cts +61 -21
  141. package/lib/server-runtime-core/index.d.ts +61 -21
  142. package/lib/server-runtime-core/index.js +1 -1
  143. package/lib/server-runtime-watchers/index.cjs +1 -1
  144. package/lib/server-runtime-watchers/index.d.cts +9 -65
  145. package/lib/server-runtime-watchers/index.d.ts +9 -65
  146. package/lib/server-runtime-watchers/index.js +1 -1
  147. package/lib/server-runtime-webhooks/index.d.cts +7 -9
  148. package/lib/server-runtime-webhooks/index.d.ts +7 -9
  149. package/lib/sse-hub-CYXisfXJ.d.cts +63 -0
  150. package/lib/sse-hub-Dodwtc3_.d.ts +63 -0
  151. package/lib/step-machine-public/index.cjs +1 -1
  152. package/lib/step-machine-public/index.d.cts +1 -1
  153. package/lib/step-machine-public/index.d.ts +1 -1
  154. package/lib/step-machine-public/index.js +1 -1
  155. package/lib/{storage-async-interface-BRR4eBjx.d.cts → storage-async-interface-CG0bMqvE.d.ts} +20 -1
  156. package/lib/{storage-async-interface-DhlOVPSp.d.ts → storage-async-interface-CyO-zwVQ.d.cts} +20 -1
  157. package/lib/{storage-interface-BFiD3kyB.d.ts → storage-interface-D-iEiTJA.d.cts} +45 -1
  158. package/lib/{storage-interface-BFiD3kyB.d.cts → storage-interface-D-iEiTJA.d.ts} +45 -1
  159. package/lib/stores/index.d.cts +1 -1
  160. package/lib/stores/index.d.ts +1 -1
  161. package/lib/stores/kv.d.cts +1 -1
  162. package/lib/stores/kv.d.ts +1 -1
  163. package/lib/{types-CF2xUcZW.d.ts → types-BtH3scgE.d.ts} +66 -29
  164. package/lib/{types-BzQY45dH.d.cts → types-Ch0u3FKP.d.cts} +66 -29
  165. package/package.json +4 -5
  166. package/schema/live-cards.schema.json +10 -1
  167. package/browser/board-livecards-client.js +0 -2
  168. package/examples/board/demo-shell-with-server.html +0 -272
  169. package/examples/board/doc.html +0 -465
  170. package/examples/board/server-config.json +0 -24
  171. package/lib/chat-storage-lib-B9Q34Dyv.d.cts +0 -54
  172. package/lib/chat-storage-lib-DB9iSai2.d.ts +0 -54
  173. package/lib/chunk-5XHOHTLZ.cjs +0 -2
  174. package/lib/chunk-6APH25VI.js +0 -2
  175. package/lib/chunk-76ON3V7R.js +0 -2
  176. package/lib/chunk-7ICPAABP.cjs +0 -7
  177. package/lib/chunk-CPAXTVBQ.cjs +0 -2
  178. package/lib/chunk-DDYSXP2A.cjs +0 -3
  179. package/lib/chunk-EGRHWZRV.js +0 -2
  180. package/lib/chunk-GL2OHR2E.cjs +0 -2
  181. package/lib/chunk-GYQXDNNI.cjs +0 -2
  182. package/lib/chunk-H5HBXPOI.cjs +0 -3
  183. package/lib/chunk-IPLSRN6P.cjs +0 -4
  184. package/lib/chunk-J5J6BG7B.js +0 -2
  185. package/lib/chunk-M3OU6IS5.cjs +0 -2
  186. package/lib/chunk-M6STQR5F.cjs +0 -2
  187. package/lib/chunk-N6P2JW4W.js +0 -3
  188. package/lib/chunk-NJJ7WEDT.cjs +0 -2
  189. package/lib/chunk-NKIQRCOM.cjs +0 -2
  190. package/lib/chunk-NMZ6XNLB.cjs +0 -3
  191. package/lib/chunk-OEFTOO47.cjs +0 -3
  192. package/lib/chunk-PRHQBGPT.js +0 -2
  193. package/lib/chunk-S44QZUDX.js +0 -2
  194. package/lib/chunk-TSN3RTXT.js +0 -4
  195. package/lib/chunk-VLBB3D6B.js +0 -3
  196. package/lib/chunk-VMW4Z6EF.js +0 -3
  197. package/lib/chunk-VXJHBWK3.js +0 -2
  198. package/lib/chunk-WHDEBJLT.js +0 -7
  199. package/lib/chunk-YGALANRO.js +0 -2
  200. package/lib/chunk-ZXQR7GHT.js +0 -3
@@ -1,4 +1,4 @@
1
- import { g as QueueStorage, K as KVStorage, B as BlobStorage, S as ScratchStorage, A as ArchiveFactory, h as AtomicRelayLock, a as KindValueRef } from './storage-interface-BFiD3kyB.js';
1
+ import { g as JournalStorage, K as KVStorage, B as BlobStorage, S as ScratchStorage, A as ArchiveFactory, f as QueueStorage, h as AtomicRelayLock, a as KindValueRef } from './storage-interface-D-iEiTJA.js';
2
2
  import { ExecutionRef } from './execution-refs.js';
3
3
  import { f as GraphEvent, G as GraphConfig } from './types-BBhqYGhE.js';
4
4
 
@@ -140,6 +140,58 @@ interface BoardStatusObject {
140
140
  }
141
141
  declare const EMPTY_CONFIG: GraphConfig;
142
142
 
143
+ /**
144
+ * chat-storage-lib.ts
145
+ *
146
+ * ChatStorage interface + factories backed by JournalStorage (history) and
147
+ * KVStorage (processing state and config).
148
+ *
149
+ * Platform-free — no node:fs or node:crypto imports.
150
+ */
151
+
152
+ type Awaitable<T> = T | Promise<T>;
153
+ interface ChatRecord {
154
+ /** Journal entry id — also used as SSE cursor. */
155
+ id: string;
156
+ role: string;
157
+ text: string;
158
+ files: unknown[];
159
+ turn: string;
160
+ updated_at: string;
161
+ }
162
+ interface ChatConfig {
163
+ systemPrompt?: string;
164
+ }
165
+ interface ChatReadAfterResult {
166
+ records: ChatRecord[];
167
+ /** Pass as cursor on the next call. Null when the journal is empty. */
168
+ cursor: string | null;
169
+ }
170
+ interface ChatStorage {
171
+ /** Append a message; returns the new entry id (usable as a cursor). */
172
+ append(cardId: string, role: string, text: string, files?: unknown[], turn?: string): Awaitable<string>;
173
+ /** Read all messages in insertion order. */
174
+ readAll(cardId: string): Awaitable<ChatRecord[]>;
175
+ /**
176
+ * Read messages appended after cursor.
177
+ * Pass null to read from the beginning.
178
+ */
179
+ readAfter(cardId: string, cursor: string | null): Awaitable<ChatReadAfterResult>;
180
+ /** Remove all messages for this card. */
181
+ clear(cardId: string): Awaitable<void>;
182
+ setProcessing(cardId: string, active: boolean): Awaitable<void>;
183
+ isProcessing(cardId: string): Awaitable<boolean>;
184
+ getConfig(cardId: string): Awaitable<ChatConfig>;
185
+ setConfig(cardId: string, patch: Partial<ChatConfig>): Awaitable<void>;
186
+ }
187
+ /**
188
+ * Create a ChatStorage backed by:
189
+ * - journalFactory(cardId) → JournalStorage (one per-card journal for history)
190
+ * - kv → KVStorage (shared processing flags + config)
191
+ */
192
+ declare function createChatStorage(journalFactory: (cardId: string) => JournalStorage, kv: KVStorage): ChatStorage;
193
+ declare function createInMemoryChatStorage(): ChatStorage;
194
+
143
195
  interface BoardTaskCallback {
144
196
  token: string;
145
197
  via: ExecutionRef;
@@ -149,42 +201,11 @@ interface BoardCallbackTransport {
149
201
  }
150
202
  declare function createHttpBoardCallbackTransport(baseUrl: string): BoardCallbackTransport;
151
203
  declare function createInProcessBoardCallbackTransport(handlerKey: string): BoardCallbackTransport;
152
- declare function createLocalNodeBoardCallbackTransport(notifyChannel?: string): BoardCallbackTransport;
153
-
154
- interface BoardWorkerRequest {
155
- boardId?: string;
156
- ref: ExecutionRef;
157
- args: Record<string, unknown>;
158
- }
159
- interface BoardWorkerQueuedRequest {
160
- messageId: string;
161
- enqueuedAt: string;
162
- attempt: number;
163
- request: BoardWorkerRequest;
164
- }
165
- interface BoardWorkerLeasedRequest extends BoardWorkerQueuedRequest {
166
- leaseToken: string;
167
- leaseExpiresAt: string;
168
- }
169
- interface BoardWorkerDeadLetterRequest extends BoardWorkerQueuedRequest {
170
- reason?: string;
171
- }
172
- interface BoardWorkerStore {
173
- enqueueRequest(request: BoardWorkerRequest): string;
174
- enqueueRequestIfAbsent?(request: BoardWorkerRequest, dedupKey: string): string | null;
175
- leaseRequests(opts?: {
176
- max?: number;
177
- visibilityMs?: number;
178
- }): BoardWorkerLeasedRequest[];
179
- ackRequest(messageId: string, leaseToken: string): boolean;
180
- nackRequest(messageId: string, leaseToken: string, opts?: {
181
- dead?: boolean;
182
- reason?: string;
183
- }): boolean;
184
- peekActive(): BoardWorkerQueuedRequest[];
185
- peekDeadLetter(): BoardWorkerDeadLetterRequest[];
186
- }
187
- declare function createBoardWorkerStore(queue: QueueStorage): BoardWorkerStore;
204
+ declare function createLocalNodeBoardCallbackTransport(opts?: string | {
205
+ notifyChannel?: string;
206
+ boardRuntimeStoreRef?: string;
207
+ queueStoreRef?: string;
208
+ }): BoardCallbackTransport;
188
209
 
189
210
  /**
190
211
  * board-live-cards-public.ts
@@ -215,7 +236,6 @@ declare function createBoardWorkerStore(queue: QueueStorage): BoardWorkerStore;
215
236
  * ─────────────────────────────────────────────────────────────────────────────
216
237
  *
217
238
  * const board = createBoardLiveCardsPublic(baseRef, adapter);
218
- * const result = await board.processAccumulatedEvents();
219
239
  * const status = board.status();
220
240
  */
221
241
 
@@ -257,10 +277,11 @@ interface BoardPlatformAdapter {
257
277
  /**
258
278
  * Blob storage factory — scoped by namespace.
259
279
  * Namespaces used by the public layer:
260
- * 'sources' — fetched source data files (keyed by cardId/outputFile)
261
280
  * '' — root-scoped blob access (for resolving arbitrary KindValueRef blobs)
262
281
  */
263
282
  blobStorage(namespace: string): BlobStorage;
283
+ blobStorageForRef(ref: string): BlobStorage;
284
+ chatStorageForRef(ref: string): ChatStorage;
264
285
  /**
265
286
  * Ephemeral scratch store for transient I/O staging (probe in/out/err,
266
287
  * dispatchExecution argv/out/err). Default scope is board-local; if the
@@ -283,22 +304,12 @@ interface BoardPlatformAdapter {
283
304
  * One journal per board — no namespace parameter needed.
284
305
  */
285
306
  journalAdapter(): JournalStorageAdapter;
307
+ journalAdapterForRef(ref: string): JournalStorageAdapter;
286
308
  /**
287
- * Semantic board-worker queue for hosted task execution.
288
- * Implementations may back this with QueueStorage, Service Bus, Pub/Sub, etc.
289
- */
290
- boardWorkerStore(): BoardWorkerStore;
291
- /**
292
- * Semantic queue for chat-agent dispatch requests.
293
- * Kept separate from task execution so chat work can be drained independently.
294
- */
295
- chatAgentStore(): BoardWorkerStore;
296
- /**
297
- * Queue of board wake-up requests for processAccumulatedEvents scheduling.
298
- * Implementations should use enqueueIfAbsent when they want single-pending
299
- * drain semantics.
309
+ * Queue storage lane resolved from an explicit queue store ref.
310
+ * The adapter chooses the backend from the ref; lane chooses the internal queue.
300
311
  */
301
- processAccumulatedStore(): QueueStorage;
312
+ queueStorageForRef(ref: string, lane: string): QueueStorage;
302
313
  /**
303
314
  * AtomicRelayLock — non-blocking try-acquire with relay-on-busy semantics.
304
315
  * Guards processAccumulatedEvents drain cycle.
@@ -369,6 +380,9 @@ interface BoardPlatformAdapter {
369
380
  interface BoardLiveCardsPublic {
370
381
  init(input: CommandInput): CommandResult;
371
382
  status(input: CommandInput): CommandResult<BoardStatusObject>;
383
+ getBoardRuntimeStoreRef(input: CommandInput): CommandResult<{
384
+ storeRef: string | null;
385
+ }>;
372
386
  getCardStoreRef(input: CommandInput): CommandResult<{
373
387
  storeRef: string;
374
388
  }>;
@@ -378,15 +392,15 @@ interface BoardLiveCardsPublic {
378
392
  getScratchStoreRef(input: CommandInput): CommandResult<{
379
393
  storeRef: string | null;
380
394
  }>;
381
- getArchiveStoreRef(input: CommandInput): CommandResult<{
382
- storeRef: string | null;
383
- }>;
384
395
  getChatStoreRef(input: CommandInput): CommandResult<{
385
396
  storeRef: string | null;
386
397
  }>;
387
398
  getArtifactsStoreRef(input: CommandInput): CommandResult<{
388
399
  storeRef: string | null;
389
400
  }>;
401
+ getFetchedSourcesStoreRef(input: CommandInput): CommandResult<{
402
+ storeRef: string | null;
403
+ }>;
390
404
  getConfig(input: CommandInput): CommandResult<{
391
405
  value: unknown;
392
406
  }>;
@@ -422,7 +436,13 @@ type BoardChangeNotification = OutputStoreEvent | {
422
436
  kind: 'card_removed';
423
437
  cardId: string;
424
438
  };
425
- declare function createBoardLiveCardsPublic(baseRef: KindValueRef, adapter: BoardPlatformAdapter): BoardLiveCardsPublic;
439
+ interface BoardLiveCardsPublicOptions {
440
+ boardRuntimeStoreRef?: string;
441
+ scratchStoreRef?: string;
442
+ taskExecutorRef?: ExecutionRef;
443
+ chatHandlerFlow?: unknown;
444
+ }
445
+ declare function createBoardLiveCardsPublic(baseRef: KindValueRef, adapter: BoardPlatformAdapter, options?: BoardLiveCardsPublicOptions): BoardLiveCardsPublic;
426
446
  interface BoardNonCorePlatformAdapter extends BoardPlatformAdapter {
427
447
  /**
428
448
  * Invoke a task executor subcommand and return stdout.
@@ -501,6 +521,9 @@ interface BoardLiveCardsNonCorePublic {
501
521
  }>;
502
522
  }>;
503
523
  }
504
- declare function createBoardLiveCardsNonCorePublic(baseRef: KindValueRef, adapter: BoardNonCorePlatformAdapter): BoardLiveCardsNonCorePublic;
524
+ declare function createBoardLiveCardsNonCorePublic(baseRef: KindValueRef, adapter: BoardNonCorePlatformAdapter, opts?: {
525
+ boardRuntimeStoreRef?: string;
526
+ taskExecutorRef?: ExecutionRef;
527
+ }): BoardLiveCardsNonCorePublic;
505
528
 
506
- export { type BoardChangeNotification as B, type CommandInput as C, EMPTY_CONFIG as E, type LiveCard as L, type StateSnapshotReadView as S, type CommandResult as a, type CardAdminStore as b, type BoardLiveCardsPublic as c, type BoardNonCorePlatformAdapter as d, type BoardPlatformAdapter as e, type BoardWorkerRequest as f, type BoardStatusObject as g, type BoardCallbackTransport as h, type CardChecksumIndex as i, type CardUpsertValidation as j, type CardIndex as k, type BoardWorkerStore as l, BOARD_GRAPH_KEY as m, type BoardLiveCardsNonCorePublic as n, type BoardWorkerDeadLetterRequest as o, type BoardWorkerLeasedRequest as p, type BoardWorkerQueuedRequest as q, SNAPSHOT_SCHEMA_VERSION_V1 as r, createBoardLiveCardsNonCorePublic as s, createBoardLiveCardsPublic as t, createBoardWorkerStore as u, createCardStore as v, createHttpBoardCallbackTransport as w, createInProcessBoardCallbackTransport as x, createLocalNodeBoardCallbackTransport as y };
529
+ export { type BoardChangeNotification as B, type CommandInput as C, EMPTY_CONFIG as E, type LiveCard as L, type StateSnapshotReadView as S, type CommandResult as a, type CardAdminStore as b, type BoardLiveCardsPublic as c, type BoardNonCorePlatformAdapter as d, type BoardPlatformAdapter as e, type ChatStorage as f, type ChatRecord as g, type ChatReadAfterResult as h, type ChatConfig as i, type BoardStatusObject as j, type BoardCallbackTransport as k, type BoardLiveCardsNonCorePublic as l, type CardChecksumIndex as m, type CardUpsertValidation as n, type CardIndex as o, BOARD_GRAPH_KEY as p, SNAPSHOT_SCHEMA_VERSION_V1 as q, createBoardLiveCardsNonCorePublic as r, createBoardLiveCardsPublic as s, createCardStore as t, createChatStorage as u, createHttpBoardCallbackTransport as v, createInMemoryChatStorage as w, createInProcessBoardCallbackTransport as x, createLocalNodeBoardCallbackTransport as y, type BoardLiveCardsPublicOptions as z };
@@ -1,10 +1,14 @@
1
- import { a as KindValueRef } from './storage-interface-BFiD3kyB.cjs';
2
- import { C as CommandInput, a as CommandResult, g as BoardStatusObject } from './board-live-cards-public-DQzPe7A9.cjs';
3
- import { A as AsyncBoardPlatformAdapter } from './board-platform-adapter-async-DOfEq_HC.cjs';
1
+ import { a as KindValueRef } from './storage-interface-D-iEiTJA.cjs';
2
+ import { C as CommandInput, a as CommandResult, j as BoardStatusObject } from './board-live-cards-public-BT5HrgqZ.cjs';
3
+ import { ExecutionRef } from './execution-refs.cjs';
4
+ import { A as AsyncBoardPlatformAdapter } from './board-platform-adapter-async-BZIftm36.cjs';
4
5
 
5
6
  interface AsyncBoardLiveCardsPublic {
6
7
  init(input: CommandInput): Promise<CommandResult>;
7
8
  status(input: CommandInput): Promise<CommandResult<BoardStatusObject>>;
9
+ getBoardRuntimeStoreRef(input: CommandInput): Promise<CommandResult<{
10
+ storeRef: string | null;
11
+ }>>;
8
12
  getCardStoreRef(input: CommandInput): Promise<CommandResult<{
9
13
  storeRef: string;
10
14
  }>>;
@@ -14,15 +18,15 @@ interface AsyncBoardLiveCardsPublic {
14
18
  getScratchStoreRef(input: CommandInput): Promise<CommandResult<{
15
19
  storeRef: string | null;
16
20
  }>>;
17
- getArchiveStoreRef(input: CommandInput): Promise<CommandResult<{
18
- storeRef: string | null;
19
- }>>;
20
21
  getChatStoreRef(input: CommandInput): Promise<CommandResult<{
21
22
  storeRef: string | null;
22
23
  }>>;
23
24
  getArtifactsStoreRef(input: CommandInput): Promise<CommandResult<{
24
25
  storeRef: string | null;
25
26
  }>>;
27
+ getFetchedSourcesStoreRef(input: CommandInput): Promise<CommandResult<{
28
+ storeRef: string | null;
29
+ }>>;
26
30
  getConfig(input: CommandInput): Promise<CommandResult<{
27
31
  value: unknown;
28
32
  }>>;
@@ -43,13 +47,19 @@ interface AsyncBoardLiveCardsPublic {
43
47
  cardRefreshedNotify(input: CommandInput): Promise<CommandResult>;
44
48
  removeCard(input: CommandInput): Promise<CommandResult>;
45
49
  retrigger(input: CommandInput): Promise<CommandResult>;
46
- upsertCard(input: CommandInput): Promise<CommandResult>;
47
50
  processAccumulatedEvents(input: CommandInput): Promise<CommandResult>;
51
+ upsertCard(input: CommandInput): Promise<CommandResult>;
48
52
  taskFailed(input: CommandInput): Promise<CommandResult>;
49
53
  taskProgress(input: CommandInput): Promise<CommandResult>;
50
54
  sourceDataFetched(input: CommandInput): Promise<CommandResult>;
51
55
  sourceDataFetchFailure(input: CommandInput): Promise<CommandResult>;
52
56
  }
53
- declare function createAsyncBoardLiveCardsPublic(baseRef: KindValueRef, adapter: AsyncBoardPlatformAdapter): AsyncBoardLiveCardsPublic;
57
+ interface AsyncBoardLiveCardsPublicOptions {
58
+ boardRuntimeStoreRef?: string;
59
+ scratchStoreRef?: string;
60
+ taskExecutorRef?: ExecutionRef;
61
+ chatHandlerFlow?: unknown;
62
+ }
63
+ declare function createAsyncBoardLiveCardsPublic(baseRef: KindValueRef, adapter: AsyncBoardPlatformAdapter, options?: AsyncBoardLiveCardsPublicOptions): AsyncBoardLiveCardsPublic;
54
64
 
55
65
  export { type AsyncBoardLiveCardsPublic as A, createAsyncBoardLiveCardsPublic as c };
@@ -1,10 +1,14 @@
1
- import { a as KindValueRef } from './storage-interface-BFiD3kyB.js';
2
- import { C as CommandInput, a as CommandResult, g as BoardStatusObject } from './board-live-cards-public-D-DJek3X.js';
3
- import { A as AsyncBoardPlatformAdapter } from './board-platform-adapter-async-JZPCzZnH.js';
1
+ import { a as KindValueRef } from './storage-interface-D-iEiTJA.js';
2
+ import { C as CommandInput, a as CommandResult, j as BoardStatusObject } from './board-live-cards-public-DSRamFm8.js';
3
+ import { ExecutionRef } from './execution-refs.js';
4
+ import { A as AsyncBoardPlatformAdapter } from './board-platform-adapter-async-JP9V-U5E.js';
4
5
 
5
6
  interface AsyncBoardLiveCardsPublic {
6
7
  init(input: CommandInput): Promise<CommandResult>;
7
8
  status(input: CommandInput): Promise<CommandResult<BoardStatusObject>>;
9
+ getBoardRuntimeStoreRef(input: CommandInput): Promise<CommandResult<{
10
+ storeRef: string | null;
11
+ }>>;
8
12
  getCardStoreRef(input: CommandInput): Promise<CommandResult<{
9
13
  storeRef: string;
10
14
  }>>;
@@ -14,15 +18,15 @@ interface AsyncBoardLiveCardsPublic {
14
18
  getScratchStoreRef(input: CommandInput): Promise<CommandResult<{
15
19
  storeRef: string | null;
16
20
  }>>;
17
- getArchiveStoreRef(input: CommandInput): Promise<CommandResult<{
18
- storeRef: string | null;
19
- }>>;
20
21
  getChatStoreRef(input: CommandInput): Promise<CommandResult<{
21
22
  storeRef: string | null;
22
23
  }>>;
23
24
  getArtifactsStoreRef(input: CommandInput): Promise<CommandResult<{
24
25
  storeRef: string | null;
25
26
  }>>;
27
+ getFetchedSourcesStoreRef(input: CommandInput): Promise<CommandResult<{
28
+ storeRef: string | null;
29
+ }>>;
26
30
  getConfig(input: CommandInput): Promise<CommandResult<{
27
31
  value: unknown;
28
32
  }>>;
@@ -43,13 +47,19 @@ interface AsyncBoardLiveCardsPublic {
43
47
  cardRefreshedNotify(input: CommandInput): Promise<CommandResult>;
44
48
  removeCard(input: CommandInput): Promise<CommandResult>;
45
49
  retrigger(input: CommandInput): Promise<CommandResult>;
46
- upsertCard(input: CommandInput): Promise<CommandResult>;
47
50
  processAccumulatedEvents(input: CommandInput): Promise<CommandResult>;
51
+ upsertCard(input: CommandInput): Promise<CommandResult>;
48
52
  taskFailed(input: CommandInput): Promise<CommandResult>;
49
53
  taskProgress(input: CommandInput): Promise<CommandResult>;
50
54
  sourceDataFetched(input: CommandInput): Promise<CommandResult>;
51
55
  sourceDataFetchFailure(input: CommandInput): Promise<CommandResult>;
52
56
  }
53
- declare function createAsyncBoardLiveCardsPublic(baseRef: KindValueRef, adapter: AsyncBoardPlatformAdapter): AsyncBoardLiveCardsPublic;
57
+ interface AsyncBoardLiveCardsPublicOptions {
58
+ boardRuntimeStoreRef?: string;
59
+ scratchStoreRef?: string;
60
+ taskExecutorRef?: ExecutionRef;
61
+ chatHandlerFlow?: unknown;
62
+ }
63
+ declare function createAsyncBoardLiveCardsPublic(baseRef: KindValueRef, adapter: AsyncBoardPlatformAdapter, options?: AsyncBoardLiveCardsPublicOptions): AsyncBoardLiveCardsPublic;
54
64
 
55
65
  export { type AsyncBoardLiveCardsPublic as A, createAsyncBoardLiveCardsPublic as c };
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkOEFTOO47_cjs=require('./chunk-OEFTOO47.cjs');require('./chunk-U2N6MCD5.cjs'),require('./chunk-SFVO2LB2.cjs'),require('./chunk-G4XXRHL2.cjs'),require('./chunk-LODXIALE.cjs'),require('./chunk-IXZG74EW.cjs'),require('./chunk-NMZ6XNLB.cjs'),require('./chunk-UJ7ZTV4J.cjs'),require('./chunk-YMEIPKLW.cjs'),require('./chunk-GNFE24S7.cjs');Object.defineProperty(exports,"BOARD_GRAPH_KEY",{enumerable:true,get:function(){return chunkOEFTOO47_cjs.n}});Object.defineProperty(exports,"EMPTY_CONFIG",{enumerable:true,get:function(){return chunkOEFTOO47_cjs.u}});Object.defineProperty(exports,"SNAPSHOT_SCHEMA_VERSION_V1",{enumerable:true,get:function(){return chunkOEFTOO47_cjs.m}});Object.defineProperty(exports,"createBoardLiveCardsNonCorePublic",{enumerable:true,get:function(){return chunkOEFTOO47_cjs.z}});Object.defineProperty(exports,"createBoardLiveCardsPublic",{enumerable:true,get:function(){return chunkOEFTOO47_cjs.y}});//# sourceMappingURL=board-live-cards-public.cjs.map
1
+ 'use strict';var chunkNDAKMJQK_cjs=require('./chunk-NDAKMJQK.cjs');require('./chunk-7JVHYHT2.cjs'),require('./chunk-VQCIOKJV.cjs'),require('./chunk-G4XXRHL2.cjs'),require('./chunk-LODXIALE.cjs'),require('./chunk-IXZG74EW.cjs'),require('./chunk-HWYMZK3N.cjs'),require('./chunk-UJ7ZTV4J.cjs'),require('./chunk-YMEIPKLW.cjs'),require('./chunk-GNFE24S7.cjs');Object.defineProperty(exports,"BOARD_GRAPH_KEY",{enumerable:true,get:function(){return chunkNDAKMJQK_cjs.n}});Object.defineProperty(exports,"EMPTY_CONFIG",{enumerable:true,get:function(){return chunkNDAKMJQK_cjs.u}});Object.defineProperty(exports,"SNAPSHOT_SCHEMA_VERSION_V1",{enumerable:true,get:function(){return chunkNDAKMJQK_cjs.m}});Object.defineProperty(exports,"createBoardLiveCardsNonCorePublic",{enumerable:true,get:function(){return chunkNDAKMJQK_cjs.z}});Object.defineProperty(exports,"createBoardLiveCardsPublic",{enumerable:true,get:function(){return chunkNDAKMJQK_cjs.y}});//# sourceMappingURL=board-live-cards-public.cjs.map
2
2
  //# sourceMappingURL=board-live-cards-public.cjs.map
@@ -1,4 +1,4 @@
1
- import './storage-interface-BFiD3kyB.cjs';
2
- export { m as BOARD_GRAPH_KEY, B as BoardChangeNotification, n as BoardLiveCardsNonCorePublic, c as BoardLiveCardsPublic, d as BoardNonCorePlatformAdapter, e as BoardPlatformAdapter, C as CommandInput, a as CommandResult, E as EMPTY_CONFIG, r as SNAPSHOT_SCHEMA_VERSION_V1, s as createBoardLiveCardsNonCorePublic, t as createBoardLiveCardsPublic } from './board-live-cards-public-DQzPe7A9.cjs';
1
+ import './storage-interface-D-iEiTJA.cjs';
2
+ export { p as BOARD_GRAPH_KEY, B as BoardChangeNotification, l as BoardLiveCardsNonCorePublic, c as BoardLiveCardsPublic, z as BoardLiveCardsPublicOptions, d as BoardNonCorePlatformAdapter, e as BoardPlatformAdapter, C as CommandInput, a as CommandResult, E as EMPTY_CONFIG, q as SNAPSHOT_SCHEMA_VERSION_V1, r as createBoardLiveCardsNonCorePublic, s as createBoardLiveCardsPublic } from './board-live-cards-public-BT5HrgqZ.cjs';
3
3
  import './execution-refs.cjs';
4
4
  import './types-BBhqYGhE.cjs';
@@ -1,4 +1,4 @@
1
- import './storage-interface-BFiD3kyB.js';
2
- export { m as BOARD_GRAPH_KEY, B as BoardChangeNotification, n as BoardLiveCardsNonCorePublic, c as BoardLiveCardsPublic, d as BoardNonCorePlatformAdapter, e as BoardPlatformAdapter, C as CommandInput, a as CommandResult, E as EMPTY_CONFIG, r as SNAPSHOT_SCHEMA_VERSION_V1, s as createBoardLiveCardsNonCorePublic, t as createBoardLiveCardsPublic } from './board-live-cards-public-D-DJek3X.js';
1
+ import './storage-interface-D-iEiTJA.js';
2
+ export { p as BOARD_GRAPH_KEY, B as BoardChangeNotification, l as BoardLiveCardsNonCorePublic, c as BoardLiveCardsPublic, z as BoardLiveCardsPublicOptions, d as BoardNonCorePlatformAdapter, e as BoardPlatformAdapter, C as CommandInput, a as CommandResult, E as EMPTY_CONFIG, q as SNAPSHOT_SCHEMA_VERSION_V1, r as createBoardLiveCardsNonCorePublic, s as createBoardLiveCardsPublic } from './board-live-cards-public-DSRamFm8.js';
3
3
  import './execution-refs.js';
4
4
  import './types-BBhqYGhE.js';
@@ -1,2 +1,2 @@
1
- export{n as BOARD_GRAPH_KEY,u as EMPTY_CONFIG,m as SNAPSHOT_SCHEMA_VERSION_V1,z as createBoardLiveCardsNonCorePublic,y as createBoardLiveCardsPublic}from'./chunk-N6P2JW4W.js';import'./chunk-XQRNDX4Q.js';import'./chunk-BQS3EIEK.js';import'./chunk-VGT3TRQG.js';import'./chunk-WDPOGXTY.js';import'./chunk-JMDHDY6M.js';import'./chunk-VLBB3D6B.js';import'./chunk-MNEOJWPS.js';import'./chunk-KBELAKIY.js';import'./chunk-FW4363Y4.js';//# sourceMappingURL=board-live-cards-public.js.map
1
+ export{n as BOARD_GRAPH_KEY,u as EMPTY_CONFIG,m as SNAPSHOT_SCHEMA_VERSION_V1,z as createBoardLiveCardsNonCorePublic,y as createBoardLiveCardsPublic}from'./chunk-DOFNXJ4C.js';import'./chunk-ANKA7HEJ.js';import'./chunk-44L64VQ2.js';import'./chunk-VGT3TRQG.js';import'./chunk-WDPOGXTY.js';import'./chunk-JMDHDY6M.js';import'./chunk-3KC6LBOG.js';import'./chunk-MNEOJWPS.js';import'./chunk-KBELAKIY.js';import'./chunk-FW4363Y4.js';//# sourceMappingURL=board-live-cards-public.js.map
2
2
  //# sourceMappingURL=board-live-cards-public.js.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkDDYSXP2A_cjs=require('./chunk-DDYSXP2A.cjs');require('./chunk-M3OU6IS5.cjs'),require('./chunk-7FGPOGRV.cjs'),require('./chunk-LPXVVMQT.cjs'),require('./chunk-7ICPAABP.cjs'),require('./chunk-KAWQPLIE.cjs'),require('./chunk-NM6O35RY.cjs'),require('./chunk-272IYUKT.cjs');var chunkCPAXTVBQ_cjs=require('./chunk-CPAXTVBQ.cjs');require('./chunk-NJJ7WEDT.cjs'),require('./chunk-GL2OHR2E.cjs'),require('./chunk-H5HBXPOI.cjs'),require('./chunk-PBCDDO4V.cjs'),require('./chunk-OEFTOO47.cjs'),require('./chunk-U2N6MCD5.cjs'),require('./chunk-SFVO2LB2.cjs'),require('./chunk-G4XXRHL2.cjs'),require('./chunk-LODXIALE.cjs'),require('./chunk-M6STQR5F.cjs'),require('./chunk-IXZG74EW.cjs'),require('./chunk-NMZ6XNLB.cjs'),require('./chunk-UJ7ZTV4J.cjs'),require('./chunk-YMEIPKLW.cjs'),require('./chunk-GYQXDNNI.cjs'),require('./chunk-GNFE24S7.cjs');Object.defineProperty(exports,"createMultiBoardServerRuntime",{enumerable:true,get:function(){return chunkDDYSXP2A_cjs.c}});Object.defineProperty(exports,"createSingleBoardServerRuntime",{enumerable:true,get:function(){return chunkDDYSXP2A_cjs.b}});Object.defineProperty(exports,"createHostedBoardQueueLaneRegistry",{enumerable:true,get:function(){return chunkCPAXTVBQ_cjs.a}});//# sourceMappingURL=board-live-cards-server-runtime.cjs.map
1
+ 'use strict';var chunkO4RKTQBP_cjs=require('./chunk-O4RKTQBP.cjs');require('./chunk-ZK3E7L4Y.cjs'),require('./chunk-7FGPOGRV.cjs'),require('./chunk-LPXVVMQT.cjs'),require('./chunk-IQIZA7TN.cjs'),require('./chunk-NM6O35RY.cjs'),require('./chunk-272IYUKT.cjs');var chunkETW3BXHD_cjs=require('./chunk-ETW3BXHD.cjs');require('./chunk-BQUQTOPB.cjs'),require('./chunk-NBJTYAYN.cjs'),require('./chunk-GPCMBPLK.cjs'),require('./chunk-CMFD27ZC.cjs'),require('./chunk-37HDEW26.cjs'),require('./chunk-PBCDDO4V.cjs'),require('./chunk-NDAKMJQK.cjs'),require('./chunk-7JVHYHT2.cjs'),require('./chunk-VQCIOKJV.cjs'),require('./chunk-G4XXRHL2.cjs'),require('./chunk-LODXIALE.cjs'),require('./chunk-7QZ267XP.cjs'),require('./chunk-IXZG74EW.cjs'),require('./chunk-HWYMZK3N.cjs'),require('./chunk-UJ7ZTV4J.cjs'),require('./chunk-YMEIPKLW.cjs'),require('./chunk-UB54HZA4.cjs'),require('./chunk-GNFE24S7.cjs');Object.defineProperty(exports,"createMultiBoardServerRuntime",{enumerable:true,get:function(){return chunkO4RKTQBP_cjs.b}});Object.defineProperty(exports,"createSingleBoardServerRuntime",{enumerable:true,get:function(){return chunkO4RKTQBP_cjs.a}});Object.defineProperty(exports,"createHostedBoardQueueLaneRegistry",{enumerable:true,get:function(){return chunkETW3BXHD_cjs.a}});//# sourceMappingURL=board-live-cards-server-runtime.cjs.map
2
2
  //# sourceMappingURL=board-live-cards-server-runtime.cjs.map
@@ -1,13 +1,11 @@
1
- export { A as Awaitable, B as BoardContextConfig, d as BoardRuntimePlatformAdapter, e as BoardRuntimePublic, C as ChatHandlerFlowRunner, D as DescribeEnvelope, H as HostedBoardQueueLaneTuning, I as InvocationAdapter, M as MultiBoardRuntime, b as MultiBoardRuntimeOptions, N as NotificationTransport, Q as QueueLaneRuntimeTuning, f as RuntimeLogger, R as RuntimeRequest, a as RuntimeResponse, S as SingleBoardRuntime, c as SingleBoardRuntimeOptions } from './types-BzQY45dH.cjs';
1
+ export { A as Awaitable, B as BoardContextConfig, c as BoardRuntimeNonCorePublic, d as BoardRuntimePlatformAdapter, e as BoardRuntimePublic, f as BoardWorkerRequest, C as ChatHandlerFlowRunner, D as DescribeEnvelope, H as HostedBoardQueueLaneTuning, I as InvocationAdapter, a as MultiBoardRuntime, M as MultiBoardRuntimeOptions, N as NotificationTransport, Q as QueueLaneRuntimeTuning, R as RuntimeLogger, g as RuntimeRequest, h as RuntimeResponse, b as SingleBoardRuntime, S as SingleBoardRuntimeOptions } from './types-Ch0u3FKP.cjs';
2
2
  export { HostedBoardQueueLaneRegistryOptions, createHostedBoardQueueLaneRegistry } from './server-jobs-queue-runner/index.cjs';
3
- export { A as AsyncBoardLiveCardsPublic } from './board-live-cards-public-async-CgMCYYft.cjs';
4
- export { A as AsyncBoardPlatformAdapter } from './board-platform-adapter-async-DOfEq_HC.cjs';
5
- export { B as BlobStorage, K as KVStorage, a as KindValueRef } from './storage-interface-BFiD3kyB.cjs';
6
- export { B as BoardChangeNotification, c as BoardLiveCardsPublic, d as BoardNonCorePlatformAdapter, e as BoardPlatformAdapter, f as BoardWorkerRequest, C as CommandInput, a as CommandResult } from './board-live-cards-public-DQzPe7A9.cjs';
7
- export { C as ChatStorage } from './chat-storage-lib-B9Q34Dyv.cjs';
3
+ export { A as AsyncBoardLiveCardsPublic } from './board-live-cards-public-async-CYjr4mgX.cjs';
4
+ export { A as AsyncBoardPlatformAdapter } from './board-platform-adapter-async-BZIftm36.cjs';
5
+ export { B as BlobStorage, K as KVStorage, a as KindValueRef } from './storage-interface-D-iEiTJA.cjs';
6
+ export { B as BoardChangeNotification, c as BoardLiveCardsPublic, d as BoardNonCorePlatformAdapter, e as BoardPlatformAdapter, f as ChatStorage, C as CommandInput, a as CommandResult } from './board-live-cards-public-BT5HrgqZ.cjs';
8
7
  export { ExecutionRef } from './execution-refs.cjs';
9
8
  export { createMultiBoardServerRuntime, createSingleBoardServerRuntime } from './server-runtime/index.cjs';
10
- import './artifacts-store-lib-D9nMkVcE.cjs';
11
9
  import './queue-lane-registry-PaZuFpwp.cjs';
10
+ import './storage-async-interface-CyO-zwVQ.cjs';
12
11
  import './types-BBhqYGhE.cjs';
13
- import './storage-async-interface-BRR4eBjx.cjs';
@@ -1,13 +1,11 @@
1
- export { A as Awaitable, B as BoardContextConfig, d as BoardRuntimePlatformAdapter, e as BoardRuntimePublic, C as ChatHandlerFlowRunner, D as DescribeEnvelope, H as HostedBoardQueueLaneTuning, I as InvocationAdapter, M as MultiBoardRuntime, b as MultiBoardRuntimeOptions, N as NotificationTransport, Q as QueueLaneRuntimeTuning, f as RuntimeLogger, R as RuntimeRequest, a as RuntimeResponse, S as SingleBoardRuntime, c as SingleBoardRuntimeOptions } from './types-CF2xUcZW.js';
1
+ export { A as Awaitable, B as BoardContextConfig, c as BoardRuntimeNonCorePublic, d as BoardRuntimePlatformAdapter, e as BoardRuntimePublic, f as BoardWorkerRequest, C as ChatHandlerFlowRunner, D as DescribeEnvelope, H as HostedBoardQueueLaneTuning, I as InvocationAdapter, a as MultiBoardRuntime, M as MultiBoardRuntimeOptions, N as NotificationTransport, Q as QueueLaneRuntimeTuning, R as RuntimeLogger, g as RuntimeRequest, h as RuntimeResponse, b as SingleBoardRuntime, S as SingleBoardRuntimeOptions } from './types-BtH3scgE.js';
2
2
  export { HostedBoardQueueLaneRegistryOptions, createHostedBoardQueueLaneRegistry } from './server-jobs-queue-runner/index.js';
3
- export { A as AsyncBoardLiveCardsPublic } from './board-live-cards-public-async-3hUuHxDx.js';
4
- export { A as AsyncBoardPlatformAdapter } from './board-platform-adapter-async-JZPCzZnH.js';
5
- export { B as BlobStorage, K as KVStorage, a as KindValueRef } from './storage-interface-BFiD3kyB.js';
6
- export { B as BoardChangeNotification, c as BoardLiveCardsPublic, d as BoardNonCorePlatformAdapter, e as BoardPlatformAdapter, f as BoardWorkerRequest, C as CommandInput, a as CommandResult } from './board-live-cards-public-D-DJek3X.js';
7
- export { C as ChatStorage } from './chat-storage-lib-DB9iSai2.js';
3
+ export { A as AsyncBoardLiveCardsPublic } from './board-live-cards-public-async-DlyC3PgC.js';
4
+ export { A as AsyncBoardPlatformAdapter } from './board-platform-adapter-async-JP9V-U5E.js';
5
+ export { B as BlobStorage, K as KVStorage, a as KindValueRef } from './storage-interface-D-iEiTJA.js';
6
+ export { B as BoardChangeNotification, c as BoardLiveCardsPublic, d as BoardNonCorePlatformAdapter, e as BoardPlatformAdapter, f as ChatStorage, C as CommandInput, a as CommandResult } from './board-live-cards-public-DSRamFm8.js';
8
7
  export { ExecutionRef } from './execution-refs.js';
9
8
  export { createMultiBoardServerRuntime, createSingleBoardServerRuntime } from './server-runtime/index.js';
10
- import './artifacts-store-lib-DSSMqVL2.js';
11
9
  import './queue-lane-registry-PaZuFpwp.js';
10
+ import './storage-async-interface-CG0bMqvE.js';
12
11
  import './types-BBhqYGhE.js';
13
- import './storage-async-interface-DhlOVPSp.js';
@@ -1,2 +1,2 @@
1
- export{c as createMultiBoardServerRuntime,b as createSingleBoardServerRuntime}from'./chunk-ZXQR7GHT.js';import'./chunk-J5J6BG7B.js';import'./chunk-NTICU4OK.js';import'./chunk-O7NOHKVR.js';import'./chunk-WHDEBJLT.js';import'./chunk-SGV7PU4H.js';import'./chunk-XYN5D3GL.js';import'./chunk-ZJ5M5COT.js';export{a as createHostedBoardQueueLaneRegistry}from'./chunk-YGALANRO.js';import'./chunk-6APH25VI.js';import'./chunk-VXJHBWK3.js';import'./chunk-VMW4Z6EF.js';import'./chunk-HEEDJEKM.js';import'./chunk-N6P2JW4W.js';import'./chunk-XQRNDX4Q.js';import'./chunk-BQS3EIEK.js';import'./chunk-VGT3TRQG.js';import'./chunk-WDPOGXTY.js';import'./chunk-PRHQBGPT.js';import'./chunk-JMDHDY6M.js';import'./chunk-VLBB3D6B.js';import'./chunk-MNEOJWPS.js';import'./chunk-KBELAKIY.js';import'./chunk-76ON3V7R.js';import'./chunk-FW4363Y4.js';//# sourceMappingURL=board-live-cards-server-runtime.js.map
1
+ export{b as createMultiBoardServerRuntime,a as createSingleBoardServerRuntime}from'./chunk-H3EHFCDZ.js';import'./chunk-NU5NO5NM.js';import'./chunk-NTICU4OK.js';import'./chunk-O7NOHKVR.js';import'./chunk-2GSI6C45.js';import'./chunk-XYN5D3GL.js';import'./chunk-ZJ5M5COT.js';export{a as createHostedBoardQueueLaneRegistry}from'./chunk-6OPXQPSC.js';import'./chunk-FOFGEABN.js';import'./chunk-O5UYCGIN.js';import'./chunk-RKKSVOP2.js';import'./chunk-GU3T75C4.js';import'./chunk-NNSBBO5R.js';import'./chunk-HEEDJEKM.js';import'./chunk-DOFNXJ4C.js';import'./chunk-ANKA7HEJ.js';import'./chunk-44L64VQ2.js';import'./chunk-VGT3TRQG.js';import'./chunk-WDPOGXTY.js';import'./chunk-35N7ONTH.js';import'./chunk-JMDHDY6M.js';import'./chunk-3KC6LBOG.js';import'./chunk-MNEOJWPS.js';import'./chunk-KBELAKIY.js';import'./chunk-Q3OTUDIE.js';import'./chunk-FW4363Y4.js';//# sourceMappingURL=board-live-cards-server-runtime.js.map
2
2
  //# sourceMappingURL=board-live-cards-server-runtime.js.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkS6DRP2HX_cjs=require('../chunk-S6DRP2HX.cjs');require('../chunk-G4XXRHL2.cjs'),require('../chunk-LODXIALE.cjs'),require('../chunk-IXZG74EW.cjs'),require('../chunk-NMZ6XNLB.cjs'),require('../chunk-UJ7ZTV4J.cjs'),require('../chunk-GNFE24S7.cjs');Object.defineProperty(exports,"LocalStorageService",{enumerable:true,get:function(){return chunkS6DRP2HX_cjs.a}});Object.defineProperty(exports,"buildBrowserArtifactsFromRuntime",{enumerable:true,get:function(){return chunkS6DRP2HX_cjs.e}});Object.defineProperty(exports,"createBoardLiveGraphRuntime",{enumerable:true,get:function(){return chunkS6DRP2HX_cjs.b}});Object.defineProperty(exports,"selectAllLiveCardModels",{enumerable:true,get:function(){return chunkS6DRP2HX_cjs.d}});Object.defineProperty(exports,"selectLiveCardModel",{enumerable:true,get:function(){return chunkS6DRP2HX_cjs.c}});//# sourceMappingURL=index.cjs.map
1
+ 'use strict';var chunkS6DRP2HX_cjs=require('../chunk-S6DRP2HX.cjs');require('../chunk-G4XXRHL2.cjs'),require('../chunk-LODXIALE.cjs'),require('../chunk-IXZG74EW.cjs'),require('../chunk-HWYMZK3N.cjs'),require('../chunk-UJ7ZTV4J.cjs'),require('../chunk-GNFE24S7.cjs');Object.defineProperty(exports,"LocalStorageService",{enumerable:true,get:function(){return chunkS6DRP2HX_cjs.a}});Object.defineProperty(exports,"buildBrowserArtifactsFromRuntime",{enumerable:true,get:function(){return chunkS6DRP2HX_cjs.e}});Object.defineProperty(exports,"createBoardLiveGraphRuntime",{enumerable:true,get:function(){return chunkS6DRP2HX_cjs.b}});Object.defineProperty(exports,"selectAllLiveCardModels",{enumerable:true,get:function(){return chunkS6DRP2HX_cjs.d}});Object.defineProperty(exports,"selectLiveCardModel",{enumerable:true,get:function(){return chunkS6DRP2HX_cjs.c}});//# sourceMappingURL=index.cjs.map
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,2 +1,2 @@
1
- export{a as LocalStorageService,e as buildBrowserArtifactsFromRuntime,b as createBoardLiveGraphRuntime,d as selectAllLiveCardModels,c as selectLiveCardModel}from'../chunk-YGKDQLYP.js';import'../chunk-VGT3TRQG.js';import'../chunk-WDPOGXTY.js';import'../chunk-JMDHDY6M.js';import'../chunk-VLBB3D6B.js';import'../chunk-MNEOJWPS.js';import'../chunk-FW4363Y4.js';//# sourceMappingURL=index.js.map
1
+ export{a as LocalStorageService,e as buildBrowserArtifactsFromRuntime,b as createBoardLiveGraphRuntime,d as selectAllLiveCardModels,c as selectLiveCardModel}from'../chunk-YGKDQLYP.js';import'../chunk-VGT3TRQG.js';import'../chunk-WDPOGXTY.js';import'../chunk-JMDHDY6M.js';import'../chunk-3KC6LBOG.js';import'../chunk-MNEOJWPS.js';import'../chunk-FW4363Y4.js';//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
- import { h as BoardCallbackTransport, B as BoardChangeNotification } from './board-live-cards-public-DQzPe7A9.cjs';
1
+ import { f as ChatStorage, k as BoardCallbackTransport, B as BoardChangeNotification } from './board-live-cards-public-BT5HrgqZ.cjs';
2
2
  import { ExecutionRef } from './execution-refs.cjs';
3
- import { a as KindValueRef } from './storage-interface-BFiD3kyB.cjs';
4
- import { c as AsyncKVStorage, a as AsyncBlobStorage, f as AsyncScratchStorage, A as AsyncArchiveFactory, b as AsyncJournalStorage, e as AsyncQueueStorage, d as AsyncAtomicRelayLock } from './storage-async-interface-BRR4eBjx.cjs';
3
+ import { a as KindValueRef } from './storage-interface-D-iEiTJA.cjs';
4
+ import { c as AsyncKVStorage, a as AsyncBlobStorage, e as AsyncQueueStorage, f as AsyncScratchStorage, A as AsyncArchiveFactory, b as AsyncJournalStorage, d as AsyncAtomicRelayLock } from './storage-async-interface-CyO-zwVQ.cjs';
5
5
 
6
6
  interface AsyncBoardWorkerRequest {
7
7
  boardId?: string;
@@ -40,31 +40,36 @@ interface AsyncBoardConfigStore {
40
40
  writeTaskExecutorRef(ref: ExecutionRef): Promise<void>;
41
41
  readChatHandlerFlow(): Promise<unknown>;
42
42
  writeChatHandlerFlow(flow: unknown): Promise<void>;
43
+ readBoardRuntimeStoreRef(): Promise<string | null>;
44
+ writeBoardRuntimeStoreRef(ref: string): Promise<void>;
43
45
  readCardStoreRef(): Promise<string | null>;
44
46
  writeCardStoreRef(ref: string): Promise<void>;
45
47
  readOutputsStoreRef(): Promise<string | null>;
46
48
  writeOutputsStoreRef(ref: string): Promise<void>;
49
+ readQueueStoreRef(): Promise<string | null>;
50
+ writeQueueStoreRef(ref: string): Promise<void>;
47
51
  readScratchStoreRef(): Promise<string | null>;
48
52
  writeScratchStoreRef(ref: string): Promise<void>;
49
- readArchiveStoreRef(): Promise<string | null>;
50
- writeArchiveStoreRef(ref: string): Promise<void>;
51
53
  readChatStoreRef(): Promise<string | null>;
52
54
  writeChatStoreRef(ref: string): Promise<void>;
53
55
  readArtifactsStoreRef(): Promise<string | null>;
54
56
  writeArtifactsStoreRef(ref: string): Promise<void>;
57
+ readFetchedSourcesStoreRef(): Promise<string | null>;
58
+ writeFetchedSourcesStoreRef(ref: string): Promise<void>;
55
59
  }
56
60
  interface AsyncBoardPlatformAdapter {
57
61
  kvStorage(namespace: string): AsyncKVStorage;
58
62
  kvStorageForRef(ref: string): AsyncKVStorage;
59
63
  blobStorage(namespace: string): AsyncBlobStorage;
64
+ blobStorageForRef(ref: string): AsyncBlobStorage;
65
+ chatStorageForRef(ref: string): ChatStorage;
66
+ queueStorageForRef(ref: string, lane: string): AsyncQueueStorage;
60
67
  scratchStorage(): AsyncScratchStorage;
61
68
  scratchStorageForRef(ref: string): AsyncScratchStorage;
62
69
  archiveFactory(): AsyncArchiveFactory;
63
70
  archiveFactoryForRef(ref: string): AsyncArchiveFactory;
64
71
  journalStorage(): AsyncJournalStorage;
65
- boardWorkerStore(): AsyncBoardWorkerStore;
66
- chatAgentStore(): AsyncBoardWorkerStore;
67
- processAccumulatedStore(): AsyncQueueStorage;
72
+ journalStorageForRef(ref: string): AsyncJournalStorage;
68
73
  lock: AsyncAtomicRelayLock;
69
74
  callbackTransport?: BoardCallbackTransport;
70
75
  dispatchExecution(ref: ExecutionRef, args: Record<string, unknown>): Promise<{
@@ -96,17 +101,16 @@ interface HostedAsyncBoardPlatformAdapterOptions {
96
101
  kvStorage(namespace: string): AsyncKVStorage;
97
102
  kvStorageForRef(ref: string): AsyncKVStorage;
98
103
  blobStorage(namespace: string): AsyncBlobStorage;
104
+ blobStorageForRef(ref: string): AsyncBlobStorage;
105
+ chatStorageForRef(ref: string): ChatStorage;
106
+ queueStoreRef?: string;
107
+ queueStorageForRef(ref: string, lane: string): AsyncQueueStorage;
99
108
  scratchStorage(): AsyncScratchStorage;
100
109
  scratchStorageForRef(ref: string): AsyncScratchStorage;
101
110
  archiveFactory(): AsyncArchiveFactory;
102
111
  archiveFactoryForRef(ref: string): AsyncArchiveFactory;
103
112
  journalStorage(): AsyncJournalStorage;
104
- queueStorage?: AsyncQueueStorage;
105
- boardWorkerStore?: AsyncBoardWorkerStore;
106
- chatAgentQueueStorage?: AsyncQueueStorage;
107
- chatAgentStore?: AsyncBoardWorkerStore;
108
- processAccumulatedQueueStorage?: AsyncQueueStorage;
109
- processAccumulatedStore?: AsyncQueueStorage;
113
+ journalStorageForRef(ref: string): AsyncJournalStorage;
110
114
  lock: AsyncAtomicRelayLock;
111
115
  callbackTransport?: BoardCallbackTransport;
112
116
  fetch?: HostedFetchLike;
@@ -1,7 +1,7 @@
1
- import { h as BoardCallbackTransport, B as BoardChangeNotification } from './board-live-cards-public-D-DJek3X.js';
1
+ import { f as ChatStorage, k as BoardCallbackTransport, B as BoardChangeNotification } from './board-live-cards-public-DSRamFm8.js';
2
2
  import { ExecutionRef } from './execution-refs.js';
3
- import { a as KindValueRef } from './storage-interface-BFiD3kyB.js';
4
- import { c as AsyncKVStorage, a as AsyncBlobStorage, f as AsyncScratchStorage, A as AsyncArchiveFactory, b as AsyncJournalStorage, e as AsyncQueueStorage, d as AsyncAtomicRelayLock } from './storage-async-interface-DhlOVPSp.js';
3
+ import { a as KindValueRef } from './storage-interface-D-iEiTJA.js';
4
+ import { c as AsyncKVStorage, a as AsyncBlobStorage, e as AsyncQueueStorage, f as AsyncScratchStorage, A as AsyncArchiveFactory, b as AsyncJournalStorage, d as AsyncAtomicRelayLock } from './storage-async-interface-CG0bMqvE.js';
5
5
 
6
6
  interface AsyncBoardWorkerRequest {
7
7
  boardId?: string;
@@ -40,31 +40,36 @@ interface AsyncBoardConfigStore {
40
40
  writeTaskExecutorRef(ref: ExecutionRef): Promise<void>;
41
41
  readChatHandlerFlow(): Promise<unknown>;
42
42
  writeChatHandlerFlow(flow: unknown): Promise<void>;
43
+ readBoardRuntimeStoreRef(): Promise<string | null>;
44
+ writeBoardRuntimeStoreRef(ref: string): Promise<void>;
43
45
  readCardStoreRef(): Promise<string | null>;
44
46
  writeCardStoreRef(ref: string): Promise<void>;
45
47
  readOutputsStoreRef(): Promise<string | null>;
46
48
  writeOutputsStoreRef(ref: string): Promise<void>;
49
+ readQueueStoreRef(): Promise<string | null>;
50
+ writeQueueStoreRef(ref: string): Promise<void>;
47
51
  readScratchStoreRef(): Promise<string | null>;
48
52
  writeScratchStoreRef(ref: string): Promise<void>;
49
- readArchiveStoreRef(): Promise<string | null>;
50
- writeArchiveStoreRef(ref: string): Promise<void>;
51
53
  readChatStoreRef(): Promise<string | null>;
52
54
  writeChatStoreRef(ref: string): Promise<void>;
53
55
  readArtifactsStoreRef(): Promise<string | null>;
54
56
  writeArtifactsStoreRef(ref: string): Promise<void>;
57
+ readFetchedSourcesStoreRef(): Promise<string | null>;
58
+ writeFetchedSourcesStoreRef(ref: string): Promise<void>;
55
59
  }
56
60
  interface AsyncBoardPlatformAdapter {
57
61
  kvStorage(namespace: string): AsyncKVStorage;
58
62
  kvStorageForRef(ref: string): AsyncKVStorage;
59
63
  blobStorage(namespace: string): AsyncBlobStorage;
64
+ blobStorageForRef(ref: string): AsyncBlobStorage;
65
+ chatStorageForRef(ref: string): ChatStorage;
66
+ queueStorageForRef(ref: string, lane: string): AsyncQueueStorage;
60
67
  scratchStorage(): AsyncScratchStorage;
61
68
  scratchStorageForRef(ref: string): AsyncScratchStorage;
62
69
  archiveFactory(): AsyncArchiveFactory;
63
70
  archiveFactoryForRef(ref: string): AsyncArchiveFactory;
64
71
  journalStorage(): AsyncJournalStorage;
65
- boardWorkerStore(): AsyncBoardWorkerStore;
66
- chatAgentStore(): AsyncBoardWorkerStore;
67
- processAccumulatedStore(): AsyncQueueStorage;
72
+ journalStorageForRef(ref: string): AsyncJournalStorage;
68
73
  lock: AsyncAtomicRelayLock;
69
74
  callbackTransport?: BoardCallbackTransport;
70
75
  dispatchExecution(ref: ExecutionRef, args: Record<string, unknown>): Promise<{
@@ -96,17 +101,16 @@ interface HostedAsyncBoardPlatformAdapterOptions {
96
101
  kvStorage(namespace: string): AsyncKVStorage;
97
102
  kvStorageForRef(ref: string): AsyncKVStorage;
98
103
  blobStorage(namespace: string): AsyncBlobStorage;
104
+ blobStorageForRef(ref: string): AsyncBlobStorage;
105
+ chatStorageForRef(ref: string): ChatStorage;
106
+ queueStoreRef?: string;
107
+ queueStorageForRef(ref: string, lane: string): AsyncQueueStorage;
99
108
  scratchStorage(): AsyncScratchStorage;
100
109
  scratchStorageForRef(ref: string): AsyncScratchStorage;
101
110
  archiveFactory(): AsyncArchiveFactory;
102
111
  archiveFactoryForRef(ref: string): AsyncArchiveFactory;
103
112
  journalStorage(): AsyncJournalStorage;
104
- queueStorage?: AsyncQueueStorage;
105
- boardWorkerStore?: AsyncBoardWorkerStore;
106
- chatAgentQueueStorage?: AsyncQueueStorage;
107
- chatAgentStore?: AsyncBoardWorkerStore;
108
- processAccumulatedQueueStorage?: AsyncQueueStorage;
109
- processAccumulatedStore?: AsyncQueueStorage;
113
+ journalStorageForRef(ref: string): AsyncJournalStorage;
110
114
  lock: AsyncAtomicRelayLock;
111
115
  callbackTransport?: BoardCallbackTransport;
112
116
  fetch?: HostedFetchLike;