clementine-agent 1.3.1 → 1.3.2
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/cli/dashboard.js +4 -1
- package/package.json +1 -1
package/dist/cli/dashboard.js
CHANGED
|
@@ -18347,13 +18347,16 @@ function _renderBuilderCanvas(drawflowData) {
|
|
|
18347
18347
|
editor.reroute = true;
|
|
18348
18348
|
editor.editor_mode = 'edit';
|
|
18349
18349
|
editor.start();
|
|
18350
|
+
// Assign global BEFORE decoration runs — decoration reads node data via
|
|
18351
|
+
// editor.export() to recover stepIds (Drawflow doesn't preserve our
|
|
18352
|
+
// df-* attrs without a template).
|
|
18353
|
+
_builderCanvasEditor = editor;
|
|
18350
18354
|
try {
|
|
18351
18355
|
editor.import(drawflowData || { drawflow: { Home: { data: {} } } });
|
|
18352
18356
|
_decorateBuilderNodes(host, _builderCanvasLastWorkflow);
|
|
18353
18357
|
} catch (err) {
|
|
18354
18358
|
host.innerHTML = '<div style="padding:24px;color:var(--red)">Failed to render canvas: ' + esc(String(err)) + '</div>';
|
|
18355
18359
|
}
|
|
18356
|
-
_builderCanvasEditor = editor;
|
|
18357
18360
|
_bindBuilderCanvasEvents(editor);
|
|
18358
18361
|
}
|
|
18359
18362
|
|