@fungi.computer/oyster 0.36.0 → 0.37.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/dist/boot-host-script.js +1 -1
- package/dist/build/candidate-cli.mjs +45 -15
- package/dist/catalog-frame.js +8 -0
- package/dist/embed-metafiles.js +2 -2
- package/dist/embed-scripts.js +1 -1
- package/dist/hello-app-script.js +1 -1
- package/dist/host.js +1 -1
- package/dist/page-script.js +2 -2
- package/dist/standalone/agent-self.d.ts +19 -0
- package/dist/standalone/agent-self.js +72 -0
- package/dist/standalone/agents.d.ts +2 -2
- package/dist/standalone/agents.js +30 -8
- package/dist/standalone/workflow-host.d.ts +54 -24
- package/dist/standalone/workflow-trigger-host.d.ts +192 -72
- package/dist/standalone/workflows.d.ts +54 -24
- package/docs/api/build-contract.md +27 -27
- package/docs/api/build.md +51 -60
- package/docs/api/host.md +18 -34
- package/package.json +18 -18
|
@@ -305,18 +305,20 @@ export declare abstract class StandaloneWorkflowRunsBase<Env extends StandaloneW
|
|
|
305
305
|
};
|
|
306
306
|
};
|
|
307
307
|
readonly nodes: readonly ({
|
|
308
|
-
readonly
|
|
309
|
-
readonly kind: "code";
|
|
310
|
-
readonly source: string;
|
|
311
|
-
readonly input: {
|
|
308
|
+
readonly output: {
|
|
312
309
|
readonly [x: string]: S.Json;
|
|
313
310
|
};
|
|
314
|
-
readonly
|
|
311
|
+
readonly input: {
|
|
315
312
|
readonly [x: string]: S.Json;
|
|
316
313
|
};
|
|
317
314
|
readonly values: {
|
|
318
315
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
319
316
|
};
|
|
317
|
+
readonly kind: "code";
|
|
318
|
+
readonly id: string;
|
|
319
|
+
readonly source: string;
|
|
320
|
+
readonly title?: string | undefined;
|
|
321
|
+
readonly note?: string | undefined;
|
|
320
322
|
} | {
|
|
321
323
|
readonly values: {
|
|
322
324
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
@@ -326,6 +328,8 @@ export declare abstract class StandaloneWorkflowRunsBase<Env extends StandaloneW
|
|
|
326
328
|
readonly method: string;
|
|
327
329
|
readonly app: string;
|
|
328
330
|
readonly methodDigest: string;
|
|
331
|
+
readonly title?: string | undefined;
|
|
332
|
+
readonly note?: string | undefined;
|
|
329
333
|
readonly retry?: {
|
|
330
334
|
readonly attempts: number;
|
|
331
335
|
} | undefined;
|
|
@@ -354,36 +358,47 @@ export declare abstract class StandaloneWorkflowRunsBase<Env extends StandaloneW
|
|
|
354
358
|
readonly id: string;
|
|
355
359
|
readonly description?: string | undefined;
|
|
356
360
|
}[] | undefined;
|
|
361
|
+
readonly note?: string | undefined;
|
|
357
362
|
} | {
|
|
358
|
-
readonly id: string;
|
|
359
363
|
readonly kind: "condition";
|
|
364
|
+
readonly id: string;
|
|
360
365
|
readonly test: import("@fungi.computer/braid").Predicate;
|
|
366
|
+
readonly title?: string | undefined;
|
|
367
|
+
readonly note?: string | undefined;
|
|
361
368
|
} | {
|
|
362
|
-
readonly id: string;
|
|
363
369
|
readonly kind: "map";
|
|
370
|
+
readonly id: string;
|
|
371
|
+
readonly body: string;
|
|
364
372
|
readonly over: {
|
|
365
373
|
readonly node: string;
|
|
366
374
|
readonly port: string;
|
|
367
375
|
};
|
|
368
|
-
readonly body: string;
|
|
369
376
|
readonly concurrency: number;
|
|
370
377
|
readonly maxItems: number;
|
|
378
|
+
readonly title?: string | undefined;
|
|
379
|
+
readonly note?: string | undefined;
|
|
371
380
|
} | {
|
|
372
|
-
readonly id: string;
|
|
373
381
|
readonly kind: "repeat";
|
|
382
|
+
readonly id: string;
|
|
374
383
|
readonly body: string;
|
|
375
|
-
readonly maxRounds: number;
|
|
376
384
|
readonly until: import("@fungi.computer/braid").Predicate;
|
|
385
|
+
readonly maxRounds: number;
|
|
386
|
+
readonly title?: string | undefined;
|
|
387
|
+
readonly note?: string | undefined;
|
|
377
388
|
} | {
|
|
378
|
-
readonly id: string;
|
|
379
389
|
readonly kind: "wait";
|
|
390
|
+
readonly id: string;
|
|
380
391
|
readonly for: number;
|
|
392
|
+
readonly title?: string | undefined;
|
|
393
|
+
readonly note?: string | undefined;
|
|
381
394
|
} | {
|
|
382
|
-
readonly id: string;
|
|
383
395
|
readonly kind: "transform";
|
|
396
|
+
readonly id: string;
|
|
384
397
|
readonly fields: {
|
|
385
398
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
386
399
|
};
|
|
400
|
+
readonly title?: string | undefined;
|
|
401
|
+
readonly note?: string | undefined;
|
|
387
402
|
})[];
|
|
388
403
|
readonly edges: readonly {
|
|
389
404
|
readonly from: {
|
|
@@ -402,18 +417,20 @@ export declare abstract class StandaloneWorkflowRunsBase<Env extends StandaloneW
|
|
|
402
417
|
readonly [x: string]: S.Json;
|
|
403
418
|
};
|
|
404
419
|
readonly nodes: readonly ({
|
|
405
|
-
readonly
|
|
406
|
-
readonly kind: "code";
|
|
407
|
-
readonly source: string;
|
|
408
|
-
readonly input: {
|
|
420
|
+
readonly output: {
|
|
409
421
|
readonly [x: string]: S.Json;
|
|
410
422
|
};
|
|
411
|
-
readonly
|
|
423
|
+
readonly input: {
|
|
412
424
|
readonly [x: string]: S.Json;
|
|
413
425
|
};
|
|
414
426
|
readonly values: {
|
|
415
427
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
416
428
|
};
|
|
429
|
+
readonly kind: "code";
|
|
430
|
+
readonly id: string;
|
|
431
|
+
readonly source: string;
|
|
432
|
+
readonly title?: string | undefined;
|
|
433
|
+
readonly note?: string | undefined;
|
|
417
434
|
} | {
|
|
418
435
|
readonly values: {
|
|
419
436
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
@@ -423,6 +440,8 @@ export declare abstract class StandaloneWorkflowRunsBase<Env extends StandaloneW
|
|
|
423
440
|
readonly method: string;
|
|
424
441
|
readonly app: string;
|
|
425
442
|
readonly methodDigest: string;
|
|
443
|
+
readonly title?: string | undefined;
|
|
444
|
+
readonly note?: string | undefined;
|
|
426
445
|
readonly retry?: {
|
|
427
446
|
readonly attempts: number;
|
|
428
447
|
} | undefined;
|
|
@@ -451,36 +470,47 @@ export declare abstract class StandaloneWorkflowRunsBase<Env extends StandaloneW
|
|
|
451
470
|
readonly id: string;
|
|
452
471
|
readonly description?: string | undefined;
|
|
453
472
|
}[] | undefined;
|
|
473
|
+
readonly note?: string | undefined;
|
|
454
474
|
} | {
|
|
455
|
-
readonly id: string;
|
|
456
475
|
readonly kind: "condition";
|
|
476
|
+
readonly id: string;
|
|
457
477
|
readonly test: import("@fungi.computer/braid").Predicate;
|
|
478
|
+
readonly title?: string | undefined;
|
|
479
|
+
readonly note?: string | undefined;
|
|
458
480
|
} | {
|
|
459
|
-
readonly id: string;
|
|
460
481
|
readonly kind: "map";
|
|
482
|
+
readonly id: string;
|
|
483
|
+
readonly body: string;
|
|
461
484
|
readonly over: {
|
|
462
485
|
readonly node: string;
|
|
463
486
|
readonly port: string;
|
|
464
487
|
};
|
|
465
|
-
readonly body: string;
|
|
466
488
|
readonly concurrency: number;
|
|
467
489
|
readonly maxItems: number;
|
|
490
|
+
readonly title?: string | undefined;
|
|
491
|
+
readonly note?: string | undefined;
|
|
468
492
|
} | {
|
|
469
|
-
readonly id: string;
|
|
470
493
|
readonly kind: "repeat";
|
|
494
|
+
readonly id: string;
|
|
471
495
|
readonly body: string;
|
|
472
|
-
readonly maxRounds: number;
|
|
473
496
|
readonly until: import("@fungi.computer/braid").Predicate;
|
|
497
|
+
readonly maxRounds: number;
|
|
498
|
+
readonly title?: string | undefined;
|
|
499
|
+
readonly note?: string | undefined;
|
|
474
500
|
} | {
|
|
475
|
-
readonly id: string;
|
|
476
501
|
readonly kind: "wait";
|
|
502
|
+
readonly id: string;
|
|
477
503
|
readonly for: number;
|
|
504
|
+
readonly title?: string | undefined;
|
|
505
|
+
readonly note?: string | undefined;
|
|
478
506
|
} | {
|
|
479
|
-
readonly id: string;
|
|
480
507
|
readonly kind: "transform";
|
|
508
|
+
readonly id: string;
|
|
481
509
|
readonly fields: {
|
|
482
510
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
483
511
|
};
|
|
512
|
+
readonly title?: string | undefined;
|
|
513
|
+
readonly note?: string | undefined;
|
|
484
514
|
})[];
|
|
485
515
|
readonly edges: readonly {
|
|
486
516
|
readonly from: {
|