@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.
Files changed (221) hide show
  1. package/CREDITS.md +3 -0
  2. package/LICENSE +21 -0
  3. package/README.md +250 -0
  4. package/bin/cli.js +2812 -0
  5. package/lib/agents-favorites.js +164 -0
  6. package/lib/agents.js +282 -0
  7. package/lib/ask-user-mcp-server.js +120 -0
  8. package/lib/browser-mcp-server.js +484 -0
  9. package/lib/build-user-env.js +63 -0
  10. package/lib/certs/fullchain.pem +47 -0
  11. package/lib/certs/privkey.pem +5 -0
  12. package/lib/cli-sessions.js +265 -0
  13. package/lib/codex-defaults.js +18 -0
  14. package/lib/config.js +332 -0
  15. package/lib/crisis-safety.js +60 -0
  16. package/lib/daemon-projects.js +164 -0
  17. package/lib/daemon.js +1602 -0
  18. package/lib/dm.js +128 -0
  19. package/lib/ipc.js +125 -0
  20. package/lib/ipv4-only.js +39 -0
  21. package/lib/mcp-local.js +385 -0
  22. package/lib/notes.js +141 -0
  23. package/lib/os-users.js +529 -0
  24. package/lib/pages.js +1325 -0
  25. package/lib/project-connection.js +302 -0
  26. package/lib/project-external-trigger.js +236 -0
  27. package/lib/project-file-watch.js +120 -0
  28. package/lib/project-filesystem.js +528 -0
  29. package/lib/project-http.js +753 -0
  30. package/lib/project-image.js +95 -0
  31. package/lib/project-knowledge.js +88 -0
  32. package/lib/project-loop.js +1304 -0
  33. package/lib/project-mcp.js +374 -0
  34. package/lib/project-memory.js +39 -0
  35. package/lib/project-notifications.js +262 -0
  36. package/lib/project-sessions.js +1581 -0
  37. package/lib/project-user-mention.js +193 -0
  38. package/lib/project-user-message.js +628 -0
  39. package/lib/project.js +1303 -0
  40. package/lib/public/app.js +1031 -0
  41. package/lib/public/apple-touch-icon.png +0 -0
  42. package/lib/public/claude-code-avatar.png +0 -0
  43. package/lib/public/codex-avatar.png +0 -0
  44. package/lib/public/console-icon.png +0 -0
  45. package/lib/public/css/admin.css +736 -0
  46. package/lib/public/css/agent-picker.css +119 -0
  47. package/lib/public/css/base.css +235 -0
  48. package/lib/public/css/channel-layout.css +441 -0
  49. package/lib/public/css/command-palette.css +559 -0
  50. package/lib/public/css/debate.css +1609 -0
  51. package/lib/public/css/diff.css +139 -0
  52. package/lib/public/css/filebrowser.css +1976 -0
  53. package/lib/public/css/highlight.css +144 -0
  54. package/lib/public/css/home-hub.css +545 -0
  55. package/lib/public/css/icon-strip.css +1856 -0
  56. package/lib/public/css/input.css +1349 -0
  57. package/lib/public/css/loop.css +1248 -0
  58. package/lib/public/css/mention.css +317 -0
  59. package/lib/public/css/menus.css +857 -0
  60. package/lib/public/css/messages.css +1833 -0
  61. package/lib/public/css/mobile-nav.css +1332 -0
  62. package/lib/public/css/notifications-center.css +296 -0
  63. package/lib/public/css/overlays.css +1273 -0
  64. package/lib/public/css/playbook.css +264 -0
  65. package/lib/public/css/profile.css +397 -0
  66. package/lib/public/css/rewind.css +671 -0
  67. package/lib/public/css/scheduler-modal.css +1495 -0
  68. package/lib/public/css/scheduler.css +1420 -0
  69. package/lib/public/css/server-settings.css +909 -0
  70. package/lib/public/css/session-search.css +159 -0
  71. package/lib/public/css/sidebar.css +2012 -0
  72. package/lib/public/css/skills.css +789 -0
  73. package/lib/public/css/sticky-notes.css +854 -0
  74. package/lib/public/css/stt.css +155 -0
  75. package/lib/public/css/title-bar.css +674 -0
  76. package/lib/public/css/tooltip.css +67 -0
  77. package/lib/public/css/user-settings.css +702 -0
  78. package/lib/public/emoji-data.json +1 -0
  79. package/lib/public/favicon-banded-32.png +0 -0
  80. package/lib/public/favicon-banded.png +0 -0
  81. package/lib/public/favicon-dark.svg +32 -0
  82. package/lib/public/favicon.svg +32 -0
  83. package/lib/public/icon-192.png +0 -0
  84. package/lib/public/icon-512.png +0 -0
  85. package/lib/public/icon-banded-76.png +0 -0
  86. package/lib/public/icon-banded-96.png +0 -0
  87. package/lib/public/icon-mono.svg +25 -0
  88. package/lib/public/icons/email/gmail.svg +7 -0
  89. package/lib/public/icons/email/outlook.svg +35 -0
  90. package/lib/public/icons/email/yahoo.svg +1 -0
  91. package/lib/public/index.html +1946 -0
  92. package/lib/public/manifest.json +27 -0
  93. package/lib/public/markdown-worker.js +43 -0
  94. package/lib/public/marked.min.js +6 -0
  95. package/lib/public/modules/admin.js +954 -0
  96. package/lib/public/modules/agent-picker.js +429 -0
  97. package/lib/public/modules/app-connection.js +216 -0
  98. package/lib/public/modules/app-cursors.js +492 -0
  99. package/lib/public/modules/app-dm.js +265 -0
  100. package/lib/public/modules/app-favicon.js +231 -0
  101. package/lib/public/modules/app-header.js +242 -0
  102. package/lib/public/modules/app-home-hub.js +432 -0
  103. package/lib/public/modules/app-loop-ui.js +691 -0
  104. package/lib/public/modules/app-loop-wizard.js +439 -0
  105. package/lib/public/modules/app-messages.js +1415 -0
  106. package/lib/public/modules/app-misc.js +463 -0
  107. package/lib/public/modules/app-notifications.js +651 -0
  108. package/lib/public/modules/app-panels.js +1061 -0
  109. package/lib/public/modules/app-projects.js +875 -0
  110. package/lib/public/modules/app-rate-limit.js +529 -0
  111. package/lib/public/modules/app-rendering.js +739 -0
  112. package/lib/public/modules/app-skills-install.js +285 -0
  113. package/lib/public/modules/avatar.js +36 -0
  114. package/lib/public/modules/command-palette.js +491 -0
  115. package/lib/public/modules/console-logo.js +162 -0
  116. package/lib/public/modules/context-sources.js +365 -0
  117. package/lib/public/modules/diff.js +412 -0
  118. package/lib/public/modules/dom-refs.js +21 -0
  119. package/lib/public/modules/emoji-picker.js +222 -0
  120. package/lib/public/modules/events.js +21 -0
  121. package/lib/public/modules/filebrowser.js +1966 -0
  122. package/lib/public/modules/fileicons.js +172 -0
  123. package/lib/public/modules/icons.js +80 -0
  124. package/lib/public/modules/input.js +1102 -0
  125. package/lib/public/modules/longpress.js +74 -0
  126. package/lib/public/modules/markdown.js +486 -0
  127. package/lib/public/modules/mcp-ui.js +295 -0
  128. package/lib/public/modules/mention.js +1093 -0
  129. package/lib/public/modules/notifications.js +613 -0
  130. package/lib/public/modules/playbook.js +578 -0
  131. package/lib/public/modules/profile.js +594 -0
  132. package/lib/public/modules/project-settings.js +849 -0
  133. package/lib/public/modules/project-switcher.js +375 -0
  134. package/lib/public/modules/qrcode.js +87 -0
  135. package/lib/public/modules/rewind.js +381 -0
  136. package/lib/public/modules/scheduler-config.js +1611 -0
  137. package/lib/public/modules/scheduler-history.js +131 -0
  138. package/lib/public/modules/scheduler.js +1689 -0
  139. package/lib/public/modules/server-settings.js +842 -0
  140. package/lib/public/modules/session-search.js +456 -0
  141. package/lib/public/modules/settings-defaults.js +253 -0
  142. package/lib/public/modules/sidebar-mobile.js +1425 -0
  143. package/lib/public/modules/sidebar-projects.js +2022 -0
  144. package/lib/public/modules/sidebar-sessions.js +1548 -0
  145. package/lib/public/modules/sidebar-users.js +449 -0
  146. package/lib/public/modules/sidebar.js +348 -0
  147. package/lib/public/modules/skills.js +793 -0
  148. package/lib/public/modules/state.js +3 -0
  149. package/lib/public/modules/sticky-notes.js +1221 -0
  150. package/lib/public/modules/store.js +34 -0
  151. package/lib/public/modules/stt.js +266 -0
  152. package/lib/public/modules/terminal.js +987 -0
  153. package/lib/public/modules/theme.js +812 -0
  154. package/lib/public/modules/tool-palette.js +562 -0
  155. package/lib/public/modules/tools.js +2285 -0
  156. package/lib/public/modules/tooltip.js +150 -0
  157. package/lib/public/modules/user-settings.js +544 -0
  158. package/lib/public/modules/utils.js +56 -0
  159. package/lib/public/modules/ws-ref.js +26 -0
  160. package/lib/public/style.css +34 -0
  161. package/lib/public/sw.js +159 -0
  162. package/lib/push.js +149 -0
  163. package/lib/scheduler.js +471 -0
  164. package/lib/sdk-bridge.js +1792 -0
  165. package/lib/sdk-message-processor.js +740 -0
  166. package/lib/sdk-message-queue.js +42 -0
  167. package/lib/sdk-skill-discovery.js +131 -0
  168. package/lib/sdk-worker.js +677 -0
  169. package/lib/server-admin.js +712 -0
  170. package/lib/server-auth.js +737 -0
  171. package/lib/server-dm.js +170 -0
  172. package/lib/server-palette.js +104 -0
  173. package/lib/server-settings.js +553 -0
  174. package/lib/server-skills.js +280 -0
  175. package/lib/server.js +1390 -0
  176. package/lib/session-search.js +693 -0
  177. package/lib/sessions.js +946 -0
  178. package/lib/smtp.js +221 -0
  179. package/lib/terminal-manager.js +219 -0
  180. package/lib/terminal.js +39 -0
  181. package/lib/themes/ayu-light.json +9 -0
  182. package/lib/themes/catppuccin-latte.json +9 -0
  183. package/lib/themes/catppuccin-mocha.json +9 -0
  184. package/lib/themes/clagentic-dark.json +10 -0
  185. package/lib/themes/clagentic-light.json +10 -0
  186. package/lib/themes/dracula.json +9 -0
  187. package/lib/themes/everforest-light.json +9 -0
  188. package/lib/themes/everforest.json +9 -0
  189. package/lib/themes/github-light.json +9 -0
  190. package/lib/themes/gruvbox-dark.json +9 -0
  191. package/lib/themes/gruvbox-light.json +9 -0
  192. package/lib/themes/monokai.json +9 -0
  193. package/lib/themes/nord-light.json +9 -0
  194. package/lib/themes/nord.json +9 -0
  195. package/lib/themes/one-dark.json +9 -0
  196. package/lib/themes/one-light.json +9 -0
  197. package/lib/themes/rose-pine-dawn.json +9 -0
  198. package/lib/themes/rose-pine.json +9 -0
  199. package/lib/themes/solarized-dark.json +9 -0
  200. package/lib/themes/solarized-light.json +9 -0
  201. package/lib/themes/tokyo-night-light.json +9 -0
  202. package/lib/themes/tokyo-night.json +9 -0
  203. package/lib/updater.js +124 -0
  204. package/lib/user-presence.js +92 -0
  205. package/lib/users-auth.js +146 -0
  206. package/lib/users-permissions.js +118 -0
  207. package/lib/users-preferences.js +254 -0
  208. package/lib/users.js +465 -0
  209. package/lib/utils.js +64 -0
  210. package/lib/worktree.js +134 -0
  211. package/lib/ws-schema.js +464 -0
  212. package/lib/yoke/adapters/claude-worker.js +759 -0
  213. package/lib/yoke/adapters/claude.js +1599 -0
  214. package/lib/yoke/adapters/codex.js +1559 -0
  215. package/lib/yoke/codex-app-server.js +352 -0
  216. package/lib/yoke/index.js +319 -0
  217. package/lib/yoke/instructions.js +61 -0
  218. package/lib/yoke/interface.js +98 -0
  219. package/lib/yoke/mcp-bridge-server.js +302 -0
  220. package/lib/yoke/package.json +7 -0
  221. package/package.json +72 -0
@@ -0,0 +1,296 @@
1
+ /* Notification Center - Banners + Dropdown */
2
+
3
+ /* ========================================================
4
+ Bell button (topbar) - inherits .top-bar-actions button styles
5
+ ======================================================== */
6
+ #notif-center-btn {
7
+ position: relative;
8
+ }
9
+
10
+ .notif-badge {
11
+ position: absolute;
12
+ top: -3px;
13
+ right: -3px;
14
+ background: var(--error, #e53935);
15
+ color: #fff;
16
+ font-size: 9px;
17
+ font-weight: 700;
18
+ min-width: 15px;
19
+ height: 15px;
20
+ line-height: 15px;
21
+ border-radius: 8px;
22
+ text-align: center;
23
+ padding: 0 3px;
24
+ pointer-events: none;
25
+ font-family: inherit;
26
+ }
27
+ .notif-badge.hidden { display: none; }
28
+
29
+ /* ========================================================
30
+ Banner container (fixed top-right, stacks down)
31
+ ======================================================== */
32
+ .notif-banner-container {
33
+ position: fixed;
34
+ top: 48px;
35
+ right: 8px;
36
+ z-index: 9999;
37
+ display: flex;
38
+ flex-direction: column;
39
+ gap: 6px;
40
+ pointer-events: none;
41
+ width: 340px;
42
+ }
43
+
44
+ /* "Clear all" pill — appears at the top of the stack when 2+ banners
45
+ are showing. Small, muted, aligned to the right so it sits above the
46
+ banners' corner without stealing attention. */
47
+ .notif-banner-clear-all {
48
+ pointer-events: auto;
49
+ align-self: flex-end;
50
+ display: inline-flex;
51
+ align-items: center;
52
+ gap: 4px;
53
+ padding: 3px 10px;
54
+ background: var(--bg-alt, var(--bg));
55
+ border: 1px solid var(--border);
56
+ border-radius: 999px;
57
+ font-family: var(--font-mono, monospace);
58
+ font-size: 9.5px;
59
+ font-weight: 400;
60
+ letter-spacing: 0.08em;
61
+ color: var(--text-muted);
62
+ cursor: pointer;
63
+ box-shadow: 0 2px 8px rgba(var(--shadow-rgb), 0.16);
64
+ transition: color 0.15s, border-color 0.15s;
65
+ }
66
+ .notif-banner-clear-all:hover {
67
+ color: var(--text);
68
+ border-color: var(--border-bright, var(--border));
69
+ }
70
+ .notif-banner-clear-all .lucide {
71
+ width: 12px;
72
+ height: 12px;
73
+ }
74
+
75
+ /* Individual banner */
76
+ .notif-banner {
77
+ position: relative;
78
+ display: flex;
79
+ align-items: center;
80
+ gap: 10px;
81
+ padding: 12px 14px;
82
+ background: var(--bg-alt, var(--bg));
83
+ border: 1px solid var(--border);
84
+ border-radius: 10px;
85
+ box-shadow: 0 8px 24px rgba(var(--shadow-rgb), 0.22);
86
+ pointer-events: auto;
87
+ cursor: pointer;
88
+ opacity: 0;
89
+ transform: translateY(-8px);
90
+ transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.15s ease;
91
+ }
92
+ .notif-banner.show {
93
+ opacity: 1;
94
+ transform: translateY(0);
95
+ }
96
+ .notif-banner.hide {
97
+ opacity: 0;
98
+ transform: translateY(-8px);
99
+ }
100
+ .notif-banner:hover {
101
+ border-color: var(--border-bright, var(--accent));
102
+ }
103
+
104
+ .notif-banner-icon {
105
+ flex-shrink: 0;
106
+ width: 32px;
107
+ height: 32px;
108
+ display: flex;
109
+ align-items: center;
110
+ justify-content: center;
111
+ background: var(--bg-surface, var(--bg));
112
+ border: 1px solid var(--border);
113
+ border-radius: 6px;
114
+ color: var(--text-muted);
115
+ }
116
+ .notif-banner-icon .lucide { width: 16px; height: 16px; }
117
+ .notif-banner-emoji { font-size: 18px; line-height: 1; }
118
+ .notif-banner-avatar {
119
+ width: 100%;
120
+ height: 100%;
121
+ object-fit: cover;
122
+ border-radius: 4px;
123
+ display: block;
124
+ }
125
+
126
+ .notif-banner-body {
127
+ flex: 1;
128
+ min-width: 0;
129
+ }
130
+ .notif-banner-project {
131
+ font-family: var(--font-mono, monospace);
132
+ font-size: 9.5px;
133
+ font-weight: 400;
134
+ color: var(--accent);
135
+ text-transform: uppercase;
136
+ letter-spacing: 0.12em;
137
+ margin-bottom: 3px;
138
+ }
139
+ .notif-banner-title {
140
+ font-weight: 500;
141
+ font-size: 13px;
142
+ color: var(--text);
143
+ line-height: 1.3;
144
+ overflow: hidden;
145
+ text-overflow: ellipsis;
146
+ white-space: nowrap;
147
+ }
148
+ .notif-banner-text {
149
+ font-size: 12px;
150
+ color: var(--text-muted);
151
+ margin-top: 1px;
152
+ overflow: hidden;
153
+ text-overflow: ellipsis;
154
+ white-space: nowrap;
155
+ }
156
+
157
+ /* Permission banner actions */
158
+ .notif-banner-actions {
159
+ display: flex;
160
+ align-items: center;
161
+ gap: 6px;
162
+ margin-top: 8px;
163
+ }
164
+ .notif-banner-allow, .notif-banner-always, .notif-banner-deny, .notif-banner-goto {
165
+ padding: 4px 10px;
166
+ border-radius: 6px;
167
+ font-size: 11px;
168
+ font-weight: 600;
169
+ font-family: inherit;
170
+ cursor: pointer;
171
+ border: none;
172
+ transition: opacity 0.15s, background 0.15s;
173
+ }
174
+ .notif-banner-allow {
175
+ background: var(--accent, #6c5ce7);
176
+ color: #fff;
177
+ }
178
+ .notif-banner-allow:hover { opacity: 0.85; }
179
+ .notif-banner-always {
180
+ background: none;
181
+ border: 1px solid var(--border, #333);
182
+ color: var(--text-secondary);
183
+ }
184
+ .notif-banner-always:hover { color: var(--text); border-color: var(--text-secondary); }
185
+ .notif-banner-deny {
186
+ background: none;
187
+ color: var(--text-muted);
188
+ }
189
+ .notif-banner-deny:hover { color: var(--text); }
190
+ .notif-banner-goto {
191
+ display: flex;
192
+ align-items: center;
193
+ justify-content: center;
194
+ padding: 4px;
195
+ margin-left: auto;
196
+ background: none;
197
+ color: var(--text-dimmer);
198
+ }
199
+ .notif-banner-goto:hover { color: var(--text); }
200
+ .notif-banner-goto .lucide { width: 13px; height: 13px; }
201
+
202
+ /* Banner close button */
203
+ .notif-banner-close {
204
+ position: absolute;
205
+ top: -8px;
206
+ left: -8px;
207
+ display: flex;
208
+ align-items: center;
209
+ justify-content: center;
210
+ width: 18px;
211
+ height: 18px;
212
+ background: var(--bg-surface, var(--bg-alt));
213
+ border: 1px solid var(--border);
214
+ color: var(--text-muted);
215
+ cursor: pointer;
216
+ border-radius: 999px;
217
+ flex-shrink: 0;
218
+ opacity: 0;
219
+ transition: opacity 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
220
+ box-shadow: 0 2px 6px rgba(var(--shadow-rgb), 0.20);
221
+ z-index: 2;
222
+ }
223
+ .notif-banner:hover .notif-banner-close { opacity: 1; }
224
+ .notif-banner-close:hover {
225
+ color: var(--text);
226
+ border-color: var(--border-bright, var(--border));
227
+ transform: scale(1.08);
228
+ }
229
+ .notif-banner-close .lucide { width: 12px; height: 12px; }
230
+
231
+ /* Update available banner */
232
+ .notif-banner-update .notif-banner-icon {
233
+ background: none;
234
+ border-color: transparent;
235
+ }
236
+ .notif-banner-auth .notif-banner-title,
237
+ .notif-banner-auth .notif-banner-text {
238
+ white-space: normal;
239
+ }
240
+ .notif-banner-auth .notif-banner-actions {
241
+ margin-top: 10px;
242
+ }
243
+ .notif-banner-auth-login,
244
+ .notif-banner-new-session {
245
+ padding: 4px 10px;
246
+ border-radius: 6px;
247
+ font-size: 11px;
248
+ font-weight: 600;
249
+ font-family: inherit;
250
+ cursor: pointer;
251
+ border: none;
252
+ background: var(--accent, #6c5ce7);
253
+ color: #fff;
254
+ transition: opacity 0.15s;
255
+ }
256
+ .notif-banner-auth-login:hover,
257
+ .notif-banner-new-session:hover {
258
+ opacity: 0.85;
259
+ }
260
+ .notif-banner-auth-login:disabled,
261
+ .notif-banner-new-session:disabled {
262
+ opacity: 0.6;
263
+ cursor: default;
264
+ }
265
+ .notif-banner-update-now {
266
+ padding: 4px 10px;
267
+ border-radius: 6px;
268
+ font-size: 11px;
269
+ font-weight: 600;
270
+ font-family: inherit;
271
+ cursor: pointer;
272
+ border: none;
273
+ background: var(--accent, #6c5ce7);
274
+ color: #fff;
275
+ transition: opacity 0.15s;
276
+ }
277
+ .notif-banner-update-now:hover { opacity: 0.85; }
278
+ .notif-banner-update-now:disabled { opacity: 0.6; cursor: default; }
279
+
280
+ /* light-theme overrides removed — all banner styles now use CSS vars */
281
+
282
+ /* ========================================================
283
+ Mobile
284
+ ======================================================== */
285
+ @media (max-width: 768px) {
286
+ .notif-banner-container {
287
+ right: 8px;
288
+ left: 8px;
289
+ width: auto;
290
+ }
291
+ .notif-banner-close {
292
+ top: -7px;
293
+ left: -7px;
294
+ }
295
+ .notif-banner:hover .notif-banner-close { opacity: 1; }
296
+ }