@oomol-lab/open-flow 0.1.0-beta.28 → 0.1.0-beta.29
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-C2ZLGPla.js → createResourceDialog-C_8I3Fua.js} +1 -1
- package/dist/browser/dist-CoszrK7m.js +4 -0
- package/dist/browser/{switch-DuB8aovT.js → editorComponent-Dq4IKp5R.js} +1222 -608
- package/dist/browser/flow-authoring-node.d.ts +3 -0
- package/dist/browser/flow-authoring.js +1388 -1555
- package/dist/browser/flow-change.d.ts +12 -7
- package/dist/browser/flow-change.js +966 -1105
- package/dist/browser/{flowChanges-Z49mslMz.js → flowChanges-BBtkyUGd.js} +1974 -1839
- package/dist/browser/{flowRunInputEditorStore-BBqQIOCR.js → flowRunInputEditorStore-CTORQcA2.js} +378 -429
- package/dist/browser/{flowWorkspace-DCaVDqtY.js → flowWorkspace-DNmBb3ZW.js} +52795 -52886
- package/dist/browser/{inputValues-CLnpqFAf.js → inputValues-BbSVOWQP.js} +2 -2
- package/dist/browser/{markdownContent-Bon8uhjM.js → markdownContent-D2oHGWc6.js} +1 -1
- package/dist/browser/ui.css +1 -1
- package/dist/browser/value-DPg_9yXB.js +93 -0
- package/dist/browser/workbench.css +1 -1
- package/dist/browser/workbench.js +508 -507
- package/dist/browser/{workbenchSelect-DX9IFmX-.js → workbenchSelect-CQOvpteT.js} +1057 -1223
- package/dist/common/authoringExamples.d.ts +3 -2
- package/dist/common/control-api-conformance.js +1359 -1484
- package/dist/common/control-api.d.ts +5 -1
- package/dist/common/control-api.js +942 -1077
- package/dist/common/control-requests.js +751 -834
- package/dist/common/flow-encoding.js +1502 -1637
- package/dist/common/flow-graph.d.ts +18 -2
- package/dist/common/flow-semantics.js +1982 -2116
- package/dist/common/mcp.js +908 -1016
- package/dist/common/provider-triggers.js +2048 -2183
- package/dist/common/run-events.js +1 -0
- package/dist/common/scheduler.d.ts +2 -2
- package/dist/common/scheduler.js +1282 -1477
- package/package.json +1 -1
- package/dist/browser/dist-B_T-OpQp.js +0 -4
- package/dist/browser/languages-C0zQ4GSo.js +0 -42
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import type { FlowDocument, Graph, GraphNode, InputPortDefinition, PortDefinition, RevisionContent, SchemaMismatch } from '../browser/flow-change.js';
|
|
2
2
|
import type { Diagnostic, SemanticClosure } from './flow-semantics.js';
|
|
3
|
+
export declare function isResolutionNode(node: GraphNode | undefined): node is Extract<GraphNode, {
|
|
4
|
+
readonly kind: 'approval' | 'wait';
|
|
5
|
+
}>;
|
|
3
6
|
export declare function nodeInputPorts(document: FlowDocument, node: GraphNode): Readonly<Record<string, InputPortDefinition>>;
|
|
4
|
-
export declare function
|
|
5
|
-
readonly kind: 'wait';
|
|
7
|
+
export declare function resolutionActions(node: Extract<GraphNode, {
|
|
8
|
+
readonly kind: 'approval' | 'wait';
|
|
9
|
+
}>): readonly ['continue'] | readonly ['approve', 'reject'];
|
|
10
|
+
export declare function resolutionOutputPorts(node: Extract<GraphNode, {
|
|
11
|
+
readonly kind: 'approval' | 'wait';
|
|
6
12
|
}>): Readonly<Record<string, PortDefinition>>;
|
|
13
|
+
export declare function nodeOutputDescription(document: FlowDocument, graph: Graph, nodeId: string, output: string): string | undefined;
|
|
7
14
|
export declare function graphOrder(graph: Graph): readonly string[];
|
|
8
15
|
export type InputSourceCheck = {
|
|
9
16
|
readonly kind: 'available';
|
|
@@ -19,6 +26,13 @@ export type InputSourceCheck = {
|
|
|
19
26
|
} | {
|
|
20
27
|
readonly kind: 'schema-error';
|
|
21
28
|
};
|
|
29
|
+
export type InputSourceCandidateCheck = Extract<InputSourceCheck, {
|
|
30
|
+
readonly kind: 'available' | 'schema' | 'schema-error';
|
|
31
|
+
}>;
|
|
32
|
+
export interface InputSourceCandidate {
|
|
33
|
+
readonly output: string;
|
|
34
|
+
readonly check: InputSourceCandidateCheck;
|
|
35
|
+
}
|
|
22
36
|
export interface InputSourcesCheck {
|
|
23
37
|
readonly conflict: boolean;
|
|
24
38
|
readonly sources: readonly InputSourceCheck[];
|
|
@@ -32,5 +46,7 @@ export declare function checkInputSources(document: FlowDocument, graph: Graph,
|
|
|
32
46
|
readonly nodeId: string;
|
|
33
47
|
readonly output: string;
|
|
34
48
|
}[]): InputSourcesCheck;
|
|
49
|
+
/** Enumerate structurally available outputs while retaining their compatibility with one input. */
|
|
50
|
+
export declare function inputSourceCandidates(document: FlowDocument, graph: Graph, target: string, handle: string): Readonly<Record<string, readonly InputSourceCandidate[]>>;
|
|
35
51
|
export declare function availableOutputs(document: FlowDocument, graph: Graph, target: string, handle?: string): Readonly<Record<string, readonly string[]>>;
|
|
36
52
|
export declare function validateFlowGraph(revision: RevisionContent, closure: SemanticClosure): readonly Diagnostic[];
|