@clagentic/console 1.12.0-beta.3 → 1.13.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/bin/cli.js +18 -15
- package/lib/agent-roster-ws.js +38 -13
- package/lib/agent-roster.js +111 -12
- package/lib/agents.js +68 -33
- package/lib/atomic-install.js +334 -0
- package/lib/build-changes.js +33 -4
- package/lib/build-sha.json +2 -2
- package/lib/build-update-offer.js +12 -0
- package/lib/chat-width.js +31 -0
- package/lib/cli/agent-usage.js +126 -0
- package/lib/cli/arg-validation.js +1 -1
- package/lib/cli/compact-output.js +69 -0
- package/lib/cli/ipc-subcommands.js +92 -67
- package/lib/cli/output.js +28 -0
- package/lib/cli/restart-verb.js +132 -0
- package/lib/cli/schedule-input-subcommands.js +45 -8
- package/lib/cli/session-subcommands.js +37 -11
- package/lib/cli/settings-subcommands.js +74 -0
- package/lib/cli-transcript-title.js +56 -3
- package/lib/client-files.js +79 -0
- package/lib/daemon.js +100 -28
- package/lib/default-avatar-color.js +4 -0
- package/lib/drain.js +58 -10
- package/lib/mcp-tool-input.js +2 -2
- package/lib/model-families.js +49 -1
- package/lib/notify/type-registry.js +4 -0
- package/lib/notify/types.js +7 -4
- package/lib/pages.js +13 -63
- package/lib/permission-summary.js +12 -16
- package/lib/plan-usage-reader.js +70 -0
- package/lib/project-connection.js +4 -2
- package/lib/project-filesystem.js +6 -7
- package/lib/project-notifications.js +55 -8
- package/lib/project-prompt-expiry-settings.js +42 -0
- package/lib/project-sessions.js +52 -0
- package/lib/project-settings-gate.js +98 -0
- package/lib/project-user-mention.js +3 -2
- package/lib/project.js +1 -1
- package/lib/prompt-expiry-settings.js +49 -0
- package/lib/prompt-expiry.js +24 -3
- package/lib/prompt-kinds/codecs.js +6 -2
- package/lib/public/app.js +36 -36
- package/lib/public/css/admin.css +156 -170
- package/lib/public/css/agent-messages.css +24 -24
- package/lib/public/css/agent-picker.css +90 -38
- package/lib/public/css/agent-roster.css +61 -27
- package/lib/public/css/at-agents.css +10 -10
- package/lib/public/css/base.css +207 -184
- package/lib/public/css/chat-layout.css +228 -0
- package/lib/public/css/command-palette.css +86 -88
- package/lib/public/css/diagnostics.css +78 -204
- package/lib/public/css/diff.css +10 -10
- package/lib/public/css/filebrowser.css +32 -60
- package/lib/public/css/home-hub.css +100 -100
- package/lib/public/css/icon-strip.css +195 -238
- package/lib/public/css/input.css +191 -212
- package/lib/public/css/login-panel.css +16 -16
- package/lib/public/css/loop.css +96 -187
- package/lib/public/css/mention.css +49 -110
- package/lib/public/css/menus.css +162 -169
- package/lib/public/css/messages.css +49 -123
- package/lib/public/css/mobile-nav.css +207 -264
- package/lib/public/css/notifications-center.css +45 -124
- package/lib/public/css/overlay.css +269 -0
- package/lib/public/css/overlays.css +134 -156
- package/lib/public/css/playbook.css +41 -41
- package/lib/public/css/profile.css +43 -112
- package/lib/public/css/rewind.css +112 -112
- package/lib/public/css/scheduler-modal.css +27 -135
- package/lib/public/css/scheduler.css +204 -210
- package/lib/public/css/server-settings.css +173 -239
- package/lib/public/css/session-search.css +20 -20
- package/lib/public/css/settings-nav.css +197 -0
- package/lib/public/css/sidebar.css +213 -304
- package/lib/public/css/skills.css +121 -135
- package/lib/public/css/sticky-notes.css +114 -200
- package/lib/public/css/stt.css +17 -26
- package/lib/public/css/team-panel.css +36 -36
- package/lib/public/css/team-view.css +9 -9
- package/lib/public/css/title-bar.css +83 -100
- package/lib/public/css/tooltip.css +10 -10
- package/lib/public/css/user-settings.css +78 -131
- package/lib/public/css/user-shell.css +125 -29
- package/lib/public/index.html +178 -177
- package/lib/public/manifest.json +0 -2
- package/lib/public/modules/admin.js +54 -92
- package/lib/public/modules/agent-avatar.js +134 -3
- package/lib/public/modules/agent-messages.js +2 -1
- package/lib/public/modules/agent-picker.js +23 -21
- package/lib/public/modules/agent-roster-groups.js +128 -0
- package/lib/public/modules/agent-roster.js +40 -11
- package/lib/public/modules/app-connection.js +13 -1
- package/lib/public/modules/app-cursors.js +9 -9
- package/lib/public/modules/app-favicon.js +8 -16
- package/lib/public/modules/app-header.js +28 -19
- package/lib/public/modules/app-history-replay.js +67 -4
- package/lib/public/modules/app-home-hub.js +15 -0
- package/lib/public/modules/app-loop-ui.js +41 -47
- package/lib/public/modules/app-loop-wizard.js +9 -10
- package/lib/public/modules/app-messages.js +32 -36
- package/lib/public/modules/app-misc.js +22 -92
- package/lib/public/modules/app-modals.js +98 -0
- package/lib/public/modules/app-notifications.js +124 -135
- package/lib/public/modules/app-panels.js +28 -32
- package/lib/public/modules/app-projects.js +30 -40
- package/lib/public/modules/app-rate-limit.js +26 -9
- package/lib/public/modules/app-rendering.js +128 -110
- package/lib/public/modules/app-skills-install.js +6 -4
- package/lib/public/modules/assistant-identity.js +55 -0
- package/lib/public/modules/at-agents.js +3 -0
- package/lib/public/modules/build-guard.js +25 -11
- package/lib/public/modules/chat-width-choice.js +75 -0
- package/lib/public/modules/chat-width-prefs.js +52 -0
- package/lib/public/modules/chat-width.js +102 -0
- package/lib/public/modules/collapsible-text.js +36 -4
- package/lib/public/modules/command-palette.js +28 -34
- package/lib/public/modules/context-sources.js +3 -5
- package/lib/public/modules/diagnostics.js +130 -129
- package/lib/public/modules/info-panel.js +31 -0
- package/lib/public/modules/injected-identity.js +8 -8
- package/lib/public/modules/input-list-menu.js +39 -0
- package/lib/public/modules/input.js +22 -21
- package/lib/public/modules/markdown.js +10 -11
- package/lib/public/modules/mcp-ui.js +4 -14
- package/lib/public/modules/mention.js +100 -229
- package/lib/public/modules/message-header.js +80 -0
- package/lib/public/modules/message-participants.js +39 -0
- package/lib/public/modules/mobile-action-sheet.js +46 -0
- package/lib/public/modules/mobile-nav-sheet.js +104 -0
- package/lib/public/modules/model-families.js +41 -4
- package/lib/public/modules/note-order.js +39 -0
- package/lib/public/modules/notifications.js +35 -52
- package/lib/public/modules/overlay-history.js +73 -19
- package/lib/public/modules/overlay-menu.js +123 -0
- package/lib/public/modules/overlay-modal.js +186 -0
- package/lib/public/modules/overlay-registry.js +392 -0
- package/lib/public/modules/overlay-stack.js +110 -0
- package/lib/public/modules/overlay.js +117 -0
- package/lib/public/modules/popover-position.js +18 -2
- package/lib/public/modules/preference-sync.js +28 -0
- package/lib/public/modules/profile.js +24 -49
- package/lib/public/modules/project-settings.js +27 -172
- package/lib/public/modules/prompt-expiry-controls.js +46 -0
- package/lib/public/modules/prompt-kinds/command-summary.js +149 -0
- package/lib/public/modules/prompt-kinds/permission.js +70 -92
- package/lib/public/modules/prompts.js +1 -2
- package/lib/public/modules/qrcode.js +6 -21
- package/lib/public/modules/queued-button.js +15 -2
- package/lib/public/modules/rewind.js +9 -3
- package/lib/public/modules/schedule-time.js +32 -7
- package/lib/public/modules/scheduled-outbox.js +51 -18
- package/lib/public/modules/scheduler-config.js +87 -127
- package/lib/public/modules/scheduler.js +29 -26
- package/lib/public/modules/serialized-save.js +79 -0
- package/lib/public/modules/server-settings.js +75 -65
- package/lib/public/modules/session-grants.js +16 -19
- package/lib/public/modules/session-list-avatars.js +98 -0
- package/lib/public/modules/session-vendor-state.js +86 -0
- package/lib/public/modules/settings-access.js +35 -0
- package/lib/public/modules/settings-hub.js +125 -0
- package/lib/public/modules/settings-nav.js +182 -0
- package/lib/public/modules/shell-line.js +24 -0
- package/lib/public/modules/sidebar-mobile.js +151 -195
- package/lib/public/modules/sidebar-projects.js +88 -129
- package/lib/public/modules/sidebar-sessions.js +66 -34
- package/lib/public/modules/sidebar.js +2 -2
- package/lib/public/modules/skills.js +11 -26
- package/lib/public/modules/sticky-notes.js +19 -16
- package/lib/public/modules/stt.js +9 -23
- package/lib/public/modules/terminal.js +86 -90
- package/lib/public/modules/theme-choice.js +126 -0
- package/lib/public/modules/theme-colors.js +19 -0
- package/lib/public/modules/theme-prefs.js +121 -0
- package/lib/public/modules/theme.js +227 -605
- package/lib/public/modules/tool-palette.js +7 -17
- package/lib/public/modules/tools.js +8 -10
- package/lib/public/modules/user-settings.js +59 -115
- package/lib/public/modules/user-shell.js +9 -2
- package/lib/public/modules/utils.js +10 -12
- package/lib/public/modules/vendor-picker.js +4 -2
- package/lib/public/modules/vendor-registry.js +1 -2
- package/lib/public/style.css +3 -1
- package/lib/public/sw.js +9 -2
- package/lib/public/theme-core.js +411 -0
- package/lib/request-body.js +70 -0
- package/lib/sdk-bridge.js +227 -88
- package/lib/sdk-message-processor.js +44 -16
- package/lib/server-admin.js +198 -200
- package/lib/server-auth.js +16 -13
- package/lib/server-dm.js +4 -3
- package/lib/server-settings.js +177 -130
- package/lib/server.js +87 -36
- package/lib/session-background-tasks.js +79 -0
- package/lib/session-directory.js +138 -13
- package/lib/session-input-ipc.js +2 -0
- package/lib/session-input.js +39 -5
- package/lib/session-list-avatars.js +16 -0
- package/lib/session-reclaim.js +37 -25
- package/lib/session-vendor.js +37 -0
- package/lib/sessions.js +99 -34
- package/lib/settings-ipc.js +60 -0
- package/lib/settings-registry.js +86 -0
- package/lib/terminal-manager.js +17 -5
- package/lib/theme-files.js +132 -0
- package/lib/theme-seed.js +136 -0
- package/lib/themes/clagentic-dark.json +13 -6
- package/lib/themes/clagentic-light.json +12 -5
- package/lib/updater.js +6 -4
- package/lib/usage-store.js +97 -10
- package/lib/users-preferences.js +118 -19
- package/lib/users.js +19 -10
- package/lib/vendor-catalog.js +130 -0
- package/lib/ws-schema.js +4 -2
- package/lib/yoke/adapters/claude.js +81 -1
- package/lib/yoke/adapters/codex-user-shell.js +87 -23
- package/lib/yoke/adapters/codex.js +89 -5
- package/lib/yoke/codex-binary.js +59 -0
- package/package.json +1 -1
- package/scripts/check-test-count.js +5 -0
- package/scripts/install-local-test.js +50 -9
- package/scripts/write-build-sha.js +18 -2
- package/lib/public/css/channel-layout.css +0 -329
- package/lib/themes/ayu-light.json +0 -9
- package/lib/themes/catppuccin-latte.json +0 -9
- package/lib/themes/catppuccin-mocha.json +0 -9
- package/lib/themes/dracula.json +0 -9
- package/lib/themes/everforest-light.json +0 -9
- package/lib/themes/everforest.json +0 -9
- package/lib/themes/github-light.json +0 -9
- package/lib/themes/gruvbox-dark.json +0 -9
- package/lib/themes/gruvbox-light.json +0 -9
- package/lib/themes/monokai.json +0 -9
- package/lib/themes/nord-light.json +0 -9
- package/lib/themes/nord.json +0 -9
- package/lib/themes/one-dark.json +0 -9
- package/lib/themes/one-light.json +0 -9
- package/lib/themes/rose-pine-dawn.json +0 -9
- package/lib/themes/rose-pine.json +0 -9
- package/lib/themes/solarized-dark.json +0 -9
- package/lib/themes/solarized-light.json +0 -9
- package/lib/themes/tokyo-night-light.json +0 -9
- package/lib/themes/tokyo-night.json +0 -9
package/lib/public/css/base.css
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
::-webkit-scrollbar { width: 6px; height: 6px; }
|
|
27
27
|
::-webkit-scrollbar-track { background: transparent; }
|
|
28
|
-
::-webkit-scrollbar-thumb { background: rgba(var(--overlay-rgb),0.15); border-radius:
|
|
28
|
+
::-webkit-scrollbar-thumb { background: rgba(var(--overlay-rgb),0.15); border-radius: var(--radius-2); }
|
|
29
29
|
::-webkit-scrollbar-thumb:hover { background: rgba(var(--overlay-rgb),0.25); }
|
|
30
30
|
|
|
31
31
|
/* --- Global Twemoji baseline --- */
|
|
@@ -33,98 +33,211 @@ img.emoji {
|
|
|
33
33
|
height: 1.2em;
|
|
34
34
|
width: 1.2em;
|
|
35
35
|
vertical-align: -0.2em;
|
|
36
|
-
margin: 0
|
|
36
|
+
margin: 0 var(--space-1);
|
|
37
37
|
display: inline;
|
|
38
38
|
pointer-events: none;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
:root {
|
|
42
|
-
/*
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
--
|
|
47
|
-
--text-muted: #7A8FA6;
|
|
48
|
-
--text-dimmer: #3D5068;
|
|
49
|
-
--accent: #00CFFF;
|
|
50
|
-
--accent-hover: #33D8FF;
|
|
51
|
-
--accent-bg: rgba(0, 207, 255, 0.12);
|
|
52
|
-
--code-bg: #05070E;
|
|
53
|
-
--border: #1E2E48;
|
|
54
|
-
--border-subtle: #101726;
|
|
55
|
-
--input-bg: #172338;
|
|
56
|
-
--user-bubble: #151F31;
|
|
57
|
-
--error: #FF4D6A;
|
|
58
|
-
--success: #29D9A8;
|
|
59
|
-
--warning: #4A7FE8;
|
|
60
|
-
/* lr-66c118: --danger was referenced with two DISAGREEING fallbacks
|
|
61
|
-
(#F24822 at sidebar.css:1713, #e74c3c at icon-strip.css/mention.css)
|
|
62
|
-
but never defined here. Defining it settles both call sites on one
|
|
63
|
-
color; #e74c3c matches the existing unread/alert red already used
|
|
64
|
-
throughout (session-unread-badge, hub-recent-dot.alert, etc). */
|
|
65
|
-
--danger: #e74c3c;
|
|
66
|
-
/* lr-66c118: multi-user activity tone — a THIRD color, distinct from
|
|
67
|
-
--success (own activity, green) and --danger (alert, red). Violet is
|
|
68
|
-
maximally hue-separated from both and from --accent (cyan) /
|
|
69
|
-
--accent2/--warning (blue), which already carry meaning. Hue alone is
|
|
70
|
-
not sufficient at 6-8px (deuteranopia/protanopia; violet/blue
|
|
71
|
-
confusion) — render sites must pair this with a shape difference
|
|
72
|
-
(ring vs filled disc), never ship on hue alone. */
|
|
73
|
-
--activity-other: #B77BF3;
|
|
74
|
-
--accent-8: rgba(0, 207, 255, 0.08);
|
|
75
|
-
--accent-12: rgba(0, 207, 255, 0.12);
|
|
76
|
-
--accent-15: rgba(0, 207, 255, 0.15);
|
|
77
|
-
--accent-20: rgba(0, 207, 255, 0.20);
|
|
78
|
-
--accent-25: rgba(0, 207, 255, 0.25);
|
|
79
|
-
--accent-30: rgba(0, 207, 255, 0.30);
|
|
80
|
-
--accent2: #4A7FE8;
|
|
81
|
-
--accent2-hover: #6B97F0;
|
|
82
|
-
--accent2-bg: rgba(74, 127, 232, 0.12);
|
|
83
|
-
--accent2-8: rgba(74, 127, 232, 0.08);
|
|
84
|
-
--accent2-12: rgba(74, 127, 232, 0.12);
|
|
85
|
-
--accent2-15: rgba(74, 127, 232, 0.15);
|
|
86
|
-
--accent2-20: rgba(74, 127, 232, 0.20);
|
|
87
|
-
--accent2-25: rgba(74, 127, 232, 0.25);
|
|
88
|
-
--accent2-30: rgba(74, 127, 232, 0.30);
|
|
89
|
-
--error-8: rgba(255, 77, 106, 0.08);
|
|
90
|
-
--error-12: rgba(255, 77, 106, 0.12);
|
|
91
|
-
--error-15: rgba(255, 77, 106, 0.15);
|
|
92
|
-
--error-25: rgba(255, 77, 106, 0.25);
|
|
93
|
-
--success-8: rgba(41, 217, 168, 0.08);
|
|
94
|
-
--success-12: rgba(41, 217, 168, 0.12);
|
|
95
|
-
--success-15: rgba(41, 217, 168, 0.15);
|
|
96
|
-
--success-25: rgba(41, 217, 168, 0.25);
|
|
97
|
-
--warning-bg: rgba(74, 127, 232, 0.12);
|
|
98
|
-
--overlay-rgb: 255,255,255;
|
|
99
|
-
--shadow-rgb: 0,0,0;
|
|
100
|
-
--hl-comment: #3D5068;
|
|
101
|
-
--hl-keyword: #A855F7;
|
|
102
|
-
--hl-string: #29D9A8;
|
|
103
|
-
--hl-number: #00CFFF;
|
|
104
|
-
--hl-function: #4A7FE8;
|
|
105
|
-
--hl-variable: #FF4D6A;
|
|
106
|
-
--hl-type: #4A7FE8;
|
|
107
|
-
--hl-constant: #00CFFF;
|
|
108
|
-
--hl-tag: #FF4D6A;
|
|
109
|
-
--hl-attr: #4A7FE8;
|
|
110
|
-
--hl-regexp: #7B3FE4;
|
|
111
|
-
--hl-meta: #6366F1;
|
|
112
|
-
--hl-builtin: #00CFFF;
|
|
113
|
-
--hl-symbol: #6366F1;
|
|
114
|
-
--hl-addition: #29D9A8;
|
|
115
|
-
--hl-deletion: #FF4D6A;
|
|
116
|
-
--sidebar-bg: #04060B;
|
|
117
|
-
--sidebar-hover: #0A0E19;
|
|
118
|
-
--sidebar-active: #162134;
|
|
42
|
+
/* No colour is declared here. Every colour variable comes from the active
|
|
43
|
+
theme: theme-seed.css paints Dark and Light before scripts run, and
|
|
44
|
+
modules/theme.js applies the same values afterwards. Both are built from
|
|
45
|
+
lib/themes/ by lib/public/theme-core.js. */
|
|
46
|
+
--font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
119
47
|
--safe-top: env(safe-area-inset-top, 0px);
|
|
120
48
|
--safe-bottom: env(safe-area-inset-bottom, 0px);
|
|
121
|
-
|
|
49
|
+
/* Conversation width steps (Appearance, Chat width). The chosen step is the
|
|
50
|
+
data-chat-width attribute on <html>, set before first paint and kept by
|
|
51
|
+
modules/chat-width.js. Every message type and the composer read
|
|
52
|
+
--content-width, so a step changes all of them together. */
|
|
53
|
+
--chat-width-compact: 640px;
|
|
54
|
+
--chat-width-comfortable: 820px;
|
|
55
|
+
--chat-width-wide: 1040px;
|
|
56
|
+
--chat-width-full: 100%;
|
|
57
|
+
--content-width: var(--chat-width-comfortable);
|
|
58
|
+
|
|
59
|
+
/* Message layout. One header line per message: avatar, name, label, time and
|
|
60
|
+
controls share --msg-header-height; nothing in a header sits on its own row. */
|
|
61
|
+
--msg-header-height: 24px;
|
|
62
|
+
--msg-header-gap: 6px;
|
|
63
|
+
--msg-avatar-size: 24px;
|
|
64
|
+
--msg-gap: 6px;
|
|
65
|
+
--msg-gap-run: 2px;
|
|
66
|
+
--msg-pad-x: 12px;
|
|
67
|
+
--msg-bubble-pad-y: 8px;
|
|
68
|
+
--msg-bubble-pad-x: 12px;
|
|
69
|
+
--msg-bubble-radius: 12px;
|
|
70
|
+
--msg-text-line: 1.5;
|
|
71
|
+
--msg-name-size: 15px;
|
|
72
|
+
--msg-text-size: 15px;
|
|
73
|
+
--msg-meta-size: 12px;
|
|
74
|
+
--msg-touch-target: 44px;
|
|
75
|
+
|
|
76
|
+
/* The compact one-line card (the pending scheduled card in the composer outbox):
|
|
77
|
+
a 38 px row of 28 px icon buttons on a fine pointer; on a coarse pointer the
|
|
78
|
+
buttons take --msg-touch-target and the row 54 px. */
|
|
79
|
+
--compact-card-height: 38px;
|
|
80
|
+
--compact-card-height-touch: 54px;
|
|
81
|
+
--compact-control-size: 28px;
|
|
82
|
+
|
|
83
|
+
/* Layer scale: every layer from 100 up takes its z-index from here, never a
|
|
84
|
+
literal; -1 to 99 is local stacking inside one component and may stay a
|
|
85
|
+
literal (the guard in test/overlay-stack.test.js names those bands).
|
|
86
|
+
Order, low to high: raised in-flow content, sticky notes, the phone nav,
|
|
87
|
+
in-page floats, full-screen phone views, the phone sidebar, modals and panels,
|
|
88
|
+
the connection cover, anchored menus, the toast/banner stack, tooltips. A menu
|
|
89
|
+
is opened from the surface under it (the full-screen mobile sheet, the
|
|
90
|
+
terminal panel, a modal), so it sits above those; the toast layer sits above
|
|
91
|
+
menus so a toast raised while one is open is still read. */
|
|
92
|
+
--z-base: 10;
|
|
93
|
+
/* Sticky notes: a band from here up to 199, under the nav. Each note adds its
|
|
94
|
+
own order, clamped to 0-99 (sticky-notes.js), so the band never reaches the nav. */
|
|
95
|
+
--z-note: 100;
|
|
96
|
+
/* The phone bottom nav: above page content, below every overlay layer. A
|
|
97
|
+
sheet a nav button opens is laid out above the nav (--mobile-nav-height), so
|
|
98
|
+
the nav stays in view and tappable beneath it. */
|
|
99
|
+
--z-nav: 200;
|
|
100
|
+
/* In-page floats anchored to a control: the composer's config and context
|
|
101
|
+
pickers, the title bar's todo list, the note format toolbar. Above the nav. */
|
|
102
|
+
--z-float: 250;
|
|
103
|
+
/* A full-screen view on a phone (the file viewer, the terminal): over the page
|
|
104
|
+
and the floats, under the sidebar that slides over it. */
|
|
105
|
+
--z-screen: 300;
|
|
106
|
+
/* The phone sidebar drawer and its scrim (the scrim is one below): over the
|
|
107
|
+
full-screen views and the nav, under every panel and dialog, so a panel, dialog
|
|
108
|
+
or menu opened from the sidebar shows over it. */
|
|
109
|
+
--z-sidebar: 320;
|
|
110
|
+
/* A full-screen settings panel: under the modal layer, so a dialog a panel opens
|
|
111
|
+
(an admin form, the avatar positioner) shows over it. The panel layer is a band
|
|
112
|
+
from here up to 392 (the registry numbers open panels, at most 40 apart, and two
|
|
113
|
+
legacy panels sit at +0 and +1), clear of the sidebar below. A panel is never
|
|
114
|
+
opened while a dialog is open (overlay-registry.js), so it is never under one. */
|
|
115
|
+
--z-panel: 350;
|
|
116
|
+
--z-modal: 400;
|
|
117
|
+
/* The "connecting" cover shown while the socket is down: over every dialog and
|
|
118
|
+
panel, under the menus and toasts. */
|
|
119
|
+
--z-connect: 999;
|
|
120
|
+
--z-menu: 5000;
|
|
121
|
+
--z-toast: 9000;
|
|
122
|
+
--z-tooltip: 10000;
|
|
123
|
+
/* Remote cursors, their selections and the off-screen cursor chips live inside
|
|
124
|
+
#messages, which isolates its stacking (contain: layout), so this number only
|
|
125
|
+
competes with message content (at most 10). It is outside the global order. */
|
|
126
|
+
--z-cursor: 90;
|
|
127
|
+
|
|
128
|
+
/* Type, spacing and radius scales. Like the colours they are declared here once
|
|
129
|
+
and are the same in Clagentic Dark and Clagentic Light; a component stylesheet
|
|
130
|
+
names a step and never writes a pixel value for font-size, line-height,
|
|
131
|
+
margin, padding, gap or border-radius (test/pixel-literal-guard.test.js).
|
|
132
|
+
A value between two steps takes the nearer one, a tie the larger. */
|
|
133
|
+
|
|
134
|
+
/* Type scale, by size. */
|
|
135
|
+
--font-size-2xs: 10px;
|
|
136
|
+
--font-size-xs: 11px;
|
|
137
|
+
--font-size-sm: 12px;
|
|
138
|
+
--font-size-md: 13px;
|
|
139
|
+
--font-size-base: 14px;
|
|
140
|
+
--font-size-lg: 15px;
|
|
141
|
+
--font-size-xl: 16px;
|
|
142
|
+
--font-size-2xl: 18px;
|
|
143
|
+
--font-size-3xl: 20px;
|
|
144
|
+
--font-size-4xl: 22px;
|
|
145
|
+
--font-size-5xl: 24px;
|
|
146
|
+
--font-size-6xl: 28px;
|
|
147
|
+
|
|
148
|
+
/* Line heights in pixels, for a line that must fit a fixed-height box. A line
|
|
149
|
+
height that scales with its text is a unitless ratio and is not a pixel literal. */
|
|
150
|
+
--line-height-xs: 16px;
|
|
151
|
+
--line-height-sm: 18px;
|
|
152
|
+
--line-height-md: 20px;
|
|
153
|
+
|
|
154
|
+
/* Spacing scale for margin, padding and gap: --space-N is N x 2px, in steps of
|
|
155
|
+
one up to 12 (24px), then 14 (28px), 16 (32px) and 20 (40px). */
|
|
156
|
+
--space-1: 2px;
|
|
157
|
+
--space-2: 4px;
|
|
158
|
+
--space-3: 6px;
|
|
159
|
+
--space-4: 8px;
|
|
160
|
+
--space-5: 10px;
|
|
161
|
+
--space-6: 12px;
|
|
162
|
+
--space-7: 14px;
|
|
163
|
+
--space-8: 16px;
|
|
164
|
+
--space-9: 18px;
|
|
165
|
+
--space-10: 20px;
|
|
166
|
+
--space-11: 22px;
|
|
167
|
+
--space-12: 24px;
|
|
168
|
+
--space-14: 28px;
|
|
169
|
+
--space-16: 32px;
|
|
170
|
+
--space-20: 40px;
|
|
171
|
+
|
|
172
|
+
/* Radius scale: --radius-N is N x 2px, up to 10 (20px). A circle is 50% and a
|
|
173
|
+
pill is --radius-pill; neither is a size. */
|
|
174
|
+
--radius-1: 2px;
|
|
175
|
+
--radius-2: 4px;
|
|
176
|
+
--radius-3: 6px;
|
|
177
|
+
--radius-4: 8px;
|
|
178
|
+
--radius-5: 10px;
|
|
179
|
+
--radius-6: 12px;
|
|
180
|
+
--radius-7: 14px;
|
|
181
|
+
--radius-8: 16px;
|
|
182
|
+
--radius-9: 18px;
|
|
183
|
+
--radius-10: 20px;
|
|
184
|
+
--radius-pill: 999px;
|
|
185
|
+
|
|
186
|
+
/* Toast and banner stack (css/overlay.css). One column, top-right on a wide
|
|
187
|
+
viewport and full width on a phone; the card chrome shared by every toast
|
|
188
|
+
and banner reads these. */
|
|
189
|
+
--overlay-stack-top: 48px; /* clears the title bar */
|
|
190
|
+
--overlay-stack-inset: 8px; /* gap to the viewport edge */
|
|
191
|
+
--overlay-gap: 8px; /* between stacked cards */
|
|
192
|
+
--overlay-toast-gap: 4px; /* between the rows of a toast */
|
|
193
|
+
--overlay-banner-gap: 10px; /* between a banner's icon and its text */
|
|
194
|
+
--overlay-width: 360px; /* card width on a wide viewport */
|
|
195
|
+
--overlay-radius: 10px;
|
|
196
|
+
--overlay-icon-radius: 8px; /* the product logo in a banner's icon slot */
|
|
197
|
+
--overlay-pad-y: 10px;
|
|
198
|
+
--overlay-pad-x: 14px;
|
|
199
|
+
--overlay-accent-width: 3px; /* severity edge on a card's left border */
|
|
200
|
+
--overlay-close-size: 22px; /* the close control's hit area */
|
|
201
|
+
--overlay-close-inset: 6px; /* its distance from the card's top-right corner */
|
|
202
|
+
--overlay-detail-size: 11px; /* a toast's one-line detail */
|
|
203
|
+
--overlay-text-size: 13px; /* a plain toast's message */
|
|
204
|
+
--overlay-icon-size: 12px; /* the close control's glyph */
|
|
205
|
+
--overlay-rise: 8px; /* how far a card slides in from above */
|
|
206
|
+
|
|
207
|
+
/* Modals and sheets (css/overlay.css). One scrim, one dialog card, one sheet. */
|
|
208
|
+
--overlay-scrim: 0.5; /* backdrop alpha */
|
|
209
|
+
--overlay-scrim-dark: 0.8; /* backdrop alpha where the content is the picture (a lightbox) */
|
|
210
|
+
--overlay-modal-radius: 14px; /* a centred dialog's corners */
|
|
211
|
+
--overlay-modal-pad-y: 20px;
|
|
212
|
+
--overlay-modal-pad-x: 24px;
|
|
213
|
+
--overlay-modal-width: 320px; /* a dialog's widest; 90% of the viewport below that */
|
|
214
|
+
--overlay-sheet-radius: 20px; /* a bottom sheet's top corners */
|
|
215
|
+
--overlay-sheet-pad-top: 8px; /* above a sheet's first row */
|
|
216
|
+
--overlay-sheet-pad-bottom: 16px; /* below its last row, on top of the safe area */
|
|
217
|
+
--overlay-close-touch: 32px; /* the close control's hit area on a phone */
|
|
218
|
+
--overlay-modal-edge: 16px; /* a lightbox's close control from the viewport corner */
|
|
219
|
+
/* The phone bottom nav's height. A nav sheet stops above it. */
|
|
220
|
+
--mobile-nav-height: calc(56px + var(--safe-bottom));
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
:root[data-chat-width="compact"] { --content-width: var(--chat-width-compact); }
|
|
224
|
+
:root[data-chat-width="comfortable"] { --content-width: var(--chat-width-comfortable); }
|
|
225
|
+
:root[data-chat-width="wide"] { --content-width: var(--chat-width-wide); }
|
|
226
|
+
:root[data-chat-width="full"] { --content-width: var(--chat-width-full); }
|
|
227
|
+
|
|
228
|
+
/* A phone is always full width, whatever the chosen step. */
|
|
229
|
+
@media (max-width: 768px) {
|
|
230
|
+
:root,
|
|
231
|
+
:root[data-chat-width] {
|
|
232
|
+
--content-width: var(--chat-width-full);
|
|
233
|
+
--msg-pad-x: 8px;
|
|
234
|
+
}
|
|
122
235
|
}
|
|
123
236
|
|
|
124
237
|
/* PWA standalone: home indicator safe area still applies on notched devices */
|
|
125
238
|
|
|
126
239
|
::selection {
|
|
127
|
-
background:
|
|
240
|
+
background: var(--accent-25);
|
|
128
241
|
}
|
|
129
242
|
|
|
130
243
|
html, body {
|
|
@@ -132,7 +245,7 @@ html, body {
|
|
|
132
245
|
background: var(--bg);
|
|
133
246
|
color: var(--text);
|
|
134
247
|
font-family: "DM Sans", "Twemoji", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
|
135
|
-
font-size:
|
|
248
|
+
font-size: var(--font-size-lg);
|
|
136
249
|
line-height: 1.6;
|
|
137
250
|
overflow: hidden;
|
|
138
251
|
overscroll-behavior: none;
|
|
@@ -192,7 +305,7 @@ html, body {
|
|
|
192
305
|
overflow: hidden;
|
|
193
306
|
position: relative;
|
|
194
307
|
background: var(--bg);
|
|
195
|
-
border-top-left-radius:
|
|
308
|
+
border-top-left-radius: var(--radius-4);
|
|
196
309
|
border-top: 1px solid var(--border-subtle);
|
|
197
310
|
border-left: 1px solid var(--border-subtle);
|
|
198
311
|
}
|
|
@@ -217,116 +330,26 @@ html, body {
|
|
|
217
330
|
overflow: hidden;
|
|
218
331
|
}
|
|
219
332
|
|
|
220
|
-
/* ---
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
color: var(--text);
|
|
228
|
-
border: 1px solid var(--border);
|
|
229
|
-
border-radius: 10px;
|
|
230
|
-
padding: 8px 18px;
|
|
231
|
-
font-size: 13px;
|
|
232
|
-
font-weight: 500;
|
|
233
|
-
z-index: 400;
|
|
234
|
-
opacity: 0;
|
|
235
|
-
transition: opacity 0.2s, transform 0.2s;
|
|
236
|
-
pointer-events: none;
|
|
237
|
-
box-shadow: 0 4px 20px rgba(var(--shadow-rgb), 0.3);
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.toast.visible {
|
|
241
|
-
opacity: 1;
|
|
242
|
-
transform: translateX(-50%) translateY(0);
|
|
243
|
-
}
|
|
244
|
-
/* lr-136f81: --warning-bg / --error-12 are translucent tokens designed for
|
|
245
|
-
inline diagnostic badges sitting inside an already-opaque panel
|
|
246
|
-
(diagnostics.css:310-312). A position:fixed overlay toast has live chat
|
|
247
|
-
content behind it, so a translucent background lets that content bleed
|
|
248
|
-
through and the toast reads as malformed. Layer the tint over the opaque
|
|
249
|
-
--bg-alt toast surface instead of using the translucent token directly —
|
|
250
|
-
--warning-bg itself stays untouched so the diagnostic-badge use case is
|
|
251
|
-
unaffected. */
|
|
252
|
-
.toast.toast-warn {
|
|
253
|
-
background: linear-gradient(var(--warning-bg), var(--warning-bg)), var(--bg-alt);
|
|
254
|
-
border-color: var(--warning);
|
|
255
|
-
color: var(--warning);
|
|
256
|
-
}
|
|
257
|
-
.toast.toast-error {
|
|
258
|
-
background: linear-gradient(var(--error-12), var(--error-12)), var(--bg-alt);
|
|
259
|
-
border-color: var(--error);
|
|
260
|
-
color: var(--error);
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
/* SW update banner — shown when a new service worker activates while the page is visible */
|
|
264
|
-
.sw-update-banner {
|
|
265
|
-
position: fixed;
|
|
266
|
-
bottom: 80px;
|
|
267
|
-
left: 50%;
|
|
268
|
-
transform: translateX(-50%) translateY(8px);
|
|
269
|
-
background: var(--bg-alt);
|
|
270
|
-
color: var(--text);
|
|
271
|
-
border: 1px solid var(--accent);
|
|
272
|
-
border-radius: 10px;
|
|
273
|
-
padding: 8px 12px 8px 16px;
|
|
274
|
-
font-size: 13px;
|
|
333
|
+
/* --- Reload banner content ---
|
|
334
|
+
The card, its position, its close control and its severity edge come from
|
|
335
|
+
css/overlay.css; only what is inside the card is styled here. */
|
|
336
|
+
.sw-update-banner-text {
|
|
337
|
+
flex: 1;
|
|
338
|
+
min-width: 0;
|
|
339
|
+
font-size: var(--font-size-md);
|
|
275
340
|
font-weight: 500;
|
|
276
|
-
z-index: 400;
|
|
277
|
-
opacity: 0;
|
|
278
|
-
transition: opacity 0.2s, transform 0.2s;
|
|
279
|
-
box-shadow: 0 4px 20px rgba(var(--shadow-rgb), 0.3);
|
|
280
|
-
display: flex;
|
|
281
|
-
align-items: center;
|
|
282
|
-
gap: 10px;
|
|
283
|
-
white-space: nowrap;
|
|
284
|
-
}
|
|
285
|
-
.sw-update-banner.visible {
|
|
286
|
-
opacity: 1;
|
|
287
|
-
transform: translateX(-50%) translateY(0);
|
|
288
341
|
}
|
|
289
342
|
.sw-update-banner-btn {
|
|
290
343
|
background: var(--accent);
|
|
291
|
-
color: var(--accent
|
|
344
|
+
color: var(--on-accent);
|
|
292
345
|
border: none;
|
|
293
|
-
border-radius:
|
|
294
|
-
padding:
|
|
295
|
-
font-size:
|
|
346
|
+
border-radius: var(--radius-3);
|
|
347
|
+
padding: var(--space-2) var(--space-5);
|
|
348
|
+
font-size: var(--font-size-sm);
|
|
296
349
|
font-weight: 600;
|
|
297
350
|
cursor: pointer;
|
|
298
351
|
}
|
|
299
352
|
.sw-update-banner-btn:hover {
|
|
300
353
|
filter: brightness(1.1);
|
|
301
354
|
}
|
|
302
|
-
.sw-update-banner-dismiss {
|
|
303
|
-
background: transparent;
|
|
304
|
-
border: none;
|
|
305
|
-
color: var(--text-dim);
|
|
306
|
-
cursor: pointer;
|
|
307
|
-
font-size: 14px;
|
|
308
|
-
padding: 2px 4px;
|
|
309
|
-
line-height: 1;
|
|
310
|
-
}
|
|
311
|
-
.sw-update-banner-dismiss:hover {
|
|
312
|
-
color: var(--text);
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
/* Mobile (lr-2fdd): bottom:80px occludes the bottom-nav / input box / content
|
|
316
|
-
on narrow viewports (iOS screenshot showed the toast covering content just
|
|
317
|
-
above the Projects/Chat/Team/More nav). Top-anchor instead — per Andy's
|
|
318
|
-
steer ("should top align more than bottom align") — clearing the notch /
|
|
319
|
-
status bar via the safe-area inset. Desktop placement is unchanged. */
|
|
320
|
-
@media (max-width: 768px) {
|
|
321
|
-
.toast,
|
|
322
|
-
.sw-update-banner {
|
|
323
|
-
top: calc(var(--safe-top) + 12px);
|
|
324
|
-
bottom: auto;
|
|
325
|
-
transform: translateX(-50%) translateY(-8px);
|
|
326
|
-
}
|
|
327
|
-
.toast.visible,
|
|
328
|
-
.sw-update-banner.visible {
|
|
329
|
-
transform: translateX(-50%) translateY(0);
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
355
|
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
chat-layout.css
|
|
3
|
+
The one conversation layout. The viewer's own messages sit on the right;
|
|
4
|
+
every other speaker (the assistant, a message another agent or session
|
|
5
|
+
injected, an automation, another person) sits on the left. Each message has
|
|
6
|
+
one header line, --msg-header-height tall, that carries avatar, name, label,
|
|
7
|
+
time and controls: nothing in a header sits on a row by itself.
|
|
8
|
+
|
|
9
|
+
The column width is --content-width, set by the chat width step
|
|
10
|
+
(css/base.css). Every size, gap and radius below is a token from base.css.
|
|
11
|
+
========================================================================== */
|
|
12
|
+
|
|
13
|
+
/* --------------------------------------------------------------------------
|
|
14
|
+
Rows
|
|
15
|
+
-------------------------------------------------------------------------- */
|
|
16
|
+
|
|
17
|
+
.msg-user,
|
|
18
|
+
.msg-assistant {
|
|
19
|
+
position: relative;
|
|
20
|
+
display: block;
|
|
21
|
+
max-width: var(--content-width);
|
|
22
|
+
margin: 0 auto var(--msg-gap);
|
|
23
|
+
padding: 0 var(--msg-pad-x);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* A run of the assistant's blocks from the same minute shares one header. */
|
|
27
|
+
.msg-assistant.grouped {
|
|
28
|
+
margin-top: calc(var(--msg-gap-run) - var(--msg-gap));
|
|
29
|
+
}
|
|
30
|
+
.msg-assistant.grouped > .dm-bubble-header {
|
|
31
|
+
display: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* --------------------------------------------------------------------------
|
|
35
|
+
The message header (modules/message-header.js)
|
|
36
|
+
-------------------------------------------------------------------------- */
|
|
37
|
+
|
|
38
|
+
.msg-header {
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
gap: var(--msg-header-gap);
|
|
42
|
+
height: var(--msg-header-height);
|
|
43
|
+
min-width: 0;
|
|
44
|
+
font-size: var(--msg-meta-size);
|
|
45
|
+
color: var(--text-dimmer);
|
|
46
|
+
white-space: nowrap;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.msg-header-avatar {
|
|
50
|
+
flex: none;
|
|
51
|
+
width: var(--msg-avatar-size);
|
|
52
|
+
height: var(--msg-avatar-size);
|
|
53
|
+
border-radius: 50%;
|
|
54
|
+
object-fit: cover;
|
|
55
|
+
image-rendering: -webkit-optimize-contrast;
|
|
56
|
+
image-rendering: smooth;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.dm-bubble-name {
|
|
60
|
+
flex: 0 1 auto;
|
|
61
|
+
min-width: 0;
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
text-overflow: ellipsis;
|
|
64
|
+
font-size: var(--msg-name-size);
|
|
65
|
+
font-weight: 700;
|
|
66
|
+
line-height: var(--msg-header-height);
|
|
67
|
+
color: var(--text);
|
|
68
|
+
}
|
|
69
|
+
.dm-bubble-name-tappable {
|
|
70
|
+
cursor: pointer;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.msg-header-label {
|
|
74
|
+
flex: 0 1 auto;
|
|
75
|
+
min-width: 0;
|
|
76
|
+
overflow: hidden;
|
|
77
|
+
text-overflow: ellipsis;
|
|
78
|
+
overflow-wrap: anywhere;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.dm-bubble-time {
|
|
82
|
+
flex: none;
|
|
83
|
+
font-variant-numeric: tabular-nums;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* The viewer's own side is the same line mirrored: time, label, name, avatar,
|
|
87
|
+
right-aligned, with the controls at the far left. */
|
|
88
|
+
.msg-header-own {
|
|
89
|
+
flex-direction: row-reverse;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Time only while one person has spoken; avatar and name once two or more have
|
|
93
|
+
(modules/message-participants.js sets .multi-human on the transcript). */
|
|
94
|
+
#messages:not(.multi-human) .msg-header-own .msg-header-avatar,
|
|
95
|
+
#messages:not(.multi-human) .msg-header-own .dm-bubble-name {
|
|
96
|
+
display: none;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/* Collapse control. The visible text stays small; the 44 px hit area comes from
|
|
100
|
+
a pseudo-element, so it adds no layout height. */
|
|
101
|
+
.msg-header .collapsible-toggle {
|
|
102
|
+
position: relative;
|
|
103
|
+
flex: none;
|
|
104
|
+
min-width: var(--msg-touch-target);
|
|
105
|
+
margin-left: auto;
|
|
106
|
+
text-align: center;
|
|
107
|
+
}
|
|
108
|
+
.msg-header .collapsible-toggle::after {
|
|
109
|
+
content: "";
|
|
110
|
+
position: absolute;
|
|
111
|
+
inset: calc((var(--msg-header-height) - var(--msg-touch-target)) / 2) 0;
|
|
112
|
+
}
|
|
113
|
+
.msg-header-own .collapsible-toggle {
|
|
114
|
+
margin-left: 0;
|
|
115
|
+
margin-right: auto;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* Copy, fork and rewind live in the header too: no row of their own. */
|
|
119
|
+
.msg-header .msg-actions {
|
|
120
|
+
display: flex;
|
|
121
|
+
align-items: center;
|
|
122
|
+
flex: none;
|
|
123
|
+
gap: var(--space-1);
|
|
124
|
+
margin-left: auto;
|
|
125
|
+
}
|
|
126
|
+
.msg-header-own .msg-actions {
|
|
127
|
+
margin-left: 0;
|
|
128
|
+
margin-right: auto;
|
|
129
|
+
}
|
|
130
|
+
.msg-header .collapsible-toggle ~ .msg-actions {
|
|
131
|
+
margin-left: 0;
|
|
132
|
+
margin-right: 0;
|
|
133
|
+
}
|
|
134
|
+
.msg-header .msg-action-btn {
|
|
135
|
+
width: var(--msg-header-height);
|
|
136
|
+
height: var(--msg-header-height);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* --------------------------------------------------------------------------
|
|
140
|
+
Bubbles
|
|
141
|
+
-------------------------------------------------------------------------- */
|
|
142
|
+
|
|
143
|
+
.msg-user .bubble {
|
|
144
|
+
width: fit-content;
|
|
145
|
+
max-width: 85%;
|
|
146
|
+
padding: var(--msg-bubble-pad-y) var(--msg-bubble-pad-x);
|
|
147
|
+
border-radius: var(--msg-bubble-radius);
|
|
148
|
+
font-size: var(--msg-text-size);
|
|
149
|
+
line-height: var(--msg-text-line);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/* Own messages: the bubble sits against the right edge. */
|
|
153
|
+
.msg-user:not(.msg-user-other) .bubble {
|
|
154
|
+
margin-left: auto;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/* Another speaker (a person, or input another process injected). */
|
|
158
|
+
.msg-user-other .bubble {
|
|
159
|
+
background: var(--bg-elevated, var(--bg-hover));
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/* Injected by another process, not typed by anyone in this chat. The dashed
|
|
163
|
+
frame is its visual distinction from typed input. */
|
|
164
|
+
.msg-user-injected .bubble {
|
|
165
|
+
border: 1px dashed var(--text-dimmer);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/* --------------------------------------------------------------------------
|
|
169
|
+
Assistant text
|
|
170
|
+
-------------------------------------------------------------------------- */
|
|
171
|
+
|
|
172
|
+
.msg-assistant .md-content {
|
|
173
|
+
background: none;
|
|
174
|
+
border-radius: 0;
|
|
175
|
+
padding: 0;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/* --------------------------------------------------------------------------
|
|
179
|
+
Working indicator: the one footer (.activity-inline). Its dots.
|
|
180
|
+
-------------------------------------------------------------------------- */
|
|
181
|
+
|
|
182
|
+
.thinking-dots {
|
|
183
|
+
display: inline-flex;
|
|
184
|
+
align-items: center;
|
|
185
|
+
gap: var(--space-2);
|
|
186
|
+
padding: var(--space-2) 0;
|
|
187
|
+
}
|
|
188
|
+
.thinking-dots span {
|
|
189
|
+
width: 6px;
|
|
190
|
+
height: 6px;
|
|
191
|
+
border-radius: 50%;
|
|
192
|
+
background: var(--text-muted);
|
|
193
|
+
animation: dot-bounce 1.4s ease-in-out infinite;
|
|
194
|
+
}
|
|
195
|
+
.thinking-dots span:nth-child(2) { animation-delay: 0.2s; }
|
|
196
|
+
.thinking-dots span:nth-child(3) { animation-delay: 0.4s; }
|
|
197
|
+
@keyframes dot-bounce {
|
|
198
|
+
0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
|
|
199
|
+
30% { transform: translateY(-4px); opacity: 1; }
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/* --------------------------------------------------------------------------
|
|
203
|
+
Permission prompt: one conversational card from the assistant
|
|
204
|
+
-------------------------------------------------------------------------- */
|
|
205
|
+
|
|
206
|
+
.permission-container.perm-conversational {
|
|
207
|
+
display: block;
|
|
208
|
+
max-width: var(--content-width);
|
|
209
|
+
margin: 0 auto var(--msg-gap);
|
|
210
|
+
padding: 0 var(--msg-pad-x);
|
|
211
|
+
}
|
|
212
|
+
.perm-conversational > .dm-bubble-content {
|
|
213
|
+
padding: var(--msg-bubble-pad-y) var(--msg-bubble-pad-x);
|
|
214
|
+
border: 1px solid var(--border);
|
|
215
|
+
border-left: 3px solid var(--warning);
|
|
216
|
+
border-radius: var(--msg-bubble-radius);
|
|
217
|
+
background: var(--bg-alt);
|
|
218
|
+
}
|
|
219
|
+
.perm-conversational .permission-actions {
|
|
220
|
+
display: flex;
|
|
221
|
+
flex-wrap: wrap;
|
|
222
|
+
gap: var(--msg-header-gap);
|
|
223
|
+
margin-top: var(--msg-bubble-pad-y);
|
|
224
|
+
padding: 0;
|
|
225
|
+
border: none;
|
|
226
|
+
border-radius: 0;
|
|
227
|
+
background: none;
|
|
228
|
+
}
|