yaml-flow 8.8.7 → 8.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/adapters/firestore-storage.js +2 -2
- package/browser/adapters/localstorage-storage.js +3 -3
- package/browser/asset-integrity.json +7 -7
- package/browser/server-runtime-controlface.js +5 -5
- package/examples/board/test/server-http-test-browser.ts +2394 -0
- package/examples/board/test/server-http-test.js +44 -35
- package/lib/{artifacts-store-lib-C6qBpMfU.d.cts → artifacts-store-lib-CqkJEgbx.d.cts} +1 -1
- package/lib/{artifacts-store-lib-D4qf7Q-7.d.ts → artifacts-store-lib-D6Bo4yFN.d.ts} +1 -1
- package/lib/artifacts-store-public.d.cts +5 -3
- package/lib/artifacts-store-public.d.ts +5 -3
- package/lib/board-callback-transport-Bekq8Gp-.d.ts +71 -0
- package/lib/board-callback-transport-kP0K6UMq.d.cts +71 -0
- package/lib/board-live-cards-lib-DVh3t9NT.d.cts +222 -0
- package/lib/board-live-cards-lib-iU8xOwNp.d.ts +222 -0
- package/lib/board-live-cards-mcp.cjs +1 -1
- package/lib/board-live-cards-mcp.d.cts +4 -8
- package/lib/board-live-cards-mcp.d.ts +4 -8
- package/lib/board-live-cards-mcp.js +1 -1
- package/lib/board-live-cards-node.cjs +7 -7
- package/lib/board-live-cards-node.d.cts +15 -11
- package/lib/board-live-cards-node.d.ts +15 -11
- package/lib/board-live-cards-node.js +7 -7
- package/lib/{board-live-cards-public-async-CYjr4mgX.d.cts → board-live-cards-public-async-Cl0M3j5P.d.cts} +6 -4
- package/lib/{board-live-cards-public-async-DlyC3PgC.d.ts → board-live-cards-public-async-U98IXUBx.d.ts} +6 -4
- package/lib/board-live-cards-public.cjs +1 -1
- package/lib/board-live-cards-public.d.cts +325 -3
- package/lib/board-live-cards-public.d.ts +325 -3
- package/lib/board-live-cards-public.js +1 -1
- package/lib/board-live-cards-server-runtime.cjs +1 -1
- package/lib/board-live-cards-server-runtime.d.cts +8 -6
- package/lib/board-live-cards-server-runtime.d.ts +8 -6
- package/lib/board-live-cards-server-runtime.js +1 -1
- package/lib/{board-platform-adapter-async-JP9V-U5E.d.ts → board-platform-adapter-async-ByBRFn1G.d.ts} +4 -3
- package/lib/{board-platform-adapter-async-BZIftm36.d.cts → board-platform-adapter-async-DjBwE0m9.d.cts} +4 -3
- package/lib/board-state-reducer.cjs +2 -0
- package/lib/board-state-reducer.d.cts +53 -0
- package/lib/board-state-reducer.d.ts +53 -0
- package/lib/board-state-reducer.js +2 -0
- package/lib/card-store-public.cjs +1 -1
- package/lib/card-store-public.d.cts +11 -4
- package/lib/card-store-public.d.ts +11 -4
- package/lib/card-store-public.js +1 -1
- package/lib/chat-store-public.cjs +1 -1
- package/lib/chat-store-public.d.cts +15 -4
- package/lib/chat-store-public.d.ts +15 -4
- package/lib/chat-store-public.js +1 -1
- package/lib/chunk-2RIHC5TZ.cjs +2 -0
- package/lib/chunk-37FDOKDK.js +3 -0
- package/lib/chunk-3S7LV2HZ.cjs +2 -0
- package/lib/chunk-3T5TMAWG.cjs +3 -0
- package/lib/chunk-5XLFPPTY.cjs +2 -0
- package/lib/{chunk-R44X3RQB.cjs → chunk-6EJRZHFP.cjs} +2 -2
- package/lib/{chunk-NNSBBO5R.js → chunk-6MD6FVE3.js} +2 -2
- package/lib/chunk-7QNEV5S3.js +2 -0
- package/lib/{chunk-6OPXQPSC.js → chunk-7UJQMFVS.js} +2 -2
- package/lib/chunk-BJGK5FNL.js +2 -0
- package/lib/{chunk-ETW3BXHD.cjs → chunk-BQJVCCFU.cjs} +2 -2
- package/lib/chunk-DQPBAB5Z.cjs +2 -0
- package/lib/chunk-JB4Q2W7I.js +7 -0
- package/lib/chunk-JYVYAAXT.js +3 -0
- package/lib/chunk-LFVMX23W.cjs +7 -0
- package/lib/chunk-NIBLKYXN.js +2 -0
- package/lib/chunk-OF4FPYNI.cjs +2 -0
- package/lib/chunk-P3R6TXII.js +3 -0
- package/lib/{chunk-7BTZCOT5.js → chunk-QLB6PKOT.js} +2 -2
- package/lib/chunk-R4YASXSJ.js +2 -0
- package/lib/chunk-RZRIXQ6A.cjs +3 -0
- package/lib/chunk-SDJ3747Q.cjs +2 -0
- package/lib/chunk-SJANU3PL.cjs +3 -0
- package/lib/chunk-UGB7PC4P.js +2 -0
- package/lib/chunk-VBYNMTWC.js +2 -0
- package/lib/{chunk-37HDEW26.cjs → chunk-WRMOGPRG.cjs} +2 -2
- package/lib/cloud-storage.cjs +1 -1
- package/lib/cloud-storage.d.cts +44 -8
- package/lib/cloud-storage.d.ts +44 -8
- package/lib/cloud-storage.js +1 -1
- package/lib/firebase-storage/index.d.cts +2 -2
- package/lib/firebase-storage/index.d.ts +2 -2
- package/lib/firestore-storage/index.cjs +2 -2
- package/lib/firestore-storage/index.d.cts +6 -5
- package/lib/firestore-storage/index.d.ts +6 -5
- package/lib/firestore-storage/index.js +2 -2
- package/lib/index.cjs +2 -2
- package/lib/index.d.cts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/localstorage-storage/index.cjs +1 -1
- package/lib/localstorage-storage/index.d.cts +6 -5
- package/lib/localstorage-storage/index.d.ts +6 -5
- package/lib/localstorage-storage/index.js +1 -1
- package/lib/notification-consumer/index.cjs +2 -0
- package/lib/notification-consumer/index.d.cts +17 -0
- package/lib/notification-consumer/index.d.ts +17 -0
- package/lib/notification-consumer/index.js +2 -0
- package/lib/queue-storage-public.cjs +2 -0
- package/lib/queue-storage-public.d.cts +13 -0
- package/lib/queue-storage-public.d.ts +13 -0
- package/lib/queue-storage-public.js +2 -0
- package/lib/server-jobs-queue-runner/index.cjs +1 -1
- package/lib/server-jobs-queue-runner/index.d.cts +9 -7
- package/lib/server-jobs-queue-runner/index.d.ts +9 -7
- package/lib/server-jobs-queue-runner/index.js +1 -1
- package/lib/server-runtime/index.cjs +1 -1
- package/lib/server-runtime/index.d.cts +9 -7
- package/lib/server-runtime/index.d.ts +9 -7
- package/lib/server-runtime/index.js +1 -1
- package/lib/server-runtime-agentface/index.d.cts +8 -6
- package/lib/server-runtime-agentface/index.d.ts +8 -6
- package/lib/server-runtime-controlface/index.cjs +1 -1
- package/lib/server-runtime-controlface/index.d.cts +8 -6
- package/lib/server-runtime-controlface/index.d.ts +8 -6
- package/lib/server-runtime-controlface/index.js +1 -1
- package/lib/server-runtime-core/index.cjs +1 -1
- package/lib/server-runtime-core/index.d.cts +16 -37
- package/lib/server-runtime-core/index.d.ts +16 -37
- package/lib/server-runtime-core/index.js +1 -1
- package/lib/server-runtime-watchers/index.cjs +1 -1
- package/lib/server-runtime-watchers/index.d.cts +11 -8
- package/lib/server-runtime-watchers/index.d.ts +11 -8
- package/lib/server-runtime-watchers/index.js +1 -1
- package/lib/server-runtime-webhooks/index.d.cts +8 -6
- package/lib/server-runtime-webhooks/index.d.ts +8 -6
- package/lib/{sse-hub-DM8bw-dO.d.ts → sse-hub-BRBvymHR.d.cts} +18 -15
- package/lib/{sse-hub-BDjWI7JR.d.cts → sse-hub-D_94fV87.d.ts} +18 -15
- package/lib/step-machine-public/index.d.cts +1 -1
- package/lib/step-machine-public/index.d.ts +1 -1
- package/lib/{storage-async-interface-CyO-zwVQ.d.cts → storage-async-interface-CLOXiqwC.d.cts} +2 -2
- package/lib/{storage-async-interface-CG0bMqvE.d.ts → storage-async-interface-Cb-SULrI.d.ts} +2 -2
- package/lib/{storage-interface-D-iEiTJA.d.cts → storage-interface-DogVPooM.d.cts} +1 -1
- package/lib/{storage-interface-D-iEiTJA.d.ts → storage-interface-DogVPooM.d.ts} +1 -1
- package/lib/stores/index.d.cts +1 -1
- package/lib/stores/index.d.ts +1 -1
- package/lib/stores/kv.d.cts +1 -1
- package/lib/stores/kv.d.ts +1 -1
- package/lib/{types-BsfXZyI3.d.ts → types-BsqzUZNl.d.ts} +6 -4
- package/lib/{types-CPnYv7RC.d.cts → types-DxhB6Toz.d.cts} +6 -4
- package/package.json +16 -1
- package/lib/board-live-cards-public-BT5HrgqZ.d.cts +0 -529
- package/lib/board-live-cards-public-DSRamFm8.d.ts +0 -529
- package/lib/chunk-35N7ONTH.js +0 -2
- package/lib/chunk-36QUKFL7.cjs +0 -3
- package/lib/chunk-3MMTBEAO.js +0 -2
- package/lib/chunk-7QQFDYBM.js +0 -3
- package/lib/chunk-7QZ267XP.cjs +0 -2
- package/lib/chunk-ABAVFLDP.js +0 -7
- package/lib/chunk-EPCJYP4N.js +0 -3
- package/lib/chunk-H22NK6KH.cjs +0 -7
- package/lib/chunk-KBELAKIY.js +0 -2
- package/lib/chunk-OJ2CAQ4C.cjs +0 -2
- package/lib/chunk-Q3OTUDIE.js +0 -2
- package/lib/chunk-QG6ERLZQ.cjs +0 -3
- package/lib/chunk-UB54HZA4.cjs +0 -2
- package/lib/chunk-YMEIPKLW.cjs +0 -2
- package/lib/chunk-ZENTBLLA.cjs +0 -3
- package/lib/chunk-ZWVT24YW.js +0 -3
|
@@ -1,2 +1,2 @@
|
|
|
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-
|
|
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-QLB6PKOT.js';import'../chunk-JYVYAAXT.js';import {c as c$1}from'../chunk-6MD6FVE3.js';import'../chunk-P3R6TXII.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-7QNEV5S3.js';import'../chunk-UGB7PC4P.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
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunk2RIHC5TZ_cjs=require('../chunk-2RIHC5TZ.cjs');require('../chunk-GNFE24S7.cjs');function f(i){if(!i||typeof i!="object")return false;let t=i;return typeof t.kind=="string"&&t.kind.length>0&&t.kind!=="notification-batch"}function u(i){return chunk2RIHC5TZ_cjs.a(i)?i.notifications:f(i)?[i]:[]}Object.defineProperty(exports,"isBoardChangeNotification",{enumerable:true,get:function(){return chunk2RIHC5TZ_cjs.b}});Object.defineProperty(exports,"isChatScopedRuntimeNotification",{enumerable:true,get:function(){return chunk2RIHC5TZ_cjs.c}});Object.defineProperty(exports,"isRuntimeNotificationBatch",{enumerable:true,get:function(){return chunk2RIHC5TZ_cjs.a}});Object.defineProperty(exports,"notificationCategoryForKind",{enumerable:true,get:function(){return chunk2RIHC5TZ_cjs.d}});Object.defineProperty(exports,"withRuntimeNotificationBatchCategories",{enumerable:true,get:function(){return chunk2RIHC5TZ_cjs.f}});Object.defineProperty(exports,"withRuntimeNotificationCategories",{enumerable:true,get:function(){return chunk2RIHC5TZ_cjs.e}});exports.isRuntimeNotification=f;exports.runtimeNotificationsFromPayload=u;//# sourceMappingURL=index.cjs.map
|
|
2
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { R as RuntimeNotification } from '../board-live-cards-lib-DVh3t9NT.cjs';
|
|
2
|
+
export { B as BoardChangeNotification, a as BoardOutputNotification, C as CardStoreNotification, b as ChatStoreNotification, H as HostedRuntimeNotification, N as NotificationCategory, c as NotificationChatMessage, d as RuntimeNotificationBatch, i as isBoardChangeNotification, e as isChatScopedRuntimeNotification, f as isRuntimeNotificationBatch, n as notificationCategoryForKind, w as withRuntimeNotificationBatchCategories, g as withRuntimeNotificationCategories } from '../board-live-cards-lib-DVh3t9NT.cjs';
|
|
3
|
+
import '../types-BBhqYGhE.cjs';
|
|
4
|
+
import '../storage-interface-DogVPooM.cjs';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* notification-consumer
|
|
8
|
+
*
|
|
9
|
+
* Public browser-safe helpers for downstream notification consumers.
|
|
10
|
+
* These helpers are safe for Vite/browser usage and avoid reaching into
|
|
11
|
+
* internal cli/common paths.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
declare function isRuntimeNotification(value: unknown): value is RuntimeNotification;
|
|
15
|
+
declare function runtimeNotificationsFromPayload(payload: unknown): RuntimeNotification[];
|
|
16
|
+
|
|
17
|
+
export { RuntimeNotification, isRuntimeNotification, runtimeNotificationsFromPayload };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { R as RuntimeNotification } from '../board-live-cards-lib-iU8xOwNp.js';
|
|
2
|
+
export { B as BoardChangeNotification, a as BoardOutputNotification, C as CardStoreNotification, b as ChatStoreNotification, H as HostedRuntimeNotification, N as NotificationCategory, c as NotificationChatMessage, d as RuntimeNotificationBatch, i as isBoardChangeNotification, e as isChatScopedRuntimeNotification, f as isRuntimeNotificationBatch, n as notificationCategoryForKind, w as withRuntimeNotificationBatchCategories, g as withRuntimeNotificationCategories } from '../board-live-cards-lib-iU8xOwNp.js';
|
|
3
|
+
import '../types-BBhqYGhE.js';
|
|
4
|
+
import '../storage-interface-DogVPooM.js';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* notification-consumer
|
|
8
|
+
*
|
|
9
|
+
* Public browser-safe helpers for downstream notification consumers.
|
|
10
|
+
* These helpers are safe for Vite/browser usage and avoid reaching into
|
|
11
|
+
* internal cli/common paths.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
declare function isRuntimeNotification(value: unknown): value is RuntimeNotification;
|
|
15
|
+
declare function runtimeNotificationsFromPayload(payload: unknown): RuntimeNotification[];
|
|
16
|
+
|
|
17
|
+
export { RuntimeNotification, isRuntimeNotification, runtimeNotificationsFromPayload };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import {a}from'../chunk-UGB7PC4P.js';export{b as isBoardChangeNotification,c as isChatScopedRuntimeNotification,a as isRuntimeNotificationBatch,d as notificationCategoryForKind,f as withRuntimeNotificationBatchCategories,e as withRuntimeNotificationCategories}from'../chunk-UGB7PC4P.js';import'../chunk-FW4363Y4.js';function f(i){if(!i||typeof i!="object")return false;let t=i;return typeof t.kind=="string"&&t.kind.length>0&&t.kind!=="notification-batch"}function u(i){return a(i)?i.notifications:f(i)?[i]:[]}export{f as isRuntimeNotification,u as runtimeNotificationsFromPayload};//# sourceMappingURL=index.js.map
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkSDJ3747Q_cjs=require('./chunk-SDJ3747Q.cjs');require('./chunk-2RIHC5TZ.cjs'),require('./chunk-GNFE24S7.cjs');Object.defineProperty(exports,"createQueueStoragePublic",{enumerable:true,get:function(){return chunkSDJ3747Q_cjs.a}});//# sourceMappingURL=queue-storage-public.cjs.map
|
|
2
|
+
//# sourceMappingURL=queue-storage-public.cjs.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { h as NotificationEmitter } from './board-live-cards-lib-DVh3t9NT.cjs';
|
|
2
|
+
import { Q as QueueStorage } from './storage-interface-DogVPooM.cjs';
|
|
3
|
+
import './types-BBhqYGhE.cjs';
|
|
4
|
+
|
|
5
|
+
interface QueueStoragePublicOptions {
|
|
6
|
+
emitNotification?: NotificationEmitter;
|
|
7
|
+
lane?: string;
|
|
8
|
+
}
|
|
9
|
+
interface QueueStoragePublic extends QueueStorage {
|
|
10
|
+
}
|
|
11
|
+
declare function createQueueStoragePublic(queue: QueueStorage, options?: QueueStoragePublicOptions): QueueStoragePublic;
|
|
12
|
+
|
|
13
|
+
export { type QueueStoragePublic, type QueueStoragePublicOptions, createQueueStoragePublic };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { h as NotificationEmitter } from './board-live-cards-lib-iU8xOwNp.js';
|
|
2
|
+
import { Q as QueueStorage } from './storage-interface-DogVPooM.js';
|
|
3
|
+
import './types-BBhqYGhE.js';
|
|
4
|
+
|
|
5
|
+
interface QueueStoragePublicOptions {
|
|
6
|
+
emitNotification?: NotificationEmitter;
|
|
7
|
+
lane?: string;
|
|
8
|
+
}
|
|
9
|
+
interface QueueStoragePublic extends QueueStorage {
|
|
10
|
+
}
|
|
11
|
+
declare function createQueueStoragePublic(queue: QueueStorage, options?: QueueStoragePublicOptions): QueueStoragePublic;
|
|
12
|
+
|
|
13
|
+
export { type QueueStoragePublic, type QueueStoragePublicOptions, createQueueStoragePublic };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkBQJVCCFU_cjs=require('../chunk-BQJVCCFU.cjs');require('../chunk-BQUQTOPB.cjs'),require('../chunk-GPCMBPLK.cjs'),require('../chunk-WRMOGPRG.cjs'),require('../chunk-7JVHYHT2.cjs'),require('../chunk-VQCIOKJV.cjs'),require('../chunk-GNFE24S7.cjs');Object.defineProperty(exports,"createHostedBoardQueueLaneRegistry",{enumerable:true,get:function(){return chunkBQJVCCFU_cjs.a}});//# sourceMappingURL=index.cjs.map
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { A as Awaitable, f as BoardWorkerRequest, H as HostedBoardQueueLaneTuning, d as BoardRuntimePlatformAdapter, R as RuntimeLogger } from '../types-
|
|
1
|
+
import { A as Awaitable, f as BoardWorkerRequest, H as HostedBoardQueueLaneTuning, d as BoardRuntimePlatformAdapter, R as RuntimeLogger } from '../types-DxhB6Toz.cjs';
|
|
2
2
|
import { b as QueueLaneRegistry } from '../queue-lane-registry-PaZuFpwp.cjs';
|
|
3
|
-
import {
|
|
4
|
-
import '../
|
|
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';
|
|
3
|
+
import { CommandResult } from '../board-live-cards-public.cjs';
|
|
4
|
+
import '../board-live-cards-lib-DVh3t9NT.cjs';
|
|
9
5
|
import '../types-BBhqYGhE.cjs';
|
|
6
|
+
import '../storage-interface-DogVPooM.cjs';
|
|
7
|
+
import '../execution-refs.cjs';
|
|
8
|
+
import '../board-platform-adapter-async-DjBwE0m9.cjs';
|
|
9
|
+
import '../board-callback-transport-kP0K6UMq.cjs';
|
|
10
|
+
import '../storage-async-interface-CLOXiqwC.cjs';
|
|
11
|
+
import '../board-live-cards-public-async-Cl0M3j5P.cjs';
|
|
10
12
|
|
|
11
13
|
interface HostedBoardQueueLaneRegistryOptions {
|
|
12
14
|
boardId: string;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { A as Awaitable, f as BoardWorkerRequest, H as HostedBoardQueueLaneTuning, d as BoardRuntimePlatformAdapter, R as RuntimeLogger } from '../types-
|
|
1
|
+
import { A as Awaitable, f as BoardWorkerRequest, H as HostedBoardQueueLaneTuning, d as BoardRuntimePlatformAdapter, R as RuntimeLogger } from '../types-BsqzUZNl.js';
|
|
2
2
|
import { b as QueueLaneRegistry } from '../queue-lane-registry-PaZuFpwp.js';
|
|
3
|
-
import {
|
|
4
|
-
import '../
|
|
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';
|
|
3
|
+
import { CommandResult } from '../board-live-cards-public.js';
|
|
4
|
+
import '../board-live-cards-lib-iU8xOwNp.js';
|
|
9
5
|
import '../types-BBhqYGhE.js';
|
|
6
|
+
import '../storage-interface-DogVPooM.js';
|
|
7
|
+
import '../execution-refs.js';
|
|
8
|
+
import '../board-platform-adapter-async-ByBRFn1G.js';
|
|
9
|
+
import '../board-callback-transport-Bekq8Gp-.js';
|
|
10
|
+
import '../storage-async-interface-Cb-SULrI.js';
|
|
11
|
+
import '../board-live-cards-public-async-U98IXUBx.js';
|
|
10
12
|
|
|
11
13
|
interface HostedBoardQueueLaneRegistryOptions {
|
|
12
14
|
boardId: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as createHostedBoardQueueLaneRegistry}from'../chunk-
|
|
1
|
+
export{a as createHostedBoardQueueLaneRegistry}from'../chunk-7UJQMFVS.js';import'../chunk-FOFGEABN.js';import'../chunk-RKKSVOP2.js';import'../chunk-6MD6FVE3.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
|
|
1
|
+
'use strict';var chunkRZRIXQ6A_cjs=require('../chunk-RZRIXQ6A.cjs');require('../chunk-LFVMX23W.cjs'),require('../chunk-NM6O35RY.cjs'),require('../chunk-NBJTYAYN.cjs'),require('../chunk-3S7LV2HZ.cjs');var chunkBQJVCCFU_cjs=require('../chunk-BQJVCCFU.cjs');require('../chunk-BQUQTOPB.cjs'),require('../chunk-GPCMBPLK.cjs'),require('../chunk-7FGPOGRV.cjs'),require('../chunk-LPXVVMQT.cjs'),require('../chunk-272IYUKT.cjs'),require('../chunk-3T5TMAWG.cjs'),require('../chunk-WRMOGPRG.cjs'),require('../chunk-SJANU3PL.cjs'),require('../chunk-7JVHYHT2.cjs'),require('../chunk-VQCIOKJV.cjs'),require('../chunk-G4XXRHL2.cjs'),require('../chunk-LODXIALE.cjs'),require('../chunk-DQPBAB5Z.cjs'),require('../chunk-IXZG74EW.cjs'),require('../chunk-HWYMZK3N.cjs'),require('../chunk-UJ7ZTV4J.cjs'),require('../chunk-5XLFPPTY.cjs'),require('../chunk-SDJ3747Q.cjs'),require('../chunk-OF4FPYNI.cjs'),require('../chunk-2RIHC5TZ.cjs'),require('../chunk-GNFE24S7.cjs');Object.defineProperty(exports,"createMultiBoardServerRuntime",{enumerable:true,get:function(){return chunkRZRIXQ6A_cjs.b}});Object.defineProperty(exports,"createSingleBoardServerRuntime",{enumerable:true,get:function(){return chunkRZRIXQ6A_cjs.a}});Object.defineProperty(exports,"createHostedBoardQueueLaneRegistry",{enumerable:true,get:function(){return chunkBQJVCCFU_cjs.a}});//# sourceMappingURL=index.cjs.map
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { M as MultiBoardRuntimeOptions, a as MultiBoardRuntime, S as SingleBoardRuntimeOptions, b as SingleBoardRuntime } from '../types-
|
|
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-
|
|
1
|
+
import { M as MultiBoardRuntimeOptions, a as MultiBoardRuntime, S as SingleBoardRuntimeOptions, b as SingleBoardRuntime } from '../types-DxhB6Toz.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-DxhB6Toz.cjs';
|
|
3
3
|
export { HostedBoardQueueLaneRegistryOptions, createHostedBoardQueueLaneRegistry } from '../server-jobs-queue-runner/index.cjs';
|
|
4
|
-
export { A as AsyncBoardLiveCardsPublic } from '../board-live-cards-public-async-
|
|
5
|
-
export { A as AsyncBoardPlatformAdapter } from '../board-platform-adapter-async-
|
|
6
|
-
export { B as BlobStorage, K as KVStorage, a as KindValueRef } from '../storage-interface-
|
|
7
|
-
export { B as BoardChangeNotification
|
|
4
|
+
export { A as AsyncBoardLiveCardsPublic } from '../board-live-cards-public-async-Cl0M3j5P.cjs';
|
|
5
|
+
export { A as AsyncBoardPlatformAdapter } from '../board-platform-adapter-async-DjBwE0m9.cjs';
|
|
6
|
+
export { B as BlobStorage, K as KVStorage, a as KindValueRef } from '../storage-interface-DogVPooM.cjs';
|
|
7
|
+
export { B as BoardChangeNotification } from '../board-live-cards-lib-DVh3t9NT.cjs';
|
|
8
|
+
export { BoardLiveCardsPublic, BoardNonCorePlatformAdapter, BoardPlatformAdapter, CommandInput, CommandResult } from '../board-live-cards-public.cjs';
|
|
9
|
+
export { C as ChatStorage } from '../board-callback-transport-kP0K6UMq.cjs';
|
|
8
10
|
export { ExecutionRef } from '../execution-refs.cjs';
|
|
9
11
|
import '../queue-lane-registry-PaZuFpwp.cjs';
|
|
10
|
-
import '../storage-async-interface-
|
|
12
|
+
import '../storage-async-interface-CLOXiqwC.cjs';
|
|
11
13
|
import '../types-BBhqYGhE.cjs';
|
|
12
14
|
|
|
13
15
|
/**
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { M as MultiBoardRuntimeOptions, a as MultiBoardRuntime, S as SingleBoardRuntimeOptions, b as SingleBoardRuntime } from '../types-
|
|
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-
|
|
1
|
+
import { M as MultiBoardRuntimeOptions, a as MultiBoardRuntime, S as SingleBoardRuntimeOptions, b as SingleBoardRuntime } from '../types-BsqzUZNl.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-BsqzUZNl.js';
|
|
3
3
|
export { HostedBoardQueueLaneRegistryOptions, createHostedBoardQueueLaneRegistry } from '../server-jobs-queue-runner/index.js';
|
|
4
|
-
export { A as AsyncBoardLiveCardsPublic } from '../board-live-cards-public-async-
|
|
5
|
-
export { A as AsyncBoardPlatformAdapter } from '../board-platform-adapter-async-
|
|
6
|
-
export { B as BlobStorage, K as KVStorage, a as KindValueRef } from '../storage-interface-
|
|
7
|
-
export { B as BoardChangeNotification
|
|
4
|
+
export { A as AsyncBoardLiveCardsPublic } from '../board-live-cards-public-async-U98IXUBx.js';
|
|
5
|
+
export { A as AsyncBoardPlatformAdapter } from '../board-platform-adapter-async-ByBRFn1G.js';
|
|
6
|
+
export { B as BlobStorage, K as KVStorage, a as KindValueRef } from '../storage-interface-DogVPooM.js';
|
|
7
|
+
export { B as BoardChangeNotification } from '../board-live-cards-lib-iU8xOwNp.js';
|
|
8
|
+
export { BoardLiveCardsPublic, BoardNonCorePlatformAdapter, BoardPlatformAdapter, CommandInput, CommandResult } from '../board-live-cards-public.js';
|
|
9
|
+
export { C as ChatStorage } from '../board-callback-transport-Bekq8Gp-.js';
|
|
8
10
|
export { ExecutionRef } from '../execution-refs.js';
|
|
9
11
|
import '../queue-lane-registry-PaZuFpwp.js';
|
|
10
|
-
import '../storage-async-interface-
|
|
12
|
+
import '../storage-async-interface-Cb-SULrI.js';
|
|
11
13
|
import '../types-BBhqYGhE.js';
|
|
12
14
|
|
|
13
15
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as createMultiBoardServerRuntime,a as createSingleBoardServerRuntime}from'../chunk-
|
|
1
|
+
export{b as createMultiBoardServerRuntime,a as createSingleBoardServerRuntime}from'../chunk-37FDOKDK.js';import'../chunk-JB4Q2W7I.js';import'../chunk-XYN5D3GL.js';import'../chunk-O5UYCGIN.js';import'../chunk-R4YASXSJ.js';export{a as createHostedBoardQueueLaneRegistry}from'../chunk-7UJQMFVS.js';import'../chunk-FOFGEABN.js';import'../chunk-RKKSVOP2.js';import'../chunk-NTICU4OK.js';import'../chunk-O7NOHKVR.js';import'../chunk-ZJ5M5COT.js';import'../chunk-JYVYAAXT.js';import'../chunk-6MD6FVE3.js';import'../chunk-P3R6TXII.js';import'../chunk-ANKA7HEJ.js';import'../chunk-44L64VQ2.js';import'../chunk-VGT3TRQG.js';import'../chunk-WDPOGXTY.js';import'../chunk-VBYNMTWC.js';import'../chunk-JMDHDY6M.js';import'../chunk-3KC6LBOG.js';import'../chunk-MNEOJWPS.js';import'../chunk-7QNEV5S3.js';import'../chunk-BJGK5FNL.js';import'../chunk-NIBLKYXN.js';import'../chunk-UGB7PC4P.js';import'../chunk-FW4363Y4.js';//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { g as RuntimeRequest, h as RuntimeResponse } from '../types-
|
|
1
|
+
import { g as RuntimeRequest, h as RuntimeResponse } from '../types-DxhB6Toz.cjs';
|
|
2
2
|
import { T as ToolRegistry } from '../mcp-tool-registries-CRtea2x4.cjs';
|
|
3
|
-
import '../board-live-cards-public
|
|
4
|
-
import '../storage-interface-
|
|
3
|
+
import '../board-live-cards-public.cjs';
|
|
4
|
+
import '../storage-interface-DogVPooM.cjs';
|
|
5
|
+
import '../board-callback-transport-kP0K6UMq.cjs';
|
|
5
6
|
import '../execution-refs.cjs';
|
|
7
|
+
import '../board-live-cards-lib-DVh3t9NT.cjs';
|
|
6
8
|
import '../types-BBhqYGhE.cjs';
|
|
7
|
-
import '../board-platform-adapter-async-
|
|
8
|
-
import '../storage-async-interface-
|
|
9
|
-
import '../board-live-cards-public-async-
|
|
9
|
+
import '../board-platform-adapter-async-DjBwE0m9.cjs';
|
|
10
|
+
import '../storage-async-interface-CLOXiqwC.cjs';
|
|
11
|
+
import '../board-live-cards-public-async-Cl0M3j5P.cjs';
|
|
10
12
|
import '../board-live-cards-mcp.cjs';
|
|
11
13
|
import '../chat-store-public.cjs';
|
|
12
14
|
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { g as RuntimeRequest, h as RuntimeResponse } from '../types-
|
|
1
|
+
import { g as RuntimeRequest, h as RuntimeResponse } from '../types-BsqzUZNl.js';
|
|
2
2
|
import { T as ToolRegistry } from '../mcp-tool-registries-D3rWSppt.js';
|
|
3
|
-
import '../board-live-cards-public
|
|
4
|
-
import '../storage-interface-
|
|
3
|
+
import '../board-live-cards-public.js';
|
|
4
|
+
import '../storage-interface-DogVPooM.js';
|
|
5
|
+
import '../board-callback-transport-Bekq8Gp-.js';
|
|
5
6
|
import '../execution-refs.js';
|
|
7
|
+
import '../board-live-cards-lib-iU8xOwNp.js';
|
|
6
8
|
import '../types-BBhqYGhE.js';
|
|
7
|
-
import '../board-platform-adapter-async-
|
|
8
|
-
import '../storage-async-interface-
|
|
9
|
-
import '../board-live-cards-public-async-
|
|
9
|
+
import '../board-platform-adapter-async-ByBRFn1G.js';
|
|
10
|
+
import '../storage-async-interface-Cb-SULrI.js';
|
|
11
|
+
import '../board-live-cards-public-async-U98IXUBx.js';
|
|
10
12
|
import '../board-live-cards-mcp.js';
|
|
11
13
|
import '../chat-store-public.js';
|
|
12
14
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkRZRIXQ6A_cjs=require('../chunk-RZRIXQ6A.cjs');require('../chunk-LFVMX23W.cjs'),require('../chunk-NM6O35RY.cjs'),require('../chunk-NBJTYAYN.cjs'),require('../chunk-3S7LV2HZ.cjs'),require('../chunk-BQJVCCFU.cjs'),require('../chunk-BQUQTOPB.cjs'),require('../chunk-GPCMBPLK.cjs'),require('../chunk-7FGPOGRV.cjs'),require('../chunk-LPXVVMQT.cjs'),require('../chunk-272IYUKT.cjs'),require('../chunk-3T5TMAWG.cjs'),require('../chunk-WRMOGPRG.cjs'),require('../chunk-SJANU3PL.cjs'),require('../chunk-7JVHYHT2.cjs'),require('../chunk-VQCIOKJV.cjs'),require('../chunk-G4XXRHL2.cjs'),require('../chunk-LODXIALE.cjs'),require('../chunk-DQPBAB5Z.cjs'),require('../chunk-IXZG74EW.cjs'),require('../chunk-HWYMZK3N.cjs'),require('../chunk-UJ7ZTV4J.cjs'),require('../chunk-5XLFPPTY.cjs'),require('../chunk-SDJ3747Q.cjs'),require('../chunk-OF4FPYNI.cjs'),require('../chunk-2RIHC5TZ.cjs'),require('../chunk-GNFE24S7.cjs');var a=["/mcp","/mcp-raw","/mcp-actions","/mcp-controlplane","/mcp-webhooks","/notify-q"];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=chunkRZRIXQ6A_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=chunkRZRIXQ6A_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,11 +1,13 @@
|
|
|
1
|
-
import { M as MultiBoardRuntimeOptions, a as MultiBoardRuntime, S as SingleBoardRuntimeOptions, b as SingleBoardRuntime } from '../types-
|
|
2
|
-
import '../board-live-cards-public
|
|
3
|
-
import '../storage-interface-
|
|
1
|
+
import { M as MultiBoardRuntimeOptions, a as MultiBoardRuntime, S as SingleBoardRuntimeOptions, b as SingleBoardRuntime } from '../types-DxhB6Toz.cjs';
|
|
2
|
+
import '../board-live-cards-public.cjs';
|
|
3
|
+
import '../storage-interface-DogVPooM.cjs';
|
|
4
|
+
import '../board-callback-transport-kP0K6UMq.cjs';
|
|
4
5
|
import '../execution-refs.cjs';
|
|
6
|
+
import '../board-live-cards-lib-DVh3t9NT.cjs';
|
|
5
7
|
import '../types-BBhqYGhE.cjs';
|
|
6
|
-
import '../board-platform-adapter-async-
|
|
7
|
-
import '../storage-async-interface-
|
|
8
|
-
import '../board-live-cards-public-async-
|
|
8
|
+
import '../board-platform-adapter-async-DjBwE0m9.cjs';
|
|
9
|
+
import '../storage-async-interface-CLOXiqwC.cjs';
|
|
10
|
+
import '../board-live-cards-public-async-Cl0M3j5P.cjs';
|
|
9
11
|
|
|
10
12
|
/**
|
|
11
13
|
* server-runtime-controlface
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { M as MultiBoardRuntimeOptions, a as MultiBoardRuntime, S as SingleBoardRuntimeOptions, b as SingleBoardRuntime } from '../types-
|
|
2
|
-
import '../board-live-cards-public
|
|
3
|
-
import '../storage-interface-
|
|
1
|
+
import { M as MultiBoardRuntimeOptions, a as MultiBoardRuntime, S as SingleBoardRuntimeOptions, b as SingleBoardRuntime } from '../types-BsqzUZNl.js';
|
|
2
|
+
import '../board-live-cards-public.js';
|
|
3
|
+
import '../storage-interface-DogVPooM.js';
|
|
4
|
+
import '../board-callback-transport-Bekq8Gp-.js';
|
|
4
5
|
import '../execution-refs.js';
|
|
6
|
+
import '../board-live-cards-lib-iU8xOwNp.js';
|
|
5
7
|
import '../types-BBhqYGhE.js';
|
|
6
|
-
import '../board-platform-adapter-async-
|
|
7
|
-
import '../storage-async-interface-
|
|
8
|
-
import '../board-live-cards-public-async-
|
|
8
|
+
import '../board-platform-adapter-async-ByBRFn1G.js';
|
|
9
|
+
import '../storage-async-interface-Cb-SULrI.js';
|
|
10
|
+
import '../board-live-cards-public-async-U98IXUBx.js';
|
|
9
11
|
|
|
10
12
|
/**
|
|
11
13
|
* server-runtime-controlface
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {a as a$1,b}from'../chunk-
|
|
1
|
+
import {a as a$1,b}from'../chunk-37FDOKDK.js';import'../chunk-JB4Q2W7I.js';import'../chunk-XYN5D3GL.js';import'../chunk-O5UYCGIN.js';import'../chunk-R4YASXSJ.js';import'../chunk-7UJQMFVS.js';import'../chunk-FOFGEABN.js';import'../chunk-RKKSVOP2.js';import'../chunk-NTICU4OK.js';import'../chunk-O7NOHKVR.js';import'../chunk-ZJ5M5COT.js';import'../chunk-JYVYAAXT.js';import'../chunk-6MD6FVE3.js';import'../chunk-P3R6TXII.js';import'../chunk-ANKA7HEJ.js';import'../chunk-44L64VQ2.js';import'../chunk-VGT3TRQG.js';import'../chunk-WDPOGXTY.js';import'../chunk-VBYNMTWC.js';import'../chunk-JMDHDY6M.js';import'../chunk-3KC6LBOG.js';import'../chunk-MNEOJWPS.js';import'../chunk-7QNEV5S3.js';import'../chunk-BJGK5FNL.js';import'../chunk-NIBLKYXN.js';import'../chunk-UGB7PC4P.js';import'../chunk-FW4363Y4.js';var a=["/mcp","/mcp-raw","/mcp-actions","/mcp-controlplane","/mcp-webhooks","/notify-q"];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
|
|
1
|
+
'use strict';var chunk3S7LV2HZ_cjs=require('../chunk-3S7LV2HZ.cjs'),chunkBQJVCCFU_cjs=require('../chunk-BQJVCCFU.cjs'),chunkBQUQTOPB_cjs=require('../chunk-BQUQTOPB.cjs');require('../chunk-GPCMBPLK.cjs');var chunkLPXVVMQT_cjs=require('../chunk-LPXVVMQT.cjs'),chunk272IYUKT_cjs=require('../chunk-272IYUKT.cjs');require('../chunk-WRMOGPRG.cjs'),require('../chunk-7JVHYHT2.cjs'),require('../chunk-VQCIOKJV.cjs'),require('../chunk-DQPBAB5Z.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 chunk3S7LV2HZ_cjs.e}});Object.defineProperty(exports,"createCardFileOps",{enumerable:true,get:function(){return chunk3S7LV2HZ_cjs.l}});Object.defineProperty(exports,"createControlplaneToolHandlers",{enumerable:true,get:function(){return chunk3S7LV2HZ_cjs.j}});Object.defineProperty(exports,"createMcpControlplaneToolRegistry",{enumerable:true,get:function(){return chunk3S7LV2HZ_cjs.o}});Object.defineProperty(exports,"createMcpFacadeModule",{enumerable:true,get:function(){return chunk3S7LV2HZ_cjs.p}});Object.defineProperty(exports,"createMcpToolRegistry",{enumerable:true,get:function(){return chunk3S7LV2HZ_cjs.m}});Object.defineProperty(exports,"createMcpWebhookToolRegistry",{enumerable:true,get:function(){return chunk3S7LV2HZ_cjs.n}});Object.defineProperty(exports,"createRuntimePayloadModule",{enumerable:true,get:function(){return chunk3S7LV2HZ_cjs.k}});Object.defineProperty(exports,"expectControlplaneSuccess",{enumerable:true,get:function(){return chunk3S7LV2HZ_cjs.f}});Object.defineProperty(exports,"expectControlplaneSuccessAsync",{enumerable:true,get:function(){return chunk3S7LV2HZ_cjs.g}});Object.defineProperty(exports,"getCardMetaKey",{enumerable:true,get:function(){return chunk3S7LV2HZ_cjs.h}});Object.defineProperty(exports,"hasNonEmptyCardCountStatus",{enumerable:true,get:function(){return chunk3S7LV2HZ_cjs.d}});Object.defineProperty(exports,"makeNotificationState",{enumerable:true,get:function(){return chunk3S7LV2HZ_cjs.c}});Object.defineProperty(exports,"readCardMetaValue",{enumerable:true,get:function(){return chunk3S7LV2HZ_cjs.i}});Object.defineProperty(exports,"createHostedBoardQueueLaneRegistry",{enumerable:true,get:function(){return chunkBQJVCCFU_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}});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}});//# sourceMappingURL=index.cjs.map
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
import { d as BoardRuntimePlatformAdapter } from '../types-
|
|
2
|
-
export { A as Awaitable, B as BoardContextConfig, c as BoardRuntimeNonCorePublic, 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-
|
|
1
|
+
import { d as BoardRuntimePlatformAdapter } from '../types-DxhB6Toz.cjs';
|
|
2
|
+
export { A as Awaitable, B as BoardContextConfig, c as BoardRuntimeNonCorePublic, 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-DxhB6Toz.cjs';
|
|
3
3
|
export { HostedBoardQueueLaneRegistryOptions, createHostedBoardQueueLaneRegistry } from '../server-jobs-queue-runner/index.cjs';
|
|
4
4
|
export { M as McpControlplaneRegistryDeps, a as McpFacadeForRegistry, b as McpWebhookFacadeForRegistry, T as ToolRegistry, c as createMcpControlplaneToolRegistry, d as createMcpToolRegistry, e as createMcpWebhookToolRegistry } from '../mcp-tool-registries-CRtea2x4.cjs';
|
|
5
5
|
import { createBoardLiveCardsMcp, BoardLiveCardsMcpBoardDeps, BoardLiveCardsMcpNonCoreDeps, BoardLiveCardsMcpCardStoreDeps, BoardLiveCardsMcp } from '../board-live-cards-mcp.cjs';
|
|
6
|
-
import {
|
|
7
|
-
export {
|
|
8
|
-
import { S as SseHub } from '../sse-hub-
|
|
9
|
-
import { C as CardFileMetadataStore } from '../artifacts-store-lib-
|
|
10
|
-
import { A as AsyncBoardPlatformAdapter } from '../board-platform-adapter-async-
|
|
6
|
+
import { CommandResult, BoardSseOneShotPayload } from '../board-live-cards-public.cjs';
|
|
7
|
+
export { BoardLiveCardsPublic, BoardNonCorePlatformAdapter, BoardPlatformAdapter, CommandInput } from '../board-live-cards-public.cjs';
|
|
8
|
+
import { S as SseHub } from '../sse-hub-BRBvymHR.cjs';
|
|
9
|
+
import { C as CardFileMetadataStore } from '../artifacts-store-lib-CqkJEgbx.cjs';
|
|
10
|
+
import { A as AsyncBoardPlatformAdapter } from '../board-platform-adapter-async-DjBwE0m9.cjs';
|
|
11
11
|
import { ExecutionRef } from '../execution-refs.cjs';
|
|
12
|
-
export { A as AsyncBoardLiveCardsPublic } from '../board-live-cards-public-async-
|
|
13
|
-
export { B as BlobStorage, K as KVStorage, a as KindValueRef } from '../storage-interface-
|
|
12
|
+
export { A as AsyncBoardLiveCardsPublic } from '../board-live-cards-public-async-Cl0M3j5P.cjs';
|
|
13
|
+
export { B as BlobStorage, K as KVStorage, a as KindValueRef } from '../storage-interface-DogVPooM.cjs';
|
|
14
|
+
export { B as BoardChangeNotification } from '../board-live-cards-lib-DVh3t9NT.cjs';
|
|
15
|
+
export { C as ChatStorage } from '../board-callback-transport-kP0K6UMq.cjs';
|
|
14
16
|
import '../queue-lane-registry-PaZuFpwp.cjs';
|
|
15
17
|
import '../chat-store-public.cjs';
|
|
16
18
|
import '../types-BBhqYGhE.cjs';
|
|
17
|
-
import '../storage-async-interface-
|
|
19
|
+
import '../storage-async-interface-CLOXiqwC.cjs';
|
|
18
20
|
|
|
19
21
|
/**
|
|
20
22
|
* server-runtime/notifications.ts
|
|
@@ -98,11 +100,6 @@ interface McpFacadeBoardContextLike {
|
|
|
98
100
|
id: string;
|
|
99
101
|
};
|
|
100
102
|
}) => Promise<CommandResult>;
|
|
101
|
-
cardRefreshedNotify: (input: {
|
|
102
|
-
params: {
|
|
103
|
-
cardId: string;
|
|
104
|
-
};
|
|
105
|
-
}) => Promise<CommandResult>;
|
|
106
103
|
upsertCard: (input: {
|
|
107
104
|
params: {
|
|
108
105
|
cardId: string;
|
|
@@ -184,43 +181,25 @@ declare function createMcpFacadeModule(deps: McpFacadeDeps): McpFacadeModule;
|
|
|
184
181
|
* index.ts.
|
|
185
182
|
*/
|
|
186
183
|
|
|
187
|
-
/** Minimum surface of the kv-storage handle used to read persisted status. */
|
|
188
|
-
interface KvStorageReader {
|
|
189
|
-
read(key: string): unknown | Promise<unknown>;
|
|
190
|
-
}
|
|
191
|
-
/** Minimum surface of the board-platform adapter consumed by readStatusSnapshot. */
|
|
192
|
-
interface BoardAdapterForPayload {
|
|
193
|
-
kvStorageForRef(ref: string): KvStorageReader;
|
|
194
|
-
}
|
|
195
184
|
/** Minimum surface of the board-ops handle consumed by payload readers. */
|
|
196
185
|
interface BoardOpsForPayload {
|
|
197
|
-
|
|
198
|
-
status: string;
|
|
199
|
-
data?: unknown;
|
|
200
|
-
} | Promise<{
|
|
201
|
-
status: string;
|
|
202
|
-
data?: unknown;
|
|
203
|
-
}>;
|
|
204
|
-
getAllOutputsDataObjects(input: Record<string, unknown>): {
|
|
186
|
+
buildSseOneShotPayload(input: Record<string, unknown>): {
|
|
205
187
|
status: string;
|
|
206
|
-
data?:
|
|
188
|
+
data?: BoardSseOneShotPayload;
|
|
207
189
|
} | Promise<{
|
|
208
190
|
status: string;
|
|
209
|
-
data?:
|
|
191
|
+
data?: BoardSseOneShotPayload;
|
|
210
192
|
}>;
|
|
211
193
|
}
|
|
212
194
|
/** Subset of BoardContext consumed by runtime-payload readers. */
|
|
213
195
|
interface RuntimePayloadBoardContext {
|
|
214
196
|
boardOps: BoardOpsForPayload;
|
|
215
|
-
boardAdapter: BoardAdapterForPayload;
|
|
216
|
-
outputsStoreRef: string;
|
|
217
197
|
notification: NotificationState;
|
|
218
198
|
}
|
|
219
199
|
interface RuntimePayloadDeps {
|
|
220
200
|
boardId: string;
|
|
221
201
|
/** Live reference to the runtime's board-contexts array (read on each call). */
|
|
222
202
|
boardContexts: ReadonlyArray<RuntimePayloadBoardContext>;
|
|
223
|
-
readCardDefinitions: () => Promise<Array<Record<string, unknown>>>;
|
|
224
203
|
readChatRecords: (cardId: string) => Promise<Array<Record<string, unknown>>>;
|
|
225
204
|
getChatProcessing: (cardId: string) => Promise<boolean>;
|
|
226
205
|
}
|
|
@@ -248,7 +227,7 @@ declare function createRuntimePayloadModule(deps: RuntimePayloadDeps): RuntimePa
|
|
|
248
227
|
interface ControlplaneToolHandlersDeps {
|
|
249
228
|
boardId: string;
|
|
250
229
|
bootstrapBoard: () => Promise<void>;
|
|
251
|
-
sseHub: Pick<SseHub, 'has' | 'subscribeChat' | 'unsubscribeChat'>;
|
|
230
|
+
sseHub: Pick<SseHub, 'has' | 'subscribeChat' | 'unsubscribeChat' | 'subscribeChannel' | 'unsubscribeChannel'>;
|
|
252
231
|
onChannelSubscribed?: (clientId: string, channelName: string, params: {
|
|
253
232
|
cardId?: string;
|
|
254
233
|
}) => void;
|