@clagentic/console 1.12.0-beta.1 → 1.12.0-beta.3
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/LICENSES/README.md +5 -0
- package/README.md +1 -0
- package/bin/cli.js +5 -2
- package/lib/agent-roster-ws.js +84 -0
- package/lib/agent-roster.js +312 -0
- package/lib/auth-required-notify.js +42 -0
- package/lib/build-changes.js +8 -2
- package/lib/build-sha.json +2 -2
- package/lib/build-update-notify.js +45 -0
- package/lib/build-update-offer.js +34 -11
- package/lib/build-update-standing.js +34 -14
- package/lib/claude-settings-env.js +142 -0
- package/lib/cli/duration.js +27 -0
- package/lib/cli/schedule-input-subcommands.js +1 -22
- package/lib/cli/session-subcommands.js +60 -11
- package/lib/client-address.js +44 -0
- package/lib/daemon.js +31 -10
- package/lib/idle-compaction-setting.js +203 -0
- package/lib/mcp-bridge-credential.js +41 -0
- package/lib/notification-prefs.js +18 -22
- package/lib/notify/core.js +210 -0
- package/lib/notify/index.js +31 -0
- package/lib/notify/live-prompts.js +36 -0
- package/lib/notify/payload.js +62 -0
- package/lib/notify/target.js +5 -0
- package/lib/notify/type-registry.js +81 -0
- package/lib/notify/types.js +57 -0
- package/lib/open-sockets.js +27 -0
- package/lib/outbound-access.js +85 -0
- package/lib/outbound-entry.js +116 -0
- package/lib/outbound-ledger.js +306 -0
- package/lib/outbound-query.js +153 -0
- package/lib/pending-prompts.js +31 -16
- package/lib/project-connection.js +48 -8
- package/lib/project-filesystem.js +43 -5
- package/lib/project-http.js +9 -1
- package/lib/project-loop.js +38 -26
- package/lib/project-notifications.js +122 -39
- package/lib/project-prompt-responses.js +1 -1
- package/lib/project-sessions.js +11 -1
- package/lib/project-user-mention.js +22 -34
- package/lib/project-user-message.js +208 -4
- package/lib/project-user-shell.js +298 -0
- package/lib/project.js +41 -5
- package/lib/prompt-answer.js +145 -0
- package/lib/prompt-expiry.js +50 -0
- package/lib/prompt-registry.js +98 -25
- package/lib/prompt-reminders.js +38 -33
- package/lib/prompt-source.js +59 -8
- package/lib/public/app.js +32 -2
- package/lib/public/css/agent-messages.css +96 -0
- package/lib/public/css/agent-roster.css +93 -0
- package/lib/public/css/diagnostics.css +29 -1
- package/lib/public/css/home-hub.css +12 -0
- package/lib/public/css/icon-strip.css +9 -0
- package/lib/public/css/input.css +20 -141
- package/lib/public/css/login-panel.css +73 -0
- package/lib/public/css/menus.css +2 -2
- package/lib/public/css/mobile-nav.css +11 -0
- package/lib/public/css/sidebar.css +18 -0
- package/lib/public/css/team-panel.css +1 -6
- package/lib/public/css/team-view.css +101 -0
- package/lib/public/css/title-bar.css +10 -0
- package/lib/public/css/user-shell.css +144 -0
- package/lib/public/index.html +44 -7
- package/lib/public/modules/activity-state.js +20 -4
- package/lib/public/modules/agent-avatar-picker.js +162 -0
- package/lib/public/modules/agent-avatar.js +153 -0
- package/lib/public/modules/agent-messages.js +285 -0
- package/lib/public/modules/agent-roster.js +157 -0
- package/lib/public/modules/app-connection.js +34 -5
- package/lib/public/modules/app-messages.js +55 -16
- package/lib/public/modules/app-notifications.js +104 -75
- package/lib/public/modules/app-panels.js +26 -3
- package/lib/public/modules/app-projects.js +3 -1
- package/lib/public/modules/app-rate-limit.js +8 -165
- package/lib/public/modules/app-rendering.js +32 -7
- package/lib/public/modules/build-update-sessions.js +81 -0
- package/lib/public/modules/collapsible-text.js +33 -18
- package/lib/public/modules/compaction-state.js +34 -0
- package/lib/public/modules/custom-icons.js +23 -5
- package/lib/public/modules/diagnostics.js +61 -57
- package/lib/public/modules/env-shadow-notice.js +34 -0
- package/lib/public/modules/injected-identity.js +24 -21
- package/lib/public/modules/input.js +176 -15
- package/lib/public/modules/login-panel.js +136 -0
- package/lib/public/modules/login-parser.js +73 -0
- package/lib/public/modules/login-tab.js +66 -0
- package/lib/public/modules/notifications.js +9 -1
- package/lib/public/modules/notify-client.js +246 -0
- package/lib/public/modules/pending-term-request.js +30 -0
- package/lib/public/modules/project-icon.js +22 -2
- package/lib/public/modules/project-settings.js +5 -0
- package/lib/public/modules/prompt-state.js +3 -3
- package/lib/public/modules/prompts.js +1 -1
- package/lib/public/modules/queued-button.js +11 -0
- package/lib/public/modules/scheduled-input-actions.js +12 -4
- package/lib/public/modules/scheduled-outbox.js +230 -0
- package/lib/public/modules/send-now.js +200 -0
- package/lib/public/modules/server-settings.js +50 -1
- package/lib/public/modules/shell-card.js +76 -0
- package/lib/public/modules/shell-line.js +49 -0
- package/lib/public/modules/shell-queue.js +253 -0
- package/lib/public/modules/shell-settings-controls.js +76 -0
- package/lib/public/modules/sidebar-mobile.js +3 -3
- package/lib/public/modules/sidebar-sessions.js +8 -0
- package/lib/public/modules/sidebar-users.js +5 -7
- package/lib/public/modules/team-panel.js +30 -88
- package/lib/public/modules/team-view.js +211 -0
- package/lib/public/modules/terminal-links.js +193 -0
- package/lib/public/modules/terminal.js +84 -107
- package/lib/public/modules/tools.js +19 -0
- package/lib/public/modules/user-shell.js +824 -0
- package/lib/public/notify-sw-logic.js +252 -0
- package/lib/public/notify-target.js +157 -0
- package/lib/public/style.css +5 -0
- package/lib/public/sw.js +20 -69
- package/lib/push.js +63 -19
- package/lib/queued-chat.js +392 -0
- package/lib/runtime-env.js +1 -0
- package/lib/scheduled-input/ws.js +67 -9
- package/lib/sdk-bridge.js +184 -73
- package/lib/sdk-message-processor.js +124 -76
- package/lib/server-auth.js +6 -4
- package/lib/server-dm.js +11 -20
- package/lib/server-settings.js +39 -1
- package/lib/server.js +112 -16
- package/lib/session-directory.js +39 -12
- package/lib/session-end.js +97 -0
- package/lib/session-input-ipc.js +37 -1
- package/lib/session-input.js +263 -21
- package/lib/session-liveness.js +53 -0
- package/lib/session-reclaim.js +37 -2
- package/lib/session-resume.js +1 -0
- package/lib/session-settings-file.js +53 -0
- package/lib/sessions.js +80 -9
- package/lib/team-traffic-ws.js +68 -0
- package/lib/team-traffic.js +318 -0
- package/lib/usage-store.js +36 -7
- package/lib/user-shell-settings.js +105 -0
- package/lib/vendor-auth.js +33 -2
- package/lib/ws-schema.js +33 -5
- package/lib/yoke/adapters/claude-capabilities.js +2 -0
- package/lib/yoke/adapters/claude-vendor.js +17 -1
- package/lib/yoke/adapters/claude-worker.js +39 -11
- package/lib/yoke/adapters/claude.js +225 -6
- package/lib/yoke/adapters/codex-capabilities.js +6 -1
- package/lib/yoke/adapters/codex-user-shell.js +265 -0
- package/lib/yoke/adapters/codex-vendor.js +7 -0
- package/lib/yoke/adapters/codex.js +186 -52
- package/lib/yoke/auth-checks.js +17 -2
- package/lib/yoke/codex-app-server.js +8 -2
- package/lib/yoke/index.js +21 -3
- package/lib/yoke/interface.js +54 -1
- package/lib/yoke/mcp-bridge-server.js +12 -8
- package/lib/yoke/provider-credentials.js +24 -0
- package/lib/yoke/registry.js +40 -1
- package/lib/yoke/user-shell.js +224 -0
- package/package.json +2 -2
- package/scripts/check-test-count.js +14 -0
- package/lib/public/modules/build-notice-gate.js +0 -73
package/lib/public/css/input.css
CHANGED
|
@@ -754,6 +754,9 @@
|
|
|
754
754
|
justify-content: center;
|
|
755
755
|
transition: background 0.15s, opacity 0.15s;
|
|
756
756
|
touch-action: manipulation;
|
|
757
|
+
/* A long press is send-now on touch (send-now.js): no text-selection or callout. */
|
|
758
|
+
-webkit-touch-callout: none;
|
|
759
|
+
user-select: none;
|
|
757
760
|
}
|
|
758
761
|
|
|
759
762
|
#send-btn .lucide {
|
|
@@ -774,6 +777,13 @@
|
|
|
774
777
|
opacity: 0.7;
|
|
775
778
|
}
|
|
776
779
|
|
|
780
|
+
.msg-sent-midturn {
|
|
781
|
+
display: block;
|
|
782
|
+
margin-top: 4px;
|
|
783
|
+
font-size: 11px;
|
|
784
|
+
opacity: 0.7;
|
|
785
|
+
}
|
|
786
|
+
|
|
777
787
|
/* ==========================================================================
|
|
778
788
|
Slash Command Autocomplete
|
|
779
789
|
========================================================================== */
|
|
@@ -1280,55 +1290,7 @@
|
|
|
1280
1290
|
}
|
|
1281
1291
|
.schedule-list-text { word-break: break-word; }
|
|
1282
1292
|
|
|
1283
|
-
/*
|
|
1284
|
-
.scheduled-msg-wrap .bubble {
|
|
1285
|
-
background: color-mix(in srgb, var(--accent) 18%, var(--user-bubble, var(--bg-alt)));
|
|
1286
|
-
border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
|
|
1287
|
-
}
|
|
1288
|
-
|
|
1289
|
-
.scheduled-msg-wrap .msg-user-rewind-btn,
|
|
1290
|
-
.scheduled-msg-wrap .msg-actions { display: none !important; }
|
|
1291
|
-
|
|
1292
|
-
.scheduled-msg-meta {
|
|
1293
|
-
display: flex;
|
|
1294
|
-
align-items: center;
|
|
1295
|
-
gap: 6px;
|
|
1296
|
-
padding-right: 4px;
|
|
1297
|
-
font-size: 12px;
|
|
1298
|
-
color: var(--accent);
|
|
1299
|
-
}
|
|
1300
|
-
|
|
1301
|
-
.scheduled-msg-icon svg,
|
|
1302
|
-
.scheduled-msg-icon .lucide {
|
|
1303
|
-
width: 14px;
|
|
1304
|
-
height: 14px;
|
|
1305
|
-
}
|
|
1306
|
-
|
|
1307
|
-
.scheduled-msg-countdown {
|
|
1308
|
-
flex: 1;
|
|
1309
|
-
}
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
/* Channel mode: scheduled badge in header row */
|
|
1313
|
-
.scheduled-msg-badge {
|
|
1314
|
-
display: inline-flex;
|
|
1315
|
-
align-items: center;
|
|
1316
|
-
gap: 5px;
|
|
1317
|
-
padding: 3px 10px;
|
|
1318
|
-
border-radius: 12px;
|
|
1319
|
-
font-size: 12px;
|
|
1320
|
-
font-weight: 600;
|
|
1321
|
-
line-height: 1;
|
|
1322
|
-
color: var(--accent);
|
|
1323
|
-
background: color-mix(in srgb, var(--accent) 12%, transparent);
|
|
1324
|
-
vertical-align: middle;
|
|
1325
|
-
}
|
|
1326
|
-
.scheduled-msg-badge svg,
|
|
1327
|
-
.scheduled-msg-badge .lucide {
|
|
1328
|
-
width: 13px;
|
|
1329
|
-
height: 13px;
|
|
1330
|
-
}
|
|
1331
|
-
/* Scheduled message action links (shared by both modes) */
|
|
1293
|
+
/* Send now and Cancel links of the schedule panel's list rows */
|
|
1332
1294
|
.scheduled-msg-actions {
|
|
1333
1295
|
display: inline-flex;
|
|
1334
1296
|
align-items: center;
|
|
@@ -1369,35 +1331,19 @@
|
|
|
1369
1331
|
color: var(--error);
|
|
1370
1332
|
}
|
|
1371
1333
|
|
|
1372
|
-
/*
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
box-shadow: none;
|
|
1377
|
-
padding: 0;
|
|
1378
|
-
border-radius: 0;
|
|
1379
|
-
}
|
|
1380
|
-
|
|
1381
|
-
/* Channel mode: header alignment */
|
|
1382
|
-
body.wide-view .scheduled-msg-wrap .dm-bubble-header {
|
|
1383
|
-
display: flex;
|
|
1384
|
-
align-items: center;
|
|
1385
|
-
gap: 6px;
|
|
1386
|
-
}
|
|
1387
|
-
body.wide-view .scheduled-msg-wrap .scheduled-msg-countdown {
|
|
1388
|
-
font-size: inherit;
|
|
1389
|
-
color: inherit;
|
|
1390
|
-
}
|
|
1391
|
-
|
|
1392
|
-
/* Collapsible text: a pending scheduled input and a long fired one. Collapsed
|
|
1393
|
-
shows the first line only, cut by CSS so the text itself stays whole. */
|
|
1334
|
+
/* Collapsible text: long input pushed into a session. Collapsed shows about
|
|
1335
|
+
three lines, clamped by CSS so the text itself stays whole. */
|
|
1336
|
+
.collapsible-text .collapsible-preview,
|
|
1337
|
+
.collapsible-text .collapsible-full { white-space: pre-wrap; }
|
|
1394
1338
|
.collapsible-text.is-collapsed .collapsible-full { display: none; }
|
|
1395
1339
|
.collapsible-text:not(.is-collapsed):not(.collapsible-single) .collapsible-preview { display: none; }
|
|
1396
1340
|
.collapsible-text.is-collapsed .collapsible-preview {
|
|
1397
|
-
display:
|
|
1398
|
-
|
|
1341
|
+
display: -webkit-box;
|
|
1342
|
+
-webkit-box-orient: vertical;
|
|
1343
|
+
-webkit-line-clamp: 3;
|
|
1344
|
+
line-clamp: 3;
|
|
1399
1345
|
overflow: hidden;
|
|
1400
|
-
|
|
1346
|
+
overflow-wrap: anywhere;
|
|
1401
1347
|
}
|
|
1402
1348
|
.collapsible-toggle {
|
|
1403
1349
|
padding: 0;
|
|
@@ -1414,70 +1360,3 @@ body.wide-view .scheduled-msg-wrap .scheduled-msg-countdown {
|
|
|
1414
1360
|
.collapsible-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
1415
1361
|
.collapsible-toggle-fired { align-self: flex-start; margin-top: 2px; }
|
|
1416
1362
|
|
|
1417
|
-
/* A collapsed pending card is one row: send time and actions, then the first
|
|
1418
|
-
line taking the rest of the width. Bubble view and channel view. */
|
|
1419
|
-
.scheduled-msg-wrap.is-collapsed:not(.dm-bubble-content) {
|
|
1420
|
-
flex-direction: row;
|
|
1421
|
-
align-items: center;
|
|
1422
|
-
gap: 8px;
|
|
1423
|
-
}
|
|
1424
|
-
.scheduled-msg-wrap.is-collapsed .scheduled-msg-meta { order: -1; flex: 0 1 auto; min-width: 0; padding-right: 0; }
|
|
1425
|
-
.scheduled-msg-wrap.is-collapsed .scheduled-msg-countdown {
|
|
1426
|
-
flex: 0 1 auto;
|
|
1427
|
-
min-width: 0;
|
|
1428
|
-
overflow: hidden;
|
|
1429
|
-
text-overflow: ellipsis;
|
|
1430
|
-
white-space: nowrap;
|
|
1431
|
-
}
|
|
1432
|
-
.scheduled-msg-wrap.is-collapsed .bubble {
|
|
1433
|
-
flex: 1 1 0;
|
|
1434
|
-
min-width: 0;
|
|
1435
|
-
max-width: none;
|
|
1436
|
-
padding: 4px 12px;
|
|
1437
|
-
}
|
|
1438
|
-
.scheduled-msg-wrap.is-collapsed .dm-bubble-content {
|
|
1439
|
-
flex-direction: row;
|
|
1440
|
-
align-items: center;
|
|
1441
|
-
gap: 8px;
|
|
1442
|
-
min-width: 0;
|
|
1443
|
-
flex: 1 1 0;
|
|
1444
|
-
}
|
|
1445
|
-
.scheduled-msg-wrap.is-collapsed .dm-bubble-header { flex: 0 1 auto; min-width: 0; }
|
|
1446
|
-
|
|
1447
|
-
.scheduled-msg-wrap.is-collapsed .scheduled-msg-send-now,
|
|
1448
|
-
.scheduled-msg-wrap.is-collapsed .scheduled-msg-cancel,
|
|
1449
|
-
.scheduled-msg-wrap.is-collapsed .scheduled-msg-sep { white-space: nowrap; flex: none; }
|
|
1450
|
-
.scheduled-msg-wrap.is-collapsed .scheduled-msg-actions { flex: none; margin-left: 0; }
|
|
1451
|
-
.scheduled-msg-wrap.is-collapsed .scheduled-msg-badge { min-width: 0; flex: 0 1 auto; padding: 3px 8px; }
|
|
1452
|
-
.scheduled-msg-wrap.is-collapsed .collapsible-toggle { flex: none; }
|
|
1453
|
-
|
|
1454
|
-
/* Phone widths: index.html pins the narrow-screen column layout of user rows
|
|
1455
|
-
with !important, so the collapsed card overrides it the same way, scoped to
|
|
1456
|
-
itself. A 390px row cannot hold the send time, three actions and a readable
|
|
1457
|
-
prompt, so the card is two compact rows: send time and actions, then the
|
|
1458
|
-
prompt's first line across the full width. */
|
|
1459
|
-
@media (max-width: 768px) {
|
|
1460
|
-
body.wide-view .msg-user.scheduled-msg-wrap.is-collapsed {
|
|
1461
|
-
gap: 0 !important;
|
|
1462
|
-
align-items: stretch !important;
|
|
1463
|
-
}
|
|
1464
|
-
body.wide-view .msg-user.scheduled-msg-wrap.is-collapsed > .dm-bubble-avatar { display: none !important; }
|
|
1465
|
-
body.wide-view .msg-user.scheduled-msg-wrap.is-collapsed .dm-bubble-content {
|
|
1466
|
-
flex-direction: column !important;
|
|
1467
|
-
align-items: stretch !important;
|
|
1468
|
-
gap: 2px !important;
|
|
1469
|
-
min-width: 0 !important;
|
|
1470
|
-
width: 100% !important;
|
|
1471
|
-
}
|
|
1472
|
-
body.wide-view .msg-user.scheduled-msg-wrap.is-collapsed .dm-bubble-name { display: none; }
|
|
1473
|
-
body.wide-view .msg-user.scheduled-msg-wrap.is-collapsed .dm-bubble-header { flex-wrap: nowrap; }
|
|
1474
|
-
body.wide-view .msg-user.scheduled-msg-wrap.is-collapsed .bubble {
|
|
1475
|
-
flex: none !important;
|
|
1476
|
-
max-width: 100% !important;
|
|
1477
|
-
width: auto !important;
|
|
1478
|
-
padding: 0 !important;
|
|
1479
|
-
background: none !important;
|
|
1480
|
-
border: none !important;
|
|
1481
|
-
border-radius: 0 !important;
|
|
1482
|
-
}
|
|
1483
|
-
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* --- Sign-in panel above a login terminal --- */
|
|
2
|
+
.login-panel {
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
flex-shrink: 0;
|
|
5
|
+
max-width: 100%;
|
|
6
|
+
padding: 10px 12px;
|
|
7
|
+
background: var(--bg);
|
|
8
|
+
border-bottom: 1px solid var(--border-subtle);
|
|
9
|
+
color: var(--text);
|
|
10
|
+
font-size: 13px;
|
|
11
|
+
overflow-wrap: anywhere;
|
|
12
|
+
}
|
|
13
|
+
.login-panel-head {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-wrap: wrap;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: space-between;
|
|
18
|
+
gap: 8px;
|
|
19
|
+
margin-bottom: 4px;
|
|
20
|
+
}
|
|
21
|
+
.login-panel-title { font-weight: 600; min-width: 0; }
|
|
22
|
+
.login-panel-host { color: var(--text-muted); font-size: 12px; margin-bottom: 8px; }
|
|
23
|
+
.login-panel-row {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-wrap: wrap;
|
|
26
|
+
align-items: center;
|
|
27
|
+
gap: 8px;
|
|
28
|
+
margin-top: 8px;
|
|
29
|
+
min-width: 0;
|
|
30
|
+
}
|
|
31
|
+
.login-panel-btn,
|
|
32
|
+
.login-panel-dismiss {
|
|
33
|
+
min-height: 36px;
|
|
34
|
+
padding: 0 12px;
|
|
35
|
+
border: 1px solid var(--border);
|
|
36
|
+
border-radius: 6px;
|
|
37
|
+
background: transparent;
|
|
38
|
+
color: var(--text);
|
|
39
|
+
font: inherit;
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
}
|
|
42
|
+
.login-panel-dismiss { min-height: 28px; padding: 0 8px; color: var(--text-muted); }
|
|
43
|
+
.login-panel-btn:hover,
|
|
44
|
+
.login-panel-dismiss:hover { background: rgba(var(--overlay-rgb), 0.06); }
|
|
45
|
+
.login-panel-label { color: var(--text-muted); }
|
|
46
|
+
.login-panel-code-value {
|
|
47
|
+
font-family: var(--font-mono, monospace);
|
|
48
|
+
font-size: 15px;
|
|
49
|
+
letter-spacing: 0.04em;
|
|
50
|
+
min-width: 0;
|
|
51
|
+
}
|
|
52
|
+
.login-panel-code-input {
|
|
53
|
+
flex: 1 1 10rem;
|
|
54
|
+
min-width: 0;
|
|
55
|
+
max-width: 100%;
|
|
56
|
+
box-sizing: border-box;
|
|
57
|
+
min-height: 36px;
|
|
58
|
+
padding: 0 10px;
|
|
59
|
+
border: 1px solid var(--border);
|
|
60
|
+
border-radius: 6px;
|
|
61
|
+
background: transparent;
|
|
62
|
+
color: var(--text);
|
|
63
|
+
/* 16px stops iOS from zooming the page when the field takes focus. */
|
|
64
|
+
font-size: 16px;
|
|
65
|
+
}
|
|
66
|
+
.login-panel-identity { margin-top: 8px; color: var(--text-muted); font-size: 12px; }
|
|
67
|
+
|
|
68
|
+
@media (max-width: 480px) {
|
|
69
|
+
.login-panel { padding: 10px; }
|
|
70
|
+
.login-panel-links .login-panel-btn,
|
|
71
|
+
.login-panel-shown-code .login-panel-btn,
|
|
72
|
+
.login-panel-code-entry .login-panel-btn { flex: 1 1 100%; }
|
|
73
|
+
}
|
package/lib/public/css/menus.css
CHANGED
|
@@ -785,7 +785,7 @@
|
|
|
785
785
|
#info-panels:empty { display: none; }
|
|
786
786
|
|
|
787
787
|
/* --- Usage panel --- */
|
|
788
|
-
#usage-panel, #status-panel, #context-panel, #
|
|
788
|
+
#usage-panel, #status-panel, #context-panel, #diagnostics-panel {
|
|
789
789
|
background: var(--bg-alt);
|
|
790
790
|
border: 1px solid var(--border);
|
|
791
791
|
border-radius: 12px;
|
|
@@ -794,7 +794,7 @@
|
|
|
794
794
|
pointer-events: auto;
|
|
795
795
|
}
|
|
796
796
|
|
|
797
|
-
#usage-panel.hidden, #status-panel.hidden, #context-panel.hidden, #
|
|
797
|
+
#usage-panel.hidden, #status-panel.hidden, #context-panel.hidden, #diagnostics-panel.hidden { display: none; }
|
|
798
798
|
|
|
799
799
|
.usage-panel-header {
|
|
800
800
|
display: flex;
|
|
@@ -223,6 +223,12 @@
|
|
|
223
223
|
border: 1.5px solid var(--activity-other, #B77BF3);
|
|
224
224
|
box-sizing: border-box;
|
|
225
225
|
}
|
|
226
|
+
/* Waiting on a prompt: dashed ring, warning hue. */
|
|
227
|
+
.mobile-project-processing.waiting {
|
|
228
|
+
background: transparent;
|
|
229
|
+
border: 1.5px dashed var(--warning);
|
|
230
|
+
box-sizing: border-box;
|
|
231
|
+
}
|
|
226
232
|
/* Alert tone (lr-66c118): unread wins over processing green. */
|
|
227
233
|
.mobile-project-processing.alert {
|
|
228
234
|
background: var(--danger, #e74c3c);
|
|
@@ -882,6 +888,11 @@
|
|
|
882
888
|
border: 1.5px solid var(--activity-other, #B77BF3);
|
|
883
889
|
box-sizing: border-box;
|
|
884
890
|
}
|
|
891
|
+
.mobile-session-processing.waiting {
|
|
892
|
+
background: transparent;
|
|
893
|
+
border: 1.5px dashed var(--warning);
|
|
894
|
+
box-sizing: border-box;
|
|
895
|
+
}
|
|
885
896
|
/* Alert tone (lr-66c118): unread wins over processing green. */
|
|
886
897
|
.mobile-session-processing.alert {
|
|
887
898
|
background: var(--danger, #e74c3c);
|
|
@@ -901,6 +901,13 @@
|
|
|
901
901
|
border: 1.5px solid var(--activity-other, #B77BF3);
|
|
902
902
|
box-sizing: border-box;
|
|
903
903
|
}
|
|
904
|
+
/* Waiting on a prompt: dashed ring, warning hue. */
|
|
905
|
+
.session-item .session-processing.waiting,
|
|
906
|
+
.mate-session-item .session-processing.waiting {
|
|
907
|
+
background: transparent;
|
|
908
|
+
border: 1.5px dashed var(--warning);
|
|
909
|
+
box-sizing: border-box;
|
|
910
|
+
}
|
|
904
911
|
/* Alert tone (lr-66c118): unread activity wins over processing green. */
|
|
905
912
|
.session-item .session-processing.alert,
|
|
906
913
|
.mate-session-item .session-processing.alert {
|
|
@@ -2042,3 +2049,14 @@
|
|
|
2042
2049
|
width: 12px;
|
|
2043
2050
|
height: 12px;
|
|
2044
2051
|
}
|
|
2052
|
+
|
|
2053
|
+
/* Vendor-reported compaction in progress, shown beside the session title. */
|
|
2054
|
+
.session-item .session-compacting {
|
|
2055
|
+
font-size: 10px;
|
|
2056
|
+
margin-right: 6px;
|
|
2057
|
+
padding: 0 5px;
|
|
2058
|
+
border-radius: 8px;
|
|
2059
|
+
color: var(--warning);
|
|
2060
|
+
border: 1px solid var(--warning);
|
|
2061
|
+
white-space: nowrap;
|
|
2062
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/* team-view.css - The desktop Team view: a main-panels view that takes the
|
|
2
|
+
place of the chat pane, like project settings. Section content styles live
|
|
3
|
+
in team-panel.css. */
|
|
4
|
+
|
|
5
|
+
#team-view {
|
|
6
|
+
flex: 1 1 auto;
|
|
7
|
+
width: 100%;
|
|
8
|
+
min-width: 0;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
background: var(--bg);
|
|
13
|
+
border-left: 1px solid var(--border-subtle);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
#team-view.hidden { display: none; }
|
|
17
|
+
|
|
18
|
+
/* The chat pane steps aside while the view is open; file viewer and terminal
|
|
19
|
+
panes keep their own place beside it. Scoped to the widths where the view
|
|
20
|
+
can actually show (the phone rule below hides it), so the two rules never
|
|
21
|
+
disagree and a resize across the breakpoint cannot blank the main pane.
|
|
22
|
+
The 769px floor and the 768px ceiling below are MOBILE_BREAKPOINT + 1 and
|
|
23
|
+
MOBILE_BREAKPOINT in popover-position.js; a test pins them together. */
|
|
24
|
+
@media (min-width: 769px) {
|
|
25
|
+
#main-panels:has(#team-view:not(.hidden)) > #app { display: none; }
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Project settings is a full view of its own and wins over the Team view. */
|
|
29
|
+
#main-panels:has(#project-settings:not(.hidden)) > #team-view { display: none; }
|
|
30
|
+
|
|
31
|
+
.team-view-header {
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
justify-content: space-between;
|
|
35
|
+
padding: 16px 28px;
|
|
36
|
+
border-bottom: 1px solid var(--border-subtle);
|
|
37
|
+
flex-shrink: 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.team-view-title {
|
|
41
|
+
margin: 0;
|
|
42
|
+
font-size: 18px;
|
|
43
|
+
font-weight: 700;
|
|
44
|
+
color: var(--text);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.team-view-close {
|
|
48
|
+
display: flex;
|
|
49
|
+
align-items: center;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
background: none;
|
|
52
|
+
border: none;
|
|
53
|
+
color: var(--text-muted);
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
padding: 4px;
|
|
56
|
+
border-radius: 4px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.team-view-close:hover { color: var(--text); background: rgba(var(--overlay-rgb), 0.06); }
|
|
60
|
+
.team-view-close .lucide { width: 18px; height: 18px; }
|
|
61
|
+
|
|
62
|
+
.team-view-body {
|
|
63
|
+
flex: 1;
|
|
64
|
+
min-height: 0;
|
|
65
|
+
overflow-y: auto;
|
|
66
|
+
padding: 20px 28px 40px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* Sections read as a column, not a full-width stretch. */
|
|
70
|
+
.team-view-body > * {
|
|
71
|
+
max-width: 860px;
|
|
72
|
+
margin-left: auto;
|
|
73
|
+
margin-right: auto;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.team-view-tabs {
|
|
77
|
+
display: flex;
|
|
78
|
+
gap: 4px;
|
|
79
|
+
margin-bottom: 16px;
|
|
80
|
+
border-bottom: 1px solid var(--border-subtle);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.team-view-tab {
|
|
84
|
+
background: none;
|
|
85
|
+
border: none;
|
|
86
|
+
border-bottom: 2px solid transparent;
|
|
87
|
+
color: var(--text-dim);
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
font: inherit;
|
|
90
|
+
font-size: 13px;
|
|
91
|
+
font-weight: 600;
|
|
92
|
+
padding: 8px 12px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.team-view-tab:hover { color: var(--text); }
|
|
96
|
+
.team-view-tab.active { color: var(--text); border-bottom-color: var(--accent, var(--text)); }
|
|
97
|
+
|
|
98
|
+
/* Phones use the Team tab sheet; the view itself never shows there. */
|
|
99
|
+
@media (max-width: 768px) {
|
|
100
|
+
#team-view { display: none !important; }
|
|
101
|
+
}
|
|
@@ -681,3 +681,13 @@
|
|
|
681
681
|
.rate-limit-popover { font-size: 11px; padding: 6px 10px; }
|
|
682
682
|
.header-context { width: 50px; }
|
|
683
683
|
}
|
|
684
|
+
|
|
685
|
+
/* Compacting state and nearing-compaction note on the session view header. */
|
|
686
|
+
.header-compacting {
|
|
687
|
+
font-size: 11px;
|
|
688
|
+
color: var(--warning);
|
|
689
|
+
white-space: nowrap;
|
|
690
|
+
margin-right: 8px;
|
|
691
|
+
}
|
|
692
|
+
.header-context.nearing .header-context-label { color: var(--warning); }
|
|
693
|
+
.header-context-nearing { font-size: 10px; color: var(--warning); white-space: nowrap; }
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/* The result card of a command typed in the composer with ! (user-shell.js). */
|
|
2
|
+
|
|
3
|
+
.shell-result {
|
|
4
|
+
max-width: var(--content-width);
|
|
5
|
+
margin: 8px auto;
|
|
6
|
+
padding: 8px 12px;
|
|
7
|
+
border: 1px solid var(--border);
|
|
8
|
+
border-left-width: 3px;
|
|
9
|
+
border-radius: 6px;
|
|
10
|
+
background: var(--code-bg);
|
|
11
|
+
font-size: 13px;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.shell-result.ok { border-left-color: var(--success); }
|
|
16
|
+
.shell-result.failed,
|
|
17
|
+
.shell-result.error { border-left-color: var(--error); }
|
|
18
|
+
.shell-result.denied,
|
|
19
|
+
.shell-result.refused { border-left-color: var(--text-dimmer); }
|
|
20
|
+
.shell-result.pending { border-left-color: var(--accent); }
|
|
21
|
+
|
|
22
|
+
.shell-result .shell-cmd {
|
|
23
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
24
|
+
color: var(--text);
|
|
25
|
+
white-space: pre-wrap;
|
|
26
|
+
word-break: break-word;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.shell-result .shell-prompt {
|
|
30
|
+
color: var(--accent);
|
|
31
|
+
margin-right: 6px;
|
|
32
|
+
user-select: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.shell-result .shell-output {
|
|
36
|
+
margin: 8px 0 0;
|
|
37
|
+
padding: 0;
|
|
38
|
+
max-height: 360px;
|
|
39
|
+
overflow: auto;
|
|
40
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
41
|
+
font-size: 12px;
|
|
42
|
+
line-height: 1.45;
|
|
43
|
+
color: var(--text-secondary);
|
|
44
|
+
white-space: pre-wrap;
|
|
45
|
+
word-break: break-word;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.shell-result .shell-status {
|
|
49
|
+
margin-top: 6px;
|
|
50
|
+
font-size: 12px;
|
|
51
|
+
color: var(--text-muted);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.shell-result.failed .shell-status,
|
|
55
|
+
.shell-result.error .shell-status { color: var(--error); }
|
|
56
|
+
|
|
57
|
+
.shell-result .shell-actions { margin-top: 8px; }
|
|
58
|
+
|
|
59
|
+
.shell-result .shell-edit {
|
|
60
|
+
padding: 3px 10px;
|
|
61
|
+
border: 1px solid var(--border);
|
|
62
|
+
border-radius: 4px;
|
|
63
|
+
background: transparent;
|
|
64
|
+
color: var(--text);
|
|
65
|
+
font-size: 12px;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.shell-result .shell-edit:hover { border-color: var(--accent); color: var(--accent); }
|
|
70
|
+
|
|
71
|
+
/* A chat message typed while a command runs, waiting for it to end (shell-queue.js). */
|
|
72
|
+
.shell-queued {
|
|
73
|
+
max-width: var(--content-width);
|
|
74
|
+
margin: 8px auto;
|
|
75
|
+
padding: 6px 12px;
|
|
76
|
+
border: 1px dashed var(--border);
|
|
77
|
+
border-radius: 6px;
|
|
78
|
+
font-size: 13px;
|
|
79
|
+
color: var(--text-muted);
|
|
80
|
+
white-space: pre-wrap;
|
|
81
|
+
word-break: break-word;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.shell-queued.unsent { border-color: var(--error); }
|
|
85
|
+
|
|
86
|
+
.shell-queued .shell-queued-tag {
|
|
87
|
+
margin-right: 8px;
|
|
88
|
+
font-size: 11px;
|
|
89
|
+
text-transform: uppercase;
|
|
90
|
+
color: var(--text-dimmer);
|
|
91
|
+
user-select: none;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.shell-queued.unsent .shell-queued-tag { color: var(--error); }
|
|
95
|
+
|
|
96
|
+
/* Per-entry controls on a queued ! line: labelled in words, as tall as the send button. */
|
|
97
|
+
.shell-queued .shell-queued-actions {
|
|
98
|
+
display: flex;
|
|
99
|
+
flex-wrap: wrap;
|
|
100
|
+
gap: 8px;
|
|
101
|
+
margin-top: 6px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.shell-queued .shell-queued-btn {
|
|
105
|
+
min-height: 36px;
|
|
106
|
+
padding: 0 14px;
|
|
107
|
+
border: 1px solid var(--border);
|
|
108
|
+
border-radius: 18px;
|
|
109
|
+
background: transparent;
|
|
110
|
+
color: var(--text);
|
|
111
|
+
font-size: 13px;
|
|
112
|
+
cursor: pointer;
|
|
113
|
+
touch-action: manipulation;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.shell-queued .shell-queued-btn:hover { border-color: var(--accent); color: var(--accent); }
|
|
117
|
+
|
|
118
|
+
.shell-queued .shell-queued-btn.unavailable {
|
|
119
|
+
opacity: 0.4;
|
|
120
|
+
border-style: dashed;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* An armed schedule in the outbox (scheduled-outbox.js): its fire time leads; a long
|
|
124
|
+
prompt collapses with the shared control (collapsible-text.js), placed with the
|
|
125
|
+
other controls. */
|
|
126
|
+
.shell-queued.scheduled-queued .scheduled-queued-time {
|
|
127
|
+
margin-right: 8px;
|
|
128
|
+
font-size: 12px;
|
|
129
|
+
color: var(--accent);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.shell-queued.scheduled-queued .shell-queued-btn:disabled {
|
|
133
|
+
opacity: 0.5;
|
|
134
|
+
cursor: progress;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.shell-queued.scheduled-queued .scheduled-queued-error {
|
|
138
|
+
display: block;
|
|
139
|
+
margin-top: 4px;
|
|
140
|
+
font-size: 12px;
|
|
141
|
+
color: var(--error, #d33);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.shell-queued.scheduled-queued .scheduled-queued-error:empty { display: none; }
|