@oomol-lab/open-flow 0.1.0-beta.61 → 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/dist/browser/{createResourceDialog-D71fO68i.js → createResourceDialog-DZgJsr3e.js} +2 -2
- package/dist/browser/{flowChanges-DSA0FxxN.js → flowChanges-CzYIVevI.js} +2244 -2172
- package/dist/browser/{flowWorkspace-0sUJ5JhQ.js → flowWorkspace-BgZaFKZm.js} +179 -57
- package/dist/browser/{icons-DVJvrj1H.js → icons-CajfDpy_.js} +2879 -2879
- package/dist/browser/preview.js +453 -140
- package/dist/browser/workbench.css +4 -20
- package/dist/browser/workbench.js +78 -11
- package/dist/browser/{workbenchSelect-cr4-mKq3.js → workbenchSelect-H9wzEFkH.js} +1 -1
- package/dist/command/index.js +37 -37
- package/dist/common/authoring.d.ts +1 -1
- package/dist/common/control-api-conformance.js +2149 -2084
- package/dist/common/control-api-errors.d.ts +0 -4
- package/dist/common/control-api.d.ts +10 -11
- package/dist/common/control-api.js +2495 -2755
- package/dist/common/control-requests.js +23 -15
- package/dist/common/liveDetails.d.ts +138 -0
- package/dist/common/mcp.d.ts +1 -33
- package/dist/common/mcp.js +287 -238
- package/package.json +1 -1
- package/skills/open-flow/SKILL.md +6 -3
- package/skills/open-flow/references/flow-authoring.md +28 -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';
|
|
@@ -484,12 +484,12 @@ export declare function decodeRunEvent(value: unknown): {
|
|
|
484
484
|
readonly sequence: number;
|
|
485
485
|
readonly kind: "run.queued";
|
|
486
486
|
readonly payload: {
|
|
487
|
-
nodeId?: undefined;
|
|
488
487
|
readonly flowId?: undefined;
|
|
489
488
|
readonly scopeId?: undefined;
|
|
490
489
|
readonly progress?: undefined;
|
|
491
490
|
readonly waitIds?: undefined;
|
|
492
491
|
readonly expiresAt?: undefined;
|
|
492
|
+
readonly nodeId?: undefined;
|
|
493
493
|
readonly waitingSince?: undefined;
|
|
494
494
|
readonly action?: undefined;
|
|
495
495
|
readonly comment?: undefined;
|
|
@@ -502,13 +502,13 @@ export declare function decodeRunEvent(value: unknown): {
|
|
|
502
502
|
readonly sequence: number;
|
|
503
503
|
readonly kind: "run.started";
|
|
504
504
|
readonly payload: {
|
|
505
|
-
nodeId?: undefined;
|
|
506
505
|
readonly flowId: string;
|
|
507
506
|
readonly scopeId: string;
|
|
508
507
|
readonly parentScopeId?: string | undefined;
|
|
509
508
|
readonly progress?: undefined;
|
|
510
509
|
readonly waitIds?: undefined;
|
|
511
510
|
readonly expiresAt?: undefined;
|
|
511
|
+
readonly nodeId?: undefined;
|
|
512
512
|
readonly waitingSince?: undefined;
|
|
513
513
|
readonly action?: undefined;
|
|
514
514
|
readonly comment?: undefined;
|
|
@@ -521,12 +521,12 @@ export declare function decodeRunEvent(value: unknown): {
|
|
|
521
521
|
readonly sequence: number;
|
|
522
522
|
readonly kind: "run.progress";
|
|
523
523
|
readonly payload: {
|
|
524
|
-
nodeId?: undefined;
|
|
525
524
|
readonly flowId: string;
|
|
526
525
|
readonly scopeId: string;
|
|
527
526
|
readonly progress: number;
|
|
528
527
|
readonly waitIds?: undefined;
|
|
529
528
|
readonly expiresAt?: undefined;
|
|
529
|
+
readonly nodeId?: undefined;
|
|
530
530
|
readonly waitingSince?: undefined;
|
|
531
531
|
readonly action?: undefined;
|
|
532
532
|
readonly comment?: undefined;
|
|
@@ -539,12 +539,12 @@ export declare function decodeRunEvent(value: unknown): {
|
|
|
539
539
|
readonly sequence: number;
|
|
540
540
|
readonly kind: "run.waiting";
|
|
541
541
|
readonly payload: {
|
|
542
|
-
nodeId?: undefined;
|
|
543
542
|
readonly flowId?: undefined;
|
|
544
543
|
readonly scopeId?: undefined;
|
|
545
544
|
readonly progress?: undefined;
|
|
546
545
|
readonly waitIds: string[];
|
|
547
546
|
readonly expiresAt?: undefined;
|
|
547
|
+
readonly nodeId?: undefined;
|
|
548
548
|
readonly waitingSince?: undefined;
|
|
549
549
|
readonly action?: undefined;
|
|
550
550
|
readonly comment?: undefined;
|
|
@@ -575,12 +575,12 @@ export declare function decodeRunEvent(value: unknown): {
|
|
|
575
575
|
readonly sequence: number;
|
|
576
576
|
readonly kind: "run.resolved";
|
|
577
577
|
readonly payload: {
|
|
578
|
-
nodeId?: undefined;
|
|
579
578
|
readonly flowId?: undefined;
|
|
580
579
|
readonly scopeId?: undefined;
|
|
581
580
|
readonly progress?: undefined;
|
|
582
581
|
readonly waitIds?: undefined;
|
|
583
582
|
readonly expiresAt?: undefined;
|
|
583
|
+
readonly nodeId?: undefined;
|
|
584
584
|
readonly waitingSince?: undefined;
|
|
585
585
|
readonly action: "approve" | "continue" | "reject";
|
|
586
586
|
readonly comment: string | null;
|
|
@@ -593,12 +593,12 @@ export declare function decodeRunEvent(value: unknown): {
|
|
|
593
593
|
readonly sequence: number;
|
|
594
594
|
readonly kind: "run.canceled" | "run.completed" | "run.failed" | "run.indeterminate";
|
|
595
595
|
readonly payload: {
|
|
596
|
-
nodeId?: undefined;
|
|
597
596
|
readonly flowId?: undefined;
|
|
598
597
|
readonly scopeId?: undefined;
|
|
599
598
|
readonly progress?: undefined;
|
|
600
599
|
readonly waitIds?: undefined;
|
|
601
600
|
readonly expiresAt?: undefined;
|
|
601
|
+
readonly nodeId?: undefined;
|
|
602
602
|
readonly waitingSince?: undefined;
|
|
603
603
|
readonly action?: undefined;
|
|
604
604
|
readonly comment?: undefined;
|
|
@@ -907,9 +907,8 @@ export declare class ControlClient {
|
|
|
907
907
|
changeDraft(flowId: string, expectedRevisionId: string, operations: readonly DraftOperation[], changeId?: string): Promise<DraftChange>;
|
|
908
908
|
repairDraft(flowId: string, expectedRevisionId: string, changeId?: string): Promise<DraftChange>;
|
|
909
909
|
checkFlow(flowId: string, revisionId: string): Promise<FlowCheck>;
|
|
910
|
+
getLiveDetails(flowId: string, signal?: AbortSignal): Promise<LiveDetails>;
|
|
910
911
|
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
912
|
listPublications(flowId: string, options?: {
|
|
914
913
|
readonly cursor?: string;
|
|
915
914
|
readonly includeTotal?: boolean;
|