@oomol-lab/open-flow 0.1.0-beta.40 → 0.1.0-beta.42
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 +9 -0
- package/dist/browser/{createResourceDialog-BOrW62JW.js → createResourceDialog-DmJk4LsF.js} +28 -29
- package/dist/browser/dist-BhV15xlT.js +300 -0
- package/dist/browser/flow-authoring-node.d.ts +4 -1
- package/dist/browser/flow-authoring.js +7 -10
- package/dist/browser/flow-change.d.ts +3 -15
- package/dist/browser/flow-change.js +1 -2
- package/dist/browser/{editorComponent-0skblWYk.js → flowChanges-CYcfbZLP.js} +34201 -15646
- package/dist/browser/{flowRunInputEditorStore-Bgb5vSeS.js → flowRunInputEditorStore-rVbwoTfN.js} +1 -1
- package/dist/browser/{flowWorkspace-DJzQVVtZ.js → flowWorkspace-wckoLtfB.js} +38934 -39306
- package/dist/browser/licenses.md +16 -0
- package/dist/browser/{markdownContent-D2oHGWc6.js → markdownContent-DP6aYNZN.js} +17 -17
- package/dist/browser/markdownContent-DPkwZqaL.js +44588 -0
- package/dist/browser/preview.css +2 -0
- package/dist/browser/preview.css.d.ts +1 -0
- package/dist/browser/preview.d.ts +15 -0
- package/dist/browser/preview.js +88034 -0
- package/dist/browser/theme.css +7 -1
- package/dist/browser/{typeScriptSession-v9Pb3G6d.js → typeScriptSession-By_yez_b.js} +1 -1
- package/dist/browser/ui.css +1 -1
- package/dist/browser/ui.js +3903 -1421
- package/dist/browser/workbench-contract.d.ts +21 -12
- package/dist/browser/workbench.css +1 -1
- package/dist/browser/workbench.d.ts +3 -1
- package/dist/browser/workbench.js +1205 -1848
- package/dist/browser/workbenchSelect-Bq6KHpKx.js +16033 -0
- package/dist/common/control-api-conformance.js +2606 -2540
- package/dist/common/control-api.d.ts +18 -10
- package/dist/common/control-api.js +2428 -2381
- package/dist/common/control-requests.js +4 -8
- package/dist/common/flow-encoding.js +1 -2
- package/dist/common/flow-graph.d.ts +1 -1
- package/dist/common/flow-promptTemplate.d.ts +4 -0
- package/dist/common/flow-schema.d.ts +1 -0
- package/dist/common/flow-semantics.d.ts +2 -1
- package/dist/common/flow-semantics.js +2780 -2770
- package/dist/common/integration-trigger.js +724 -721
- package/dist/common/mcp.js +789 -739
- package/dist/common/poll-trigger.js +40 -37
- package/dist/common/provider-triggers.js +611 -608
- package/dist/common/providerIconSprite.d.ts +25 -0
- package/dist/common/runtime-contract.js +2 -1
- package/dist/common/scheduler.d.ts +2 -0
- package/dist/common/scheduler.js +1585 -1549
- package/dist/common/webhook-trigger.js +1 -2
- package/dist/index.d.ts +19 -0
- package/package.json +9 -1
- package/dist/browser/flowChanges-3o9Vs_1I.js +0 -10137
- package/dist/browser/inputValues-DkDT6u0o.js +0 -43
- package/dist/browser/lite-BA96NG4M.js +0 -8549
- package/dist/browser/workbenchSelect-B5zXyaaX.js +0 -6423
|
@@ -4537,8 +4537,7 @@ var Wc = T(O([E({
|
|
|
4537
4537
|
kind: A("agent"),
|
|
4538
4538
|
code: $s().optional(),
|
|
4539
4539
|
model: j,
|
|
4540
|
-
prompt:
|
|
4541
|
-
system: j,
|
|
4540
|
+
prompt: j,
|
|
4542
4541
|
maxRounds: w(),
|
|
4543
4542
|
tools: T(E({
|
|
4544
4543
|
id: j,
|
|
@@ -8015,7 +8014,8 @@ function em(e, t, n, r = void 0, i = {
|
|
|
8015
8014
|
task: {
|
|
8016
8015
|
capabilities: i.capabilities ?? [{
|
|
8017
8016
|
kind: "connector",
|
|
8018
|
-
mode: "
|
|
8017
|
+
mode: "independent",
|
|
8018
|
+
actions: []
|
|
8019
8019
|
}],
|
|
8020
8020
|
inputs: i.inputs,
|
|
8021
8021
|
moduleId: t.moduleId,
|
|
@@ -8356,11 +8356,7 @@ function Em(e) {
|
|
|
8356
8356
|
kind: "agent",
|
|
8357
8357
|
code: !0,
|
|
8358
8358
|
model: "deepseek-v4-flash",
|
|
8359
|
-
|
|
8360
|
-
prompt: {
|
|
8361
|
-
kind: "input",
|
|
8362
|
-
input: "input"
|
|
8363
|
-
},
|
|
8359
|
+
prompt: "{{input}}",
|
|
8364
8360
|
maxRounds: 10,
|
|
8365
8361
|
tools: []
|
|
8366
8362
|
}
|
|
@@ -10,7 +10,7 @@ export declare function resolutionActions(node: Extract<GraphNode, {
|
|
|
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(document: FlowDocument, node: GraphNode): Readonly<Record<string, PortDefinition>>;
|
|
13
|
+
export declare function nodeOutputPorts(document: Pick<FlowDocument, 'tasks' | 'subflows'>, node: GraphNode): Readonly<Record<string, PortDefinition>>;
|
|
14
14
|
export declare function nodeOutputDescription(document: FlowDocument, graph: Graph, nodeId: string, output: string): string | undefined;
|
|
15
15
|
export declare function graphOrder(graph: Graph): readonly string[];
|
|
16
16
|
export type InputSourceCheck = {
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { JsonValue } from '../browser/flow-change.js';
|
|
2
|
+
export declare const promptReferencePattern: RegExp;
|
|
3
|
+
export declare function renderPrompt(template: string, input: Readonly<Record<string, JsonValue>>): string;
|
|
4
|
+
export declare function renamePromptInput(template: string, before: string, after: string): string;
|
|
@@ -2,6 +2,7 @@ import type { JsonValue, PortDefinition, SchemaMismatch } from '../browser/flow-
|
|
|
2
2
|
export declare function schemaObject(schema: JsonValue): Readonly<Record<string, JsonValue>> | undefined;
|
|
3
3
|
export declare function schemaList(value: JsonValue | undefined): readonly JsonValue[] | undefined;
|
|
4
4
|
export declare function matchesSchema(value: JsonValue, schema: JsonValue): boolean;
|
|
5
|
+
export declare function schemaValidationErrors(value: JsonValue, schema: JsonValue): readonly string[];
|
|
5
6
|
export type PortCompareResult = {
|
|
6
7
|
readonly kind: 'compatible';
|
|
7
8
|
} | {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { renderPrompt } from './flow-promptTemplate.js';
|
|
1
2
|
export { connectionUsage, removeConnectionUsage } from './flow-connectionUsage.js';
|
|
2
3
|
export { matchesTriggerOutputs, triggerOutputDefinitions, triggerOutputPorts } from './trigger-contract.js';
|
|
3
4
|
import type { EngineContract } from './engine-contract.js';
|
|
@@ -5,7 +6,7 @@ import type { RuntimeProgram } from './runtime-contract.js';
|
|
|
5
6
|
import type { ConnectorActionCapability, ConnectorCapability, FlowDocument, Graph, RevisionContent, SchemaMismatch } from '../browser/flow-change.js';
|
|
6
7
|
export { availableOutputs, graphOrder, nodeInputPorts } from './flow-graph.js';
|
|
7
8
|
export { validateModules } from './flow-modules.js';
|
|
8
|
-
export { matchesSchema, variableInputCompatible } from './flow-schema.js';
|
|
9
|
+
export { matchesSchema, schemaValidationErrors, variableInputCompatible } from './flow-schema.js';
|
|
9
10
|
export { agentInput, agentToolInput, agentToolSchema } from './flow-agent.js';
|
|
10
11
|
export interface SemanticClosure {
|
|
11
12
|
readonly dependencies: {
|