@oomol-lab/open-flow 0.1.0-beta.15 → 0.1.0-beta.16
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/dist/browser/{createResourceDialog-mW21KMfJ.js → createResourceDialog-DRUIXBbz.js} +24 -25
- package/dist/browser/dist-B_T-OpQp.js +4 -0
- package/dist/browser/{dist-C46JByB-.js → dist-Dz6Nglsd.js} +61 -61
- package/dist/browser/{esm-DOipoo54.js → esm-B7A42FzW.js} +11 -1
- package/dist/browser/flowChanges-iuoam3Bx.js +10753 -0
- package/dist/browser/{flowRunInputEditorStore-NPGePkvP.js → flowRunInputEditorStore-BBqQIOCR.js} +1017 -4100
- package/dist/browser/{flowWorkspace-wssXq1cX.js → flowWorkspace-B0UAQ-s7.js} +76839 -91049
- package/dist/browser/i18n-JtW9O5x3.js +6881 -0
- package/dist/browser/inputValues-DICmJoN-.js +43 -0
- package/dist/browser/{languages-i3Xmpt6S.js → languages-C0zQ4GSo.js} +2 -13
- package/dist/browser/licenses.md +46 -729
- package/dist/browser/main-BDnNHhkU.js +50 -0
- package/dist/browser/{markdownContent-BawLYUjh.js → markdownContent-tWc7bRAs.js} +6 -6
- package/dist/browser/theme.css +427 -0
- package/dist/browser/ui-input.d.ts +3 -0
- package/dist/browser/ui-label.d.ts +3 -0
- package/dist/browser/ui-textarea.d.ts +3 -0
- package/dist/browser/ui.css +2 -0
- package/dist/browser/ui.css.d.ts +1 -0
- package/dist/browser/ui.d.ts +3 -0
- package/dist/browser/ui.js +2401 -0
- package/dist/browser/useValueChanged-DSookOEC.js +2944 -0
- package/dist/browser/workbench.css +1 -1
- package/dist/browser/workbench.js +337 -338
- package/dist/browser/workbenchSelect-DgxXqCAa.js +11665 -0
- package/dist/common/control-api-conformance.js +6 -5
- package/dist/common/control-api.js +15 -15
- package/dist/common/mcp.d.ts +220 -0
- package/dist/common/mcp.js +2941 -1495
- package/package.json +9 -1
- package/dist/browser/DesignerIcon-Bzpx8BtG.js +0 -2272
- package/dist/browser/dist-CP0883sY.js +0 -4
- package/dist/browser/flowChanges-DYV6OEQd.js +0 -14094
- package/dist/browser/getPseudoElementBounds-Dfqo78k7.js +0 -7151
- package/dist/browser/inputValues-CEe8GspD.js +0 -30
- package/dist/browser/main-DmjVyuWr.js +0 -76
- package/dist/browser/select-DIMWIiL5.js +0 -7428
- package/dist/browser/workbenchSelect-NZCIKdkk.js +0 -30
|
@@ -4336,6 +4336,12 @@ function Ws(e) {
|
|
|
4336
4336
|
]));
|
|
4337
4337
|
return t;
|
|
4338
4338
|
}
|
|
4339
|
+
cs({
|
|
4340
|
+
pointer: D().max(4096).default(""),
|
|
4341
|
+
offset: k().int().nonnegative().default(0),
|
|
4342
|
+
limit: k().int().min(1).max(100).default(20),
|
|
4343
|
+
maxBytes: k().int().min(1).max(1048576).default(15e3)
|
|
4344
|
+
});
|
|
4339
4345
|
//#endregion
|
|
4340
4346
|
//#region src/control/common/results.ts
|
|
4341
4347
|
var Gs = Ws(), Ks = cs({
|
|
@@ -4368,11 +4374,6 @@ var Gs = Ws(), Ks = cs({
|
|
|
4368
4374
|
createdAt: D().datetime()
|
|
4369
4375
|
});
|
|
4370
4376
|
cs({
|
|
4371
|
-
pointer: D().max(4096).default(""),
|
|
4372
|
-
offset: k().int().nonnegative().default(0),
|
|
4373
|
-
limit: k().int().min(1).max(100).default(20),
|
|
4374
|
-
maxBytes: k().int().min(1).max(1048576).default(15e3)
|
|
4375
|
-
}), cs({
|
|
4376
4377
|
version: F(1),
|
|
4377
4378
|
runId: D(),
|
|
4378
4379
|
results: A(Js),
|
|
@@ -4317,8 +4317,13 @@ function Is(e) {
|
|
|
4317
4317
|
return t;
|
|
4318
4318
|
}
|
|
4319
4319
|
//#endregion
|
|
4320
|
-
//#region src/control/common/
|
|
4321
|
-
var Ls =
|
|
4320
|
+
//#region src/control/common/resultQuery.ts
|
|
4321
|
+
var Ls = L({
|
|
4322
|
+
pointer: j().max(4096).default(""),
|
|
4323
|
+
offset: N().int().nonnegative().default(0),
|
|
4324
|
+
limit: N().int().min(1).max(100).default(20),
|
|
4325
|
+
maxBytes: N().int().min(1).max(1048576).default(15e3)
|
|
4326
|
+
}), Rs = Is(), zs = L({
|
|
4322
4327
|
pointer: j(),
|
|
4323
4328
|
type: B([
|
|
4324
4329
|
"object",
|
|
@@ -4330,12 +4335,12 @@ var Ls = Is(), Rs = L({
|
|
|
4330
4335
|
]),
|
|
4331
4336
|
length: N().int().nonnegative().optional(),
|
|
4332
4337
|
complete: P(),
|
|
4333
|
-
value:
|
|
4334
|
-
}),
|
|
4338
|
+
value: Rs.optional()
|
|
4339
|
+
}), Bs = zs.extend({
|
|
4335
4340
|
offset: N().int().nonnegative(),
|
|
4336
4341
|
nextOffset: N().int().positive().optional(),
|
|
4337
|
-
entries: F(
|
|
4338
|
-
}),
|
|
4342
|
+
entries: F(zs).optional()
|
|
4343
|
+
}), Vs = L({
|
|
4339
4344
|
resultId: j().min(1),
|
|
4340
4345
|
callId: j().min(1),
|
|
4341
4346
|
toolId: j().min(1),
|
|
@@ -4346,24 +4351,19 @@ var Ls = Is(), Rs = L({
|
|
|
4346
4351
|
bytes: N().int().nonnegative(),
|
|
4347
4352
|
digest: j().regex(/^[a-f0-9]{64}$/),
|
|
4348
4353
|
createdAt: j().datetime()
|
|
4349
|
-
}), Vs = L({
|
|
4350
|
-
pointer: j().max(4096).default(""),
|
|
4351
|
-
offset: N().int().nonnegative().default(0),
|
|
4352
|
-
limit: N().int().min(1).max(100).default(20),
|
|
4353
|
-
maxBytes: N().int().min(1).max(1048576).default(15e3)
|
|
4354
4354
|
}), Hs = L({
|
|
4355
4355
|
version: V(1),
|
|
4356
4356
|
runId: j(),
|
|
4357
|
-
results: F(
|
|
4357
|
+
results: F(Vs),
|
|
4358
4358
|
nextAfter: j().optional()
|
|
4359
4359
|
}), Us = L({
|
|
4360
4360
|
version: V(1),
|
|
4361
4361
|
runId: j(),
|
|
4362
|
-
result:
|
|
4363
|
-
page:
|
|
4362
|
+
result: Vs,
|
|
4363
|
+
page: Bs
|
|
4364
4364
|
});
|
|
4365
4365
|
function Ws(e) {
|
|
4366
|
-
return
|
|
4366
|
+
return Ls.parse(e);
|
|
4367
4367
|
}
|
|
4368
4368
|
function Gs(e) {
|
|
4369
4369
|
return Hs.parse(e);
|
package/dist/common/mcp.d.ts
CHANGED
|
@@ -183,6 +183,99 @@ export declare const mcpTools: {
|
|
|
183
183
|
};
|
|
184
184
|
};
|
|
185
185
|
};
|
|
186
|
+
flow_publish: {
|
|
187
|
+
description: string;
|
|
188
|
+
annotations: {
|
|
189
|
+
readOnlyHint: boolean;
|
|
190
|
+
destructiveHint: boolean;
|
|
191
|
+
idempotentHint: boolean;
|
|
192
|
+
openWorldHint: boolean;
|
|
193
|
+
};
|
|
194
|
+
inputSchema: {
|
|
195
|
+
'~standard': {
|
|
196
|
+
version: 1;
|
|
197
|
+
vendor: string;
|
|
198
|
+
jsonSchema: {
|
|
199
|
+
input: () => Record<string, unknown>;
|
|
200
|
+
output: () => Record<string, unknown>;
|
|
201
|
+
};
|
|
202
|
+
validate(value: unknown): {
|
|
203
|
+
value: {
|
|
204
|
+
flowId: string;
|
|
205
|
+
revisionId: string;
|
|
206
|
+
expectedLivePublicationId: string | null;
|
|
207
|
+
idempotencyKey: string;
|
|
208
|
+
};
|
|
209
|
+
} | {
|
|
210
|
+
issues: {
|
|
211
|
+
message: string;
|
|
212
|
+
path: string[];
|
|
213
|
+
}[];
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
flow_publish_status: {
|
|
219
|
+
description: string;
|
|
220
|
+
annotations: {
|
|
221
|
+
readOnlyHint: boolean;
|
|
222
|
+
destructiveHint: boolean;
|
|
223
|
+
idempotentHint: boolean;
|
|
224
|
+
openWorldHint: boolean;
|
|
225
|
+
};
|
|
226
|
+
inputSchema: {
|
|
227
|
+
'~standard': {
|
|
228
|
+
version: 1;
|
|
229
|
+
vendor: string;
|
|
230
|
+
jsonSchema: {
|
|
231
|
+
input: () => Record<string, unknown>;
|
|
232
|
+
output: () => Record<string, unknown>;
|
|
233
|
+
};
|
|
234
|
+
validate(value: unknown): {
|
|
235
|
+
value: {
|
|
236
|
+
flowId: string;
|
|
237
|
+
operationId: string;
|
|
238
|
+
};
|
|
239
|
+
} | {
|
|
240
|
+
issues: {
|
|
241
|
+
message: string;
|
|
242
|
+
path: string[];
|
|
243
|
+
}[];
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
flow_set_enabled: {
|
|
249
|
+
description: string;
|
|
250
|
+
annotations: {
|
|
251
|
+
readOnlyHint: boolean;
|
|
252
|
+
destructiveHint: boolean;
|
|
253
|
+
idempotentHint: boolean;
|
|
254
|
+
openWorldHint: boolean;
|
|
255
|
+
};
|
|
256
|
+
inputSchema: {
|
|
257
|
+
'~standard': {
|
|
258
|
+
version: 1;
|
|
259
|
+
vendor: string;
|
|
260
|
+
jsonSchema: {
|
|
261
|
+
input: () => Record<string, unknown>;
|
|
262
|
+
output: () => Record<string, unknown>;
|
|
263
|
+
};
|
|
264
|
+
validate(value: unknown): {
|
|
265
|
+
value: {
|
|
266
|
+
flowId: string;
|
|
267
|
+
expectedPublicationId: string;
|
|
268
|
+
enabled: boolean;
|
|
269
|
+
};
|
|
270
|
+
} | {
|
|
271
|
+
issues: {
|
|
272
|
+
message: string;
|
|
273
|
+
path: string[];
|
|
274
|
+
}[];
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
};
|
|
186
279
|
flow_run: {
|
|
187
280
|
description: string;
|
|
188
281
|
annotations: {
|
|
@@ -221,6 +314,38 @@ export declare const mcpTools: {
|
|
|
221
314
|
};
|
|
222
315
|
};
|
|
223
316
|
};
|
|
317
|
+
run_list: {
|
|
318
|
+
description: string;
|
|
319
|
+
annotations: {
|
|
320
|
+
readOnlyHint: boolean;
|
|
321
|
+
destructiveHint: boolean;
|
|
322
|
+
idempotentHint: boolean;
|
|
323
|
+
openWorldHint: boolean;
|
|
324
|
+
};
|
|
325
|
+
inputSchema: {
|
|
326
|
+
'~standard': {
|
|
327
|
+
version: 1;
|
|
328
|
+
vendor: string;
|
|
329
|
+
jsonSchema: {
|
|
330
|
+
input: () => Record<string, unknown>;
|
|
331
|
+
output: () => Record<string, unknown>;
|
|
332
|
+
};
|
|
333
|
+
validate(value: unknown): {
|
|
334
|
+
value: {
|
|
335
|
+
flowId: string;
|
|
336
|
+
status?: "canceled" | "completed" | "failed" | "indeterminate" | "queued" | "running" | "starting" | "waiting" | undefined;
|
|
337
|
+
cursor?: string | undefined;
|
|
338
|
+
limit: number;
|
|
339
|
+
};
|
|
340
|
+
} | {
|
|
341
|
+
issues: {
|
|
342
|
+
message: string;
|
|
343
|
+
path: string[];
|
|
344
|
+
}[];
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
};
|
|
224
349
|
run_get: {
|
|
225
350
|
description: string;
|
|
226
351
|
annotations: {
|
|
@@ -310,6 +435,101 @@ export declare const mcpTools: {
|
|
|
310
435
|
};
|
|
311
436
|
};
|
|
312
437
|
};
|
|
438
|
+
run_results: {
|
|
439
|
+
description: string;
|
|
440
|
+
annotations: {
|
|
441
|
+
readOnlyHint: boolean;
|
|
442
|
+
destructiveHint: boolean;
|
|
443
|
+
idempotentHint: boolean;
|
|
444
|
+
openWorldHint: boolean;
|
|
445
|
+
};
|
|
446
|
+
inputSchema: {
|
|
447
|
+
'~standard': {
|
|
448
|
+
version: 1;
|
|
449
|
+
vendor: string;
|
|
450
|
+
jsonSchema: {
|
|
451
|
+
input: () => Record<string, unknown>;
|
|
452
|
+
output: () => Record<string, unknown>;
|
|
453
|
+
};
|
|
454
|
+
validate(value: unknown): {
|
|
455
|
+
value: {
|
|
456
|
+
runId: string;
|
|
457
|
+
after?: string | undefined;
|
|
458
|
+
};
|
|
459
|
+
} | {
|
|
460
|
+
issues: {
|
|
461
|
+
message: string;
|
|
462
|
+
path: string[];
|
|
463
|
+
}[];
|
|
464
|
+
};
|
|
465
|
+
};
|
|
466
|
+
};
|
|
467
|
+
};
|
|
468
|
+
run_result_read: {
|
|
469
|
+
description: string;
|
|
470
|
+
annotations: {
|
|
471
|
+
readOnlyHint: boolean;
|
|
472
|
+
destructiveHint: boolean;
|
|
473
|
+
idempotentHint: boolean;
|
|
474
|
+
openWorldHint: boolean;
|
|
475
|
+
};
|
|
476
|
+
inputSchema: {
|
|
477
|
+
'~standard': {
|
|
478
|
+
version: 1;
|
|
479
|
+
vendor: string;
|
|
480
|
+
jsonSchema: {
|
|
481
|
+
input: () => Record<string, unknown>;
|
|
482
|
+
output: () => Record<string, unknown>;
|
|
483
|
+
};
|
|
484
|
+
validate(value: unknown): {
|
|
485
|
+
value: {
|
|
486
|
+
pointer: string;
|
|
487
|
+
offset: number;
|
|
488
|
+
limit: number;
|
|
489
|
+
maxBytes: number;
|
|
490
|
+
runId: string;
|
|
491
|
+
resultId: string;
|
|
492
|
+
};
|
|
493
|
+
} | {
|
|
494
|
+
issues: {
|
|
495
|
+
message: string;
|
|
496
|
+
path: string[];
|
|
497
|
+
}[];
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
run_resolve_wait: {
|
|
503
|
+
description: string;
|
|
504
|
+
annotations: {
|
|
505
|
+
readOnlyHint: boolean;
|
|
506
|
+
destructiveHint: boolean;
|
|
507
|
+
idempotentHint: boolean;
|
|
508
|
+
openWorldHint: boolean;
|
|
509
|
+
};
|
|
510
|
+
inputSchema: {
|
|
511
|
+
'~standard': {
|
|
512
|
+
version: 1;
|
|
513
|
+
vendor: string;
|
|
514
|
+
jsonSchema: {
|
|
515
|
+
input: () => Record<string, unknown>;
|
|
516
|
+
output: () => Record<string, unknown>;
|
|
517
|
+
};
|
|
518
|
+
validate(value: unknown): {
|
|
519
|
+
value: {
|
|
520
|
+
runId: string;
|
|
521
|
+
waitId: string;
|
|
522
|
+
action: "approve" | "continue" | "reject";
|
|
523
|
+
};
|
|
524
|
+
} | {
|
|
525
|
+
issues: {
|
|
526
|
+
message: string;
|
|
527
|
+
path: string[];
|
|
528
|
+
}[];
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
};
|
|
532
|
+
};
|
|
313
533
|
run_cancel: {
|
|
314
534
|
description: string;
|
|
315
535
|
annotations: {
|