@oomol-lab/open-flow 0.1.0-beta.61 → 0.1.0-beta.63
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/{createResourceDialog-D71fO68i.js → createResourceDialog-BAJXbzNH.js} +20 -7
- package/dist/browser/flow-authoring.js +8 -7
- package/dist/browser/flow-change-schema.d.ts +1 -0
- package/dist/browser/flow-change.d.ts +1 -0
- package/dist/browser/flow-change.js +8 -7
- package/dist/browser/{flowChanges-DSA0FxxN.js → flowChanges-DpZOQuJE.js} +3001 -2588
- package/dist/browser/{flowRunInputEditorStore-Dsxyfwae.js → flowRunInputEditorStore-B2Rw4VsT.js} +1 -1
- package/dist/browser/{flowWorkspace-0sUJ5JhQ.js → flowWorkspace-B7a5NNA_.js} +217 -83
- package/dist/browser/{icons-DVJvrj1H.js → icons-Db2Jb2iX.js} +2907 -2887
- package/dist/browser/preview.css +5 -6
- package/dist/browser/preview.js +889 -541
- package/dist/browser/{typeScriptSession-fXPMFGjW.js → typeScriptSession-D0bjYDeg.js} +1 -1
- package/dist/browser/ui.css +4 -5
- package/dist/browser/ui.js +2 -2
- package/dist/browser/{value-DL_poNiC.js → value-BADHeZ9I.js} +12 -1
- package/dist/browser/workbench-contract.d.ts +10 -0
- package/dist/browser/workbench.css +9 -26
- package/dist/browser/workbench.d.ts +5 -3
- package/dist/browser/workbench.js +272 -178
- package/dist/browser/{workbenchSelect-cr4-mKq3.js → workbenchSelect-C-jf6NIM.js} +1 -1
- package/dist/command/index.js +45 -44
- package/dist/common/authoring.d.ts +1 -1
- package/dist/common/authoringSchema.d.ts +1 -0
- package/dist/common/connector-action.d.ts +1 -0
- package/dist/common/connector-action.js +15 -12
- package/dist/common/control-api-conformance.js +1371 -1207
- package/dist/common/control-api-errors.d.ts +0 -4
- package/dist/common/control-api.d.ts +18 -11
- package/dist/common/control-api.js +2053 -2274
- package/dist/common/control-requests.d.ts +6 -0
- package/dist/common/control-requests.js +64 -33
- package/dist/common/decision.js +8 -7
- package/dist/common/flow-connectionUsage.d.ts +1 -0
- package/dist/common/flow-encoding.d.ts +1 -0
- package/dist/common/flow-encoding.js +202 -10
- package/dist/common/flow-semantics.js +64 -46
- package/dist/common/flow-workflowFile.d.ts +23 -0
- package/dist/common/integration-trigger.js +8 -7
- package/dist/common/liveDetails.d.ts +138 -0
- package/dist/common/localization.d.ts +1 -0
- package/dist/common/localization.js +12 -1
- package/dist/common/mcp.d.ts +55 -26
- package/dist/common/mcp.js +377 -245
- package/dist/common/openapi.js +8 -7
- package/dist/common/poll-trigger.js +8 -7
- package/dist/common/runtime-contract.js +1 -1
- package/dist/common/scheduler.d.ts +22 -2
- package/dist/common/scheduler.js +354 -83
- package/dist/common/trigger-config.d.ts +2 -0
- package/dist/common/webhook-trigger.js +8 -7
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
- package/skills/open-flow/SKILL.md +6 -3
- package/skills/open-flow/references/flow-authoring.md +48 -24
- package/dist/common/publicationResources.d.ts +0 -29
|
@@ -30,7 +30,6 @@ export declare const controlErrorCode: {
|
|
|
30
30
|
readonly publicationConflict: 'publication.conflict';
|
|
31
31
|
readonly publicationNotFound: 'publication.not-found';
|
|
32
32
|
readonly publicationUnsupported: 'publication.unsupported';
|
|
33
|
-
readonly resourceNotFound: 'resource.not-found';
|
|
34
33
|
readonly publishOperationNotFound: 'publication.operation-not-found';
|
|
35
34
|
readonly routeNotFound: 'route.not-found';
|
|
36
35
|
readonly runConflict: 'run.conflict';
|
|
@@ -142,9 +141,6 @@ export declare const controlErrorMetadata: {
|
|
|
142
141
|
readonly "publication.unsupported": {
|
|
143
142
|
readonly status: 409;
|
|
144
143
|
};
|
|
145
|
-
readonly "resource.not-found": {
|
|
146
|
-
readonly status: 404;
|
|
147
|
-
};
|
|
148
144
|
readonly "publication.operation-not-found": {
|
|
149
145
|
readonly status: 404;
|
|
150
146
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
-
import type { PublicationResources, PublicationResourceDetail } from './publicationResources.js';
|
|
3
|
-
export { publicationResources } from './publicationResources.js';
|
|
4
|
-
export type { PublicationResource, PublicationResources, PublicationResourceDetail } from './publicationResources.js';
|
|
5
5
|
import type { ProviderIconAppearance } from './providerIconSprite.js';
|
|
6
6
|
export { providerIconAppearance } from './providerIconSprite.js';
|
|
7
7
|
export type { ProviderIconAppearance, ProviderIconSprite, ProviderIconSpriteCatalog } from './providerIconSprite.js';
|
|
@@ -22,6 +22,8 @@ import type { ResultQuery } from './run-results.js';
|
|
|
22
22
|
import { decodeResultList, decodeResultRead } from './run-results.js';
|
|
23
23
|
export { readResult, parseResultQuery, decodeResultList, decodeResultRead, type ResultCall, type ResultInfo, type ResultPage, type ResultQuery, } from './run-results.js';
|
|
24
24
|
import type { RunStatus } from './run-lifecycle.js';
|
|
25
|
+
import type { WorkflowFile } from './flow-workflowFile.js';
|
|
26
|
+
export type { WorkflowFile, WorkflowCleanupSummary } from './flow-workflowFile.js';
|
|
25
27
|
import type { InputPortDefinition, JsonValue, PortDefinition, RevisionContent, TriggerKeySnapshot, WaitAction } from '../browser/flow-change.js';
|
|
26
28
|
import type { FlowResourceReferences } from './flow-semantics.js';
|
|
27
29
|
export type { JsonValue, TriggerKeySnapshot, WaitAction } from '../browser/flow-change.js';
|
|
@@ -484,12 +486,12 @@ export declare function decodeRunEvent(value: unknown): {
|
|
|
484
486
|
readonly sequence: number;
|
|
485
487
|
readonly kind: "run.queued";
|
|
486
488
|
readonly payload: {
|
|
487
|
-
nodeId?: undefined;
|
|
488
489
|
readonly flowId?: undefined;
|
|
489
490
|
readonly scopeId?: undefined;
|
|
490
491
|
readonly progress?: undefined;
|
|
491
492
|
readonly waitIds?: undefined;
|
|
492
493
|
readonly expiresAt?: undefined;
|
|
494
|
+
readonly nodeId?: undefined;
|
|
493
495
|
readonly waitingSince?: undefined;
|
|
494
496
|
readonly action?: undefined;
|
|
495
497
|
readonly comment?: undefined;
|
|
@@ -502,13 +504,13 @@ export declare function decodeRunEvent(value: unknown): {
|
|
|
502
504
|
readonly sequence: number;
|
|
503
505
|
readonly kind: "run.started";
|
|
504
506
|
readonly payload: {
|
|
505
|
-
nodeId?: undefined;
|
|
506
507
|
readonly flowId: string;
|
|
507
508
|
readonly scopeId: string;
|
|
508
509
|
readonly parentScopeId?: string | undefined;
|
|
509
510
|
readonly progress?: undefined;
|
|
510
511
|
readonly waitIds?: undefined;
|
|
511
512
|
readonly expiresAt?: undefined;
|
|
513
|
+
readonly nodeId?: undefined;
|
|
512
514
|
readonly waitingSince?: undefined;
|
|
513
515
|
readonly action?: undefined;
|
|
514
516
|
readonly comment?: undefined;
|
|
@@ -521,12 +523,12 @@ export declare function decodeRunEvent(value: unknown): {
|
|
|
521
523
|
readonly sequence: number;
|
|
522
524
|
readonly kind: "run.progress";
|
|
523
525
|
readonly payload: {
|
|
524
|
-
nodeId?: undefined;
|
|
525
526
|
readonly flowId: string;
|
|
526
527
|
readonly scopeId: string;
|
|
527
528
|
readonly progress: number;
|
|
528
529
|
readonly waitIds?: undefined;
|
|
529
530
|
readonly expiresAt?: undefined;
|
|
531
|
+
readonly nodeId?: undefined;
|
|
530
532
|
readonly waitingSince?: undefined;
|
|
531
533
|
readonly action?: undefined;
|
|
532
534
|
readonly comment?: undefined;
|
|
@@ -539,12 +541,12 @@ export declare function decodeRunEvent(value: unknown): {
|
|
|
539
541
|
readonly sequence: number;
|
|
540
542
|
readonly kind: "run.waiting";
|
|
541
543
|
readonly payload: {
|
|
542
|
-
nodeId?: undefined;
|
|
543
544
|
readonly flowId?: undefined;
|
|
544
545
|
readonly scopeId?: undefined;
|
|
545
546
|
readonly progress?: undefined;
|
|
546
547
|
readonly waitIds: string[];
|
|
547
548
|
readonly expiresAt?: undefined;
|
|
549
|
+
readonly nodeId?: undefined;
|
|
548
550
|
readonly waitingSince?: undefined;
|
|
549
551
|
readonly action?: undefined;
|
|
550
552
|
readonly comment?: undefined;
|
|
@@ -575,12 +577,12 @@ export declare function decodeRunEvent(value: unknown): {
|
|
|
575
577
|
readonly sequence: number;
|
|
576
578
|
readonly kind: "run.resolved";
|
|
577
579
|
readonly payload: {
|
|
578
|
-
nodeId?: undefined;
|
|
579
580
|
readonly flowId?: undefined;
|
|
580
581
|
readonly scopeId?: undefined;
|
|
581
582
|
readonly progress?: undefined;
|
|
582
583
|
readonly waitIds?: undefined;
|
|
583
584
|
readonly expiresAt?: undefined;
|
|
585
|
+
readonly nodeId?: undefined;
|
|
584
586
|
readonly waitingSince?: undefined;
|
|
585
587
|
readonly action: "approve" | "continue" | "reject";
|
|
586
588
|
readonly comment: string | null;
|
|
@@ -593,12 +595,12 @@ export declare function decodeRunEvent(value: unknown): {
|
|
|
593
595
|
readonly sequence: number;
|
|
594
596
|
readonly kind: "run.canceled" | "run.completed" | "run.failed" | "run.indeterminate";
|
|
595
597
|
readonly payload: {
|
|
596
|
-
nodeId?: undefined;
|
|
597
598
|
readonly flowId?: undefined;
|
|
598
599
|
readonly scopeId?: undefined;
|
|
599
600
|
readonly progress?: undefined;
|
|
600
601
|
readonly waitIds?: undefined;
|
|
601
602
|
readonly expiresAt?: undefined;
|
|
603
|
+
readonly nodeId?: undefined;
|
|
602
604
|
readonly waitingSince?: undefined;
|
|
603
605
|
readonly action?: undefined;
|
|
604
606
|
readonly comment?: undefined;
|
|
@@ -782,6 +784,12 @@ export declare class ControlClient {
|
|
|
782
784
|
getVariable(name: string): Promise<Variable>;
|
|
783
785
|
putVariable(name: string, value: string): Promise<Variable>;
|
|
784
786
|
deleteVariable(name: string): Promise<void>;
|
|
787
|
+
exportFlow(flowId: string): Promise<WorkflowFile>;
|
|
788
|
+
importFlow(file: WorkflowFile, options?: {
|
|
789
|
+
readonly name?: string;
|
|
790
|
+
readonly teamId?: string;
|
|
791
|
+
readonly idempotencyKey?: string;
|
|
792
|
+
}): Promise<Flow>;
|
|
785
793
|
createFlow(name: string, idempotencyKey?: string, teamId?: string): Promise<Flow>;
|
|
786
794
|
getFlow(flowId: string): Promise<Flow>;
|
|
787
795
|
getErrorListeners(flowId: string, signal?: AbortSignal): Promise<readonly ErrorListener[]>;
|
|
@@ -907,9 +915,8 @@ export declare class ControlClient {
|
|
|
907
915
|
changeDraft(flowId: string, expectedRevisionId: string, operations: readonly DraftOperation[], changeId?: string): Promise<DraftChange>;
|
|
908
916
|
repairDraft(flowId: string, expectedRevisionId: string, changeId?: string): Promise<DraftChange>;
|
|
909
917
|
checkFlow(flowId: string, revisionId: string): Promise<FlowCheck>;
|
|
918
|
+
getLiveDetails(flowId: string, signal?: AbortSignal): Promise<LiveDetails>;
|
|
910
919
|
getLive(flowId: string, signal?: AbortSignal): Promise<Live>;
|
|
911
|
-
listPublicationResources(flowId: string, publicationId?: string): Promise<PublicationResources>;
|
|
912
|
-
getPublicationResource(flowId: string, resourceId: string, publicationId?: string): Promise<PublicationResourceDetail>;
|
|
913
920
|
listPublications(flowId: string, options?: {
|
|
914
921
|
readonly cursor?: string;
|
|
915
922
|
readonly includeTotal?: boolean;
|