angine 0.1.0 → 0.2.0
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/CHANGELOG.md +16 -0
- package/README.md +65 -23
- package/dist/bin/angine.js +25 -4
- package/dist/bin/angine.js.map +1 -1
- package/dist/src/backup.d.ts +4 -0
- package/dist/src/backup.js +33 -0
- package/dist/src/backup.js.map +1 -0
- package/dist/src/colors.d.ts +4 -0
- package/dist/src/colors.js +9 -0
- package/dist/src/colors.js.map +1 -0
- package/dist/src/daemon.js +32 -9
- package/dist/src/daemon.js.map +1 -1
- package/dist/src/dashboard.js +3 -1
- package/dist/src/dashboard.js.map +1 -1
- package/dist/src/graph.d.ts +47 -0
- package/dist/src/graph.js +100 -0
- package/dist/src/graph.js.map +1 -0
- package/dist/src/hierarchy.js +2 -2
- package/dist/src/hierarchy.js.map +1 -1
- package/dist/src/mcp.js +13 -0
- package/dist/src/mcp.js.map +1 -1
- package/dist/src/model.js +18 -1
- package/dist/src/model.js.map +1 -1
- package/dist/src/paths.d.ts +1 -0
- package/dist/src/paths.js +1 -0
- package/dist/src/paths.js.map +1 -1
- package/dist/src/reporting.d.ts +1 -1
- package/dist/src/reporting.js +1 -1
- package/dist/src/repositories.d.ts +4 -0
- package/dist/src/repositories.js +60 -0
- package/dist/src/repositories.js.map +1 -0
- package/dist/src/setup.d.ts +1 -1
- package/dist/src/setup.js +117 -16
- package/dist/src/setup.js.map +1 -1
- package/dist/src/store.d.ts +8 -2
- package/dist/src/store.js +103 -8
- package/dist/src/store.js.map +1 -1
- package/dist/src/types.d.ts +53 -2
- package/dist/src/workflow.js +1 -1
- package/dist/src/workflow.js.map +1 -1
- package/docs/protocol.md +36 -2
- package/docs/releases/v0.1.1.md +21 -0
- package/docs/releases/v0.2.0.md +20 -0
- package/docs/releasing.md +5 -5
- package/docs/todo.md +42 -0
- package/package.json +4 -3
- package/ui/dist/assets/index-1Bigipo-.js +7 -0
- package/ui/dist/assets/index-Dp9zV-L8.css +1 -0
- package/ui/dist/index.html +2 -2
- package/ui/dist/assets/index-CKFeQsCF.js +0 -1
- package/ui/dist/assets/index-ClFH-l-k.css +0 -1
|
@@ -0,0 +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: #555;--xy-background-pattern-lines-color-default: #333;--xy-background-pattern-cross-color-default: #333;--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;touch-action:none}.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))}.graph-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.graph-heading h1{font-size:25px;letter-spacing:-.7px;margin:0}.graph-heading p{font-size:12px;color:#7c8799;margin:5px 0 0}.graph-actions{display:flex;gap:8px}.graph-toolbar{padding:14px 0;border-top:1px solid #e3e7ef;border-bottom:1px solid #e3e7ef;margin-bottom:12px;flex-wrap:wrap}.graph-meta{display:flex;justify-content:space-between;gap:12px;color:#7a879a;font-size:11px;line-height:1.6;margin:12px 0}.graph-canvas{height:calc(100dvh - 310px);min-height:400px;border:1px solid #dfe5ef;border-radius:12px;overflow:hidden;background:#fbfcfe}.graph-card{width:220px;height:116px;background:#fff;border:1px solid #dfe5ef;border-radius:10px;box-shadow:0 3px 12px #26394c0a;padding:10px 12px}.graph-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.graph-card-top>span:first-child{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#8591a3}.graph-card a{font-size:12px;font-weight:600;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.graph-card a:hover{color:#315cce}.graph-card a>span{color:#9ba6b6}.graph-card p{font-size:10px;color:#8591a3;margin:5px 0 0}.graph-card .react-flow__handle{width:6px;height:6px;background:#a6b2c4;border:1px solid white}.react-flow__node-work.selected .graph-card{outline:2px solid #7c9ee6;outline-offset:3px}.graph-view .react-flow__controls-button{color:#526176}.graph-view .react-flow__minimap{border:1px solid #e1e6ef;border-radius:6px;overflow:hidden}.graph-view .react-flow__attribution{font-size:9px}.graph-view .react-flow__attribution a{color:#7d899b}@media(max-width:720px){.graph-heading{align-items:flex-start;flex-direction:column}.graph-meta{flex-direction:column;gap:4px}.graph-canvas{height:65dvh;min-height:350px}.graph-view .react-flow__minimap{display:none}.topbar nav{overflow-x:auto;white-space:nowrap;min-width:0;flex:1}.topbar{gap:18px}.graph-toolbar .filter-label select{min-width:0}}.graph-expand{border:0;background:transparent;padding:5px 0 0;color:#52709d;font-size:10px;cursor:pointer}.graph-actions{flex-wrap:wrap}.graph-card .badge{font-size:9px;padding:3px 6px}.graph-card p,.graph-expand{font-size:9px}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#20252d;background:#f7f8fa;font-synthesis:none;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}a{color:inherit;text-decoration:none}button,a,input,select{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8aacf8;outline-offset:3px}button,select{cursor:pointer}.topbar{height:68px;background:#fff;border-bottom:1px solid #e5e7ec;display:flex;align-items:center;gap:48px;padding:0 max(28px,calc((100vw - 1260px)/2));position:sticky;top:0;z-index:10}.brand{font-weight:750;font-size:19px;letter-spacing:-.6px;display:flex;align-items:center;gap:10px}.brand-mark{width:19px;height:23px;background:#315cce;border-radius:4px 4px 8px;position:relative}.brand-mark:after{content:"";position:absolute;width:7px;height:7px;background:#fff;border-radius:2px;top:5px;left:6px}.topbar nav{display:flex;align-self:stretch;gap:28px}.topbar nav a{display:flex;align-items:center;color:#737b87;font-weight:550;border-bottom:2px solid transparent;padding-top:2px}.topbar nav a.active{color:#243e82;border-color:#315cce}.connection{display:flex;align-items:center;gap:7px;margin-left:auto;font-size:12px;color:#737b87;white-space:nowrap}.live-dot,.offline-dot{width:6px;height:6px;border-radius:50%;background:#25815b}.offline-dot{background:#9ca3af}main{max-width:1316px;padding:42px 28px 0;margin:0 auto;min-height:calc(100vh - 68px)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-bottom:32px}.overline{font-size:10px;font-weight:700;letter-spacing:1.3px;color:#88919f}.overline span{margin-left:8px;letter-spacing:0;font-weight:400}.page-heading h1{font-size:32px;font-weight:650;letter-spacing:-1.1px;margin:8px 0 10px;line-height:1.25;overflow-wrap:anywhere}.page-heading p{font-size:14px;color:#7a8390;margin:0;line-height:1.6}.stats{display:flex;gap:36px}.stats div{display:flex;flex-direction:column;gap:5px}.stats strong{font-size:26px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.8px}.stats span{font-size:12px;color:#7e8794}.toolbar{display:flex;align-items:center;gap:12px;border-top:1px solid #e4e7ed;border-bottom:1px solid #e4e7ed;padding:16px 0;margin-bottom:24px;flex-wrap:wrap}.search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e0e4eb;border-radius:7px;padding:0 12px;flex:1;max-width:380px;min-width:180px;height:36px;color:#87909c}.search span{font-size:22px}.search input{border:0;background:transparent;width:100%;outline:none;font-size:12px;color:#273041}.search input::placeholder{color:#8b929e}.filter-label{display:flex;align-items:center;border:1px solid #e0e4eb;background:#fff;border-radius:7px;height:36px;padding-left:11px;gap:5px}.filter-label>span{font-size:11px;color:#8a929f}.filter-label select{border:0;background:transparent;color:#3c4554;padding:7px 22px 7px 3px;max-width:180px;font-size:12px}.clear-filters{background:none;border:0;color:#315cce;font-size:12px;padding:8px}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:18px}.project-card{background:#fff;border:1px solid #e1e5ec;border-radius:10px;padding:22px;display:flex;flex-direction:column;min-width:0;transition:border-color .15s,box-shadow .15s}.project-card:hover{border-color:#aebfdc;box-shadow:0 3px 12px #29385908}.project-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.workspace-label{font-size:11px;color:#9299a5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-card h2{font-size:18px;line-height:1.4;font-weight:600;letter-spacing:-.3px;margin:21px 0 8px;overflow-wrap:anywhere}.project-card>p{font-size:12px;line-height:1.65;color:#89919e;margin:0 0 26px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px;overflow-wrap:anywhere}.project-card .progress{margin-top:auto}.project-card-footer{display:flex;justify-content:space-between;gap:14px;margin-top:20px;padding-top:15px;border-top:1px solid #f0f1f5;color:#8c94a1;font-size:11px;overflow-wrap:anywhere}.project-card-footer>span:last-child{white-space:nowrap}.row-arrow{color:#929aa8;font-size:15px}.badge{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;border-radius:5px;font-size:10px;font-weight:550;padding:5px 7px;background:#f0f2f5;color:#747d8c}.status-dot{width:4px;height:4px;border-radius:50%;background:currentColor}.badge.running,.badge.in_progress{background:#edf2ff;color:#4265ad}.badge.blocked{background:#fff4df;color:#ab7825}.badge.completed{background:#eaf6ef;color:#428162}.badge.failed{background:#fceeee;color:#b36262}.progress{min-width:0}.progress-label{display:flex;justify-content:space-between;gap:12px;color:#9aa2ae;font-size:10px;margin-bottom:8px}.progress-label strong{color:#626d7e;font-size:11px;font-weight:550;font-variant-numeric:tabular-nums;white-space:nowrap}.track{height:4px;border-radius:4px;background:#edf0f5;overflow:hidden}.track>span{display:block;background:#5277ce;height:100%;border-radius:4px}.track.unknown{background:repeating-linear-gradient(110deg,#edf0f5,#edf0f5 5px,#e4e8f0 5px 8px)}.panel{background:#fff;border:1px solid #e1e5ec;border-radius:10px;padding:24px;min-width:0}.panel h2{font-size:14px;font-weight:600;letter-spacing:-.1px;margin:0 0 20px}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.panel-heading h2{margin:0}.panel-heading>span{font-size:12px;color:#9098a5}.task-table{padding:0;overflow:hidden}.panel>.task-table{margin:0 -24px -24px}.task-row{display:grid;grid-template-columns:minmax(0,1fr) 112px 120px 70px 14px;align-items:center;gap:20px;padding:18px 22px;min-width:0;background:#fff}.task-row+.task-row{border-top:1px solid #eef0f4}.task-row:hover{background:#fafbfe}.task-row-main{display:flex;align-items:center;gap:13px;min-width:0}.task-row-main>div{min-width:0}.task-row-main strong{display:block;font-size:13px;line-height:1.5;font-weight:550;overflow-wrap:anywhere}.task-row-main div>span{display:block;font-size:11px;color:#949ca9;margin-top:4px;overflow-wrap:anywhere}.task-status{display:inline-block;flex-shrink:0;width:11px;height:11px;border:1.5px solid #bbc2cc;border-radius:50%}.task-status.in_progress{border-color:#5277ce;border-right-color:#d9e2f6}.task-status.completed{background:#68a183;border-color:#68a183}.task-status.blocked{border-color:#bf9647;background:#fff4df}.task-status.failed{border-color:#bd7171;background:#fceeee}.task-status.cancelled{background:#c7ccd5}.row-time{font-size:11px;color:#9aa2af;white-space:nowrap}.task-row .badge{justify-self:start}.board{display:flex;gap:18px;overflow-x:auto;padding-bottom:20px;min-height:400px}.board-column{flex:0 0 270px;min-width:0}.column-heading{display:flex;align-items:center;gap:8px;margin-bottom:16px;height:26px}.column-heading h2{font-size:12px;font-weight:550;margin:0}.column-heading>span:last-child{font-size:10px;color:#949daa;background:#e9edf3;padding:2px 5px;border-radius:4px}.board-stack{display:flex;flex-direction:column;gap:12px}.board-card{display:flex;flex-direction:column;min-width:0;max-width:100%;padding:17px;background:#fff;border:1px solid #e1e5ec;border-radius:9px;transition:border-color .15s}.board-card:hover{border-color:#aebfdc}.board-project{font-size:10px;color:#949caa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:11px}.board-card>strong{font-size:13px;font-weight:550;line-height:1.55;overflow-wrap:anywhere}.board-card>p{font-size:11px;line-height:1.65;color:#8b94a2;margin:9px 0 0;overflow-wrap:anywhere}.board-card .progress{margin-top:20px}.board-footer{display:flex;justify-content:space-between;gap:12px;color:#929ca9;font-size:10px;margin-top:15px;overflow-wrap:anywhere}.column-empty{font-size:11px;color:#a4acb8;padding:25px;text-align:center;border:1px dashed #dce1e9;border-radius:8px}.breadcrumbs{display:flex;align-items:center;gap:10px;font-size:12px;color:#949caa;margin-bottom:27px;flex-wrap:wrap;overflow-wrap:anywhere}.breadcrumbs a:hover{color:#315cce}.breadcrumbs>span:last-child{color:#596577}.detail-heading{align-items:flex-end;border-bottom:1px solid #e4e7ed;padding-bottom:30px;margin-bottom:26px}.detail-heading>div:first-child{max-width:850px;min-width:0}.detail-heading h1{font-size:29px}.heading-meta{display:flex;align-items:center;gap:15px;color:#969ead;font-size:11px}.heading-progress{width:180px;flex-shrink:0;padding-bottom:5px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px}.detail-main,.detail-info{display:flex;flex-direction:column;gap:22px;min-width:0}.description{font-size:13px;color:#758093;line-height:1.8;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.latest-update{padding:17px 18px;border-left:2px solid #849bd0;background:#f7f9fd;margin-top:24px;border-radius:0 6px 6px 0}.latest-update p{font-size:13px;color:#56667f;line-height:1.7;margin:9px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}dl{margin:0}dt{font-size:10px;color:#98a1af;margin-top:17px}dt:first-child{margin-top:0}dd{margin:5px 0 0;font-size:11px;color:#67758a;line-height:1.6;overflow-wrap:anywhere}dd a{color:#315cce}.reporter+.reporter{border-top:1px solid #edf0f5;margin-top:22px;padding-top:22px}.reporter-title{display:flex;gap:10px;align-items:center;margin-bottom:20px}.avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;background:#eff2f8;color:#607598;font-size:12px;font-weight:600}.reporter-title strong{display:block;font-size:12px;font-weight:550}.reporter-title div>span{display:block;font-size:10px;color:#98a1af;margin-top:4px;overflow-wrap:anywhere}.activity>div{display:flex;gap:14px;position:relative;padding:0 0 24px}.activity>div:last-child{padding-bottom:0}.activity-dot{width:6px;height:6px;margin-top:5px;background:#a4b1c8;border-radius:50%;flex-shrink:0}.activity>div:not(:last-child):before{content:"";position:absolute;left:2.5px;top:14px;bottom:5px;width:1px;background:#e9edf3}.activity strong{font-size:12px;font-weight:500;color:#5e6d82}.activity div>span:not(.activity-dot){display:block;font-size:10px;color:#9da6b4;margin-top:6px}.activity p{font-size:12px;color:#7c899b;line-height:1.6;margin:7px 0;overflow-wrap:anywhere}.muted{font-size:12px;color:#96a0af;line-height:1.7}.empty{padding:65px 30px;text-align:center;color:#9ca5b3;grid-column:1/-1}.empty h2{font-size:18px;color:#667287;font-weight:500}.empty p{font-size:12px;line-height:1.7}.empty a{color:#315cce;font-size:12px}.footer{display:flex;justify-content:space-between;font-size:10px;color:#a5adba;padding:32px 0 22px;margin-top:28px;border-top:1px solid #e6e9ef}@media(max-width:1000px){.detail-grid{grid-template-columns:minmax(0,1fr) 270px}.task-row{grid-template-columns:minmax(0,1fr) 100px 90px;gap:14px}.row-time,.task-row>.row-arrow{display:none}.stats{gap:22px}.detail-info .panel{padding:20px}}@media(max-width:720px){.topbar{height:60px;padding:0 18px;gap:24px}.topbar nav{gap:17px;font-size:12px}.brand{font-size:17px}.connection{font-size:0}.connection span{width:6px;height:6px}main{padding:28px 18px 0}.page-heading{align-items:flex-start;flex-direction:column;gap:22px}.page-heading h1{font-size:27px}.page-heading p{font-size:12px}.stats{width:100%;justify-content:space-between}.stats strong{font-size:23px}.stats span{font-size:11px}.search{max-width:none;flex-basis:100%}.filter-label{flex:1}.filter-label select{width:100%}.detail-grid{display:flex;flex-direction:column}.heading-progress{width:100%}.panel{padding:20px}.panel>.task-table{margin:0 -20px -20px}.task-row{grid-template-columns:minmax(0,1fr) 100px;gap:12px;padding:16px 18px}.task-row .progress{grid-column:1/-1;margin-left:24px}.task-row .progress-label>span{display:none}.task-row .progress-label{justify-content:flex-end;margin-bottom:5px}.board-column{flex-basis:260px}.project-card{padding:20px}.detail-heading h1{font-size:25px}.breadcrumbs{font-size:11px}.detail-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}}.project-list{padding:0;overflow:hidden}.project-list-head,.project-row{display:grid;grid-template-columns:minmax(0,1fr) 100px 150px 110px 75px 14px;align-items:center;gap:24px}.project-list-head{padding:13px 22px;border-bottom:1px solid #e8ebf1;color:#929baa;font-size:10px;background:#fafbfc}.project-row{padding:21px 22px;min-width:0}.project-row+.project-row{border-top:1px solid #edf0f5}.project-row:hover{background:#fafbfe}.project-row-main{min-width:0}.project-row-main strong{display:block;font-size:14px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}.project-row-main>span{display:block;font-size:10px;color:#9aa3b1;margin-top:4px;overflow-wrap:anywhere}.project-row-main>p{font-size:11px;color:#8995a5;line-height:1.5;margin:7px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-row .badge{justify-self:start}.project-row-agents{font-size:11px;color:#7d8b9e;overflow-wrap:anywhere}@media(max-width:1000px){.project-list-head,.project-row{grid-template-columns:minmax(0,1fr) 100px 125px 90px;gap:16px}.project-list-head>span:nth-last-child(-n+2),.project-row>.row-time,.project-row>.row-arrow{display:none}}@media(max-width:720px){.project-list-head{display:none}.project-row{grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:18px}.project-row>.progress{grid-column:1;grid-row:2}.project-row-agents{grid-column:2;grid-row:2;text-align:right}.project-row-main>p{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.project-row .badge{justify-self:end}}.project-group{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 22px;background:#f5f7fb;border-bottom:1px solid #e6eaf1;border-top:1px solid #e6eaf1}.project-list-head+.project-group{border-top:0}.project-group strong{font-size:11px;font-weight:600;color:#69768b}.project-group>span{font-size:10px;color:#98a2b1}@media(max-width:720px){.project-group{padding:12px 18px}}.project-sections{display:flex;flex-direction:column;gap:30px}.status-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px}.status-section-heading h2{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:600;margin:0;color:#46546a}.status-section-heading>span{font-size:10px;color:#98a2b1}.section-count{font-size:10px;font-weight:500;color:#748298;background:#e9edf4;border-radius:5px;padding:3px 6px;min-width:22px;text-align:center}.section-status-dot{width:7px;height:7px;border-radius:50%;background:#a0aabb}.section-status-dot.running{background:#5277ce}.section-status-dot.completed{background:#68a183}.section-status-dot.blocked{background:#bf9647}.section-status-dot.failed{background:#bd7171}.project-scroll{overflow-y:auto;scrollbar-gutter:stable}.project-scroll.has-overflow{overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#b6c1d3 #f5f7fb}.project-scroll::-webkit-scrollbar{width:7px}.project-scroll::-webkit-scrollbar-track{background:#f5f7fb}.project-scroll::-webkit-scrollbar-thumb{background:#b6c1d3;border-radius:5px}.status-section-empty{font-size:12px;color:#99a4b4;padding:23px 22px}.stats{flex-wrap:wrap}.project-scroll:focus-visible{outline:2px solid #8aacf8;outline-offset:-2px}@media(max-width:720px){.status-section-heading{align-items:flex-start}.status-section-heading>span{text-align:right;max-width:150px;line-height:1.5}.stats{gap:18px}.stats>div{min-width:45px}.project-sections{gap:25px}}.task-list-head{display:grid;grid-template-columns:minmax(0,1fr) 112px 120px 70px 14px;align-items:center;gap:20px;padding:13px 22px;border-bottom:1px solid #e8ebf1;color:#929baa;font-size:10px;background:#fafbfc}.project-picker select{max-width:240px}.project-scroll .task-row{border-radius:0}@media(max-width:1000px){.task-list-head{grid-template-columns:minmax(0,1fr) 100px 90px;gap:14px}.task-list-head>span:nth-last-child(-n+2){display:none}}@media(max-width:720px){.task-list-head{display:none}.project-picker{flex-basis:100%}.project-picker select{max-width:none}}.board{height:calc(100dvh - 340px);min-height:260px;align-items:stretch;overflow-y:hidden;padding-bottom:12px}.board-column{display:flex;flex-direction:column;min-height:0}.column-heading{flex-shrink:0}.board-stack{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;padding-right:5px;padding-bottom:8px;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#b6c1d3 #f5f7fb}.board-card,.column-empty{flex-shrink:0}.board-stack:focus-visible{outline:2px solid #8aacf8;outline-offset:-2px;border-radius:8px}.board-stack::-webkit-scrollbar{width:7px}.board-stack::-webkit-scrollbar-track{background:#f5f7fb}.board-stack::-webkit-scrollbar-thumb{background:#b6c1d3;border-radius:5px}.overview-page{padding-top:24px}.overview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:26px;padding-bottom:20px;border-bottom:1px solid #e4e7ed}.overview-toolbar>.stats{flex-shrink:0;gap:20px}.overview-toolbar .stats strong{font-size:21px}.overview-toolbar .stats span{font-size:10px}.overview-toolbar>.toolbar{border:0;margin:0;padding:0;justify-content:flex-end;flex:1;gap:8px}.overview-toolbar .search{flex:1 1 200px;max-width:300px;min-width:180px}.overview-toolbar .project-picker select{max-width:180px}@media(max-width:1050px){.overview-toolbar{align-items:flex-start;flex-direction:column;gap:20px}.overview-toolbar>.toolbar{width:100%;justify-content:flex-end}.overview-toolbar>.stats{width:100%;justify-content:flex-start}}@media(max-width:720px){.overview-toolbar{gap:20px}.overview-toolbar>.toolbar{justify-content:flex-start}.overview-toolbar .search{max-width:none;flex-basis:100%}.overview-toolbar .project-picker select{max-width:none}.overview-toolbar>.stats{justify-content:space-between;gap:12px}.overview-toolbar .stats strong{font-size:22px}}.stale-tag{display:inline-block!important;font-size:9px!important;line-height:1.4;font-weight:500;color:#b07c2c!important;background:#fff4dd;border:1px solid #f2dfb8;border-radius:4px;padding:2px 5px;margin-left:5px;vertical-align:middle}.primary-button,.secondary-button{border-radius:6px;padding:8px 13px;font-size:12px;font-weight:500;cursor:pointer}.primary-button{color:#fff;background:#315cce;border:1px solid #315cce}.secondary-button{color:#5a6c87;background:#fff;border:1px solid #dce3ee}.primary-button:disabled,.secondary-button:disabled{opacity:.6;cursor:wait}.text-button{border:0;background:none;color:#5675a9;font-size:11px;cursor:pointer;padding:4px}.error-banner{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:13px 16px;border:1px solid #f0d7d2;background:#fff3f1;border-radius:8px;margin-bottom:20px;font-size:12px;color:#a2665b}.view-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:27px}.view-heading h1{font-size:25px;font-weight:600;letter-spacing:-.7px;margin:0 0 8px}.view-heading p{font-size:12px;color:#8896a9;line-height:1.7;margin:0}main>.panel{margin-bottom:22px}.profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px}.profile-card .panel-heading a h2{margin:0}.profile-labels{display:flex;gap:7px;flex-wrap:wrap}.profile-labels span{background:#f0f3f8;border-radius:5px;color:#7d8da5;font-size:10px;padding:4px 7px}.profile-counts{display:flex;gap:12px;margin-top:24px;padding-top:17px;border-top:1px solid #edf0f6;font-size:11px;color:#6b80a3;flex-wrap:wrap}.profile-summary{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;color:#7587a1}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.profile-form label,.workflow-form label,.settings-panel label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#788ba6}.profile-form input:not([type=checkbox]),.workflow-form input,.workflow-form textarea,.workflow-form select,.settings-panel select{width:100%;border:1px solid #dfe5ef;border-radius:6px;background:#fff;color:#516886;font:inherit;padding:9px 10px}.profile-form input[readonly]{background:#f5f7fa;color:#99a4b7}.profile-form .check-label{display:flex;flex-direction:row;align-items:center;margin-top:18px}.profile-form .check-label input{width:auto}.workflow-form{display:flex;flex-direction:column;gap:15px}.workflow-form textarea{resize:vertical;min-height:68px;line-height:1.6}.workflow-form .primary-button{align-self:flex-start}.related-links,.linked-projects{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.related-links a,.linked-projects a{border:1px solid #e9edf4;border-radius:6px;padding:11px 13px;font-size:12px;color:#5e769c;overflow-wrap:anywhere}.related-links a span,.linked-projects a span{display:block;font-size:10px;color:#9ba7ba;margin-top:5px}.saved-message{color:#5d9276;font-size:11px}.sessions-view{display:flex;flex-direction:column;gap:14px}.session-card{padding:15px 17px;border:1px solid #e4eaf3;border-radius:8px;background:#fafbfe;min-width:0}.session-card>strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.session-card>span{display:block;font-size:10px;color:#93a1b6;margin-top:7px}.session-card dl{margin-top:16px}.session-project{display:block;margin-bottom:4px}.archive-list>div{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:14px 0;border-bottom:1px solid #edf0f6}.archive-list>div:last-child{border:0}.archive-list a strong{display:block;font-size:13px;font-weight:500}.archive-list a>span{display:block;font-size:10px;color:#9ba7ba;margin-top:5px}.settings-panel{max-width:760px}.settings-panel select{max-width:240px}.topbar nav{gap:22px;overflow-x:auto;white-space:nowrap}.heading-meta{flex-wrap:wrap}.heading-meta .secondary-button{font-size:10px;padding:5px 8px}.blocker-next{border-left:2px solid #d9b05f;padding-left:8px}@media(max-width:900px){.topbar{gap:24px}.topbar nav{gap:16px;font-size:12px}}@media(max-width:720px){.topbar{gap:18px}.topbar nav{gap:14px;font-size:11px}.topbar .connection{display:none}.form-grid{grid-template-columns:1fr}.view-heading{align-items:flex-start}.view-heading h1{font-size:23px}.error-banner{align-items:flex-start}.profile-counts{gap:10px}}.profile-form .field-help{font-size:11px;line-height:1.6;color:#65758b;font-weight:400;overflow-wrap:anywhere}.profile-form p.field-help{margin:8px 0 16px;max-width:760px}.server-notice{display:flex;flex-direction:column;gap:7px;background:#fff8e9;border:1px solid #eadbbb;border-radius:8px;padding:14px 18px;margin-bottom:22px;font-size:12px;line-height:1.6;color:#876e40}.server-notice code{font-size:12px;background:#f3ead7;padding:2px 5px;border-radius:3px}.reporter-health{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#76859a;line-height:1.6}.reporter-health>span{width:6px;height:6px;border-radius:50%;background:#a5afbd}.reporter-health.connected{color:#4a8567}.reporter-health.connected>span{background:#68a183}.reporter-health.disconnected{color:#a47f46}.reporter-health.disconnected>span{background:#c4a06b}.reporting-details{border-top:1px solid #edf0f5;margin-top:15px;padding-top:12px}.reporting-details p{font-size:10px;color:#8290a3;line-height:1.6;margin:7px 0}.report-provenance{font-size:11px;color:#65778d;line-height:1.7;margin-bottom:18px}.report-provenance>span{display:block;color:#8794a5;font-size:10px}.attention-summary{border:1px solid #e0e6ef;background:#fff;border-radius:8px;margin-bottom:24px}.attention-summary>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 18px;cursor:pointer;list-style:none}.attention-summary>summary::-webkit-details-marker{display:none}.attention-summary>summary>span:first-child{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.attention-summary strong{font-size:12px;font-weight:500;color:#566b87}.attention-summary summary span span,.attention-expand{font-size:10px;color:#8d99a9}.attention-summary.has-attention summary strong{color:#a07a3d}.attention-summary[open] .attention-expand{visibility:hidden}.attention-items{padding:0 18px 13px;max-height:300px;overflow-y:auto;overscroll-behavior-y:contain}.attention-items a{display:flex;justify-content:space-between;align-items:baseline;gap:20px;padding:10px 0;border-top:1px solid #edf0f6}.attention-items a span{font-size:11px;color:#8a97a9}.more-filters{position:relative}.more-filters>summary{font-size:11px;color:#73849c;cursor:pointer;padding:10px 12px;border:1px solid #dfe5ef;border-radius:6px;white-space:nowrap}.extra-filters{position:absolute;right:0;top:calc(100% + 8px);z-index:5;display:flex;flex-direction:column;gap:12px;min-width:230px;background:#fff;border:1px solid #e0e6ef;border-radius:8px;padding:16px;box-shadow:0 8px 24px #24384e12}.connection-panel{margin-bottom:22px}.connection-row{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;border-top:1px solid #e9edf3;padding:14px 0}.connection-row>div{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}.connection-row strong{font-size:12px;font-weight:500;color:#516580}.connection-row>div>span:not(.reporter-health){font-size:10px;color:#8d9bae}.connection-row details{max-width:55%;font-size:11px;color:#7487a4}.connection-row summary,.connect-instructions summary{cursor:pointer;color:#59749e;font-size:11px}.connection-row dl{margin-top:12px}.connection-issue{font-size:11px;line-height:1.6;color:#a27b42;max-width:600px;margin:0}.connect-instructions{border-top:1px solid #edf0f6;padding-top:15px;margin-top:12px}.connect-instructions p{font-size:11px;line-height:1.7;color:#7e8fa6}.connect-instructions pre{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #e5eaf2;border-radius:6px;background:#f8fafc;padding:13px;line-height:1.7;color:#526783}@media(max-width:720px){.attention-summary>summary>span:first-child{gap:5px;flex-direction:column;align-items:flex-start}.attention-items a{flex-direction:column;gap:6px}.connection-row{flex-direction:column}.connection-row details{max-width:100%;width:100%}.extra-filters{right:auto;left:0}}.badge.active{color:#5475a7;background:#eef3fc}.project-mission-count{display:flex;flex-direction:column;gap:7px;color:#7d8b9e;font-size:10px}.project-mission-count strong{font-size:12px;font-weight:500;color:#60748f}.project-overview-counts{display:flex;align-items:baseline;gap:10px;color:#8b98ac;font-size:12px}.project-overview-counts strong{font-size:25px;font-weight:500;color:#50617a}.project-overview-counts strong:not(:first-child){margin-left:18px}.topbar nav{gap:18px}.detail-main>section:not(.panel){margin-bottom:24px}@media(max-width:720px){.project-mission-count{grid-column:1;grid-row:2}.project-overview-counts{margin-top:18px}.topbar nav{gap:13px}}.attention-items a{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(140px,.8fr);align-items:baseline;gap:20px}.attention-items a strong,.attention-context{overflow-wrap:anywhere;line-height:1.6}.attention-context b{font-weight:500;color:#687d98}.attention-items .attention-context>span{color:#bcc6d4;margin:0 4px}.attention-reason{text-align:right;line-height:1.6}@media(max-width:900px){.attention-items a{grid-template-columns:minmax(0,1fr) minmax(140px,.65fr);gap:5px 18px}.attention-context{grid-column:1;grid-row:2}.attention-reason{grid-column:2;grid-row:1 / span 2}}@media(max-width:600px){.attention-items a{grid-template-columns:1fr;gap:5px}.attention-context,.attention-reason{grid-column:1;grid-row:auto}.attention-reason{text-align:left}}.connection-group{border-top:1px solid #e9edf3}.connection-group>summary{display:flex;justify-content:space-between;align-items:center;gap:18px;cursor:pointer;padding:15px 0;list-style:none}.connection-group>summary::-webkit-details-marker{display:none}.connection-group>summary>span:first-child{display:flex;flex-direction:column;gap:7px}.connection-group>summary strong{font-size:12px;font-weight:500;color:#516580}.connection-group>summary>span:first-child>span,.connection-group-expand{font-size:11px;color:#8998ac;line-height:1.6}.connection-group-expand:after{content:" ▸"}.connection-group[open] .connection-group-expand:after{content:" ▾"}.connection-group-rows{padding:0 14px;max-height:400px;overflow-y:auto;overscroll-behavior-y:contain;background:#fafbfd;border-radius:6px;margin-bottom:12px}.connection-group-rows .connection-row:first-child{border-top:0}@media(max-width:600px){.connection-group>summary{align-items:flex-start;gap:10px}.connection-group-rows{padding:0 10px}}.mission-heading{padding-inline-start:18px}.task-row,.project-row,.board-card{border-inline-start-color:transparent}.color-control{padding:0 0 16px;margin-bottom:16px;border-bottom:1px solid #edf0f5}.color-control label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:600}.color-control input[type=color]{width:40px;height:30px;padding:2px;border:1px solid #dbe1eb;border-radius:5px;background:#fff;cursor:pointer}.color-control p{font-size:11px;line-height:1.6;color:#768297;margin:8px 0}.color-control>span{font-size:11px;margin-left:8px}.project-list .status-section-empty.onboarding-state{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:28px 22px;line-height:1.6}.onboarding-state strong{font-size:14px;font-weight:600;color:#4b5c72}.onboarding-state a{font-size:12px;color:#315cce}.onboarding-state span{font-size:11px;color:#8793a4}.onboarding-state code{font-size:11px;background:#f0f3f8;padding:2px 5px;border-radius:4px;color:#566780}.work-update-card{border-left:3px solid #5277ce}.work-update-card .panel-heading{margin-bottom:12px}.work-update-card .panel-heading h2{margin:0}.work-update-card>p{font-size:13px;line-height:1.7;color:#56667f;margin:14px 0;white-space:pre-wrap;overflow-wrap:anywhere}.work-update-card>small{display:block;color:#929cab;font-size:10px;line-height:1.5;margin-top:14px}.work-update-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:11px;color:#8490a1}.work-update-meta strong{color:#536987;font-weight:600}.work-update-meta a{color:#315cce}.work-update-next{display:flex;gap:10px;align-items:baseline;padding:10px 12px;background:#f7f9fc;border-radius:6px;font-size:11px;color:#718097}.work-update-next strong{color:#526581}.monitoring-panel{border:1px solid #cbded2;border-left:4px solid #579173;border-radius:9px;background:linear-gradient(110deg,#f4faf6,#fff 58%);margin-bottom:22px;overflow:hidden}.monitoring-heading{display:flex;align-items:center;gap:11px;padding:14px 18px;border-bottom:1px solid #e4eee7}.monitoring-heading>div{display:flex;flex-direction:column;gap:3px}.monitoring-heading h2{font-size:13px;font-weight:650;color:#315f49;margin:0}.monitoring-heading>div>span{font-size:10px;color:#82978a}.monitoring-mark{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e2f1e7;color:#4e8b69;font-size:16px}.monitoring-heading>strong{margin-left:auto;color:#528267;background:#e6f3ea;border-radius:5px;padding:3px 7px;font-size:10px;font-weight:600}.monitoring-list{max-height:300px;overflow-y:auto;overscroll-behavior-y:contain}.monitoring-row{display:grid;grid-template-columns:minmax(0,1fr) auto 14px;align-items:center;gap:18px;padding:12px 18px}.monitoring-row+.monitoring-row{border-top:1px solid #eaf1ec}.monitoring-row:hover{background:#f8fcf9}.monitoring-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.monitoring-location{font-size:10px;color:#718c7a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monitoring-copy>strong{font-size:12px;line-height:1.5;font-weight:550;color:#35483c;overflow-wrap:anywhere}.monitoring-next{font-size:10px;color:#73877a;overflow-wrap:anywhere}.monitoring-byline{font-size:10px;color:#929e95}.monitoring-state{display:flex;align-items:center;gap:10px}.monitoring-environment{font-size:10px;color:#668071;text-transform:capitalize}.monitoring-row .row-arrow{color:#7d9a87}@media(max-width:600px){.monitoring-row{grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:12px}.monitoring-row>.row-arrow{display:none}.monitoring-state{align-self:start;flex-direction:column;align-items:flex-end;gap:6px}}
|
package/ui/dist/index.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
<!doctype html>
|
|
2
|
-
<html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="icon" type="image/svg+xml" href="/favicon.svg"><title>Angine — Follow your agents’ work</title> <script type="module" crossorigin src="/assets/index-
|
|
3
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
2
|
+
<html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="icon" type="image/svg+xml" href="/favicon.svg"><title>Angine — Follow your agents’ work</title> <script type="module" crossorigin src="/assets/index-1Bigipo-.js"></script>
|
|
3
|
+
<link rel="stylesheet" crossorigin href="/assets/index-Dp9zV-L8.css">
|
|
4
4
|
</head><body><div id="app"></div></body></html>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const c of l.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&i(c)}).observe(document,{childList:!0,subtree:!0});function s(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function i(o){if(o.ep)return;o.ep=!0;const l=s(o);fetch(o.href,l)}})();var Se,S,xn,G,fn,Tn,Nn,Le,ve,le,Pn,ze,We,Ke,we={},je=[],at=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Ce=Array.isArray;function q(n,t){for(var s in t)n[s]=t[s];return n}function Ge(n){n&&n.parentNode&&n.parentNode.removeChild(n)}function ct(n,t,s){var i,o,l,c={};for(l in t)l=="key"?i=t[l]:l=="ref"?o=t[l]:c[l]=t[l];if(arguments.length>2&&(c.children=arguments.length>3?Se.call(arguments,2):s),typeof n=="function"&&n.defaultProps!=null)for(l in n.defaultProps)c[l]===void 0&&(c[l]=n.defaultProps[l]);return ye(n,c,i,o,null)}function ye(n,t,s,i,o){var l={type:n,props:t,key:s,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++xn,__i:-1,__u:0};return o==null&&S.vnode!=null&&S.vnode(l),l}function C(n){return n.children}function be(n,t){this.props=n,this.context=t}function Y(n,t){if(t==null)return n.__?Y(n.__,n.__i+1):null;for(var s;t<n.__k.length;t++)if((s=n.__k[t])!=null&&s.__e!=null)return s.__e;return typeof n.type=="function"?Y(n):null}function dt(n){if(n.__P&&n.__d){var t=n.__v,s=t.__e,i=[],o=[],l=q({},t);l.__v=t.__v+1,S.vnode&&S.vnode(l),Qe(n.__P,l,t,n.__n,n.__P.namespaceURI,32&t.__u?[s]:null,i,s??Y(t),!!(32&t.__u),o),l.__v=t.__v,l.__.__k[l.__i]=l,Dn(i,l,o),t.__e=t.__=null,l.__e!=s&&On(l)}}function On(n){if((n=n.__)!=null&&n.__c!=null)return n.__e=n.__c.base=null,n.__k.some(function(t){if(t!=null&&t.__e!=null)return n.__e=n.__c.base=t.__e}),On(n)}function _n(n){(!n.__d&&(n.__d=!0)&&G.push(n)&&!Ie.__r++||fn!=S.debounceRendering)&&((fn=S.debounceRendering)||Tn)(Ie)}function Ie(){try{for(var n,t=1;G.length;)G.length>t&&G.sort(Nn),n=G.shift(),t=G.length,dt(n)}finally{G.length=Ie.__r=0}}function Mn(n,t,s,i,o,l,c,p,f,d,v){var g,a,m,k,u,b,_=i&&i.__k||je,y=t.length;for(f=ht(s,t,_,f,y),g=0;g<y;g++)(m=s.__k[g])!=null&&(a=m.__i!=-1&&_[m.__i]||we,m.__i=g,b=Qe(n,m,a,o,l,c,p,f,d,v),k=m.__e,m.ref&&a.ref!=m.ref&&(a.ref&&Xe(a.ref,null,m),v.push(m.ref,m.__c||k,m)),u==null&&k!=null&&(u=k),4&m.__u?(f=Rn(m,f,n),a.__e&&(a.__e=null)):typeof m.type=="function"&&b!==void 0?f=b:k&&(f=k.nextSibling),m.__u&=-7);return s.__e=u,f}function ht(n,t,s,i,o){var l,c,p,f,d,v=s.length,g=v,a=0;for(n.__k=new Array(o),l=0;l<o;l++)(c=t[l])!=null&&typeof c!="boolean"&&typeof c!="function"?(typeof c=="string"||typeof c=="number"||typeof c=="bigint"||c.constructor==String?c=n.__k[l]=ye(null,c,null,null,null):Ce(c)?c=n.__k[l]=ye(C,{children:c},null,null,null):c.constructor===void 0&&c.__b>0?c=n.__k[l]=ye(c.type,c.props,c.key,c.ref?c.ref:null,c.__v):n.__k[l]=c,f=l+a,c.__=n,c.__b=n.__b+1,p=null,(d=c.__i=pt(c,s,f,g))!=-1&&(g--,(p=s[d])&&(p.__u|=2)),p==null||p.__v==null?(d==-1&&(o>v?a--:o<v&&a++),typeof c.type!="function"&&(c.__u|=4)):d!=f&&(d==f-1?a--:d==f+1?a++:(d>f?a--:a++,c.__u|=4))):n.__k[l]=null;if(g)for(l=0;l<v;l++)(p=s[l])!=null&&(2&p.__u)==0&&(p.__e==i&&(i=Y(p)),Un(p,p));return i}function Rn(n,t,s){var i,o;if(typeof n.type=="function"){for(i=n.__k,o=0;i&&o<i.length;o++)i[o]&&(i[o].__=n,t=Rn(i[o],t,s));return t}n.__e!=t&&(t&&n.type&&!t.parentNode&&(t=Y(n)),t=s.insertBefore(n.__e,t||null));do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function pt(n,t,s,i){var o,l,c,p=n.key,f=n.type,d=t[s],v=d!=null&&(2&d.__u)==0;if(d===null&&p==null||v&&p==d.key&&f==d.type)return s;if(i>(v?1:0)){for(o=s-1,l=s+1;o>=0||l<t.length;)if((d=t[c=o>=0?o--:l++])!=null&&(2&d.__u)==0&&p==d.key&&f==d.type)return c}return-1}function mn(n,t,s){t[0]=="-"?n.setProperty(t,s??""):n[t]=s==null?"":typeof s!="number"||at.test(t)?s:s+"px"}function fe(n,t,s,i,o){var l,c;e:if(t=="style")if(typeof s=="string")n.style.cssText=s;else{if(typeof i=="string"&&(n.style.cssText=i=""),i)for(t in i)s&&t in s||mn(n.style,t,"");if(s)for(t in s)i&&s[t]==i[t]||mn(n.style,t,s[t])}else if(t[0]=="o"&&t[1]=="n")l=t!=(t=t.replace(Pn,"$1")),c=t.toLowerCase(),t=c in n||t=="onFocusOut"||t=="onFocusIn"?c.slice(2):t.slice(2),n.l||(n.l={}),n.l[t+l]=s,s?i?s[le]=i[le]:(s[le]=ze,n.addEventListener(t,l?Ke:We,l)):n.removeEventListener(t,l?Ke:We,l);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in n)try{n[t]=s??"";break e}catch{}typeof s=="function"||(s==null||s===!1&&t[4]!="-"?n.removeAttribute(t):n.setAttribute(t,t=="popover"&&s==1?"":s))}}function gn(n){return function(t){if(this.l){var s=this.l[t.type+n];if(t[ve]==null)t[ve]=ze++;else if(t[ve]<s[le])return;return s(S.event?S.event(t):t)}}}function Qe(n,t,s,i,o,l,c,p,f,d){var v,g,a,m,k,u,b,_,y,O,M,A,P,B,Z,ee,E=t.type;if(t.constructor!==void 0)return null;128&s.__u&&(f=!!(32&s.__u),l=[p=t.__e=s.__e]),(v=S.__b)&&v(t);e:if(typeof E=="function"){g=c.length;try{if(y=t.props,O=E.prototype&&E.prototype.render,M=(v=E.contextType)&&i[v.__c],A=v?M?M.props.value:v.__:i,s.__c?_=(a=t.__c=s.__c).__=a.__E:(O?t.__c=a=new E(y,A):(t.__c=a=new be(y,A),a.constructor=E,a.render=ft),M&&M.sub(a),a.state||(a.state={}),a.__n=i,m=a.__d=!0,a.__h=[],a._sb=[]),O&&a.__s==null&&(a.__s=a.state),O&&E.getDerivedStateFromProps!=null&&(a.__s==a.state&&(a.__s=q({},a.__s)),q(a.__s,E.getDerivedStateFromProps(y,a.__s))),k=a.props,u=a.state,a.__v=t,m)O&&E.getDerivedStateFromProps==null&&a.componentWillMount!=null&&a.componentWillMount(),O&&a.componentDidMount!=null&&a.__h.push(a.componentDidMount);else{if(O&&E.getDerivedStateFromProps==null&&y!==k&&a.componentWillReceiveProps!=null&&a.componentWillReceiveProps(y,A),t.__v==s.__v||!a.__e&&a.shouldComponentUpdate!=null&&a.shouldComponentUpdate(y,a.__s,A)===!1){t.__v!=s.__v&&(a.props=y,a.state=a.__s,a.__d=!1),t.__e=s.__e,t.__k=s.__k,t.__k.some(function(H){H&&(H.__=t)}),je.push.apply(a.__h,a._sb),a._sb=[],a.__h.length&&c.push(a),p=Y(s);break e}a.componentWillUpdate!=null&&a.componentWillUpdate(y,a.__s,A),O&&a.componentDidUpdate!=null&&a.__h.push(function(){a.componentDidUpdate(k,u,b)})}if(a.context=A,a.props=y,a.__P=n,a.__e=!1,P=S.__r,B=0,O)a.state=a.__s,a.__d=!1,P&&P(t),v=a.render(a.props,a.state,a.context),je.push.apply(a.__h,a._sb),a._sb=[];else do a.__d=!1,P&&P(t),v=a.render(a.props,a.state,a.context),a.state=a.__s;while(a.__d&&++B<25);a.state=a.__s,a.getChildContext!=null&&(i=q(q({},i),a.getChildContext())),O&&!m&&a.getSnapshotBeforeUpdate!=null&&(b=a.getSnapshotBeforeUpdate(k,u)),Z=v!=null&&v.type===C&&v.key==null?Ln(v.props.children):v,p=Mn(n,Ce(Z)?Z:[Z],t,s,i,o,l,c,p,f,d),a.base=t.__e,t.__u&=-161,a.__h.length&&c.push(a),_&&(a.__E=a.__=null)}catch(H){if(c.length=g,t.__v=null,f||l!=null){if(H.then){for(t.__u|=f?160:128;p&&p.nodeType==8&&p.nextSibling;)p=p.nextSibling;l!=null&&(l[l.indexOf(p)]=null),t.__e=p}else if(l!=null)for(ee=l.length;ee--;)Ge(l[ee])}else t.__e=s.__e;t.__k==null&&(t.__k=s.__k||[]),H.then||En(t),S.__e(H,t,s)}}else l==null&&t.__v==s.__v?(t.__k=s.__k,t.__e=s.__e):p=t.__e=ut(s.__e,t,s,i,o,l,c,f,d);return(v=S.diffed)&&v(t),128&t.__u?void 0:p}function En(n){n&&(n.__c&&(n.__c.__e=!0),n.__k&&n.__k.some(En))}function Dn(n,t,s){for(var i=0;i<s.length;i++)Xe(s[i],s[++i],s[++i]);S.__c&&S.__c(t,n),n.some(function(o){try{n=o.__h,o.__h=[],n.some(function(l){l.call(o)})}catch(l){S.__e(l,o.__v)}})}function Ln(n){return typeof n!="object"||n==null||n.__b>0?n:Ce(n)?n.map(Ln):n.constructor!==void 0?null:q({},n)}function ut(n,t,s,i,o,l,c,p,f){var d,v,g,a,m,k,u,b=s.props||we,_=t.props,y=t.type;if(y=="svg"?o="http://www.w3.org/2000/svg":y=="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),l!=null){for(d=0;d<l.length;d++)if((m=l[d])&&"setAttribute"in m==!!y&&(y?m.localName==y:m.nodeType==3)){n=m,l[d]=null;break}}if(n==null){if(y==null)return document.createTextNode(_);n=document.createElementNS(o,y,_.is&&_),p&&(S.__m&&S.__m(t,l),p=!1),l=null}if(y==null)b===_||p&&n.data==_||(n.data=_);else{if(l=y=="textarea"&&_.defaultValue!=null?null:l&&Se.call(n.childNodes),!p&&l!=null)for(b={},d=0;d<n.attributes.length;d++)b[(m=n.attributes[d]).name]=m.value;for(d in b)m=b[d],d=="dangerouslySetInnerHTML"?g=m:d=="children"||d in _||d=="value"&&"defaultValue"in _||d=="checked"&&"defaultChecked"in _||fe(n,d,null,m,o);for(d in _)m=_[d],d=="children"?a=m:d=="dangerouslySetInnerHTML"?v=m:d=="value"?k=m:d=="checked"?u=m:p&&typeof m!="function"||b[d]===m||fe(n,d,m,b[d],o);if(v)p||g&&(v.__html==g.__html||v.__html==n.innerHTML)||(n.innerHTML=v.__html),t.__k=[];else if(g&&(n.innerHTML=""),Mn(t.type=="template"?n.content:n,Ce(a)?a:[a],t,s,i,y=="foreignObject"?"http://www.w3.org/1999/xhtml":o,l,c,l?l[0]:s.__k&&Y(s,0),p,f),l!=null)for(d=l.length;d--;)Ge(l[d]);p&&y!="textarea"||(d="value",y=="progress"&&k==null?n.removeAttribute("value"):k!=null&&(k!==n[d]||y=="progress"&&!k||y=="option"&&k!=b[d])&&fe(n,d,k,b[d],o),d="checked",u!=null&&u!=n[d]&&fe(n,d,u,b[d],o))}return n}function Xe(n,t,s){try{if(typeof n=="function"){var i=typeof n.__u=="function";i&&n.__u(),i&&t==null||(n.__u=n(t))}else n.current=t}catch(o){S.__e(o,s)}}function Un(n,t,s){var i,o;if(S.unmount&&S.unmount(n),(i=n.ref)&&(i.current&&i.current!=n.__e||Xe(i,null,t)),(i=n.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(l){S.__e(l,t)}i.base=i.__P=i.__n=null}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&Un(i[o],t,s||typeof n.type!="function");s||Ge(n.__e),n.__c=n.__=n.__e=void 0}function ft(n,t,s){return this.constructor(n,s)}function _t(n,t,s){var i,o,l,c;t==document&&(t=document.documentElement),S.__&&S.__(n,t),o=(i=!1)?null:t.__k,l=[],c=[],Qe(t,n=t.__k=ct(C,null,[n]),o||we,we,t.namespaceURI,o?null:t.firstChild?Se.call(t.childNodes):null,l,o?o.__e:t.firstChild,i,c),Dn(l,n,c),n.props.children=null}Se=je.slice,S={__e:function(n,t,s,i){for(var o,l,c;t=t.__;)if((o=t.__c)&&!o.__)try{if((l=o.constructor)&&l.getDerivedStateFromError!=null&&(o.setState(l.getDerivedStateFromError(n)),c=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(n,i||{}),c=o.__d),c)return o.__E=o}catch(p){n=p}throw n}},xn=0,be.prototype.setState=function(n,t){var s;s=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=q({},this.state),typeof n=="function"&&(n=n(q({},s),this.props)),n&&q(s,n),n!=null&&this.__v&&(t&&this._sb.push(t),_n(this))},be.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),_n(this))},be.prototype.render=C,G=[],Tn=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Nn=function(n,t){return n.__v.__b-t.__v.__b},Ie.__r=0,Le=Math.random().toString(8),ve="__d"+Le,le="__a"+Le,Pn=/(PointerCapture)$|Capture$/i,ze=0,We=gn(!1),Ke=gn(!0);var mt=0;function e(n,t,s,i,o,l){t||(t={});var c,p,f=t;if("ref"in f)for(p in f={},t)p=="ref"?c=t[p]:f[p]=t[p];var d={type:n,props:f,key:s,ref:c,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--mt,__i:-1,__u:0,__source:o,__self:l};if(typeof n=="function"&&(c=n.defaultProps))for(p in c)f[p]===void 0&&(f[p]=c[p]);return S.vnode&&S.vnode(d),d}var re,T,Ue,vn,Ae=0,Fn=[],N=S,yn=N.__b,bn=N.__r,kn=N.diffed,wn=N.__c,jn=N.unmount,In=N.__;function $e(n,t){N.__h&&N.__h(T,n,Ae||t),Ae=0;var s=T.__H||(T.__H={__:[],__h:[]});return n>=s.__.length&&s.__.push({}),s.__[n]}function $(n){return Ae=1,gt(Hn,n)}function gt(n,t,s){var i=$e(re++,2);if(i.t=n,!i.__c&&(i.__=[Hn(void 0,t),function(p){var f=i.__N?i.__N[0]:i.__[0],d=i.t(f,p);f!==d&&(i.__N=[d,i.__[1]],i.__c.setState({}))}],i.__c=T,!T.__f)){var o=function(p,f,d){if(!i.__c.__H)return!0;var v=!1,g=i.__c.props!==p;if(i.__c.__H.__.some(function(m){if(m.__N){v=!0;var k=m.__[0];m.__=m.__N,m.__N=void 0,k!==m.__[0]&&(g=!0)}}),l){var a=l.call(this,p,f,d);return v?a||g:a}return!v||g};T.__f=!0;var l=T.shouldComponentUpdate,c=T.componentWillUpdate;T.componentWillUpdate=function(p,f,d){if(this.__e){var v=l;l=void 0,o(p,f,d),l=v}c&&c.call(this,p,f,d)},T.shouldComponentUpdate=o}return i.__N||i.__}function X(n,t){var s=$e(re++,3);!N.__s&&Ze(s.__H,t)&&(s.__=n,s.u=t,T.__H.__h.push(s))}function Bn(n,t){var s=$e(re++,4);!N.__s&&Ze(s.__H,t)&&(s.__=n,s.u=t,T.__h.push(s))}function Ye(n){return Ae=5,vt(function(){return{current:n}},[])}function vt(n,t){var s=$e(re++,7);return Ze(s.__H,t)&&(s.__=n(),s.__H=t,s.__h=n),s.__}function yt(){for(var n;n=Fn.shift();){var t=n.__H;if(n.__P&&t)try{t.__h.some(ke),t.__h.some(qe),t.__h=[]}catch(s){t.__h=[],N.__e(s,n.__v)}}}N.__b=function(n){T=null,yn&&yn(n)},N.__=function(n,t){n&&t.__k&&t.__k.__m&&(n.__m=t.__k.__m),In&&In(n,t)},N.__r=function(n){bn&&bn(n),re=0;var t=(T=n.__c).__H;t&&(Ue===T?(t.__h=[],T.__h=[],t.__.some(function(s){s.__N&&(s.__=s.__N),s.u=s.__N=void 0})):(t.__h.some(ke),t.__h.some(qe),t.__h=[],re=0)),Ue=T},N.diffed=function(n){kn&&kn(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(Fn.push(t)!==1&&vn===N.requestAnimationFrame||((vn=N.requestAnimationFrame)||bt)(yt)),t.__H.__.some(function(s){s.u&&(s.__H=s.u,s.u=void 0)})),Ue=T=null},N.__c=function(n,t){t.some(function(s){try{s.__h.some(ke),s.__h=s.__h.filter(function(i){return!i.__||qe(i)})}catch(i){t.some(function(o){o.__h&&(o.__h=[])}),t=[],N.__e(i,s.__v)}}),wn&&wn(n,t)},N.unmount=function(n){jn&&jn(n);var t,s=n.__c;s&&s.__H&&(s.__H.__.some(function(i){try{ke(i)}catch(o){t=o}}),s.__H=void 0,t&&N.__e(t,s.__v))};var An=typeof requestAnimationFrame=="function";function bt(n){var t,s=function(){clearTimeout(i),An&&cancelAnimationFrame(t),setTimeout(n)},i=setTimeout(s,35);An&&(t=requestAnimationFrame(s))}function ke(n){var t=T,s=n.__c;typeof s=="function"&&(n.__c=void 0,s()),T=t}function qe(n){var t=T;n.__c=n.__(),T=t}function Ze(n,t){return!n||n.length!==t.length||t.some(function(s,i){return s!==n[i]})}function Hn(n,t){return typeof t=="function"?t(n):t}function Sn(){return Object.fromEntries([["claude","Other"],["codex","Other"],["grok","Other"]].map(([n,t])=>{const s=`${n}-default`,i={id:`profile_${s}`,key:s,name:`${n[0].toUpperCase()+n.slice(1)} / ${t}`,agent:n,context:t,isDefault:!0};return[i.id,i]}))}function ae(n,t=60,s=Date.now()){return t>0&&["running","in_progress","blocked"].includes(n.status)&&s-Date.parse(n.updatedAt)>=t*6e4}function kt(n,t){return!n||t.seq<=n.seq?[]:Object.values(t.tasks).filter(s=>{const i=n.tasks[s.id];return i&&i.status!==s.status&&["completed","blocked"].includes(s.status)&&!t.projects[s.projectId]?.archivedAt&&!t.missions?.[s.missionId]?.archivedAt})}const wt=n=>`prj_${n}`,Cn=n=>n?.path.split(/[\\/]/).filter(Boolean).pop()||"Project";function jt(n,t,s){return JSON.parse(JSON.stringify({id:n.projectId,key:s?.key||Cn(t),workspaceId:n.workspaceId,name:s?.name||Cn(t),description:s?.description,status:"active",createdAt:s&&s.createdAt<n.createdAt?s.createdAt:n.createdAt,updatedAt:s&&s.updatedAt>n.updatedAt?s.updatedAt:n.updatedAt,archivedAt:s?.archivedAt}))}function It(n){if(n.schemaVersion!==void 0&&n.schemaVersion!==1&&n.schemaVersion!==2)throw new Error("Unsupported Angine state version");if(n.schemaVersion===2)return{...n,missions:n.missions||{},profiles:n.profiles||Sn()};const t={},s={},i=n.workspaces||{};for(const c of Object.values(n.projects||{})){const p={...c,projectId:wt(c.workspaceId)};t[p.id]=p,s[p.projectId]=jt(p,i[p.workspaceId],s[p.projectId])}const o={};for(const c of Object.values(n.tasks||{})){const p=t[c.projectId];o[c.id]={...c,missionId:c.missionId||c.projectId,projectId:p?.projectId||c.projectId}}const l={};for(const c of Object.values(n.sessions||{})){const p=c.missionIds||c.projectIds||[c.projectId];l[c.id]={...c,missionId:c.missionId||c.projectId,missionIds:p,projectId:t[c.projectId]?.projectId||c.projectId,projectIds:[...new Set(p.map(f=>t[f]?.projectId||f))]}}return{schemaVersion:2,seq:n.seq||0,workspaces:i,projects:s,missions:t,tasks:o,sessions:l,profiles:n.profiles||Sn()}}function Wn(n,t){return!!(n.projects[t.projectId]?.archivedAt||n.missions?.[t.missionId]?.archivedAt)}const At=3,St=75e3;function xe(n,t=Date.now()){return!n.closedAt&&t-Date.parse(n.lastSeenAt)<St?"connected":"disconnected"}function Kn(n,t){return t?n?.reporters.find(s=>s.id===t):void 0}function Ct(n,t=Date.now()){const s=new Map;for(const i of n){const o=JSON.stringify([i.agent,i.profileId||i.profileKey||"default"]);let l=s.get(o);l||(l={id:o,agent:i.agent,profileId:i.profileId,profileKey:i.profileKey,reporters:[],connected:0,sentUpdates:0,connectedOnly:0,issues:0},s.set(o,l)),l.reporters.push(i);const c=xe(i,t)==="connected";c&&l.connected++,i.successfulReports>0?l.sentUpdates++:c&&l.connectedOnly++,i.issue&&l.issues++}return[...s.values()].map(i=>({...i,reporters:i.reporters.sort((o,l)=>+!!l.issue-+!!o.issue||+(l.successfulReports>0)-+(o.successfulReports>0)||(l.lastReportAt||"").localeCompare(o.lastReportAt||"")||l.startedAt.localeCompare(o.startedAt))})).sort((i,o)=>o.issues-i.issues||i.agent.localeCompare(o.agent))}function qn(n,t,s,i,o=Date.now()){return t.filter(l=>!n.projects[l.projectId]?.archivedAt&&!n.missions?.[l.missionId]?.archivedAt).flatMap(l=>{if(l.status==="blocked")return[{task:l,reason:l.blocker?.nextStep||l.blocker?.reason||"Blocked — open for details"}];if(l.status==="failed")return[{task:l,reason:"Agent reported failure"}];if(l.status!=="in_progress")return[];const c=Kn(s,n.sessions[l.updatedBySessionId||""]?.reporterId);return c?.issue?[{task:l,reason:"Reporter needs attention"}]:c&&xe(c,o)==="disconnected"?[{task:l,reason:"Reporter disconnected — task status unconfirmed"}]:ae(l,i,o)?[{task:l,reason:"No recent task update"}]:[]})}const Fe=n=>n[0].toUpperCase()+n.slice(1),Ve=n=>n?new Date(n).toLocaleString():"No reports yet";function $t(){const[n,t]=$(null),[s,i]=$("checking");return X(()=>{let o=!1,l=!1;const c=new AbortController,p=async()=>{if(!l){l=!0;try{const d=await fetch("/api/health",{signal:c.signal});if(o)return;if(d.status===404){i("outdated"),t(null);return}if(!d.ok)throw new Error;const v=await d.json();if(o)return;t(v),i(v.protocolVersion===At?"ready":"outdated")}catch{o||(i("unavailable"),t(null))}finally{l=!1}}};p();const f=setInterval(()=>{p()},15e3);return()=>{o=!0,c.abort(),clearInterval(f)}},[]),{health:n,compatibility:s}}function xt({compatibility:n}){return n!=="outdated"?null:e("div",{class:"server-notice",role:"status",children:[e("strong",{children:"Update the running server"}),e("span",{children:["Run ",e("code",{children:"angine restart"}),", refresh this page, then restart your agent sessions. New controls need the updated server."]})]})}function Vn({reporter:n}){const t=n?xe(n):"unknown";return e("span",{class:`reporter-health ${t}`,title:"This describes the Angine reporter connection, not whether the agent is currently working.",children:[e("span",{}),t==="connected"?"Reporter connected":t==="disconnected"?"Reporter disconnected":"Connection not tracked"]})}function Tt({health:n,session:t}){const s=Kn(n,t.reporterId);return e("div",{class:"reporting-details",children:[e(Vn,{reporter:s}),e("p",{children:["Last task report: ",Ve(t.lastSeenAt)]}),s&&e("p",{children:[s.successfulReports," accepted · ",s.failedReports," rejected reports since server start"]}),e("p",{children:"Task status is agent reported. A connection heartbeat does not confirm task progress."})]})}const Nt=n=>n.issue==="profile_missing"?"Profile not found. Check the configured profile key.":n.issue==="reporter_outdated"?"Restart this agent session to load the updated reporter.":n.issue==="report_rejected"?"A report was rejected. Check its profile and task keys; the next accepted report clears this warning.":"";function Pt({health:n,compatibility:t,profile:s,profiles:i={}}){const[o,l]=$(!1),c=(n?.reporters||[]).filter(g=>!s||g.profileId===s.id||g.profileKey===s.key&&g.agent===s.agent).sort((g,a)=>a.lastSeenAt.localeCompare(g.lastSeenAt)),p=Ct(c),f=c.filter(g=>xe(g)==="connected").length,d=s?["mcp","--agent",s.agent,"--profile",s.key]:void 0,v=s?JSON.stringify({command:"angine",args:d},null,2):"angine setup";return e("section",{class:"panel connection-panel",children:[e("div",{class:"panel-heading",children:[e("h2",{children:"Connections"}),e("span",{children:t==="ready"?`${f} connected`:t==="outdated"?"Server update needed":t==="checking"?"Checking…":"Unable to check"})]}),e("p",{class:"muted",children:"Connected means the integration is reachable. “Sent updates” counts reporters that submitted work since the server started; “connected only” means no work updates in that time. Neither confirms the agent is currently working."}),p.map(g=>e("details",{class:"connection-group",children:[e("summary",{children:[e("span",{children:[e("strong",{children:[i[g.profileId||""]?.name||Fe(g.agent),!g.profileId&&g.profileKey?` · ${g.profileKey}`:""]}),e("span",{children:[g.connected," connected · ",g.sentUpdates," sent updates · ",g.connectedOnly," connected only"]})]}),e("span",{class:g.issues?"connection-issue":"connection-group-expand",children:g.issues?`${g.issues} need attention`:`${g.reporters.length} reporters`})]}),e("div",{class:"connection-group-rows",children:g.reporters.map(a=>e("div",{class:"connection-row",children:[e("div",{children:[e("strong",{children:[Fe(a.agent)," · ",a.id.slice(0,8)]}),e(Vn,{reporter:a}),e("span",{children:a.lastReportAt?`Last known report: ${Ve(a.lastReportAt)}`:"No task updates received in this server session"}),a.issue&&e("p",{class:"connection-issue",children:Nt(a)})]}),e("details",{children:[e("summary",{children:"Details"}),e("dl",{children:[e("dt",{children:"Profile"}),e("dd",{children:i[a.profileId||""]?.name||a.profileKey||"Agent default"}),e("dt",{children:"Reporter version"}),e("dd",{children:a.version||"Unknown"}),e("dt",{children:"Last heartbeat"}),e("dd",{children:Ve(a.lastSeenAt)}),e("dt",{children:"Accepted since server start"}),e("dd",{children:a.successfulReports}),e("dt",{children:"Rejected since server start"}),e("dd",{children:a.failedReports}),e("dt",{children:"Reporter ID"}),e("dd",{children:a.id}),a.sourceSessionId&&e(C,{children:[e("dt",{children:"Agent session"}),e("dd",{children:a.sourceSessionId})]})]})]})]},a.id))})]},g.id)),!c.length&&e("p",{class:"muted",children:["No tracked connections ",s?"for this profile ":"","yet. Restart your configured agent session to load the updated reporter."]}),e("details",{class:"connect-instructions",children:[e("summary",{children:s?"Connect this profile":"Connect an agent"}),e("p",{children:s?"Use this configuration for the agent’s Angine MCP connection. The profile key assigns its reports here.":"Run setup once, then restart Claude or Codex sessions. Setup registers their local MCP reporter."}),e("pre",{children:v}),e("button",{class:"secondary-button",onClick:async()=>{try{await navigator.clipboard.writeText(v),l(!0)}catch{l(!1)}},children:o?"Copied":"Copy setup"}),e("p",{class:"muted",children:"After reconnecting, ask the agent to use Angine’s check_connection tool. A successful check confirms the reporter and profile; reports will appear when the agent sends work updates."}),s?.isDefault&&e("p",{class:"muted",children:["This is the default profile for ",Fe(s.agent),". Existing connections without an explicit profile key use it automatically."]})]})]})}function Ot({state:n,tasks:t,health:s,staleMinutes:i}){const o=qn(n,t,s,i),l=t.filter(c=>c.status==="in_progress").length;return e("details",{class:`attention-summary ${o.length?"has-attention":""}`,children:[e("summary",{children:[e("span",{children:[e("strong",{children:o.length?`${o.length} need attention`:"No tasks need attention"}),e("span",{children:[l," in progress · Based on the current filters"]})]}),e("span",{class:"attention-expand",children:"View details"})]}),e("div",{class:"attention-items",children:[o.slice(0,10).map(({task:c,reason:p})=>e("a",{href:`#/tasks/${encodeURIComponent(c.id)}`,children:[e("strong",{children:c.title}),e("span",{class:"attention-context",children:[e("b",{children:"Project:"})," ",n.projects[c.projectId]?.name||"Unknown project"," ",e("span",{"aria-hidden":"true",children:" / "}),e("b",{children:"Mission:"})," ",n.missions[c.missionId]?.name||"Unknown mission"]}),e("span",{class:"attention-reason",children:p})]},c.id)),!o.length&&e("p",{class:"muted",children:"No blocked, failed, stale, or tracked disconnected tasks in this view. This is based on reports received, not independent verification of the work."}),o.length>10&&e("p",{class:"muted",children:"Showing the first 10. Use the task filters to review the remaining work."})]})]})}const Be={agent:"all",status:"all",project:"all",mission:"all",profile:"all",query:"",staleOnly:!1},ce=n=>({codex:"Codex",claude:"Claude",grok:"Grok",external:"External"})[(n||"external").trim()]||n||"External",U=(n,t)=>`#/${n}${t?`/${encodeURIComponent(t)}`:""}`;function Jn(n,t){try{return JSON.parse(localStorage.getItem(n)||"null")??t}catch{return t}}function zn(n,t){try{localStorage.setItem(n,JSON.stringify(t))}catch{}}function Mt(n){const[t,s]=$(()=>Jn("angine-filters-v1",{}));X(()=>zn("angine-filters-v1",t),[t]);const i={...Be,...t[n]},o=l=>s(c=>({...c,[n]:{...Be,...c[n],...l}}));return{filters:i,set:o,reset:()=>o({...Be}),resetAll:()=>s({})}}function Rt(){const[n,t]=$(()=>{const s=Jn("angine-preferences-v1",{staleMinutes:60,notifications:!1});return{staleMinutes:[0,15,60,240,1440].includes(s.staleMinutes)?s.staleMinutes:60,notifications:s.notifications===!0}});return X(()=>zn("angine-preferences-v1",n),[n]),{preferences:n,setPreferences:t}}function Et(n,t){const s=Ye(null);X(()=>{if(!n)return;const i=kt(s.current,n);if(s.current=n,!t||!i.length||typeof Notification>"u"||Notification.permission!=="granted")return;const o=i.filter(f=>f.status==="completed").length,l=i.length-o,c=i.length===1?`Angine · Task ${i[0].status}`:"Angine · Work updated",p=i.length===1?i[0].title:[o?`${o} completed`:"",l?`${l} blocked`:""].filter(Boolean).join(" · ");try{const f=new Notification(c,{body:p,tag:"angine-work-update"});f.onclick=()=>{window.focus(),location.hash=U("tasks",i[0].id).slice(1),f.close()}}catch{}},[n,t])}async function Dt(n,t){if(!(await fetch("/api/dashboard/session")).ok)throw new Error("Run angine restart in your terminal to load the new dashboard controls, then refresh this page and save again.");const i=await fetch(`/api/dashboard/${n}`,{method:"POST",headers:{"Content-Type":"application/json","X-Angine-UI":"1"},body:JSON.stringify(t)}),o=await i.json();if(!i.ok)throw new Error(o.error||"Could not save the change.");return o.state}function Te(n,t){if(t)return t?.profileId?n.profiles?.[t.profileId]:Object.values(n.profiles||{}).find(s=>s.isDefault&&s.agent===(t?.agent||"external"))}function Je(n,t){return Te(n,n.sessions[t.updatedBySessionId||""])||Object.values(n.profiles||{}).find(s=>s.isDefault&&s.agent===(t.updatedBy||"external"))}function _e({item:n,minutes:t}){return t>0&&ae(n,t)?e("span",{class:"stale-tag",title:`No reported update since ${new Date(n.updatedAt).toLocaleString()}`,children:"Stale"}):null}function Lt({profile:n,mutate:t,close:s}){const[i,o]=$(()=>n||{agent:"external",context:"Personal",isDefault:!0}),[l,c]=$(!1),p={name:"A name you recognise in Angine, such as Team Agent or Development Agent.",agent:"The agent reporting the work: claude, codex, grok, or another agent name. Use external for a generic reporter. This must match the reporter’s agent type.",key:"A unique ID for this profile, such as team-agent. Use this key in the reporter’s --profile setting to link its reports here. It cannot be changed after saving.",context:"What you use this agent for, such as Work or Personal. This label helps you identify and filter its work.",ownerName:"Optional. The person using this agent. Enter the name yourself; Angine does not read it from the agent account.",ownerEmail:"Optional. The owner’s email for identifying whose work this is. It is not used to sign in or send email.",accountLabel:"Optional. A nickname for the account, such as Company account or Personal account. Enter a label, never a password or API key.",description:"Optional. A short note explaining what this profile is used for, such as development and code reviews."},f=(d,v,g=!1,a=160)=>e("label",{children:[v,e("input",{type:d==="ownerEmail"?"email":"text",required:g,readOnly:!!(n&&(d==="agent"||d==="key")),maxLength:a,value:String(i[d]??""),"aria-describedby":`profile-help-${d}`,onInput:m=>o({...i,[d]:m.currentTarget.value})}),e("span",{class:"field-help",id:`profile-help-${d}`,children:p[d]})]});return e("form",{class:"panel profile-form",onSubmit:async d=>{d.preventDefault(),c(!0);const v=await t("profiles",i);c(!1),v&&s()},children:[e("div",{class:"panel-heading",children:[e("h2",{children:n?"Edit profile":"New agent profile"}),e("button",{type:"button",class:"text-button",onClick:s,children:"Close"})]}),e("div",{class:"form-grid",children:[f("name","Profile name",!0),f("agent","Agent type",!0,80),f("key","Stable profile key",!0),f("context","Context (Work, Personal…)",!0,80),f("ownerName","Owner name"),f("ownerEmail","Owner email"),f("accountLabel","Account label"),f("description","Description",!1,500)]}),e("label",{class:"check-label",children:[e("input",{type:"checkbox","aria-describedby":"profile-help-default",checked:i.isDefault===!0,onChange:d=>o({...i,isDefault:d.currentTarget.checked})}),"Default profile for this agent type"]}),e("p",{class:"field-help",id:"profile-help-default",children:"Reports from this agent type use this profile when no profile key is specified. For example, making this the Claude default labels Claude reports with this profile. Only one profile can be the default for each agent type."}),e("p",{class:"muted",children:"Saving creates the profile. To link reports, make it the default or configure the agent’s Angine reporter with this profile key. Saving does not start or configure an agent."}),e("button",{class:"primary-button",disabled:l,children:l?"Saving…":"Save profile"})]})}function Ut({state:n,profileId:t,mutate:s,taskRow:i,health:o,compatibility:l}){const[c,p]=$(null),f=Object.values(n.profiles||{}).sort((u,b)=>u.name.localeCompare(b.name)),d=t?n.profiles?.[t]:void 0,v=u=>Object.values(n.sessions).filter(b=>Te(n,b)?.id===u.id),g=u=>Object.values(n.tasks).filter(b=>Je(n,b)?.id===u.id&&!Wn(n,b)),a=u=>{const b=new Set([...g(u).map(_=>_.projectId),...v(u).flatMap(_=>_.projectIds||[_.projectId])]);return Object.values(n.projects).filter(_=>b.has(_.id)&&!_.archivedAt)},m=u=>{const b=new Set([...g(u).map(_=>_.missionId),...v(u).flatMap(_=>_.missionIds||[_.missionId])]);return Object.values(n.missions).filter(_=>b.has(_.id)&&!_.archivedAt&&!n.projects[_.projectId]?.archivedAt)},k=u=>{const b=v(u).sort((A,P)=>P.lastSeenAt.localeCompare(A.lastSeenAt)),_=A=>b.find(P=>P.id!==A.id&&A.parentAgentId===P.agentId&&A.sourceSessionId&&P.sourceSessionId===A.sourceSessionId&&P.workspaceId===A.workspaceId),y=[],O=new Set,M=(A,P)=>{O.has(A.id)||(O.add(A.id),y.push({session:A,depth:P}),b.filter(B=>_(B)?.id===A.id).forEach(B=>M(B,P+1)))};return b.filter(A=>!_(A)).forEach(A=>M(A,0)),b.forEach(A=>M(A,0)),y};return t&&!d?e("div",{class:"empty",children:[e("h2",{children:"Profile not found"}),e("a",{href:U("agents"),children:"All agents"})]}):e(C,{children:[e("div",{class:"view-heading",children:[e("div",{children:[e("h1",{children:d?.name||"Agents & sessions"}),e("p",{children:d?`${d.context} · ${ce(d.agent)}`:"Profiles, collaboration, and reported agent sessions."})]}),e("button",{class:"primary-button",onClick:()=>p(d||"new"),children:d?"Edit profile":"Add profile"})]}),c&&e(Lt,{profile:c==="new"?void 0:c,mutate:s,close:()=>p(null)},c==="new"?"new":c.id),e(Pt,{profiles:n.profiles,health:o,compatibility:l,profile:d}),d?e(C,{children:[e("nav",{class:"breadcrumbs",children:[e("a",{href:U("agents"),children:"Agents"}),e("span",{children:"/"}),e("span",{children:d.name})]}),e("div",{class:"profile-summary panel",children:[e("span",{children:[a(d).length," projects"]}),e("span",{children:[m(d).length," missions"]}),e("span",{children:[g(d).length," tasks"]}),e("span",{children:[v(d).length," sessions"]}),d.ownerName&&e("span",{children:["Owner: ",d.ownerName]}),d.ownerEmail&&e("span",{children:d.ownerEmail}),d.accountLabel&&e("span",{children:["Account: ",d.accountLabel]})]}),e("section",{class:"panel",children:[e("h2",{children:"Projects"}),e("div",{class:"linked-projects",children:[a(d).map(u=>e("a",{href:U("projects",u.id),children:[u.name,e("span",{children:u.status})]})),!a(d).length&&e("p",{class:"muted",children:"No projects reported for this profile yet."})]})]}),e("section",{class:"panel",children:[e("h2",{children:"Missions"}),e("div",{class:"linked-projects",children:[m(d).map(u=>e("a",{href:U("missions",u.id),children:[u.name,e("span",{children:[n.projects[u.projectId]?.name," · ",u.status]})]},u.id)),!m(d).length&&e("p",{class:"muted",children:"No missions reported for this profile yet."})]})]}),e("section",{class:"panel",children:[e("h2",{children:"Tasks"}),e("div",{class:"task-table",children:g(d).map(i)})]}),e("section",{class:"panel",children:[e("h2",{children:"Sessions & child agents"}),e("div",{class:"sessions-view",children:[k(d).map(({session:u,depth:b})=>e("div",{class:"session-card",style:{marginLeft:`${Math.min(b,4)*20}px`},children:[e("strong",{children:u.agentId||ce(u.agent)}),e("span",{children:[u.parentAgentId?`Child of ${u.parentAgentId}`:"Reporter session"," · Last report ",new Date(u.lastSeenAt).toLocaleString()]}),e("dl",{children:[e("dt",{children:"Angine session"}),e("dd",{children:u.id}),u.sourceSessionId&&e(C,{children:[e("dt",{children:"Agent session"}),e("dd",{children:u.sourceSessionId})]}),e("dt",{children:"Projects"}),e("dd",{children:(u.projectIds||[u.projectId]).map(_=>e("a",{class:"session-project",href:U("projects",_),children:n.projects[_]?.name||_}))}),e("dt",{children:"Missions"}),e("dd",{children:(u.missionIds||[u.missionId]).map(_=>e("a",{class:"session-project",href:U("missions",_),children:n.missions[_]?.name||_}))}),e("dt",{children:"Latest task reports"}),e("dd",{children:Object.values(n.tasks).filter(_=>_.updatedBySessionId===u.id).map(_=>e("a",{class:"session-project",href:U("tasks",_.id),children:_.title}))})]})]},u.id)),!v(d).length&&e("p",{class:"muted",children:"Sessions appear when this agent reports work. Child links require reported parent IDs."})]})]})]}):e("div",{class:"profile-grid",children:f.map(u=>e("article",{class:"panel profile-card",children:[e("div",{class:"panel-heading",children:[e("a",{href:U("agents",u.id),children:e("h2",{children:u.name})}),e("button",{class:"text-button",onClick:()=>p(u),children:"Edit"})]}),e("div",{class:"profile-labels",children:[e("span",{children:ce(u.agent)}),e("span",{children:u.context}),u.isDefault&&e("span",{children:"Default"})]}),u.description&&e("p",{class:"muted",children:u.description}),u.ownerName&&e("p",{class:"muted",children:[u.ownerName,u.ownerEmail?` · ${u.ownerEmail}`:""]}),e("a",{class:"profile-counts",href:U("agents",u.id),children:[e("span",{children:[a(u).length," projects"]}),e("span",{children:[m(u).length," missions"]}),e("span",{children:[g(u).length," tasks"]}),e("span",{children:[v(u).length," sessions ↗"]})]})]},u.id))})]})}function Ft({task:n,state:t,mutate:s}){const[i,o]=$(n.blocker?.reason||""),[l,c]=$(n.blocker?.nextStep||""),[p,f]=$(n.blocker?.owner||""),[d,v]=$(n.relatedTaskKeys||[]),[g,a]=$(!1),[m,k]=$(!1),u=Object.values(t.tasks).filter(_=>_.missionId===n.missionId&&_.id!==n.id),b=u.filter(_=>d.includes(_.key)||_.relatedTaskKeys?.includes(n.key));return e("section",{class:"panel",children:[e("h2",{children:n.status==="blocked"?"Blocker & related work":"Related work"}),b.length?e("div",{class:"related-links",children:b.map(_=>e("a",{href:U("tasks",_.id),children:[_.title,e("span",{children:[ce(_.updatedBy)," · ",_.status.replaceAll("_"," ")]})]}))}):e("p",{class:"muted",children:"Link related tasks from any agent working in this mission."}),e("form",{class:"workflow-form",onSubmit:async _=>{_.preventDefault(),a(!0);const y=await s("task-details",{taskId:n.id,relatedTaskKeys:d,...n.status==="blocked"?{blocker:i.trim()?{reason:i,nextStep:l,owner:p}:null}:{}});a(!1),k(y)},children:[n.status==="blocked"&&e(C,{children:[e("label",{children:["What is blocking this task?",e("textarea",{maxLength:500,value:i,onInput:_=>{o(_.currentTarget.value),k(!1)},placeholder:n.note||"Describe the blocker…"})]}),e("label",{children:["What needs to happen next?",e("textarea",{maxLength:500,value:l,onInput:_=>{c(_.currentTarget.value),k(!1)}})]}),e("label",{children:["Who can unblock it?",e("input",{maxLength:160,value:p,onInput:_=>{f(_.currentTarget.value),k(!1)}})]})]}),e("label",{children:["Related tasks",e("select",{multiple:!0,onChange:_=>{v(Array.from(_.currentTarget.selectedOptions).map(y=>y.value)),k(!1)},size:Math.min(5,Math.max(2,u.length)),children:u.map(_=>e("option",{value:_.key,selected:d.includes(_.key),children:[_.title," · ",ce(_.updatedBy)]}))})]}),e("p",{class:"muted",children:"Select related tasks; use ⌘ or Ctrl to select more than one. Shared project and mission keys link work across agents automatically."}),e("button",{class:"primary-button",disabled:g,children:g?"Saving…":"Save details"}),m&&e("span",{class:"saved-message",children:"Saved"})]})]})}function Bt({state:n,mutate:t}){const s=[...Object.values(n.projects).filter(i=>i.archivedAt).map(i=>({...i,kind:"projects"})),...Object.values(n.missions).filter(i=>i.archivedAt).map(i=>({...i,kind:"missions"}))].sort((i,o)=>o.archivedAt.localeCompare(i.archivedAt));return e(C,{children:[e("div",{class:"view-heading",children:e("div",{children:[e("h1",{children:["Archive ",e("span",{class:"section-count",children:s.length})]}),e("p",{children:"Projects and missions hidden from the main views. Tasks and history are preserved."})]})}),e("div",{class:"panel archive-list",children:[s.map(i=>e("div",{children:[e("a",{href:U(i.kind,i.id),children:[e("strong",{children:i.name}),e("span",{children:[i.kind==="missions"?`Mission · ${n.projects[i.projectId]?.name||""}`:"Project"," · Archived ",new Date(i.archivedAt).toLocaleString()]}),i.kind==="missions"&&n.projects[i.projectId]?.archivedAt&&e("span",{children:"Restore the parent project to make this mission visible."})]}),e("button",{class:"secondary-button",onClick:()=>t("archive",{projectId:i.id,archived:!1}),children:"Restore"})]},i.id)),!s.length&&e("p",{class:"muted",children:"No archived projects or missions."})]})]})}function Ht({preferences:n,setPreferences:t,resetFilters:s}){const[i,o]=$("");return e(C,{children:[e("div",{class:"view-heading",children:e("div",{children:[e("h1",{children:"Preferences"}),e("p",{children:"Activity indicators, saved filters, and optional alerts."})]})}),e("section",{class:"panel settings-panel",children:[e("h2",{children:"Stale activity"}),e("label",{children:["Flag active work after no reported update for",e("select",{value:n.staleMinutes,onChange:l=>t({...n,staleMinutes:Number(l.currentTarget.value)}),children:[e("option",{value:0,children:"Off"}),e("option",{value:15,children:"15 minutes"}),e("option",{value:60,children:"1 hour"}),e("option",{value:240,children:"4 hours"}),e("option",{value:1440,children:"1 day"})]})]}),e("p",{class:"muted",children:"Stale describes reporting activity. It does not change a task's status."})]}),e("section",{class:"panel settings-panel",children:[e("h2",{children:"Saved filters"}),e("p",{class:"muted",children:"Project, mission, agent, profile, status, and search selections are remembered separately for each view on this device."}),e("button",{class:"secondary-button",onClick:()=>{s(),o("Saved filters reset.")},children:"Reset saved filters"})]}),e("section",{class:"panel settings-panel",children:[e("h2",{children:"Desktop notifications"}),e("p",{class:"muted",children:"Optional alerts for tasks that finish or become blocked. The dashboard must remain open."}),e("button",{class:"secondary-button",onClick:async()=>{if(n.notifications){t({...n,notifications:!1}),o("Notifications disabled.");return}if(typeof Notification>"u"){o("This browser does not support desktop notifications.");return}try{await Notification.requestPermission()==="granted"?(t({...n,notifications:!0}),o("Notifications enabled.")):o("Notification permission was not granted.")}catch{o("Notifications are unavailable in this browser.")}},children:n.notifications?"Disable notifications":"Enable notifications"}),e("p",{class:"muted",role:"status",children:i})]})]})}const K={todo:"To do",in_progress:"In progress",blocked:"Blocked",completed:"Completed",failed:"Failed",cancelled:"Cancelled",planned:"Planned",running:"Running",active:"Active"},W=n=>n?.trim()||"external",Q=n=>({codex:"Codex",claude:"Claude",grok:"Grok",external:"External"})[W(n)]||W(n),se=n=>{const t=Math.max(0,Math.floor((Date.now()-Date.parse(n))/6e4));return t<1?"Just now":t<60?`${t}m ago`:t<1440?`${Math.floor(t/60)}h ago`:`${Math.floor(t/1440)}d ago`},He=n=>n.status==="completed"?100:n.status==="todo"?0:n.progress,R=(n,t)=>`#/${n}${t?`/${encodeURIComponent(t)}`:""}`;function me({status:n}){return e("span",{class:`badge ${n}`,children:[e("span",{class:"status-dot"}),K[n]||n]})}function ge({value:n,caption:t="Progress"}){return e("div",{class:"progress",children:[e("div",{class:"progress-label",children:[e("span",{children:t}),e("strong",{children:n==null?"Not reported":`${Math.round(n)}%`})]}),e("div",{class:`track ${n==null?"unknown":""}`,role:n==null?void 0:"progressbar","aria-label":t,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":n,children:n!=null&&e("span",{style:{width:`${n}%`}})})]})}function Wt({session:n,state:t,health:s}){const i=Te(t,n);return e("div",{class:"reporter",children:[e("div",{class:"reporter-title",children:[e("span",{class:"avatar",children:Q(n.agent).slice(0,1)}),e("div",{children:[e("strong",{children:i?.name||Q(n.agent)}),e("span",{children:[n.agentId||"Reporter"," · ",se(n.lastSeenAt)]})]})]}),e("dl",{children:[i&&e(C,{children:[e("dt",{children:"Profile"}),e("dd",{children:e("a",{href:R("agents",i.id),children:i.name})})]}),i?.ownerName&&e(C,{children:[e("dt",{children:"Owner"}),e("dd",{children:[i.ownerName,i.ownerEmail?` · ${i.ownerEmail}`:""]})]}),e("dt",{children:"Angine session"}),e("dd",{children:n.id}),n.sourceSessionId&&e(C,{children:[e("dt",{children:"Agent session"}),e("dd",{children:n.sourceSessionId})]}),n.parentAgentId&&e(C,{children:[e("dt",{children:"Parent agent"}),e("dd",{children:n.parentAgentId})]}),n.accountLabel&&e(C,{children:[e("dt",{children:"Account"}),e("dd",{children:n.accountLabel})]})]}),e(Tt,{health:s,session:n})]})}function $n({status:n,items:t,kind:s,limit:i,row:o}){const l=Ye(null),[c,p]=$(),f=t.length>i;return Bn(()=>{const d=l.current;if(!d||!f){p(void 0);return}const v=Array.from(d.children).slice(0,i),g=()=>p(Math.ceil(v.reduce((m,k)=>m+k.getBoundingClientRect().height,0)));g();const a=new ResizeObserver(g);return a.observe(d),v.forEach(m=>a.observe(m)),()=>a.disconnect()},[t,i,f]),e("section",{class:"project-status-section","aria-labelledby":`${s}-${n}`,children:[e("div",{class:"status-section-heading",children:[e("h2",{id:`${s}-${n}`,children:[e("span",{class:`section-status-dot ${n}`}),K[n],e("span",{class:"section-count",children:t.length})]}),e("span",{children:f?`Latest ${i} shown · Scroll for ${t.length-i} more`:"Newest updates first"})]}),e("div",{class:"project-list panel",children:[e("div",{class:s==="tasks"?"task-list-head":"project-list-head","aria-hidden":"true",children:[e("span",{children:s==="tasks"?"Task":s==="missions"?"Mission":"Project"}),e("span",{children:"Status"}),e("span",{children:"Progress"}),s!=="tasks"&&e("span",{children:"Agent"}),e("span",{children:"Updated"}),e("span",{})]}),e("div",{class:`project-scroll ${f?"has-overflow":""}`,ref:l,style:f&&c?{maxHeight:`${c}px`}:void 0,tabIndex:f?0:void 0,role:f?"region":void 0,"aria-label":f?`${K[n]} ${s}, scroll to see all ${t.length}`:void 0,children:t.length?t.map(o):e("div",{class:"status-section-empty",children:["No ",K[n].toLowerCase()," ",s," in this view."]})})]})]})}function Kt(){const[n,t]=$(null),[s,i]=$(location.hash.slice(1)||"/projects"),[o="projects",l]=s.split("/").filter(Boolean);let c="";try{c=decodeURIComponent(l||"")}catch{}const{filters:p,set:f,reset:d,resetAll:v}=Mt(o),{agent:g,status:a,project:m,mission:k,profile:u,query:b,staleOnly:_}=p,{preferences:y,setPreferences:O}=Rt(),{health:M,compatibility:A}=$t();Et(n,y.notifications);const[P,B]=$(""),[Z,ee]=$([]),[E,H]=$(!1),en=Ye(null),[nn,Gn]=$(),[,Qn]=$(0),Ne=r=>t(h=>h&&h.seq>r.seq?h:It(r)),de=async(r,h)=>{B("");try{return Ne(await Dt(r,h)),!0}catch(j){return B(j.message),!1}};X(()=>{const r=()=>{i(location.hash.slice(1)||"/projects"),window.scrollTo(0,0)};return window.addEventListener("hashchange",r),()=>window.removeEventListener("hashchange",r)},[]),X(()=>{fetch("/api/state").then(j=>{if(!j.ok)throw new Error;return j.json()}).then(Ne).catch(()=>H(!1));const r=new EventSource("/api/events");r.addEventListener("state",j=>{Ne(JSON.parse(j.data)),H(!0)}),r.onerror=()=>H(!1);const h=setInterval(()=>Qn(j=>j+1),3e4);return()=>{r.close(),clearInterval(h)}},[]),Bn(()=>{const r=en.current;if(o!=="board"||!r)return;const h=()=>Gn(Math.max(260,window.innerHeight-r.getBoundingClientRect().top-24));h();const j=new ResizeObserver(h);return r.parentElement&&j.observe(r.parentElement),window.addEventListener("resize",h),()=>{j.disconnect(),window.removeEventListener("resize",h)}},[o,!!n]);const w=o==="tasks"&&c?n?.tasks[c]:void 0,I=w?n?.missions[w.missionId]:(o==="missions"||o==="projects")&&c?n?.missions[c]:void 0,x=I?n?.projects[I.projectId]:o==="projects"&&c?n?.projects[c]:void 0,Pe=I?`missions/${encodeURIComponent(I.id)}`:x?`projects/${encodeURIComponent(x.id)}`:"";X(()=>{if(ee([]),!Pe)return;let r=!0;return fetch(`/api/${Pe}/events`).then(h=>{if(!h.ok)throw new Error;return h.json()}).then(h=>{r&&ee(h)}).catch(()=>{}),()=>{r=!1}},[Pe,n?.seq]);const Oe=r=>r.sort((h,j)=>j.updatedAt.localeCompare(h.updatedAt)),he=Oe(Object.values(n?.tasks||{})),tn=Oe(Object.values(n?.missions||{})),Xn=Oe(Object.values(n?.projects||{})).filter(r=>!r.archivedAt),ie=tn.filter(r=>!r.archivedAt&&!n?.projects[r.projectId]?.archivedAt),oe=he.filter(r=>n?.missions[r.missionId]&&!Wn(n,r)),V=Object.values(n?.sessions||{}),Yn=[...new Set([...V.map(r=>W(r.agent)),...oe.map(r=>W(r.updatedBy))])].sort(),D=r=>he.filter(h=>h.missionId===r),ne=r=>ie.filter(h=>h.projectId===r),Me=r=>oe.filter(h=>h.projectId===r),Re=r=>[...new Set([...D(r).map(h=>W(h.updatedBy)),...V.filter(h=>h.missionId===r||h.missionIds?.includes(r)).map(h=>W(h.agent))])],sn=r=>[...new Set([...he.filter(h=>h.projectId===r).map(h=>W(h.updatedBy)),...V.filter(h=>h.projectId===r||h.projectIds?.includes(r)).map(h=>W(h.agent))])],rn=(r,h)=>[...new Set([...r.map(j=>n?Je(n,j)?.id:void 0),...h.map(j=>n?Te(n,j)?.id:void 0)])],Zn=r=>rn(he.filter(h=>h.projectId===r),V.filter(h=>h.projectId===r||h.projectIds?.includes(r))),on=r=>rn(D(r),V.filter(h=>h.missionId===r||h.missionIds?.includes(r))),Ee=Xn.filter(r=>(g==="all"||sn(r.id).includes(g))&&(u==="all"||Zn(r.id).includes(u))),ln=ie.filter(r=>(m==="all"||r.projectId===m)&&(g==="all"||Re(r.id).includes(g))&&(u==="all"||on(r.id).includes(u)));X(()=>{if(n){if(n.missions[m]){f({project:n.missions[m].projectId,mission:m});return}if(m!=="all"&&!Ee.some(r=>r.id===m)){f({project:"all",mission:"all"});return}k!=="all"&&!ln.some(r=>r.id===k)&&f({mission:"all"}),o==="projects"&&!["all","active"].includes(a)&&f({status:"all"})}},[n,o,g,u,m,k,a]);const pe=(...r)=>r.join(" ").toLowerCase().includes(b.toLowerCase().trim()),ue=ie.filter(r=>(m==="all"||r.projectId===m)&&(k==="all"||r.id===k)&&(g==="all"||Re(r.id).includes(g))&&(u==="all"||on(r.id).includes(u))&&(!_||ae(r,y.staleMinutes))&&(o!=="missions"||a==="all"||r.status===a)&&pe(r.name,r.description,n?.projects[r.projectId]?.name)),te=Ee.filter(r=>(m==="all"||r.id===m)&&(!_||ne(r.id).some(h=>ae(h,y.staleMinutes)))&&(pe(r.name,r.description,n?.workspaces[r.workspaceId]?.path)||ne(r.id).some(h=>pe(h.name,h.description)))),J=oe.filter(r=>(m==="all"||r.projectId===m)&&(k==="all"||r.missionId===k)&&(g==="all"||W(r.updatedBy)===g)&&(u==="all"||n&&Je(n,r)?.id===u)&&(!_||ae(r,y.staleMinutes))&&(a==="all"||r.status===a)&&pe(r.title,r.note,n?.missions[r.missionId]?.name,n?.projects[r.projectId]?.name)),et=o==="projects"?oe.filter(r=>te.some(h=>h.id===r.projectId)):o==="missions"?oe.filter(r=>ue.some(h=>h.id===r.missionId)):J,an=r=>{const h=r.filter(j=>j.status!=="cancelled");return h.length?Math.round(h.filter(j=>j.status==="completed").length/h.length*100):0},nt=r=>f({agent:r,...r!=="all"&&u!=="all"&&n?.profiles[u]?.agent!==r?{profile:"all"}:{}}),De=r=>e("a",{class:"task-row",href:R("tasks",r.id),children:[e("div",{class:"task-row-main",children:[e("span",{class:`task-status ${r.status}`}),e("div",{children:[e("strong",{children:r.title}),e("span",{children:[n?.projects[r.projectId]?.name," / ",n?.missions[r.missionId]?.name," · ",Q(r.updatedBy)," ",e(_e,{item:r,minutes:y.staleMinutes})]})]})]}),e(me,{status:r.status}),e(ge,{value:He(r)}),e("span",{class:"row-time",children:se(r.updatedAt)}),e("span",{class:"row-arrow",children:"↗"})]},r.id),tt=r=>e("a",{class:"project-row",href:R("missions",r.id),children:[e("div",{class:"project-row-main",children:[e("strong",{children:[r.name," ",e(_e,{item:r,minutes:y.staleMinutes})]}),e("span",{children:n?.projects[r.projectId]?.name}),r.description&&e("p",{children:r.description})]}),e(me,{status:r.status}),e(ge,{value:an(D(r.id)),caption:`${D(r.id).filter(h=>h.status==="completed").length} / ${D(r.id).filter(h=>h.status!=="cancelled").length} tasks`}),e("span",{class:"project-row-agents",children:Re(r.id).map(Q).join(" · ")||"External"}),e("span",{class:"row-time",children:se(r.updatedAt)}),e("span",{class:"row-arrow",children:"↗"})]},r.id),st=r=>{const h=ne(r.id),j=h.filter(F=>F.status==="running").length,z=n?qn(n,Me(r.id),M,y.staleMinutes).length:0;return e("a",{class:"project-row",href:R("projects",r.id),children:[e("div",{class:"project-row-main",children:[e("strong",{children:r.name}),e("span",{children:[h.length," missions · ",Me(r.id).length," tasks",z?` · ${z} need attention`:""]}),r.description&&e("p",{children:r.description})]}),e(me,{status:"active"}),e("div",{class:"project-mission-count",children:[e("strong",{children:[j," running"]}),e("span",{children:[h.filter(F=>F.status==="completed").length," completed missions"]})]}),e("span",{class:"project-row-agents",children:sn(r.id).map(Q).join(" · ")||"External"}),e("span",{class:"row-time",children:se(r.updatedAt)}),e("span",{class:"row-arrow",children:"↗"})]},r.id)},cn=(r,h="all")=>e("div",{class:"project-sections",children:["running","planned","blocked","completed","failed","cancelled"].filter(j=>(h==="all"||h===j)&&(!["planned","blocked"].includes(j)||r.some(z=>z.status===j)||h===j)).map(j=>e($n,{status:j,kind:"missions",items:r.filter(z=>z.status===j),limit:j==="running"?10:5,row:tt},j))}),rt=r=>e("div",{class:"activity",children:r.length?r.slice(-40).reverse().map(h=>e("div",{children:[e("span",{class:"activity-dot"}),e("div",{children:[e("strong",{children:h.type.startsWith("task.")?h.type==="task.removed"?"Task removed":`${h.type==="task.created"?"Created · ":""}${K[String(h.payload.status)]||"Updated"}`:h.type.replace(h.type.startsWith("project.")&&h.payload.status!=="active"?"project.":"never.","mission.").replaceAll("."," ")}),h.payload.note&&e("p",{children:String(h.payload.note)}),e("span",{children:new Date(h.timestamp).toLocaleString()})]})]},h.seq)):e("p",{class:"muted",children:"No recorded activity yet."})}),dn=!!c,L=w||I||x,it=x&&L&&(o!=="tasks"||w)&&(o!=="missions"||I),hn=w?V.filter(r=>r.id===w.updatedBySessionId):I?V.filter(r=>r.missionId===I.id||r.missionIds?.includes(I.id)):x?V.filter(r=>r.projectId===x.id||r.projectIds?.includes(x.id)):[],pn=o==="projects"&&I?"missions":o,un=(r,h,j,z)=>e("label",{class:"filter-label project-picker",children:[e("span",{children:r}),e("select",{"aria-label":`Filter by ${r.toLowerCase()}`,value:h,onChange:F=>z(F.currentTarget.value),children:[e("option",{value:"all",children:["All ",r.toLowerCase(),"s"]}),[...j].sort((F,lt)=>F.name.localeCompare(lt.name)).map(F=>e("option",{value:F.id,children:F.name},F.id))]})]}),ot=o==="projects"?["active"]:o==="missions"?["running","planned","blocked","completed","failed","cancelled"]:["todo","in_progress","blocked","completed","failed","cancelled"];return e("div",{class:"shell",children:[e("header",{class:"topbar",children:[e("a",{class:"brand",href:R("projects"),children:[e("span",{class:"brand-mark"}),"Angine"]}),e("nav",{"aria-label":"Main navigation",children:["projects","missions","tasks","board","agents","archive","settings"].map(r=>e("a",{href:R(r),class:pn===r?"active":"","aria-current":pn===r?"page":void 0,children:r==="settings"?"Preferences":r[0].toUpperCase()+r.slice(1)},r))}),e("div",{class:"connection",children:[e("span",{class:E?"live-dot":"offline-dot"}),E?"Dashboard live":"Dashboard reconnecting"]})]}),e("main",{class:dn?"detail-page":"overview-page",children:[e(xt,{compatibility:A}),P&&e("div",{class:"error-banner",role:"alert",children:[P,e("button",{class:"text-button",onClick:()=>B(""),children:"Dismiss"})]}),n?o==="agents"?e(Ut,{health:M,compatibility:A,state:n,profileId:c||void 0,mutate:de,taskRow:De}):o==="archive"?e(Bt,{state:n,mutate:de}):o==="settings"?e(Ht,{preferences:y,setPreferences:O,resetFilters:v}):dn?it&&x&&L?e(C,{children:[e("nav",{class:"breadcrumbs","aria-label":"Breadcrumb",children:[e("a",{href:R("projects"),children:"Projects"}),e("span",{children:"/"}),I?e(C,{children:[e("a",{href:R("projects",x.id),children:x.name}),e("span",{children:"/"}),w?e(C,{children:[e("a",{href:R("missions",I.id),children:I.name}),e("span",{children:"/"}),e("span",{children:"Task"})]}):e("span",{children:I.name})]}):e("span",{children:x.name})]}),e("div",{class:"page-heading detail-heading",children:[e("div",{children:[e("div",{class:"overline",children:[w?"TASK":I?"MISSION":"PROJECT"," ",e("span",{children:L.key})]}),e("h1",{children:w?.title||I?.name||x.name}),e("div",{class:"heading-meta",children:[e(me,{status:L.status}),e("span",{children:["Updated ",se(L.updatedAt)]}),I&&e(_e,{item:w||I,minutes:y.staleMinutes}),!w&&e("button",{class:"secondary-button",onClick:()=>de("archive",{projectId:L.id,archived:!("archivedAt"in L&&L.archivedAt)}),children:["archivedAt"in L&&L.archivedAt?"Restore":"Archive"," ",I?"mission":"project"]}),(x.archivedAt||I?.archivedAt)&&e("span",{children:"Archived"})]})]}),I?e("div",{class:"heading-progress",children:e(ge,{value:w?He(w):an(D(I.id)),caption:w?"Task progress":"Tasks completed"})}):e("div",{class:"project-overview-counts",children:[e("strong",{children:ne(x.id).length}),e("span",{children:"missions"}),e("strong",{children:Me(x.id).length}),e("span",{children:"tasks"})]})]}),e("div",{class:"detail-grid",children:[e("div",{class:"detail-main",children:[e("section",{class:"panel",children:[e("h2",{children:"Overview"}),w&&e("p",{class:"report-provenance",children:["Status reported by ",Q(w.updatedBy)," · ",new Date(w.updatedAt).toLocaleString(),e("span",{children:"Completion is agent reported; test results are not independently verified."})]}),e("p",{class:"description",children:L.description||(I?"No description provided.":"Missions collect the goals and tasks for this project. Completing a mission does not close the project.")}),w?.note&&e("div",{class:"latest-update",children:[e("div",{class:"overline",children:"LATEST UPDATE"}),e("p",{children:w.note})]})]}),!I&&e("section",{children:[e("div",{class:"panel-heading",children:[e("h2",{children:"Missions"}),e("span",{children:ne(x.id).length})]}),cn(x.archivedAt?tn.filter(r=>r.projectId===x.id):ne(x.id))]}),w&&e(Ft,{task:w,state:n,mutate:de},w.id),I&&(!w||D(I.id).some(r=>r.parentKey===w.key))&&e("section",{class:"panel",children:[e("div",{class:"panel-heading",children:[e("h2",{children:w?"Subtasks":"Tasks"}),e("span",{children:(w?D(I.id).filter(r=>r.parentKey===w.key):D(I.id)).length})]}),e("div",{class:"task-table",children:(w?D(I.id).filter(r=>r.parentKey===w.key):D(I.id)).map(De)})]}),e("section",{class:"panel",children:[e("h2",{children:"Activity"}),rt(Z.filter(r=>w?r.taskId===w.id:!r.type.startsWith("session.")))]})]}),e("div",{class:"detail-info",children:[e("section",{class:"panel",children:[e("h2",{children:"Details"}),e("dl",{children:[e("dt",{children:"Project"}),e("dd",{children:e("a",{href:R("projects",x.id),children:x.name})}),I&&e(C,{children:[e("dt",{children:"Mission"}),e("dd",{children:e("a",{href:R("missions",I.id),children:I.name})})]}),e("dt",{children:"Workspace"}),e("dd",{children:n.workspaces[x.workspaceId]?.path}),e("dt",{children:"Created"}),e("dd",{children:new Date(L.createdAt).toLocaleString()}),w?.parentKey&&e(C,{children:[e("dt",{children:"Parent task"}),e("dd",{children:D(w.missionId).find(r=>r.key===w.parentKey)?e("a",{href:R("tasks",D(w.missionId).find(r=>r.key===w.parentKey).id),children:w.parentKey}):w.parentKey})]})]})]}),e("section",{class:"panel",children:[e("h2",{children:w?"Reporting agent":"Reporter sessions"}),hn.map(r=>e(Wt,{session:r,state:n,health:M},r.id)),!hn.length&&e("p",{class:"muted",children:"No reporter session available for this item."})]})]})]})]}):e("div",{class:"empty",children:[e("h2",{children:"This page is unavailable"}),e("a",{href:R("projects"),children:"Return to projects"})]}):e(C,{children:[e("div",{class:"overview-toolbar",children:[e("div",{class:"stats",children:o==="projects"?e(C,{children:[e("div",{children:[e("strong",{children:te.length}),e("span",{children:"Projects"})]}),e("div",{children:[e("strong",{children:ie.filter(r=>te.some(h=>h.id===r.projectId)&&r.status==="running").length}),e("span",{children:"Running missions"})]}),e("div",{children:[e("strong",{children:ie.filter(r=>te.some(h=>h.id===r.projectId)&&r.status==="completed").length}),e("span",{children:"Completed missions"})]})]}):["all",o==="missions"?"running":"in_progress","blocked","completed","failed","cancelled"].map(r=>e("div",{children:[e("strong",{children:o==="missions"?r==="all"?ue.length:ue.filter(h=>h.status===r).length:r==="all"?J.length:J.filter(h=>h.status===r).length}),e("span",{children:r==="all"?"Total":K[r]})]},r))}),e("div",{class:"toolbar",children:[e("label",{class:"search",children:[e("span",{"aria-hidden":"true",children:"⌕"}),e("input",{"aria-label":"Search work",placeholder:"Search projects, missions, tasks…",value:b,onInput:r=>f({query:r.currentTarget.value})})]}),e("label",{class:"filter-label",children:[e("span",{children:"Agent"}),e("select",{"aria-label":"Filter by agent",value:g,onChange:r=>nt(r.currentTarget.value),children:[e("option",{value:"all",children:"All agents"}),Yn.map(r=>e("option",{value:r,children:Q(r)},r))]})]}),o!=="projects"&&un("Project",m,Ee,r=>f({project:r,mission:"all"})),["tasks","board"].includes(o)&&un("Mission",k,ln,r=>f({mission:r})),o!=="projects"&&e("label",{class:"filter-label",children:[e("span",{children:"Status"}),e("select",{"aria-label":"Filter by status",value:a,onChange:r=>f({status:r.currentTarget.value}),children:[e("option",{value:"all",children:"All statuses"}),ot.map(r=>e("option",{value:r,children:K[r]},r))]})]}),e("details",{class:"more-filters",children:[e("summary",{children:["More filters",u!=="all"||_?" · On":""]}),e("div",{class:"extra-filters",children:[e("label",{class:"filter-label",children:[e("span",{children:"Profile"}),e("select",{"aria-label":"Filter by profile",value:u,onChange:r=>f({profile:r.currentTarget.value}),children:[e("option",{value:"all",children:"All profiles"}),Object.values(n.profiles).filter(r=>g==="all"||r.agent===g).map(r=>e("option",{value:r.id,children:r.name},r.id))]})]}),e("label",{class:"filter-label",children:[e("span",{children:"Activity"}),e("select",{"aria-label":"Filter stale activity",value:_?"stale":"all",onChange:r=>f({staleOnly:r.currentTarget.value==="stale"}),children:[e("option",{value:"all",children:"All activity"}),e("option",{value:"stale",children:"Stale only"})]})]})]})]}),(b||g!=="all"||a!=="all"||u!=="all"||_||m!=="all"||k!=="all")&&e("button",{class:"clear-filters",onClick:d,children:"Reset"})]})]}),e(Ot,{state:n,tasks:et,health:M,staleMinutes:y.staleMinutes}),o==="board"?e("div",{class:"board",ref:en,style:nn?{height:`${nn}px`}:void 0,children:["todo","in_progress","blocked","completed","failed","cancelled"].map(r=>e("section",{class:"board-column",children:[e("div",{class:"column-heading",children:[e("span",{class:`task-status ${r}`}),e("h2",{children:K[r]}),e("span",{children:J.filter(h=>h.status===r).length})]}),e("div",{class:"board-stack",tabIndex:0,role:"region","aria-label":`${K[r]} tasks, scroll this column`,children:[J.filter(h=>h.status===r).map(h=>e("a",{class:"board-card",href:R("tasks",h.id),children:[e("span",{class:"board-project",children:[n.projects[h.projectId]?.name," / ",n.missions[h.missionId]?.name]}),e("strong",{children:[h.title," ",e(_e,{item:h,minutes:y.staleMinutes})]}),h.blocker?.nextStep&&e("p",{class:"blocker-next",children:["Next: ",h.blocker.nextStep]}),h.note&&e("p",{children:h.note}),e(ge,{value:He(h)}),e("div",{class:"board-footer",children:[e("span",{children:Q(h.updatedBy)}),e("span",{children:se(h.updatedAt)})]})]},h.id)),!J.some(h=>h.status===r)&&e("div",{class:"column-empty",children:"No tasks"})]})]},r))}):o==="tasks"?e("div",{class:"project-sections",children:["in_progress","todo","blocked","completed","failed","cancelled"].filter(r=>(a==="all"||a===r)&&(!["todo","blocked"].includes(r)||J.some(h=>h.status===r)||a===r)).map(r=>e($n,{status:r,kind:"tasks",items:J.filter(h=>h.status===r),limit:r==="in_progress"?10:5,row:De},r))}):o==="missions"?cn(ue,a):e("div",{class:"project-list panel",children:[e("div",{class:"project-list-head","aria-hidden":"true",children:[e("span",{children:"Project"}),e("span",{children:"Status"}),e("span",{children:"Missions"}),e("span",{children:"Agents"}),e("span",{children:"Updated"}),e("span",{})]}),te.map(st),!te.length&&e("div",{class:"status-section-empty",children:"No projects match these filters."})]})]}):e("div",{class:"empty",children:e("h2",{children:"Loading your work…"})}),e("footer",{class:"footer",children:[e("span",{children:"Angine"}),e("span",{children:"Stored locally on this device"})]})]})]})}_t(e(Kt,{}),document.getElementById("app"));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#20252d;background:#f7f8fa;font-synthesis:none;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}a{color:inherit;text-decoration:none}button,a,input,select{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8aacf8;outline-offset:3px}button,select{cursor:pointer}.topbar{height:68px;background:#fff;border-bottom:1px solid #e5e7ec;display:flex;align-items:center;gap:48px;padding:0 max(28px,calc((100vw - 1260px)/2));position:sticky;top:0;z-index:10}.brand{font-weight:750;font-size:19px;letter-spacing:-.6px;display:flex;align-items:center;gap:10px}.brand-mark{width:19px;height:23px;background:#315cce;border-radius:4px 4px 8px;position:relative}.brand-mark:after{content:"";position:absolute;width:7px;height:7px;background:#fff;border-radius:2px;top:5px;left:6px}.topbar nav{display:flex;align-self:stretch;gap:28px}.topbar nav a{display:flex;align-items:center;color:#737b87;font-weight:550;border-bottom:2px solid transparent;padding-top:2px}.topbar nav a.active{color:#243e82;border-color:#315cce}.connection{display:flex;align-items:center;gap:7px;margin-left:auto;font-size:12px;color:#737b87;white-space:nowrap}.live-dot,.offline-dot{width:6px;height:6px;border-radius:50%;background:#25815b}.offline-dot{background:#9ca3af}main{max-width:1316px;padding:42px 28px 0;margin:0 auto;min-height:calc(100vh - 68px)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-bottom:32px}.overline{font-size:10px;font-weight:700;letter-spacing:1.3px;color:#88919f}.overline span{margin-left:8px;letter-spacing:0;font-weight:400}.page-heading h1{font-size:32px;font-weight:650;letter-spacing:-1.1px;margin:8px 0 10px;line-height:1.25;overflow-wrap:anywhere}.page-heading p{font-size:14px;color:#7a8390;margin:0;line-height:1.6}.stats{display:flex;gap:36px}.stats div{display:flex;flex-direction:column;gap:5px}.stats strong{font-size:26px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.8px}.stats span{font-size:12px;color:#7e8794}.toolbar{display:flex;align-items:center;gap:12px;border-top:1px solid #e4e7ed;border-bottom:1px solid #e4e7ed;padding:16px 0;margin-bottom:24px;flex-wrap:wrap}.search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e0e4eb;border-radius:7px;padding:0 12px;flex:1;max-width:380px;min-width:180px;height:36px;color:#87909c}.search span{font-size:22px}.search input{border:0;background:transparent;width:100%;outline:none;font-size:12px;color:#273041}.search input::placeholder{color:#8b929e}.filter-label{display:flex;align-items:center;border:1px solid #e0e4eb;background:#fff;border-radius:7px;height:36px;padding-left:11px;gap:5px}.filter-label>span{font-size:11px;color:#8a929f}.filter-label select{border:0;background:transparent;color:#3c4554;padding:7px 22px 7px 3px;max-width:180px;font-size:12px}.clear-filters{background:none;border:0;color:#315cce;font-size:12px;padding:8px}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:18px}.project-card{background:#fff;border:1px solid #e1e5ec;border-radius:10px;padding:22px;display:flex;flex-direction:column;min-width:0;transition:border-color .15s,box-shadow .15s}.project-card:hover{border-color:#aebfdc;box-shadow:0 3px 12px #29385908}.project-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.workspace-label{font-size:11px;color:#9299a5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-card h2{font-size:18px;line-height:1.4;font-weight:600;letter-spacing:-.3px;margin:21px 0 8px;overflow-wrap:anywhere}.project-card>p{font-size:12px;line-height:1.65;color:#89919e;margin:0 0 26px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px;overflow-wrap:anywhere}.project-card .progress{margin-top:auto}.project-card-footer{display:flex;justify-content:space-between;gap:14px;margin-top:20px;padding-top:15px;border-top:1px solid #f0f1f5;color:#8c94a1;font-size:11px;overflow-wrap:anywhere}.project-card-footer>span:last-child{white-space:nowrap}.row-arrow{color:#929aa8;font-size:15px}.badge{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;border-radius:5px;font-size:10px;font-weight:550;padding:5px 7px;background:#f0f2f5;color:#747d8c}.status-dot{width:4px;height:4px;border-radius:50%;background:currentColor}.badge.running,.badge.in_progress{background:#edf2ff;color:#4265ad}.badge.blocked{background:#fff4df;color:#ab7825}.badge.completed{background:#eaf6ef;color:#428162}.badge.failed{background:#fceeee;color:#b36262}.progress{min-width:0}.progress-label{display:flex;justify-content:space-between;gap:12px;color:#9aa2ae;font-size:10px;margin-bottom:8px}.progress-label strong{color:#626d7e;font-size:11px;font-weight:550;font-variant-numeric:tabular-nums;white-space:nowrap}.track{height:4px;border-radius:4px;background:#edf0f5;overflow:hidden}.track>span{display:block;background:#5277ce;height:100%;border-radius:4px}.track.unknown{background:repeating-linear-gradient(110deg,#edf0f5,#edf0f5 5px,#e4e8f0 5px 8px)}.panel{background:#fff;border:1px solid #e1e5ec;border-radius:10px;padding:24px;min-width:0}.panel h2{font-size:14px;font-weight:600;letter-spacing:-.1px;margin:0 0 20px}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.panel-heading h2{margin:0}.panel-heading>span{font-size:12px;color:#9098a5}.task-table{padding:0;overflow:hidden}.panel>.task-table{margin:0 -24px -24px}.task-row{display:grid;grid-template-columns:minmax(0,1fr) 112px 120px 70px 14px;align-items:center;gap:20px;padding:18px 22px;min-width:0;background:#fff}.task-row+.task-row{border-top:1px solid #eef0f4}.task-row:hover{background:#fafbfe}.task-row-main{display:flex;align-items:center;gap:13px;min-width:0}.task-row-main>div{min-width:0}.task-row-main strong{display:block;font-size:13px;line-height:1.5;font-weight:550;overflow-wrap:anywhere}.task-row-main div>span{display:block;font-size:11px;color:#949ca9;margin-top:4px;overflow-wrap:anywhere}.task-status{display:inline-block;flex-shrink:0;width:11px;height:11px;border:1.5px solid #bbc2cc;border-radius:50%}.task-status.in_progress{border-color:#5277ce;border-right-color:#d9e2f6}.task-status.completed{background:#68a183;border-color:#68a183}.task-status.blocked{border-color:#bf9647;background:#fff4df}.task-status.failed{border-color:#bd7171;background:#fceeee}.task-status.cancelled{background:#c7ccd5}.row-time{font-size:11px;color:#9aa2af;white-space:nowrap}.task-row .badge{justify-self:start}.board{display:flex;gap:18px;overflow-x:auto;padding-bottom:20px;min-height:400px}.board-column{flex:0 0 270px;min-width:0}.column-heading{display:flex;align-items:center;gap:8px;margin-bottom:16px;height:26px}.column-heading h2{font-size:12px;font-weight:550;margin:0}.column-heading>span:last-child{font-size:10px;color:#949daa;background:#e9edf3;padding:2px 5px;border-radius:4px}.board-stack{display:flex;flex-direction:column;gap:12px}.board-card{display:flex;flex-direction:column;min-width:0;max-width:100%;padding:17px;background:#fff;border:1px solid #e1e5ec;border-radius:9px;transition:border-color .15s}.board-card:hover{border-color:#aebfdc}.board-project{font-size:10px;color:#949caa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:11px}.board-card>strong{font-size:13px;font-weight:550;line-height:1.55;overflow-wrap:anywhere}.board-card>p{font-size:11px;line-height:1.65;color:#8b94a2;margin:9px 0 0;overflow-wrap:anywhere}.board-card .progress{margin-top:20px}.board-footer{display:flex;justify-content:space-between;gap:12px;color:#929ca9;font-size:10px;margin-top:15px;overflow-wrap:anywhere}.column-empty{font-size:11px;color:#a4acb8;padding:25px;text-align:center;border:1px dashed #dce1e9;border-radius:8px}.breadcrumbs{display:flex;align-items:center;gap:10px;font-size:12px;color:#949caa;margin-bottom:27px;flex-wrap:wrap;overflow-wrap:anywhere}.breadcrumbs a:hover{color:#315cce}.breadcrumbs>span:last-child{color:#596577}.detail-heading{align-items:flex-end;border-bottom:1px solid #e4e7ed;padding-bottom:30px;margin-bottom:26px}.detail-heading>div:first-child{max-width:850px;min-width:0}.detail-heading h1{font-size:29px}.heading-meta{display:flex;align-items:center;gap:15px;color:#969ead;font-size:11px}.heading-progress{width:180px;flex-shrink:0;padding-bottom:5px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px}.detail-main,.detail-info{display:flex;flex-direction:column;gap:22px;min-width:0}.description{font-size:13px;color:#758093;line-height:1.8;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.latest-update{padding:17px 18px;border-left:2px solid #849bd0;background:#f7f9fd;margin-top:24px;border-radius:0 6px 6px 0}.latest-update p{font-size:13px;color:#56667f;line-height:1.7;margin:9px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}dl{margin:0}dt{font-size:10px;color:#98a1af;margin-top:17px}dt:first-child{margin-top:0}dd{margin:5px 0 0;font-size:11px;color:#67758a;line-height:1.6;overflow-wrap:anywhere}dd a{color:#315cce}.reporter+.reporter{border-top:1px solid #edf0f5;margin-top:22px;padding-top:22px}.reporter-title{display:flex;gap:10px;align-items:center;margin-bottom:20px}.avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;background:#eff2f8;color:#607598;font-size:12px;font-weight:600}.reporter-title strong{display:block;font-size:12px;font-weight:550}.reporter-title div>span{display:block;font-size:10px;color:#98a1af;margin-top:4px;overflow-wrap:anywhere}.activity>div{display:flex;gap:14px;position:relative;padding:0 0 24px}.activity>div:last-child{padding-bottom:0}.activity-dot{width:6px;height:6px;margin-top:5px;background:#a4b1c8;border-radius:50%;flex-shrink:0}.activity>div:not(:last-child):before{content:"";position:absolute;left:2.5px;top:14px;bottom:5px;width:1px;background:#e9edf3}.activity strong{font-size:12px;font-weight:500;color:#5e6d82}.activity div>span:not(.activity-dot){display:block;font-size:10px;color:#9da6b4;margin-top:6px}.activity p{font-size:12px;color:#7c899b;line-height:1.6;margin:7px 0;overflow-wrap:anywhere}.muted{font-size:12px;color:#96a0af;line-height:1.7}.empty{padding:65px 30px;text-align:center;color:#9ca5b3;grid-column:1/-1}.empty h2{font-size:18px;color:#667287;font-weight:500}.empty p{font-size:12px;line-height:1.7}.empty a{color:#315cce;font-size:12px}.footer{display:flex;justify-content:space-between;font-size:10px;color:#a5adba;padding:32px 0 22px;margin-top:28px;border-top:1px solid #e6e9ef}@media(max-width:1000px){.detail-grid{grid-template-columns:minmax(0,1fr) 270px}.task-row{grid-template-columns:minmax(0,1fr) 100px 90px;gap:14px}.row-time,.task-row>.row-arrow{display:none}.stats{gap:22px}.detail-info .panel{padding:20px}}@media(max-width:720px){.topbar{height:60px;padding:0 18px;gap:24px}.topbar nav{gap:17px;font-size:12px}.brand{font-size:17px}.connection{font-size:0}.connection span{width:6px;height:6px}main{padding:28px 18px 0}.page-heading{align-items:flex-start;flex-direction:column;gap:22px}.page-heading h1{font-size:27px}.page-heading p{font-size:12px}.stats{width:100%;justify-content:space-between}.stats strong{font-size:23px}.stats span{font-size:11px}.search{max-width:none;flex-basis:100%}.filter-label{flex:1}.filter-label select{width:100%}.detail-grid{display:flex;flex-direction:column}.heading-progress{width:100%}.panel{padding:20px}.panel>.task-table{margin:0 -20px -20px}.task-row{grid-template-columns:minmax(0,1fr) 100px;gap:12px;padding:16px 18px}.task-row .progress{grid-column:1/-1;margin-left:24px}.task-row .progress-label>span{display:none}.task-row .progress-label{justify-content:flex-end;margin-bottom:5px}.board-column{flex-basis:260px}.project-card{padding:20px}.detail-heading h1{font-size:25px}.breadcrumbs{font-size:11px}.detail-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}}.project-list{padding:0;overflow:hidden}.project-list-head,.project-row{display:grid;grid-template-columns:minmax(0,1fr) 100px 150px 110px 75px 14px;align-items:center;gap:24px}.project-list-head{padding:13px 22px;border-bottom:1px solid #e8ebf1;color:#929baa;font-size:10px;background:#fafbfc}.project-row{padding:21px 22px;min-width:0}.project-row+.project-row{border-top:1px solid #edf0f5}.project-row:hover{background:#fafbfe}.project-row-main{min-width:0}.project-row-main strong{display:block;font-size:14px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}.project-row-main>span{display:block;font-size:10px;color:#9aa3b1;margin-top:4px;overflow-wrap:anywhere}.project-row-main>p{font-size:11px;color:#8995a5;line-height:1.5;margin:7px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-row .badge{justify-self:start}.project-row-agents{font-size:11px;color:#7d8b9e;overflow-wrap:anywhere}@media(max-width:1000px){.project-list-head,.project-row{grid-template-columns:minmax(0,1fr) 100px 125px 90px;gap:16px}.project-list-head>span:nth-last-child(-n+2),.project-row>.row-time,.project-row>.row-arrow{display:none}}@media(max-width:720px){.project-list-head{display:none}.project-row{grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:18px}.project-row>.progress{grid-column:1;grid-row:2}.project-row-agents{grid-column:2;grid-row:2;text-align:right}.project-row-main>p{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.project-row .badge{justify-self:end}}.project-group{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 22px;background:#f5f7fb;border-bottom:1px solid #e6eaf1;border-top:1px solid #e6eaf1}.project-list-head+.project-group{border-top:0}.project-group strong{font-size:11px;font-weight:600;color:#69768b}.project-group>span{font-size:10px;color:#98a2b1}@media(max-width:720px){.project-group{padding:12px 18px}}.project-sections{display:flex;flex-direction:column;gap:30px}.status-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px}.status-section-heading h2{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:600;margin:0;color:#46546a}.status-section-heading>span{font-size:10px;color:#98a2b1}.section-count{font-size:10px;font-weight:500;color:#748298;background:#e9edf4;border-radius:5px;padding:3px 6px;min-width:22px;text-align:center}.section-status-dot{width:7px;height:7px;border-radius:50%;background:#a0aabb}.section-status-dot.running{background:#5277ce}.section-status-dot.completed{background:#68a183}.section-status-dot.blocked{background:#bf9647}.section-status-dot.failed{background:#bd7171}.project-scroll{overflow-y:auto;scrollbar-gutter:stable}.project-scroll.has-overflow{overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#b6c1d3 #f5f7fb}.project-scroll::-webkit-scrollbar{width:7px}.project-scroll::-webkit-scrollbar-track{background:#f5f7fb}.project-scroll::-webkit-scrollbar-thumb{background:#b6c1d3;border-radius:5px}.status-section-empty{font-size:12px;color:#99a4b4;padding:23px 22px}.stats{flex-wrap:wrap}.project-scroll:focus-visible{outline:2px solid #8aacf8;outline-offset:-2px}@media(max-width:720px){.status-section-heading{align-items:flex-start}.status-section-heading>span{text-align:right;max-width:150px;line-height:1.5}.stats{gap:18px}.stats>div{min-width:45px}.project-sections{gap:25px}}.task-list-head{display:grid;grid-template-columns:minmax(0,1fr) 112px 120px 70px 14px;align-items:center;gap:20px;padding:13px 22px;border-bottom:1px solid #e8ebf1;color:#929baa;font-size:10px;background:#fafbfc}.project-picker select{max-width:240px}.project-scroll .task-row{border-radius:0}@media(max-width:1000px){.task-list-head{grid-template-columns:minmax(0,1fr) 100px 90px;gap:14px}.task-list-head>span:nth-last-child(-n+2){display:none}}@media(max-width:720px){.task-list-head{display:none}.project-picker{flex-basis:100%}.project-picker select{max-width:none}}.board{height:calc(100dvh - 340px);min-height:260px;align-items:stretch;overflow-y:hidden;padding-bottom:12px}.board-column{display:flex;flex-direction:column;min-height:0}.column-heading{flex-shrink:0}.board-stack{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;padding-right:5px;padding-bottom:8px;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#b6c1d3 #f5f7fb}.board-card,.column-empty{flex-shrink:0}.board-stack:focus-visible{outline:2px solid #8aacf8;outline-offset:-2px;border-radius:8px}.board-stack::-webkit-scrollbar{width:7px}.board-stack::-webkit-scrollbar-track{background:#f5f7fb}.board-stack::-webkit-scrollbar-thumb{background:#b6c1d3;border-radius:5px}.overview-page{padding-top:24px}.overview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:26px;padding-bottom:20px;border-bottom:1px solid #e4e7ed}.overview-toolbar>.stats{flex-shrink:0;gap:20px}.overview-toolbar .stats strong{font-size:21px}.overview-toolbar .stats span{font-size:10px}.overview-toolbar>.toolbar{border:0;margin:0;padding:0;justify-content:flex-end;flex:1;gap:8px}.overview-toolbar .search{flex:1 1 200px;max-width:300px;min-width:180px}.overview-toolbar .project-picker select{max-width:180px}@media(max-width:1050px){.overview-toolbar{align-items:flex-start;flex-direction:column;gap:20px}.overview-toolbar>.toolbar{width:100%;justify-content:flex-end}.overview-toolbar>.stats{width:100%;justify-content:flex-start}}@media(max-width:720px){.overview-toolbar{gap:20px}.overview-toolbar>.toolbar{justify-content:flex-start}.overview-toolbar .search{max-width:none;flex-basis:100%}.overview-toolbar .project-picker select{max-width:none}.overview-toolbar>.stats{justify-content:space-between;gap:12px}.overview-toolbar .stats strong{font-size:22px}}.stale-tag{display:inline-block!important;font-size:9px!important;line-height:1.4;font-weight:500;color:#b07c2c!important;background:#fff4dd;border:1px solid #f2dfb8;border-radius:4px;padding:2px 5px;margin-left:5px;vertical-align:middle}.primary-button,.secondary-button{border-radius:6px;padding:8px 13px;font-size:12px;font-weight:500;cursor:pointer}.primary-button{color:#fff;background:#315cce;border:1px solid #315cce}.secondary-button{color:#5a6c87;background:#fff;border:1px solid #dce3ee}.primary-button:disabled,.secondary-button:disabled{opacity:.6;cursor:wait}.text-button{border:0;background:none;color:#5675a9;font-size:11px;cursor:pointer;padding:4px}.error-banner{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:13px 16px;border:1px solid #f0d7d2;background:#fff3f1;border-radius:8px;margin-bottom:20px;font-size:12px;color:#a2665b}.view-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:27px}.view-heading h1{font-size:25px;font-weight:600;letter-spacing:-.7px;margin:0 0 8px}.view-heading p{font-size:12px;color:#8896a9;line-height:1.7;margin:0}main>.panel{margin-bottom:22px}.profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px}.profile-card .panel-heading a h2{margin:0}.profile-labels{display:flex;gap:7px;flex-wrap:wrap}.profile-labels span{background:#f0f3f8;border-radius:5px;color:#7d8da5;font-size:10px;padding:4px 7px}.profile-counts{display:flex;gap:12px;margin-top:24px;padding-top:17px;border-top:1px solid #edf0f6;font-size:11px;color:#6b80a3;flex-wrap:wrap}.profile-summary{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;color:#7587a1}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.profile-form label,.workflow-form label,.settings-panel label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#788ba6}.profile-form input:not([type=checkbox]),.workflow-form input,.workflow-form textarea,.workflow-form select,.settings-panel select{width:100%;border:1px solid #dfe5ef;border-radius:6px;background:#fff;color:#516886;font:inherit;padding:9px 10px}.profile-form input[readonly]{background:#f5f7fa;color:#99a4b7}.profile-form .check-label{display:flex;flex-direction:row;align-items:center;margin-top:18px}.profile-form .check-label input{width:auto}.workflow-form{display:flex;flex-direction:column;gap:15px}.workflow-form textarea{resize:vertical;min-height:68px;line-height:1.6}.workflow-form .primary-button{align-self:flex-start}.related-links,.linked-projects{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.related-links a,.linked-projects a{border:1px solid #e9edf4;border-radius:6px;padding:11px 13px;font-size:12px;color:#5e769c;overflow-wrap:anywhere}.related-links a span,.linked-projects a span{display:block;font-size:10px;color:#9ba7ba;margin-top:5px}.saved-message{color:#5d9276;font-size:11px}.sessions-view{display:flex;flex-direction:column;gap:14px}.session-card{padding:15px 17px;border:1px solid #e4eaf3;border-radius:8px;background:#fafbfe;min-width:0}.session-card>strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.session-card>span{display:block;font-size:10px;color:#93a1b6;margin-top:7px}.session-card dl{margin-top:16px}.session-project{display:block;margin-bottom:4px}.archive-list>div{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:14px 0;border-bottom:1px solid #edf0f6}.archive-list>div:last-child{border:0}.archive-list a strong{display:block;font-size:13px;font-weight:500}.archive-list a>span{display:block;font-size:10px;color:#9ba7ba;margin-top:5px}.settings-panel{max-width:760px}.settings-panel select{max-width:240px}.topbar nav{gap:22px;overflow-x:auto;white-space:nowrap}.heading-meta{flex-wrap:wrap}.heading-meta .secondary-button{font-size:10px;padding:5px 8px}.blocker-next{border-left:2px solid #d9b05f;padding-left:8px}@media(max-width:900px){.topbar{gap:24px}.topbar nav{gap:16px;font-size:12px}}@media(max-width:720px){.topbar{gap:18px}.topbar nav{gap:14px;font-size:11px}.topbar .connection{display:none}.form-grid{grid-template-columns:1fr}.view-heading{align-items:flex-start}.view-heading h1{font-size:23px}.error-banner{align-items:flex-start}.profile-counts{gap:10px}}.profile-form .field-help{font-size:11px;line-height:1.6;color:#65758b;font-weight:400;overflow-wrap:anywhere}.profile-form p.field-help{margin:8px 0 16px;max-width:760px}.server-notice{display:flex;flex-direction:column;gap:7px;background:#fff8e9;border:1px solid #eadbbb;border-radius:8px;padding:14px 18px;margin-bottom:22px;font-size:12px;line-height:1.6;color:#876e40}.server-notice code{font-size:12px;background:#f3ead7;padding:2px 5px;border-radius:3px}.reporter-health{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#76859a;line-height:1.6}.reporter-health>span{width:6px;height:6px;border-radius:50%;background:#a5afbd}.reporter-health.connected{color:#4a8567}.reporter-health.connected>span{background:#68a183}.reporter-health.disconnected{color:#a47f46}.reporter-health.disconnected>span{background:#c4a06b}.reporting-details{border-top:1px solid #edf0f5;margin-top:15px;padding-top:12px}.reporting-details p{font-size:10px;color:#8290a3;line-height:1.6;margin:7px 0}.report-provenance{font-size:11px;color:#65778d;line-height:1.7;margin-bottom:18px}.report-provenance>span{display:block;color:#8794a5;font-size:10px}.attention-summary{border:1px solid #e0e6ef;background:#fff;border-radius:8px;margin-bottom:24px}.attention-summary>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 18px;cursor:pointer;list-style:none}.attention-summary>summary::-webkit-details-marker{display:none}.attention-summary>summary>span:first-child{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.attention-summary strong{font-size:12px;font-weight:500;color:#566b87}.attention-summary summary span span,.attention-expand{font-size:10px;color:#8d99a9}.attention-summary.has-attention summary strong{color:#a07a3d}.attention-summary[open] .attention-expand{visibility:hidden}.attention-items{padding:0 18px 13px;max-height:300px;overflow-y:auto;overscroll-behavior-y:contain}.attention-items a{display:flex;justify-content:space-between;align-items:baseline;gap:20px;padding:10px 0;border-top:1px solid #edf0f6}.attention-items a span{font-size:11px;color:#8a97a9}.more-filters{position:relative}.more-filters>summary{font-size:11px;color:#73849c;cursor:pointer;padding:10px 12px;border:1px solid #dfe5ef;border-radius:6px;white-space:nowrap}.extra-filters{position:absolute;right:0;top:calc(100% + 8px);z-index:5;display:flex;flex-direction:column;gap:12px;min-width:230px;background:#fff;border:1px solid #e0e6ef;border-radius:8px;padding:16px;box-shadow:0 8px 24px #24384e12}.connection-panel{margin-bottom:22px}.connection-row{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;border-top:1px solid #e9edf3;padding:14px 0}.connection-row>div{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}.connection-row strong{font-size:12px;font-weight:500;color:#516580}.connection-row>div>span:not(.reporter-health){font-size:10px;color:#8d9bae}.connection-row details{max-width:55%;font-size:11px;color:#7487a4}.connection-row summary,.connect-instructions summary{cursor:pointer;color:#59749e;font-size:11px}.connection-row dl{margin-top:12px}.connection-issue{font-size:11px;line-height:1.6;color:#a27b42;max-width:600px;margin:0}.connect-instructions{border-top:1px solid #edf0f6;padding-top:15px;margin-top:12px}.connect-instructions p{font-size:11px;line-height:1.7;color:#7e8fa6}.connect-instructions pre{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #e5eaf2;border-radius:6px;background:#f8fafc;padding:13px;line-height:1.7;color:#526783}@media(max-width:720px){.attention-summary>summary>span:first-child{gap:5px;flex-direction:column;align-items:flex-start}.attention-items a{flex-direction:column;gap:6px}.connection-row{flex-direction:column}.connection-row details{max-width:100%;width:100%}.extra-filters{right:auto;left:0}}.badge.active{color:#5475a7;background:#eef3fc}.project-mission-count{display:flex;flex-direction:column;gap:7px;color:#7d8b9e;font-size:10px}.project-mission-count strong{font-size:12px;font-weight:500;color:#60748f}.project-overview-counts{display:flex;align-items:baseline;gap:10px;color:#8b98ac;font-size:12px}.project-overview-counts strong{font-size:25px;font-weight:500;color:#50617a}.project-overview-counts strong:not(:first-child){margin-left:18px}.topbar nav{gap:18px}.detail-main>section:not(.panel){margin-bottom:24px}@media(max-width:720px){.project-mission-count{grid-column:1;grid-row:2}.project-overview-counts{margin-top:18px}.topbar nav{gap:13px}}.attention-items a{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(140px,.8fr);align-items:baseline;gap:20px}.attention-items a strong,.attention-context{overflow-wrap:anywhere;line-height:1.6}.attention-context b{font-weight:500;color:#687d98}.attention-items .attention-context>span{color:#bcc6d4;margin:0 4px}.attention-reason{text-align:right;line-height:1.6}@media(max-width:900px){.attention-items a{grid-template-columns:minmax(0,1fr) minmax(140px,.65fr);gap:5px 18px}.attention-context{grid-column:1;grid-row:2}.attention-reason{grid-column:2;grid-row:1 / span 2}}@media(max-width:600px){.attention-items a{grid-template-columns:1fr;gap:5px}.attention-context,.attention-reason{grid-column:1;grid-row:auto}.attention-reason{text-align:left}}.connection-group{border-top:1px solid #e9edf3}.connection-group>summary{display:flex;justify-content:space-between;align-items:center;gap:18px;cursor:pointer;padding:15px 0;list-style:none}.connection-group>summary::-webkit-details-marker{display:none}.connection-group>summary>span:first-child{display:flex;flex-direction:column;gap:7px}.connection-group>summary strong{font-size:12px;font-weight:500;color:#516580}.connection-group>summary>span:first-child>span,.connection-group-expand{font-size:11px;color:#8998ac;line-height:1.6}.connection-group-expand:after{content:" ▸"}.connection-group[open] .connection-group-expand:after{content:" ▾"}.connection-group-rows{padding:0 14px;max-height:400px;overflow-y:auto;overscroll-behavior-y:contain;background:#fafbfd;border-radius:6px;margin-bottom:12px}.connection-group-rows .connection-row:first-child{border-top:0}@media(max-width:600px){.connection-group>summary{align-items:flex-start;gap:10px}.connection-group-rows{padding:0 10px}}
|