@clagentic/console 1.0.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/CREDITS.md +3 -0
- package/LICENSE +21 -0
- package/README.md +250 -0
- package/bin/cli.js +2812 -0
- package/lib/agents-favorites.js +164 -0
- package/lib/agents.js +282 -0
- package/lib/ask-user-mcp-server.js +120 -0
- package/lib/browser-mcp-server.js +484 -0
- package/lib/build-user-env.js +63 -0
- package/lib/certs/fullchain.pem +47 -0
- package/lib/certs/privkey.pem +5 -0
- package/lib/cli-sessions.js +265 -0
- package/lib/codex-defaults.js +18 -0
- package/lib/config.js +332 -0
- package/lib/crisis-safety.js +60 -0
- package/lib/daemon-projects.js +164 -0
- package/lib/daemon.js +1602 -0
- package/lib/dm.js +128 -0
- package/lib/ipc.js +125 -0
- package/lib/ipv4-only.js +39 -0
- package/lib/mcp-local.js +385 -0
- package/lib/notes.js +141 -0
- package/lib/os-users.js +529 -0
- package/lib/pages.js +1325 -0
- package/lib/project-connection.js +302 -0
- package/lib/project-external-trigger.js +236 -0
- package/lib/project-file-watch.js +120 -0
- package/lib/project-filesystem.js +528 -0
- package/lib/project-http.js +753 -0
- package/lib/project-image.js +95 -0
- package/lib/project-knowledge.js +88 -0
- package/lib/project-loop.js +1304 -0
- package/lib/project-mcp.js +374 -0
- package/lib/project-memory.js +39 -0
- package/lib/project-notifications.js +262 -0
- package/lib/project-sessions.js +1581 -0
- package/lib/project-user-mention.js +193 -0
- package/lib/project-user-message.js +628 -0
- package/lib/project.js +1303 -0
- package/lib/public/app.js +1031 -0
- package/lib/public/apple-touch-icon.png +0 -0
- package/lib/public/claude-code-avatar.png +0 -0
- package/lib/public/codex-avatar.png +0 -0
- package/lib/public/console-icon.png +0 -0
- package/lib/public/css/admin.css +736 -0
- package/lib/public/css/agent-picker.css +119 -0
- package/lib/public/css/base.css +235 -0
- package/lib/public/css/channel-layout.css +441 -0
- package/lib/public/css/command-palette.css +559 -0
- package/lib/public/css/debate.css +1609 -0
- package/lib/public/css/diff.css +139 -0
- package/lib/public/css/filebrowser.css +1976 -0
- package/lib/public/css/highlight.css +144 -0
- package/lib/public/css/home-hub.css +545 -0
- package/lib/public/css/icon-strip.css +1856 -0
- package/lib/public/css/input.css +1349 -0
- package/lib/public/css/loop.css +1248 -0
- package/lib/public/css/mention.css +317 -0
- package/lib/public/css/menus.css +857 -0
- package/lib/public/css/messages.css +1833 -0
- package/lib/public/css/mobile-nav.css +1332 -0
- package/lib/public/css/notifications-center.css +296 -0
- package/lib/public/css/overlays.css +1273 -0
- package/lib/public/css/playbook.css +264 -0
- package/lib/public/css/profile.css +397 -0
- package/lib/public/css/rewind.css +671 -0
- package/lib/public/css/scheduler-modal.css +1495 -0
- package/lib/public/css/scheduler.css +1420 -0
- package/lib/public/css/server-settings.css +909 -0
- package/lib/public/css/session-search.css +159 -0
- package/lib/public/css/sidebar.css +2012 -0
- package/lib/public/css/skills.css +789 -0
- package/lib/public/css/sticky-notes.css +854 -0
- package/lib/public/css/stt.css +155 -0
- package/lib/public/css/title-bar.css +674 -0
- package/lib/public/css/tooltip.css +67 -0
- package/lib/public/css/user-settings.css +702 -0
- package/lib/public/emoji-data.json +1 -0
- package/lib/public/favicon-banded-32.png +0 -0
- package/lib/public/favicon-banded.png +0 -0
- package/lib/public/favicon-dark.svg +32 -0
- package/lib/public/favicon.svg +32 -0
- package/lib/public/icon-192.png +0 -0
- package/lib/public/icon-512.png +0 -0
- package/lib/public/icon-banded-76.png +0 -0
- package/lib/public/icon-banded-96.png +0 -0
- package/lib/public/icon-mono.svg +25 -0
- package/lib/public/icons/email/gmail.svg +7 -0
- package/lib/public/icons/email/outlook.svg +35 -0
- package/lib/public/icons/email/yahoo.svg +1 -0
- package/lib/public/index.html +1946 -0
- package/lib/public/manifest.json +27 -0
- package/lib/public/markdown-worker.js +43 -0
- package/lib/public/marked.min.js +6 -0
- package/lib/public/modules/admin.js +954 -0
- package/lib/public/modules/agent-picker.js +429 -0
- package/lib/public/modules/app-connection.js +216 -0
- package/lib/public/modules/app-cursors.js +492 -0
- package/lib/public/modules/app-dm.js +265 -0
- package/lib/public/modules/app-favicon.js +231 -0
- package/lib/public/modules/app-header.js +242 -0
- package/lib/public/modules/app-home-hub.js +432 -0
- package/lib/public/modules/app-loop-ui.js +691 -0
- package/lib/public/modules/app-loop-wizard.js +439 -0
- package/lib/public/modules/app-messages.js +1415 -0
- package/lib/public/modules/app-misc.js +463 -0
- package/lib/public/modules/app-notifications.js +651 -0
- package/lib/public/modules/app-panels.js +1061 -0
- package/lib/public/modules/app-projects.js +875 -0
- package/lib/public/modules/app-rate-limit.js +529 -0
- package/lib/public/modules/app-rendering.js +739 -0
- package/lib/public/modules/app-skills-install.js +285 -0
- package/lib/public/modules/avatar.js +36 -0
- package/lib/public/modules/command-palette.js +491 -0
- package/lib/public/modules/console-logo.js +162 -0
- package/lib/public/modules/context-sources.js +365 -0
- package/lib/public/modules/diff.js +412 -0
- package/lib/public/modules/dom-refs.js +21 -0
- package/lib/public/modules/emoji-picker.js +222 -0
- package/lib/public/modules/events.js +21 -0
- package/lib/public/modules/filebrowser.js +1966 -0
- package/lib/public/modules/fileicons.js +172 -0
- package/lib/public/modules/icons.js +80 -0
- package/lib/public/modules/input.js +1102 -0
- package/lib/public/modules/longpress.js +74 -0
- package/lib/public/modules/markdown.js +486 -0
- package/lib/public/modules/mcp-ui.js +295 -0
- package/lib/public/modules/mention.js +1093 -0
- package/lib/public/modules/notifications.js +613 -0
- package/lib/public/modules/playbook.js +578 -0
- package/lib/public/modules/profile.js +594 -0
- package/lib/public/modules/project-settings.js +849 -0
- package/lib/public/modules/project-switcher.js +375 -0
- package/lib/public/modules/qrcode.js +87 -0
- package/lib/public/modules/rewind.js +381 -0
- package/lib/public/modules/scheduler-config.js +1611 -0
- package/lib/public/modules/scheduler-history.js +131 -0
- package/lib/public/modules/scheduler.js +1689 -0
- package/lib/public/modules/server-settings.js +842 -0
- package/lib/public/modules/session-search.js +456 -0
- package/lib/public/modules/settings-defaults.js +253 -0
- package/lib/public/modules/sidebar-mobile.js +1425 -0
- package/lib/public/modules/sidebar-projects.js +2022 -0
- package/lib/public/modules/sidebar-sessions.js +1548 -0
- package/lib/public/modules/sidebar-users.js +449 -0
- package/lib/public/modules/sidebar.js +348 -0
- package/lib/public/modules/skills.js +793 -0
- package/lib/public/modules/state.js +3 -0
- package/lib/public/modules/sticky-notes.js +1221 -0
- package/lib/public/modules/store.js +34 -0
- package/lib/public/modules/stt.js +266 -0
- package/lib/public/modules/terminal.js +987 -0
- package/lib/public/modules/theme.js +812 -0
- package/lib/public/modules/tool-palette.js +562 -0
- package/lib/public/modules/tools.js +2285 -0
- package/lib/public/modules/tooltip.js +150 -0
- package/lib/public/modules/user-settings.js +544 -0
- package/lib/public/modules/utils.js +56 -0
- package/lib/public/modules/ws-ref.js +26 -0
- package/lib/public/style.css +34 -0
- package/lib/public/sw.js +159 -0
- package/lib/push.js +149 -0
- package/lib/scheduler.js +471 -0
- package/lib/sdk-bridge.js +1792 -0
- package/lib/sdk-message-processor.js +740 -0
- package/lib/sdk-message-queue.js +42 -0
- package/lib/sdk-skill-discovery.js +131 -0
- package/lib/sdk-worker.js +677 -0
- package/lib/server-admin.js +712 -0
- package/lib/server-auth.js +737 -0
- package/lib/server-dm.js +170 -0
- package/lib/server-palette.js +104 -0
- package/lib/server-settings.js +553 -0
- package/lib/server-skills.js +280 -0
- package/lib/server.js +1390 -0
- package/lib/session-search.js +693 -0
- package/lib/sessions.js +946 -0
- package/lib/smtp.js +221 -0
- package/lib/terminal-manager.js +219 -0
- package/lib/terminal.js +39 -0
- package/lib/themes/ayu-light.json +9 -0
- package/lib/themes/catppuccin-latte.json +9 -0
- package/lib/themes/catppuccin-mocha.json +9 -0
- package/lib/themes/clagentic-dark.json +10 -0
- package/lib/themes/clagentic-light.json +10 -0
- package/lib/themes/dracula.json +9 -0
- package/lib/themes/everforest-light.json +9 -0
- package/lib/themes/everforest.json +9 -0
- package/lib/themes/github-light.json +9 -0
- package/lib/themes/gruvbox-dark.json +9 -0
- package/lib/themes/gruvbox-light.json +9 -0
- package/lib/themes/monokai.json +9 -0
- package/lib/themes/nord-light.json +9 -0
- package/lib/themes/nord.json +9 -0
- package/lib/themes/one-dark.json +9 -0
- package/lib/themes/one-light.json +9 -0
- package/lib/themes/rose-pine-dawn.json +9 -0
- package/lib/themes/rose-pine.json +9 -0
- package/lib/themes/solarized-dark.json +9 -0
- package/lib/themes/solarized-light.json +9 -0
- package/lib/themes/tokyo-night-light.json +9 -0
- package/lib/themes/tokyo-night.json +9 -0
- package/lib/updater.js +124 -0
- package/lib/user-presence.js +92 -0
- package/lib/users-auth.js +146 -0
- package/lib/users-permissions.js +118 -0
- package/lib/users-preferences.js +254 -0
- package/lib/users.js +465 -0
- package/lib/utils.js +64 -0
- package/lib/worktree.js +134 -0
- package/lib/ws-schema.js +464 -0
- package/lib/yoke/adapters/claude-worker.js +759 -0
- package/lib/yoke/adapters/claude.js +1599 -0
- package/lib/yoke/adapters/codex.js +1559 -0
- package/lib/yoke/codex-app-server.js +352 -0
- package/lib/yoke/index.js +319 -0
- package/lib/yoke/instructions.js +61 -0
- package/lib/yoke/interface.js +98 -0
- package/lib/yoke/mcp-bridge-server.js +302 -0
- package/lib/yoke/package.json +7 -0
- package/package.json +72 -0
|
@@ -0,0 +1,441 @@
|
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
channel-layout.css
|
|
3
|
+
Layout rules that only apply in channel (wide-view) or human DM
|
|
4
|
+
(mate-dm-active) mode. Extracted from messages.css so the selectors
|
|
5
|
+
do not run on every style recalc in the default bubble view.
|
|
6
|
+
|
|
7
|
+
Default bubble view: dm-bubble-avatar, dm-bubble-header, dm-bubble-name,
|
|
8
|
+
dm-bubble-time are present in the DOM but hidden / inert. This file
|
|
9
|
+
makes them visible only when a body class opts in.
|
|
10
|
+
========================================================================== */
|
|
11
|
+
|
|
12
|
+
/* ==========================================================================
|
|
13
|
+
Avatar rendering hints + sizing (shared across all views)
|
|
14
|
+
========================================================================== */
|
|
15
|
+
|
|
16
|
+
.dm-bubble-avatar,
|
|
17
|
+
.dm-bubble-avatar-me {
|
|
18
|
+
image-rendering: -webkit-optimize-contrast;
|
|
19
|
+
image-rendering: smooth;
|
|
20
|
+
-webkit-backface-visibility: hidden;
|
|
21
|
+
backface-visibility: hidden;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.dm-bubble-avatar,
|
|
25
|
+
.dm-bubble-avatar-me,
|
|
26
|
+
.dm-bubble-avatar-other {
|
|
27
|
+
width: 36px;
|
|
28
|
+
height: 36px;
|
|
29
|
+
border-radius: 6px;
|
|
30
|
+
flex-shrink: 0;
|
|
31
|
+
object-fit: cover;
|
|
32
|
+
margin-top: 2px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* --- Default: all avatars hidden. Channel/DM body classes opt in below. --- */
|
|
36
|
+
|
|
37
|
+
/* Use element-scoped selectors so specificity beats any bare-class override */
|
|
38
|
+
.msg-user > .dm-bubble-avatar,
|
|
39
|
+
.msg-assistant > .dm-bubble-avatar,
|
|
40
|
+
.msg-user > .dm-bubble-avatar-me,
|
|
41
|
+
.msg-assistant > .dm-bubble-avatar-me,
|
|
42
|
+
.dm-bubble-avatar {
|
|
43
|
+
display: none;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
body.mate-dm-active .dm-bubble-avatar,
|
|
47
|
+
body.wide-view .dm-bubble-avatar {
|
|
48
|
+
display: block;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* ==========================================================================
|
|
52
|
+
Bubble content/header/name/time — hidden by default, shown in channel/DM
|
|
53
|
+
========================================================================== */
|
|
54
|
+
|
|
55
|
+
.dm-bubble-content {
|
|
56
|
+
width: 100%;
|
|
57
|
+
}
|
|
58
|
+
.msg-user .dm-bubble-content {
|
|
59
|
+
display: flex;
|
|
60
|
+
flex-direction: column;
|
|
61
|
+
align-items: flex-end;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.dm-bubble-header {
|
|
65
|
+
display: none;
|
|
66
|
+
align-items: baseline;
|
|
67
|
+
gap: 8px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.dm-bubble-name {
|
|
71
|
+
font-weight: 700;
|
|
72
|
+
font-size: 15px;
|
|
73
|
+
color: var(--text);
|
|
74
|
+
}
|
|
75
|
+
.dm-bubble-time {
|
|
76
|
+
font-size: 12px;
|
|
77
|
+
color: var(--text-dimmer);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* Other user (human DM) */
|
|
81
|
+
.msg-user-other {
|
|
82
|
+
align-items: flex-start;
|
|
83
|
+
}
|
|
84
|
+
.msg-user-other .bubble {
|
|
85
|
+
background: var(--bg-elevated, var(--bg-hover));
|
|
86
|
+
border-radius: 20px 20px 20px 4px;
|
|
87
|
+
}
|
|
88
|
+
.msg-user-other .dm-bubble-avatar-other {
|
|
89
|
+
display: block;
|
|
90
|
+
}
|
|
91
|
+
.msg-user-other .dm-bubble-header {
|
|
92
|
+
display: flex;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* ==========================================================================
|
|
96
|
+
Wide View Mode (body.wide-view)
|
|
97
|
+
========================================================================== */
|
|
98
|
+
|
|
99
|
+
body.wide-view {
|
|
100
|
+
--content-width: 100%;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
body.wide-view .msg-user .dm-bubble-content {
|
|
104
|
+
align-items: flex-start;
|
|
105
|
+
}
|
|
106
|
+
body.wide-view .dm-bubble-content {
|
|
107
|
+
width: auto;
|
|
108
|
+
flex: 1;
|
|
109
|
+
min-width: 0;
|
|
110
|
+
}
|
|
111
|
+
body.wide-view .dm-bubble-header {
|
|
112
|
+
display: flex;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
body.wide-view .msg-user,
|
|
116
|
+
body.wide-view .msg-assistant {
|
|
117
|
+
display: flex;
|
|
118
|
+
flex-direction: row;
|
|
119
|
+
align-items: flex-start;
|
|
120
|
+
gap: 8px;
|
|
121
|
+
max-width: 100%;
|
|
122
|
+
padding: 4px 16px;
|
|
123
|
+
margin: 0;
|
|
124
|
+
border-radius: 0;
|
|
125
|
+
}
|
|
126
|
+
body.wide-view .msg-user:hover,
|
|
127
|
+
body.wide-view .msg-assistant:hover {
|
|
128
|
+
background: var(--bg-alt);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/* Grouped messages: same sender within same minute */
|
|
132
|
+
body.wide-view .msg-user.grouped > .dm-bubble-avatar,
|
|
133
|
+
body.wide-view .msg-assistant.grouped > .dm-bubble-avatar,
|
|
134
|
+
body.mate-dm-active .msg-assistant.grouped > .dm-bubble-avatar {
|
|
135
|
+
visibility: hidden;
|
|
136
|
+
}
|
|
137
|
+
body.wide-view .msg-user.grouped .dm-bubble-header,
|
|
138
|
+
body.wide-view .msg-assistant.grouped .dm-bubble-header,
|
|
139
|
+
body.mate-dm-active .msg-assistant.grouped .dm-bubble-header {
|
|
140
|
+
display: none;
|
|
141
|
+
}
|
|
142
|
+
body.wide-view .msg-user.grouped,
|
|
143
|
+
body.wide-view .msg-assistant.grouped,
|
|
144
|
+
body.mate-dm-active .msg-assistant.grouped {
|
|
145
|
+
padding-top: 1px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
body.wide-view .msg-user {
|
|
149
|
+
justify-content: flex-start;
|
|
150
|
+
}
|
|
151
|
+
body.wide-view .msg-user .dm-bubble-avatar-me {
|
|
152
|
+
order: -1;
|
|
153
|
+
}
|
|
154
|
+
body.wide-view .msg-user .bubble {
|
|
155
|
+
background: none;
|
|
156
|
+
border-radius: 0;
|
|
157
|
+
padding: 0;
|
|
158
|
+
max-width: 100%;
|
|
159
|
+
font-size: 15px;
|
|
160
|
+
line-height: 1.46;
|
|
161
|
+
white-space: pre-wrap;
|
|
162
|
+
word-wrap: break-word;
|
|
163
|
+
}
|
|
164
|
+
body.wide-view .msg-user .msg-actions {
|
|
165
|
+
align-self: flex-start;
|
|
166
|
+
margin-left: auto;
|
|
167
|
+
padding-top: 0;
|
|
168
|
+
}
|
|
169
|
+
body.wide-view .msg-user .msg-actions .msg-action-time {
|
|
170
|
+
display: none;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
body.wide-view .msg-assistant .md-content {
|
|
174
|
+
background: none;
|
|
175
|
+
border-radius: 0;
|
|
176
|
+
padding: 0;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
body.wide-view .thinking-item,
|
|
180
|
+
body.wide-view .tool-item,
|
|
181
|
+
body.wide-view .tool-group {
|
|
182
|
+
max-width: 100%;
|
|
183
|
+
}
|
|
184
|
+
body.wide-view .turn-meta {
|
|
185
|
+
max-width: 100%;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/* Mobile: force bubble layout in wide-view (except mate-dm-active) */
|
|
189
|
+
@media (max-width: 768px) {
|
|
190
|
+
body.wide-view:not(.mate-dm-active) { --content-width: 720px; }
|
|
191
|
+
body.wide-view:not(.mate-dm-active) .msg-user {
|
|
192
|
+
display: flex;
|
|
193
|
+
flex-direction: column;
|
|
194
|
+
align-items: flex-end;
|
|
195
|
+
gap: initial;
|
|
196
|
+
max-width: var(--content-width);
|
|
197
|
+
padding: 0 20px;
|
|
198
|
+
margin: 0 auto 8px;
|
|
199
|
+
border-radius: initial;
|
|
200
|
+
justify-content: initial;
|
|
201
|
+
}
|
|
202
|
+
body.wide-view:not(.mate-dm-active) .msg-assistant {
|
|
203
|
+
display: block;
|
|
204
|
+
flex-direction: initial;
|
|
205
|
+
align-items: initial;
|
|
206
|
+
gap: initial;
|
|
207
|
+
max-width: var(--content-width);
|
|
208
|
+
padding: 4px 20px;
|
|
209
|
+
margin: 0 auto 12px;
|
|
210
|
+
border-radius: 12px;
|
|
211
|
+
}
|
|
212
|
+
body.wide-view:not(.mate-dm-active) .msg-user:hover { background: initial; }
|
|
213
|
+
body.wide-view:not(.mate-dm-active) .msg-assistant:hover { background: rgba(var(--overlay-rgb), 0.02); }
|
|
214
|
+
body.wide-view:not(.mate-dm-active) .msg-user .dm-bubble-avatar-me { order: initial; }
|
|
215
|
+
body.wide-view:not(.mate-dm-active) .msg-user .bubble {
|
|
216
|
+
background: var(--user-bubble);
|
|
217
|
+
border-radius: 20px 20px 4px 20px;
|
|
218
|
+
padding: 12px 18px;
|
|
219
|
+
max-width: 85%;
|
|
220
|
+
font-size: 15px;
|
|
221
|
+
line-height: 1.55;
|
|
222
|
+
white-space: pre-wrap;
|
|
223
|
+
word-wrap: break-word;
|
|
224
|
+
}
|
|
225
|
+
body.wide-view:not(.mate-dm-active) .msg-user .msg-actions { align-self: initial; margin-left: initial; padding-top: initial; }
|
|
226
|
+
body.wide-view:not(.mate-dm-active) .msg-user .msg-actions .msg-action-time { display: initial; }
|
|
227
|
+
body.wide-view:not(.mate-dm-active) .msg-assistant .md-content {
|
|
228
|
+
background: initial;
|
|
229
|
+
border-radius: initial;
|
|
230
|
+
padding: initial;
|
|
231
|
+
}
|
|
232
|
+
body.wide-view:not(.mate-dm-active) .thinking-item,
|
|
233
|
+
body.wide-view:not(.mate-dm-active) .tool-item,
|
|
234
|
+
body.wide-view:not(.mate-dm-active) .tool-group { max-width: var(--content-width); }
|
|
235
|
+
body.wide-view:not(.mate-dm-active) .turn-meta { max-width: var(--content-width); }
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/* ==========================================================================
|
|
239
|
+
Pre-thinking indicator (bouncing dots shown before first response token)
|
|
240
|
+
========================================================================== */
|
|
241
|
+
|
|
242
|
+
body.wide-view .channel-thinking {
|
|
243
|
+
display: flex;
|
|
244
|
+
flex-direction: row;
|
|
245
|
+
align-items: flex-start;
|
|
246
|
+
gap: 8px;
|
|
247
|
+
padding: 4px 16px;
|
|
248
|
+
margin: 0;
|
|
249
|
+
max-width: 100%;
|
|
250
|
+
}
|
|
251
|
+
body.wide-view .channel-thinking:hover {
|
|
252
|
+
background: var(--bg-alt);
|
|
253
|
+
}
|
|
254
|
+
body.wide-view .channel-thinking > .dm-bubble-content {
|
|
255
|
+
flex: 1;
|
|
256
|
+
min-width: 0;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.thinking-dots {
|
|
260
|
+
display: inline-flex;
|
|
261
|
+
align-items: center;
|
|
262
|
+
gap: 3px;
|
|
263
|
+
padding: 4px 0;
|
|
264
|
+
}
|
|
265
|
+
.thinking-dots span {
|
|
266
|
+
width: 6px;
|
|
267
|
+
height: 6px;
|
|
268
|
+
border-radius: 50%;
|
|
269
|
+
background: var(--text-muted);
|
|
270
|
+
animation: dot-bounce 1.4s ease-in-out infinite;
|
|
271
|
+
}
|
|
272
|
+
.thinking-dots span:nth-child(2) { animation-delay: 0.2s; }
|
|
273
|
+
.thinking-dots span:nth-child(3) { animation-delay: 0.4s; }
|
|
274
|
+
@keyframes dot-bounce {
|
|
275
|
+
0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
|
|
276
|
+
30% { transform: translateY(-4px); opacity: 1; }
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/* ==========================================================================
|
|
280
|
+
Permission prompt in channel/DM layout
|
|
281
|
+
========================================================================== */
|
|
282
|
+
|
|
283
|
+
body.wide-view .permission-container,
|
|
284
|
+
body.mate-dm-active .permission-container {
|
|
285
|
+
display: flex;
|
|
286
|
+
flex-direction: row;
|
|
287
|
+
align-items: flex-start;
|
|
288
|
+
gap: 8px;
|
|
289
|
+
border: none;
|
|
290
|
+
border-radius: 0;
|
|
291
|
+
background: none;
|
|
292
|
+
box-shadow: none;
|
|
293
|
+
max-width: 100%;
|
|
294
|
+
margin: 0;
|
|
295
|
+
padding: 4px 16px;
|
|
296
|
+
}
|
|
297
|
+
body.wide-view .permission-container:hover,
|
|
298
|
+
body.mate-dm-active .permission-container:hover {
|
|
299
|
+
background: var(--bg-alt);
|
|
300
|
+
}
|
|
301
|
+
body.wide-view .permission-container > .dm-bubble-content,
|
|
302
|
+
body.mate-dm-active .permission-container > .dm-bubble-content {
|
|
303
|
+
flex: 1;
|
|
304
|
+
min-width: 0;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
body.wide-view .permission-container .permission-actions,
|
|
308
|
+
body.mate-dm-active .permission-container .permission-actions {
|
|
309
|
+
display: flex;
|
|
310
|
+
gap: 6px;
|
|
311
|
+
border: none;
|
|
312
|
+
padding: 0;
|
|
313
|
+
background: none;
|
|
314
|
+
margin-top: 8px;
|
|
315
|
+
border-radius: 0;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
/* ==========================================================================
|
|
319
|
+
Human DM mode (body.mate-dm-active)
|
|
320
|
+
========================================================================== */
|
|
321
|
+
|
|
322
|
+
body.mate-dm-active .dm-bubble-content {
|
|
323
|
+
width: auto;
|
|
324
|
+
flex: 1;
|
|
325
|
+
min-width: 0;
|
|
326
|
+
}
|
|
327
|
+
body.mate-dm-active .msg-user .dm-bubble-content {
|
|
328
|
+
align-items: flex-start;
|
|
329
|
+
}
|
|
330
|
+
body.mate-dm-active .dm-bubble-header {
|
|
331
|
+
display: flex;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
body.mate-dm-active .msg-user,
|
|
335
|
+
body.mate-dm-active .msg-assistant {
|
|
336
|
+
display: flex;
|
|
337
|
+
flex-direction: row;
|
|
338
|
+
align-items: flex-start;
|
|
339
|
+
gap: 8px;
|
|
340
|
+
max-width: 100%;
|
|
341
|
+
padding: 4px 16px;
|
|
342
|
+
margin: 0;
|
|
343
|
+
border-radius: 0;
|
|
344
|
+
}
|
|
345
|
+
body.mate-dm-active .msg-user:hover,
|
|
346
|
+
body.mate-dm-active .msg-assistant:hover {
|
|
347
|
+
background: var(--bg-alt);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
body.mate-dm-active .msg-user {
|
|
351
|
+
justify-content: flex-start;
|
|
352
|
+
}
|
|
353
|
+
body.mate-dm-active .msg-user .dm-bubble-avatar-me {
|
|
354
|
+
order: -1;
|
|
355
|
+
}
|
|
356
|
+
body.mate-dm-active .msg-user .bubble {
|
|
357
|
+
background: none;
|
|
358
|
+
border-radius: 0;
|
|
359
|
+
padding: 0;
|
|
360
|
+
max-width: 100%;
|
|
361
|
+
font-size: 15px;
|
|
362
|
+
line-height: 1.46;
|
|
363
|
+
white-space: pre-wrap;
|
|
364
|
+
word-wrap: break-word;
|
|
365
|
+
}
|
|
366
|
+
body.mate-dm-active .msg-user .msg-actions {
|
|
367
|
+
display: none;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
body.mate-dm-active .msg-assistant .dm-bubble-content {
|
|
371
|
+
flex: 1;
|
|
372
|
+
min-width: 0;
|
|
373
|
+
}
|
|
374
|
+
body.mate-dm-active .msg-assistant .md-content {
|
|
375
|
+
background: none;
|
|
376
|
+
border-radius: 0;
|
|
377
|
+
padding: 0;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
body.mate-dm-active .turn-meta {
|
|
381
|
+
display: none;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
/* Mobile: revert to bubble layout in DM mode */
|
|
385
|
+
@media (max-width: 768px) {
|
|
386
|
+
body.mate-dm-active .msg-user,
|
|
387
|
+
body.mate-dm-active .msg-assistant {
|
|
388
|
+
display: flex !important;
|
|
389
|
+
flex-direction: column !important;
|
|
390
|
+
align-items: initial !important;
|
|
391
|
+
gap: initial !important;
|
|
392
|
+
max-width: var(--content-width) !important;
|
|
393
|
+
padding: 0 20px !important;
|
|
394
|
+
margin: 0 auto 8px !important;
|
|
395
|
+
border-radius: initial !important;
|
|
396
|
+
}
|
|
397
|
+
body.mate-dm-active .msg-user {
|
|
398
|
+
align-items: flex-end !important;
|
|
399
|
+
}
|
|
400
|
+
body.mate-dm-active .msg-assistant {
|
|
401
|
+
margin-bottom: 12px !important;
|
|
402
|
+
padding: 4px 20px !important;
|
|
403
|
+
}
|
|
404
|
+
body.mate-dm-active .msg-user:hover {
|
|
405
|
+
background: initial !important;
|
|
406
|
+
}
|
|
407
|
+
body.mate-dm-active .msg-user .dm-bubble-avatar-me {
|
|
408
|
+
display: none !important;
|
|
409
|
+
}
|
|
410
|
+
body.mate-dm-active .msg-user .dm-bubble-content {
|
|
411
|
+
align-items: flex-end !important;
|
|
412
|
+
flex: initial !important;
|
|
413
|
+
width: 100% !important;
|
|
414
|
+
}
|
|
415
|
+
body.mate-dm-active .msg-user .dm-bubble-header {
|
|
416
|
+
display: none !important;
|
|
417
|
+
}
|
|
418
|
+
body.mate-dm-active .msg-user .bubble {
|
|
419
|
+
background: var(--user-bubble) !important;
|
|
420
|
+
border-radius: 20px 20px 4px 20px !important;
|
|
421
|
+
padding: 12px 18px !important;
|
|
422
|
+
max-width: 85% !important;
|
|
423
|
+
width: fit-content !important;
|
|
424
|
+
font-size: 15px !important;
|
|
425
|
+
line-height: 1.55 !important;
|
|
426
|
+
white-space: pre-wrap !important;
|
|
427
|
+
word-wrap: break-word !important;
|
|
428
|
+
}
|
|
429
|
+
body.mate-dm-active .msg-user .msg-actions {
|
|
430
|
+
display: flex !important;
|
|
431
|
+
}
|
|
432
|
+
body.mate-dm-active .msg-assistant .dm-bubble-content {
|
|
433
|
+
flex: initial !important;
|
|
434
|
+
width: 100% !important;
|
|
435
|
+
}
|
|
436
|
+
body.mate-dm-active .msg-assistant .md-content {
|
|
437
|
+
background: initial !important;
|
|
438
|
+
border-radius: initial !important;
|
|
439
|
+
padding: initial !important;
|
|
440
|
+
}
|
|
441
|
+
}
|