@wenathlan/extension 1.1.52 → 1.1.53

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.
@@ -1 +1 @@
1
- {"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../workflow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACtP,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAG9C;;;;GAIG;AAEH,4JAA4J;AAC5J,eAAO,MAAM,aAAa,EAAE,MAAM,EAAmH,CAAC;AAEtJ,0LAA0L;AAC1L,MAAM,MAAM,aAAa,GAAG;IAAE,EAAE,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAAC,MAAM,CAAC,EAAE,aAAa,EAAE,CAAC;IAAC,GAAG,CAAC,EAAE,WAAW,EAAE,CAAA;CAAE,CAAC;AAE/I,wKAAwK;AACxK,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,YAAY,GAAG,SAAS,CAiBvE;AAED,+FAA+F;AAC/F,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,eAAe,GAAG,SAAS,CAM7E;AAED,4HAA4H;AAC5H,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,aAAa,GAAG,SAAS,CAezE;AAED,gHAAgH;AAChH,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,YAAY,GAAG,SAAS,CAUvE;AAgBD,iEAAiE;AACjE,eAAO,MAAM,mBAAmB,EAAE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risk, editoredge, editormodel, editorlayout, exportformat, minimapstate, nestedparam, palettecategory, palettenode, siteoverride, steplibraryentry, steptemplate, versiondiff, workflowfile, workflowrecord, workflowstep } from "./types.js";
2
+ /**
3
+ * Workflow editor of the 1.1.53 family.
4
+ * Every pure rule of the visual builder lives in this file: the canvas model with nodes, typed binding edges and layout state, the load and save round trips against the composed workflow grammar, the drag and drop snapping to block boundaries, the reorder persistence, the grouping of a selection into a new block, the template insertion with nested parameters, the mini map projection and viewport math, the zoom that keeps step labels readable, the step search, the breakpoint markers with the debug run segmentation, the version diffing, the json and yaml file format for import, export and template sharing, the per site override application and the undo and redo stacks.
5
+ * The module stays pure: the sidepanel renders the model and the background validates saves through the same composeworkflow grammar every other path uses, so no editor artifact bypasses review.
6
+ */
7
+ /** The five categories of the block palette: actions, control flow, waits, variables and triggers. */
8
+ export declare const palettecategories: palettecategory[];
9
+ /** The curated drop blocks of the palette: one descriptor per canonical block of every category. */
10
+ export declare const palettenodes: palettenode[];
11
+ /** Builds the step library over every reviewed action kind the policy table knows, grouped by category with the documented option schema of the kinds that carry one. */
12
+ export declare function buildsteplibrary(kinds: string[]): steplibraryentry[];
13
+ /** Converts one composed workflow record into the canvas model: one node per top level step, one invocation node per contiguous block region of the expanded step list with a unique id even when one block is invoked many times, the bindings of every step lifted into typed edges and the layout stacked top to bottom with the block columns side by side. */
14
+ export declare function loadworkflow(record: workflowrecord, layout?: editorlayout): editormodel;
15
+ /** Validates the canvas model and converts it back into one composed workflow record: every node is a step or a block invocation, every edge links the output of an earlier node into a later node so no cycle forms, block child bindings stay inside their block and the composed record passes the full workflow grammar. */
16
+ export declare function saveworkflow(model: editormodel, input: {
17
+ now: number;
18
+ kindallowed?: (kind: string) => boolean;
19
+ riskof?: (kind: string) => actionrisk;
20
+ }): workflowrecord;
21
+ /** Attaches one step to a block boundary: the dragged position snaps onto the reviewed grid and the nearest block column attaches the step into that block while the main column detaches it. */
22
+ export declare function snapnode(model: editormodel, nodeid: string, x: number, y: number, grid?: number): editormodel;
23
+ /** Persists one drag and drop ordering: the node moves to the reviewed index of the top level list while the edges stay attached to their step ids. */
24
+ export declare function reordersteps(model: editormodel, nodeid: string, index: number): editormodel;
25
+ /** Moves many selected steps into a new block: the definition collects the selected steps in their current order and one invocation node replaces the first selected position. */
26
+ export declare function groupselect(model: editormodel, nodeids: string[], blockname: string): editormodel;
27
+ /** Inserts one shared step template with its nested parameters: the template step becomes a canvas node at the reviewed index and the parameters ride with the step into its block scope. */
28
+ export declare function expandtemplate(model: editormodel, template: steptemplate, params?: nestedparam[], index?: number): editormodel;
29
+ /** Inserts one new step node onto the canvas at the reviewed index: the palette and the step library drop their kinds through here so every insertion rides the undo stack. */
30
+ export declare function addnode(model: editormodel, step: workflowstep, index?: number): editormodel;
31
+ /** Replaces the payload of one step node of the canvas: the step inspector edits its target, value, options, expression and extract fields through here so every edit rides the undo stack. */
32
+ export declare function editstep(model: editormodel, step: workflowstep): editormodel;
33
+ /** Projects the full canvas into the mini map: the projection scale fits every node into the mini size and the viewport rectangle follows the layout viewport and zoom. */
34
+ export declare function renderminimap(model: editormodel, width?: number, height?: number): {
35
+ minimap: minimapstate;
36
+ nodes: Array<{
37
+ id: string;
38
+ x: number;
39
+ y: number;
40
+ }>;
41
+ };
42
+ /** Jumps the canvas to a clicked mini map region: the click converts back into canvas coordinates and the viewport centers on it inside the canvas bounds. */
43
+ export declare function minimapfocus(model: editormodel, x: number, y: number, width?: number, height?: number): editormodel;
44
+ /** Sets the canvas zoom to any positive user value with no ceiling while the step labels compensate so they stay readable at every zoom level: the returned label scale grows the labels relative to the canvas once the zoom shrinks below the readable floor. */
45
+ export declare function zoomcanvas(model: editormodel, zoom: number): {
46
+ model: editormodel;
47
+ labelscale: number;
48
+ };
49
+ /** Finds steps by label, kind or variable name: the search answers the matching nodes with the reasons they matched, case insensitive. */
50
+ export declare function searchsteps(model: editormodel, query: string): Array<{
51
+ id: string;
52
+ label: string;
53
+ kind: string;
54
+ matched: string[];
55
+ }>;
56
+ /** Toggles the breakpoint marker of one step for editor debugging; a debug run pauses right before a marked step, and the marker rides the steps inside block definitions too. */
57
+ export declare function markbreakpoint(model: editormodel, stepid: string): editormodel;
58
+ /** Plans one debug run segment: the run executes the steps from the cursor up to the step before the next breakpoint, pauses at the breakpoint step id and reports the steps remaining after it; a run without breakpoints runs to the end. */
59
+ export declare function runtobreakpoint(input: {
60
+ record: workflowrecord;
61
+ cursor?: number;
62
+ breakpoints: string[];
63
+ }): {
64
+ until: number;
65
+ pausat: string | undefined;
66
+ remaining: number;
67
+ };
68
+ /** Compares two workflow versions: the steps the newer version added, removed and changed with the field names that changed. */
69
+ export declare function diffversions(from: workflowrecord, to: workflowrecord, now: number): versiondiff;
70
+ /** Serializes one workflow record with its version metadata into a workflow file of the reviewed json or yaml format. */
71
+ export declare function exportworkflow(record: workflowrecord, format: exportformat, note?: string, now?: number): {
72
+ format: exportformat;
73
+ contents: string;
74
+ file: workflowfile;
75
+ };
76
+ /** Packs one workflow with its shared step templates into a single shareable file so a whole library travels together. */
77
+ export declare function shareworkflow(record: workflowrecord, templates: steptemplate[], format: exportformat, note?: string, now?: number): {
78
+ format: exportformat;
79
+ contents: string;
80
+ file: workflowfile;
81
+ };
82
+ /** Validates and loads one workflow file: the format version must match, the workflow must compose through the full grammar and every packed template must normalize; the loaded record grades unreviewed until the user approves it. */
83
+ export declare function importworkflow(input: {
84
+ contents: string;
85
+ format?: exportformat;
86
+ now?: number;
87
+ kindallowed?: (kind: string) => boolean;
88
+ riskof?: (kind: string) => actionrisk;
89
+ }): {
90
+ record: workflowrecord;
91
+ templates: steptemplate[];
92
+ file: workflowfile;
93
+ };
94
+ /** Wires one nested parameter into a block invocation of the canvas: the parameter replaces a same named one and the default binds into the block scope once the run opens it. */
95
+ export declare function bindparam(model: editormodel, blockname: string, param: nestedparam): editormodel;
96
+ /** Applies one per site policy override to a workflow: the deltas adjust only the reviewed knobs — loop bounds, step and run timeouts, element wait timeouts and delay bases — of the steps whose workflow origins match the override pattern. */
97
+ export declare function applyoverride(record: workflowrecord, override: siteoverride): workflowrecord;
98
+ /** Wires one typed binding edge from the output socket of an earlier step into the input socket of a later step; a backwards edge refuses so no cycle forms. */
99
+ export declare function addedge(model: editormodel, edge: editoredge): editormodel;
100
+ /** Removes one typed binding edge of the canvas by its source, target and variable. */
101
+ export declare function removeedge(model: editormodel, from: string, to: string, variable: string): editormodel;
102
+ /** Removes one canvas node with every edge attached to it; the undo stack keeps the removal reversible. */
103
+ export declare function removenode(model: editormodel, nodeid: string): editormodel;
104
+ /** Steps one canvas edit back: the last undo snapshot becomes the current model and the edited model waits on the redo stack. */
105
+ export declare function undoedit(model: editormodel): editormodel;
106
+ /** Steps one canvas edit forward again after an undo: the newest redo snapshot returns as the current model. */
107
+ export declare function redoedit(model: editormodel): editormodel;
108
+ //# sourceMappingURL=workfloweditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workfloweditor.d.ts","sourceRoot":"","sources":["../workfloweditor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAmB,UAAU,EAAE,WAAW,EAAc,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,WAAW,EAAE,YAAY,EAAE,gBAAgB,EAAE,YAAY,EAAmB,WAAW,EAAE,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAMhT;;;;GAIG;AAEH,sGAAsG;AACtG,eAAO,MAAM,iBAAiB,EAAE,eAAe,EAAiE,CAAC;AAEjH,oGAAoG;AACpG,eAAO,MAAM,YAAY,EAAE,WAAW,EAiCrC,CAAC;AA4BF,yKAAyK;AACzK,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,gBAAgB,EAAE,CAEpE;AAsCD,mWAAmW;AACnW,wBAAgB,YAAY,CAAC,MAAM,EAAE,cAAc,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,WAAW,CAiCvF;AAcD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