@oomol-lab/open-flow 0.1.0-beta.55 → 0.1.0-beta.57
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-4H5_lZ6s.js → createResourceDialog-C23SBjYd.js} +2 -2
- package/dist/browser/flow-authoring-edge.d.ts +3 -3
- package/dist/browser/flow-authoring-node.d.ts +30 -46
- package/dist/browser/flow-authoring.js +9215 -21030
- package/dist/browser/flow-change-schema.d.ts +267 -1
- package/dist/browser/flow-change.d.ts +19 -104
- package/dist/browser/flow-change.js +154 -298
- package/dist/browser/{flowChanges-ZzG-f9cg.js → flowChanges-fBiAeTzR.js} +2347 -2216
- package/dist/browser/{flowWorkspace-ChpRaTMX.js → flowWorkspace-MqcEfg7T.js} +118 -293
- package/dist/browser/{icons-CdAB9wyS.js → icons-6oQ8Q9Wm.js} +4309 -4454
- package/dist/browser/lib-DrKav3HG.js +11403 -0
- package/dist/browser/preview.css +1 -1
- package/dist/browser/preview.js +9609 -9548
- package/dist/browser/ui-idTooltip.d.ts +11 -0
- package/dist/browser/ui.d.ts +5 -0
- package/dist/browser/ui.js +83 -1
- package/dist/browser/workbench.css +1 -1
- package/dist/browser/workbench.js +227 -417
- package/dist/browser/{workbenchSelect-BRZN4ish.js → workbenchSelect-DpLbIr29.js} +1 -1
- package/dist/common/authoring.d.ts +207 -0
- package/dist/common/authoringSchema.d.ts +1293 -0
- package/dist/common/control-api-conformance.js +1060 -623
- package/dist/common/control-api-errors.d.ts +2 -1
- package/dist/common/control-api.d.ts +87 -6
- package/dist/common/control-api.js +1058 -705
- package/dist/common/control-requests.d.ts +128 -0
- package/dist/common/control-requests.js +2913 -1145
- package/dist/common/decision.js +6337 -6371
- 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 +131 -182
- package/dist/common/flow-graph.d.ts +10 -10
- package/dist/common/flow-semantics.d.ts +13 -9
- package/dist/common/flow-semantics.js +9051 -9232
- package/dist/common/flowInspection.d.ts +3 -21
- package/dist/common/integration-trigger.js +8653 -8687
- package/dist/common/lib-DrKav3HG.js +11403 -0
- package/dist/common/mcp.d.ts +120 -12
- package/dist/common/mcp.js +537 -188
- package/dist/common/openapi.js +6337 -6371
- package/dist/common/poll-trigger.js +8653 -8687
- package/dist/common/run-events.js +0 -1
- package/dist/common/scheduler.d.ts +3 -9
- package/dist/common/scheduler.js +128 -209
- package/dist/common/webhook-trigger.js +6337 -6371
- package/package.json +7 -1
- package/skills/open-flow/SKILL.md +32 -0
- package/skills/open-flow/references/flow-authoring.md +356 -0
- package/skills/open-flow/references/flow-n8n-conversion.md +196 -0
|
@@ -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,16 +11,23 @@ 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
|
}
|
|
21
19
|
export declare function flowDependencies(content: RevisionContent, triggerId?: string): SemanticClosure['dependencies'];
|
|
22
20
|
export declare function flowClosure(content: RevisionContent): Promise<SemanticClosure>;
|
|
23
21
|
export declare function variableBindings(revision: RevisionContent, bindingIds: Iterable<string>): Readonly<Record<string, string>>;
|
|
22
|
+
export interface FlowResourceReferences {
|
|
23
|
+
readonly variableNames: readonly string[];
|
|
24
|
+
readonly connections: readonly {
|
|
25
|
+
readonly providerId: string;
|
|
26
|
+
readonly connectionId: string;
|
|
27
|
+
}[];
|
|
28
|
+
readonly errorSourceFlowIds: readonly string[];
|
|
29
|
+
}
|
|
30
|
+
export declare function flowResourceReferences(content: RevisionContent): FlowResourceReferences;
|
|
24
31
|
export interface Diagnostic {
|
|
25
32
|
readonly code: string;
|
|
26
33
|
readonly column: number;
|
|
@@ -45,8 +52,6 @@ export interface PreparedFlow {
|
|
|
45
52
|
readonly engineContract: string;
|
|
46
53
|
readonly graph: Graph;
|
|
47
54
|
readonly modules: RevisionContent['modules'];
|
|
48
|
-
readonly subflows: FlowDocument['subflows'];
|
|
49
|
-
readonly tasks: FlowDocument['tasks'];
|
|
50
55
|
}
|
|
51
56
|
export type PrepareFlowResult = {
|
|
52
57
|
readonly kind: 'engine-unsupported';
|
|
@@ -60,6 +65,5 @@ export type PrepareFlowResult = {
|
|
|
60
65
|
};
|
|
61
66
|
export declare function prepareFlow(revision: RevisionContent, engineContract: string, triggerId?: string): Promise<PrepareFlowResult>;
|
|
62
67
|
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[];
|
|
68
|
+
export declare function agentActions(flow: Pick<PreparedFlow, 'graph'>): readonly ConnectorActionCapability[];
|
|
69
|
+
export declare function codeActions(flow: Pick<PreparedFlow, 'graph'>): readonly ConnectorCapability[];
|