@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.
- package/dist/browser/{createResourceDialog-PKbMMpEk.js → createResourceDialog-BwI2JmPE.js} +7 -7
- package/dist/browser/flow-authoring.js +249 -250
- package/dist/browser/flow-change.d.ts +16 -7
- package/dist/browser/flow-change.js +824 -804
- package/dist/browser/{flowChanges-BUlMz4iC.js → flowChanges-BqPtWEI9.js} +2706 -2906
- package/dist/browser/{flowWorkspace-DLArN17T.js → flowWorkspace-CpMGzmfz.js} +37249 -35916
- package/dist/browser/{inputValues-CcGVt51C.js → inputValues-CeeJw_G8.js} +1 -1
- package/dist/browser/licenses.md +24 -0
- package/dist/browser/{lite-Cy6aeiL6.js → lite-BuKZ8joP.js} +50 -43
- package/dist/browser/{input-group-C2frNYAx.js → switch-CyZ96-UF.js} +1519 -612
- package/dist/browser/theme.css +30 -4
- package/dist/browser/ui-input.d.ts +3 -1
- package/dist/browser/ui.css +1 -1
- package/dist/browser/ui.js +10 -8
- package/dist/browser/warmCodeTheme-DVv4-rDO.js +35 -0
- package/dist/browser/workbench.css +1 -1
- package/dist/browser/workbench.js +753 -714
- package/dist/browser/{workbenchSelect-CPRUXKbf.js → workbenchSelect-BUu7CjUA.js} +504 -490
- package/dist/common/control-api-conformance.js +18 -18
- package/dist/common/control-api.d.ts +43 -15
- package/dist/common/control-api.js +1803 -1755
- package/dist/common/control-requests.js +2 -7
- package/dist/common/engine-contract.d.ts +2 -2
- package/dist/common/flow-encoding.js +587 -589
- package/dist/common/flow-graph.d.ts +31 -1
- package/dist/common/flow-schema.d.ts +11 -1
- package/dist/common/flow-semantics.d.ts +2 -1
- package/dist/common/flow-semantics.js +1542 -1457
- package/dist/common/mcp.d.ts +1 -0
- package/dist/common/mcp.js +308 -260
- package/dist/common/provider-triggers.js +934 -931
- package/dist/common/run-lifecycle.d.ts +1 -1
- package/dist/common/run-lifecycle.js +5 -5
- package/dist/common/runtime-contract.d.ts +2 -0
- package/dist/common/runtime-contract.js +96 -32
- package/dist/common/scheduler.d.ts +39 -21
- package/dist/common/scheduler.js +2358 -2339
- 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' | '
|
|
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' | '
|
|
389
|
+
readonly value: Pick<WaitNode, 'actions' | 'prompt'>;
|
|
381
390
|
} | {
|
|
382
391
|
readonly before: Pick<Extract<TriggerNode, {
|
|
383
392
|
readonly kind: 'webhook';
|