@oomol-lab/open-flow 0.1.0-beta.54 → 0.1.0-beta.56
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/README.md +1 -1
- package/dist/browser/{createResourceDialog-BsaBMf7_.js → createResourceDialog-Btjes3wD.js} +3 -3
- package/dist/browser/{main-BPABKzwN.js → dist-BFmpkX4P.js} +9 -1
- package/dist/browser/flow-authoring-edge.d.ts +3 -3
- package/dist/browser/flow-authoring-node.d.ts +29 -44
- package/dist/browser/flow-authoring.d.ts +1 -1
- package/dist/browser/flow-authoring.js +418 -12018
- package/dist/browser/flow-change-schema.d.ts +1 -1
- package/dist/browser/flow-change.d.ts +15 -100
- package/dist/browser/flow-change.js +3175 -383
- package/dist/browser/{flowChanges-CcscgZsW.js → flowChanges-BxutPLYO.js} +23382 -27177
- package/dist/browser/{flowWorkspace-CoT_ewLX.js → flowWorkspace-Dg4mqfa6.js} +3307 -595
- package/dist/browser/{icons-0s-Q_3lp.js → icons-p2A9zs8t.js} +4403 -354
- package/dist/browser/lib-DrKav3HG.js +11403 -0
- package/dist/browser/{markdownContent-D3FFc-u_.js → markdownContent-frwDfQQU.js} +1 -2
- package/dist/browser/preview.css +375 -322
- package/dist/browser/preview.js +16796 -13483
- package/dist/browser/theme.css +1 -0
- package/dist/browser/ui-idTooltip.d.ts +11 -0
- package/dist/browser/ui.css +30 -0
- package/dist/browser/ui.d.ts +5 -0
- package/dist/browser/ui.js +87 -4
- package/dist/browser/workbench.css +375 -322
- package/dist/browser/workbench.js +213 -414
- package/dist/browser/{workbenchSelect-BqUPacsr.js → workbenchSelect-LRp_Xjeq.js} +1 -1
- package/dist/common/authoringExamples.d.ts +3 -2
- package/dist/common/control-api-conformance.js +3686 -3594
- package/dist/common/control-api.d.ts +6 -6
- package/dist/common/control-api.js +3760 -3645
- package/dist/common/control-requests.js +2382 -3118
- package/dist/common/decision.d.ts +47 -0
- package/dist/common/decision.js +10109 -0
- package/dist/common/flow-agent.d.ts +1 -1
- package/dist/common/flow-connectionUsage.d.ts +1 -2
- package/dist/common/flow-encoding.d.ts +2 -4
- package/dist/common/flow-encoding.js +3206 -286
- package/dist/common/flow-graph.d.ts +10 -10
- package/dist/common/flow-semantics.d.ts +4 -9
- package/dist/common/flow-semantics.js +9200 -9132
- package/dist/common/flowInspection.d.ts +3 -21
- package/dist/common/integration-trigger.js +6251 -6094
- package/dist/common/mcp.d.ts +0 -1
- package/dist/common/mcp.js +3729 -3627
- package/dist/common/openapi.js +6402 -6245
- package/dist/common/poll-trigger.js +6433 -6252
- package/dist/common/run-events.js +1 -1
- package/dist/common/runtime-contract.d.ts +8 -0
- package/dist/common/scheduler.d.ts +3 -9
- package/dist/common/scheduler.js +3263 -3153
- package/dist/common/webhook-trigger.js +6402 -6245
- package/package.json +5 -1
- package/dist/browser/dist-BDBTOgS5.js +0 -9
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { Diagnostic
|
|
1
|
+
import type { Graph, GraphNode, InputPortDefinition, NodeSource, PortDefinition, RevisionContent, SchemaMismatch } from '../browser/flow-change.js';
|
|
2
|
+
import type { Diagnostic } from './flow-semantics.js';
|
|
3
3
|
export declare function isResolutionNode(node: GraphNode | undefined): node is Extract<GraphNode, {
|
|
4
4
|
readonly kind: 'approval' | 'wait';
|
|
5
5
|
}>;
|
|
6
|
-
export declare function nodeInputPorts(
|
|
6
|
+
export declare function nodeInputPorts(node: GraphNode): Readonly<Record<string, InputPortDefinition>>;
|
|
7
7
|
export declare function resolutionActions(node: Extract<GraphNode, {
|
|
8
8
|
readonly kind: 'approval' | 'wait';
|
|
9
9
|
}>): readonly ['continue'] | readonly ['approve', 'reject'];
|
|
10
10
|
export declare function resolutionOutputPorts(node: Extract<GraphNode, {
|
|
11
11
|
readonly kind: 'approval' | 'wait';
|
|
12
12
|
}>): Readonly<Record<string, PortDefinition>>;
|
|
13
|
-
export declare function nodeOutputPorts(
|
|
14
|
-
export declare function nodeOutputDescription(
|
|
13
|
+
export declare function nodeOutputPorts(node: GraphNode): Readonly<Record<string, PortDefinition>>;
|
|
14
|
+
export declare function nodeOutputDescription(graph: Graph, nodeId: string, output: string): string | undefined;
|
|
15
15
|
export declare function graphOrder(graph: Graph): readonly string[];
|
|
16
16
|
export type InputSourceCheck = {
|
|
17
17
|
readonly kind: 'available';
|
|
@@ -50,10 +50,10 @@ export interface InputSourcesCheck {
|
|
|
50
50
|
readonly sources: readonly InputSourceCheck[];
|
|
51
51
|
}
|
|
52
52
|
/** Check one saved binding without enumerating candidate ports. */
|
|
53
|
-
export declare function checkInputSource(
|
|
54
|
-
export declare function checkInputSources(
|
|
53
|
+
export declare function checkInputSource(graph: Graph, target: string, handle: string, source: Pick<NodeSource, 'nodeId' | 'output' | 'field'>): InputSourceCheck;
|
|
54
|
+
export declare function checkInputSources(graph: Graph, target: string, handle: string, sources: readonly Pick<NodeSource, 'nodeId' | 'output' | 'field'>[]): InputSourcesCheck;
|
|
55
55
|
/** Enumerate structurally available outputs while retaining their compatibility with one input. */
|
|
56
|
-
export declare function inputSourceCandidates(
|
|
57
|
-
export declare function availableOutputs(
|
|
58
|
-
export declare function validateFlowGraph(revision: RevisionContent
|
|
56
|
+
export declare function inputSourceCandidates(graph: Graph, target: string, handle: string): Readonly<Record<string, readonly InputSourceCandidate[]>>;
|
|
57
|
+
export declare function availableOutputs(graph: Graph, target: string, handle?: string): Readonly<Record<string, readonly string[]>>;
|
|
58
|
+
export declare function validateFlowGraph(revision: RevisionContent): readonly Diagnostic[];
|
|
59
59
|
export {};
|
|
@@ -3,7 +3,7 @@ export { connectionUsage, removeConnectionUsage } from './flow-connectionUsage.j
|
|
|
3
3
|
export { matchesTriggerOutputs, triggerOutputDefinitions, triggerOutputPorts } from './trigger-contract.js';
|
|
4
4
|
import type { EngineContract } from './engine-contract.js';
|
|
5
5
|
import type { RuntimeProgram } from './runtime-contract.js';
|
|
6
|
-
import type { ConnectorActionCapability, ConnectorCapability,
|
|
6
|
+
import type { ConnectorActionCapability, ConnectorCapability, Graph, RevisionContent, SchemaMismatch } from '../browser/flow-change.js';
|
|
7
7
|
export { availableOutputs, graphOrder, nodeInputPorts } from './flow-graph.js';
|
|
8
8
|
export { validateModules } from './flow-modules.js';
|
|
9
9
|
export { matchesSchema, schemaValidationErrors, variableInputCompatible } from './flow-schema.js';
|
|
@@ -11,10 +11,8 @@ export { agentInput, agentToolInput, agentToolSchema } from './flow-agent.js';
|
|
|
11
11
|
export interface SemanticClosure {
|
|
12
12
|
readonly dependencies: {
|
|
13
13
|
readonly bindings: ReadonlySet<string>;
|
|
14
|
-
readonly
|
|
14
|
+
readonly nodes: ReadonlySet<string>;
|
|
15
15
|
readonly modules: ReadonlySet<string>;
|
|
16
|
-
readonly subflows: ReadonlySet<string>;
|
|
17
|
-
readonly tasks: ReadonlySet<string>;
|
|
18
16
|
};
|
|
19
17
|
readonly digest: string;
|
|
20
18
|
}
|
|
@@ -45,8 +43,6 @@ export interface PreparedFlow {
|
|
|
45
43
|
readonly engineContract: string;
|
|
46
44
|
readonly graph: Graph;
|
|
47
45
|
readonly modules: RevisionContent['modules'];
|
|
48
|
-
readonly subflows: FlowDocument['subflows'];
|
|
49
|
-
readonly tasks: FlowDocument['tasks'];
|
|
50
46
|
}
|
|
51
47
|
export type PrepareFlowResult = {
|
|
52
48
|
readonly kind: 'engine-unsupported';
|
|
@@ -60,6 +56,5 @@ export type PrepareFlowResult = {
|
|
|
60
56
|
};
|
|
61
57
|
export declare function prepareFlow(revision: RevisionContent, engineContract: string, triggerId?: string): Promise<PrepareFlowResult>;
|
|
62
58
|
export declare function createRuntimeProgram(prepared: PreparedFlow, entryModuleId: string, engineDigest: string): RuntimeProgram | undefined;
|
|
63
|
-
export declare function
|
|
64
|
-
export declare function
|
|
65
|
-
export declare function codeActions(flow: Pick<PreparedFlow, 'graph' | 'subflows'>): readonly ConnectorCapability[];
|
|
59
|
+
export declare function agentActions(flow: Pick<PreparedFlow, 'graph'>): readonly ConnectorActionCapability[];
|
|
60
|
+
export declare function codeActions(flow: Pick<PreparedFlow, 'graph'>): readonly ConnectorCapability[];
|