agkan 3.6.0 → 3.8.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.
@@ -17,6 +17,7 @@ export declare class BulkRunService {
17
17
  private stopRequested;
18
18
  private stateChangeSubscribers;
19
19
  private runningChangeUnsub;
20
+ private pollTimer;
20
21
  constructor(ts: TaskService, tbs: TaskBlockService, claudeProcess: PtySessionService);
21
22
  getStatus(): BulkRunStatus;
22
23
  subscribeStateChange(callback: StateChangeCallback): () => void;
@@ -27,6 +28,7 @@ export declare class BulkRunService {
27
28
  stop(): void;
28
29
  private selectNextTask;
29
30
  private finishLoop;
31
+ private scheduleNextPoll;
30
32
  private runNext;
31
33
  }
32
34
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"BulkRunService.d.ts","sourceRoot":"","sources":["../../src/board/BulkRunService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAIlE,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,IAAI,CAAC;AAC7C,KAAK,YAAY,GAAG,MAAM,GAAG,SAAS,CAAC;AAEvC,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,cAAc,GAAG,IAAI,CAAC;CAChC;AAED,KAAK,mBAAmB,GAAG,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC;AAE3D,qBAAa,cAAc;IAQvB,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,GAAG;IACX,OAAO,CAAC,aAAa;IATvB,OAAO,CAAC,IAAI,CAAwB;IACpC,OAAO,CAAC,OAAO,CAA+B;IAC9C,OAAO,CAAC,aAAa,CAAS;IAC9B,OAAO,CAAC,sBAAsB,CAAuC;IACrE,OAAO,CAAC,kBAAkB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EACf,GAAG,EAAE,gBAAgB,EACrB,aAAa,EAAE,iBAAiB;IAG1C,SAAS,IAAI,aAAa;IAI1B,oBAAoB,CAAC,QAAQ,EAAE,mBAAmB,GAAG,MAAM,IAAI;IAK/D,OAAO,CAAC,iBAAiB;IAKnB,KAAK,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAYjE,IAAI,IAAI,IAAI;IAeZ,OAAO,CAAC,cAAc;IA+BtB,OAAO,CAAC,UAAU;IAclB,OAAO,CAAC,gBAAgB;YAOV,OAAO;CAoDtB"}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BulkRunService = void 0;
4
4
  const config_1 = require("../db/config");
5
5
  const models_1 = require("../models");
6
+ const POLL_INTERVAL_MS = 3000;
6
7
  class BulkRunService {
7
8
  ts;
8
9
  tbs;
@@ -12,6 +13,7 @@ class BulkRunService {
12
13
  stopRequested = false;
13
14
  stateChangeSubscribers = new Set();
14
15
  runningChangeUnsub = null;
16
+ pollTimer = null;
15
17
  constructor(ts, tbs, claudeProcess) {
16
18
  this.ts = ts;
17
19
  this.tbs = tbs;
@@ -43,6 +45,10 @@ class BulkRunService {
43
45
  this.stopRequested = true;
44
46
  this.runningChangeUnsub?.();
45
47
  this.runningChangeUnsub = null;
48
+ if (this.pollTimer !== null) {
49
+ clearTimeout(this.pollTimer);
50
+ this.pollTimer = null;
51
+ }
46
52
  if (this.mode === 'running') {
47
53
  this.mode = 'idle';
48
54
  this.command = null;
@@ -79,9 +85,21 @@ class BulkRunService {
79
85
  finishLoop() {
80
86
  this.runningChangeUnsub?.();
81
87
  this.runningChangeUnsub = null;
82
- this.mode = 'idle';
83
- this.command = null;
84
- this.notifyStateChange();
88
+ if (this.pollTimer !== null) {
89
+ clearTimeout(this.pollTimer);
90
+ this.pollTimer = null;
91
+ }
92
+ if (this.mode !== 'idle') {
93
+ this.mode = 'idle';
94
+ this.command = null;
95
+ this.notifyStateChange();
96
+ }
97
+ }
98
+ scheduleNextPoll() {
99
+ this.pollTimer = setTimeout(() => {
100
+ this.pollTimer = null;
101
+ void this.runNext();
102
+ }, POLL_INTERVAL_MS);
85
103
  }
86
104
  async runNext() {
87
105
  if (this.stopRequested) {
@@ -103,7 +121,7 @@ class BulkRunService {
103
121
  }
104
122
  const taskId = this.selectNextTask();
105
123
  if (taskId === null) {
106
- this.finishLoop();
124
+ this.scheduleNextPoll();
107
125
  return;
108
126
  }
109
127
  const command = this.command;
@@ -1 +1 @@
1
- {"version":3,"file":"BulkRunService.js","sourceRoot":"","sources":["../../src/board/BulkRunService.ts"],"names":[],"mappings":";;;AAGA,yCAA0C;AAC1C,sCAA2C;AAY3C,MAAa,cAAc;IAQf;IACA;IACA;IATF,IAAI,GAAiB,MAAM,CAAC;IAC5B,OAAO,GAA0B,IAAI,CAAC;IACtC,aAAa,GAAG,KAAK,CAAC;IACtB,sBAAsB,GAA6B,IAAI,GAAG,EAAE,CAAC;IAC7D,kBAAkB,GAAwB,IAAI,CAAC;IAEvD,YACU,EAAe,EACf,GAAqB,EACrB,aAAgC;QAFhC,OAAE,GAAF,EAAE,CAAa;QACf,QAAG,GAAH,GAAG,CAAkB;QACrB,kBAAa,GAAb,aAAa,CAAmB;IACvC,CAAC;IAEJ,SAAS;QACP,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC;IACpD,CAAC;IAED,oBAAoB,CAAC,QAA6B;QAChD,IAAI,CAAC,sBAAsB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAC1C,OAAO,GAAG,EAAE,CAAC,IAAI,CAAC,sBAAsB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAC5D,CAAC;IAEO,iBAAiB;QACvB,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;QAChC,IAAI,CAAC,sBAAsB,C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
211
211
  </style>
212
212
  </head>
213
213
  <body>
214
- <header><h1>agkan board<div id="header-running-indicator" style="display:none"></div></h1>${titleHtml}<div class="burger-menu-wrapper"><button class="burger-menu-btn" id="burger-menu-btn" title="Menu" aria-label="Menu"><span></span><span></span><span></span></button><div class="burger-menu-dropdown" id="burger-menu-dropdown"><div class="burger-menu-item danger" id="burger-purge-tasks">&#128465; Purge Tasks</div><div class="burger-menu-item" id="burger-archive-tasks">&#128230; Archive Tasks</div><div class="burger-menu-item" id="burger-export-tasks">&#8595; Export Tasks</div><div class="burger-menu-item" id="burger-import-tasks">&#8593; Import Tasks</div><div class="burger-menu-item" id="burger-version-info">&#8505; Version Info</div><div class="burger-menu-separator"></div><div class="burger-menu-item" id="burger-theme-dark">Dark Mode</div><div class="burger-menu-item" id="burger-theme-light">Light Mode</div><div class="burger-menu-item" id="burger-theme-system">System Setting</div></div></div></header>
214
+ <header><h1>agkan board</h1>${titleHtml}<div class="burger-menu-wrapper"><div id="header-running-indicator" style="display:none"></div><div id="connection-status-btn" class="connection-status-btn connecting" title="Connecting..."></div><button class="burger-menu-btn" id="burger-menu-btn" title="Menu" aria-label="Menu"><span></span><span></span><span></span></button><div class="burger-menu-dropdown" id="burger-menu-dropdown"><div class="burger-menu-item danger" id="burger-purge-tasks">&#128465; Purge Tasks</div><div class="burger-menu-item" id="burger-archive-tasks">&#128230; Archive Tasks</div><div class="burger-menu-item" id="burger-export-tasks">&#8595; Export Tasks</div><div class="burger-menu-item" id="burger-import-tasks">&#8593; Import Tasks</div><div class="burger-menu-item" id="burger-version-info">&#8505; Version Info</div><div class="burger-menu-separator"></div><div class="burger-menu-item" id="burger-theme-dark">Dark Mode</div><div class="burger-menu-item" id="burger-theme-light">Light Mode</div><div class="burger-menu-item" id="burger-theme-system">System Setting</div></div></div></header>
215
215
  <div class="filter-bar" id="filter-bar">
216
216
  <div class="filter-group">
217
217
  <input type="search" id="filter-search" class="filter-search-input" placeholder="Search tasks...">
@@ -1 +1 @@
1
-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AAC,eAAe,CAAC,EAAE,CAAC;YACzC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,eAAe,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC;QACvE,CAAC;QACD,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,eAAe,CAAE,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;IAC7E,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,SAAgB,iBAAiB,CAAC,QAAwB;IACxD,OAAO,QAAQ,CAAC,0BAA0B,EAAE,CAAC;AAC/C,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const BOARD_STYLES = "\n :root {\n --bg-page: #f1f5f9;\n --bg-surface: #ffffff;\n --bg-surface-subtle: #f8fafc;\n --bg-surface-hover: #f1f5f9;\n --border-color: #e2e8f0;\n --border-color-subtle: #f1f5f9;\n --text-primary: #1e293b;\n --text-secondary: #64748b;\n --text-muted: #94a3b8;\n --header-bg: #1e293b;\n --tag-bg: #e0f2fe;\n --tag-color: #0369a1;\n --column-count-bg: #e2e8f0;\n --column-count-color: #64748b;\n --input-bg: #ffffff;\n --burger-dropdown-bg: #ffffff;\n --drag-over-bg: #eff6ff;\n }\n [data-theme=\"dark\"] {\n --bg-page: #0f172a;\n --bg-surface: #1e293b;\n --bg-surface-subtle: #1e293b;\n --bg-surface-hover: #334155;\n --border-color: #334155;\n --border-color-subtle: #1e293b;\n --text-primary: #f1f5f9;\n --text-secondary: #94a3b8;\n --text-muted: #64748b;\n --header-bg: #0f172a;\n --tag-bg: #0c4a6e;\n --tag-color: #7dd3fc;\n --column-count-bg: #334155;\n --column-count-color: #94a3b8;\n --input-bg: #1e293b;\n --burger-dropdown-bg: #1e293b;\n --drag-over-bg: #1e3a5f;\n }\n * { box-sizing: border-box; margin: 0; padding: 0; }\n body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg-page); color: var(--text-primary); }\n header { background: var(--header-bg); color: white; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; }\n header h1 { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; }\n .board-title { font-size: 14px; font-weight: 400; opacity: 0.75; }\n .board-container { display: flex; width: 100%; height: calc(100vh - 92px); gap: 0; }\n .board { display: flex; gap: 12px; padding: 16px; overflow-x: auto; flex: 1; align-items: stretch; min-width: 0; }\n .board.with-panel { padding-right: 0; }\n .column { background: var(--bg-surface-subtle); border: 1px solid var(--border-color); border-radius: 8px; width: 240px; flex-shrink: 0; display: flex; flex-direction: column; border-top: 3px solid transparent; }\n .column-header { padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-color); flex-shrink: 0; }\n .column-title { font-size: 13px; font-weight: 700; }\n .column-header-right { display: flex; align-items: center; gap: 6px; }\n .column-count { background: var(--column-count-bg); color: var(--column-count-color); border-radius: 10px; font-size: 11px; font-weight: 600; padding: 2px 7px; }\n .add-btn { background: none; border: 1px solid var(--border-color); color: var(--text-secondary); border-radius: 4px; width: 22px; height: 22px; font-size: 14px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }\n .add-btn:hover { background: var(--border-color); color: var(--text-primary); }\n .column-body { padding: 8px; min-height: 60px; flex: 1; overflow-y: auto; overflow-x: hidden; min-height: 0; }\n .column.drag-over .column-body { background: var(--drag-over-bg); border-radius: 6px; }\n .card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 6px; padding: 10px; margin-bottom: 6px; cursor: grab; transition: box-shadow 0.15s; }\n .card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }\n .card.active { border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.25); background: #eff6ff; }\n [data-theme=\"dark\"] .card.active { border-color: #60a5fa; box-shadow: 0 0 0 2px rgba(96,165,250,0.25); background: #1e3a5f; }\n .card.dragging { opacity: 0.5; }\n .card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; gap: 4px; }\n .card-id { font-size: 11px; color: var(--text-muted); font-weight: 600; }\n .card-actions { margin-left: auto; flex-shrink: 0; }\n .claude-run-split { position: relative; display: inline-flex; }\n .claude-run-btn { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 10px 0 0 10px; border: 1px solid #16a34a; border-right: none; background: #dcfce7; color: #16a34a; cursor: pointer; line-height: 1.4; transition: background 0.15s; }\n .claude-run-btn:hover { background: #bbf7d0; }\n .claude-run-btn:disabled { opacity: 0.45; cursor: not-allowed; }\n .claude-run-toggle { font-size: 9px; font-weight: 600; padding: 2px 5px; border-radius: 0 10px 10px 0; border: 1px solid #16a34a; background: #dcfce7; color: #16a34a; cursor: pointer; line-height: 1.4; transition: background 0.15s; }\n .claude-run-toggle:hover { background: #bbf7d0; }\n .claude-run-toggle:disabled { opacity: 0.45; cursor: not-allowed; }\n .claude-run-menu { display: none; position: absolute; top: 100%; right: 0; margin-top: 2px; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 100; min-width: 160px; padding: 2px 0; }\n .claude-run-split.open .claude-run-menu { display: block; }\n .claude-run-menu-item { display: block; width: 100%; text-align: left; font-size: 11px; font-weight: 500; padding: 6px 12px; border: none; background: none; color: var(--text-primary); cursor: pointer; white-space: nowrap; }\n .claude-run-menu-item:hover { background: var(--bg-surface-hover); }\n .claude-run-menu-item:disabled { opacity: 0.45; cursor: not-allowed; }\n .claude-running-btn { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 10px; border: 1px solid #9ca3af; background: #f3f4f6; color: #6b7280; cursor: default; line-height: 1.4; display: inline-flex; align-items: center; gap: 4px; }\n .running-btn-spinner { display: inline-block; width: 10px; height: 10px; border: 1.5px solid rgba(107,114,128,0.3); border-top-color: #6b7280; border-radius: 50%; animation: header-spin 0.8s linear infinite; flex-shrink: 0; }\n .bulk-run-split { position: relative; display: inline-flex; }\n .bulk-run-btn { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 10px 0 0 10px; border: 1px solid #16a34a; border-right: none; background: #dcfce7; color: #16a34a; cursor: pointer; line-height: 1.4; transition: background 0.15s; white-space: nowrap; }\n .bulk-run-btn:hover { background: #bbf7d0; }\n .bulk-run-btn.bulk-run-btn-stop { border-color: #dc2626; background: #fee2e2; color: #dc2626; border-radius: 10px; border-right: 1px solid #dc2626; }\n .bulk-run-btn.bulk-run-btn-stop:hover { background: #fecaca; }\n .bulk-run-toggle { font-size: 9px; font-weight: 600; padding: 2px 5px; border-radius: 0 10px 10px 0; border: 1px solid #16a34a; background: #dcfce7; color: #16a34a; cursor: pointer; line-height: 1.4; transition: background 0.15s; }\n .bulk-run-toggle:hover { background: #bbf7d0; }\n .bulk-run-menu { display: none; position: absolute; top: 100%; right: 0; margin-top: 2px; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 100; min-width: 180px; padding: 2px 0; }\n .bulk-run-split.open .bulk-run-menu { display: block; }\n .bulk-run-menu-item { display: block; width: 100%; text-align: left; font-size: 11px; font-weight: 500; padding: 6px 12px; border: none; background: none; color: var(--text-primary); cursor: pointer; white-space: nowrap; }\n .bulk-run-menu-item:hover { background: var(--bg-surface-hover); }\n .bulk-run-menu-item:disabled { opacity: 0.45; cursor: not-allowed; }\n .claude-plan-btn { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 10px; border: 1px solid #2563eb; background: #dbeafe; color: #2563eb; cursor: pointer; line-height: 1.4; transition: background 0.15s; }\n .claude-plan-btn:hover { background: #bfdbfe; }\n .claude-detail-btn { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 10px; border: 1px solid #d97706; background: #fef3c7; color: #d97706; cursor: pointer; line-height: 1.4; transition: background 0.15s; }\n .claude-detail-btn:hover { background: #fde68a; }\n .card-title { font-size: 13px; font-weight: 500; line-height: 1.4; word-break: break-word; }\n .card-tags { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px; }\n .tag { background: var(--tag-bg); color: var(--tag-color); font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 10px; }\n .priority { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 10px; text-transform: uppercase; }\n .priority-critical { background: #fee2e2; color: #dc2626; }\n .priority-high { background: #fee2e2; color: #dc2626; }\n .priority-medium { background: #fef9c3; color: #ca8a04; }\n .priority-low { background: #dcfce7; color: #16a34a; }\n .attention-indicator { display: inline-flex; align-items: center; margin-left: 4px; min-width: 14px; height: 14px; }\n .attention-indicator.is-active .icon-question { color: var(--color-warning, #f59e0b); animation: attention-pulse 1.5s ease-in-out infinite; }\n @keyframes attention-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }\n .context-menu { position: fixed; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); padding: 4px 0; z-index: 1000; display: none; min-width: 140px; }\n .context-menu-item { padding: 8px 14px; font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 8px; color: var(--text-primary); }\n .context-menu-item:hover { background: var(--bg-surface-hover); }\n .context-menu-item.danger { color: #dc2626; }\n .context-menu-item.danger:hover { background: #fef2f2; }\n .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 2000; display: none; align-items: center; justify-content: center; }\n .modal-overlay.show { display: flex; }\n .modal { background: var(--bg-surface); border-radius: 8px; padding: 24px; width: 520px; box-shadow: 0 8px 24px rgba(0,0,0,0.2); color: var(--text-primary); }\n .modal h2 { font-size: 16px; margin-bottom: 14px; }\n .modal-title-with-icon { display: flex; align-items: center; gap: 6px; }\n .modal-title-icon { flex-shrink: 0; color: var(--text-secondary); }\n .modal label { display: block; font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 4px; }\n .modal input, .modal textarea, .modal select { width: 100%; border: 1px solid var(--border-color); border-radius: 6px; padding: 8px 10px; font-size: 13px; font-family: inherit; margin-bottom: 12px; background: var(--input-bg); color: var(--text-primary); }\n .modal textarea { resize: vertical; min-height: 60px; }\n .modal input:focus, .modal textarea:focus, .modal select:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .modal-actions { display: flex; justify-content: flex-end; gap: 8px; }\n .modal-actions button { padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid var(--border-color); background: var(--bg-surface); color: var(--text-secondary); }\n .modal-actions button:hover { background: var(--bg-surface-hover); }\n .modal-actions button.primary { background: #3b82f6; color: white; border-color: #3b82f6; }\n .modal-actions button.primary:hover { background: #2563eb; }\n .toast { position: fixed; bottom: 20px; right: 20px; z-index: 100; background: #ef4444; color: white; padding: 10px 16px; border-radius: 6px; font-size: 13px; opacity: 0; transition: opacity 0.3s; pointer-events: none; }\n .toast.show { opacity: 1; }\n .detail-panel { position: relative; z-index: 6; width: 0; height: calc(100vh - 92px); background: var(--bg-surface); box-shadow: none; border-left: 0 solid var(--border-color); display: flex; flex-direction: column; max-width: 800px; overflow: hidden; transition: width 0.25s ease; }\n .detail-panel-resize-handle { position: absolute; top: 0; left: 0; width: 6px; height: 100%; cursor: col-resize; z-index: 10; background: transparent; }\n .detail-panel-resize-handle:hover, .detail-panel-resize-handle.dragging { background: rgba(59,130,246,0.3); }\n .detail-panel.open { width: 400px; min-width: 280px; border-left-width: 1px; }\n .detail-panel-header { display: flex; align-items: center; gap: 4px; padding: 16px 20px; border-bottom: 1px solid var(--border-color); flex-shrink: 0; }\n .detail-panel-header h2 { font-size: 16px; font-weight: 700; color: var(--text-primary); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }\n .detail-panel-close { background: none; border: none; font-size: 20px; color: var(--text-secondary); cursor: pointer; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 4px; flex-shrink: 0; margin-left: auto; }\n .detail-panel-close:hover { background: var(--bg-surface-hover); color: var(--text-primary); }\n .detail-panel-copy-id { background: none; border: none; font-size: 20px; color: var(--text-secondary); cursor: pointer; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 4px; flex-shrink: 0; }\n .detail-panel-copy-id:hover { background: var(--bg-surface-hover); color: var(--text-primary); }\n .detail-panel-body { flex: 1; overflow: hidden; min-width: 0; display: flex; flex-direction: column; }\n .detail-field { margin-bottom: 16px; word-wrap: break-word; }\n .description-field-wrapper { display: flex; flex-direction: column; margin-bottom: 16px; }\n .detail-field-label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; letter-spacing: 0.05em; }\n .detail-field-value { font-size: 13px; color: var(--text-primary); line-height: 1.5; }\n .detail-field-value.empty { color: var(--text-muted); font-style: italic; }\n .detail-status-badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; color: white; }\n .detail-tags { display: flex; flex-wrap: wrap; gap: 4px; }\n .detail-meta-table { width: 100%; border-collapse: collapse; }\n .detail-meta-table td { padding: 4px 0; font-size: 12px; }\n .detail-meta-table td:first-child { color: var(--text-secondary); width: 100px; }\n .detail-meta-table td:last-child { color: var(--text-primary); }\n .detail-meta-table a { color: #2563eb; text-decoration: underline; }\n [data-theme=\"dark\"] .detail-meta-table a { color: #60a5fa; }\n .detail-panel-footer { padding: 12px 20px; border-top: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }\n .detail-panel-footer button { padding: 7px 18px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid #3b82f6; background: #3b82f6; color: white; }\n .detail-panel-footer button:hover { background: #2563eb; border-color: #2563eb; }\n .detail-edit-input { width: 100%; border: 1px solid var(--border-color); border-radius: 6px; padding: 7px 10px; font-size: 13px; font-family: inherit; background: var(--input-bg); color: var(--text-primary); }\n .detail-edit-input:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .detail-edit-textarea { width: 100%; border: 1px solid var(--border-color); border-radius: 6px; padding: 7px 10px; font-size: 13px; font-family: inherit; resize: none; min-height: 80px; background: var(--input-bg); color: var(--text-primary); overflow: hidden; }\n .detail-edit-textarea:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .detail-edit-select { width: 100%; border: 1px solid var(--border-color); border-radius: 6px; padding: 7px 10px; font-size: 13px; font-family: inherit; background: var(--input-bg); color: var(--text-primary); }\n .detail-edit-select:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .tag-select-wrapper { position: relative; }\n .tag-select-control { border: 1px solid var(--border-color); border-radius: 6px; padding: 4px 8px; min-height: 36px; cursor: text; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; background: var(--input-bg); }\n .tag-select-control:focus-within { border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .tag-pill { background: var(--tag-bg); color: var(--tag-color); font-size: 11px; font-weight: 600; padding: 2px 4px 2px 8px; border-radius: 10px; display: inline-flex; align-items: center; gap: 3px; }\n .tag-pill-remove { background: none; border: none; color: var(--tag-color); cursor: pointer; font-size: 13px; line-height: 1; padding: 0 2px; display: inline-flex; align-items: center; border-radius: 50%; }\n .tag-pill-remove:hover { color: #dc2626; background: rgba(220,38,38,0.1); }\n .tag-select-input { border: none; outline: none; font-size: 12px; font-family: inherit; min-width: 80px; flex: 1; background: transparent; padding: 2px 0; color: var(--text-primary); }\n .tag-select-input::placeholder { color: var(--text-muted); }\n .tag-select-dropdown { position: absolute; top: calc(100% + 2px); left: 0; right: 0; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 100; max-height: 180px; overflow-y: auto; display: none; }\n .tag-select-dropdown.open { display: block; }\n .tag-select-option { padding: 6px 10px; font-size: 12px; cursor: pointer; color: var(--text-primary); }\n .tag-select-option:hover, .tag-select-option.focused { background: #eff6ff; color: #0369a1; }\n .tag-select-no-options { padding: 6px 10px; font-size: 12px; color: var(--text-muted); font-style: italic; }\n .filter-bar { display: flex; align-items: center; gap: 16px; height: 44px; background: var(--bg-surface-subtle); border-bottom: 1px solid var(--border-color); padding: 0 16px; flex-shrink: 0; overflow-x: auto; }\n .filter-group { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }\n .filter-label { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.05em; white-space: nowrap; }\n .filter-priority-btn { border: 1px solid var(--border-color); background: var(--bg-surface); border-radius: 4px; padding: 2px 8px; font-size: 11px; font-weight: 600; cursor: pointer; text-transform: uppercase; color: var(--text-secondary); }\n .filter-priority-btn:hover { background: var(--bg-surface-hover); }\n .filter-priority-btn.active[data-priority=\"critical\"] { background: #fee2e2; color: #dc2626; border-color: #fca5a5; }\n .filter-priority-btn.active[data-priority=\"high\"] { background: #fee2e2; color: #dc2626; border-color: #fca5a5; }\n .filter-priority-btn.active[data-priority=\"medium\"] { background: #fef9c3; color: #ca8a04; border-color: #fde047; }\n .filter-priority-btn.active[data-priority=\"low\"] { background: #dcfce7; color: #16a34a; border-color: #86efac; }\n .filter-search-input { border: 1px solid var(--border-color); border-radius: 4px; padding: 3px 8px; font-size: 12px; font-family: inherit; background: var(--input-bg); color: var(--text-primary); width: 160px; }\n .filter-search-input:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .filter-assignee-input { border: 1px solid var(--border-color); border-radius: 4px; padding: 3px 8px; font-size: 12px; font-family: inherit; background: var(--input-bg); color: var(--text-primary); width: 120px; }\n .filter-assignee-input:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .filter-tag-pill { background: var(--tag-bg); color: var(--tag-color); font-size: 11px; font-weight: 600; padding: 2px 4px 2px 8px; border-radius: 10px; display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0; }\n .filter-tag-pill-remove { background: none; border: none; color: var(--tag-color); cursor: pointer; font-size: 13px; line-height: 1; padding: 0 2px; display: inline-flex; align-items: center; border-radius: 50%; }\n .filter-tag-pill-remove:hover { color: #dc2626; background: rgba(220,38,38,0.1); }\n .filter-tag-dropdown-wrapper { flex-shrink: 0; }\n .filter-tag-add-btn { border: 1px dashed var(--border-color); background: var(--bg-surface); border-radius: 4px; padding: 2px 8px; font-size: 11px; color: var(--text-secondary); cursor: pointer; white-space: nowrap; }\n .filter-tag-add-btn:hover { background: var(--bg-surface-hover); border-color: var(--text-muted); }\n .filter-tag-dropdown { position: fixed; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 200; max-height: 180px; overflow-y: auto; display: none; min-width: 140px; }\n .filter-tag-dropdown.open { display: block; }\n .filter-tag-dropdown-option { padding: 6px 10px; font-size: 12px; cursor: pointer; color: var(--text-primary); white-space: nowrap; }\n .filter-tag-dropdown-option:hover { background: #eff6ff; color: #0369a1; }\n .filter-tag-dropdown-empty { padding: 6px 10px; font-size: 12px; color: var(--text-muted); font-style: italic; }\n .filter-clear-btn { border: 1px solid var(--border-color); background: var(--bg-surface); border-radius: 4px; padding: 2px 10px; font-size: 11px; font-weight: 600; cursor: pointer; color: var(--text-secondary); display: none; flex-shrink: 0; margin-left: auto; }\n .filter-clear-btn:hover { background: #fee2e2; border-color: #fca5a5; color: #dc2626; }\n .filter-clear-btn.visible { display: block; }\n .detail-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border-color); flex-shrink: 0; padding: 0 20px; background: var(--bg-surface); }\n .detail-tab { padding: 8px 14px; font-size: 12px; font-weight: 600; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; border-top: none; border-left: none; border-right: none; }\n .detail-tab:hover { color: var(--text-secondary); }\n .detail-tab.active { color: #3b82f6; border-bottom-color: #3b82f6; }\n .detail-tab-content { display: none; flex: 1; overflow-y: auto; min-height: 0; }\n .detail-tab-content.active { display: block; overflow-y: auto; }\n .detail-relations { font-size: 12px; color: var(--text-secondary); padding: 6px 0; border-bottom: 1px solid var(--border-color-subtle); margin-bottom: 12px; }\n .detail-relation-row { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }\n .detail-relation-label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); width: 80px; flex-shrink: 0; letter-spacing: 0.05em; }\n .detail-relation-ids { display: flex; flex-wrap: wrap; gap: 4px; }\n .detail-relation-id { font-size: 11px; color: #3b82f6; background: #eff6ff; border-radius: 10px; padding: 1px 7px; font-weight: 600; }\n .detail-timestamp { font-size: 11px; color: var(--text-muted); margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border-color-subtle); }\n .detail-footer-timestamp { font-size: 11px; color: var(--text-muted); }\n .comment-item { position: relative; padding: 6px 0 6px 10px; border-left: 2px solid var(--border-color); margin-bottom: 10px; }\n .comment-item:hover { border-left-color: #3b82f6; }\n .comment-meta { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }\n .comment-author { font-size: 11px; font-weight: 600; color: var(--text-secondary); }\n .comment-date { font-size: 11px; color: var(--text-muted); }\n .comment-actions { display: none; margin-left: auto; gap: 4px; }\n .comment-item:hover .comment-actions { display: flex; }\n .comment-action-btn { background: none; border: none; padding: 1px 4px; cursor: pointer; color: var(--text-muted); font-size: 12px; border-radius: 3px; }\n .comment-action-btn:hover { color: var(--text-primary); background: var(--bg-surface-hover); }\n .comment-action-btn.danger:hover { color: #dc2626; background: #fef2f2; }\n .comment-content { font-size: 13px; color: var(--text-primary); line-height: 1.5; white-space: pre-wrap; }\n .comment-edit-area { width: 100%; border: 1px solid var(--border-color); border-radius: 6px; padding: 7px 10px; font-size: 13px; font-family: inherit; resize: vertical; min-height: 60px; background: var(--input-bg); color: var(--text-primary); margin-top: 4px; }\n .comment-edit-area:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .comment-edit-actions { display: flex; gap: 6px; margin-top: 4px; }\n .comment-btn { background: none; border: 1px solid var(--border-color); border-radius: 4px; font-size: 11px; font-weight: 600; padding: 2px 8px; cursor: pointer; color: var(--text-secondary); }\n .comment-btn:hover { background: var(--bg-surface-hover); }\n .add-comment-trigger { background: none; border: 1px dashed var(--border-color); border-radius: 6px; padding: 8px 12px; font-size: 12px; color: var(--text-muted); cursor: pointer; width: 100%; text-align: left; margin-top: 4px; }\n .add-comment-trigger:hover { border-color: var(--text-muted); color: var(--text-secondary); background: var(--bg-surface-subtle); }\n .add-comment-form { margin-top: 4px; display: none; }\n .add-comment-form.open { display: block; }\n .add-comment-textarea { width: 100%; border: 1px solid var(--border-color); border-radius: 6px; padding: 7px 10px; font-size: 13px; font-family: inherit; resize: vertical; min-height: 72px; background: var(--input-bg); color: var(--text-primary); }\n .add-comment-textarea:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .add-comment-submit { margin-top: 6px; padding: 5px 14px; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; border: 1px solid #3b82f6; background: #3b82f6; color: white; }\n .add-comment-submit:hover { background: #2563eb; border-color: #2563eb; }\n .add-comment-cancel { margin-top: 6px; margin-left: 6px; padding: 5px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; border: 1px solid var(--border-color); background: var(--bg-surface); color: var(--text-secondary); }\n .add-comment-cancel:hover { background: var(--bg-surface-hover); }\n @keyframes header-spin { to { transform: rotate(360deg); } }\n #header-running-indicator { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: header-spin 0.8s linear infinite; margin-left: 8px; flex-shrink: 0; }\n .burger-menu-wrapper { position: relative; }\n .burger-menu-btn { background: none; border: none; color: white; cursor: pointer; padding: 4px 6px; border-radius: 4px; display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; opacity: 0.8; }\n .burger-menu-btn:hover { opacity: 1; background: rgba(255,255,255,0.1); }\n .burger-menu-btn span { display: block; width: 18px; height: 2px; background: white; border-radius: 1px; }\n .burger-menu-dropdown { position: absolute; right: 0; top: calc(100% + 6px); background: var(--burger-dropdown-bg); border: 1px solid var(--border-color); border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); padding: 4px 0; z-index: 1000; display: none; min-width: 180px; }\n .burger-menu-dropdown.open { display: block; }\n .burger-menu-item { padding: 8px 14px; font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 8px; color: var(--text-primary); white-space: nowrap; }\n .burger-menu-item:hover { background: var(--bg-surface-hover); }\n .burger-menu-item.danger { color: #dc2626; }\n .burger-menu-item.danger:hover { background: #fef2f2; }\n .burger-menu-separator { height: 1px; background: var(--border-color); margin: 4px 0; }\n .add-metadata-row-btn { background: none; border: 1px dashed var(--border-color); border-radius: 6px; padding: 5px 10px; font-size: 12px; color: var(--text-secondary); cursor: pointer; width: 100%; text-align: left; margin-bottom: 12px; }\n .add-metadata-row-btn:hover { border-color: var(--text-muted); background: var(--bg-surface-subtle); }\n .metadata-row { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }\n .metadata-row-key { flex: 1; border: 1px solid var(--border-color); border-radius: 6px; padding: 6px 8px; font-size: 12px; font-family: inherit; background: var(--input-bg); color: var(--text-primary); }\n .metadata-row-key:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .metadata-row-value { flex: 2; border: 1px solid var(--border-color); border-radius: 6px; padding: 6px 8px; font-size: 12px; font-family: inherit; background: var(--input-bg); color: var(--text-primary); }\n .metadata-row-value:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .metadata-row-remove { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 16px; line-height: 1; padding: 2px 4px; border-radius: 4px; flex-shrink: 0; }\n .metadata-row-remove:hover { color: #dc2626; background: #fef2f2; }\n .dependency-toggle-btn { border: 1px solid var(--border-color); background: var(--bg-surface); border-radius: 4px; padding: 2px 10px; font-size: 11px; font-weight: 600; cursor: pointer; color: var(--text-secondary); flex-shrink: 0; transition: all 0.2s ease; }\n .dependency-toggle-btn:hover { background: var(--bg-surface-hover); border-color: var(--text-muted); color: var(--text-primary); }\n .dependency-toggle-btn.active { background: #3b82f6; border-color: #3b82f6; color: white; }\n .dependency-toggle-btn.active:hover { background: #2563eb; border-color: #2563eb; }\n svg#dependency-svg { pointer-events: none; }\n .dependency-line { transition: stroke-width 0.1s ease; }\n .claude-stream-modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }\n .claude-stream-modal-header h2 { font-size: 16px; font-weight: 700; margin: 0; }\n .claude-stream-modal-header button { background: none; border: none; font-size: 18px; color: var(--text-secondary); cursor: pointer; padding: 2px 6px; border-radius: 4px; line-height: 1; }\n .claude-stream-modal-header button:hover { background: var(--bg-surface-hover); color: var(--text-primary); }\n .claude-stream-log { font-family: 'Courier New', Courier, monospace; background: #0d0d0d; color: #22c55e; overflow-y: auto; max-height: 400px; white-space: pre-wrap; padding: 10px 12px; border-radius: 6px; font-size: 12px; line-height: 1.5; margin-bottom: 12px; }\n .claude-stream-tool-use { background: var(--bg-header, #1e293b); color: #94a3b8; padding: 1px 4px; border-radius: 3px; }\n .claude-stream-modal-footer { display: flex; align-items: center; gap: 8px; }\n .claude-stream-status { color: var(--text-secondary); font-size: 11px; flex: 1; }\n .claude-stream-stop-btn { padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid #dc2626; background: #dc2626; color: white; }\n .claude-stream-stop-btn:hover:not(:disabled) { background: #b91c1c; border-color: #b91c1c; }\n .claude-stream-stop-btn:disabled { opacity: 0.5; cursor: not-allowed; }\n #claude-stream-close-btn { padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid var(--border-color); background: var(--bg-surface); color: var(--text-secondary); }\n #claude-stream-close-btn:hover { background: var(--bg-surface-hover); color: var(--text-primary); }\n .detail-tab-content.detail-terminal-pane { padding: 0; flex-direction: column; }\n .detail-tab-content.detail-terminal-pane.active { display: flex; overflow: hidden; }\n .detail-terminal-toolbar { display: flex; justify-content: flex-end; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--border-color); background: var(--bg-surface-subtle, #f8fafc); flex-shrink: 0; }\n .detail-terminal-host { flex: 1; min-height: 0; position: relative; background: #0d1117; }\n .detail-terminal-host .xterm { height: 100%; }\n .detail-terminal-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 12px; background: #0d1117; z-index: 1; }\n .run-log-list { padding: 12px 16px; }\n .run-log-item { border: 1px solid var(--border-color); border-radius: 6px; margin-bottom: 8px; overflow: hidden; }\n .run-log-header { display: flex; align-items: center; gap: 8px; padding: 8px 12px; cursor: pointer; background: var(--bg-surface-subtle, #f8fafc); user-select: none; }\n .run-log-header:hover { background: var(--bg-surface-hover); }\n .run-log-toggle { font-size: 10px; color: var(--text-muted); flex-shrink: 0; transition: transform 0.15s ease; }\n .run-log-item.open .run-log-toggle { transform: rotate(90deg); }\n .run-log-date { font-size: 12px; color: var(--text-secondary); font-family: 'Courier New', Courier, monospace; }\n .run-log-exit { font-size: 11px; font-weight: 600; border-radius: 10px; padding: 1px 7px; flex-shrink: 0; }\n .run-log-exit.success { background: #dcfce7; color: #15803d; }\n .run-log-exit.failure { background: #fee2e2; color: #dc2626; }\n .run-log-body { display: none; font-family: 'Courier New', Courier, monospace; background: #0d0d0d; color: #22c55e; font-size: 11px; line-height: 1.5; padding: 8px 12px; white-space: pre-wrap; max-height: 300px; overflow-y: auto; }\n .run-log-item.open .run-log-body { display: block; }\n .run-log-tool-use { color: #94a3b8; }\n .run-log-empty { padding: 24px 16px; font-size: 12px; color: var(--text-muted); text-align: center; }";
1
+ export declare const BOARD_STYLES = "\n :root {\n --bg-page: #f1f5f9;\n --bg-surface: #ffffff;\n --bg-surface-subtle: #f8fafc;\n --bg-surface-hover: #f1f5f9;\n --border-color: #e2e8f0;\n --border-color-subtle: #f1f5f9;\n --text-primary: #1e293b;\n --text-secondary: #64748b;\n --text-muted: #94a3b8;\n --header-bg: #1e293b;\n --tag-bg: #e0f2fe;\n --tag-color: #0369a1;\n --column-count-bg: #e2e8f0;\n --column-count-color: #64748b;\n --input-bg: #ffffff;\n --burger-dropdown-bg: #ffffff;\n --drag-over-bg: #eff6ff;\n }\n [data-theme=\"dark\"] {\n --bg-page: #0f172a;\n --bg-surface: #1e293b;\n --bg-surface-subtle: #1e293b;\n --bg-surface-hover: #334155;\n --border-color: #334155;\n --border-color-subtle: #1e293b;\n --text-primary: #f1f5f9;\n --text-secondary: #94a3b8;\n --text-muted: #64748b;\n --header-bg: #0f172a;\n --tag-bg: #0c4a6e;\n --tag-color: #7dd3fc;\n --column-count-bg: #334155;\n --column-count-color: #94a3b8;\n --input-bg: #1e293b;\n --burger-dropdown-bg: #1e293b;\n --drag-over-bg: #1e3a5f;\n }\n * { box-sizing: border-box; margin: 0; padding: 0; }\n body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg-page); color: var(--text-primary); }\n header { background: var(--header-bg); color: white; padding: 12px 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }\n header h1 { font-size: 18px; font-weight: 700; text-align: center; }\n .board-title { font-size: 14px; font-weight: 400; opacity: 0.75; }\n .board-container { display: flex; width: 100%; height: calc(100vh - 92px); gap: 0; }\n .board { display: flex; gap: 12px; padding: 16px; overflow-x: auto; flex: 1; align-items: stretch; min-width: 0; }\n .board.with-panel { padding-right: 0; }\n .column { background: var(--bg-surface-subtle); border: 1px solid var(--border-color); border-radius: 8px; width: 240px; flex-shrink: 0; display: flex; flex-direction: column; border-top: 3px solid transparent; }\n .column-header { padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-color); flex-shrink: 0; }\n .column-title { font-size: 13px; font-weight: 700; }\n .column-header-right { display: flex; align-items: center; gap: 6px; }\n .column-count { background: var(--column-count-bg); color: var(--column-count-color); border-radius: 10px; font-size: 11px; font-weight: 600; padding: 2px 7px; }\n .add-btn { background: none; border: 1px solid var(--border-color); color: var(--text-secondary); border-radius: 4px; width: 22px; height: 22px; font-size: 14px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }\n .add-btn:hover { background: var(--border-color); color: var(--text-primary); }\n .column-body { padding: 8px; min-height: 60px; flex: 1; overflow-y: auto; overflow-x: hidden; min-height: 0; }\n .column.drag-over .column-body { background: var(--drag-over-bg); border-radius: 6px; }\n .card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 6px; padding: 10px; margin-bottom: 6px; cursor: grab; transition: box-shadow 0.15s; }\n .card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }\n .card.active { border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.25); background: #eff6ff; }\n [data-theme=\"dark\"] .card.active { border-color: #60a5fa; box-shadow: 0 0 0 2px rgba(96,165,250,0.25); background: #1e3a5f; }\n .card.dragging { opacity: 0.5; }\n .card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; gap: 4px; }\n .card-id { font-size: 11px; color: var(--text-muted); font-weight: 600; }\n .card-actions { margin-left: auto; flex-shrink: 0; }\n .claude-run-split { position: relative; display: inline-flex; }\n .claude-run-btn { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 10px 0 0 10px; border: 1px solid #16a34a; border-right: none; background: #dcfce7; color: #16a34a; cursor: pointer; line-height: 1.4; transition: background 0.15s; }\n .claude-run-btn:hover { background: #bbf7d0; }\n .claude-run-btn:disabled { opacity: 0.45; cursor: not-allowed; }\n .claude-run-toggle { font-size: 9px; font-weight: 600; padding: 2px 5px; border-radius: 0 10px 10px 0; border: 1px solid #16a34a; background: #dcfce7; color: #16a34a; cursor: pointer; line-height: 1.4; transition: background 0.15s; }\n .claude-run-toggle:hover { background: #bbf7d0; }\n .claude-run-toggle:disabled { opacity: 0.45; cursor: not-allowed; }\n .claude-run-menu { display: none; position: absolute; top: 100%; right: 0; margin-top: 2px; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 100; min-width: 160px; padding: 2px 0; }\n .claude-run-split.open .claude-run-menu { display: block; }\n .claude-run-menu-item { display: block; width: 100%; text-align: left; font-size: 11px; font-weight: 500; padding: 6px 12px; border: none; background: none; color: var(--text-primary); cursor: pointer; white-space: nowrap; }\n .claude-run-menu-item:hover { background: var(--bg-surface-hover); }\n .claude-run-menu-item:disabled { opacity: 0.45; cursor: not-allowed; }\n .claude-running-btn { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 10px; border: 1px solid #9ca3af; background: #f3f4f6; color: #6b7280; cursor: default; line-height: 1.4; display: inline-flex; align-items: center; gap: 4px; }\n .running-btn-spinner { display: inline-block; width: 10px; height: 10px; border: 1.5px solid rgba(107,114,128,0.3); border-top-color: #6b7280; border-radius: 50%; animation: header-spin 0.8s linear infinite; flex-shrink: 0; }\n .bulk-run-split { position: relative; display: inline-flex; }\n .bulk-run-btn { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 10px 0 0 10px; border: 1px solid #16a34a; border-right: none; background: #dcfce7; color: #16a34a; cursor: pointer; line-height: 1.4; transition: background 0.15s; white-space: nowrap; }\n .bulk-run-btn:hover { background: #bbf7d0; }\n .bulk-run-btn.bulk-run-btn-stop { border-color: #dc2626; background: #fee2e2; color: #dc2626; border-radius: 10px; border-right: 1px solid #dc2626; }\n .bulk-run-btn.bulk-run-btn-stop:hover { background: #fecaca; }\n .bulk-run-toggle { font-size: 9px; font-weight: 600; padding: 2px 5px; border-radius: 0 10px 10px 0; border: 1px solid #16a34a; background: #dcfce7; color: #16a34a; cursor: pointer; line-height: 1.4; transition: background 0.15s; }\n .bulk-run-toggle:hover { background: #bbf7d0; }\n .bulk-run-menu { display: none; position: absolute; top: 100%; right: 0; margin-top: 2px; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 100; min-width: 180px; padding: 2px 0; }\n .bulk-run-split.open .bulk-run-menu { display: block; }\n .bulk-run-menu-item { display: block; width: 100%; text-align: left; font-size: 11px; font-weight: 500; padding: 6px 12px; border: none; background: none; color: var(--text-primary); cursor: pointer; white-space: nowrap; }\n .bulk-run-menu-item:hover { background: var(--bg-surface-hover); }\n .bulk-run-menu-item:disabled { opacity: 0.45; cursor: not-allowed; }\n .claude-plan-btn { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 10px; border: 1px solid #2563eb; background: #dbeafe; color: #2563eb; cursor: pointer; line-height: 1.4; transition: background 0.15s; }\n .claude-plan-btn:hover { background: #bfdbfe; }\n .claude-detail-btn { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 10px; border: 1px solid #d97706; background: #fef3c7; color: #d97706; cursor: pointer; line-height: 1.4; transition: background 0.15s; }\n .claude-detail-btn:hover { background: #fde68a; }\n .card-title { font-size: 13px; font-weight: 500; line-height: 1.4; word-break: break-word; }\n .card-tags { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px; }\n .tag { background: var(--tag-bg); color: var(--tag-color); font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 10px; }\n .priority { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 10px; text-transform: uppercase; }\n .priority-critical { background: #fee2e2; color: #dc2626; }\n .priority-high { background: #fee2e2; color: #dc2626; }\n .priority-medium { background: #fef9c3; color: #ca8a04; }\n .priority-low { background: #dcfce7; color: #16a34a; }\n .attention-indicator { display: inline-flex; align-items: center; margin-left: 4px; min-width: 14px; height: 14px; }\n .attention-indicator.is-active .icon-question { color: var(--color-warning, #f59e0b); animation: attention-pulse 1.5s ease-in-out infinite; }\n @keyframes attention-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }\n .context-menu { position: fixed; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); padding: 4px 0; z-index: 1000; display: none; min-width: 140px; }\n .context-menu-item { padding: 8px 14px; font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 8px; color: var(--text-primary); }\n .context-menu-item:hover { background: var(--bg-surface-hover); }\n .context-menu-item.danger { color: #dc2626; }\n .context-menu-item.danger:hover { background: #fef2f2; }\n .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 2000; display: none; align-items: center; justify-content: center; }\n .modal-overlay.show { display: flex; }\n .modal { background: var(--bg-surface); border-radius: 8px; padding: 24px; width: 520px; box-shadow: 0 8px 24px rgba(0,0,0,0.2); color: var(--text-primary); }\n .modal h2 { font-size: 16px; margin-bottom: 14px; }\n .modal-title-with-icon { display: flex; align-items: center; gap: 6px; }\n .modal-title-icon { flex-shrink: 0; color: var(--text-secondary); }\n .modal label { display: block; font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 4px; }\n .modal input, .modal textarea, .modal select { width: 100%; border: 1px solid var(--border-color); border-radius: 6px; padding: 8px 10px; font-size: 13px; font-family: inherit; margin-bottom: 12px; background: var(--input-bg); color: var(--text-primary); }\n .modal textarea { resize: vertical; min-height: 60px; }\n .modal input:focus, .modal textarea:focus, .modal select:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .modal-actions { display: flex; justify-content: flex-end; gap: 8px; }\n .modal-actions button { padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid var(--border-color); background: var(--bg-surface); color: var(--text-secondary); }\n .modal-actions button:hover { background: var(--bg-surface-hover); }\n .modal-actions button.primary { background: #3b82f6; color: white; border-color: #3b82f6; }\n .modal-actions button.primary:hover { background: #2563eb; }\n .toast { position: fixed; bottom: 20px; right: 20px; z-index: 100; background: #ef4444; color: white; padding: 10px 16px; border-radius: 6px; font-size: 13px; opacity: 0; transition: opacity 0.3s; pointer-events: none; }\n .toast.show { opacity: 1; }\n .detail-panel { position: relative; z-index: 6; width: 0; height: calc(100vh - 92px); background: var(--bg-surface); box-shadow: none; border-left: 0 solid var(--border-color); display: flex; flex-direction: column; max-width: 800px; overflow: hidden; transition: width 0.25s ease; }\n .detail-panel-resize-handle { position: absolute; top: 0; left: 0; width: 6px; height: 100%; cursor: col-resize; z-index: 10; background: transparent; }\n .detail-panel-resize-handle:hover, .detail-panel-resize-handle.dragging { background: rgba(59,130,246,0.3); }\n .detail-panel.open { width: 400px; min-width: 280px; border-left-width: 1px; }\n .detail-panel-header { display: flex; align-items: center; gap: 4px; padding: 16px 20px; border-bottom: 1px solid var(--border-color); flex-shrink: 0; }\n .detail-panel-header h2 { font-size: 16px; font-weight: 700; color: var(--text-primary); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }\n .detail-panel-close { background: none; border: none; font-size: 20px; color: var(--text-secondary); cursor: pointer; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 4px; flex-shrink: 0; margin-left: auto; }\n .detail-panel-close:hover { background: var(--bg-surface-hover); color: var(--text-primary); }\n .detail-panel-copy-id { background: none; border: none; font-size: 20px; color: var(--text-secondary); cursor: pointer; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 4px; flex-shrink: 0; }\n .detail-panel-copy-id:hover { background: var(--bg-surface-hover); color: var(--text-primary); }\n .detail-panel-body { flex: 1; overflow: hidden; min-width: 0; display: flex; flex-direction: column; }\n .detail-field { margin-bottom: 16px; word-wrap: break-word; }\n .description-field-wrapper { display: flex; flex-direction: column; margin-bottom: 16px; }\n .detail-field-label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; letter-spacing: 0.05em; }\n .detail-field-value { font-size: 13px; color: var(--text-primary); line-height: 1.5; }\n .detail-field-value.empty { color: var(--text-muted); font-style: italic; }\n .detail-status-badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; color: white; }\n .detail-tags { display: flex; flex-wrap: wrap; gap: 4px; }\n .detail-meta-table { width: 100%; border-collapse: collapse; }\n .detail-meta-table td { padding: 4px 0; font-size: 12px; }\n .detail-meta-table td:first-child { color: var(--text-secondary); width: 100px; }\n .detail-meta-table td:last-child { color: var(--text-primary); }\n .detail-meta-table a { color: #2563eb; text-decoration: underline; }\n [data-theme=\"dark\"] .detail-meta-table a { color: #60a5fa; }\n .detail-panel-footer { padding: 12px 20px; border-top: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }\n .detail-panel-footer button { padding: 7px 18px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid #3b82f6; background: #3b82f6; color: white; }\n .detail-panel-footer button:hover { background: #2563eb; border-color: #2563eb; }\n .detail-edit-input { width: 100%; border: 1px solid var(--border-color); border-radius: 6px; padding: 7px 10px; font-size: 13px; font-family: inherit; background: var(--input-bg); color: var(--text-primary); }\n .detail-edit-input:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .detail-edit-textarea { width: 100%; border: 1px solid var(--border-color); border-radius: 6px; padding: 7px 10px; font-size: 13px; font-family: inherit; resize: none; min-height: 80px; background: var(--input-bg); color: var(--text-primary); overflow: hidden; }\n .detail-edit-textarea:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .detail-edit-select { width: 100%; border: 1px solid var(--border-color); border-radius: 6px; padding: 7px 10px; font-size: 13px; font-family: inherit; background: var(--input-bg); color: var(--text-primary); }\n .detail-edit-select:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .tag-select-wrapper { position: relative; }\n .tag-select-control { border: 1px solid var(--border-color); border-radius: 6px; padding: 4px 8px; min-height: 36px; cursor: text; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; background: var(--input-bg); }\n .tag-select-control:focus-within { border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .tag-pill { background: var(--tag-bg); color: var(--tag-color); font-size: 11px; font-weight: 600; padding: 2px 4px 2px 8px; border-radius: 10px; display: inline-flex; align-items: center; gap: 3px; }\n .tag-pill-remove { background: none; border: none; color: var(--tag-color); cursor: pointer; font-size: 13px; line-height: 1; padding: 0 2px; display: inline-flex; align-items: center; border-radius: 50%; }\n .tag-pill-remove:hover { color: #dc2626; background: rgba(220,38,38,0.1); }\n .tag-select-input { border: none; outline: none; font-size: 12px; font-family: inherit; min-width: 80px; flex: 1; background: transparent; padding: 2px 0; color: var(--text-primary); }\n .tag-select-input::placeholder { color: var(--text-muted); }\n .tag-select-dropdown { position: absolute; top: calc(100% + 2px); left: 0; right: 0; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 100; max-height: 180px; overflow-y: auto; display: none; }\n .tag-select-dropdown.open { display: block; }\n .tag-select-option { padding: 6px 10px; font-size: 12px; cursor: pointer; color: var(--text-primary); }\n .tag-select-option:hover, .tag-select-option.focused { background: #eff6ff; color: #0369a1; }\n .tag-select-no-options { padding: 6px 10px; font-size: 12px; color: var(--text-muted); font-style: italic; }\n .filter-bar { display: flex; align-items: center; gap: 16px; height: 44px; background: var(--bg-surface-subtle); border-bottom: 1px solid var(--border-color); padding: 0 16px; flex-shrink: 0; overflow-x: auto; }\n .filter-group { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }\n .filter-label { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.05em; white-space: nowrap; }\n .filter-priority-btn { border: 1px solid var(--border-color); background: var(--bg-surface); border-radius: 4px; padding: 2px 8px; font-size: 11px; font-weight: 600; cursor: pointer; text-transform: uppercase; color: var(--text-secondary); }\n .filter-priority-btn:hover { background: var(--bg-surface-hover); }\n .filter-priority-btn.active[data-priority=\"critical\"] { background: #fee2e2; color: #dc2626; border-color: #fca5a5; }\n .filter-priority-btn.active[data-priority=\"high\"] { background: #fee2e2; color: #dc2626; border-color: #fca5a5; }\n .filter-priority-btn.active[data-priority=\"medium\"] { background: #fef9c3; color: #ca8a04; border-color: #fde047; }\n .filter-priority-btn.active[data-priority=\"low\"] { background: #dcfce7; color: #16a34a; border-color: #86efac; }\n .filter-search-input { border: 1px solid var(--border-color); border-radius: 4px; padding: 3px 8px; font-size: 12px; font-family: inherit; background: var(--input-bg); color: var(--text-primary); width: 160px; }\n .filter-search-input:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .filter-assignee-input { border: 1px solid var(--border-color); border-radius: 4px; padding: 3px 8px; font-size: 12px; font-family: inherit; background: var(--input-bg); color: var(--text-primary); width: 120px; }\n .filter-assignee-input:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .filter-tag-pill { background: var(--tag-bg); color: var(--tag-color); font-size: 11px; font-weight: 600; padding: 2px 4px 2px 8px; border-radius: 10px; display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0; }\n .filter-tag-pill-remove { background: none; border: none; color: var(--tag-color); cursor: pointer; font-size: 13px; line-height: 1; padding: 0 2px; display: inline-flex; align-items: center; border-radius: 50%; }\n .filter-tag-pill-remove:hover { color: #dc2626; background: rgba(220,38,38,0.1); }\n .filter-tag-dropdown-wrapper { flex-shrink: 0; }\n .filter-tag-add-btn { border: 1px dashed var(--border-color); background: var(--bg-surface); border-radius: 4px; padding: 2px 8px; font-size: 11px; color: var(--text-secondary); cursor: pointer; white-space: nowrap; }\n .filter-tag-add-btn:hover { background: var(--bg-surface-hover); border-color: var(--text-muted); }\n .filter-tag-dropdown { position: fixed; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 200; max-height: 180px; overflow-y: auto; display: none; min-width: 140px; }\n .filter-tag-dropdown.open { display: block; }\n .filter-tag-dropdown-option { padding: 6px 10px; font-size: 12px; cursor: pointer; color: var(--text-primary); white-space: nowrap; }\n .filter-tag-dropdown-option:hover { background: #eff6ff; color: #0369a1; }\n .filter-tag-dropdown-empty { padding: 6px 10px; font-size: 12px; color: var(--text-muted); font-style: italic; }\n .filter-clear-btn { border: 1px solid var(--border-color); background: var(--bg-surface); border-radius: 4px; padding: 2px 10px; font-size: 11px; font-weight: 600; cursor: pointer; color: var(--text-secondary); display: none; flex-shrink: 0; margin-left: auto; }\n .filter-clear-btn:hover { background: #fee2e2; border-color: #fca5a5; color: #dc2626; }\n .filter-clear-btn.visible { display: block; }\n .detail-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border-color); flex-shrink: 0; padding: 0 20px; background: var(--bg-surface); }\n .detail-tab { padding: 8px 14px; font-size: 12px; font-weight: 600; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; border-top: none; border-left: none; border-right: none; }\n .detail-tab:hover { color: var(--text-secondary); }\n .detail-tab.active { color: #3b82f6; border-bottom-color: #3b82f6; }\n .detail-tab-content { display: none; flex: 1; overflow-y: auto; min-height: 0; }\n .detail-tab-content.active { display: block; overflow-y: auto; }\n .detail-relations { font-size: 12px; color: var(--text-secondary); padding: 6px 0; border-bottom: 1px solid var(--border-color-subtle); margin-bottom: 12px; }\n .detail-relation-row { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }\n .detail-relation-label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); width: 80px; flex-shrink: 0; letter-spacing: 0.05em; }\n .detail-relation-ids { display: flex; flex-wrap: wrap; gap: 4px; }\n .detail-relation-id { font-size: 11px; color: #3b82f6; background: #eff6ff; border-radius: 10px; padding: 1px 7px; font-weight: 600; }\n .detail-timestamp { font-size: 11px; color: var(--text-muted); margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border-color-subtle); }\n .detail-footer-timestamp { font-size: 11px; color: var(--text-muted); }\n .comment-item { position: relative; padding: 6px 0 6px 10px; border-left: 2px solid var(--border-color); margin-bottom: 10px; }\n .comment-item:hover { border-left-color: #3b82f6; }\n .comment-meta { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }\n .comment-author { font-size: 11px; font-weight: 600; color: var(--text-secondary); }\n .comment-date { font-size: 11px; color: var(--text-muted); }\n .comment-actions { display: none; margin-left: auto; gap: 4px; }\n .comment-item:hover .comment-actions { display: flex; }\n .comment-action-btn { background: none; border: none; padding: 1px 4px; cursor: pointer; color: var(--text-muted); font-size: 12px; border-radius: 3px; }\n .comment-action-btn:hover { color: var(--text-primary); background: var(--bg-surface-hover); }\n .comment-action-btn.danger:hover { color: #dc2626; background: #fef2f2; }\n .comment-content { font-size: 13px; color: var(--text-primary); line-height: 1.5; white-space: pre-wrap; }\n .comment-edit-area { width: 100%; border: 1px solid var(--border-color); border-radius: 6px; padding: 7px 10px; font-size: 13px; font-family: inherit; resize: vertical; min-height: 60px; background: var(--input-bg); color: var(--text-primary); margin-top: 4px; }\n .comment-edit-area:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .comment-edit-actions { display: flex; gap: 6px; margin-top: 4px; }\n .comment-btn { background: none; border: 1px solid var(--border-color); border-radius: 4px; font-size: 11px; font-weight: 600; padding: 2px 8px; cursor: pointer; color: var(--text-secondary); }\n .comment-btn:hover { background: var(--bg-surface-hover); }\n .add-comment-trigger { background: none; border: 1px dashed var(--border-color); border-radius: 6px; padding: 8px 12px; font-size: 12px; color: var(--text-muted); cursor: pointer; width: 100%; text-align: left; margin-top: 4px; }\n .add-comment-trigger:hover { border-color: var(--text-muted); color: var(--text-secondary); background: var(--bg-surface-subtle); }\n .add-comment-form { margin-top: 4px; display: none; }\n .add-comment-form.open { display: block; }\n .add-comment-textarea { width: 100%; border: 1px solid var(--border-color); border-radius: 6px; padding: 7px 10px; font-size: 13px; font-family: inherit; resize: vertical; min-height: 72px; background: var(--input-bg); color: var(--text-primary); }\n .add-comment-textarea:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .add-comment-submit { margin-top: 6px; padding: 5px 14px; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; border: 1px solid #3b82f6; background: #3b82f6; color: white; }\n .add-comment-submit:hover { background: #2563eb; border-color: #2563eb; }\n .add-comment-cancel { margin-top: 6px; margin-left: 6px; padding: 5px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; border: 1px solid var(--border-color); background: var(--bg-surface); color: var(--text-secondary); }\n .add-comment-cancel:hover { background: var(--bg-surface-hover); }\n @keyframes header-spin { to { transform: rotate(360deg); } }\n #header-running-indicator { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: header-spin 0.8s linear infinite; flex-shrink: 0; }\n .burger-menu-wrapper { position: relative; display: flex; align-items: center; gap: 6px; justify-content: flex-end; grid-column: 3; }\n .burger-menu-btn { background: none; border: none; color: white; cursor: pointer; padding: 4px 6px; border-radius: 4px; display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; opacity: 0.8; }\n .burger-menu-btn:hover { opacity: 1; background: rgba(255,255,255,0.1); }\n .burger-menu-btn span { display: block; width: 18px; height: 2px; background: white; border-radius: 1px; }\n .burger-menu-dropdown { position: absolute; right: 0; top: calc(100% + 6px); background: var(--burger-dropdown-bg); border: 1px solid var(--border-color); border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); padding: 4px 0; z-index: 1000; display: none; min-width: 180px; }\n .burger-menu-dropdown.open { display: block; }\n .burger-menu-item { padding: 8px 14px; font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 8px; color: var(--text-primary); white-space: nowrap; }\n .burger-menu-item:hover { background: var(--bg-surface-hover); }\n .burger-menu-item.danger { color: #dc2626; }\n .burger-menu-item.danger:hover { background: #fef2f2; }\n .burger-menu-separator { height: 1px; background: var(--border-color); margin: 4px 0; }\n .add-metadata-row-btn { background: none; border: 1px dashed var(--border-color); border-radius: 6px; padding: 5px 10px; font-size: 12px; color: var(--text-secondary); cursor: pointer; width: 100%; text-align: left; margin-bottom: 12px; }\n .add-metadata-row-btn:hover { border-color: var(--text-muted); background: var(--bg-surface-subtle); }\n .metadata-row { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }\n .metadata-row-key { flex: 1; border: 1px solid var(--border-color); border-radius: 6px; padding: 6px 8px; font-size: 12px; font-family: inherit; background: var(--input-bg); color: var(--text-primary); }\n .metadata-row-key:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .metadata-row-value { flex: 2; border: 1px solid var(--border-color); border-radius: 6px; padding: 6px 8px; font-size: 12px; font-family: inherit; background: var(--input-bg); color: var(--text-primary); }\n .metadata-row-value:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }\n .metadata-row-remove { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 16px; line-height: 1; padding: 2px 4px; border-radius: 4px; flex-shrink: 0; }\n .metadata-row-remove:hover { color: #dc2626; background: #fef2f2; }\n .dependency-toggle-btn { border: 1px solid var(--border-color); background: var(--bg-surface); border-radius: 4px; padding: 2px 10px; font-size: 11px; font-weight: 600; cursor: pointer; color: var(--text-secondary); flex-shrink: 0; transition: all 0.2s ease; }\n .dependency-toggle-btn:hover { background: var(--bg-surface-hover); border-color: var(--text-muted); color: var(--text-primary); }\n .dependency-toggle-btn.active { background: #3b82f6; border-color: #3b82f6; color: white; }\n .dependency-toggle-btn.active:hover { background: #2563eb; border-color: #2563eb; }\n svg#dependency-svg { pointer-events: none; }\n .dependency-line { transition: stroke-width 0.1s ease; }\n .claude-stream-modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }\n .claude-stream-modal-header h2 { font-size: 16px; font-weight: 700; margin: 0; }\n .claude-stream-modal-header button { background: none; border: none; font-size: 18px; color: var(--text-secondary); cursor: pointer; padding: 2px 6px; border-radius: 4px; line-height: 1; }\n .claude-stream-modal-header button:hover { background: var(--bg-surface-hover); color: var(--text-primary); }\n .claude-stream-log { font-family: 'Courier New', Courier, monospace; background: #0d0d0d; color: #22c55e; overflow-y: auto; max-height: 400px; white-space: pre-wrap; padding: 10px 12px; border-radius: 6px; font-size: 12px; line-height: 1.5; margin-bottom: 12px; }\n .claude-stream-tool-use { background: var(--bg-header, #1e293b); color: #94a3b8; padding: 1px 4px; border-radius: 3px; }\n .claude-stream-modal-footer { display: flex; align-items: center; gap: 8px; }\n .claude-stream-status { color: var(--text-secondary); font-size: 11px; flex: 1; }\n .claude-stream-stop-btn { padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid #dc2626; background: #dc2626; color: white; }\n .claude-stream-stop-btn:hover:not(:disabled) { background: #b91c1c; border-color: #b91c1c; }\n .claude-stream-stop-btn:disabled { opacity: 0.5; cursor: not-allowed; }\n #claude-stream-close-btn { padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid var(--border-color); background: var(--bg-surface); color: var(--text-secondary); }\n #claude-stream-close-btn:hover { background: var(--bg-surface-hover); color: var(--text-primary); }\n .detail-tab-content.detail-terminal-pane { padding: 0; flex-direction: column; }\n .detail-tab-content.detail-terminal-pane.active { display: flex; overflow: hidden; }\n .detail-terminal-toolbar { display: flex; justify-content: flex-end; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--border-color); background: var(--bg-surface-subtle, #f8fafc); flex-shrink: 0; }\n .detail-terminal-host { flex: 1; min-height: 0; position: relative; background: #0d1117; }\n .detail-terminal-host .xterm { height: 100%; }\n .detail-terminal-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 12px; background: #0d1117; z-index: 1; }\n .run-log-list { padding: 12px 16px; }\n .run-log-item { border: 1px solid var(--border-color); border-radius: 6px; margin-bottom: 8px; overflow: hidden; }\n .run-log-header { display: flex; align-items: center; gap: 8px; padding: 8px 12px; cursor: pointer; background: var(--bg-surface-subtle, #f8fafc); user-select: none; }\n .run-log-header:hover { background: var(--bg-surface-hover); }\n .run-log-toggle { font-size: 10px; color: var(--text-muted); flex-shrink: 0; transition: transform 0.15s ease; }\n .run-log-item.open .run-log-toggle { transform: rotate(90deg); }\n .run-log-date { font-size: 12px; color: var(--text-secondary); font-family: 'Courier New', Courier, monospace; }\n .run-log-exit { font-size: 11px; font-weight: 600; border-radius: 10px; padding: 1px 7px; flex-shrink: 0; }\n .run-log-exit.success { background: #dcfce7; color: #15803d; }\n .run-log-exit.failure { background: #fee2e2; color: #dc2626; }\n .run-log-body { display: none; font-family: 'Courier New', Courier, monospace; background: #0d0d0d; color: #22c55e; font-size: 11px; line-height: 1.5; padding: 8px 12px; white-space: pre-wrap; max-height: 300px; overflow-y: auto; }\n .run-log-item.open .run-log-body { display: block; }\n .run-log-tool-use { color: #94a3b8; }\n .run-log-empty { padding: 24px 16px; font-size: 12px; color: var(--text-muted); text-align: center; }\n .connection-status-btn { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: default; flex-shrink: 0; transition: opacity 0.2s; }\n .connection-status-btn.connected { opacity: 1; }\n .connection-status-btn.connecting { opacity: 0.6; animation: conn-pulse 1.5s ease-in-out infinite; }\n .connection-status-btn.disconnected { cursor: pointer; opacity: 1; animation: none; }\n .connection-status-btn.disconnected:hover { opacity: 0.8; }\n @keyframes conn-pulse { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }";
2
2
  //# sourceMappingURL=boardStyles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"boardStyles.d.ts","sourceRoot":"","sources":["../../src/board/boardStyles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,47iCA2SiF,CAAC"}
1
+ {"version":3,"file":"boardStyles.d.ts","sourceRoot":"","sources":["../../src/board/boardStyles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,+kkCAiTmD,CAAC"}
@@ -42,8 +42,8 @@ exports.BOARD_STYLES = `
42
42
  }
43
43
  * { box-sizing: border-box; margin: 0; padding: 0; }
44
44
  body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg-page); color: var(--text-primary); }
45
- header { background: var(--header-bg); color: white; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; }
46
- header h1 { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
45
+ header { background: var(--header-bg); color: white; padding: 12px 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
46
+ header h1 { font-size: 18px; font-weight: 700; text-align: center; }
47
47
  .board-title { font-size: 14px; font-weight: 400; opacity: 0.75; }
48
48
  .board-container { display: flex; width: 100%; height: calc(100vh - 92px); gap: 0; }
49
49
  .board { display: flex; gap: 12px; padding: 16px; overflow-x: auto; flex: 1; align-items: stretch; min-width: 0; }
@@ -241,8 +241,8 @@ exports.BOARD_STYLES = `
241
241
  .add-comment-cancel { margin-top: 6px; margin-left: 6px; padding: 5px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; border: 1px solid var(--border-color); background: var(--bg-surface); color: var(--text-secondary); }
242
242
  .add-comment-cancel:hover { background: var(--bg-surface-hover); }
243
243
  @keyframes header-spin { to { transform: rotate(360deg); } }
244
- #header-running-indicator { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: header-spin 0.8s linear infinite; margin-left: 8px; flex-shrink: 0; }
245
- .burger-menu-wrapper { position: relative; }
244
+ #header-running-indicator { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: header-spin 0.8s linear infinite; flex-shrink: 0; }
245
+ .burger-menu-wrapper { position: relative; display: flex; align-items: center; gap: 6px; justify-content: flex-end; grid-column: 3; }
246
246
  .burger-menu-btn { background: none; border: none; color: white; cursor: pointer; padding: 4px 6px; border-radius: 4px; display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; opacity: 0.8; }
247
247
  .burger-menu-btn:hover { opacity: 1; background: rgba(255,255,255,0.1); }
248
248
  .burger-menu-btn span { display: block; width: 18px; height: 2px; background: white; border-radius: 1px; }
@@ -300,5 +300,11 @@ exports.BOARD_STYLES = `
300
300
  .run-log-body { display: none; font-family: 'Courier New', Courier, monospace; background: #0d0d0d; color: #22c55e; font-size: 11px; line-height: 1.5; padding: 8px 12px; white-space: pre-wrap; max-height: 300px; overflow-y: auto; }
301
301
  .run-log-item.open .run-log-body { display: block; }
302
302
  .run-log-tool-use { color: #94a3b8; }
303
- .run-log-empty { padding: 24px 16px; font-size: 12px; color: var(--text-muted); text-align: center; }`;
303
+ .run-log-empty { padding: 24px 16px; font-size: 12px; color: var(--text-muted); text-align: center; }
304
+ .connection-status-btn { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: default; flex-shrink: 0; transition: opacity 0.2s; }
305
+ .connection-status-btn.connected { opacity: 1; }
306
+ .connection-status-btn.connecting { opacity: 0.6; animation: conn-pulse 1.5s ease-in-out infinite; }
307
+ .connection-status-btn.disconnected { cursor: pointer; opacity: 1; animation: none; }
308
+ .connection-status-btn.disconnected:hover { opacity: 0.8; }
309
+ @keyframes conn-pulse { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }`;
304
310
  //# sourceMappingURL=boardStyles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"boardStyles.js","sourceRoot":"","sources":["../../src/board/boardStyles.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0GA2S8E,CAAC"}
1
+ {"version":3,"file":"boardStyles.js","sourceRoot":"","sources":["../../src/board/boardStyles.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAiTgD,CAAC"}
@@ -9924,6 +9924,57 @@ Move task to "${label}"?`);
9924
9924
  renderPills();
9925
9925
  }
9926
9926
 
9927
+ // src/board/client/connectionStatus.ts
9928
+ var streamStates = {
9929
+ board: "connecting",
9930
+ attention: "connecting",
9931
+ "run-logs": "connected"
9932
+ // Not always active; treated as connected when not in use
9933
+ };
9934
+ var activeRunLogs = false;
9935
+ var listeners = [];
9936
+ function computeOverallState() {
9937
+ const monitored = activeRunLogs ? ["board", "attention", "run-logs"] : ["board", "attention"];
9938
+ if (monitored.some((k) => streamStates[k] === "disconnected")) return "disconnected";
9939
+ if (monitored.some((k) => streamStates[k] === "connecting")) return "connecting";
9940
+ return "connected";
9941
+ }
9942
+ var lastEmitted = null;
9943
+ function notify() {
9944
+ const state = computeOverallState();
9945
+ if (state === lastEmitted) return;
9946
+ lastEmitted = state;
9947
+ listeners.forEach((fn2) => fn2(state));
9948
+ }
9949
+ function setStreamState(key, state) {
9950
+ streamStates[key] = state;
9951
+ notify();
9952
+ }
9953
+ function setRunLogsActive(active) {
9954
+ activeRunLogs = active;
9955
+ if (!active) streamStates["run-logs"] = "connected";
9956
+ notify();
9957
+ }
9958
+ function onConnectionStateChange(fn2) {
9959
+ listeners.push(fn2);
9960
+ fn2(computeOverallState());
9961
+ return () => {
9962
+ const idx = listeners.indexOf(fn2);
9963
+ if (idx !== -1) listeners.splice(idx, 1);
9964
+ };
9965
+ }
9966
+ var reconnectCallbacks = [];
9967
+ function registerReconnect(fn2) {
9968
+ reconnectCallbacks.push(fn2);
9969
+ return () => {
9970
+ const idx = reconnectCallbacks.indexOf(fn2);
9971
+ if (idx !== -1) reconnectCallbacks.splice(idx, 1);
9972
+ };
9973
+ }
9974
+ function triggerReconnectAll() {
9975
+ reconnectCallbacks.forEach((fn2) => fn2());
9976
+ }
9977
+
9927
9978
  // src/board/client/boardPolling.ts
9928
9979
  var activeFilters = { tagIds: [], priorities: [], assignee: "", searchText: "" };
9929
9980
  function buildFilterParams() {
@@ -10078,11 +10129,43 @@ Move task to "${label}"?`);
10078
10129
  }
10079
10130
  }
10080
10131
  function initBoardPolling() {
10081
- const es2 = new EventSource("/api/board/stream");
10082
- es2.addEventListener("update", () => {
10083
- if (draggedCard !== null || isPendingStatusUpdate) return;
10084
- refreshBoardCards();
10085
- });
10132
+ let backoffMs = 1e3;
10133
+ let reconnectTimer = null;
10134
+ let es2;
10135
+ let stopped = false;
10136
+ function connect() {
10137
+ es2 = new EventSource("/api/board/stream");
10138
+ setStreamState("board", "connecting");
10139
+ es2.addEventListener("open", () => {
10140
+ setStreamState("board", "connected");
10141
+ backoffMs = 1e3;
10142
+ });
10143
+ es2.addEventListener("update", () => {
10144
+ if (draggedCard !== null || isPendingStatusUpdate) return;
10145
+ refreshBoardCards();
10146
+ });
10147
+ es2.onerror = () => {
10148
+ if (stopped) return;
10149
+ setStreamState("board", "disconnected");
10150
+ es2.close();
10151
+ reconnectTimer = setTimeout(() => {
10152
+ backoffMs = Math.min(backoffMs * 2, 3e4);
10153
+ connect();
10154
+ }, backoffMs);
10155
+ };
10156
+ }
10157
+ function reconnectNow() {
10158
+ if (stopped) return;
10159
+ if (reconnectTimer !== null) {
10160
+ clearTimeout(reconnectTimer);
10161
+ reconnectTimer = null;
10162
+ }
10163
+ es2.close();
10164
+ backoffMs = 1e3;
10165
+ connect();
10166
+ }
10167
+ connect();
10168
+ registerReconnect(reconnectNow);
10086
10169
  }
10087
10170
 
10088
10171
  // src/board/client/addTaskModal.ts
@@ -10477,6 +10560,9 @@ Move task to "${label}"?`);
10477
10560
  }
10478
10561
  function subscribeRunLogs(taskId, onUpdate, onError) {
10479
10562
  const es2 = new EventSource("/api/claude/tasks/" + taskId + "/run-logs/stream");
10563
+ es2.addEventListener("open", () => {
10564
+ setStreamState("run-logs", "connected");
10565
+ });
10480
10566
  es2.addEventListener("update", (event) => {
10481
10567
  const msgEvent = event;
10482
10568
  try {
@@ -10485,7 +10571,10 @@ Move task to "${label}"?`);
10485
10571
  } catch {
10486
10572
  }
10487
10573
  });
10488
- es2.onerror = () => onError();
10574
+ es2.onerror = () => {
10575
+ setStreamState("run-logs", "disconnected");
10576
+ onError();
10577
+ };
10489
10578
  return es2;
10490
10579
  }
10491
10580
 
@@ -10671,6 +10760,7 @@ Move task to "${label}"?`);
10671
10760
  if (runLogEventSource !== null) {
10672
10761
  runLogEventSource.close();
10673
10762
  runLogEventSource = null;
10763
+ setRunLogsActive(false);
10674
10764
  }
10675
10765
  }
10676
10766
  function getDetailTaskId() {
@@ -10954,6 +11044,7 @@ Move task to "${label}"?`);
10954
11044
  }
10955
11045
  pane.removeEventListener("click", handleRunLogToggle);
10956
11046
  pane.addEventListener("click", handleRunLogToggle);
11047
+ setRunLogsActive(true);
10957
11048
  runLogEventSource = subscribeRunLogs(
10958
11049
  taskId,
10959
11050
  (logs) => {
@@ -11652,6 +11743,30 @@ Move task to "${label}"?`);
11652
11743
  }
11653
11744
  });
11654
11745
  }
11746
+ var STATE_ICONS = {
11747
+ connected: "\u{1F7E2}",
11748
+ connecting: "\u{1F7E1}",
11749
+ disconnected: "\u{1F534}"
11750
+ };
11751
+ var STATE_TITLES = {
11752
+ connected: "Connected",
11753
+ connecting: "Connecting...",
11754
+ disconnected: "Disconnected \u2014 Click to reconnect"
11755
+ };
11756
+ function initConnectionStatusBtn() {
11757
+ const btn = document.getElementById("connection-status-btn");
11758
+ if (!btn) return;
11759
+ onConnectionStateChange((state) => {
11760
+ btn.className = `connection-status-btn ${state}`;
11761
+ btn.textContent = STATE_ICONS[state] ?? "\u26AA";
11762
+ btn.title = STATE_TITLES[state] ?? "";
11763
+ });
11764
+ btn.addEventListener("click", () => {
11765
+ if (btn.classList.contains("disconnected")) {
11766
+ triggerReconnectAll();
11767
+ }
11768
+ });
11769
+ }
11655
11770
  function initBurgerMenu() {
11656
11771
  const burgerBtn = document.getElementById("burger-menu-btn");
11657
11772
  const burgerDropdown = document.getElementById("burger-menu-dropdown");
@@ -11662,6 +11777,7 @@ Move task to "${label}"?`);
11662
11777
  initImportModal(burgerDropdown);
11663
11778
  initVersionModal(burgerDropdown);
11664
11779
  initDarkMode();
11780
+ initConnectionStatusBtn();
11665
11781
  }
11666
11782
 
11667
11783
  // src/board/client/dependencyVisualization.ts
@@ -11915,21 +12031,58 @@ Move task to "${label}"?`);
11915
12031
  }
11916
12032
  }
11917
12033
  function startAttentionStream() {
11918
- const es2 = new EventSource("/api/attention/stream");
11919
- es2.onmessage = (e) => {
11920
- let msg;
11921
- try {
11922
- msg = JSON.parse(e.data);
11923
- } catch {
11924
- return;
11925
- }
11926
- if (msg.type === "snapshot") {
11927
- msg.taskIds.forEach((id) => applyAttention(id, true));
11928
- } else if (msg.type === "update") {
11929
- applyAttention(msg.taskId, msg.needsAttention);
11930
- }
12034
+ let backoffMs = 1e3;
12035
+ let reconnectTimer = null;
12036
+ let es2;
12037
+ let stopped = false;
12038
+ function connect() {
12039
+ es2 = new EventSource("/api/attention/stream");
12040
+ setStreamState("attention", "connecting");
12041
+ es2.addEventListener("open", () => {
12042
+ setStreamState("attention", "connected");
12043
+ backoffMs = 1e3;
12044
+ });
12045
+ es2.onmessage = (e) => {
12046
+ let msg;
12047
+ try {
12048
+ msg = JSON.parse(e.data);
12049
+ } catch {
12050
+ return;
12051
+ }
12052
+ if (msg.type === "snapshot") {
12053
+ msg.taskIds.forEach((id) => applyAttention(id, true));
12054
+ } else if (msg.type === "update") {
12055
+ applyAttention(msg.taskId, msg.needsAttention);
12056
+ }
12057
+ };
12058
+ es2.onerror = () => {
12059
+ if (stopped) return;
12060
+ setStreamState("attention", "disconnected");
12061
+ es2.close();
12062
+ reconnectTimer = setTimeout(() => {
12063
+ backoffMs = Math.min(backoffMs * 2, 3e4);
12064
+ connect();
12065
+ }, backoffMs);
12066
+ };
12067
+ }
12068
+ function reconnectNow() {
12069
+ if (stopped) return;
12070
+ if (reconnectTimer !== null) {
12071
+ clearTimeout(reconnectTimer);
12072
+ reconnectTimer = null;
12073
+ }
12074
+ es2.close();
12075
+ backoffMs = 1e3;
12076
+ connect();
12077
+ }
12078
+ connect();
12079
+ const unregister = registerReconnect(reconnectNow);
12080
+ return () => {
12081
+ stopped = true;
12082
+ if (reconnectTimer !== null) clearTimeout(reconnectTimer);
12083
+ unregister();
12084
+ es2.close();
11931
12085
  };
11932
- return () => es2.close();
11933
12086
  }
11934
12087
 
11935
12088
  // src/board/client/bulkRunButton.ts
@@ -50,7 +50,7 @@ function startBoardServer(port, boardTitle) {
50
50
  const app = new hono_1.Hono();
51
51
  const resolvedConfigDir = path_1.default.join(process.cwd(), (0, config_1.getDefaultDirName)());
52
52
  const ptyService = new PtySessionService_1.PtySessionService(resolvedDb, {
53
- boardApiUrl: '',
53
+ boardApiUrl: null,
54
54
  attentionStateService,
55
55
  hookSettingsDataDir,
56
56
  });
@@ -1 +1 @@
1
- {"version":3,"file":"server.js","sourceRoot":"","sources":["../../src/board/server.ts"],"names":[],"mappings":";;;;;AA0BA,wCA6BC;AAED,4CA8CC;AAvGD,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IAAI,CAAC,IAAI,EAAE,CAAC;QACpD,OAAO,CAAC,GAAG,CAAC,yCAAyC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;QAElE,UAAU,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;QAEvC,MAAM,EAAE,aAAa,EAAE,GAAG,IAAA,yCAAsB,EAAC,UAAU,CAAC,CAAC;QAC7D,MAAM,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE;YACzC,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,gBAAgB,CAAC,EAAE,CAAC;gBAC1C,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;YACnC,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC,CAAW,CAAC;AACf,CAAC"}
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env node
2
+
3
+ // Records the main session_id so hook-attention.mjs can ignore subagent events.
4
+ const taskIdRaw = process.env.BOARD_TASK_ID;
5
+
6
+ if (!taskIdRaw) {
7
+ process.exit(0);
8
+ }
9
+
10
+ try {
11
+ const chunks = [];
12
+ for await (const chunk of process.stdin) chunks.push(chunk);
13
+ const payload = JSON.parse(Buffer.concat(chunks).toString('utf-8'));
14
+ const sessionId = payload?.session_id;
15
+ if (sessionId) {
16
+ const { writeFileSync } = await import('fs');
17
+ writeFileSync(`/tmp/board-main-session-${taskIdRaw}`, sessionId, 'utf-8');
18
+ }
19
+ } catch {
20
+ // best-effort; don't block startup
21
+ }
22
+
23
+ process.exit(0);
@@ -79,15 +79,19 @@ async function main() {
79
79
  const taskId = Number(taskIdRaw);
80
80
  if (!Number.isFinite(taskId)) return;
81
81
 
82
- // Clean up the main-session file so stale IDs don't persist across task restarts.
82
+ // Check whether this is the main session or a sub-agent session.
83
+ // Only the main session should notify the board; sub-agent sessions must be ignored.
83
84
  const sessionFile = `/tmp/board-main-session-${taskIdRaw}`;
84
85
  try {
85
86
  const mainSessionId = (await fs.readFile(sessionFile, 'utf-8')).trim();
86
- if (mainSessionId && mainSessionId === payload?.session_id) {
87
- await fs.unlink(sessionFile).catch(() => {});
87
+ if (mainSessionId && mainSessionId !== payload?.session_id) {
88
+ // This is a sub-agent stop — do not notify the board.
89
+ return;
88
90
  }
91
+ // This is the main session — clean up the file before notifying.
92
+ await fs.unlink(sessionFile).catch(() => {});
89
93
  } catch {
90
- // file may not exist; ignore
94
+ // file may not exist (e.g. hook-session-start was not used); proceed with API call.
91
95
  }
92
96
 
93
97
  try {
@@ -1,6 +1,7 @@
1
1
  import type { StorageBackend } from '../db/types/repository';
2
2
  import type { RunLog, CompletionConfirmCallback } from '../services/ClaudeProcessService';
3
3
  import { AttentionStateService } from '../services/AttentionStateService';
4
+ export declare function stripAnsi(text: string): string;
4
5
  type OutputEvent = {
5
6
  kind: 'done';
6
7
  exitCode: number;
@@ -10,7 +11,7 @@ type OutputEvent = {
10
11
  };
11
12
  type SubscribeCallback = (event: OutputEvent) => void;
12
13
  export interface PtySessionServiceOptions {
13
- boardApiUrl: string;
14
+ boardApiUrl: string | null;
14
15
  attentionStateService: AttentionStateService;
15
16
  hookSettingsDataDir: string;
16
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PtySessionService.d.ts","sourceRoot":"","sources":["../../src/terminal/PtySessionService.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAa,MAAM,wBAAwB,CAAC;AACxE,OAAO,KAAK,EACV,MAAM,EAEN,yBAAyB,EAC1B,MAAM,kCAAkC,CAAC;AAI1C,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAe1E,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAC3F,KAAK,iBAAiB,GAAG,CAAC,K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E,QAAQ,EAAE,iBAAiB,GAAG,MAAM,IAAI;IAkBxE,qBAAqB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI;IAkBvE,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GAAG,MAAM,IAAI;IAShF,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI;IAIxD,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI;IAI9C,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE;CAarC"}
@@ -34,11 +34,23 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.PtySessionService = void 0;
37
+ exports.stripAnsi = stripAnsi;
37
38
  const pty = __importStar(require("node-pty"));
38
39
  const child_process_1 = require("child_process");
39
40
  const errors_1 = require("../errors");
40
41
  const claudeHookSettings_1 = require("../hooks/claudeHookSettings");
41
42
  const hookToken_1 = require("../utils/hookToken");
43
+ function stripAnsi(text) {
44
+ return (text
45
+ // CSI sequences: ESC [ <param bytes> <intermediate bytes> <final byte>
46
+ .replace(/\x1b\[[\x30-\x3F]*[\x20-\x2F]*[\x40-\x7E]/g, '')
47
+ // OSC sequences: ESC ] ... BEL or ESC \ (also handles unterminated)
48
+ .replace(/\x1b\][^\x07\x1b]*(?:\x07|\x1b\\|$)/g, '')
49
+ // Single ESC sequences (e.g. ESC = ESC >)
50
+ .replace(/\x1b[=>]/g, '')
51
+ // Carriage return overwrite: collapse lines with CR to last segment
52
+ .replace(/[^\n]*\r([^\n])/g, '$1'));
53
+ }
42
54
  function resolveClaudePath() {
43
55
  try {
44
56
  return (0, child_process_1.execSync)('which claude', { env: process.env }).toString().trim() || 'claude';
@@ -49,6 +61,7 @@ function resolveClaudePath() {
49
61
  }
50
62
  const CLAUDE_BIN = resolveClaudePath();
51
63
  const PROMPT_FALLBACK_DELAY_MS = 10000;
64
+ const PROMPT_ENTER_DELAY_MS = 100;
52
65
  const MAX_SNAPSHOT_BYTES = 500_000;
53
66
  const MAX_COMPLETED_SNAPSHOTS = 10;
54
67
  function hasWorkspaceTrustPrompt(text) {
@@ -111,7 +124,7 @@ class PtySessionService {
111
124
  const settingsArgs = this.hookSettingsPath ? ['--settings', this.hookSettingsPath] : [];
112
125
  const args = [...settingsArgs, ...modelArgs, ...effortArgs, '--dangerously-skip-permissions'];
113
126
  const hookEnv = {};
114
- if (this.boardApiUrl !== null) {
127
+ if (this.boardApiUrl !== null && this.boardApiUrl !== '') {
115
128
  hookEnv.BOARD_TASK_ID = String(taskId);
116
129
  hookEnv.BOARD_API_URL = this.boardApiUrl;
117
130
  hookEnv.BOARD_HOOK_TOKEN = (0, hookToken_1.getHookToken)();
@@ -152,8 +165,14 @@ class PtySessionService {
152
165
  info.promptTimer = setTimeout(() => {
153
166
  info.promptTimer = null;
154
167
  if (info.pendingPrompt !== null && this.sessions.has(taskId)) {
155
- ptyProcess.write(info.pendingPrompt + '\r');
168
+ const fallbackPrompt = info.pendingPrompt;
156
169
  info.pendingPrompt = null;
170
+ ptyProcess.write(fallbackPrompt);
171
+ setTimeout(() => {
172
+ if (this.sessions.has(taskId)) {
173
+ ptyProcess.write('\r');
174
+ }
175
+ }, PROMPT_ENTER_DELAY_MS);
157
176
  }
158
177
  }, PROMPT_FALLBACK_DELAY_MS);
159
178
  ptyProcess.onData((data) => {
@@ -166,21 +185,33 @@ class PtySessionService {
166
185
  info.workspaceTrustHandled = true;
167
186
  ptyProcess.write('y\r');
168
187
  }
169
- // Send pending prompt as soon as Claude's input prompt is ready
188
+ // Send pending prompt as soon as Claude's input prompt is ready.
189
+ // Delay slightly to ensure the interactive input line is fully initialized
190
+ // before writing — the ready signal fires before the prompt cursor appears.
170
191
  if (info.pendingPrompt !== null && hasClaudeReadySignal(info.outputBuffer)) {
171
192
  if (info.promptTimer !== null) {
172
193
  clearTimeout(info.promptTimer);
173
194
  info.promptTimer = null;
174
195
  }
175
- ptyProcess.write(info.pendingPrompt + '\r');
196
+ const prompt = info.pendingPrompt;
176
197
  info.pendingPrompt = null;
198
+ setTimeout(() => {
199
+ if (this.sessions.has(taskId)) {
200
+ ptyProcess.write(prompt);
201
+ setTimeout(() => {
202
+ if (this.sessions.has(taskId)) {
203
+ ptyProcess.write('\r');
204
+ }
205
+ }, PROMPT_ENTER_DELAY_MS);
206
+ }
207
+ }, 500);
177
208
  }
178
209
  info.rawOutputSubscribers.forEach((cb) => cb(data));
179
210
  // Throttle: persist current output snapshot as events every 2 seconds
180
211
  const now = Date.now();
181
212
  if (this.db && info.runLogId && now - info.lastEventsUpdate > 2000) {
182
213
  info.lastEventsUpdate = now;
183
- const cleanText = info.outputBuffer.replace(/\x1b\[[0-9;]*[mGKHFJlh]/g, '');
214
+ const cleanText = stripAnsi(info.outputBuffer);
184
215
  this.db.runLogs.updateEvents(info.runLogId, JSON.stringify([{ kind: 'text', text: cleanText }]));
185
216
  info.outputUpdateSubscribers.forEach((cb) => cb());
186
217
  }
@@ -194,7 +225,7 @@ class PtySessionService {
194
225
  info.pendingPrompt = null;
195
226
  if (this.db && info.runLogId) {
196
227
  const finishedAt = new Date().toISOString();
197
- const cleanText = info.outputBuffer.replace(/\x1b\[[0-9;]*[mGKHFJlh]/g, '');
228
+ const cleanText = stripAnsi(info.outputBuffer);
198
229
  const events = JSON.stringify([{ kind: 'text', text: cleanText }]);
199
230
  this.db.runLogs.updateFinished(info.runLogId, finishedAt, code, events);
200
231
  const ids = this.db.runLogs.findIdsByTaskId(taskId);
@@ -1 +1 @@
1
- {"version":3,"file":"PtySessionService.js","sourceRoot":"","sources":["../../src/terminal/PtySessionService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAA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R,OAAO,EAAE,CAAC,CAAC,OAAO;YAClB,UAAU,EAAE,CAAC,CAAC,UAAU;YACxB,WAAW,EAAE,CAAC,CAAC,WAAW;YAC1B,SAAS,EAAE,CAAC,CAAC,SAAS;YACtB,UAAU,EAAE,CAAC,CAAC,UAAU;YACxB,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAwB;SACpD,CAAC,CAAC,CAAC;IACN,CAAC;CACF;AA7SD,8CA6SC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agkan",
3
- "version": "3.6.0",
3
+ "version": "3.8.0",
4
4
  "description": "TypeScript-based CLI task management tool with SQLite storage",
5
5
  "main": "dist/cli/index.js",
6
6
  "bin": {