@oomol-lab/open-flow 0.1.0-beta.60 → 0.1.0-beta.62
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 +14 -1
- package/dist/browser/{createResourceDialog-B7ThMSeA.js → createResourceDialog-DZgJsr3e.js} +2 -2
- package/dist/browser/{flowChanges-Cbl6Izr-.js → flowChanges-CzYIVevI.js} +1234 -1063
- package/dist/browser/{flowWorkspace-BdbsnUDs.js → flowWorkspace-BgZaFKZm.js} +208 -94
- package/dist/browser/{icons-D70mz3qW.js → icons-CajfDpy_.js} +13 -13
- package/dist/browser/preview.js +1126 -844
- package/dist/browser/ui.css +697 -1
- package/dist/browser/ui.d.ts +45 -0
- package/dist/browser/ui.js +6243 -740
- package/dist/browser/workbench.css +4 -20
- package/dist/browser/workbench.js +50 -41
- package/dist/browser/{workbenchSelect-gB45mZY7.js → workbenchSelect-H9wzEFkH.js} +1 -1
- package/dist/command/index.d.ts +6 -0
- package/dist/command/index.js +84 -0
- package/dist/command/licenses.md +191 -0
- package/dist/common/control-api-conformance.js +738 -583
- package/dist/common/control-api.d.ts +23 -3
- package/dist/common/control-api.js +824 -614
- package/dist/common/control-requests.js +23 -15
- package/dist/common/liveDetails.d.ts +138 -0
- package/dist/common/mcp.d.ts +29 -0
- package/dist/common/mcp.js +737 -578
- package/package.json +5 -1
- package/skills/open-flow/SKILL.md +7 -3
- package/skills/open-flow/references/flow-authoring.md +37 -1
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import type { LiveDetails } from './liveDetails.js';
|
|
2
|
+
export { liveEntries } from './liveDetails.js';
|
|
3
|
+
export type { LiveDetails, LiveEntry } from './liveDetails.js';
|
|
1
4
|
import type { AuthoringRead, AuthoringSearch, AuthoringRequest, AuthoringType } from './authoringSchema.js';
|
|
2
5
|
import type { ProviderIconAppearance } from './providerIconSprite.js';
|
|
3
6
|
export { providerIconAppearance } from './providerIconSprite.js';
|
|
@@ -78,6 +81,24 @@ export interface FlowPage {
|
|
|
78
81
|
readonly total?: number;
|
|
79
82
|
readonly version: 1;
|
|
80
83
|
}
|
|
84
|
+
export interface VariableReference {
|
|
85
|
+
readonly flowId: string;
|
|
86
|
+
readonly flowName: string;
|
|
87
|
+
readonly draft: boolean;
|
|
88
|
+
readonly live: {
|
|
89
|
+
readonly publicationId: string;
|
|
90
|
+
readonly enabled: boolean;
|
|
91
|
+
} | null;
|
|
92
|
+
}
|
|
93
|
+
export interface VariableReferences {
|
|
94
|
+
readonly version: 1;
|
|
95
|
+
readonly references: readonly VariableReference[];
|
|
96
|
+
readonly unknown: readonly {
|
|
97
|
+
readonly flowId: string;
|
|
98
|
+
readonly flowName: string;
|
|
99
|
+
readonly scope: 'draft' | 'live';
|
|
100
|
+
}[];
|
|
101
|
+
}
|
|
81
102
|
export interface Variable {
|
|
82
103
|
readonly name: string;
|
|
83
104
|
readonly updatedAt: string;
|
|
@@ -104,7 +125,6 @@ export interface TriggerBinding {
|
|
|
104
125
|
readonly health: 'failed' | 'healthy' | 'initializing' | 'needs_reauth' | 'suspended';
|
|
105
126
|
readonly kind: 'error' | 'cron' | 'integration' | 'poll' | 'webhook';
|
|
106
127
|
readonly lastErrorCode?: string;
|
|
107
|
-
readonly operatorState: 'active' | 'paused';
|
|
108
128
|
readonly runtimeVersion: number;
|
|
109
129
|
readonly triggerNodeId: string;
|
|
110
130
|
readonly updatedAt: string;
|
|
@@ -758,6 +778,7 @@ export declare class ControlClient {
|
|
|
758
778
|
readonly variables: readonly Variable[];
|
|
759
779
|
readonly version: 1;
|
|
760
780
|
}>;
|
|
781
|
+
getVariableReferences(name: string, signal?: AbortSignal): Promise<VariableReferences>;
|
|
761
782
|
getVariable(name: string): Promise<Variable>;
|
|
762
783
|
putVariable(name: string, value: string): Promise<Variable>;
|
|
763
784
|
deleteVariable(name: string): Promise<void>;
|
|
@@ -780,8 +801,6 @@ export declare class ControlClient {
|
|
|
780
801
|
readonly cursor?: string;
|
|
781
802
|
readonly limit?: number;
|
|
782
803
|
}): Promise<TriggerActivityPage>;
|
|
783
|
-
pauseFlowTrigger(flowId: string, triggerNodeId: string): Promise<TriggerBinding>;
|
|
784
|
-
resumeFlowTrigger(flowId: string, triggerNodeId: string): Promise<TriggerBinding>;
|
|
785
804
|
testFlowPollTrigger(flowId: string, triggerNodeId: string): Promise<PollTriggerTestResult>;
|
|
786
805
|
getEditor(flowId: string): Promise<{
|
|
787
806
|
readonly flow: Flow;
|
|
@@ -888,6 +907,7 @@ export declare class ControlClient {
|
|
|
888
907
|
changeDraft(flowId: string, expectedRevisionId: string, operations: readonly DraftOperation[], changeId?: string): Promise<DraftChange>;
|
|
889
908
|
repairDraft(flowId: string, expectedRevisionId: string, changeId?: string): Promise<DraftChange>;
|
|
890
909
|
checkFlow(flowId: string, revisionId: string): Promise<FlowCheck>;
|
|
910
|
+
getLiveDetails(flowId: string, signal?: AbortSignal): Promise<LiveDetails>;
|
|
891
911
|
getLive(flowId: string, signal?: AbortSignal): Promise<Live>;
|
|
892
912
|
listPublications(flowId: string, options?: {
|
|
893
913
|
readonly cursor?: string;
|