yaml-flow 8.6.1 → 8.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/asset-integrity.json +3 -3
- package/examples/board/demo-shell-with-server.html +2 -2
- package/examples/board/doc.html +2 -2
- package/examples/board/server/board-server.js +544 -45
- package/examples/board/server-config.json +2 -1
- package/examples/board/test/server-http-test.js +12 -4
- package/examples/board-local/demo-shell-localstorage.html +3 -3
- package/lib/{artifacts-store-lib-CLOtsiav.d.cts → artifacts-store-lib-BR-Samty.d.cts} +1 -1
- package/lib/{artifacts-store-lib-C1rtrkxm.d.ts → artifacts-store-lib-DT7XlWUL.d.ts} +1 -1
- package/lib/artifacts-store-public.d.cts +3 -3
- package/lib/artifacts-store-public.d.ts +3 -3
- package/lib/board-live-cards-mcp.cjs +1 -1
- package/lib/board-live-cards-mcp.d.cts +56 -23
- package/lib/board-live-cards-mcp.d.ts +56 -23
- package/lib/board-live-cards-mcp.js +1 -1
- package/lib/board-live-cards-node.cjs +8 -8
- package/lib/board-live-cards-node.d.cts +39 -21
- package/lib/board-live-cards-node.d.ts +39 -21
- package/lib/board-live-cards-node.js +8 -8
- package/lib/{board-live-cards-public-CBVjm327.d.ts → board-live-cards-public-BMUIPOrc.d.ts} +67 -42
- package/lib/board-live-cards-public-async-DKZqbJVU.d.ts +256 -0
- package/lib/board-live-cards-public-async-dMWNbWq6.d.cts +256 -0
- package/lib/{board-live-cards-public-CPJy-aGW.d.cts → board-live-cards-public-wkNmBIRC.d.cts} +67 -42
- package/lib/board-live-cards-public.cjs +1 -1
- package/lib/board-live-cards-public.d.cts +2 -2
- package/lib/board-live-cards-public.d.ts +2 -2
- package/lib/board-live-cards-public.js +1 -1
- package/lib/board-live-cards-server-runtime.cjs +1 -1
- package/lib/board-live-cards-server-runtime.d.cts +7 -6
- package/lib/board-live-cards-server-runtime.d.ts +7 -6
- package/lib/board-live-cards-server-runtime.js +1 -1
- package/lib/board-worker-adapter.cjs +4 -3
- package/lib/board-worker-adapter.d.cts +24 -14
- package/lib/board-worker-adapter.d.ts +24 -14
- package/lib/board-worker-adapter.js +4 -3
- package/lib/card-store-public.d.cts +2 -2
- package/lib/card-store-public.d.ts +2 -2
- package/lib/{chat-storage-lib-CKylihjm.d.cts → chat-storage-lib-BIUbE-fM.d.cts} +1 -1
- package/lib/{chat-storage-lib-Bce-xx6l.d.ts → chat-storage-lib-BlG-sobS.d.ts} +1 -1
- package/lib/chat-store-public.d.cts +3 -3
- package/lib/chat-store-public.d.ts +3 -3
- package/lib/{chunk-CWREBRXS.js → chunk-BQS3EIEK.js} +3 -3
- package/lib/{chunk-LDAP75GN.js → chunk-CIAJNUR4.js} +2 -2
- package/lib/chunk-GJJMEAVN.cjs +2 -0
- package/lib/chunk-GLIX37VG.cjs +8 -0
- package/lib/chunk-H5HBXPOI.cjs +3 -0
- package/lib/chunk-HEEDJEKM.js +2 -0
- package/lib/chunk-LRVAVWAG.js +8 -0
- package/lib/chunk-MLVTJASJ.js +2 -0
- package/lib/chunk-N6P2JW4W.js +3 -0
- package/lib/chunk-OEFTOO47.cjs +3 -0
- package/lib/chunk-PBCDDO4V.cjs +2 -0
- package/lib/{chunk-I4WH5U5D.cjs → chunk-PMUSJQSR.cjs} +2 -2
- package/lib/chunk-SCWHDI3I.js +2 -0
- package/lib/{chunk-UVE65IPR.cjs → chunk-SFVO2LB2.cjs} +3 -3
- package/lib/{chunk-5DB54ZX2.cjs → chunk-U2N6MCD5.cjs} +2 -2
- package/lib/chunk-VMW4Z6EF.js +3 -0
- package/lib/chunk-WOALA3V5.cjs +2 -0
- package/lib/{chunk-LBMEVV4U.js → chunk-XQRNDX4Q.js} +2 -2
- package/lib/cloud-storage.cjs +2 -0
- package/lib/cloud-storage.d.cts +177 -0
- package/lib/cloud-storage.d.ts +177 -0
- package/lib/cloud-storage.js +2 -0
- package/lib/execution-refs.cjs +1 -1
- package/lib/execution-refs.js +1 -1
- 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/{types-DRl0Hy_p.d.cts → queue-lane-registry-BPKWWgd4.d.cts} +66 -14
- package/lib/{types-BuK2UMxk.d.ts → queue-lane-registry-Be6c0ftj.d.ts} +66 -14
- package/lib/server-runtime/index.cjs +1 -1
- package/lib/server-runtime/index.d.cts +18 -7
- package/lib/server-runtime/index.d.ts +18 -7
- package/lib/server-runtime/index.js +1 -1
- package/lib/step-machine-public/index.cjs +1 -1
- package/lib/step-machine-public/index.d.cts +1 -1
- package/lib/step-machine-public/index.d.ts +1 -1
- package/lib/step-machine-public/index.js +1 -1
- package/lib/{storage-interface-Ct-C4tlz.d.cts → storage-interface-BFiD3kyB.d.cts} +11 -1
- package/lib/{storage-interface-Ct-C4tlz.d.ts → storage-interface-BFiD3kyB.d.ts} +11 -1
- package/lib/stores/index.cjs +1 -1
- package/lib/stores/index.d.cts +1 -1
- package/lib/stores/index.d.ts +1 -1
- package/lib/stores/index.js +1 -1
- package/lib/stores/kv.d.cts +1 -1
- package/lib/stores/kv.d.ts +1 -1
- package/package.json +6 -1
- package/lib/chunk-6APH25VI.js +0 -2
- package/lib/chunk-KNFFDVLD.cjs +0 -2
- package/lib/chunk-LVNQCE5X.cjs +0 -3
- package/lib/chunk-M7EQRS6W.js +0 -3
- package/lib/chunk-NJJ7WEDT.cjs +0 -2
- package/lib/chunk-P64UKI3L.cjs +0 -8
- package/lib/chunk-Q6VSL327.js +0 -8
- package/lib/chunk-VCCTAUIG.js +0 -2
|
@@ -1331,10 +1331,18 @@ try {
|
|
|
1331
1331
|
assert(t4UpsertV1Data?.board_result?.status === 'success', 'T4.remove-card v1 upsert board_result expected success');
|
|
1332
1332
|
console.log('[T4.remove-card] ok: v1 card upserted');
|
|
1333
1333
|
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1334
|
+
let t4StatusBeforeRemove = null;
|
|
1335
|
+
for (let attempt = 0; attempt < 3; attempt += 1) {
|
|
1336
|
+
t4StatusBeforeRemove = expectMcpSuccess(
|
|
1337
|
+
await httpMcp('inspect.board-runtime-status', {}),
|
|
1338
|
+
'T4.remove-card board-runtime-status before remove',
|
|
1339
|
+
);
|
|
1340
|
+
const cards = Array.isArray(t4StatusBeforeRemove?.cards) ? t4StatusBeforeRemove.cards : [];
|
|
1341
|
+
if (cards.some(c => c['card-id'] === T4_REMOVE_CARD_ID)) break;
|
|
1342
|
+
if (attempt < 2) {
|
|
1343
|
+
await new Promise((resolve) => setTimeout(resolve, 1_000));
|
|
1344
|
+
}
|
|
1345
|
+
}
|
|
1338
1346
|
const t4CardsBefore = Array.isArray(t4StatusBeforeRemove?.cards) ? t4StatusBeforeRemove.cards : [];
|
|
1339
1347
|
assert(t4CardsBefore.some(c => c['card-id'] === T4_REMOVE_CARD_ID), 'T4.remove-card: card not found in board-runtime-status before remove');
|
|
1340
1348
|
const t4CardCountBefore = t4StatusBeforeRemove?.summary?.card_count ?? 0;
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<title>Example Board Demo (LocalStorage Runtime)</title>
|
|
7
7
|
<link rel="icon" type="image/svg+xml" href="../../browser/favicon.svg" />
|
|
8
8
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" />
|
|
9
|
-
<script src="https://cdn.jsdelivr.net/npm/yaml-flow@8.6.
|
|
9
|
+
<script src="https://cdn.jsdelivr.net/npm/yaml-flow@8.6.3/browser/compute-jsonata.js"></script>
|
|
10
10
|
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
|
11
11
|
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
|
|
12
12
|
<script src="https://cdn.jsdelivr.net/npm/dompurify/dist/purify.min.js"></script>
|
|
13
13
|
<script src="https://cdn.jsdelivr.net/npm/leader-line/leader-line.min.js"></script>
|
|
14
|
-
<script src="https://cdn.jsdelivr.net/npm/yaml-flow@8.6.
|
|
15
|
-
<script src="https://cdn.jsdelivr.net/npm/yaml-flow@8.6.
|
|
14
|
+
<script src="https://cdn.jsdelivr.net/npm/yaml-flow@8.6.3/browser/live-cards.js"></script>
|
|
15
|
+
<script src="https://cdn.jsdelivr.net/npm/yaml-flow@8.6.3/browser/board-livecards-localstorage.js"></script>
|
|
16
16
|
</head>
|
|
17
17
|
<body class="bg-light">
|
|
18
18
|
<div class="container-fluid py-3">
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as CommandInput, C as CommandResult } from './board-live-cards-public-
|
|
2
|
-
import { A as ArtifactInfo, a as ArtifactsStore } from './artifacts-store-lib-
|
|
3
|
-
import './storage-interface-
|
|
1
|
+
import { a as CommandInput, C as CommandResult } from './board-live-cards-public-wkNmBIRC.cjs';
|
|
2
|
+
import { A as ArtifactInfo, a as ArtifactsStore } from './artifacts-store-lib-BR-Samty.cjs';
|
|
3
|
+
import './storage-interface-BFiD3kyB.cjs';
|
|
4
4
|
import './execution-refs.cjs';
|
|
5
5
|
import './types-BBhqYGhE.cjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as CommandInput, C as CommandResult } from './board-live-cards-public-
|
|
2
|
-
import { A as ArtifactInfo, a as ArtifactsStore } from './artifacts-store-lib-
|
|
3
|
-
import './storage-interface-
|
|
1
|
+
import { a as CommandInput, C as CommandResult } from './board-live-cards-public-BMUIPOrc.js';
|
|
2
|
+
import { A as ArtifactInfo, a as ArtifactsStore } from './artifacts-store-lib-DT7XlWUL.js';
|
|
3
|
+
import './storage-interface-BFiD3kyB.js';
|
|
4
4
|
import './execution-refs.js';
|
|
5
5
|
import './types-BBhqYGhE.js';
|
|
6
6
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkGJJMEAVN_cjs=require('./chunk-GJJMEAVN.cjs');require('./chunk-IXZG74EW.cjs'),require('./chunk-NMZ6XNLB.cjs'),require('./chunk-UJ7ZTV4J.cjs'),require('./chunk-GNFE24S7.cjs');Object.defineProperty(exports,"createBoardLiveCardsMcp",{enumerable:true,get:function(){return chunkGJJMEAVN_cjs.a}});//# sourceMappingURL=board-live-cards-mcp.cjs.map
|
|
2
2
|
//# sourceMappingURL=board-live-cards-mcp.cjs.map
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { C as CommandResult, L as LiveCard } from './board-live-cards-public-
|
|
2
|
-
import { CardStorePublic } from './card-store-public.cjs';
|
|
1
|
+
import { C as CommandResult, L as LiveCard } from './board-live-cards-public-wkNmBIRC.cjs';
|
|
3
2
|
import { ChatStorePublic } from './chat-store-public.cjs';
|
|
4
|
-
import { C as ChatRecord } from './chat-storage-lib-
|
|
5
|
-
import './storage-interface-
|
|
3
|
+
import { C as ChatRecord } from './chat-storage-lib-BIUbE-fM.cjs';
|
|
4
|
+
import './storage-interface-BFiD3kyB.cjs';
|
|
6
5
|
import './execution-refs.cjs';
|
|
7
6
|
import './types-BBhqYGhE.cjs';
|
|
8
7
|
|
|
@@ -16,6 +15,7 @@ import './types-BBhqYGhE.cjs';
|
|
|
16
15
|
*/
|
|
17
16
|
|
|
18
17
|
type UnknownRecord = Record<string, unknown>;
|
|
18
|
+
type Awaitable<T> = T | Promise<T>;
|
|
19
19
|
interface BoardLiveCardsMcpFileDownloadDescriptor {
|
|
20
20
|
cardId: string;
|
|
21
21
|
fileIdx: number;
|
|
@@ -139,38 +139,71 @@ interface BoardLiveCardsMcpPreflightMaterializeResult {
|
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
141
|
interface BoardLiveCardsMcpBoardDeps {
|
|
142
|
-
status(input: {}): CommandResult
|
|
142
|
+
status(input: {}): Awaitable<CommandResult>;
|
|
143
143
|
getOutputsDataObject(input: {
|
|
144
144
|
params: {
|
|
145
145
|
key: string;
|
|
146
146
|
};
|
|
147
|
-
}): CommandResult
|
|
147
|
+
}): Awaitable<CommandResult>;
|
|
148
148
|
getOutputsComputedValues(input: {
|
|
149
149
|
params: {
|
|
150
150
|
key: string;
|
|
151
151
|
};
|
|
152
|
-
}): CommandResult
|
|
152
|
+
}): Awaitable<CommandResult>;
|
|
153
153
|
getOutputsFetchedSources(input: {
|
|
154
154
|
params: {
|
|
155
155
|
key: string;
|
|
156
156
|
};
|
|
157
|
-
}): CommandResult<Record<string, string
|
|
157
|
+
}): Awaitable<CommandResult<Record<string, string>>>;
|
|
158
158
|
removeCard(input: {
|
|
159
159
|
params: {
|
|
160
160
|
id: string;
|
|
161
161
|
};
|
|
162
|
-
}): CommandResult
|
|
162
|
+
}): Awaitable<CommandResult>;
|
|
163
163
|
cardRefreshedNotify(input: {
|
|
164
164
|
params: {
|
|
165
165
|
cardId: string;
|
|
166
166
|
};
|
|
167
|
-
}): CommandResult
|
|
167
|
+
}): Awaitable<CommandResult>;
|
|
168
168
|
upsertCard(input: {
|
|
169
169
|
params: {
|
|
170
170
|
cardId: string;
|
|
171
171
|
restart?: boolean;
|
|
172
172
|
};
|
|
173
|
-
}): CommandResult
|
|
173
|
+
}): Awaitable<CommandResult>;
|
|
174
|
+
}
|
|
175
|
+
interface BoardLiveCardsMcpCardStoreDeps {
|
|
176
|
+
get(input: {
|
|
177
|
+
params?: {
|
|
178
|
+
id?: string;
|
|
179
|
+
};
|
|
180
|
+
}): Awaitable<CommandResult<{
|
|
181
|
+
cards?: Array<Record<string, unknown>>;
|
|
182
|
+
}>>;
|
|
183
|
+
set(input: {
|
|
184
|
+
body?: unknown;
|
|
185
|
+
}): Awaitable<CommandResult>;
|
|
186
|
+
del(input: {
|
|
187
|
+
params?: {
|
|
188
|
+
id?: string;
|
|
189
|
+
};
|
|
190
|
+
body?: {
|
|
191
|
+
ids?: string[];
|
|
192
|
+
};
|
|
193
|
+
}): Awaitable<CommandResult>;
|
|
194
|
+
patch(input: {
|
|
195
|
+
params?: {
|
|
196
|
+
id?: string;
|
|
197
|
+
path?: string;
|
|
198
|
+
};
|
|
199
|
+
body?: unknown;
|
|
200
|
+
}): Awaitable<CommandResult>;
|
|
201
|
+
appendFiles?(input: {
|
|
202
|
+
params?: {
|
|
203
|
+
id?: string;
|
|
204
|
+
};
|
|
205
|
+
body?: unknown;
|
|
206
|
+
}): Awaitable<CommandResult>;
|
|
174
207
|
}
|
|
175
208
|
interface BoardLiveCardsMcpNonCoreDeps {
|
|
176
209
|
describeTaskExecutorCapabilities(input: {}): Promise<CommandResult>;
|
|
@@ -207,17 +240,17 @@ interface BoardLiveCardsMcpNonCoreDeps {
|
|
|
207
240
|
interface BoardLiveCardsMcpDeps {
|
|
208
241
|
board: BoardLiveCardsMcpBoardDeps;
|
|
209
242
|
nonCore: BoardLiveCardsMcpNonCoreDeps;
|
|
210
|
-
cardStore:
|
|
243
|
+
cardStore: BoardLiveCardsMcpCardStoreDeps;
|
|
211
244
|
chatStore: ChatStorePublic;
|
|
212
245
|
uploadCardFile(args: {
|
|
213
246
|
cardId: string;
|
|
214
247
|
fileName: string;
|
|
215
248
|
contentType: string;
|
|
216
249
|
bytes: Uint8Array;
|
|
217
|
-
}): {
|
|
250
|
+
}): Awaitable<{
|
|
218
251
|
ok: true;
|
|
219
252
|
file: Record<string, unknown>;
|
|
220
|
-
}
|
|
253
|
+
}>;
|
|
221
254
|
buildFileDownloadUrl(args: {
|
|
222
255
|
cardId: string;
|
|
223
256
|
fileIdx: number;
|
|
@@ -230,10 +263,10 @@ interface BoardLiveCardsMcpDeps {
|
|
|
230
263
|
}
|
|
231
264
|
interface BoardLiveCardsMcp {
|
|
232
265
|
discoverSourceKinds(): Promise<BoardLiveCardsMcpDiscoverSourceKindsResult>;
|
|
233
|
-
inspectBoardRuntimeStatus(): BoardLiveCardsMcpBoardStatusResult
|
|
266
|
+
inspectBoardRuntimeStatus(): Promise<BoardLiveCardsMcpBoardStatusResult>;
|
|
234
267
|
inspectCardDefinitionAndRuntime(args: {
|
|
235
268
|
cardId: string;
|
|
236
|
-
}): BoardLiveCardsMcpInspectCardDefinitionAndRuntimeResult
|
|
269
|
+
}): Promise<BoardLiveCardsMcpInspectCardDefinitionAndRuntimeResult>;
|
|
237
270
|
inspectChatMessagesOnCards(args: {
|
|
238
271
|
cardId: string;
|
|
239
272
|
lastUserTurns?: number;
|
|
@@ -241,11 +274,11 @@ interface BoardLiveCardsMcp {
|
|
|
241
274
|
turnId?: string;
|
|
242
275
|
allTurns?: boolean;
|
|
243
276
|
tailTurnsBeforeId?: string;
|
|
244
|
-
}): BoardLiveCardsMcpInspectChatMessagesResult
|
|
277
|
+
}): Promise<BoardLiveCardsMcpInspectChatMessagesResult>;
|
|
245
278
|
inspectFileContents(args: {
|
|
246
279
|
cardId: string;
|
|
247
280
|
fileIdx: number;
|
|
248
|
-
}): BoardLiveCardsMcpFileDownloadDescriptor
|
|
281
|
+
}): Promise<BoardLiveCardsMcpFileDownloadDescriptor>;
|
|
249
282
|
preflightValidateCandidateCardDefinition(args: {
|
|
250
283
|
candidateCardContent: UnknownRecord;
|
|
251
284
|
}): Promise<unknown>;
|
|
@@ -275,24 +308,24 @@ interface BoardLiveCardsMcp {
|
|
|
275
308
|
}): Promise<BoardLiveCardsMcpPreflightRunOneCycleResult>;
|
|
276
309
|
manageReadCard(args: {
|
|
277
310
|
cardId: string;
|
|
278
|
-
}): LiveCard[]
|
|
311
|
+
}): Promise<LiveCard[]>;
|
|
279
312
|
manageAddChatEntryAndAnyAttachments(args: {
|
|
280
313
|
cardId: string;
|
|
281
314
|
role: string;
|
|
282
315
|
text?: string;
|
|
283
316
|
turn?: string;
|
|
284
317
|
files?: unknown[];
|
|
285
|
-
}): BoardLiveCardsMcpManageAddChatEntryAndAnyAttachmentsResult
|
|
318
|
+
}): Promise<BoardLiveCardsMcpManageAddChatEntryAndAnyAttachmentsResult>;
|
|
286
319
|
manageUpsertCard(args: {
|
|
287
320
|
cardId: string;
|
|
288
321
|
candidateCardContent: UnknownRecord;
|
|
289
322
|
}): Promise<BoardLiveCardsMcpManageUpsertCardResult>;
|
|
290
323
|
manageRemoveCard(args: {
|
|
291
324
|
cardId: string;
|
|
292
|
-
}): unknown
|
|
325
|
+
}): Promise<unknown>;
|
|
293
326
|
adminReadCard(args: {
|
|
294
327
|
cardId: string;
|
|
295
|
-
}): LiveCard[]
|
|
328
|
+
}): Promise<LiveCard[]>;
|
|
296
329
|
adminUpsertCard(args: {
|
|
297
330
|
cardId: string;
|
|
298
331
|
candidateCardContent: UnknownRecord;
|
|
@@ -313,4 +346,4 @@ interface BoardLiveCardsMcp {
|
|
|
313
346
|
}
|
|
314
347
|
declare function createBoardLiveCardsMcp(deps: BoardLiveCardsMcpDeps): BoardLiveCardsMcp;
|
|
315
348
|
|
|
316
|
-
export { type BoardLiveCardsMcp, type BoardLiveCardsMcpBoardDeps, type BoardLiveCardsMcpBoardStatusCard, type BoardLiveCardsMcpBoardStatusResult, type BoardLiveCardsMcpDeps, type BoardLiveCardsMcpDiscoverSourceKindsResult, type BoardLiveCardsMcpFileDownloadDescriptor, type BoardLiveCardsMcpInspectCardDefinitionAndRuntimeResult, type BoardLiveCardsMcpInspectChatMessagesResult, type BoardLiveCardsMcpManageAddChatEntryAndAnyAttachmentsResult, type BoardLiveCardsMcpManageUpsertCardFailureResult, type BoardLiveCardsMcpManageUpsertCardResult, type BoardLiveCardsMcpManageUpsertCardSuccessResult, type BoardLiveCardsMcpNonCoreDeps, type BoardLiveCardsMcpPreflightMaterializeResult, type BoardLiveCardsMcpPreflightRunOneCycleResult, type BoardLiveCardsMcpRenderedView, type BoardLiveCardsMcpRenderedViewElement, createBoardLiveCardsMcp };
|
|
349
|
+
export { type BoardLiveCardsMcp, type BoardLiveCardsMcpBoardDeps, type BoardLiveCardsMcpBoardStatusCard, type BoardLiveCardsMcpBoardStatusResult, type BoardLiveCardsMcpCardStoreDeps, type BoardLiveCardsMcpDeps, type BoardLiveCardsMcpDiscoverSourceKindsResult, type BoardLiveCardsMcpFileDownloadDescriptor, type BoardLiveCardsMcpInspectCardDefinitionAndRuntimeResult, type BoardLiveCardsMcpInspectChatMessagesResult, type BoardLiveCardsMcpManageAddChatEntryAndAnyAttachmentsResult, type BoardLiveCardsMcpManageUpsertCardFailureResult, type BoardLiveCardsMcpManageUpsertCardResult, type BoardLiveCardsMcpManageUpsertCardSuccessResult, type BoardLiveCardsMcpNonCoreDeps, type BoardLiveCardsMcpPreflightMaterializeResult, type BoardLiveCardsMcpPreflightRunOneCycleResult, type BoardLiveCardsMcpRenderedView, type BoardLiveCardsMcpRenderedViewElement, createBoardLiveCardsMcp };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { C as CommandResult, L as LiveCard } from './board-live-cards-public-
|
|
2
|
-
import { CardStorePublic } from './card-store-public.js';
|
|
1
|
+
import { C as CommandResult, L as LiveCard } from './board-live-cards-public-BMUIPOrc.js';
|
|
3
2
|
import { ChatStorePublic } from './chat-store-public.js';
|
|
4
|
-
import { C as ChatRecord } from './chat-storage-lib-
|
|
5
|
-
import './storage-interface-
|
|
3
|
+
import { C as ChatRecord } from './chat-storage-lib-BlG-sobS.js';
|
|
4
|
+
import './storage-interface-BFiD3kyB.js';
|
|
6
5
|
import './execution-refs.js';
|
|
7
6
|
import './types-BBhqYGhE.js';
|
|
8
7
|
|
|
@@ -16,6 +15,7 @@ import './types-BBhqYGhE.js';
|
|
|
16
15
|
*/
|
|
17
16
|
|
|
18
17
|
type UnknownRecord = Record<string, unknown>;
|
|
18
|
+
type Awaitable<T> = T | Promise<T>;
|
|
19
19
|
interface BoardLiveCardsMcpFileDownloadDescriptor {
|
|
20
20
|
cardId: string;
|
|
21
21
|
fileIdx: number;
|
|
@@ -139,38 +139,71 @@ interface BoardLiveCardsMcpPreflightMaterializeResult {
|
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
141
|
interface BoardLiveCardsMcpBoardDeps {
|
|
142
|
-
status(input: {}): CommandResult
|
|
142
|
+
status(input: {}): Awaitable<CommandResult>;
|
|
143
143
|
getOutputsDataObject(input: {
|
|
144
144
|
params: {
|
|
145
145
|
key: string;
|
|
146
146
|
};
|
|
147
|
-
}): CommandResult
|
|
147
|
+
}): Awaitable<CommandResult>;
|
|
148
148
|
getOutputsComputedValues(input: {
|
|
149
149
|
params: {
|
|
150
150
|
key: string;
|
|
151
151
|
};
|
|
152
|
-
}): CommandResult
|
|
152
|
+
}): Awaitable<CommandResult>;
|
|
153
153
|
getOutputsFetchedSources(input: {
|
|
154
154
|
params: {
|
|
155
155
|
key: string;
|
|
156
156
|
};
|
|
157
|
-
}): CommandResult<Record<string, string
|
|
157
|
+
}): Awaitable<CommandResult<Record<string, string>>>;
|
|
158
158
|
removeCard(input: {
|
|
159
159
|
params: {
|
|
160
160
|
id: string;
|
|
161
161
|
};
|
|
162
|
-
}): CommandResult
|
|
162
|
+
}): Awaitable<CommandResult>;
|
|
163
163
|
cardRefreshedNotify(input: {
|
|
164
164
|
params: {
|
|
165
165
|
cardId: string;
|
|
166
166
|
};
|
|
167
|
-
}): CommandResult
|
|
167
|
+
}): Awaitable<CommandResult>;
|
|
168
168
|
upsertCard(input: {
|
|
169
169
|
params: {
|
|
170
170
|
cardId: string;
|
|
171
171
|
restart?: boolean;
|
|
172
172
|
};
|
|
173
|
-
}): CommandResult
|
|
173
|
+
}): Awaitable<CommandResult>;
|
|
174
|
+
}
|
|
175
|
+
interface BoardLiveCardsMcpCardStoreDeps {
|
|
176
|
+
get(input: {
|
|
177
|
+
params?: {
|
|
178
|
+
id?: string;
|
|
179
|
+
};
|
|
180
|
+
}): Awaitable<CommandResult<{
|
|
181
|
+
cards?: Array<Record<string, unknown>>;
|
|
182
|
+
}>>;
|
|
183
|
+
set(input: {
|
|
184
|
+
body?: unknown;
|
|
185
|
+
}): Awaitable<CommandResult>;
|
|
186
|
+
del(input: {
|
|
187
|
+
params?: {
|
|
188
|
+
id?: string;
|
|
189
|
+
};
|
|
190
|
+
body?: {
|
|
191
|
+
ids?: string[];
|
|
192
|
+
};
|
|
193
|
+
}): Awaitable<CommandResult>;
|
|
194
|
+
patch(input: {
|
|
195
|
+
params?: {
|
|
196
|
+
id?: string;
|
|
197
|
+
path?: string;
|
|
198
|
+
};
|
|
199
|
+
body?: unknown;
|
|
200
|
+
}): Awaitable<CommandResult>;
|
|
201
|
+
appendFiles?(input: {
|
|
202
|
+
params?: {
|
|
203
|
+
id?: string;
|
|
204
|
+
};
|
|
205
|
+
body?: unknown;
|
|
206
|
+
}): Awaitable<CommandResult>;
|
|
174
207
|
}
|
|
175
208
|
interface BoardLiveCardsMcpNonCoreDeps {
|
|
176
209
|
describeTaskExecutorCapabilities(input: {}): Promise<CommandResult>;
|
|
@@ -207,17 +240,17 @@ interface BoardLiveCardsMcpNonCoreDeps {
|
|
|
207
240
|
interface BoardLiveCardsMcpDeps {
|
|
208
241
|
board: BoardLiveCardsMcpBoardDeps;
|
|
209
242
|
nonCore: BoardLiveCardsMcpNonCoreDeps;
|
|
210
|
-
cardStore:
|
|
243
|
+
cardStore: BoardLiveCardsMcpCardStoreDeps;
|
|
211
244
|
chatStore: ChatStorePublic;
|
|
212
245
|
uploadCardFile(args: {
|
|
213
246
|
cardId: string;
|
|
214
247
|
fileName: string;
|
|
215
248
|
contentType: string;
|
|
216
249
|
bytes: Uint8Array;
|
|
217
|
-
}): {
|
|
250
|
+
}): Awaitable<{
|
|
218
251
|
ok: true;
|
|
219
252
|
file: Record<string, unknown>;
|
|
220
|
-
}
|
|
253
|
+
}>;
|
|
221
254
|
buildFileDownloadUrl(args: {
|
|
222
255
|
cardId: string;
|
|
223
256
|
fileIdx: number;
|
|
@@ -230,10 +263,10 @@ interface BoardLiveCardsMcpDeps {
|
|
|
230
263
|
}
|
|
231
264
|
interface BoardLiveCardsMcp {
|
|
232
265
|
discoverSourceKinds(): Promise<BoardLiveCardsMcpDiscoverSourceKindsResult>;
|
|
233
|
-
inspectBoardRuntimeStatus(): BoardLiveCardsMcpBoardStatusResult
|
|
266
|
+
inspectBoardRuntimeStatus(): Promise<BoardLiveCardsMcpBoardStatusResult>;
|
|
234
267
|
inspectCardDefinitionAndRuntime(args: {
|
|
235
268
|
cardId: string;
|
|
236
|
-
}): BoardLiveCardsMcpInspectCardDefinitionAndRuntimeResult
|
|
269
|
+
}): Promise<BoardLiveCardsMcpInspectCardDefinitionAndRuntimeResult>;
|
|
237
270
|
inspectChatMessagesOnCards(args: {
|
|
238
271
|
cardId: string;
|
|
239
272
|
lastUserTurns?: number;
|
|
@@ -241,11 +274,11 @@ interface BoardLiveCardsMcp {
|
|
|
241
274
|
turnId?: string;
|
|
242
275
|
allTurns?: boolean;
|
|
243
276
|
tailTurnsBeforeId?: string;
|
|
244
|
-
}): BoardLiveCardsMcpInspectChatMessagesResult
|
|
277
|
+
}): Promise<BoardLiveCardsMcpInspectChatMessagesResult>;
|
|
245
278
|
inspectFileContents(args: {
|
|
246
279
|
cardId: string;
|
|
247
280
|
fileIdx: number;
|
|
248
|
-
}): BoardLiveCardsMcpFileDownloadDescriptor
|
|
281
|
+
}): Promise<BoardLiveCardsMcpFileDownloadDescriptor>;
|
|
249
282
|
preflightValidateCandidateCardDefinition(args: {
|
|
250
283
|
candidateCardContent: UnknownRecord;
|
|
251
284
|
}): Promise<unknown>;
|
|
@@ -275,24 +308,24 @@ interface BoardLiveCardsMcp {
|
|
|
275
308
|
}): Promise<BoardLiveCardsMcpPreflightRunOneCycleResult>;
|
|
276
309
|
manageReadCard(args: {
|
|
277
310
|
cardId: string;
|
|
278
|
-
}): LiveCard[]
|
|
311
|
+
}): Promise<LiveCard[]>;
|
|
279
312
|
manageAddChatEntryAndAnyAttachments(args: {
|
|
280
313
|
cardId: string;
|
|
281
314
|
role: string;
|
|
282
315
|
text?: string;
|
|
283
316
|
turn?: string;
|
|
284
317
|
files?: unknown[];
|
|
285
|
-
}): BoardLiveCardsMcpManageAddChatEntryAndAnyAttachmentsResult
|
|
318
|
+
}): Promise<BoardLiveCardsMcpManageAddChatEntryAndAnyAttachmentsResult>;
|
|
286
319
|
manageUpsertCard(args: {
|
|
287
320
|
cardId: string;
|
|
288
321
|
candidateCardContent: UnknownRecord;
|
|
289
322
|
}): Promise<BoardLiveCardsMcpManageUpsertCardResult>;
|
|
290
323
|
manageRemoveCard(args: {
|
|
291
324
|
cardId: string;
|
|
292
|
-
}): unknown
|
|
325
|
+
}): Promise<unknown>;
|
|
293
326
|
adminReadCard(args: {
|
|
294
327
|
cardId: string;
|
|
295
|
-
}): LiveCard[]
|
|
328
|
+
}): Promise<LiveCard[]>;
|
|
296
329
|
adminUpsertCard(args: {
|
|
297
330
|
cardId: string;
|
|
298
331
|
candidateCardContent: UnknownRecord;
|
|
@@ -313,4 +346,4 @@ interface BoardLiveCardsMcp {
|
|
|
313
346
|
}
|
|
314
347
|
declare function createBoardLiveCardsMcp(deps: BoardLiveCardsMcpDeps): BoardLiveCardsMcp;
|
|
315
348
|
|
|
316
|
-
export { type BoardLiveCardsMcp, type BoardLiveCardsMcpBoardDeps, type BoardLiveCardsMcpBoardStatusCard, type BoardLiveCardsMcpBoardStatusResult, type BoardLiveCardsMcpDeps, type BoardLiveCardsMcpDiscoverSourceKindsResult, type BoardLiveCardsMcpFileDownloadDescriptor, type BoardLiveCardsMcpInspectCardDefinitionAndRuntimeResult, type BoardLiveCardsMcpInspectChatMessagesResult, type BoardLiveCardsMcpManageAddChatEntryAndAnyAttachmentsResult, type BoardLiveCardsMcpManageUpsertCardFailureResult, type BoardLiveCardsMcpManageUpsertCardResult, type BoardLiveCardsMcpManageUpsertCardSuccessResult, type BoardLiveCardsMcpNonCoreDeps, type BoardLiveCardsMcpPreflightMaterializeResult, type BoardLiveCardsMcpPreflightRunOneCycleResult, type BoardLiveCardsMcpRenderedView, type BoardLiveCardsMcpRenderedViewElement, createBoardLiveCardsMcp };
|
|
349
|
+
export { type BoardLiveCardsMcp, type BoardLiveCardsMcpBoardDeps, type BoardLiveCardsMcpBoardStatusCard, type BoardLiveCardsMcpBoardStatusResult, type BoardLiveCardsMcpCardStoreDeps, type BoardLiveCardsMcpDeps, type BoardLiveCardsMcpDiscoverSourceKindsResult, type BoardLiveCardsMcpFileDownloadDescriptor, type BoardLiveCardsMcpInspectCardDefinitionAndRuntimeResult, type BoardLiveCardsMcpInspectChatMessagesResult, type BoardLiveCardsMcpManageAddChatEntryAndAnyAttachmentsResult, type BoardLiveCardsMcpManageUpsertCardFailureResult, type BoardLiveCardsMcpManageUpsertCardResult, type BoardLiveCardsMcpManageUpsertCardSuccessResult, type BoardLiveCardsMcpNonCoreDeps, type BoardLiveCardsMcpPreflightMaterializeResult, type BoardLiveCardsMcpPreflightRunOneCycleResult, type BoardLiveCardsMcpRenderedView, type BoardLiveCardsMcpRenderedViewElement, createBoardLiveCardsMcp };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as createBoardLiveCardsMcp}from'./chunk-
|
|
1
|
+
export{a as createBoardLiveCardsMcp}from'./chunk-SCWHDI3I.js';import'./chunk-JMDHDY6M.js';import'./chunk-VLBB3D6B.js';import'./chunk-MNEOJWPS.js';import'./chunk-FW4363Y4.js';//# sourceMappingURL=board-live-cards-mcp.js.map
|
|
2
2
|
//# sourceMappingURL=board-live-cards-mcp.js.map
|