@oomol-lab/open-flow 0.1.0-beta.11 → 0.1.0-beta.13
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/{DesignerIcon-ckcKnxxJ.js → DesignerIcon-Bzpx8BtG.js} +7 -2
- package/dist/browser/{_virtual_open-flow-twemoji-DJwKsM_w.js → _virtual_open-flow-twemoji-CpHJOEsk.js} +4028 -2
- package/dist/browser/carbon-Cn-DTyjG.js +54 -0
- package/dist/browser/{createResourceDialog-DhIU-HYW.js → createResourceDialog-Cdixb0WC.js} +16 -16
- package/dist/browser/{dist-BZ5PTFAs.js → dist-D1VYgicl.js} +426 -305
- package/dist/browser/{dist-Bmb2mZvW.js → dist-DYjIVIZC.js} +22 -22
- package/dist/browser/{dist-Ce71Szg7.js → dist-DwvhuMxw.js} +15 -15
- package/dist/browser/{dist-DY4qlXTK.js → dist-TJfrvoIQ.js} +21 -21
- package/dist/browser/{esm-C64_h7HF.js → esm-nAA6DHox.js} +1 -1
- package/dist/browser/flow-authoring-node.d.ts +4 -0
- package/dist/browser/flow-authoring.d.ts +1 -1
- package/dist/browser/flow-authoring.js +1528 -1443
- package/dist/browser/flow-change-schema.d.ts +4 -1
- package/dist/browser/flow-change.d.ts +42 -0
- package/dist/browser/flow-change.js +457 -403
- package/dist/browser/{flowChanges-BINNGoug.js → flowChanges-CX0dLRzD.js} +2817 -1613
- package/dist/browser/{flowWorkspace-Dp_b8KXF.js → flowWorkspace-BhpxeXhY.js} +51950 -50685
- package/dist/browser/host-conformance.d.ts +7 -0
- package/dist/browser/host-conformance.js +33 -0
- package/dist/browser/inputValues-CFlfnXlS.js +30 -0
- package/dist/browser/licenses.md +3 -1
- package/dist/browser/{select-CbQHq-GM.js → select-DCGY8Lom.js} +2580 -2003
- package/dist/browser/{typeScriptSession-BoV-FDl3.js → typeScriptSession-DnAmJCzu.js} +6 -6
- package/dist/browser/workbench.css +1 -1
- package/dist/browser/workbench.js +847 -780
- package/dist/browser/workbenchSelect-DdXtOYD1.js +30 -0
- package/dist/common/control-api-conformance.d.ts +6 -0
- package/dist/common/control-api-conformance.js +5379 -192
- package/dist/common/control-api.d.ts +244 -11
- package/dist/common/control-api.js +5535 -460
- package/dist/common/control-requests.d.ts +68 -0
- package/dist/common/control-requests.js +4949 -0
- package/dist/common/flow-agent.d.ts +10 -0
- package/dist/common/flow-encoding.d.ts +3 -1
- package/dist/common/flow-encoding.js +4790 -59
- package/dist/common/flow-json.d.ts +2 -0
- package/dist/common/flow-semantics.d.ts +4 -2
- package/dist/common/flow-semantics.js +4517 -3456
- package/dist/common/mcp-conformance.d.ts +2 -0
- package/dist/common/mcp.d.ts +545 -0
- package/dist/common/mcp.js +5007 -0
- package/dist/common/run-events.js +2 -1
- package/dist/common/run-lifecycle.d.ts +4 -0
- package/dist/common/run-lifecycle.js +30 -0
- package/dist/common/run-results.d.ts +56 -0
- package/dist/common/runtime-contract.d.ts +24 -0
- package/dist/common/scheduler.d.ts +29 -9
- package/dist/common/scheduler.js +3249 -2312
- package/package.json +13 -1
- package/dist/browser/carbon-DMCVsjHo.js +0 -53
- package/dist/browser/waitNotificationInputs-fzyKN6mk.js +0 -29
- package/dist/browser/workbenchSelect-BjbJjlNd.js +0 -435
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import type { ChangeOperation, JsonValue } from './flow-change.js';
|
|
1
|
+
import type { ChangeOperation, FlowDocument, JsonValue, RevisionContent } from './flow-change.js';
|
|
2
|
+
export declare function decodeFlowDocument(value: unknown): FlowDocument;
|
|
3
|
+
export declare function decodeRevisionContent(value: unknown): RevisionContent;
|
|
4
|
+
export declare function decodeRevisionEnvelope(value: unknown): RevisionContent;
|
|
2
5
|
export declare function decodeChangeOperations(value: unknown): readonly ChangeOperation[];
|
|
3
6
|
export declare function changeOperationsSchema(kind?: string): JsonValue;
|
|
@@ -100,7 +100,44 @@ export type ManagedTaskExecutor = {
|
|
|
100
100
|
} | {
|
|
101
101
|
readonly kind: 'llm';
|
|
102
102
|
readonly mode: 'chat' | 'json';
|
|
103
|
+
} | {
|
|
104
|
+
readonly kind: 'agent';
|
|
105
|
+
readonly code?: boolean;
|
|
106
|
+
readonly model: string;
|
|
107
|
+
readonly prompt: Exclude<AgentInput, {
|
|
108
|
+
readonly kind: 'model';
|
|
109
|
+
}>;
|
|
110
|
+
readonly system: string;
|
|
111
|
+
readonly maxRounds: number;
|
|
112
|
+
readonly tools: readonly AgentTool[];
|
|
113
|
+
readonly notification?: {
|
|
114
|
+
readonly taskId: string;
|
|
115
|
+
readonly messageHandle: string;
|
|
116
|
+
readonly inputs: Readonly<Record<string, Exclude<AgentInput, {
|
|
117
|
+
readonly kind: 'model';
|
|
118
|
+
}>>>;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
export type AgentInput = {
|
|
122
|
+
readonly kind: 'value';
|
|
123
|
+
readonly value: JsonValue;
|
|
124
|
+
} | {
|
|
125
|
+
readonly kind: 'input';
|
|
126
|
+
readonly input: string;
|
|
127
|
+
} | {
|
|
128
|
+
readonly kind: 'model';
|
|
103
129
|
};
|
|
130
|
+
export interface AgentTool {
|
|
131
|
+
readonly id: string;
|
|
132
|
+
readonly name: string;
|
|
133
|
+
readonly description: string;
|
|
134
|
+
readonly action: string;
|
|
135
|
+
readonly connectionId?: string;
|
|
136
|
+
readonly approval: boolean;
|
|
137
|
+
readonly inputs: readonly (InputPort & {
|
|
138
|
+
readonly source: AgentInput;
|
|
139
|
+
})[];
|
|
140
|
+
}
|
|
104
141
|
export interface ConnectorCapability {
|
|
105
142
|
readonly action: string;
|
|
106
143
|
readonly connections: readonly {
|
|
@@ -407,6 +444,11 @@ export type ChangeOperation = {
|
|
|
407
444
|
} | {
|
|
408
445
|
readonly kind: 'task.delete';
|
|
409
446
|
readonly taskId: string;
|
|
447
|
+
} | {
|
|
448
|
+
readonly before: ManagedTaskDefinition;
|
|
449
|
+
readonly kind: 'task.agent.set';
|
|
450
|
+
readonly taskId: string;
|
|
451
|
+
readonly value: ManagedTaskDefinition;
|
|
410
452
|
} | {
|
|
411
453
|
readonly before: 'chat' | 'json';
|
|
412
454
|
readonly kind: 'task.llm.mode.set';
|