@teamclaws/teamclaw 2026.4.3-2 → 2026.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/ui/style.css CHANGED
@@ -4,22 +4,46 @@
4
4
  box-sizing: border-box;
5
5
  }
6
6
 
7
+ /* Slim scrollbars everywhere: system bars read as jarring chrome on the
8
+ dark workbench. Thin, quiet, hover-responsive - WebKit + Firefox. */
9
+ * {
10
+ scrollbar-width: thin;
11
+ scrollbar-color: var(--border-strong) transparent;
12
+ }
13
+ *::-webkit-scrollbar { width: 8px; height: 8px; }
14
+ *::-webkit-scrollbar-track { background: transparent; }
15
+ *::-webkit-scrollbar-thumb {
16
+ background: var(--border-strong);
17
+ border-radius: 999px;
18
+ border: 2px solid transparent;
19
+ background-clip: content-box;
20
+ }
21
+ *::-webkit-scrollbar-thumb:hover { background-color: var(--text-muted); }
22
+ *::-webkit-scrollbar-corner { background: transparent; }
23
+
7
24
  :root {
8
- --bg-primary: #0f1117;
9
- --bg-secondary: #1a1d27;
10
- --bg-tertiary: #252836;
11
- --text-primary: #e4e4e7;
12
- --text-secondary: #a1a1aa;
13
- --text-muted: #71717a;
14
- --accent: #6366f1;
15
- --accent-hover: #818cf8;
16
- --success: #22c55e;
17
- --warning: #eab308;
18
- --danger: #ef4444;
19
- --info: #3b82f6;
20
- --border: #2e3140;
21
- --radius: 8px;
22
- --shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
25
+ /* Workbench palette: warm charcoal base, sand-gold brand accent,
26
+ desaturated statuses - deliberately off the default template ramp. */
27
+ --bg-primary: #121110;
28
+ --bg-secondary: #1a1917;
29
+ --bg-tertiary: #232120;
30
+ --text-primary: #ecebe6;
31
+ --text-secondary: #a8a49a;
32
+ --text-muted: #6f6b61;
33
+ --accent: #d9a664;
34
+ --accent-hover: #e8bd7f;
35
+ --accent-dim: rgba(217, 166, 100, 0.14);
36
+ --success: #7fb069;
37
+ --warning: #d9b45b;
38
+ --danger: #c96f5e;
39
+ --info: #7ca6b8;
40
+ --border: #2d2b27;
41
+ --border-strong: #3a3731;
42
+ --radius: 10px;
43
+ --radius-s: 6px;
44
+ --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.25);
45
+ --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.55), 0 10px 32px rgba(0, 0, 0, 0.35);
46
+ --mono: "SF Mono", "JetBrains Mono", "Cascadia Code", ui-monospace, monospace;
23
47
  }
24
48
 
25
49
  body {
@@ -30,13 +54,14 @@ body {
30
54
  display: flex;
31
55
  flex-direction: column;
32
56
  overflow: hidden;
57
+ font-feature-settings: "tnum";
33
58
  }
34
59
 
35
60
  .header {
36
61
  display: flex;
37
62
  align-items: center;
38
63
  justify-content: space-between;
39
- padding: 12px 20px;
64
+ padding: 14px 28px;
40
65
  background: var(--bg-secondary);
41
66
  border-bottom: 1px solid var(--border);
42
67
  }
@@ -50,9 +75,7 @@ body {
50
75
  .header-logo {
51
76
  width: 32px;
52
77
  height: 32px;
53
- border-radius: 10px;
54
- object-fit: cover;
55
- box-shadow: 0 4px 16px rgba(59, 130, 246, 0.18);
78
+ flex: none;
56
79
  }
57
80
 
58
81
  .header-title {
@@ -184,28 +207,34 @@ body {
184
207
 
185
208
  .tabs {
186
209
  display: flex;
210
+ align-items: flex-end;
187
211
  border-bottom: 1px solid var(--border);
188
212
  background: var(--bg-secondary);
213
+ padding: 6px 20px 0;
214
+ gap: 4px;
189
215
  }
190
216
 
191
217
  .tab {
192
218
  display: inline-flex;
193
219
  align-items: center;
194
220
  gap: 8px;
195
- padding: 10px 20px;
221
+ padding: 12px 18px;
196
222
  background: none;
197
223
  border: none;
198
224
  color: var(--text-secondary);
199
225
  cursor: pointer;
200
- font-size: 14px;
226
+ font-size: 13.5px;
227
+ letter-spacing: 0.01em;
201
228
  border-bottom: 2px solid transparent;
202
- transition: all 0.15s;
229
+ margin-bottom: -1px;
230
+ transition: color 0.15s, border-color 0.15s;
203
231
  }
204
232
 
205
233
  .tab:hover { color: var(--text-primary); }
206
234
  .tab.active {
207
235
  color: var(--accent);
208
236
  border-bottom-color: var(--accent);
237
+ font-weight: 600;
209
238
  }
210
239
 
211
240
  .tab.has-active {
@@ -268,7 +297,10 @@ body {
268
297
  .tab-content {
269
298
  flex: 1;
270
299
  overflow-y: auto;
271
- padding: 16px 20px;
300
+ padding: 26px 32px 40px;
301
+ max-width: 1280px;
302
+ width: 100%;
303
+ margin: 0 auto;
272
304
  }
273
305
 
274
306
  .worker-install-card {
@@ -413,34 +445,52 @@ body {
413
445
  .tasks-board {
414
446
  display: flex;
415
447
  flex-direction: column;
416
- gap: 8px;
448
+ gap: 12px;
417
449
  }
418
450
 
419
451
  .task-card {
420
452
  background: var(--bg-secondary);
421
453
  border: 1px solid var(--border);
422
454
  border-radius: var(--radius);
423
- padding: 12px 16px;
455
+ padding: 15px 18px;
424
456
  display: flex;
425
457
  align-items: flex-start;
426
458
  gap: 12px;
459
+ box-shadow: var(--shadow);
460
+ transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
427
461
  }
428
462
 
429
- .task-card:hover { border-color: var(--accent); }
463
+ .task-card:hover {
464
+ border-color: var(--border-strong);
465
+ box-shadow: var(--shadow-lift);
466
+ transform: translateY(-1px);
467
+ }
430
468
 
469
+ /* Dot + label replaces the chunky colored block: calmer, more editorial. */
431
470
  .task-priority {
432
- font-size: 11px;
433
- font-weight: 700;
434
- padding: 2px 8px;
435
- border-radius: 4px;
471
+ display: inline-flex;
472
+ align-items: center;
473
+ gap: 6px;
474
+ font-size: 10.5px;
475
+ font-weight: 600;
476
+ letter-spacing: 0.08em;
436
477
  text-transform: uppercase;
478
+ color: var(--text-secondary);
437
479
  flex-shrink: 0;
480
+ margin-top: 3px;
481
+ }
482
+ .task-priority::before {
483
+ content: "";
484
+ width: 7px;
485
+ height: 7px;
486
+ border-radius: 50%;
487
+ background: currentColor;
438
488
  }
439
489
 
440
- .task-priority.low { background: var(--info); color: #fff; }
441
- .task-priority.medium { background: var(--accent); color: #fff; }
442
- .task-priority.high { background: var(--warning); color: #000; }
443
- .task-priority.critical { background: var(--danger); color: #fff; }
490
+ .task-priority.low { color: var(--info); }
491
+ .task-priority.medium { color: var(--accent); }
492
+ .task-priority.high { color: var(--warning); }
493
+ .task-priority.critical { color: var(--danger); }
444
494
 
445
495
  .task-body { flex: 1; min-width: 0; }
446
496
  .task-title-row {
@@ -454,11 +504,13 @@ body {
454
504
  .task-desc { font-size: 12px; color: var(--text-secondary); margin-bottom: 6px; }
455
505
  .task-origin-badge {
456
506
  font-size: 10px;
457
- font-weight: 700;
507
+ font-weight: 600;
458
508
  text-transform: uppercase;
509
+ letter-spacing: 0.06em;
510
+ font-family: var(--mono);
459
511
  color: var(--accent);
460
- background: rgba(96, 165, 250, 0.12);
461
- border: 1px solid rgba(96, 165, 250, 0.25);
512
+ background: var(--accent-dim);
513
+ border: 1px solid rgba(217, 166, 100, 0.28);
462
514
  border-radius: 999px;
463
515
  padding: 3px 8px;
464
516
  flex-shrink: 0;
@@ -473,8 +525,8 @@ body {
473
525
  margin-bottom: 8px;
474
526
  padding: 8px 10px;
475
527
  border-radius: 10px;
476
- border: 1px solid rgba(99, 102, 241, 0.2);
477
- background: rgba(99, 102, 241, 0.08);
528
+ border: 1px solid rgba(217, 166, 100, 0.2);
529
+ background: rgba(217, 166, 100, 0.08);
478
530
  color: var(--text-secondary);
479
531
  font-size: 12px;
480
532
  line-height: 1.5;
@@ -507,18 +559,22 @@ body {
507
559
  .task-meta { display: flex; gap: 12px; font-size: 11px; color: var(--text-muted); }
508
560
 
509
561
  .task-status-badge {
510
- font-size: 11px;
511
- padding: 2px 8px;
512
- border-radius: 4px;
562
+ font-size: 10.5px;
563
+ padding: 2px 9px;
564
+ border-radius: 999px;
513
565
  font-weight: 600;
566
+ letter-spacing: 0.04em;
567
+ text-transform: uppercase;
568
+ border: 1px solid transparent;
569
+ font-family: var(--mono);
514
570
  }
515
571
 
516
- .task-status-badge.pending { background: var(--bg-tertiary); color: var(--text-secondary); }
517
- .task-status-badge.assigned { background: #1e3a5f; color: var(--info); }
518
- .task-status-badge.in_progress { background: #422006; color: var(--warning); }
519
- .task-status-badge.blocked { background: #581c87; color: #e9d5ff; }
520
- .task-status-badge.completed { background: #14532d; color: var(--success); }
521
- .task-status-badge.failed { background: #450a0a; color: var(--danger); }
572
+ .task-status-badge.pending { background: transparent; color: var(--text-secondary); border-color: var(--border-strong); }
573
+ .task-status-badge.assigned { background: transparent; color: var(--info); border-color: rgba(124, 166, 184, 0.4); }
574
+ .task-status-badge.in_progress { background: var(--accent-dim); color: var(--accent); border-color: rgba(217, 166, 100, 0.4); }
575
+ .task-status-badge.blocked { background: transparent; color: #b8a7d9; border-color: rgba(184, 167, 217, 0.4); }
576
+ .task-status-badge.completed { background: transparent; color: var(--success); border-color: rgba(127, 176, 105, 0.4); }
577
+ .task-status-badge.failed { background: transparent; color: var(--danger); border-color: rgba(201, 111, 94, 0.4); }
522
578
 
523
579
  .clarifications-list {
524
580
  display: flex;
@@ -696,8 +752,8 @@ body {
696
752
  .controller-run-task-link {
697
753
  padding: 6px 10px;
698
754
  border-radius: 999px;
699
- border: 1px solid rgba(96, 165, 250, 0.25);
700
- background: rgba(96, 165, 250, 0.12);
755
+ border: 1px solid rgba(217, 166, 100, 0.25);
756
+ background: rgba(217, 166, 100, 0.12);
701
757
  color: var(--accent);
702
758
  cursor: pointer;
703
759
  font-size: 12px;
@@ -741,8 +797,8 @@ body {
741
797
 
742
798
  /* Planning tab needs edge-to-edge layout (no padding from .tab-content) */
743
799
  #tab-planning {
744
- margin: -16px -20px;
745
- width: calc(100% + 40px);
800
+ margin: -26px -32px 0;
801
+ width: calc(100% + 64px);
746
802
  }
747
803
 
748
804
  /* ── Planning Tab ─────────────────────────────────────────────────────── */
@@ -1325,8 +1381,8 @@ body {
1325
1381
  min-height: 28px;
1326
1382
  padding: 4px 10px;
1327
1383
  border-radius: 999px;
1328
- border: 1px solid rgba(96, 165, 250, 0.22);
1329
- background: rgba(96, 165, 250, 0.1);
1384
+ border: 1px solid rgba(217, 166, 100, 0.22);
1385
+ background: rgba(217, 166, 100, 0.1);
1330
1386
  color: #c7d2fe;
1331
1387
  font-size: 12px;
1332
1388
  font-weight: 600;
@@ -1462,7 +1518,8 @@ body {
1462
1518
 
1463
1519
  .btn-primary {
1464
1520
  background: var(--accent);
1465
- color: #fff;
1521
+ color: #1a1510;
1522
+ font-weight: 600;
1466
1523
  }
1467
1524
 
1468
1525
  .btn-primary:hover { background: var(--accent-hover); }
@@ -1587,8 +1644,8 @@ body {
1587
1644
  }
1588
1645
 
1589
1646
  .workspace-tree-file.is-selected {
1590
- background: rgba(99, 102, 241, 0.16);
1591
- border-color: rgba(99, 102, 241, 0.4);
1647
+ background: rgba(217, 166, 100, 0.16);
1648
+ border-color: rgba(217, 166, 100, 0.4);
1592
1649
  color: #fff;
1593
1650
  }
1594
1651
 
@@ -1814,7 +1871,7 @@ body {
1814
1871
  .markdown-body blockquote {
1815
1872
  padding: 12px 16px;
1816
1873
  border-left: 3px solid var(--accent);
1817
- background: rgba(99, 102, 241, 0.1);
1874
+ background: rgba(217, 166, 100, 0.1);
1818
1875
  border-radius: 0 10px 10px 0;
1819
1876
  }
1820
1877
 
@@ -2265,3 +2322,232 @@ body {
2265
2322
  justify-content: flex-end;
2266
2323
  }
2267
2324
  }
2325
+
2326
+ /* Workspace location indicator (workspace tab sidebar) */
2327
+ .workspace-current-path {
2328
+ display: flex;
2329
+ flex-direction: column;
2330
+ gap: 2px;
2331
+ padding: 8px 12px;
2332
+ margin: 8px 0;
2333
+ background: rgba(255, 255, 255, 0.04);
2334
+ border: 1px solid rgba(255, 255, 255, 0.08);
2335
+ border-radius: 8px;
2336
+ }
2337
+ .workspace-current-path-label {
2338
+ font-size: 10px;
2339
+ letter-spacing: 0.08em;
2340
+ text-transform: uppercase;
2341
+ opacity: 0.55;
2342
+ }
2343
+ #workspace-current-path-value {
2344
+ font-size: 11px;
2345
+ word-break: break-all;
2346
+ opacity: 0.9;
2347
+ }
2348
+
2349
+ /* Workspace setup prompt (centered modal) */
2350
+ .workspace-prompt-modal {
2351
+ position: fixed;
2352
+ inset: 0;
2353
+ display: none;
2354
+ align-items: center;
2355
+ justify-content: center;
2356
+ z-index: 1200;
2357
+ padding: 24px;
2358
+ }
2359
+ .workspace-prompt-modal.open {
2360
+ display: flex;
2361
+ }
2362
+ .workspace-prompt-backdrop {
2363
+ position: absolute;
2364
+ inset: 0;
2365
+ background: rgba(8, 10, 14, 0.6);
2366
+ backdrop-filter: blur(2px);
2367
+ }
2368
+ .workspace-prompt-panel {
2369
+ position: relative;
2370
+ width: 100%;
2371
+ max-width: 560px;
2372
+ max-height: 90vh;
2373
+ overflow-y: auto;
2374
+ background: var(--bg-panel, #171a21);
2375
+ border: 1px solid rgba(255, 255, 255, 0.1);
2376
+ border-radius: 14px;
2377
+ padding: 24px 28px;
2378
+ box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
2379
+ }
2380
+ .workspace-prompt-kicker {
2381
+ font-size: 11px;
2382
+ letter-spacing: 0.12em;
2383
+ text-transform: uppercase;
2384
+ opacity: 0.55;
2385
+ margin-bottom: 4px;
2386
+ }
2387
+ .workspace-prompt-header h2 {
2388
+ margin: 0 0 12px;
2389
+ font-size: 18px;
2390
+ }
2391
+ .workspace-prompt-body p {
2392
+ margin: 6px 0;
2393
+ line-height: 1.5;
2394
+ }
2395
+ .workspace-prompt-current {
2396
+ opacity: 0.7;
2397
+ margin-bottom: 2px;
2398
+ }
2399
+ .workspace-prompt-hint {
2400
+ opacity: 0.85;
2401
+ }
2402
+ .workspace-prompt-controls {
2403
+ display: flex;
2404
+ flex-direction: column;
2405
+ gap: 10px;
2406
+ margin: 16px 0 8px;
2407
+ }
2408
+ .workspace-prompt-input {
2409
+ width: 100%;
2410
+ box-sizing: border-box;
2411
+ padding: 9px 12px;
2412
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
2413
+ font-size: 13px;
2414
+ border-radius: 8px;
2415
+ border: 1px solid rgba(255, 255, 255, 0.14);
2416
+ background: rgba(0, 0, 0, 0.25);
2417
+ color: inherit;
2418
+ }
2419
+ .workspace-prompt-actions {
2420
+ display: flex;
2421
+ gap: 10px;
2422
+ align-items: center;
2423
+ justify-content: flex-end;
2424
+ flex-wrap: wrap;
2425
+ }
2426
+ .workspace-prompt-note {
2427
+ font-size: 12px;
2428
+ opacity: 0.55;
2429
+ }
2430
+
2431
+ /* Stale provisioned-worker records (ghost rows from previous gateway runs) */
2432
+ .worker-card-stale {
2433
+ opacity: 0.55;
2434
+ }
2435
+ .worker-status.stale {
2436
+ background: rgba(255, 165, 0, 0.18);
2437
+ color: #e6a23c;
2438
+ border: 1px solid rgba(230, 162, 60, 0.4);
2439
+ }
2440
+ .worker-remove-btn {
2441
+ margin-left: auto;
2442
+ }
2443
+
2444
+ /* Model settings dialog */
2445
+ .model-settings-field {
2446
+ display: flex;
2447
+ flex-direction: column;
2448
+ gap: 4px;
2449
+ margin: 10px 0;
2450
+ }
2451
+ .model-settings-label {
2452
+ font-size: 12px;
2453
+ opacity: 0.75;
2454
+ }
2455
+ .model-settings-field select {
2456
+ padding: 7px 10px;
2457
+ border-radius: 8px;
2458
+ border: 1px solid rgba(255, 255, 255, 0.14);
2459
+ background: rgba(0, 0, 0, 0.25);
2460
+ color: inherit;
2461
+ }
2462
+ .model-settings-roles {
2463
+ max-height: 320px;
2464
+ overflow-y: auto;
2465
+ padding-right: 4px;
2466
+ margin-top: 12px;
2467
+ border-top: 1px solid rgba(255, 255, 255, 0.08);
2468
+ padding-top: 4px;
2469
+ }
2470
+
2471
+ /* GitHub login card inside the model settings modal */
2472
+ /* GitHub account chip in the top-right header corner */
2473
+ .github-corner-user {
2474
+ display: inline-flex;
2475
+ align-items: center;
2476
+ gap: 6px;
2477
+ cursor: pointer;
2478
+ font-size: 12px;
2479
+ opacity: 0.9;
2480
+ }
2481
+
2482
+ .github-corner-user:hover {
2483
+ opacity: 1;
2484
+ }
2485
+
2486
+ .github-corner-avatar {
2487
+ width: 18px;
2488
+ height: 18px;
2489
+ border-radius: 50%;
2490
+ }
2491
+
2492
+ /* TeamAuto tab */
2493
+ .teamauto-wrap { display: flex; flex-direction: column; gap: 14px; }
2494
+
2495
+ .teamauto-bind-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
2496
+ .teamauto-select { flex: 1; min-width: 220px; padding: 6px 10px; border-radius: 8px; border: 1px solid #30363d; background: #0d1117; color: inherit; }
2497
+ .teamauto-schedule-input { width: 150px; padding: 6px 10px; border-radius: 8px; border: 1px solid #30363d; background: #0d1117; color: inherit; }
2498
+ .teamauto-msg { font-size: 13px; min-height: 18px; margin-top: 6px; }
2499
+ .teamauto-msg.ok { color: #3fb950; }
2500
+ .teamauto-msg.err { color: #f85149; }
2501
+ .teamauto-hint { color: #8b949e; font-size: 12.5px; margin: 8px 0 0; line-height: 1.6; }
2502
+
2503
+ .teamauto-repos { display: flex; flex-direction: column; gap: 12px; }
2504
+ .teamauto-card { padding: 14px 16px; }
2505
+ .teamauto-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
2506
+ .teamauto-repo-name { font-weight: 600; word-break: break-all; }
2507
+ .teamauto-badge { font-size: 12px; border: 1px solid #3d4450; border-radius: 20px; padding: 2px 10px; color: #8b949e; }
2508
+ .teamauto-badge.on { color: #3fb950; border-color: #238636; }
2509
+ .teamauto-badge.warn { color: #d29922; border-color: #9e6a03; }
2510
+ .teamauto-meta { color: #8b949e; font-size: 12.5px; margin-top: 8px; line-height: 1.7; }
2511
+ .teamauto-warn-text { color: #d29922; }
2512
+ .teamauto-config-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #30363d; }
2513
+ .teamauto-config-row label { font-size: 12px; color: #8b949e; display: inline-flex; align-items: center; gap: 6px; }
2514
+ .teamauto-config-row input, .teamauto-config-row select { padding: 4px 8px; border-radius: 6px; border: 1px solid #30363d; background: #0d1117; color: inherit; font-size: 12px; }
2515
+ .teamauto-config-row input[data-cfg="schedule"] { width: 120px; }
2516
+ .teamauto-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
2517
+
2518
+ /* TeamAuto bind overlay (stage progress) */
2519
+ .ta-bind-overlay { position: fixed; inset: 0; background: rgba(9,11,16,.55); display: flex; align-items: center; justify-content: center; z-index: 300; }
2520
+ .ta-bind-overlay.is-hidden { display: none; }
2521
+ .ta-bind-dialog { width: min(420px, calc(100vw - 48px)); background: var(--bg-secondary); border: 1px solid var(--border, #2a2f3a); border-radius: 14px; padding: 22px 24px; box-shadow: 0 18px 50px rgba(0,0,0,.5); }
2522
+ .ta-bind-title { font-size: 15px; font-weight: 650; color: var(--text-primary); margin-bottom: 14px; word-break: break-all; }
2523
+ .ta-bind-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
2524
+ .ta-bind-steps li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-muted); }
2525
+ .ta-step-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border, #2a2f3a); flex: none; position: relative; }
2526
+ .ta-bind-steps li.active .ta-step-dot { border-color: var(--accent); }
2527
+ .ta-bind-steps li.active .ta-step-dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); animation: ta-pulse 1.1s ease-in-out infinite; }
2528
+ .ta-bind-steps li.active { color: var(--text-primary); font-weight: 600; }
2529
+ .ta-bind-steps li.done .ta-step-dot { border-color: var(--success); background: var(--success); }
2530
+ .ta-bind-steps li.done .ta-step-dot::after { content: "OK"; position: absolute; inset: 0; color: #062812; font-size: 8px; font-weight: 700; line-height: 17px; text-align: center; }
2531
+ .ta-bind-steps li.done { color: var(--text-secondary); }
2532
+ .ta-bind-steps li.error .ta-step-dot { border-color: var(--danger); background: var(--danger); }
2533
+ .ta-bind-steps li.error { color: var(--danger); }
2534
+ .ta-bind-note { margin-top: 14px; font-size: 12.5px; color: var(--text-muted); min-height: 18px; word-break: break-word; }
2535
+ .ta-bind-note.err { color: var(--danger); }
2536
+ @keyframes ta-pulse { 0%,100% { opacity: .25; } 50% { opacity: 1; } }
2537
+
2538
+ /* TeamAuto activity feed */
2539
+ .teamauto-section-title { font-size: 14px; font-weight: 650; color: var(--text-primary); margin: 18px 0 10px; }
2540
+ .teamauto-activity { display: flex; flex-direction: column; gap: 8px; }
2541
+ .teamauto-activity-item { display: flex; align-items: baseline; gap: 10px; padding: 8px 12px; border: 1px solid var(--border, #2a2f3a); border-radius: 10px; background: var(--bg-tertiary); font-size: 12.5px; }
2542
+ .teamauto-activity-kind { flex: none; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border-radius: 6px; padding: 2px 8px; background: var(--bg-primary); color: var(--text-muted); }
2543
+ .teamauto-activity-kind.k-task { color: var(--accent); }
2544
+ .teamauto-activity-kind.k-writeback { color: var(--success); }
2545
+ .teamauto-activity-kind.k-sweep { color: var(--info, #3b82f6); }
2546
+ .teamauto-activity-kind.k-provision { color: var(--warning); }
2547
+ .teamauto-activity-text { flex: 1; color: var(--text-secondary); word-break: break-word; }
2548
+ .teamauto-activity-time { flex: none; color: var(--text-muted); font-size: 11.5px; }
2549
+
2550
+ /* Tasks: keyword filter + show more */
2551
+ .task-keyword-input { margin-left: auto; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--border, #2a2f3a); background: var(--bg-primary); color: var(--text-primary); font-size: 12.5px; width: 200px; }
2552
+ .task-keyword-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,.15); }
2553
+ .tasks-show-more { display: block; margin: 14px auto 4px; }
@@ -3,6 +3,12 @@ import { getRole } from "../roles.js";
3
3
  import { buildWorkerSessionRules, composePrompt } from "../prompt-policy.js";
4
4
  import { MessageQueue } from "./message-queue.js";
5
5
 
6
+ const TEAMCLAW_ROLE_IDS_TEXT = [
7
+ "pm", "architect", "developer", "qa",
8
+ "release-engineer", "infra-engineer", "devops", "security-engineer",
9
+ "designer", "marketing", "data-engineer",
10
+ ];
11
+
6
12
  export function createWorkerPromptInjector(
7
13
  config: PluginConfig,
8
14
  getIdentity: () => WorkerIdentity | null,
@@ -23,6 +29,8 @@ export function createWorkerPromptInjector(
23
29
  `## TeamClaw Role: ${roleDef.label} ${roleDef.icon}`,
24
30
  roleDef.systemPrompt,
25
31
  ...buildWorkerSessionRules(),
32
+ "Important: submit structured collaboration contracts for all handoffs, reviews, progress updates, and result deliveries so the controller can route work without parsing freeform prose.",
33
+ "Do not use sessions_yield or end your turn while background work, coding agents, or process sessions are still running.",
26
34
  `Worker ID: ${identity.workerId}`,
27
35
  `Controller: ${identity.controllerUrl}`,
28
36
  ];