@oomol-lab/open-flow 0.1.0-beta.23 → 0.1.0-beta.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/browser/{createResourceDialog-PKbMMpEk.js → createResourceDialog-BwI2JmPE.js} +7 -7
  2. package/dist/browser/flow-authoring.js +249 -250
  3. package/dist/browser/flow-change.d.ts +16 -7
  4. package/dist/browser/flow-change.js +824 -804
  5. package/dist/browser/{flowChanges-BUlMz4iC.js → flowChanges-BqPtWEI9.js} +2706 -2906
  6. package/dist/browser/{flowWorkspace-DLArN17T.js → flowWorkspace-CpMGzmfz.js} +37249 -35916
  7. package/dist/browser/{inputValues-CcGVt51C.js → inputValues-CeeJw_G8.js} +1 -1
  8. package/dist/browser/licenses.md +24 -0
  9. package/dist/browser/{lite-Cy6aeiL6.js → lite-BuKZ8joP.js} +50 -43
  10. package/dist/browser/{input-group-C2frNYAx.js → switch-CyZ96-UF.js} +1519 -612
  11. package/dist/browser/theme.css +30 -4
  12. package/dist/browser/ui-input.d.ts +3 -1
  13. package/dist/browser/ui.css +1 -1
  14. package/dist/browser/ui.js +10 -8
  15. package/dist/browser/warmCodeTheme-DVv4-rDO.js +35 -0
  16. package/dist/browser/workbench.css +1 -1
  17. package/dist/browser/workbench.js +753 -714
  18. package/dist/browser/{workbenchSelect-CPRUXKbf.js → workbenchSelect-BUu7CjUA.js} +504 -490
  19. package/dist/common/control-api-conformance.js +18 -18
  20. package/dist/common/control-api.d.ts +43 -15
  21. package/dist/common/control-api.js +1803 -1755
  22. package/dist/common/control-requests.js +2 -7
  23. package/dist/common/engine-contract.d.ts +2 -2
  24. package/dist/common/flow-encoding.js +587 -589
  25. package/dist/common/flow-graph.d.ts +31 -1
  26. package/dist/common/flow-schema.d.ts +11 -1
  27. package/dist/common/flow-semantics.d.ts +2 -1
  28. package/dist/common/flow-semantics.js +1542 -1457
  29. package/dist/common/mcp.d.ts +1 -0
  30. package/dist/common/mcp.js +308 -260
  31. package/dist/common/provider-triggers.js +934 -931
  32. package/dist/common/run-lifecycle.d.ts +1 -1
  33. package/dist/common/run-lifecycle.js +5 -5
  34. package/dist/common/runtime-contract.d.ts +2 -0
  35. package/dist/common/runtime-contract.js +96 -32
  36. package/dist/common/scheduler.d.ts +39 -21
  37. package/dist/common/scheduler.js +2358 -2339
  38. package/package.json +1 -1
@@ -2,6 +2,20 @@ export { changeOperationsSchema, decodeChangeOperations } from './flow-change-sc
2
2
  export type JsonValue = null | boolean | number | string | readonly JsonValue[] | {
3
3
  readonly [key: string]: JsonValue;
4
4
  };
5
+ export type SchemaKeyword = 'const' | 'enum' | 'exclusiveMaximum' | 'exclusiveMinimum' | 'maximum' | 'maxItems' | 'maxLength' | 'maxProperties' | 'minimum' | 'minItems' | 'minLength' | 'minProperties' | 'multipleOf' | 'pattern' | 'required' | 'type';
6
+ export type SchemaMismatch = {
7
+ readonly kind: 'artifact' | 'binary' | 'nullable';
8
+ } | {
9
+ readonly kind: 'keyword';
10
+ readonly keyword: SchemaKeyword;
11
+ readonly path: readonly (string | number)[];
12
+ readonly source: JsonValue | undefined;
13
+ readonly target: JsonValue | undefined;
14
+ } | {
15
+ readonly kind: 'schema';
16
+ readonly path?: readonly (string | number)[];
17
+ };
18
+ export declare function isSchemaKeyword(value: string): value is SchemaKeyword;
5
19
  export declare const resourceNameMaxLength = 80;
6
20
  export type ResourceNameIssue = 'controlCharacter' | 'empty' | 'specialCharacter' | 'tooLong';
7
21
  export declare function resourceNameIssue(value: string): ResourceNameIssue | undefined;
@@ -68,11 +82,6 @@ export interface WaitNode extends GraphNodeBase {
68
82
  readonly actions: readonly ['continue'] | readonly ['approve', 'reject'];
69
83
  readonly input: InputPort;
70
84
  readonly kind: 'wait';
71
- readonly notification?: {
72
- readonly inputs: Readonly<Record<string, InputMapping>>;
73
- readonly messageHandle: string;
74
- readonly taskId: string;
75
- };
76
85
  readonly prompt: string;
77
86
  readonly timeoutMs?: never;
78
87
  }
@@ -371,13 +380,13 @@ export type ChangeOperation = {
371
380
  readonly target: GraphTarget;
372
381
  readonly value: readonly InputPort[];
373
382
  } | {
374
- readonly before: Pick<WaitNode, 'actions' | 'notification' | 'prompt'>;
383
+ readonly before: Pick<WaitNode, 'actions' | 'prompt'>;
375
384
  readonly kind: 'graph.node.wait.set';
376
385
  readonly nodeId: string;
377
386
  readonly target: Extract<GraphTarget, {
378
387
  readonly kind: 'flow';
379
388
  }>;
380
- readonly value: Pick<WaitNode, 'actions' | 'notification' | 'prompt'>;
389
+ readonly value: Pick<WaitNode, 'actions' | 'prompt'>;
381
390
  } | {
382
391
  readonly before: Pick<Extract<TriggerNode, {
383
392
  readonly kind: 'webhook';