wechen-agent-editor-v1 1.2.0 → 1.2.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/README.md +20 -4
- package/dist/WechenAgentEditor.d.ts.map +1 -1
- package/dist/backendWorkflowJson.d.ts +7 -1
- package/dist/backendWorkflowJson.d.ts.map +1 -1
- package/dist/flow/autoLayoutBalance.d.ts +19 -0
- package/dist/flow/autoLayoutBalance.d.ts.map +1 -0
- package/dist/flow/autoLayoutNodes.d.ts +43 -0
- package/dist/flow/autoLayoutNodes.d.ts.map +1 -0
- package/dist/flow/branchSubtreeLayout.d.ts +24 -0
- package/dist/flow/branchSubtreeLayout.d.ts.map +1 -0
- package/dist/flow/complexAgentDemoFlow.d.ts +5 -0
- package/dist/flow/complexAgentDemoFlow.d.ts.map +1 -0
- package/dist/flow/edgeLayoutSnapshot.d.ts +28 -12
- package/dist/flow/edgeLayoutSnapshot.d.ts.map +1 -1
- package/dist/flow/edgeOrthogonalPath.d.ts +55 -0
- package/dist/flow/edgeOrthogonalPath.d.ts.map +1 -0
- package/dist/flow/edgePathLayout.d.ts +6 -0
- package/dist/flow/edgePathLayout.d.ts.map +1 -1
- package/dist/flow/edgeRouteGeometry.d.ts +26 -0
- package/dist/flow/edgeRouteGeometry.d.ts.map +1 -0
- package/dist/flow/integratedAutoLayout.d.ts +17 -0
- package/dist/flow/integratedAutoLayout.d.ts.map +1 -0
- package/dist/flow/layoutRoutingCost.d.ts +17 -0
- package/dist/flow/layoutRoutingCost.d.ts.map +1 -0
- package/dist/flow/nodeChangeSyncAttachSides.d.ts +2 -2
- package/dist/flow/nodeChangeSyncAttachSides.d.ts.map +1 -1
- package/dist/flow/nodes/ZoneHandles.d.ts +4 -4
- package/dist/flow/nodes/ZoneHandles.d.ts.map +1 -1
- package/dist/flow/syncEdgeLayout.d.ts +7 -1
- package/dist/flow/syncEdgeLayout.d.ts.map +1 -1
- package/dist/flow/wechenAgentEdgeTypes.d.ts +18 -7
- package/dist/flow/wechenAgentEdgeTypes.d.ts.map +1 -1
- package/dist/flow/zoneConnectionAttach.d.ts +10 -7
- package/dist/flow/zoneConnectionAttach.d.ts.map +1 -1
- package/dist/flow/zoneHandleLayout.d.ts +9 -22
- package/dist/flow/zoneHandleLayout.d.ts.map +1 -1
- package/dist/flow/zoneStripHandleLayout.d.ts +16 -0
- package/dist/flow/zoneStripHandleLayout.d.ts.map +1 -0
- package/dist/flowTypes.d.ts +25 -2
- package/dist/flowTypes.d.ts.map +1 -1
- package/dist/index.d.ts +16 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14032 -7932
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -2
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}.wechen-agent-editor{flex:1;min-height:0;height:100%;width:100%;display:flex;flex-direction:column;background:#fff;--wechen-selection-color: #52c41a;--wechen-selection-shadow: 0 0 0 1px rgba(82, 196, 26, .25);--wechen-selection-border-width: 2px;--wechen-node-border-color: #d9d9d9;--wechen-node-border-width: 1px;--wechen-node-shadow-main-agent: 0 2px 8px rgba(0, 0, 0, .06);--wechen-node-shadow-card: 0 1px 2px rgba(0, 0, 0, .04);--wechen-edge-stroke: #b1b1b7;--wechen-edge-stroke-width: 1;--wechen-edge-stroke-selected-width: 2;--wechen-zone-strip-border-color: rgba(22, 119, 255, .55);--wechen-zone-strip-background: rgba(22, 119, 255, .06);--wechen-zone-strip-border-width: 2px}.wechen-agent-editor .wechen-agent-editor__workspace{flex:1;min-height:0;display:flex;flex-direction:column;background:#fff}.wechen-agent-editor .wechen-agent-editor__header{flex-shrink:0}.wechen-agent-editor .wechen-agent-editor__unsaved-guard-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;cursor:not-allowed;background:#ffffff8c}.wechen-agent-editor .wechen-agent-editor__body{flex:1;min-height:0;display:flex;flex-direction:row}.wechen-agent-editor .wechen-agent-editor__library-sider{flex-shrink:0;height:100%;overflow:hidden;display:flex;flex-direction:column}.wechen-agent-editor .wechen-agent-editor__library-sider .wechen-agent-editor__library-panel{flex:1;min-height:0}.wechen-agent-editor .wechen-agent-editor__main{position:relative;flex:1;min-height:0;min-width:0;display:flex;flex-direction:column}.wechen-agent-editor .wechen-agent-editor__canvas,.wechen-agent-editor .wechen-agent-canvas{flex:1;min-height:0;height:100%;width:100%}.wechen-agent-editor .wechen-agent-editor__canvas .react-flow,.wechen-agent-editor .wechen-agent-canvas .react-flow{height:100%;width:100%}.wechen-agent-editor .wechen-agent-editor__config-sider{flex-shrink:0;height:100%;overflow:auto;display:flex;flex-direction:column}.wechen-agent-editor .wechen-agent-editor__config-sider .wechen-agent-editor__config-panel,.wechen-agent-editor--reading .wechen-agent-editor__workspace{flex:1;min-height:0}.wechen-agent-editor--reading .wechen-agent-editor__main{flex:1}.wechen-agent-editor .react-flow__node.selected{outline:none}.wechen-agent-editor .wechen-agent-node-shell{position:relative;box-sizing:border-box;border:var(--wechen-node-border-width) solid var(--wechen-node-border-color)}.wechen-agent-editor .wechen-agent-node-shell--selected{border-width:var(--wechen-selection-border-width);border-color:var(--wechen-selection-color);box-shadow:var(--wechen-selection-shadow)}.wechen-agent-editor .wechen-agent-node-shell--mainAgent{width:280px;border-radius:10px;background:#fff;box-shadow:var(--wechen-node-shadow-main-agent)}.wechen-agent-editor .wechen-agent-node-shell--mainAgent.wechen-agent-node-shell--selected{box-shadow:var(--wechen-selection-shadow)}.wechen-agent-editor .wechen-agent-node-shell--mainAgent.wechen-agent-node-shell--legacy-handles,.wechen-agent-editor .wechen-agent-node-shell--mainAgent .wechen-agent-node-shell__body{padding:12px}.wechen-agent-editor .wechen-agent-node-shell--card{min-width:120px;border-radius:8px;background:#fff;box-shadow:var(--wechen-node-shadow-card);font-size:13px}.wechen-agent-editor .wechen-agent-node-shell--card.wechen-agent-node-shell--selected{box-shadow:var(--wechen-selection-shadow)}.wechen-agent-editor .wechen-agent-node-shell--card.wechen-agent-node-shell--legacy-handles{padding:12px 16px}.wechen-agent-editor .wechen-agent-node-shell--card .wechen-agent-node-shell__body{padding:12px}.wechen-agent-editor .wechen-agent-node-shell--pill{padding:8px 14px;border-radius:999px;background:#f5f5f5;font-size:12px;white-space:nowrap}.wechen-agent-editor .wechen-agent-zone-strip{background:transparent;border-radius:0}.wechen-agent-editor .wechen-agent-zone-strip--top{border-top:var(--wechen-zone-strip-border-width) solid transparent}.wechen-agent-editor .wechen-agent-zone-strip--top.wechen-agent-zone-strip--active{border-top-color:var(--wechen-zone-strip-border-color);background:var(--wechen-zone-strip-background)}.wechen-agent-editor .wechen-agent-zone-strip--bottom{border-bottom:var(--wechen-zone-strip-border-width) solid transparent}.wechen-agent-editor .wechen-agent-zone-strip--bottom.wechen-agent-zone-strip--active{border-bottom-color:var(--wechen-zone-strip-border-color);background:var(--wechen-zone-strip-background)}.wechen-agent-editor .wechen-agent-zone-strip--left{border-left:var(--wechen-zone-strip-border-width) solid transparent}.wechen-agent-editor .wechen-agent-zone-strip--left.wechen-agent-zone-strip--active{border-left-color:var(--wechen-zone-strip-border-color);background:var(--wechen-zone-strip-background)}.wechen-agent-editor .wechen-agent-zone-strip--right{border-right:var(--wechen-zone-strip-border-width) solid transparent}.wechen-agent-editor .wechen-agent-zone-strip--right.wechen-agent-zone-strip--active{border-right-color:var(--wechen-zone-strip-border-color);background:var(--wechen-zone-strip-background)}.wechen-agent-editor .wechen-agent-edge .react-flow__edge-path{stroke:var(--wechen-edge-stroke);stroke-width:var(--wechen-edge-stroke-width)}.wechen-agent-editor .wechen-agent-edge--selected .react-flow__edge-path{stroke:var(--wechen-selection-color);stroke-width:var(--wechen-edge-stroke-selected-width)}
|
|
1
|
+
.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}.wechen-agent-editor{flex:1;min-height:0;height:100%;width:100%;display:flex;flex-direction:column;background:#fff;--wechen-selection-color: #52c41a;--wechen-selection-shadow: 0 0 0 1px rgba(82, 196, 26, .25);--wechen-selection-border-width: 2px;--wechen-node-border-color: #d9d9d9;--wechen-node-border-width: 1px;--wechen-node-shadow-main-agent: 0 2px 8px rgba(0, 0, 0, .06);--wechen-node-shadow-card: 0 1px 2px rgba(0, 0, 0, .04);--wechen-edge-stroke: #b1b1b7;--wechen-edge-stroke-width: 1;--wechen-edge-stroke-selected-width: 2;--wechen-zone-strip-border-color: rgba(22, 119, 255, .55);--wechen-zone-strip-background: rgba(22, 119, 255, .06);--wechen-zone-strip-border-width: 2px}.wechen-agent-editor .wechen-agent-editor__workspace{flex:1;min-height:0;display:flex;flex-direction:column;background:#fff}.wechen-agent-editor .wechen-agent-editor__header{flex-shrink:0}.wechen-agent-editor .wechen-agent-editor__unsaved-guard-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;cursor:not-allowed;background:#ffffff8c}.wechen-agent-editor .wechen-agent-editor__body{flex:1;min-height:0;display:flex;flex-direction:row}.wechen-agent-editor .wechen-agent-editor__library-sider{flex-shrink:0;height:100%;overflow:hidden;display:flex;flex-direction:column}.wechen-agent-editor .wechen-agent-editor__library-sider .wechen-agent-editor__library-panel{flex:1;min-height:0}.wechen-agent-editor .wechen-agent-editor__main{position:relative;flex:1;min-height:0;min-width:0;display:flex;flex-direction:column}.wechen-agent-editor .wechen-agent-editor__canvas,.wechen-agent-editor .wechen-agent-canvas{flex:1;min-height:0;height:100%;width:100%}.wechen-agent-editor .wechen-agent-editor__canvas .react-flow,.wechen-agent-editor .wechen-agent-canvas .react-flow{height:100%;width:100%}.wechen-agent-editor .wechen-agent-editor__config-sider{flex-shrink:0;height:100%;overflow:auto;display:flex;flex-direction:column}.wechen-agent-editor .wechen-agent-editor__config-sider .wechen-agent-editor__config-panel,.wechen-agent-editor--reading .wechen-agent-editor__workspace{flex:1;min-height:0}.wechen-agent-editor--reading .wechen-agent-editor__main{flex:1}.wechen-agent-editor .react-flow__node.selected{outline:none}.wechen-agent-editor .wechen-agent-node-shell{position:relative;box-sizing:border-box;border:var(--wechen-node-border-width) solid var(--wechen-node-border-color)}.wechen-agent-editor .wechen-agent-node-shell--selected{border-width:var(--wechen-selection-border-width);border-color:var(--wechen-selection-color);box-shadow:var(--wechen-selection-shadow)}.wechen-agent-editor .wechen-agent-node-shell--mainAgent{width:280px;border-radius:10px;background:#fff;box-shadow:var(--wechen-node-shadow-main-agent)}.wechen-agent-editor .wechen-agent-node-shell--mainAgent.wechen-agent-node-shell--selected{box-shadow:var(--wechen-selection-shadow)}.wechen-agent-editor .wechen-agent-node-shell--mainAgent.wechen-agent-node-shell--legacy-handles,.wechen-agent-editor .wechen-agent-node-shell--mainAgent .wechen-agent-node-shell__body{padding:12px}.wechen-agent-editor .wechen-agent-node-shell--card{min-width:120px;border-radius:8px;background:#fff;box-shadow:var(--wechen-node-shadow-card);font-size:13px}.wechen-agent-editor .wechen-agent-node-shell--card.wechen-agent-node-shell--selected{box-shadow:var(--wechen-selection-shadow)}.wechen-agent-editor .wechen-agent-node-shell--card.wechen-agent-node-shell--legacy-handles{padding:12px 16px}.wechen-agent-editor .wechen-agent-node-shell--card .wechen-agent-node-shell__body{padding:12px}.wechen-agent-editor .wechen-agent-node-shell--pill{padding:8px 14px;border-radius:999px;background:#f5f5f5;font-size:12px;white-space:nowrap}.wechen-agent-editor .wechen-agent-zone-strip{background:transparent;border-radius:0}.wechen-agent-editor .wechen-agent-zone-strip--connectable{cursor:crosshair}.wechen-agent-editor--reading .wechen-agent-zone-strip--connectable{cursor:default}.wechen-agent-editor .wechen-agent-zone-strip--top{border-top:var(--wechen-zone-strip-border-width) solid transparent}.wechen-agent-editor .wechen-agent-zone-strip--top.wechen-agent-zone-strip--active{border-top-color:var(--wechen-zone-strip-border-color);background:var(--wechen-zone-strip-background)}.wechen-agent-editor .wechen-agent-zone-strip--bottom{border-bottom:var(--wechen-zone-strip-border-width) solid transparent}.wechen-agent-editor .wechen-agent-zone-strip--bottom.wechen-agent-zone-strip--active{border-bottom-color:var(--wechen-zone-strip-border-color);background:var(--wechen-zone-strip-background)}.wechen-agent-editor .wechen-agent-zone-strip--left{border-left:var(--wechen-zone-strip-border-width) solid transparent}.wechen-agent-editor .wechen-agent-zone-strip--left.wechen-agent-zone-strip--active{border-left-color:var(--wechen-zone-strip-border-color);background:var(--wechen-zone-strip-background)}.wechen-agent-editor .wechen-agent-zone-strip--right{border-right:var(--wechen-zone-strip-border-width) solid transparent}.wechen-agent-editor .wechen-agent-zone-strip--right.wechen-agent-zone-strip--active{border-right-color:var(--wechen-zone-strip-border-color);background:var(--wechen-zone-strip-background)}.wechen-agent-editor .react-flow__edge-labels{z-index:1000;pointer-events:none}.wechen-agent-editor .wechen-agent-edge .react-flow__edge-path{stroke:var(--wechen-edge-stroke);stroke-width:var(--wechen-edge-stroke-width)}.wechen-agent-editor .wechen-agent-edge--selected .react-flow__edge-path{stroke:var(--wechen-selection-color);stroke-width:var(--wechen-edge-stroke-selected-width)}.wechen-agent-editor .wechen-agent-edge-path-control{width:12px;height:12px;border-radius:50%;border:2px solid var(--wechen-selection-color);background:var(--wechen-canvas-background, #fff);cursor:grab;box-sizing:border-box;z-index:1002;touch-action:none}.wechen-agent-editor .wechen-agent-edge-path-control:hover{background:var(--wechen-selection-color)}.wechen-agent-editor .wechen-agent-edge-path-control:active{cursor:grabbing}.wechen-agent-editor .wechen-agent-edge-path-segment{cursor:row-resize;z-index:1001;touch-action:none;border-radius:4px;background:transparent}.wechen-agent-editor .wechen-agent-edge-path-segment:hover{background:color-mix(in srgb,var(--wechen-selection-color) 18%,transparent)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wechen-agent-editor-v1",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "Wechen Agent:可执行的 AI 流程编排编辑器(React Flow),节点即模块、边即执行顺序;Monaco + Ant Design,面向 npm",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -74,13 +74,15 @@
|
|
|
74
74
|
"react-dom": ">=18.0.0"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@xyflow/react": "^12.3.6"
|
|
77
|
+
"@xyflow/react": "^12.3.6",
|
|
78
|
+
"dagre": "^0.8.5"
|
|
78
79
|
},
|
|
79
80
|
"bundledDependencies": [
|
|
80
81
|
"@xyflow/react"
|
|
81
82
|
],
|
|
82
83
|
"devDependencies": {
|
|
83
84
|
"@monaco-editor/react": "^4.6.0",
|
|
85
|
+
"@types/dagre": "^0.7.52",
|
|
84
86
|
"@types/node": "^20.14.0",
|
|
85
87
|
"@types/react": "^18.3.12",
|
|
86
88
|
"@types/react-dom": "^18.3.1",
|