yaml-flow 8.7.1 → 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 (182) 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 +9 -13
  5. package/browser/server-runtime-controlface.js +5 -5
  6. package/examples/ARCHITECTURE.md +0 -27
  7. package/examples/board/server/board-server.js +150 -100
  8. package/examples/board/server/board-worker/source_def_flows.json +0 -8
  9. package/examples/board/server/board-worker/task-executor.js +1 -3
  10. package/examples/board/test/server-http-test.js +108 -73
  11. package/examples/board-firestore/server/worker.js +8 -0
  12. package/examples/portfolio-tracker/portfolio-tracker.js +11 -1
  13. package/examples/portfolio-tracker/test/portfolio-t4.js +12 -2
  14. package/lib/{artifacts-store-lib-D9nMkVcE.d.cts → artifacts-store-lib-C6qBpMfU.d.cts} +1 -1
  15. package/lib/{artifacts-store-lib-DSSMqVL2.d.ts → artifacts-store-lib-D4qf7Q-7.d.ts} +1 -1
  16. package/lib/artifacts-store-public.d.cts +3 -3
  17. package/lib/artifacts-store-public.d.ts +3 -3
  18. package/lib/board-live-cards-mcp.cjs +1 -1
  19. package/lib/board-live-cards-mcp.d.cts +6 -7
  20. package/lib/board-live-cards-mcp.d.ts +6 -7
  21. package/lib/board-live-cards-mcp.js +1 -1
  22. package/lib/board-live-cards-node.cjs +8 -8
  23. package/lib/board-live-cards-node.d.cts +15 -14
  24. package/lib/board-live-cards-node.d.ts +15 -14
  25. package/lib/board-live-cards-node.js +8 -8
  26. package/lib/{board-live-cards-public-LlVUQPL2.d.cts → board-live-cards-public-BT5HrgqZ.d.cts} +82 -59
  27. package/lib/{board-live-cards-public-JNRKfBZy.d.ts → board-live-cards-public-DSRamFm8.d.ts} +82 -59
  28. package/lib/{board-live-cards-public-async-Di9QB141.d.cts → board-live-cards-public-async-CYjr4mgX.d.cts} +18 -8
  29. package/lib/{board-live-cards-public-async-fwd1QI82.d.ts → board-live-cards-public-async-DlyC3PgC.d.ts} +18 -8
  30. package/lib/board-live-cards-public.cjs +1 -1
  31. package/lib/board-live-cards-public.d.cts +2 -2
  32. package/lib/board-live-cards-public.d.ts +2 -2
  33. package/lib/board-live-cards-public.js +1 -1
  34. package/lib/board-live-cards-server-runtime.cjs +1 -1
  35. package/lib/board-live-cards-server-runtime.d.cts +6 -8
  36. package/lib/board-live-cards-server-runtime.d.ts +6 -8
  37. package/lib/board-live-cards-server-runtime.js +1 -1
  38. package/lib/{board-platform-adapter-async-BfHmHdx2.d.cts → board-platform-adapter-async-BZIftm36.d.cts} +18 -14
  39. package/lib/{board-platform-adapter-async-DYahVzIK.d.ts → board-platform-adapter-async-JP9V-U5E.d.ts} +18 -14
  40. package/lib/board-worker-adapter.cjs +1 -24
  41. package/lib/board-worker-adapter.d.cts +68 -3
  42. package/lib/board-worker-adapter.d.ts +68 -3
  43. package/lib/board-worker-adapter.js +1 -24
  44. package/lib/card-store-public.d.cts +2 -2
  45. package/lib/card-store-public.d.ts +2 -2
  46. package/lib/chat-store-public.cjs +1 -1
  47. package/lib/chat-store-public.d.cts +20 -20
  48. package/lib/chat-store-public.d.ts +20 -20
  49. package/lib/chat-store-public.js +1 -1
  50. package/lib/chunk-2GSI6C45.js +7 -0
  51. package/lib/chunk-35N7ONTH.js +2 -0
  52. package/lib/chunk-37HDEW26.cjs +2 -0
  53. package/lib/{chunk-PMUSJQSR.cjs → chunk-3CZCGNY4.cjs} +2 -2
  54. package/lib/{chunk-BQS3EIEK.js → chunk-44L64VQ2.js} +3 -3
  55. package/lib/chunk-6OPXQPSC.js +2 -0
  56. package/lib/chunk-7BTZCOT5.js +2 -0
  57. package/lib/{chunk-U2N6MCD5.cjs → chunk-7JVHYHT2.cjs} +2 -2
  58. package/lib/chunk-7QZ267XP.cjs +2 -0
  59. package/lib/{chunk-XQRNDX4Q.js → chunk-ANKA7HEJ.js} +2 -2
  60. package/lib/{chunk-KAWQPLIE.cjs → chunk-BQUQTOPB.cjs} +2 -2
  61. package/lib/chunk-CMFD27ZC.cjs +3 -0
  62. package/lib/chunk-DOFNXJ4C.js +3 -0
  63. package/lib/chunk-ETW3BXHD.cjs +2 -0
  64. package/lib/{chunk-SGV7PU4H.js → chunk-FOFGEABN.js} +2 -2
  65. package/lib/chunk-GPCMBPLK.cjs +2 -0
  66. package/lib/chunk-GU3T75C4.js +3 -0
  67. package/lib/chunk-H3EHFCDZ.js +3 -0
  68. package/lib/chunk-H4TYOSMD.cjs +45 -0
  69. package/lib/chunk-HFW7E2Z7.cjs +4 -0
  70. package/lib/chunk-IQIZA7TN.cjs +7 -0
  71. package/lib/chunk-J4MHQ7JF.js +45 -0
  72. package/lib/chunk-MCPADH33.cjs +2 -0
  73. package/lib/chunk-NBJTYAYN.cjs +2 -0
  74. package/lib/chunk-NDAKMJQK.cjs +3 -0
  75. package/lib/chunk-NNSBBO5R.js +2 -0
  76. package/lib/chunk-NU5NO5NM.js +2 -0
  77. package/lib/chunk-O4RKTQBP.cjs +3 -0
  78. package/lib/chunk-O5UYCGIN.js +2 -0
  79. package/lib/chunk-Q3OTUDIE.js +2 -0
  80. package/lib/chunk-R44X3RQB.cjs +2 -0
  81. package/lib/chunk-RKKSVOP2.js +2 -0
  82. package/lib/chunk-UB54HZA4.cjs +2 -0
  83. package/lib/{chunk-CIAJNUR4.js → chunk-VGDLSS2H.js} +2 -2
  84. package/lib/{chunk-SFVO2LB2.cjs → chunk-VQCIOKJV.cjs} +3 -3
  85. package/lib/chunk-VS3BXEYK.js +4 -0
  86. package/lib/chunk-Y4WK7HE4.js +2 -0
  87. package/lib/chunk-ZK3E7L4Y.cjs +2 -0
  88. package/lib/cloud-storage.cjs +1 -1
  89. package/lib/cloud-storage.d.cts +6 -6
  90. package/lib/cloud-storage.d.ts +6 -6
  91. package/lib/cloud-storage.js +1 -1
  92. package/lib/execution-refs.cjs +1 -1
  93. package/lib/execution-refs.js +1 -1
  94. package/lib/firebase-storage/index.cjs +2 -2
  95. package/lib/firebase-storage/index.d.cts +2 -2
  96. package/lib/firebase-storage/index.d.ts +2 -2
  97. package/lib/firebase-storage/index.js +2 -2
  98. package/lib/firestore-storage/index.cjs +2 -2
  99. package/lib/firestore-storage/index.d.cts +12 -10
  100. package/lib/firestore-storage/index.d.ts +12 -10
  101. package/lib/firestore-storage/index.js +2 -2
  102. package/lib/index.d.cts +1 -1
  103. package/lib/index.d.ts +1 -1
  104. package/lib/localstorage-storage/index.cjs +1 -1
  105. package/lib/localstorage-storage/index.d.cts +10 -6
  106. package/lib/localstorage-storage/index.d.ts +10 -6
  107. package/lib/localstorage-storage/index.js +1 -1
  108. package/lib/{mcp-tool-registries-W3TRj6O5.d.cts → mcp-tool-registries-CRtea2x4.d.cts} +3 -0
  109. package/lib/{mcp-tool-registries-BBObLYga.d.ts → mcp-tool-registries-D3rWSppt.d.ts} +3 -0
  110. package/lib/server-jobs-queue-runner/index.cjs +1 -1
  111. package/lib/server-jobs-queue-runner/index.d.cts +12 -9
  112. package/lib/server-jobs-queue-runner/index.d.ts +12 -9
  113. package/lib/server-jobs-queue-runner/index.js +1 -1
  114. package/lib/server-runtime/index.cjs +1 -1
  115. package/lib/server-runtime/index.d.cts +7 -9
  116. package/lib/server-runtime/index.d.ts +7 -9
  117. package/lib/server-runtime/index.js +1 -1
  118. package/lib/server-runtime-agentface/index.d.cts +7 -9
  119. package/lib/server-runtime-agentface/index.d.ts +7 -9
  120. package/lib/server-runtime-controlface/index.cjs +1 -1
  121. package/lib/server-runtime-controlface/index.d.cts +8 -9
  122. package/lib/server-runtime-controlface/index.d.ts +8 -9
  123. package/lib/server-runtime-controlface/index.js +1 -1
  124. package/lib/server-runtime-core/index.cjs +1 -1
  125. package/lib/server-runtime-core/index.d.cts +59 -21
  126. package/lib/server-runtime-core/index.d.ts +59 -21
  127. package/lib/server-runtime-core/index.js +1 -1
  128. package/lib/server-runtime-watchers/index.cjs +1 -1
  129. package/lib/server-runtime-watchers/index.d.cts +9 -65
  130. package/lib/server-runtime-watchers/index.d.ts +9 -65
  131. package/lib/server-runtime-watchers/index.js +1 -1
  132. package/lib/server-runtime-webhooks/index.d.cts +7 -9
  133. package/lib/server-runtime-webhooks/index.d.ts +7 -9
  134. package/lib/sse-hub-CYXisfXJ.d.cts +63 -0
  135. package/lib/sse-hub-Dodwtc3_.d.ts +63 -0
  136. package/lib/step-machine-public/index.cjs +1 -1
  137. package/lib/step-machine-public/index.d.cts +1 -1
  138. package/lib/step-machine-public/index.d.ts +1 -1
  139. package/lib/step-machine-public/index.js +1 -1
  140. package/lib/{storage-async-interface-BRR4eBjx.d.cts → storage-async-interface-CG0bMqvE.d.ts} +20 -1
  141. package/lib/{storage-async-interface-DhlOVPSp.d.ts → storage-async-interface-CyO-zwVQ.d.cts} +20 -1
  142. package/lib/{storage-interface-BFiD3kyB.d.ts → storage-interface-D-iEiTJA.d.cts} +45 -1
  143. package/lib/{storage-interface-BFiD3kyB.d.cts → storage-interface-D-iEiTJA.d.ts} +45 -1
  144. package/lib/stores/index.d.cts +1 -1
  145. package/lib/stores/index.d.ts +1 -1
  146. package/lib/stores/kv.d.cts +1 -1
  147. package/lib/stores/kv.d.ts +1 -1
  148. package/lib/{types-SO5OZm4s.d.ts → types-BtH3scgE.d.ts} +64 -29
  149. package/lib/{types-Ba8H5_Wo.d.cts → types-Ch0u3FKP.d.cts} +64 -29
  150. package/package.json +4 -5
  151. package/browser/board-livecards-client.js +0 -2
  152. package/examples/board/demo-shell-with-server.html +0 -272
  153. package/examples/board/doc.html +0 -465
  154. package/examples/board/server-config.json +0 -24
  155. package/lib/chat-storage-lib-B9Q34Dyv.d.cts +0 -54
  156. package/lib/chat-storage-lib-DB9iSai2.d.ts +0 -54
  157. package/lib/chunk-5XHOHTLZ.cjs +0 -2
  158. package/lib/chunk-6APH25VI.js +0 -2
  159. package/lib/chunk-76C7N4YT.js +0 -3
  160. package/lib/chunk-76ON3V7R.js +0 -2
  161. package/lib/chunk-7ICPAABP.cjs +0 -7
  162. package/lib/chunk-ASR44K7H.cjs +0 -3
  163. package/lib/chunk-CPAXTVBQ.cjs +0 -2
  164. package/lib/chunk-EGRHWZRV.js +0 -2
  165. package/lib/chunk-EZENHAVZ.cjs +0 -2
  166. package/lib/chunk-GL2OHR2E.cjs +0 -2
  167. package/lib/chunk-GYQXDNNI.cjs +0 -2
  168. package/lib/chunk-IPLSRN6P.cjs +0 -4
  169. package/lib/chunk-J6EGN6S4.cjs +0 -3
  170. package/lib/chunk-JH37NJGP.js +0 -3
  171. package/lib/chunk-JJL5VOQZ.cjs +0 -3
  172. package/lib/chunk-NJJ7WEDT.cjs +0 -2
  173. package/lib/chunk-NKIQRCOM.cjs +0 -2
  174. package/lib/chunk-PBOQ4HYB.cjs +0 -2
  175. package/lib/chunk-PRKRXAVN.js +0 -3
  176. package/lib/chunk-QJVR3FWQ.js +0 -2
  177. package/lib/chunk-S44QZUDX.js +0 -2
  178. package/lib/chunk-TSN3RTXT.js +0 -4
  179. package/lib/chunk-VXJHBWK3.js +0 -2
  180. package/lib/chunk-WHDEBJLT.js +0 -7
  181. package/lib/chunk-YGALANRO.js +0 -2
  182. package/lib/chunk-ZCNN6XPV.js +0 -2
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkIPLSRN6P_cjs=require('../chunk-IPLSRN6P.cjs');require('../chunk-NKIQRCOM.cjs'),require('../chunk-5XHOHTLZ.cjs');var chunkJ6EGN6S4_cjs=require('../chunk-J6EGN6S4.cjs');require('../chunk-PBCDDO4V.cjs'),require('../chunk-JJL5VOQZ.cjs'),require('../chunk-U2N6MCD5.cjs');var chunkSFVO2LB2_cjs=require('../chunk-SFVO2LB2.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');function E(){let n=false;return {async tryAcquire(){return n?null:(n=true,()=>{n=false;})}}}function y(){let n=new Map,r=new Map;return {async enqueue(e){let t={id:globalThis.crypto?.randomUUID?.()??`${Date.now()}-${Math.random().toString(36).slice(2,10)}`,body:e,enqueuedAt:new Date().toISOString(),attempt:0};return n.set(t.id,t),t},async enqueueIfAbsent(e,t){for(let i of n.values())if(i.dedupKey===t)return null;let a={id:globalThis.crypto?.randomUUID?.()??`${Date.now()}-${Math.random().toString(36).slice(2,10)}`,body:e,enqueuedAt:new Date().toISOString(),attempt:0,dedupKey:t};return n.set(a.id,a),a},async lease(e){let t=Math.max(1,Math.floor(e?.max??1)),a=Math.max(1,Math.floor(e?.visibilityMs??6e4)),i=Date.now();for(let o of n.values())o.leaseExpiresAt&&Date.parse(o.leaseExpiresAt)<=i&&(delete o.leaseToken,delete o.leaseExpiresAt);let s=[];for(let o of n.values()){if(s.length>=t)break;o.leaseToken||(o.attempt+=1,o.leaseToken=globalThis.crypto?.randomUUID?.()??`${Date.now()}-${Math.random().toString(36).slice(2,10)}`,o.leaseExpiresAt=new Date(Date.now()+a).toISOString(),s.push({id:o.id,body:o.body,enqueuedAt:o.enqueuedAt,attempt:o.attempt,leaseToken:o.leaseToken,leaseExpiresAt:o.leaseExpiresAt}));}return s},async ack(e,t){let a=n.get(e);return !a||a.leaseToken!==t?false:(n.delete(e),true)},async nack(e,t,a){let i=n.get(e);return !i||i.leaseToken!==t?false:(delete i.leaseToken,delete i.leaseExpiresAt,a?.dead&&(n.delete(e),r.set(e,{...i,reason:a.reason})),true)},async peekActive(e=""){return Array.from(n.values()).filter(t=>!t.leaseToken).filter(t=>!e||t.id.startsWith(e)).map(t=>({id:t.id,body:t.body,enqueuedAt:t.enqueuedAt,attempt:t.attempt}))},async peekDeadLetter(e=""){return Array.from(r.values()).filter(t=>!e||t.id.startsWith(e)).map(t=>({id:t.id,body:t.body,enqueuedAt:t.enqueuedAt,attempt:t.attempt,reason:t.reason}))}}}function B(n){let r=chunkIPLSRN6P_cjs.e(n);return {async read(e){return r.read(e)},async write(e,t){r.write(e,t);},async delete(e){r.delete(e);},async listKeys(e){return r.listKeys(e)}}}function L(n){let r=chunkIPLSRN6P_cjs.b(n);return {async read(e){return r.read(e)},async write(e,t){r.write(e,t);},async exists(e){return r.exists(e)},async remove(e){r.remove(e);},async readBytes(e){return r.readBytes?.(e)??null},async writeBytes(e,t){await r.writeBytes?.(e,t);},async listKeys(e){return r.listKeys(e)},async stat(e){return r.stat?.(e)??null}}}function k(n){let r=chunkIPLSRN6P_cjs.c(n);return {async read(e){return r.read(e)},async write(e,t){r.write(e,t);},async exists(e){return r.exists(e)},async remove(e){r.remove(e);},async readBytes(e){return r.readBytes?.(e)??null},async writeBytes(e,t){await r.writeBytes?.(e,t);},async listKeys(e){return r.listKeys(e)},async stat(e){return r.stat?.(e)??null},async getUniqueKey(e,t){return r.getUniqueKey(e,t)},async create(e,t,a){return r.create(e,t,a)},keyRef(e){return r.keyRef(e)},config:{async get(e){return r.config.get(e)},async set(e,t){r.config.set(e,t);}}}}function K(n){let r=chunkIPLSRN6P_cjs.f(n);function e(t){return {id:t.id,payload:t.event}}return {async append(t){let a={id:r.generateId(),event:t};return r.appendEntry(a),e(a)},async readAll(){return r.readAllEntries().map(e)},async readAfter(t){let a=r.readAllEntries().map(e);if(!t)return {entries:a,newCursor:a.length>0?a[a.length-1].id:null};let i=a.findIndex(o=>o.id===t),s=i===-1?a:a.slice(i+1);return {entries:s,newCursor:s.length>0?s[s.length-1].id:t}}}}function x(n){let r=chunkIPLSRN6P_cjs.d(n);return {stream(e){let t=r.stream(e);return {async append(a){return t.append(a)},async readAll(){return t.readAll()},async readAfter(a){return t.readAfter(a)},async clear(){t.clear?.();}}},blob(e){let t=r.blob(e);return {async read(a){return t.read(a)},async write(a,i){t.write(a,i);},async exists(a){return t.exists(a)},async remove(a){t.remove(a);},async readBytes(a){return t.readBytes?.(a)??null},async writeBytes(a,i){await t.writeBytes?.(a,i);},async listKeys(a){return t.listKeys(a)},async stat(a){return t.stat?.(a)??null}}},async listStreams(e){return r.listStreams(e)},async listBlobs(e){return r.listBlobs(e)},config:{async get(e){return r.config.get(e)},async set(e,t){r.config.set(e,t);}}}}function $(n){return String(n||"").trim()}function T(n){return {kind:"local-storage",value:$(n)}}function c(n){return chunkSFVO2LB2_cjs.a(T(n))}function q(n){let r=`boards:${n}`;return {baseRef:T(r),cardStoreRef:c(`${r}:cards`),outputsStoreRef:c(`${r}:runtime-out`),scratchStoreRef:c(`${r}:scratch`),archiveStoreRef:c(`${r}:archive`),chatStoreRef:c(`${r}:chat`),artifactsStoreRef:c(`${r}:files`)}}function g(n,r){try{let e=chunkSFVO2LB2_cjs.b(n);if(e?.kind==="local-storage"&&e.value)return $(e.value)}catch{}return r}function D(n,r={}){let e=q(n),t=y(),a=y(),i=y();return chunkJ6EGN6S4_cjs.i({boardId:n,kvStorage(s){return B(`${e.baseRef.value}:${s||"root"}`)},kvStorageForRef(s){return B(g(s,`${e.baseRef.value}:root`))},blobStorage(s){return L(s?`${e.baseRef.value}:${s}`:e.baseRef.value)},scratchStorage(){return k(`${e.baseRef.value}:scratch`)},scratchStorageForRef(s){return k(g(s,`${e.baseRef.value}:scratch`))},archiveFactory(){return x(`${e.baseRef.value}:archive`)},archiveFactoryForRef(s){return x(g(s,`${e.baseRef.value}:archive`))},journalStorage(){return K(`${e.baseRef.value}:journal`)},queueStorage:t,chatAgentQueueStorage:a,processAccumulatedQueueStorage:i,lock:E(),resolveBlob:async s=>{let o=s?.kind==="local-storage"?s:null;if(!o?.value)throw new Error(`Unsupported localStorage ref: ${chunkSFVO2LB2_cjs.a(s)}`);let f=chunkIPLSRN6P_cjs.b(o.value),l=await Promise.resolve(f.read(""));if(l===null)throw new Error(`Blob not found: ${chunkSFVO2LB2_cjs.a(s)}`);try{let p=JSON.parse(l);if(p?.__kind==="bytes-b64"&&typeof p.data=="string"){let S=await Promise.resolve(f.readBytes?.(""));if(S)return new TextDecoder().decode(S)}}catch{}return l},hashFn:chunkIPLSRN6P_cjs.a,genId:()=>(globalThis.crypto?.randomUUID?.()??`${Date.now()}-${Math.random().toString(36).slice(2,10)}`).replace(/-/g,""),requestProcessAccumulated:r.requestProcessAccumulated,publishBoardChangeNotifications:r.publishBoardChangeNotifications,onWarn:s=>console.warn(`[localstorage-board-adapter:${n}] ${s}`)})}function U(n,r={}){return {refs:{...q(n),...r.refs??{}},boardAdapter:D(n,r)}}exports.createLocalStorageBoardAdapter=D;exports.createLocalStorageBoardRefs=q;exports.createLocalStorageBoardRuntimeBundle=U;exports.makeLocalStorageRef=T;exports.serializeLocalStorageRef=c;//# sourceMappingURL=index.cjs.map
1
+ 'use strict';var chunkHFW7E2Z7_cjs=require('../chunk-HFW7E2Z7.cjs'),chunkMCPADH33_cjs=require('../chunk-MCPADH33.cjs');require('../chunk-R44X3RQB.cjs'),require('../chunk-CMFD27ZC.cjs');var chunk37HDEW26_cjs=require('../chunk-37HDEW26.cjs');require('../chunk-PBCDDO4V.cjs'),require('../chunk-NDAKMJQK.cjs'),require('../chunk-7JVHYHT2.cjs');var chunkVQCIOKJV_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');function K(){let a=false;return {async tryAcquire(){return a?null:(a=true,()=>{a=false;})}}}function L(){let a=new Map,n=new Map,t=new Map;return {async enqueue(r){let e={id:globalThis.crypto?.randomUUID?.()??`${Date.now()}-${Math.random().toString(36).slice(2,10)}`,body:r,enqueuedAt:new Date().toISOString(),attempt:0};return a.set(e.id,e),e},async enqueueMany(r){let e=[];for(let s of r)e.push(await this.enqueue(s));return e},async enqueueIfAbsent(r,e){for(let o of a.values())if(o.dedupKey===e)return null;for(let o of n.values())if(o.dedupKey===e)return null;let s={id:globalThis.crypto?.randomUUID?.()??`${Date.now()}-${Math.random().toString(36).slice(2,10)}`,body:r,enqueuedAt:new Date().toISOString(),attempt:0,dedupKey:e};return a.set(s.id,s),s},async stage(r,e){let s=e?.dedupKey;if(s){for(let i of a.values())if(i.dedupKey===s)return null;for(let i of n.values())if(i.dedupKey===s)return null}let o={id:globalThis.crypto?.randomUUID?.()??`${Date.now()}-${Math.random().toString(36).slice(2,10)}`,body:r,enqueuedAt:new Date().toISOString(),attempt:0,...s?{dedupKey:s}:{}};return n.set(o.id,o),o},async commitStaged(r){let e=n.get(r);return e?(n.delete(r),a.set(r,{...e,enqueuedAt:new Date().toISOString(),attempt:0}),true):false},async discardStaged(r,e){let s=n.get(r);return s?(n.delete(r),t.set(r,{...s,reason:e}),true):false},async peekStaged(r=""){return Array.from(n.values()).filter(e=>!r||e.id.startsWith(r)).map(e=>({id:e.id,body:e.body,enqueuedAt:e.enqueuedAt,attempt:e.attempt}))},async lease(r){let e=Math.max(1,Math.floor(r?.max??1)),s=Math.max(1,Math.floor(r?.visibilityMs??6e4)),o=Date.now();for(let u of a.values())u.leaseExpiresAt&&Date.parse(u.leaseExpiresAt)<=o&&(delete u.leaseToken,delete u.leaseExpiresAt);let i=[];for(let u of a.values()){if(i.length>=e)break;u.leaseToken||(u.attempt+=1,u.leaseToken=globalThis.crypto?.randomUUID?.()??`${Date.now()}-${Math.random().toString(36).slice(2,10)}`,u.leaseExpiresAt=new Date(Date.now()+s).toISOString(),i.push({id:u.id,body:u.body,enqueuedAt:u.enqueuedAt,attempt:u.attempt,leaseToken:u.leaseToken,leaseExpiresAt:u.leaseExpiresAt}));}return i},async ack(r,e){let s=a.get(r);return !s||s.leaseToken!==e?false:(a.delete(r),true)},async nack(r,e,s){let o=a.get(r);return !o||o.leaseToken!==e?false:(delete o.leaseToken,delete o.leaseExpiresAt,s?.dead&&(a.delete(r),t.set(r,{...o,reason:s.reason})),true)},async peekActive(r=""){return Array.from(a.values()).filter(e=>!e.leaseToken).filter(e=>!r||e.id.startsWith(r)).map(e=>({id:e.id,body:e.body,enqueuedAt:e.enqueuedAt,attempt:e.attempt}))},async peekDeadLetter(r=""){return Array.from(t.values()).filter(e=>!r||e.id.startsWith(r)).map(e=>({id:e.id,body:e.body,enqueuedAt:e.enqueuedAt,attempt:e.attempt,reason:e.reason}))}}}function g(a){let n=chunkHFW7E2Z7_cjs.e(a);return {async read(t){return n.read(t)},async write(t,r){n.write(t,r);},async delete(t){n.delete(t);},async listKeys(t){return n.listKeys(t)}}}function $(a){let n=chunkHFW7E2Z7_cjs.b(a);return {async read(t){return n.read(t)},async write(t,r){n.write(t,r);},async exists(t){return n.exists(t)},async remove(t){n.remove(t);},async readBytes(t){return n.readBytes?.(t)??null},async writeBytes(t,r){await n.writeBytes?.(t,r);},async listKeys(t){return n.listKeys(t)},async stat(t){return n.stat?.(t)??null},async renameKey(t,r){let e=await n.read(t);return e==null?false:(n.write(r,e),n.remove(t),true)}}}function q(a){let n=chunkHFW7E2Z7_cjs.c(a);return {async read(t){return n.read(t)},async write(t,r){n.write(t,r);},async exists(t){return n.exists(t)},async remove(t){n.remove(t);},async readBytes(t){return n.readBytes?.(t)??null},async writeBytes(t,r){await n.writeBytes?.(t,r);},async listKeys(t){return n.listKeys(t)},async stat(t){return n.stat?.(t)??null},async getUniqueKey(t,r){return n.getUniqueKey(t,r)},async create(t,r,e){return n.create(t,r,e)},keyRef(t){return n.keyRef(t)},async renameKey(t,r){let e=n.read(t);return e==null?false:(n.write(r,e),n.remove(t),true)},config:{async get(t){return n.config.get(t)},async set(t,r){n.config.set(t,r);}}}}function f(a){let n=chunkHFW7E2Z7_cjs.f(a);function t(r){return {id:r.id,payload:r.event}}return {async append(r){let e={id:n.generateId(),event:r};return n.appendEntry(e),t(e)},async readAll(){return n.readAllEntries().map(t)},async readAfter(r){let e=n.readAllEntries().map(t);if(!r)return {entries:e,newCursor:e.length>0?e[e.length-1].id:null};let s=e.findIndex(i=>i.id===r),o=s===-1?e:e.slice(s+1);return {entries:o,newCursor:o.length>0?o[o.length-1].id:r}}}}function B(a){let n=chunkHFW7E2Z7_cjs.d(a);return {stream(t){let r=n.stream(t);return {async append(e){return r.append(e)},async readAll(){return r.readAll()},async readAfter(e){return r.readAfter(e)},async clear(){r.clear?.();}}},blob(t){let r=n.blob(t);return {async read(e){return r.read(e)},async write(e,s){r.write(e,s);},async exists(e){return r.exists(e)},async remove(e){r.remove(e);},async readBytes(e){return r.readBytes?.(e)??null},async writeBytes(e,s){await r.writeBytes?.(e,s);},async listKeys(e){return r.listKeys(e)},async stat(e){return r.stat?.(e)??null},async renameKey(e,s){let o=r.read(e);return o==null?false:(r.write(s,o),r.remove(e),true)}}},async listStreams(t){return n.listStreams(t)},async listBlobs(t){return n.listBlobs(t)},config:{async get(t){return n.config.get(t)},async set(t,r){n.config.set(t,r);}}}}function T(a){return String(a||"").trim()}function M(a){return String(a).replace(/[^a-zA-Z0-9_-]/g,"_")}function k(a){return {kind:"local-storage",value:T(a)}}function c(a){return chunkVQCIOKJV_cjs.a(k(a))}function x(a){let n=`boards:${a}`;return {baseRef:k(n),boardRuntimeStoreRef:c(`${n}:runtime-board`),cardStoreRef:c(`${n}:cards`),outputsStoreRef:c(`${n}:runtime-out`),queueStoreRef:c(`${n}:runtime`),scratchStoreRef:c(`${n}:scratch`),chatStoreRef:c(`${n}:chat`),artifactsStoreRef:c(`${n}:files`),fetchedSourcesStoreRef:c(`${n}:sources`)}}function l(a,n){try{let t=chunkVQCIOKJV_cjs.b(a);if(t?.kind==="local-storage"&&t.value)return T(t.value)}catch{}return n}function D(a,n={}){let t=x(a),r=new Map;return chunk37HDEW26_cjs.c({boardId:a,kvStorage(e){return g(`${t.baseRef.value}:${e||"root"}`)},kvStorageForRef(e){return g(l(e,`${t.baseRef.value}:root`))},blobStorage(e){return $(e?`${t.baseRef.value}:${e}`:t.baseRef.value)},blobStorageForRef(e){return $(l(e,t.baseRef.value))},chatStorageForRef(e){let s=l(e,`${t.baseRef.value}:chat`);return chunkMCPADH33_cjs.b(o=>f(`${s}:journal:${M(o)}`),g(s))},queueStoreRef:t.queueStoreRef,queueStorageForRef(e,s){let o=`${l(e,`${t.baseRef.value}:runtime`)}:queue:${s}`,i=r.get(o);return i||(i=L(),r.set(o,i)),i},scratchStorage(){return q(`${t.baseRef.value}:scratch`)},scratchStorageForRef(e){return q(l(e,`${t.baseRef.value}:scratch`))},archiveFactory(){return B(`${t.baseRef.value}:archive`)},archiveFactoryForRef(e){return B(l(e,`${t.baseRef.value}:archive`))},journalStorage(){return f(`${t.baseRef.value}:journal`)},journalStorageForRef(e){return f(`${l(e,`${t.baseRef.value}:runtime-board`)}:journal`)},lock:K(),resolveBlob:async e=>{let s=e?.kind==="local-storage"?e:null;if(!s?.value)throw new Error(`Unsupported localStorage ref: ${chunkVQCIOKJV_cjs.a(e)}`);let o=chunkHFW7E2Z7_cjs.b(s.value),i=await Promise.resolve(o.read(""));if(i===null)throw new Error(`Blob not found: ${chunkVQCIOKJV_cjs.a(e)}`);try{let u=JSON.parse(i);if(u?.__kind==="bytes-b64"&&typeof u.data=="string"){let p=await Promise.resolve(o.readBytes?.(""));if(p)return new TextDecoder().decode(p)}}catch{}return i},hashFn:chunkHFW7E2Z7_cjs.a,genId:()=>(globalThis.crypto?.randomUUID?.()??`${Date.now()}-${Math.random().toString(36).slice(2,10)}`).replace(/-/g,""),requestProcessAccumulated:n.requestProcessAccumulated,publishBoardChangeNotifications:n.publishBoardChangeNotifications,onWarn:e=>console.warn(`[localstorage-board-adapter:${a}] ${e}`)})}function J(a,n={}){return {refs:{...x(a),...n.refs??{}},boardAdapter:D(a,n)}}exports.createLocalStorageBoardAdapter=D;exports.createLocalStorageBoardRefs=x;exports.createLocalStorageBoardRuntimeBundle=J;exports.makeLocalStorageRef=k;exports.serializeLocalStorageRef=c;//# sourceMappingURL=index.cjs.map
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,18 +1,20 @@
1
- import { a as KindValueRef } from '../storage-interface-BFiD3kyB.cjs';
2
- import { A as AsyncBoardPlatformAdapter } from '../board-platform-adapter-async-BfHmHdx2.cjs';
3
- import '../board-live-cards-public-LlVUQPL2.cjs';
1
+ import { a as KindValueRef } from '../storage-interface-D-iEiTJA.cjs';
2
+ import { A as AsyncBoardPlatformAdapter } from '../board-platform-adapter-async-BZIftm36.cjs';
3
+ import '../board-live-cards-public-BT5HrgqZ.cjs';
4
4
  import '../execution-refs.cjs';
5
5
  import '../types-BBhqYGhE.cjs';
6
- import '../storage-async-interface-BRR4eBjx.cjs';
6
+ import '../storage-async-interface-CyO-zwVQ.cjs';
7
7
 
8
8
  interface LocalStorageBoardRefs {
9
9
  baseRef: KindValueRef;
10
+ boardRuntimeStoreRef: string;
10
11
  cardStoreRef: string;
11
12
  outputsStoreRef: string;
13
+ queueStoreRef: string;
12
14
  scratchStoreRef: string;
13
- archiveStoreRef: string;
14
15
  chatStoreRef: string;
15
16
  artifactsStoreRef: string;
17
+ fetchedSourcesStoreRef: string;
16
18
  }
17
19
  interface LocalStorageBoardAdapterOptions {
18
20
  refs?: Partial<LocalStorageBoardRefs>;
@@ -26,12 +28,14 @@ declare function createLocalStorageBoardAdapter(boardId: string, options?: Local
26
28
  declare function createLocalStorageBoardRuntimeBundle(boardId: string, options?: LocalStorageBoardAdapterOptions): {
27
29
  refs: {
28
30
  baseRef: KindValueRef;
31
+ boardRuntimeStoreRef: string;
29
32
  cardStoreRef: string;
30
33
  outputsStoreRef: string;
34
+ queueStoreRef: string;
31
35
  scratchStoreRef: string;
32
- archiveStoreRef: string;
33
36
  chatStoreRef: string;
34
37
  artifactsStoreRef: string;
38
+ fetchedSourcesStoreRef: string;
35
39
  };
36
40
  boardAdapter: AsyncBoardPlatformAdapter;
37
41
  };
@@ -1,18 +1,20 @@
1
- import { a as KindValueRef } from '../storage-interface-BFiD3kyB.js';
2
- import { A as AsyncBoardPlatformAdapter } from '../board-platform-adapter-async-DYahVzIK.js';
3
- import '../board-live-cards-public-JNRKfBZy.js';
1
+ import { a as KindValueRef } from '../storage-interface-D-iEiTJA.js';
2
+ import { A as AsyncBoardPlatformAdapter } from '../board-platform-adapter-async-JP9V-U5E.js';
3
+ import '../board-live-cards-public-DSRamFm8.js';
4
4
  import '../execution-refs.js';
5
5
  import '../types-BBhqYGhE.js';
6
- import '../storage-async-interface-DhlOVPSp.js';
6
+ import '../storage-async-interface-CG0bMqvE.js';
7
7
 
8
8
  interface LocalStorageBoardRefs {
9
9
  baseRef: KindValueRef;
10
+ boardRuntimeStoreRef: string;
10
11
  cardStoreRef: string;
11
12
  outputsStoreRef: string;
13
+ queueStoreRef: string;
12
14
  scratchStoreRef: string;
13
- archiveStoreRef: string;
14
15
  chatStoreRef: string;
15
16
  artifactsStoreRef: string;
17
+ fetchedSourcesStoreRef: string;
16
18
  }
17
19
  interface LocalStorageBoardAdapterOptions {
18
20
  refs?: Partial<LocalStorageBoardRefs>;
@@ -26,12 +28,14 @@ declare function createLocalStorageBoardAdapter(boardId: string, options?: Local
26
28
  declare function createLocalStorageBoardRuntimeBundle(boardId: string, options?: LocalStorageBoardAdapterOptions): {
27
29
  refs: {
28
30
  baseRef: KindValueRef;
31
+ boardRuntimeStoreRef: string;
29
32
  cardStoreRef: string;
30
33
  outputsStoreRef: string;
34
+ queueStoreRef: string;
31
35
  scratchStoreRef: string;
32
- archiveStoreRef: string;
33
36
  chatStoreRef: string;
34
37
  artifactsStoreRef: string;
38
+ fetchedSourcesStoreRef: string;
35
39
  };
36
40
  boardAdapter: AsyncBoardPlatformAdapter;
37
41
  };
@@ -1,2 +1,2 @@
1
- import {a as a$1,b,f,d,c as c$1,e}from'../chunk-TSN3RTXT.js';import'../chunk-EGRHWZRV.js';import'../chunk-S44QZUDX.js';import {i}from'../chunk-PRKRXAVN.js';import'../chunk-HEEDJEKM.js';import'../chunk-JH37NJGP.js';import'../chunk-XQRNDX4Q.js';import {a,b as b$1}from'../chunk-BQS3EIEK.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';function E(){let n=false;return {async tryAcquire(){return n?null:(n=true,()=>{n=false;})}}}function y(){let n=new Map,r=new Map;return {async enqueue(e){let t={id:globalThis.crypto?.randomUUID?.()??`${Date.now()}-${Math.random().toString(36).slice(2,10)}`,body:e,enqueuedAt:new Date().toISOString(),attempt:0};return n.set(t.id,t),t},async enqueueIfAbsent(e,t){for(let i of n.values())if(i.dedupKey===t)return null;let a={id:globalThis.crypto?.randomUUID?.()??`${Date.now()}-${Math.random().toString(36).slice(2,10)}`,body:e,enqueuedAt:new Date().toISOString(),attempt:0,dedupKey:t};return n.set(a.id,a),a},async lease(e){let t=Math.max(1,Math.floor(e?.max??1)),a=Math.max(1,Math.floor(e?.visibilityMs??6e4)),i=Date.now();for(let o of n.values())o.leaseExpiresAt&&Date.parse(o.leaseExpiresAt)<=i&&(delete o.leaseToken,delete o.leaseExpiresAt);let s=[];for(let o of n.values()){if(s.length>=t)break;o.leaseToken||(o.attempt+=1,o.leaseToken=globalThis.crypto?.randomUUID?.()??`${Date.now()}-${Math.random().toString(36).slice(2,10)}`,o.leaseExpiresAt=new Date(Date.now()+a).toISOString(),s.push({id:o.id,body:o.body,enqueuedAt:o.enqueuedAt,attempt:o.attempt,leaseToken:o.leaseToken,leaseExpiresAt:o.leaseExpiresAt}));}return s},async ack(e,t){let a=n.get(e);return !a||a.leaseToken!==t?false:(n.delete(e),true)},async nack(e,t,a){let i=n.get(e);return !i||i.leaseToken!==t?false:(delete i.leaseToken,delete i.leaseExpiresAt,a?.dead&&(n.delete(e),r.set(e,{...i,reason:a.reason})),true)},async peekActive(e=""){return Array.from(n.values()).filter(t=>!t.leaseToken).filter(t=>!e||t.id.startsWith(e)).map(t=>({id:t.id,body:t.body,enqueuedAt:t.enqueuedAt,attempt:t.attempt}))},async peekDeadLetter(e=""){return Array.from(r.values()).filter(t=>!e||t.id.startsWith(e)).map(t=>({id:t.id,body:t.body,enqueuedAt:t.enqueuedAt,attempt:t.attempt,reason:t.reason}))}}}function B(n){let r=e(n);return {async read(e){return r.read(e)},async write(e,t){r.write(e,t);},async delete(e){r.delete(e);},async listKeys(e){return r.listKeys(e)}}}function L(n){let r=b(n);return {async read(e){return r.read(e)},async write(e,t){r.write(e,t);},async exists(e){return r.exists(e)},async remove(e){r.remove(e);},async readBytes(e){return r.readBytes?.(e)??null},async writeBytes(e,t){await r.writeBytes?.(e,t);},async listKeys(e){return r.listKeys(e)},async stat(e){return r.stat?.(e)??null}}}function k(n){let r=c$1(n);return {async read(e){return r.read(e)},async write(e,t){r.write(e,t);},async exists(e){return r.exists(e)},async remove(e){r.remove(e);},async readBytes(e){return r.readBytes?.(e)??null},async writeBytes(e,t){await r.writeBytes?.(e,t);},async listKeys(e){return r.listKeys(e)},async stat(e){return r.stat?.(e)??null},async getUniqueKey(e,t){return r.getUniqueKey(e,t)},async create(e,t,a){return r.create(e,t,a)},keyRef(e){return r.keyRef(e)},config:{async get(e){return r.config.get(e)},async set(e,t){r.config.set(e,t);}}}}function K(n){let r=f(n);function e(t){return {id:t.id,payload:t.event}}return {async append(t){let a={id:r.generateId(),event:t};return r.appendEntry(a),e(a)},async readAll(){return r.readAllEntries().map(e)},async readAfter(t){let a=r.readAllEntries().map(e);if(!t)return {entries:a,newCursor:a.length>0?a[a.length-1].id:null};let i=a.findIndex(o=>o.id===t),s=i===-1?a:a.slice(i+1);return {entries:s,newCursor:s.length>0?s[s.length-1].id:t}}}}function x(n){let r=d(n);return {stream(e){let t=r.stream(e);return {async append(a){return t.append(a)},async readAll(){return t.readAll()},async readAfter(a){return t.readAfter(a)},async clear(){t.clear?.();}}},blob(e){let t=r.blob(e);return {async read(a){return t.read(a)},async write(a,i){t.write(a,i);},async exists(a){return t.exists(a)},async remove(a){t.remove(a);},async readBytes(a){return t.readBytes?.(a)??null},async writeBytes(a,i){await t.writeBytes?.(a,i);},async listKeys(a){return t.listKeys(a)},async stat(a){return t.stat?.(a)??null}}},async listStreams(e){return r.listStreams(e)},async listBlobs(e){return r.listBlobs(e)},config:{async get(e){return r.config.get(e)},async set(e,t){r.config.set(e,t);}}}}function $(n){return String(n||"").trim()}function T(n){return {kind:"local-storage",value:$(n)}}function c(n){return a(T(n))}function q(n){let r=`boards:${n}`;return {baseRef:T(r),cardStoreRef:c(`${r}:cards`),outputsStoreRef:c(`${r}:runtime-out`),scratchStoreRef:c(`${r}:scratch`),archiveStoreRef:c(`${r}:archive`),chatStoreRef:c(`${r}:chat`),artifactsStoreRef:c(`${r}:files`)}}function g(n,r){try{let e=b$1(n);if(e?.kind==="local-storage"&&e.value)return $(e.value)}catch{}return r}function D(n,r={}){let e=q(n),t=y(),a$2=y(),i$1=y();return i({boardId:n,kvStorage(s){return B(`${e.baseRef.value}:${s||"root"}`)},kvStorageForRef(s){return B(g(s,`${e.baseRef.value}:root`))},blobStorage(s){return L(s?`${e.baseRef.value}:${s}`:e.baseRef.value)},scratchStorage(){return k(`${e.baseRef.value}:scratch`)},scratchStorageForRef(s){return k(g(s,`${e.baseRef.value}:scratch`))},archiveFactory(){return x(`${e.baseRef.value}:archive`)},archiveFactoryForRef(s){return x(g(s,`${e.baseRef.value}:archive`))},journalStorage(){return K(`${e.baseRef.value}:journal`)},queueStorage:t,chatAgentQueueStorage:a$2,processAccumulatedQueueStorage:i$1,lock:E(),resolveBlob:async s=>{let o=s?.kind==="local-storage"?s:null;if(!o?.value)throw new Error(`Unsupported localStorage ref: ${a(s)}`);let f=b(o.value),l=await Promise.resolve(f.read(""));if(l===null)throw new Error(`Blob not found: ${a(s)}`);try{let p=JSON.parse(l);if(p?.__kind==="bytes-b64"&&typeof p.data=="string"){let S=await Promise.resolve(f.readBytes?.(""));if(S)return new TextDecoder().decode(S)}}catch{}return l},hashFn:a$1,genId:()=>(globalThis.crypto?.randomUUID?.()??`${Date.now()}-${Math.random().toString(36).slice(2,10)}`).replace(/-/g,""),requestProcessAccumulated:r.requestProcessAccumulated,publishBoardChangeNotifications:r.publishBoardChangeNotifications,onWarn:s=>console.warn(`[localstorage-board-adapter:${n}] ${s}`)})}function U(n,r={}){return {refs:{...q(n),...r.refs??{}},boardAdapter:D(n,r)}}export{D as createLocalStorageBoardAdapter,q as createLocalStorageBoardRefs,U as createLocalStorageBoardRuntimeBundle,T as makeLocalStorageRef,c as serializeLocalStorageRef};//# sourceMappingURL=index.js.map
1
+ import {a as a$1,b,f as f$1,d,c as c$2,e}from'../chunk-VS3BXEYK.js';import {b as b$1}from'../chunk-Y4WK7HE4.js';import'../chunk-7BTZCOT5.js';import'../chunk-GU3T75C4.js';import {c as c$1}from'../chunk-NNSBBO5R.js';import'../chunk-HEEDJEKM.js';import'../chunk-DOFNXJ4C.js';import'../chunk-ANKA7HEJ.js';import {a,b as b$2}from'../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';function K(){let a=false;return {async tryAcquire(){return a?null:(a=true,()=>{a=false;})}}}function L(){let a=new Map,n=new Map,t=new Map;return {async enqueue(r){let e={id:globalThis.crypto?.randomUUID?.()??`${Date.now()}-${Math.random().toString(36).slice(2,10)}`,body:r,enqueuedAt:new Date().toISOString(),attempt:0};return a.set(e.id,e),e},async enqueueMany(r){let e=[];for(let s of r)e.push(await this.enqueue(s));return e},async enqueueIfAbsent(r,e){for(let o of a.values())if(o.dedupKey===e)return null;for(let o of n.values())if(o.dedupKey===e)return null;let s={id:globalThis.crypto?.randomUUID?.()??`${Date.now()}-${Math.random().toString(36).slice(2,10)}`,body:r,enqueuedAt:new Date().toISOString(),attempt:0,dedupKey:e};return a.set(s.id,s),s},async stage(r,e){let s=e?.dedupKey;if(s){for(let i of a.values())if(i.dedupKey===s)return null;for(let i of n.values())if(i.dedupKey===s)return null}let o={id:globalThis.crypto?.randomUUID?.()??`${Date.now()}-${Math.random().toString(36).slice(2,10)}`,body:r,enqueuedAt:new Date().toISOString(),attempt:0,...s?{dedupKey:s}:{}};return n.set(o.id,o),o},async commitStaged(r){let e=n.get(r);return e?(n.delete(r),a.set(r,{...e,enqueuedAt:new Date().toISOString(),attempt:0}),true):false},async discardStaged(r,e){let s=n.get(r);return s?(n.delete(r),t.set(r,{...s,reason:e}),true):false},async peekStaged(r=""){return Array.from(n.values()).filter(e=>!r||e.id.startsWith(r)).map(e=>({id:e.id,body:e.body,enqueuedAt:e.enqueuedAt,attempt:e.attempt}))},async lease(r){let e=Math.max(1,Math.floor(r?.max??1)),s=Math.max(1,Math.floor(r?.visibilityMs??6e4)),o=Date.now();for(let u of a.values())u.leaseExpiresAt&&Date.parse(u.leaseExpiresAt)<=o&&(delete u.leaseToken,delete u.leaseExpiresAt);let i=[];for(let u of a.values()){if(i.length>=e)break;u.leaseToken||(u.attempt+=1,u.leaseToken=globalThis.crypto?.randomUUID?.()??`${Date.now()}-${Math.random().toString(36).slice(2,10)}`,u.leaseExpiresAt=new Date(Date.now()+s).toISOString(),i.push({id:u.id,body:u.body,enqueuedAt:u.enqueuedAt,attempt:u.attempt,leaseToken:u.leaseToken,leaseExpiresAt:u.leaseExpiresAt}));}return i},async ack(r,e){let s=a.get(r);return !s||s.leaseToken!==e?false:(a.delete(r),true)},async nack(r,e,s){let o=a.get(r);return !o||o.leaseToken!==e?false:(delete o.leaseToken,delete o.leaseExpiresAt,s?.dead&&(a.delete(r),t.set(r,{...o,reason:s.reason})),true)},async peekActive(r=""){return Array.from(a.values()).filter(e=>!e.leaseToken).filter(e=>!r||e.id.startsWith(r)).map(e=>({id:e.id,body:e.body,enqueuedAt:e.enqueuedAt,attempt:e.attempt}))},async peekDeadLetter(r=""){return Array.from(t.values()).filter(e=>!r||e.id.startsWith(r)).map(e=>({id:e.id,body:e.body,enqueuedAt:e.enqueuedAt,attempt:e.attempt,reason:e.reason}))}}}function g(a){let n=e(a);return {async read(t){return n.read(t)},async write(t,r){n.write(t,r);},async delete(t){n.delete(t);},async listKeys(t){return n.listKeys(t)}}}function $(a){let n=b(a);return {async read(t){return n.read(t)},async write(t,r){n.write(t,r);},async exists(t){return n.exists(t)},async remove(t){n.remove(t);},async readBytes(t){return n.readBytes?.(t)??null},async writeBytes(t,r){await n.writeBytes?.(t,r);},async listKeys(t){return n.listKeys(t)},async stat(t){return n.stat?.(t)??null},async renameKey(t,r){let e=await n.read(t);return e==null?false:(n.write(r,e),n.remove(t),true)}}}function q(a){let n=c$2(a);return {async read(t){return n.read(t)},async write(t,r){n.write(t,r);},async exists(t){return n.exists(t)},async remove(t){n.remove(t);},async readBytes(t){return n.readBytes?.(t)??null},async writeBytes(t,r){await n.writeBytes?.(t,r);},async listKeys(t){return n.listKeys(t)},async stat(t){return n.stat?.(t)??null},async getUniqueKey(t,r){return n.getUniqueKey(t,r)},async create(t,r,e){return n.create(t,r,e)},keyRef(t){return n.keyRef(t)},async renameKey(t,r){let e=n.read(t);return e==null?false:(n.write(r,e),n.remove(t),true)},config:{async get(t){return n.config.get(t)},async set(t,r){n.config.set(t,r);}}}}function f(a){let n=f$1(a);function t(r){return {id:r.id,payload:r.event}}return {async append(r){let e={id:n.generateId(),event:r};return n.appendEntry(e),t(e)},async readAll(){return n.readAllEntries().map(t)},async readAfter(r){let e=n.readAllEntries().map(t);if(!r)return {entries:e,newCursor:e.length>0?e[e.length-1].id:null};let s=e.findIndex(i=>i.id===r),o=s===-1?e:e.slice(s+1);return {entries:o,newCursor:o.length>0?o[o.length-1].id:r}}}}function B(a){let n=d(a);return {stream(t){let r=n.stream(t);return {async append(e){return r.append(e)},async readAll(){return r.readAll()},async readAfter(e){return r.readAfter(e)},async clear(){r.clear?.();}}},blob(t){let r=n.blob(t);return {async read(e){return r.read(e)},async write(e,s){r.write(e,s);},async exists(e){return r.exists(e)},async remove(e){r.remove(e);},async readBytes(e){return r.readBytes?.(e)??null},async writeBytes(e,s){await r.writeBytes?.(e,s);},async listKeys(e){return r.listKeys(e)},async stat(e){return r.stat?.(e)??null},async renameKey(e,s){let o=r.read(e);return o==null?false:(r.write(s,o),r.remove(e),true)}}},async listStreams(t){return n.listStreams(t)},async listBlobs(t){return n.listBlobs(t)},config:{async get(t){return n.config.get(t)},async set(t,r){n.config.set(t,r);}}}}function T(a){return String(a||"").trim()}function M(a){return String(a).replace(/[^a-zA-Z0-9_-]/g,"_")}function k(a){return {kind:"local-storage",value:T(a)}}function c(a$1){return a(k(a$1))}function x(a){let n=`boards:${a}`;return {baseRef:k(n),boardRuntimeStoreRef:c(`${n}:runtime-board`),cardStoreRef:c(`${n}:cards`),outputsStoreRef:c(`${n}:runtime-out`),queueStoreRef:c(`${n}:runtime`),scratchStoreRef:c(`${n}:scratch`),chatStoreRef:c(`${n}:chat`),artifactsStoreRef:c(`${n}:files`),fetchedSourcesStoreRef:c(`${n}:sources`)}}function l(a,n){try{let t=b$2(a);if(t?.kind==="local-storage"&&t.value)return T(t.value)}catch{}return n}function D(a$2,n={}){let t=x(a$2),r=new Map;return c$1({boardId:a$2,kvStorage(e){return g(`${t.baseRef.value}:${e||"root"}`)},kvStorageForRef(e){return g(l(e,`${t.baseRef.value}:root`))},blobStorage(e){return $(e?`${t.baseRef.value}:${e}`:t.baseRef.value)},blobStorageForRef(e){return $(l(e,t.baseRef.value))},chatStorageForRef(e){let s=l(e,`${t.baseRef.value}:chat`);return b$1(o=>f(`${s}:journal:${M(o)}`),g(s))},queueStoreRef:t.queueStoreRef,queueStorageForRef(e,s){let o=`${l(e,`${t.baseRef.value}:runtime`)}:queue:${s}`,i=r.get(o);return i||(i=L(),r.set(o,i)),i},scratchStorage(){return q(`${t.baseRef.value}:scratch`)},scratchStorageForRef(e){return q(l(e,`${t.baseRef.value}:scratch`))},archiveFactory(){return B(`${t.baseRef.value}:archive`)},archiveFactoryForRef(e){return B(l(e,`${t.baseRef.value}:archive`))},journalStorage(){return f(`${t.baseRef.value}:journal`)},journalStorageForRef(e){return f(`${l(e,`${t.baseRef.value}:runtime-board`)}:journal`)},lock:K(),resolveBlob:async e=>{let s=e?.kind==="local-storage"?e:null;if(!s?.value)throw new Error(`Unsupported localStorage ref: ${a(e)}`);let o=b(s.value),i=await Promise.resolve(o.read(""));if(i===null)throw new Error(`Blob not found: ${a(e)}`);try{let u=JSON.parse(i);if(u?.__kind==="bytes-b64"&&typeof u.data=="string"){let p=await Promise.resolve(o.readBytes?.(""));if(p)return new TextDecoder().decode(p)}}catch{}return i},hashFn:a$1,genId:()=>(globalThis.crypto?.randomUUID?.()??`${Date.now()}-${Math.random().toString(36).slice(2,10)}`).replace(/-/g,""),requestProcessAccumulated:n.requestProcessAccumulated,publishBoardChangeNotifications:n.publishBoardChangeNotifications,onWarn:e=>console.warn(`[localstorage-board-adapter:${a$2}] ${e}`)})}function J(a,n={}){return {refs:{...x(a),...n.refs??{}},boardAdapter:D(a,n)}}export{D as createLocalStorageBoardAdapter,x as createLocalStorageBoardRefs,J as createLocalStorageBoardRuntimeBundle,k as makeLocalStorageRef,c as serializeLocalStorageRef};//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -27,6 +27,9 @@ interface McpControlplaneRegistryDeps {
27
27
  /** Resolves the (lazy) per-board MCP facade for admin tool dispatch. */
28
28
  getMcpFacade: () => Pick<McpFacadeForRegistry, 'listRuntimeCards' | 'adminReadCard' | 'adminUpsertCard' | 'manageAddChatAttachment' | 'manageAddChatEntryAndAnyAttachments' | 'managePatchCard' | 'manageRemoveCard' | 'manageUpsertCard'>;
29
29
  controlplane: {
30
+ subscribeChat: (args: Record<string, unknown>) => unknown;
31
+ unsubscribeChat: (args: Record<string, unknown>) => unknown;
32
+ watchChannel: (args: Record<string, unknown>, subscribed: boolean) => unknown;
30
33
  getChatProcessing: (args: Record<string, unknown>) => unknown;
31
34
  setChatProcessing: (args: Record<string, unknown>, active: boolean) => unknown;
32
35
  getCardMeta: (args: Record<string, unknown>) => unknown;
@@ -27,6 +27,9 @@ interface McpControlplaneRegistryDeps {
27
27
  /** Resolves the (lazy) per-board MCP facade for admin tool dispatch. */
28
28
  getMcpFacade: () => Pick<McpFacadeForRegistry, 'listRuntimeCards' | 'adminReadCard' | 'adminUpsertCard' | 'manageAddChatAttachment' | 'manageAddChatEntryAndAnyAttachments' | 'managePatchCard' | 'manageRemoveCard' | 'manageUpsertCard'>;
29
29
  controlplane: {
30
+ subscribeChat: (args: Record<string, unknown>) => unknown;
31
+ unsubscribeChat: (args: Record<string, unknown>) => unknown;
32
+ watchChannel: (args: Record<string, unknown>, subscribed: boolean) => unknown;
30
33
  getChatProcessing: (args: Record<string, unknown>) => unknown;
31
34
  setChatProcessing: (args: Record<string, unknown>, active: boolean) => unknown;
32
35
  getCardMeta: (args: Record<string, unknown>) => unknown;
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkCPAXTVBQ_cjs=require('../chunk-CPAXTVBQ.cjs');require('../chunk-GL2OHR2E.cjs'),require('../chunk-GNFE24S7.cjs');Object.defineProperty(exports,"createHostedBoardQueueLaneRegistry",{enumerable:true,get:function(){return chunkCPAXTVBQ_cjs.a}});//# sourceMappingURL=index.cjs.map
1
+ 'use strict';var chunkETW3BXHD_cjs=require('../chunk-ETW3BXHD.cjs');require('../chunk-BQUQTOPB.cjs'),require('../chunk-GPCMBPLK.cjs'),require('../chunk-37HDEW26.cjs'),require('../chunk-7JVHYHT2.cjs'),require('../chunk-VQCIOKJV.cjs'),require('../chunk-GNFE24S7.cjs');Object.defineProperty(exports,"createHostedBoardQueueLaneRegistry",{enumerable:true,get:function(){return chunkETW3BXHD_cjs.a}});//# sourceMappingURL=index.cjs.map
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,18 +1,21 @@
1
- import { f as BoardWorkerRequest } from '../board-live-cards-public-LlVUQPL2.cjs';
1
+ import { A as Awaitable, f as BoardWorkerRequest, H as HostedBoardQueueLaneTuning, d as BoardRuntimePlatformAdapter, R as RuntimeLogger } from '../types-Ch0u3FKP.cjs';
2
2
  import { b as QueueLaneRegistry } from '../queue-lane-registry-PaZuFpwp.cjs';
3
- import { b as SingleBoardRuntime, d as BoardRuntimePlatformAdapter, R as RuntimeLogger } from '../types-Ba8H5_Wo.cjs';
4
- import '../storage-interface-BFiD3kyB.cjs';
3
+ import { a as CommandResult } from '../board-live-cards-public-BT5HrgqZ.cjs';
5
4
  import '../execution-refs.cjs';
5
+ import '../storage-interface-D-iEiTJA.cjs';
6
+ import '../board-platform-adapter-async-BZIftm36.cjs';
7
+ import '../storage-async-interface-CyO-zwVQ.cjs';
8
+ import '../board-live-cards-public-async-CYjr4mgX.cjs';
6
9
  import '../types-BBhqYGhE.cjs';
7
- import '../artifacts-store-lib-D9nMkVcE.cjs';
8
- import '../board-platform-adapter-async-BfHmHdx2.cjs';
9
- import '../storage-async-interface-BRR4eBjx.cjs';
10
- import '../board-live-cards-public-async-Di9QB141.cjs';
11
- import '../chat-storage-lib-B9Q34Dyv.cjs';
12
10
 
13
11
  interface HostedBoardQueueLaneRegistryOptions {
14
12
  boardId: string;
15
- runtime: Pick<SingleBoardRuntime, 'processAccumulatedLane' | 'handleChatAgentRequest' | 'queueLaneTuning'>;
13
+ queueStoreRef: string;
14
+ runtime: {
15
+ __drainProcessAccumulatedLane(): Awaitable<CommandResult>;
16
+ handleChatAgentRequest(request: BoardWorkerRequest): Awaitable<void>;
17
+ queueLaneTuning: HostedBoardQueueLaneTuning;
18
+ };
16
19
  boardAdapter: BoardRuntimePlatformAdapter;
17
20
  logger?: RuntimeLogger;
18
21
  executeTaskExecutorRequest?: (args: Record<string, unknown>, request: BoardWorkerRequest) => Promise<void>;
@@ -1,18 +1,21 @@
1
- import { f as BoardWorkerRequest } from '../board-live-cards-public-JNRKfBZy.js';
1
+ import { A as Awaitable, f as BoardWorkerRequest, H as HostedBoardQueueLaneTuning, d as BoardRuntimePlatformAdapter, R as RuntimeLogger } from '../types-BtH3scgE.js';
2
2
  import { b as QueueLaneRegistry } from '../queue-lane-registry-PaZuFpwp.js';
3
- import { b as SingleBoardRuntime, d as BoardRuntimePlatformAdapter, R as RuntimeLogger } from '../types-SO5OZm4s.js';
4
- import '../storage-interface-BFiD3kyB.js';
3
+ import { a as CommandResult } from '../board-live-cards-public-DSRamFm8.js';
5
4
  import '../execution-refs.js';
5
+ import '../storage-interface-D-iEiTJA.js';
6
+ import '../board-platform-adapter-async-JP9V-U5E.js';
7
+ import '../storage-async-interface-CG0bMqvE.js';
8
+ import '../board-live-cards-public-async-DlyC3PgC.js';
6
9
  import '../types-BBhqYGhE.js';
7
- import '../artifacts-store-lib-DSSMqVL2.js';
8
- import '../board-platform-adapter-async-DYahVzIK.js';
9
- import '../storage-async-interface-DhlOVPSp.js';
10
- import '../board-live-cards-public-async-fwd1QI82.js';
11
- import '../chat-storage-lib-DB9iSai2.js';
12
10
 
13
11
  interface HostedBoardQueueLaneRegistryOptions {
14
12
  boardId: string;
15
- runtime: Pick<SingleBoardRuntime, 'processAccumulatedLane' | 'handleChatAgentRequest' | 'queueLaneTuning'>;
13
+ queueStoreRef: string;
14
+ runtime: {
15
+ __drainProcessAccumulatedLane(): Awaitable<CommandResult>;
16
+ handleChatAgentRequest(request: BoardWorkerRequest): Awaitable<void>;
17
+ queueLaneTuning: HostedBoardQueueLaneTuning;
18
+ };
16
19
  boardAdapter: BoardRuntimePlatformAdapter;
17
20
  logger?: RuntimeLogger;
18
21
  executeTaskExecutorRequest?: (args: Record<string, unknown>, request: BoardWorkerRequest) => Promise<void>;
@@ -1,2 +1,2 @@
1
- export{a as createHostedBoardQueueLaneRegistry}from'../chunk-YGALANRO.js';import'../chunk-VXJHBWK3.js';import'../chunk-FW4363Y4.js';//# sourceMappingURL=index.js.map
1
+ export{a as createHostedBoardQueueLaneRegistry}from'../chunk-6OPXQPSC.js';import'../chunk-FOFGEABN.js';import'../chunk-RKKSVOP2.js';import'../chunk-NNSBBO5R.js';import'../chunk-ANKA7HEJ.js';import'../chunk-44L64VQ2.js';import'../chunk-FW4363Y4.js';//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkASR44K7H_cjs=require('../chunk-ASR44K7H.cjs');require('../chunk-EZENHAVZ.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-J6EGN6S4.cjs'),require('../chunk-PBCDDO4V.cjs'),require('../chunk-JJL5VOQZ.cjs'),require('../chunk-U2N6MCD5.cjs'),require('../chunk-SFVO2LB2.cjs'),require('../chunk-G4XXRHL2.cjs'),require('../chunk-LODXIALE.cjs'),require('../chunk-PBOQ4HYB.cjs'),require('../chunk-IXZG74EW.cjs'),require('../chunk-HWYMZK3N.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 chunkASR44K7H_cjs.b}});Object.defineProperty(exports,"createSingleBoardServerRuntime",{enumerable:true,get:function(){return chunkASR44K7H_cjs.a}});Object.defineProperty(exports,"createHostedBoardQueueLaneRegistry",{enumerable:true,get:function(){return chunkCPAXTVBQ_cjs.a}});//# sourceMappingURL=index.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=index.cjs.map
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,15 +1,13 @@
1
- import { M as MultiBoardRuntimeOptions, a as MultiBoardRuntime, S as SingleBoardRuntimeOptions, b as SingleBoardRuntime } from '../types-Ba8H5_Wo.cjs';
2
- export { A as Awaitable, B as BoardContextConfig, c as BoardRuntimeNonCorePublic, d as BoardRuntimePlatformAdapter, e as BoardRuntimePublic, C as ChatHandlerFlowRunner, D as DescribeEnvelope, H as HostedBoardQueueLaneTuning, I as InvocationAdapter, N as NotificationTransport, Q as QueueLaneRuntimeTuning, R as RuntimeLogger, f as RuntimeRequest, g as RuntimeResponse } from '../types-Ba8H5_Wo.cjs';
1
+ import { M as MultiBoardRuntimeOptions, a as MultiBoardRuntime, S as SingleBoardRuntimeOptions, b as SingleBoardRuntime } from '../types-Ch0u3FKP.cjs';
2
+ 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, N as NotificationTransport, Q as QueueLaneRuntimeTuning, R as RuntimeLogger, g as RuntimeRequest, h as RuntimeResponse } from '../types-Ch0u3FKP.cjs';
3
3
  export { HostedBoardQueueLaneRegistryOptions, createHostedBoardQueueLaneRegistry } from '../server-jobs-queue-runner/index.cjs';
4
- export { A as AsyncBoardLiveCardsPublic } from '../board-live-cards-public-async-Di9QB141.cjs';
5
- export { A as AsyncBoardPlatformAdapter } from '../board-platform-adapter-async-BfHmHdx2.cjs';
6
- export { B as BlobStorage, K as KVStorage, a as KindValueRef } from '../storage-interface-BFiD3kyB.cjs';
7
- 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-LlVUQPL2.cjs';
8
- export { C as ChatStorage } from '../chat-storage-lib-B9Q34Dyv.cjs';
4
+ export { A as AsyncBoardLiveCardsPublic } from '../board-live-cards-public-async-CYjr4mgX.cjs';
5
+ export { A as AsyncBoardPlatformAdapter } from '../board-platform-adapter-async-BZIftm36.cjs';
6
+ export { B as BlobStorage, K as KVStorage, a as KindValueRef } from '../storage-interface-D-iEiTJA.cjs';
7
+ 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';
9
8
  export { ExecutionRef } from '../execution-refs.cjs';
10
- import '../artifacts-store-lib-D9nMkVcE.cjs';
11
9
  import '../queue-lane-registry-PaZuFpwp.cjs';
12
- import '../storage-async-interface-BRR4eBjx.cjs';
10
+ import '../storage-async-interface-CyO-zwVQ.cjs';
13
11
  import '../types-BBhqYGhE.cjs';
14
12
 
15
13
  /**
@@ -1,15 +1,13 @@
1
- import { M as MultiBoardRuntimeOptions, a as MultiBoardRuntime, S as SingleBoardRuntimeOptions, b as SingleBoardRuntime } from '../types-SO5OZm4s.js';
2
- export { A as Awaitable, B as BoardContextConfig, c as BoardRuntimeNonCorePublic, d as BoardRuntimePlatformAdapter, e as BoardRuntimePublic, C as ChatHandlerFlowRunner, D as DescribeEnvelope, H as HostedBoardQueueLaneTuning, I as InvocationAdapter, N as NotificationTransport, Q as QueueLaneRuntimeTuning, R as RuntimeLogger, f as RuntimeRequest, g as RuntimeResponse } from '../types-SO5OZm4s.js';
1
+ import { M as MultiBoardRuntimeOptions, a as MultiBoardRuntime, S as SingleBoardRuntimeOptions, b as SingleBoardRuntime } from '../types-BtH3scgE.js';
2
+ 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, N as NotificationTransport, Q as QueueLaneRuntimeTuning, R as RuntimeLogger, g as RuntimeRequest, h as RuntimeResponse } from '../types-BtH3scgE.js';
3
3
  export { HostedBoardQueueLaneRegistryOptions, createHostedBoardQueueLaneRegistry } from '../server-jobs-queue-runner/index.js';
4
- export { A as AsyncBoardLiveCardsPublic } from '../board-live-cards-public-async-fwd1QI82.js';
5
- export { A as AsyncBoardPlatformAdapter } from '../board-platform-adapter-async-DYahVzIK.js';
6
- export { B as BlobStorage, K as KVStorage, a as KindValueRef } from '../storage-interface-BFiD3kyB.js';
7
- 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-JNRKfBZy.js';
8
- export { C as ChatStorage } from '../chat-storage-lib-DB9iSai2.js';
4
+ export { A as AsyncBoardLiveCardsPublic } from '../board-live-cards-public-async-DlyC3PgC.js';
5
+ export { A as AsyncBoardPlatformAdapter } from '../board-platform-adapter-async-JP9V-U5E.js';
6
+ export { B as BlobStorage, K as KVStorage, a as KindValueRef } from '../storage-interface-D-iEiTJA.js';
7
+ 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';
9
8
  export { ExecutionRef } from '../execution-refs.js';
10
- import '../artifacts-store-lib-DSSMqVL2.js';
11
9
  import '../queue-lane-registry-PaZuFpwp.js';
12
- import '../storage-async-interface-DhlOVPSp.js';
10
+ import '../storage-async-interface-CG0bMqvE.js';
13
11
  import '../types-BBhqYGhE.js';
14
12
 
15
13
  /**
@@ -1,2 +1,2 @@
1
- export{b as createMultiBoardServerRuntime,a as createSingleBoardServerRuntime}from'../chunk-76C7N4YT.js';import'../chunk-QJVR3FWQ.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-PRKRXAVN.js';import'../chunk-HEEDJEKM.js';import'../chunk-JH37NJGP.js';import'../chunk-XQRNDX4Q.js';import'../chunk-BQS3EIEK.js';import'../chunk-VGT3TRQG.js';import'../chunk-WDPOGXTY.js';import'../chunk-ZCNN6XPV.js';import'../chunk-JMDHDY6M.js';import'../chunk-3KC6LBOG.js';import'../chunk-MNEOJWPS.js';import'../chunk-KBELAKIY.js';import'../chunk-76ON3V7R.js';import'../chunk-FW4363Y4.js';//# sourceMappingURL=index.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=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,14 +1,12 @@
1
- import { f as RuntimeRequest, g as RuntimeResponse } from '../types-Ba8H5_Wo.cjs';
2
- import { T as ToolRegistry } from '../mcp-tool-registries-W3TRj6O5.cjs';
3
- import '../artifacts-store-lib-D9nMkVcE.cjs';
4
- import '../storage-interface-BFiD3kyB.cjs';
5
- import '../board-live-cards-public-LlVUQPL2.cjs';
1
+ import { g as RuntimeRequest, h as RuntimeResponse } from '../types-Ch0u3FKP.cjs';
2
+ import { T as ToolRegistry } from '../mcp-tool-registries-CRtea2x4.cjs';
3
+ import '../board-live-cards-public-BT5HrgqZ.cjs';
4
+ import '../storage-interface-D-iEiTJA.cjs';
6
5
  import '../execution-refs.cjs';
7
6
  import '../types-BBhqYGhE.cjs';
8
- import '../board-platform-adapter-async-BfHmHdx2.cjs';
9
- import '../storage-async-interface-BRR4eBjx.cjs';
10
- import '../board-live-cards-public-async-Di9QB141.cjs';
11
- import '../chat-storage-lib-B9Q34Dyv.cjs';
7
+ import '../board-platform-adapter-async-BZIftm36.cjs';
8
+ import '../storage-async-interface-CyO-zwVQ.cjs';
9
+ import '../board-live-cards-public-async-CYjr4mgX.cjs';
12
10
  import '../board-live-cards-mcp.cjs';
13
11
  import '../chat-store-public.cjs';
14
12
 
@@ -1,14 +1,12 @@
1
- import { f as RuntimeRequest, g as RuntimeResponse } from '../types-SO5OZm4s.js';
2
- import { T as ToolRegistry } from '../mcp-tool-registries-BBObLYga.js';
3
- import '../artifacts-store-lib-DSSMqVL2.js';
4
- import '../storage-interface-BFiD3kyB.js';
5
- import '../board-live-cards-public-JNRKfBZy.js';
1
+ import { g as RuntimeRequest, h as RuntimeResponse } from '../types-BtH3scgE.js';
2
+ import { T as ToolRegistry } from '../mcp-tool-registries-D3rWSppt.js';
3
+ import '../board-live-cards-public-DSRamFm8.js';
4
+ import '../storage-interface-D-iEiTJA.js';
6
5
  import '../execution-refs.js';
7
6
  import '../types-BBhqYGhE.js';
8
- import '../board-platform-adapter-async-DYahVzIK.js';
9
- import '../storage-async-interface-DhlOVPSp.js';
10
- import '../board-live-cards-public-async-fwd1QI82.js';
11
- import '../chat-storage-lib-DB9iSai2.js';
7
+ import '../board-platform-adapter-async-JP9V-U5E.js';
8
+ import '../storage-async-interface-CG0bMqvE.js';
9
+ import '../board-live-cards-public-async-DlyC3PgC.js';
12
10
  import '../board-live-cards-mcp.js';
13
11
  import '../chat-store-public.js';
14
12
 
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkASR44K7H_cjs=require('../chunk-ASR44K7H.cjs');require('../chunk-EZENHAVZ.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'),require('../chunk-CPAXTVBQ.cjs'),require('../chunk-NJJ7WEDT.cjs'),require('../chunk-GL2OHR2E.cjs'),require('../chunk-J6EGN6S4.cjs'),require('../chunk-PBCDDO4V.cjs'),require('../chunk-JJL5VOQZ.cjs'),require('../chunk-U2N6MCD5.cjs'),require('../chunk-SFVO2LB2.cjs'),require('../chunk-G4XXRHL2.cjs'),require('../chunk-LODXIALE.cjs'),require('../chunk-PBOQ4HYB.cjs'),require('../chunk-IXZG74EW.cjs'),require('../chunk-HWYMZK3N.cjs'),require('../chunk-UJ7ZTV4J.cjs'),require('../chunk-YMEIPKLW.cjs'),require('../chunk-GYQXDNNI.cjs'),require('../chunk-GNFE24S7.cjs');var a=["/mcp","/mcp-raw","/mcp-controlplane","/mcp-webhooks"];function l(n,e){return a.some(r=>e===`${n}${r}`)}function s(n,e){return a.some(r=>{let i=`${r}`;if(!e.startsWith(`${n}/`)||!e.endsWith(i))return false;let t=e.slice(n.length+1,e.length-i.length);return t.length>0&&!t.includes("/")})}function d(n){let e=chunkASR44K7H_cjs.a(n);return {...e,async handleRuntimeApi(r,i,t){return l(e.apiBasePath,t.pathname)?e.handleRuntimeApi(r,i,t):false}}}function c(n){let e=chunkASR44K7H_cjs.b(n);return {...e,async handleApi(r,i,t){return s(e.apiBasePath,t.pathname)?e.handleApi(r,i,t):false}}}exports.createMultiBoardServerRuntime=c;exports.createSingleBoardServerRuntime=d;//# sourceMappingURL=index.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'),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');var a=["/mcp","/mcp-raw","/mcp-actions","/mcp-controlplane","/mcp-webhooks"];function l(n,e){return a.some(r=>e===`${n}${r}`)}function s(n,e){return a.some(r=>{let i=`${r}`;if(!e.startsWith(`${n}/`)||!e.endsWith(i))return false;let t=e.slice(n.length+1,e.length-i.length);return t.length>0&&!t.includes("/")})}function c(n){let e=chunkO4RKTQBP_cjs.a(n);return {...e,async handleRuntimeApi(r,i,t){return l(e.apiBasePath,t.pathname)?e.handleRuntimeApi(r,i,t):false}}}function d(n){let e=chunkO4RKTQBP_cjs.b(n);return {...e,async handleApi(r,i,t){return s(e.apiBasePath,t.pathname)?e.handleApi(r,i,t):false}}}exports.createMultiBoardServerRuntime=d;exports.createSingleBoardServerRuntime=c;//# sourceMappingURL=index.cjs.map
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,13 +1,11 @@
1
- import { M as MultiBoardRuntimeOptions, a as MultiBoardRuntime, S as SingleBoardRuntimeOptions, b as SingleBoardRuntime } from '../types-Ba8H5_Wo.cjs';
2
- import '../artifacts-store-lib-D9nMkVcE.cjs';
3
- import '../storage-interface-BFiD3kyB.cjs';
4
- import '../board-live-cards-public-LlVUQPL2.cjs';
1
+ import { M as MultiBoardRuntimeOptions, a as MultiBoardRuntime, S as SingleBoardRuntimeOptions, b as SingleBoardRuntime } from '../types-Ch0u3FKP.cjs';
2
+ import '../board-live-cards-public-BT5HrgqZ.cjs';
3
+ import '../storage-interface-D-iEiTJA.cjs';
5
4
  import '../execution-refs.cjs';
6
5
  import '../types-BBhqYGhE.cjs';
7
- import '../board-platform-adapter-async-BfHmHdx2.cjs';
8
- import '../storage-async-interface-BRR4eBjx.cjs';
9
- import '../board-live-cards-public-async-Di9QB141.cjs';
10
- import '../chat-storage-lib-B9Q34Dyv.cjs';
6
+ import '../board-platform-adapter-async-BZIftm36.cjs';
7
+ import '../storage-async-interface-CyO-zwVQ.cjs';
8
+ import '../board-live-cards-public-async-CYjr4mgX.cjs';
11
9
 
12
10
  /**
13
11
  * server-runtime-controlface
@@ -15,10 +13,11 @@ import '../chat-storage-lib-B9Q34Dyv.cjs';
15
13
  * MCP-only server runtime surface.
16
14
  * POST /mcp
17
15
  * POST /mcp-raw
16
+ * POST /mcp-actions
18
17
  * POST /mcp-controlplane
19
18
  * POST /mcp-webhooks
20
19
  *
21
- * This package intentionally does not expose /init-board, /board-status,
20
+ * This package intentionally does not expose /board-status,
22
21
  * /cards/*, or /sse watcher routes. Browser builds keep the full dispatcher
23
22
  * through a dedicated browser entrypoint.
24
23
  */
@@ -1,13 +1,11 @@
1
- import { M as MultiBoardRuntimeOptions, a as MultiBoardRuntime, S as SingleBoardRuntimeOptions, b as SingleBoardRuntime } from '../types-SO5OZm4s.js';
2
- import '../artifacts-store-lib-DSSMqVL2.js';
3
- import '../storage-interface-BFiD3kyB.js';
4
- import '../board-live-cards-public-JNRKfBZy.js';
1
+ import { M as MultiBoardRuntimeOptions, a as MultiBoardRuntime, S as SingleBoardRuntimeOptions, b as SingleBoardRuntime } from '../types-BtH3scgE.js';
2
+ import '../board-live-cards-public-DSRamFm8.js';
3
+ import '../storage-interface-D-iEiTJA.js';
5
4
  import '../execution-refs.js';
6
5
  import '../types-BBhqYGhE.js';
7
- import '../board-platform-adapter-async-DYahVzIK.js';
8
- import '../storage-async-interface-DhlOVPSp.js';
9
- import '../board-live-cards-public-async-fwd1QI82.js';
10
- import '../chat-storage-lib-DB9iSai2.js';
6
+ import '../board-platform-adapter-async-JP9V-U5E.js';
7
+ import '../storage-async-interface-CG0bMqvE.js';
8
+ import '../board-live-cards-public-async-DlyC3PgC.js';
11
9
 
12
10
  /**
13
11
  * server-runtime-controlface
@@ -15,10 +13,11 @@ import '../chat-storage-lib-DB9iSai2.js';
15
13
  * MCP-only server runtime surface.
16
14
  * POST /mcp
17
15
  * POST /mcp-raw
16
+ * POST /mcp-actions
18
17
  * POST /mcp-controlplane
19
18
  * POST /mcp-webhooks
20
19
  *
21
- * This package intentionally does not expose /init-board, /board-status,
20
+ * This package intentionally does not expose /board-status,
22
21
  * /cards/*, or /sse watcher routes. Browser builds keep the full dispatcher
23
22
  * through a dedicated browser entrypoint.
24
23
  */
@@ -1,2 +1,2 @@
1
- import {a as a$1,b}from'../chunk-76C7N4YT.js';import'../chunk-QJVR3FWQ.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';import'../chunk-YGALANRO.js';import'../chunk-6APH25VI.js';import'../chunk-VXJHBWK3.js';import'../chunk-PRKRXAVN.js';import'../chunk-HEEDJEKM.js';import'../chunk-JH37NJGP.js';import'../chunk-XQRNDX4Q.js';import'../chunk-BQS3EIEK.js';import'../chunk-VGT3TRQG.js';import'../chunk-WDPOGXTY.js';import'../chunk-ZCNN6XPV.js';import'../chunk-JMDHDY6M.js';import'../chunk-3KC6LBOG.js';import'../chunk-MNEOJWPS.js';import'../chunk-KBELAKIY.js';import'../chunk-76ON3V7R.js';import'../chunk-FW4363Y4.js';var a=["/mcp","/mcp-raw","/mcp-controlplane","/mcp-webhooks"];function l(n,e){return a.some(r=>e===`${n}${r}`)}function s(n,e){return a.some(r=>{let i=`${r}`;if(!e.startsWith(`${n}/`)||!e.endsWith(i))return false;let t=e.slice(n.length+1,e.length-i.length);return t.length>0&&!t.includes("/")})}function d(n){let e=a$1(n);return {...e,async handleRuntimeApi(r,i,t){return l(e.apiBasePath,t.pathname)?e.handleRuntimeApi(r,i,t):false}}}function c(n){let e=b(n);return {...e,async handleApi(r,i,t){return s(e.apiBasePath,t.pathname)?e.handleApi(r,i,t):false}}}export{c as createMultiBoardServerRuntime,d as createSingleBoardServerRuntime};//# sourceMappingURL=index.js.map
1
+ import {a as a$1,b}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';import'../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';var a=["/mcp","/mcp-raw","/mcp-actions","/mcp-controlplane","/mcp-webhooks"];function l(n,e){return a.some(r=>e===`${n}${r}`)}function s(n,e){return a.some(r=>{let i=`${r}`;if(!e.startsWith(`${n}/`)||!e.endsWith(i))return false;let t=e.slice(n.length+1,e.length-i.length);return t.length>0&&!t.includes("/")})}function c(n){let e=a$1(n);return {...e,async handleRuntimeApi(r,i,t){return l(e.apiBasePath,t.pathname)?e.handleRuntimeApi(r,i,t):false}}}function d(n){let e=b(n);return {...e,async handleApi(r,i,t){return s(e.apiBasePath,t.pathname)?e.handleApi(r,i,t):false}}}export{d as createMultiBoardServerRuntime,c as createSingleBoardServerRuntime};//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkEZENHAVZ_cjs=require('../chunk-EZENHAVZ.cjs'),chunkLPXVVMQT_cjs=require('../chunk-LPXVVMQT.cjs'),chunkKAWQPLIE_cjs=require('../chunk-KAWQPLIE.cjs'),chunk272IYUKT_cjs=require('../chunk-272IYUKT.cjs'),chunkCPAXTVBQ_cjs=require('../chunk-CPAXTVBQ.cjs');require('../chunk-GL2OHR2E.cjs'),require('../chunk-SFVO2LB2.cjs'),require('../chunk-PBOQ4HYB.cjs'),require('../chunk-IXZG74EW.cjs'),require('../chunk-HWYMZK3N.cjs'),require('../chunk-UJ7ZTV4J.cjs'),require('../chunk-GNFE24S7.cjs');Object.defineProperty(exports,"appendNotification",{enumerable:true,get:function(){return chunkEZENHAVZ_cjs.c}});Object.defineProperty(exports,"createCardFileOps",{enumerable:true,get:function(){return chunkEZENHAVZ_cjs.j}});Object.defineProperty(exports,"createControlplaneToolHandlers",{enumerable:true,get:function(){return chunkEZENHAVZ_cjs.h}});Object.defineProperty(exports,"createMcpControlplaneToolRegistry",{enumerable:true,get:function(){return chunkEZENHAVZ_cjs.m}});Object.defineProperty(exports,"createMcpFacadeModule",{enumerable:true,get:function(){return chunkEZENHAVZ_cjs.n}});Object.defineProperty(exports,"createMcpToolRegistry",{enumerable:true,get:function(){return chunkEZENHAVZ_cjs.k}});Object.defineProperty(exports,"createMcpWebhookToolRegistry",{enumerable:true,get:function(){return chunkEZENHAVZ_cjs.l}});Object.defineProperty(exports,"createRuntimePayloadModule",{enumerable:true,get:function(){return chunkEZENHAVZ_cjs.i}});Object.defineProperty(exports,"expectControlplaneSuccess",{enumerable:true,get:function(){return chunkEZENHAVZ_cjs.d}});Object.defineProperty(exports,"expectControlplaneSuccessAsync",{enumerable:true,get:function(){return chunkEZENHAVZ_cjs.e}});Object.defineProperty(exports,"getCardMetaKey",{enumerable:true,get:function(){return chunkEZENHAVZ_cjs.f}});Object.defineProperty(exports,"hasNonEmptyCardCountStatus",{enumerable:true,get:function(){return chunkEZENHAVZ_cjs.b}});Object.defineProperty(exports,"makeNotificationState",{enumerable:true,get:function(){return chunkEZENHAVZ_cjs.a}});Object.defineProperty(exports,"readCardMetaValue",{enumerable:true,get:function(){return chunkEZENHAVZ_cjs.g}});Object.defineProperty(exports,"getMcpArgNumber",{enumerable:true,get:function(){return chunkLPXVVMQT_cjs.b}});Object.defineProperty(exports,"getMcpArgRecord",{enumerable:true,get:function(){return chunkLPXVVMQT_cjs.c}});Object.defineProperty(exports,"getMcpArgString",{enumerable:true,get:function(){return chunkLPXVVMQT_cjs.a}});Object.defineProperty(exports,"getRequiredMcpArgNumber",{enumerable:true,get:function(){return chunkLPXVVMQT_cjs.e}});Object.defineProperty(exports,"getRequiredMcpArgRecord",{enumerable:true,get:function(){return chunkLPXVVMQT_cjs.d}});Object.defineProperty(exports,"parseMcpUploadBytes",{enumerable:true,get:function(){return chunkLPXVVMQT_cjs.f}});Object.defineProperty(exports,"concatUint8Arrays",{enumerable:true,get:function(){return chunkKAWQPLIE_cjs.d}});Object.defineProperty(exports,"escapeRegExp",{enumerable:true,get:function(){return chunkKAWQPLIE_cjs.c}});Object.defineProperty(exports,"executionWhatToRunValue",{enumerable:true,get:function(){return chunkKAWQPLIE_cjs.b}});Object.defineProperty(exports,"isAsyncBoardPlatformAdapter",{enumerable:true,get:function(){return chunkKAWQPLIE_cjs.a}});Object.defineProperty(exports,"extractMcpFailureMessage",{enumerable:true,get:function(){return chunk272IYUKT_cjs.b}});Object.defineProperty(exports,"invokeMcpTool",{enumerable:true,get:function(){return chunk272IYUKT_cjs.a}});Object.defineProperty(exports,"createHostedBoardQueueLaneRegistry",{enumerable:true,get:function(){return chunkCPAXTVBQ_cjs.a}});//# sourceMappingURL=index.cjs.map
1
+ 'use strict';var chunkZK3E7L4Y_cjs=require('../chunk-ZK3E7L4Y.cjs'),chunkLPXVVMQT_cjs=require('../chunk-LPXVVMQT.cjs'),chunk272IYUKT_cjs=require('../chunk-272IYUKT.cjs'),chunkETW3BXHD_cjs=require('../chunk-ETW3BXHD.cjs'),chunkBQUQTOPB_cjs=require('../chunk-BQUQTOPB.cjs');require('../chunk-GPCMBPLK.cjs'),require('../chunk-37HDEW26.cjs'),require('../chunk-7JVHYHT2.cjs'),require('../chunk-VQCIOKJV.cjs'),require('../chunk-7QZ267XP.cjs'),require('../chunk-IXZG74EW.cjs'),require('../chunk-HWYMZK3N.cjs'),require('../chunk-UJ7ZTV4J.cjs'),require('../chunk-GNFE24S7.cjs');Object.defineProperty(exports,"appendNotification",{enumerable:true,get:function(){return chunkZK3E7L4Y_cjs.c}});Object.defineProperty(exports,"createCardFileOps",{enumerable:true,get:function(){return chunkZK3E7L4Y_cjs.j}});Object.defineProperty(exports,"createControlplaneToolHandlers",{enumerable:true,get:function(){return chunkZK3E7L4Y_cjs.h}});Object.defineProperty(exports,"createMcpControlplaneToolRegistry",{enumerable:true,get:function(){return chunkZK3E7L4Y_cjs.m}});Object.defineProperty(exports,"createMcpFacadeModule",{enumerable:true,get:function(){return chunkZK3E7L4Y_cjs.n}});Object.defineProperty(exports,"createMcpToolRegistry",{enumerable:true,get:function(){return chunkZK3E7L4Y_cjs.k}});Object.defineProperty(exports,"createMcpWebhookToolRegistry",{enumerable:true,get:function(){return chunkZK3E7L4Y_cjs.l}});Object.defineProperty(exports,"createRuntimePayloadModule",{enumerable:true,get:function(){return chunkZK3E7L4Y_cjs.i}});Object.defineProperty(exports,"expectControlplaneSuccess",{enumerable:true,get:function(){return chunkZK3E7L4Y_cjs.d}});Object.defineProperty(exports,"expectControlplaneSuccessAsync",{enumerable:true,get:function(){return chunkZK3E7L4Y_cjs.e}});Object.defineProperty(exports,"getCardMetaKey",{enumerable:true,get:function(){return chunkZK3E7L4Y_cjs.f}});Object.defineProperty(exports,"hasNonEmptyCardCountStatus",{enumerable:true,get:function(){return chunkZK3E7L4Y_cjs.b}});Object.defineProperty(exports,"makeNotificationState",{enumerable:true,get:function(){return chunkZK3E7L4Y_cjs.a}});Object.defineProperty(exports,"readCardMetaValue",{enumerable:true,get:function(){return chunkZK3E7L4Y_cjs.g}});Object.defineProperty(exports,"getMcpArgNumber",{enumerable:true,get:function(){return chunkLPXVVMQT_cjs.b}});Object.defineProperty(exports,"getMcpArgRecord",{enumerable:true,get:function(){return chunkLPXVVMQT_cjs.c}});Object.defineProperty(exports,"getMcpArgString",{enumerable:true,get:function(){return chunkLPXVVMQT_cjs.a}});Object.defineProperty(exports,"getRequiredMcpArgNumber",{enumerable:true,get:function(){return chunkLPXVVMQT_cjs.e}});Object.defineProperty(exports,"getRequiredMcpArgRecord",{enumerable:true,get:function(){return chunkLPXVVMQT_cjs.d}});Object.defineProperty(exports,"parseMcpUploadBytes",{enumerable:true,get:function(){return chunkLPXVVMQT_cjs.f}});Object.defineProperty(exports,"extractMcpFailureMessage",{enumerable:true,get:function(){return chunk272IYUKT_cjs.b}});Object.defineProperty(exports,"invokeMcpTool",{enumerable:true,get:function(){return chunk272IYUKT_cjs.a}});Object.defineProperty(exports,"createHostedBoardQueueLaneRegistry",{enumerable:true,get:function(){return chunkETW3BXHD_cjs.a}});Object.defineProperty(exports,"concatUint8Arrays",{enumerable:true,get:function(){return chunkBQUQTOPB_cjs.d}});Object.defineProperty(exports,"escapeRegExp",{enumerable:true,get:function(){return chunkBQUQTOPB_cjs.c}});Object.defineProperty(exports,"executionWhatToRunValue",{enumerable:true,get:function(){return chunkBQUQTOPB_cjs.b}});Object.defineProperty(exports,"isAsyncBoardPlatformAdapter",{enumerable:true,get:function(){return chunkBQUQTOPB_cjs.a}});//# sourceMappingURL=index.cjs.map
2
2
  //# sourceMappingURL=index.cjs.map