clay-server 5.1.0-beta.1 → 5.1.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 +4 -0
- package/LICENSES/dicebear-avatars.md +16 -0
- package/bin/cli.js +9 -91
- package/lib/builtin-mates.js +7 -7
- package/lib/daemon-project-access.js +7 -1
- package/lib/daemon-settings.js +11 -0
- package/lib/daemon.js +10 -37
- package/lib/dicebear-avatar.js +62 -0
- package/lib/knowledge-db-service.js +175 -0
- package/lib/knowledge-db-validation.js +0 -0
- package/lib/knowledge-document-index.js +49 -0
- package/lib/knowledge-draft-store.js +56 -0
- package/lib/knowledge-file-store.js +199 -0
- package/lib/knowledge-markdown.js +128 -0
- package/lib/linear-store.js +35 -8
- package/lib/mate-identity-file.js +39 -0
- package/lib/mate-knowledge-mcp-server.js +29 -6
- package/lib/mate-knowledge-service.js +23 -2
- package/lib/mate-knowledge-sync.js +37 -22
- package/lib/mate-ready-creation.js +2 -1
- package/lib/mate-workspace-color.js +4 -0
- package/lib/mates-identity.js +4 -4
- package/lib/mates-prompts.js +4 -3
- package/lib/mates.js +30 -11
- package/lib/os-users.js +5 -16
- package/lib/project-connection.js +36 -9
- package/lib/project-debate-proposal.js +6 -0
- package/lib/project-debate-workspace.js +43 -0
- package/lib/project-debate.js +4 -2
- package/lib/project-filesystem.js +21 -39
- package/lib/project-knowledge.js +315 -136
- package/lib/project-mate-creation-proposal.js +1 -0
- package/lib/project-mate-interaction.js +7 -6
- package/lib/project-server-settings.js +31 -0
- package/lib/project-sessions.js +92 -182
- package/lib/project-user-knowledge.js +60 -0
- package/lib/project.js +62 -21
- package/lib/public/app.js +79 -71
- package/lib/public/clay-studio-wordmark-bold.svg +20 -0
- package/lib/public/css/clay-workspace.css +105 -0
- package/lib/public/css/debates-workbench.css +47 -0
- package/lib/public/css/home-debate-live.css +26 -0
- package/lib/public/css/home-hub.css +3 -1
- package/lib/public/css/home-mate-model-picker.css +15 -131
- package/lib/public/css/home-mate-settings.css +168 -16
- package/lib/public/css/icon-strip.css +249 -32
- package/lib/public/css/input.css +3 -1
- package/lib/public/css/mate-conversation.css +176 -0
- package/lib/public/css/mate-knowledge-workbench.css +118 -0
- package/lib/public/css/mate-workspace-color.css +16 -0
- package/lib/public/css/mates.css +28 -28
- package/lib/public/css/menus.css +3 -0
- package/lib/public/css/messages.css +1 -114
- package/lib/public/css/mobile-nav.css +16 -16
- package/lib/public/css/overlays.css +15 -0
- package/lib/public/css/project-logs.css +7 -0
- package/lib/public/css/project-mate-creation.css +105 -0
- package/lib/public/css/project-settings-modal.css +56 -0
- package/lib/public/css/right-workbench.css +3 -3
- package/lib/public/css/server-settings-system.css +125 -0
- package/lib/public/css/session-folders.css +80 -21
- package/lib/public/css/session-github.css +25 -16
- package/lib/public/css/settings-ui.css +247 -22
- package/lib/public/css/shared-browser.css +7 -3
- package/lib/public/css/sidebar.css +183 -107
- package/lib/public/css/title-bar.css +156 -1
- package/lib/public/css/worker-delegation.css +47 -0
- package/lib/public/css/worker-proposal.css +72 -150
- package/lib/public/css/you.css +74 -0
- package/lib/public/index.html +206 -548
- package/lib/public/modules/account-island.js +232 -0
- package/lib/public/modules/admin-settings-email.js +197 -0
- package/lib/public/modules/admin-settings-invitations.js +183 -0
- package/lib/public/modules/admin-settings-projects.js +198 -0
- package/lib/public/modules/admin-settings-ui.js +100 -0
- package/lib/public/modules/admin-settings-users.js +331 -0
- package/lib/public/modules/admin.js +19 -949
- package/lib/public/modules/app-cursors.js +19 -43
- package/lib/public/modules/app-debate-ui.js +4 -3
- package/lib/public/modules/app-dm.js +0 -2
- package/lib/public/modules/app-header.js +106 -0
- package/lib/public/modules/app-message-router.js +12 -3
- package/lib/public/modules/app-messages.js +47 -61
- package/lib/public/modules/app-notifications.js +4 -7
- package/lib/public/modules/app-projects.js +5 -38
- package/lib/public/modules/app-rate-limit.js +70 -12
- package/lib/public/modules/app-rendering.js +12 -13
- package/lib/public/modules/avatar.js +30 -9
- package/lib/public/modules/chat-render-runtime.js +16 -4
- package/lib/public/modules/command-palette.js +2 -15
- package/lib/public/modules/context-sources.js +27 -18
- package/lib/public/modules/cursor-sharing-preference.js +3 -3
- package/lib/public/modules/debate-controls.js +299 -0
- package/lib/public/modules/debate.js +2 -0
- package/lib/public/modules/debates-workbench.js +339 -0
- package/lib/public/modules/default-ai.js +88 -65
- package/lib/public/modules/header-tui-font.js +10 -20
- package/lib/public/modules/home-debate-controls.js +18 -289
- package/lib/public/modules/home-mate-avatar-editor.js +228 -0
- package/lib/public/modules/home-mate-color-picker.js +66 -0
- package/lib/public/modules/home-mate-creation.js +1 -1
- package/lib/public/modules/home-mate-instructions.js +90 -0
- package/lib/public/modules/home-mate-model-picker.js +80 -271
- package/lib/public/modules/home-mate-profile-editor.js +72 -0
- package/lib/public/modules/home-mate-settings.js +118 -125
- package/lib/public/modules/home-shell.js +3 -0
- package/lib/public/modules/home-surface-boot.js +1 -9
- package/lib/public/modules/icon-strip-tooltip.js +95 -0
- package/lib/public/modules/knowledge-db-edit-state.js +35 -0
- package/lib/public/modules/knowledge-db-workbench.js +234 -0
- package/lib/public/modules/knowledge-history-state.js +55 -0
- package/lib/public/modules/knowledge-markdown-editor.js +57 -0
- package/lib/public/modules/knowledge-preview-links.js +70 -0
- package/lib/public/modules/knowledge-workbench-shell.js +21 -0
- package/lib/public/modules/linear-settings.js +3 -2
- package/lib/public/modules/markdown.js +5 -6
- package/lib/public/modules/mate-knowledge-workbench-state.js +174 -0
- package/lib/public/modules/mate-knowledge-workbench.js +500 -0
- package/lib/public/modules/mate-knowledge.js +11 -3
- package/lib/public/modules/mate-management.js +54 -10
- package/lib/public/modules/mate-sidebar.js +11 -1
- package/lib/public/modules/mate-workspace-color.js +33 -0
- package/lib/public/modules/mention.js +5 -13
- package/lib/public/modules/notification-settings.js +81 -0
- package/lib/public/modules/notifications.js +44 -28
- package/lib/public/modules/personal-settings-dialog.js +51 -0
- package/lib/public/modules/profile.js +66 -24
- package/lib/public/modules/project-chat-identity.js +79 -0
- package/lib/public/modules/project-debate-planning-workspace.js +250 -0
- package/lib/public/modules/project-debate-workspace.js +185 -0
- package/lib/public/modules/project-header-identity.js +127 -0
- package/lib/public/modules/project-logs-render.js +9 -4
- package/lib/public/modules/project-mate-creation-workspace.js +414 -0
- package/lib/public/modules/project-mate-navigation.js +238 -0
- package/lib/public/modules/project-session-navigation.js +29 -0
- package/lib/public/modules/project-settings-environment.js +106 -0
- package/lib/public/modules/project-settings.js +72 -628
- package/lib/public/modules/project-switcher.js +6 -8
- package/lib/public/modules/projects-hub-view.js +5 -6
- package/lib/public/modules/projects-hub.js +2 -6
- package/lib/public/modules/qrcode.js +27 -8
- package/lib/public/modules/search-clay-chat.js +8 -11
- package/lib/public/modules/server-settings-controls.js +316 -0
- package/lib/public/modules/server-settings-environment.js +194 -0
- package/lib/public/modules/server-settings-navigation.js +39 -0
- package/lib/public/modules/server-settings-state.js +54 -0
- package/lib/public/modules/server-settings.js +116 -788
- package/lib/public/modules/server-storage-settings.js +84 -0
- package/lib/public/modules/session-activity-tooltip.js +12 -0
- package/lib/public/modules/session-create-form.js +86 -14
- package/lib/public/modules/session-create.js +50 -7
- package/lib/public/modules/session-github.js +2 -1
- package/lib/public/modules/session-list-visibility.js +41 -0
- package/lib/public/modules/session-presence-ui.js +3 -0
- package/lib/public/modules/session-title-marquee.js +51 -0
- package/lib/public/modules/settings-env-values.js +34 -0
- package/lib/public/modules/settings-select.js +121 -0
- package/lib/public/modules/shared-browser.js +22 -12
- package/lib/public/modules/sidebar-mates.js +3 -50
- package/lib/public/modules/sidebar-mobile.js +63 -60
- package/lib/public/modules/sidebar-projects.js +84 -97
- package/lib/public/modules/sidebar-session-folders-ui.js +2 -2
- package/lib/public/modules/sidebar-session-hierarchy.js +149 -70
- package/lib/public/modules/sidebar-sessions.js +49 -50
- package/lib/public/modules/sidebar.js +11 -13
- package/lib/public/modules/stt-picker.js +14 -5
- package/lib/public/modules/terminal-prefs.js +22 -0
- package/lib/public/modules/theme.js +88 -52
- package/lib/public/modules/thinking-lifecycle.js +7 -6
- package/lib/public/modules/tool-palette-order.js +4 -3
- package/lib/public/modules/tool-palette.js +13 -3
- package/lib/public/modules/tools.js +22 -22
- package/lib/public/modules/user-settings-account.js +318 -0
- package/lib/public/modules/user-settings-appearance.js +55 -0
- package/lib/public/modules/user-settings-editors.js +24 -0
- package/lib/public/modules/user-settings-integrations.js +104 -0
- package/lib/public/modules/user-settings-layout.js +80 -0
- package/lib/public/modules/user-settings-preferences.js +48 -0
- package/lib/public/modules/user-settings-profile.js +53 -0
- package/lib/public/modules/user-settings-themes.js +38 -0
- package/lib/public/modules/user-settings-voice.js +75 -0
- package/lib/public/modules/user-settings.js +53 -480
- package/lib/public/modules/worker-proposal.js +42 -8
- package/lib/public/modules/worker-runtime-picker.js +115 -0
- package/lib/public/modules/you-activity.js +121 -0
- package/lib/public/modules/you.js +251 -0
- package/lib/public/style.css +20 -8
- package/lib/public/vendor/codemirror/LICENSE +21 -0
- package/lib/public/vendor/codemirror/codemirror.css +344 -0
- package/lib/public/vendor/codemirror/codemirror.js +9884 -0
- package/lib/public/vendor/codemirror/continuelist.js +101 -0
- package/lib/public/vendor/codemirror/markdown.js +886 -0
- package/lib/public/vendor/codemirror/show-hint.css +37 -0
- package/lib/public/vendor/codemirror/show-hint.js +523 -0
- package/lib/sdk-bridge.js +15 -3
- package/lib/sdk-message-processor.js +16 -4
- package/lib/sdk-quota-snapshot.js +37 -0
- package/lib/server-admin.js +11 -0
- package/lib/server-appearance-settings.js +71 -0
- package/lib/server-home-chat-events.js +1 -1
- package/lib/server-home-chat.js +25 -3
- package/lib/server-home-debate-planning.js +4 -1
- package/lib/server-home-debates.js +2 -0
- package/lib/server-home-mate-creation.js +4 -1
- package/lib/server-linear.js +14 -8
- package/lib/server-mate-instructions.js +44 -0
- package/lib/server-mates.js +14 -4
- package/lib/server-notification-settings.js +67 -0
- package/lib/server-palette.js +1 -1
- package/lib/server-settings.js +69 -1
- package/lib/server-storage.js +57 -0
- package/lib/server-user-knowledge.js +119 -0
- package/lib/server.js +31 -3
- package/lib/session-visibility.js +7 -2
- package/lib/sessions.js +35 -10
- package/lib/startup-projects.js +40 -0
- package/lib/storage-native-walk.js +85 -0
- package/lib/storage-usage.js +144 -0
- package/lib/user-knowledge-service.js +167 -0
- package/lib/users-permissions.js +7 -0
- package/lib/users-preferences.js +0 -74
- package/lib/users-project-mate-filter-preferences.js +39 -0
- package/lib/users.js +6 -4
- package/lib/workspace-query-access.js +4 -1
- package/lib/ws-schema.js +52 -4
- package/lib/yoke/acp-process-manager.js +2 -2
- package/lib/yoke/adapters/codex.js +12 -52
- package/lib/yoke/codex-app-server.js +2 -2
- package/lib/yoke/codex-model-catalog.js +52 -0
- package/lib/yoke/codex-rate-limits.js +26 -0
- package/package.json +12 -3
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4742 1156" role="img" aria-label="Clay Studio">
|
|
2
|
+
<title>Clay Studio</title>
|
|
3
|
+
<style>
|
|
4
|
+
g { fill: #171717; }
|
|
5
|
+
@media (prefers-color-scheme: dark) { g { fill: #f2f2ef; } }
|
|
6
|
+
</style>
|
|
7
|
+
<metadata>Source Serif 4 v4.005, weight 700, optical size 60, tracking -0.01em, word gap 0.18em. Converted to outlines from Adobe Source Serif 4 release 4.005R.</metadata>
|
|
8
|
+
<g transform="translate(53.619 820.549) scale(1 -1)">
|
|
9
|
+
<path d="M346.54 -16Q285.787 -16 230.018 4.606Q174.248 25.213 130.354 67.319Q86.46 109.425 61.421 174.071Q36.381 238.717 36.381 327.505Q36.381 417.416 62.775 482.624Q89.168 547.832 133.916 589.938Q178.664 632.044 234.079 652.651Q289.495 673.257 346.832 673.257Q389.619 673.257 431.495 664.049Q473.372 654.841 509.292 632.628L520 472.673H498.336L418.098 646.044L477.549 626.425L481.549 604.673Q450.044 629.009 417.022 638.155Q384 647.301 356.495 647.301Q311.362 647.301 271.835 613.757Q232.309 580.213 208.326 509.752Q184.344 439.292 184.344 326.921Q184.344 215.257 207.534 145.297Q230.724 75.336 269.813 42.646Q308.902 9.956 355.619 9.956Q385.079 9.956 418.5 19.664Q451.921 29.372 482.717 52.876L479.885 30.832L421.142 11.505L500.381 193.664H522.336L511.628 23.505Q477.124 4 433.978 -6Q390.832 -16 346.54 -16Z" transform="translate(0 0)"/>
|
|
10
|
+
<path d="M24.381 0V21.664L109.054 36.495H182.566L264.115 21.664V0ZM74.558 0Q77.266 25.832 78.12 62.062Q78.974 98.292 79.474 137.022Q79.974 175.752 79.974 209.168V648.682L20.381 664.974V683.222L203.15 730.549L216.813 719.717L212.813 521.231V209.168Q212.813 175.752 213.313 137.022Q213.813 98.292 214.813 62.062Q215.813 25.832 218.229 0Z" transform="translate(556 0)"/>
|
|
11
|
+
<path d="M147.505 -14.832Q94.965 -14.832 61.673 15.438Q28.381 45.708 28.381 100Q28.381 134.372 45.044 163.265Q61.708 192.159 100.141 216.783Q138.575 241.407 203.823 260.699Q221.654 266.407 246.256 273.115Q270.858 279.823 298.358 286.969Q325.858 294.115 350.946 300.699V279.035Q312.689 267.575 281.481 258.283Q250.273 248.991 234.858 241.575Q209.848 229.946 191.764 214.84Q173.68 199.734 163.786 179.256Q153.893 158.778 153.893 130.451Q153.893 90.283 171.853 71.783Q189.813 53.283 216.858 53.283Q232.486 53.283 245.469 57.575Q258.451 61.867 273.372 72.473Q288.292 83.079 308.381 101.752L316.381 62.336H286.381Q266.089 33.628 244.651 16.69Q223.213 -0.248 199.421 -7.54Q175.628 -14.832 147.505 -14.832ZM379.619 -13.664Q331.708 -13.664 306.898 7.836Q282.089 29.336 277.549 64.381V67.797V316.495Q277.549 365.495 270.881 392.933Q264.213 420.372 248.106 432.018Q232 443.664 202.832 443.664Q188.079 443.664 173.619 439.872Q159.159 436.079 146.946 430.495L176.362 456.575L169.397 385.07Q167.521 338.168 146.61 320.443Q125.699 302.717 101.619 302.717Q78.956 302.717 65.292 314.133Q51.628 325.549 45.381 348.921Q50.717 403.584 104.443 438.04Q158.168 472.495 245.53 472.495Q303.566 472.495 340.145 453.872Q376.724 435.248 393.702 396.354Q410.68 357.46 410.68 296.089V72.381Q410.68 56.956 416.702 49.703Q422.724 42.451 432.477 42.451Q442.645 42.451 450.229 47.389Q457.813 52.327 467.981 64.911L482.229 54.079Q470.105 23 443.964 4.668Q417.823 -13.664 379.619 -13.664Z" transform="translate(832 0)"/>
|
|
12
|
+
<path d="M88.858 -245.549Q71.026 -245.549 51.778 -239.987Q32.53 -234.425 17.283 -221.531Q2.035 -208.638 -4.381 -186.85Q-1.673 -163.479 15.367 -149.023Q32.407 -134.568 58.486 -134.568Q79.734 -134.568 99.605 -144.961Q119.477 -155.355 141.972 -183.346L161.724 -205.593L147.061 -219.505L130.309 -212.054Q149.521 -199.885 164.212 -182.943Q178.902 -166 193.008 -139.181Q207.115 -112.362 222.575 -72.566L258.654 26.505L261.07 34.044L349.813 281.397L412.362 457.664H443.902L248.991 -76.813Q229.946 -129.778 206.924 -167.597Q183.902 -205.416 155.318 -225.482Q126.734 -245.549 88.858 -245.549ZM238.451 -49.893 38.336 457.664H181.76L305.645 113.893L269.318 25.708ZM6.832 436V457.664H264.096V436.292L178.255 421.168H80.381ZM333.778 436.292V457.664H482.946V436L421.778 425.168H412.61Z" transform="translate(1283 0)"/>
|
|
13
|
+
<path d="M220.248 -16Q170.079 -16 124.579 -2.062Q79.079 11.876 38.584 36L46.584 190.832H68.248L128.362 12L81.53 41.664L78.699 54.832Q104.159 37.832 125.035 27.686Q145.911 17.54 167.579 13.748Q189.248 9.956 214.584 9.956Q249.381 9.956 278.071 24.602Q306.762 39.248 323.784 66.938Q340.806 94.628 340.806 134.47Q340.806 169.222 324.868 193.244Q308.93 217.266 282.554 235.912Q256.177 254.558 225.301 270.266L195.673 285.85Q159.089 305.558 125.213 330.474Q91.336 355.39 69.544 392.306Q47.752 429.222 47.752 483.93Q47.752 538.39 73.19 581.076Q98.628 623.762 147.876 648.509Q197.124 673.257 266.699 673.257Q314.575 673.257 354.407 659.695Q394.238 646.133 421.53 625.257L417.53 475.593H395.867L333.46 648.381L385.416 628.381L386.584 600.965Q357.54 626.054 331.473 636.677Q305.407 647.301 272.362 647.301Q238.194 647.301 211.296 633.593Q184.397 619.885 168.437 593.987Q152.477 568.089 152.477 531.956Q152.477 498.203 168.769 473.827Q185.061 449.451 212.145 431.159Q239.229 412.867 270.105 396.159L299.442 380.575Q338.026 360.159 372.756 335.597Q407.486 311.035 429.924 274.827Q452.362 238.619 452.362 181.911Q452.362 126.035 428.424 81.057Q404.486 36.079 353.446 10.04Q302.407 -16 220.248 -16Z" transform="translate(1953 0)"/>
|
|
14
|
+
<path d="M142.946 428V457.664H309.981V428ZM201.283 -14.832Q140.124 -14.832 105.752 15.978Q71.381 46.787 71.381 110.946Q71.381 142.486 71.027 167.048Q70.673 191.61 71.381 230.566L73.381 428H13.664V449.664L102.717 467.664L69.549 445.664L163.442 609.664H209.512L205.512 445.664V436V110.451Q205.512 74.991 220.866 60.969Q236.22 46.946 258.68 46.946Q278.68 46.946 292.14 54.03Q305.601 61.115 318.185 75.699L332.724 64.575Q321.309 39.203 303.915 21.456Q286.521 3.708 261.296 -5.562Q236.07 -14.832 201.283 -14.832Z" transform="translate(2427 0)"/>
|
|
15
|
+
<path d="M195.301 -14.832Q136.177 -14.832 101.846 22.562Q67.514 59.956 68.222 148.115L72.47 422.628L101.257 394.044L18.336 410.921V432L192.813 472.495L206.477 463.079L202.477 330V133.549Q202.477 89.787 218.083 74.367Q233.689 58.946 263.238 58.946Q279.451 58.946 297.495 65.676Q315.54 72.407 334.23 87.283Q352.921 102.159 370.133 125.867L372.47 84.381H359.974Q340.974 53.717 315.952 31.195Q290.93 8.673 260.908 -3.079Q230.885 -14.832 195.301 -14.832ZM351.39 -12.832V81.505V83.797V400.168L296.089 410.921V432L474.566 472.495L488.229 463.079L484.229 330V30.664L534.946 21.664V0Z" transform="translate(2753 0)"/>
|
|
16
|
+
<path d="M205.885 -14.832Q154.762 -14.832 116.239 11.376Q77.717 37.584 55.903 89.146Q34.089 140.708 34.089 215.292Q34.089 295 58.819 352.624Q83.549 410.248 126.487 441.372Q169.425 472.495 224.257 472.495Q251.965 472.495 275.341 461.725Q298.717 450.956 318.739 428.124Q338.762 405.292 354.638 367.752H367.222L354.558 350.54Q331.009 379.673 313.19 392.217Q295.372 404.762 267.115 404.762Q241.734 404.762 220.437 386.863Q199.14 368.965 186.45 328.982Q173.76 289 173.76 222.832Q173.76 159.372 185.45 122.035Q197.14 84.699 218.437 68.654Q239.734 52.61 267.115 52.61Q293.248 52.61 314.275 70.115Q335.301 87.619 353.39 113.752L360.098 92.54H350.638Q336.346 59.584 315.054 35.522Q293.762 11.46 266.824 -1.686Q239.885 -14.832 205.885 -14.832ZM337.39 -12.832V75.797V80.213V378.832L338.806 389.664V648.682L280.089 664.974V683.222L460.566 730.549L474.229 719.717L470.229 514.514V29.956L521.53 21.664V0Z" transform="translate(3299 0)"/>
|
|
17
|
+
<path d="M24.381 0V21.664L109.054 36.495H182.566L264.115 21.664V0ZM74.558 0Q77.266 25.832 78.12 62.062Q78.974 98.292 79.474 137.123Q79.974 175.954 79.974 209.446V239.28Q79.974 286.338 79.828 318.946Q79.682 351.554 77.682 385.46L20.381 401.752V420L203.15 472.495L216.813 461.693L212.813 330V209.493Q212.813 175.987 213.313 137.14Q213.813 98.292 214.813 62.062Q215.813 25.832 218.229 0ZM145.664 547.762Q116.975 547.762 96.324 566.548Q75.673 585.334 75.673 616.521Q75.673 646.708 96.324 665.664Q116.975 684.619 145.664 684.619Q175.352 684.619 195.503 665.617Q215.654 646.616 215.654 616.644Q215.654 585.673 195.503 566.717Q175.352 547.762 145.664 547.762Z" transform="translate(3833 0)"/>
|
|
18
|
+
<path d="M264.451 -14.832Q191.752 -14.832 140.151 15.562Q88.549 45.956 61.319 100.579Q34.089 155.203 34.089 228.248Q34.089 301.292 63.443 356.208Q92.797 411.124 144.752 441.81Q196.708 472.495 264.451 472.495Q337.858 472.495 389.105 442.102Q440.353 411.708 467.583 357.23Q494.813 302.752 494.813 229.416Q494.813 157.372 464.751 101.956Q434.689 46.54 382.734 15.854Q330.778 -14.832 264.451 -14.832ZM264.451 11.124Q292 11.124 311.381 31.314Q330.762 51.505 341.098 99.089Q351.434 146.673 351.434 229.416Q351.434 312.867 341.098 360.013Q330.762 407.159 311.381 426.849Q292 446.54 264.451 446.54Q236.902 446.54 217.375 426.349Q197.848 406.159 187.512 358.575Q177.175 310.991 177.175 228.248Q177.175 145.797 187.512 98.151Q197.848 50.505 217.375 30.814Q236.902 11.124 264.451 11.124Z" transform="translate(4104 0)"/>
|
|
19
|
+
</g>
|
|
20
|
+
</svg>
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/* The fixed Clay entry keeps its original artwork and resting face. */
|
|
2
|
+
.icon-strip-brand {
|
|
3
|
+
border: 0;
|
|
4
|
+
padding: 0;
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
}
|
|
7
|
+
.icon-strip-brand:hover::before {
|
|
8
|
+
background: var(--bg-alt);
|
|
9
|
+
box-shadow: 0 1px 2px rgba(var(--shadow-rgb), 0.08);
|
|
10
|
+
}
|
|
11
|
+
.icon-strip-brand.active::before {
|
|
12
|
+
background: color-mix(in srgb, var(--brand-indigo) 12%, var(--bg));
|
|
13
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-indigo) 34%, transparent), 0 2px 5px color-mix(in srgb, var(--brand-indigo) 16%, transparent);
|
|
14
|
+
}
|
|
15
|
+
.icon-strip-brand:focus-visible {
|
|
16
|
+
outline: 2px solid var(--accent);
|
|
17
|
+
outline-offset: -3px;
|
|
18
|
+
border-radius: 14px;
|
|
19
|
+
}
|
|
20
|
+
.icon-strip-brand:disabled { cursor: default; }
|
|
21
|
+
|
|
22
|
+
/* Mate colors adapt to the theme; Clay always uses the pale mint default. */
|
|
23
|
+
body.mate-workspace-active {
|
|
24
|
+
--clay-surround: var(--mate-surround-dark, color-mix(in srgb, var(--brand-green) 2%, #232322));
|
|
25
|
+
--clay-face: #2b2b29;
|
|
26
|
+
--clay-well: #1c1c1a;
|
|
27
|
+
--clay-edge: #41413d;
|
|
28
|
+
--clay-blue-ink: var(--brand-blue);
|
|
29
|
+
--clay-blue-edge: color-mix(in srgb, var(--brand-blue) 38%, var(--clay-edge));
|
|
30
|
+
--clay-highlight: rgba(255, 255, 255, 0.05);
|
|
31
|
+
--clay-contact: rgba(var(--shadow-rgb), 0.16);
|
|
32
|
+
}
|
|
33
|
+
:root.light-theme body.mate-workspace-active {
|
|
34
|
+
--clay-surround: var(--mate-surround-light, color-mix(in srgb, var(--brand-green) 3%, var(--brand-paper)));
|
|
35
|
+
--clay-face: #fafaf8;
|
|
36
|
+
--clay-well: #e7e7e2;
|
|
37
|
+
--clay-edge: #d4d4ce;
|
|
38
|
+
--clay-blue-ink: color-mix(in srgb, var(--brand-blue) 48%, var(--brand-ink));
|
|
39
|
+
--clay-highlight: rgba(255, 255, 255, 0.5);
|
|
40
|
+
--clay-contact: rgba(var(--shadow-rgb), 0.07);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
body.mate-workspace-active #main-area,
|
|
44
|
+
body.mate-workspace-active #main-column {
|
|
45
|
+
background: var(--clay-surround);
|
|
46
|
+
}
|
|
47
|
+
body.mate-workspace-active #main-area {
|
|
48
|
+
border-color: transparent;
|
|
49
|
+
border-top-left-radius: 12px;
|
|
50
|
+
box-shadow: inset 0 1px 0 var(--clay-highlight);
|
|
51
|
+
}
|
|
52
|
+
body.mate-workspace-active #sidebar-column,
|
|
53
|
+
body.mate-workspace-active .title-bar-content {
|
|
54
|
+
--sidebar-bg: var(--clay-surround);
|
|
55
|
+
--sidebar-hover: color-mix(in srgb, var(--text) 4%, var(--clay-surround));
|
|
56
|
+
--text-muted: color-mix(in srgb, var(--text) 76%, var(--clay-surround));
|
|
57
|
+
--text-dimmer: color-mix(in srgb, var(--text) 68%, var(--clay-surround));
|
|
58
|
+
background: var(--clay-surround);
|
|
59
|
+
}
|
|
60
|
+
body.mate-workspace-active .title-bar-sidebar,
|
|
61
|
+
body.mate-workspace-active .title-bar-content {
|
|
62
|
+
border-bottom-color: transparent;
|
|
63
|
+
}
|
|
64
|
+
body.mate-workspace-active .title-bar-mate-avatar {
|
|
65
|
+
border-color: var(--clay-blue-edge);
|
|
66
|
+
box-shadow: 0 1px 2px var(--clay-contact);
|
|
67
|
+
}
|
|
68
|
+
body.mate-workspace-active #sidebar-column .palette-tile:not(:hover):not(.active) > .lucide {
|
|
69
|
+
background: var(--clay-face);
|
|
70
|
+
box-shadow: 0 1px 2px var(--clay-contact), inset 0 0 0 1px var(--clay-edge), inset 0 1px 0 var(--clay-highlight);
|
|
71
|
+
}
|
|
72
|
+
body.mate-workspace-active #sidebar-column .palette-tile:hover > .lucide {
|
|
73
|
+
color: var(--clay-blue-ink);
|
|
74
|
+
box-shadow: 0 2px 4px var(--clay-contact), inset 0 0 0 1px var(--clay-blue-edge);
|
|
75
|
+
}
|
|
76
|
+
body.mate-workspace-active #sidebar-column .session-item.active {
|
|
77
|
+
color: var(--clay-blue-ink);
|
|
78
|
+
background: color-mix(in srgb, var(--brand-blue) 10%, var(--clay-face));
|
|
79
|
+
box-shadow: inset 0 0 0 1px var(--clay-blue-edge), 0 1px 2px var(--clay-contact);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* The six-pixel edge is the only added space. Header, session rows, prose,
|
|
83
|
+
toolbar targets and composer padding keep their production proportions. */
|
|
84
|
+
body.mate-workspace-active #main-panels {
|
|
85
|
+
margin: 0 6px 6px 0;
|
|
86
|
+
border-radius: 12px;
|
|
87
|
+
background: var(--bg);
|
|
88
|
+
box-shadow: 0 0 0 1px var(--clay-edge), 0 2px 3px var(--clay-contact);
|
|
89
|
+
}
|
|
90
|
+
/* Split iframes already sit inside the shared conversation surface. */
|
|
91
|
+
body.mate-workspace-active.pane-mode #main-area {
|
|
92
|
+
border-radius: 0;
|
|
93
|
+
box-shadow: none;
|
|
94
|
+
}
|
|
95
|
+
body.mate-workspace-active.pane-mode #main-panels {
|
|
96
|
+
margin: 0;
|
|
97
|
+
border-radius: 0;
|
|
98
|
+
box-shadow: none;
|
|
99
|
+
}
|
|
100
|
+
@media (max-width: 768px) {
|
|
101
|
+
body.mate-workspace-active:not(.pane-mode) #main-panels {
|
|
102
|
+
margin: 0 4px 4px;
|
|
103
|
+
border-radius: 10px;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
@media (min-width: 1024px) {
|
|
2
|
+
#debates-workbench { width: 46%; max-width: 720px; min-width: 380px; height: calc(100% - 16px); min-height: 0; align-self: center; margin: 8px 8px 8px 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); display: flex; flex-direction: column; overflow: hidden; flex-shrink: 0; }
|
|
3
|
+
#debates-workbench.hidden { display: none; }
|
|
4
|
+
#debates-workbench.debates-workbench-wide { width: 68%; max-width: 1120px; }
|
|
5
|
+
#debates-workbench.panel-fullscreen { width: 100%; max-width: none; min-width: 0; height: 100%; margin: 0; border: 0; border-radius: 0; }
|
|
6
|
+
}
|
|
7
|
+
@media (max-width: 1023px) {
|
|
8
|
+
#debates-workbench { position: fixed; inset: 0; z-index: 300; padding-top: var(--safe-top); padding-bottom: var(--safe-bottom); background: var(--bg); display: flex; flex-direction: column; overflow: hidden; }
|
|
9
|
+
#debates-workbench.hidden { display: none; }
|
|
10
|
+
#debates-workbench [data-debates-action="wide"], #debates-workbench [data-debates-action="fullscreen"] { display: none; }
|
|
11
|
+
}
|
|
12
|
+
.debates-workbench-topbar { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--border-subtle); flex-shrink: 0; }
|
|
13
|
+
.debates-workbench-title { display: inline-flex; align-items: center; gap: 7px; margin-right: auto; color: var(--text); font-weight: 700; }
|
|
14
|
+
.debates-workbench-title .lucide { width: 15px; color: var(--accent); }
|
|
15
|
+
.debates-workbench-actions { display: flex; align-items: center; gap: 5px; }
|
|
16
|
+
.debates-workbench-icon, .debates-workbench-new, .debates-workbench-filter { box-sizing: border-box; border: 1px solid var(--border); border-radius: 7px; background: var(--bg-alt); color: var(--text-secondary); font: inherit; cursor: pointer; }
|
|
17
|
+
.debates-workbench-icon { width: 30px; display: inline-flex; align-items: center; justify-content: center; }
|
|
18
|
+
.debates-workbench-icon .lucide { width: 14px; }
|
|
19
|
+
.debates-workbench-icon, .debates-workbench-new { height: 30px; }
|
|
20
|
+
.debates-workbench-new { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border-color: var(--accent); background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; }
|
|
21
|
+
.debates-workbench-new .lucide { width: 14px; }
|
|
22
|
+
.debates-workbench-filters { display: flex; gap: 5px; padding: 8px 14px; border-bottom: 1px solid var(--border-subtle); overflow-x: auto; }
|
|
23
|
+
.debates-workbench-filter { height: 26px; padding: 0 9px; font-size: 11px; }
|
|
24
|
+
.debates-workbench-filter[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--bg)); }
|
|
25
|
+
.debates-workbench-summary { margin: 0; padding: 10px 14px; color: var(--text-dimmer); font-size: 11px; border-bottom: 1px solid var(--border-subtle); }
|
|
26
|
+
.debates-workbench-list { flex: 1; min-height: 0; overflow-y: auto; }
|
|
27
|
+
.debates-workbench-row { width: 100%; min-height: 46px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 14px; padding: 8px 14px; border: 0; border-bottom: 1px solid var(--border-subtle); background: transparent; color: var(--text); text-align: left; cursor: pointer; }
|
|
28
|
+
.debates-workbench-row:hover { background: var(--bg-alt); }
|
|
29
|
+
.debates-workbench-row:focus-visible, .debates-workbench-icon:focus-visible, .debates-workbench-new:focus-visible, .debates-workbench-filter:focus-visible, .debates-workbench-form-actions button:focus-visible, .debates-workbench-form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
|
|
30
|
+
.debates-workbench-row strong, .debates-workbench-row span { min-width: 0; }
|
|
31
|
+
.debates-workbench-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
|
|
32
|
+
.debates-workbench-row-panel { grid-column: 1; color: var(--text-dimmer); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
33
|
+
.debates-workbench-row-meta { grid-column: 2; grid-row: 1 / span 2; align-self: center; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; color: var(--text-dimmer); font-size: 11px; }
|
|
34
|
+
.debates-workbench-phase { padding: 2px 7px; border-radius: 999px; background: var(--bg-alt); color: var(--text-secondary); font-weight: 700; text-transform: capitalize; }
|
|
35
|
+
.debates-workbench-empty { padding: 48px 24px; text-align: center; color: var(--text-dimmer); }
|
|
36
|
+
.debates-workbench-empty strong { display: block; margin-bottom: 6px; color: var(--text); }
|
|
37
|
+
.debates-workbench-form { padding: 14px; border-bottom: 1px solid var(--border-subtle); background: var(--bg-alt); }
|
|
38
|
+
.debates-workbench-form.hidden { display: none; }
|
|
39
|
+
.debates-workbench-form label { display: block; margin-bottom: 7px; color: var(--text); font-size: 12px; font-weight: 700; }
|
|
40
|
+
.debates-workbench-form textarea { box-sizing: border-box; width: 100%; min-height: 72px; resize: vertical; border: 1px solid var(--border); border-radius: 8px; padding: 9px 10px; background: var(--bg); color: var(--text); font: inherit; }
|
|
41
|
+
.debates-workbench-launch-status { min-height: 15px; margin: 6px 0 0; color: var(--danger); font-size: 11px; }
|
|
42
|
+
.debates-workbench-form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; margin-top: 8px; }
|
|
43
|
+
.debates-workbench-form-actions button { height: 30px; padding: 0 10px; border: 1px solid var(--border); border-radius: 7px; background: var(--bg); color: var(--text-secondary); font: inherit; cursor: pointer; }
|
|
44
|
+
.debates-workbench-form-actions button[type="submit"] { border-color: var(--accent); color: var(--accent); font-weight: 700; }
|
|
45
|
+
.project-debate-planning-error { margin: 10px 0; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--danger) 35%, var(--border)); border-radius: 8px; background: color-mix(in srgb, var(--danger) 5%, var(--bg)); }
|
|
46
|
+
.project-debate-planning-error p { margin: 0; color: var(--text-secondary); font-size: 12px; line-height: 1.5; }
|
|
47
|
+
.project-debate-planning-error button { min-height: 30px; margin-top: 8px; padding: 0 10px; border: 1px solid var(--accent); border-radius: 7px; background: var(--bg); color: var(--accent); font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
|
|
@@ -144,3 +144,29 @@
|
|
|
144
144
|
.home-mate-chat-transcript.home-chat-bubble-layout .home-debate-live-user > .dm-bubble-avatar { width: 32px; height: 32px; }
|
|
145
145
|
}
|
|
146
146
|
@media (prefers-reduced-motion: reduce) { .home-debate-live-activity i, .home-debate-control-dots i { animation: none; opacity: .7; } }
|
|
147
|
+
|
|
148
|
+
/* The project shell hosts the same debate cards and participation controls. */
|
|
149
|
+
#messages > .project-debate-transcript { width: 100%; max-width: 860px; min-height: 0; margin: 0 auto; padding: 16px 12px; }
|
|
150
|
+
.project-debate-transcript .home-debate-live-header { margin-bottom: 24px; }
|
|
151
|
+
.project-debate-controls { flex: none; width: min(100%, 884px); margin: 0 auto; padding: 12px 24px 18px; }
|
|
152
|
+
#input-area[hidden] { display: none !important; }
|
|
153
|
+
.project-debate-error { color: var(--error); font-size: 12px; margin: 8px 0 0; }
|
|
154
|
+
@media (max-width: 600px) {
|
|
155
|
+
#messages > .project-debate-transcript { padding: 12px 4px; }
|
|
156
|
+
.project-debate-controls { padding: 8px 12px 12px; }
|
|
157
|
+
}
|
|
158
|
+
@media (max-width: 768px) {
|
|
159
|
+
.project-debate-controls { padding-bottom: calc(var(--safe-bottom) + 64px); }
|
|
160
|
+
body.keyboard-open .project-debate-controls { padding-bottom: 8px; }
|
|
161
|
+
#messages .project-debate-transcript .home-debate-live-user {
|
|
162
|
+
display: grid !important;
|
|
163
|
+
grid-template-columns: 32px minmax(0, 1fr);
|
|
164
|
+
gap: 9px;
|
|
165
|
+
padding: 4px 12px !important;
|
|
166
|
+
max-width: 100% !important;
|
|
167
|
+
}
|
|
168
|
+
#messages .project-debate-transcript .home-debate-live-user .dm-bubble-content {
|
|
169
|
+
align-items: flex-start !important;
|
|
170
|
+
min-width: 0;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
========================================================================== */
|
|
4
4
|
|
|
5
5
|
body.home-active #top-bar,
|
|
6
|
-
body.home-active #icon-strip,
|
|
7
6
|
body.home-active #sidebar-column,
|
|
8
7
|
body.home-active #mate-sidebar-column,
|
|
9
8
|
body.home-active #sidebar-resize-handle,
|
|
@@ -19,6 +18,9 @@ body.capsules-disabled #home-tool-workbench { display: none !important; }
|
|
|
19
18
|
|
|
20
19
|
body.home-active #main-area { border: 0; border-radius: 0; }
|
|
21
20
|
|
|
21
|
+
/* Preserve rail targets when the 32px project top bar is hidden. */
|
|
22
|
+
body.home-active #icon-strip { padding-top: 32px; }
|
|
23
|
+
|
|
22
24
|
body.home-surface-boot-pending #connect-overlay.hidden {
|
|
23
25
|
opacity: 1;
|
|
24
26
|
pointer-events: auto;
|
|
@@ -1,131 +1,15 @@
|
|
|
1
|
-
/*
|
|
2
|
-
|
|
3
|
-
.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.home-mate-model-section-label {
|
|
18
|
-
margin: 18px 0 8px;
|
|
19
|
-
color: var(--text-dimmer);
|
|
20
|
-
font-size: 10px;
|
|
21
|
-
font-weight: 700;
|
|
22
|
-
letter-spacing: 0.08em;
|
|
23
|
-
text-transform: uppercase;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.home-mate-vendor-list {
|
|
27
|
-
display: flex;
|
|
28
|
-
flex-wrap: wrap;
|
|
29
|
-
gap: 6px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.home-mate-vendor-option {
|
|
33
|
-
padding: 7px 11px;
|
|
34
|
-
border: 1px solid transparent;
|
|
35
|
-
border-radius: 999px;
|
|
36
|
-
background: rgba(var(--overlay-rgb), 0.035);
|
|
37
|
-
color: var(--text-muted);
|
|
38
|
-
font: inherit;
|
|
39
|
-
font-size: 12px;
|
|
40
|
-
cursor: pointer;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.home-mate-vendor-option:hover,
|
|
44
|
-
.home-mate-vendor-option[aria-pressed="true"] {
|
|
45
|
-
border-color: var(--border-subtle);
|
|
46
|
-
background: rgba(var(--overlay-rgb), 0.075);
|
|
47
|
-
color: var(--text);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.home-mate-vendor-option[aria-pressed="true"] { font-weight: 650; }
|
|
51
|
-
|
|
52
|
-
.home-mate-model-muted {
|
|
53
|
-
color: var(--text-dimmer);
|
|
54
|
-
font-size: 11px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.home-mate-model-list {
|
|
58
|
-
display: grid;
|
|
59
|
-
gap: 6px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.home-mate-model-option,
|
|
63
|
-
.home-mate-model-retry {
|
|
64
|
-
border: 1px solid var(--border-subtle);
|
|
65
|
-
background: transparent;
|
|
66
|
-
color: var(--text-secondary);
|
|
67
|
-
font: inherit;
|
|
68
|
-
cursor: pointer;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.home-mate-model-option {
|
|
72
|
-
display: flex;
|
|
73
|
-
align-items: baseline;
|
|
74
|
-
justify-content: space-between;
|
|
75
|
-
gap: 16px;
|
|
76
|
-
width: 100%;
|
|
77
|
-
padding: 11px 12px;
|
|
78
|
-
border-radius: 8px;
|
|
79
|
-
text-align: left;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.home-mate-model-option:hover,
|
|
83
|
-
.home-mate-model-option[aria-pressed="true"] {
|
|
84
|
-
border-color: var(--border);
|
|
85
|
-
background: rgba(var(--overlay-rgb), 0.045);
|
|
86
|
-
color: var(--text);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.home-mate-model-option[aria-pressed="true"] { font-weight: 600; }
|
|
90
|
-
.home-mate-vendor-option:disabled,
|
|
91
|
-
.home-mate-model-option:disabled { cursor: wait; opacity: 0.62; }
|
|
92
|
-
|
|
93
|
-
.home-mate-model-option small {
|
|
94
|
-
overflow: hidden;
|
|
95
|
-
color: var(--text-dimmer);
|
|
96
|
-
font-size: 10px;
|
|
97
|
-
font-weight: 400;
|
|
98
|
-
text-overflow: ellipsis;
|
|
99
|
-
white-space: nowrap;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.home-mate-model-state {
|
|
103
|
-
padding: 28px 0;
|
|
104
|
-
color: var(--text-muted);
|
|
105
|
-
font-size: 12px;
|
|
106
|
-
text-align: center;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.home-mate-model-retry {
|
|
110
|
-
display: block;
|
|
111
|
-
margin: 14px auto 0;
|
|
112
|
-
padding: 7px 11px;
|
|
113
|
-
border-radius: 7px;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.home-mate-model-retry:hover { background: rgba(var(--overlay-rgb), 0.045); color: var(--text); }
|
|
117
|
-
|
|
118
|
-
.home-mate-model-selection-status {
|
|
119
|
-
min-height: 20px;
|
|
120
|
-
padding-top: 10px;
|
|
121
|
-
color: var(--text-muted);
|
|
122
|
-
font-size: 11px;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.home-mate-vendor-option:focus-visible,
|
|
126
|
-
.home-mate-model-option:focus-visible,
|
|
127
|
-
.home-mate-model-retry:focus-visible {
|
|
128
|
-
border-radius: 4px;
|
|
129
|
-
outline: 2px solid var(--accent);
|
|
130
|
-
outline-offset: 3px;
|
|
131
|
-
}
|
|
1
|
+
/* Provider/model share the compact setting-row vocabulary of account settings. */
|
|
2
|
+
.mate-settings-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--border-subtle); }
|
|
3
|
+
.mate-settings-row > div:first-child { flex: 1; min-width: 0; }
|
|
4
|
+
.mate-settings-row label { font-size: 13px; font-weight: 500; color: var(--text); }
|
|
5
|
+
.mate-settings-row p { margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: var(--text-muted); }
|
|
6
|
+
.mate-settings-value { width: 210px; flex: none; min-width: 0; }
|
|
7
|
+
.mate-settings-value .worker-runtime-trigger, .mate-settings-value select { height: 36px; border-radius: 8px; font-size: 13px; }
|
|
8
|
+
.mate-settings-value .worker-runtime-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
9
|
+
.mate-settings-model-section > .mate-settings-help { margin-bottom: 12px; }
|
|
10
|
+
.home-mate-model-retry { align-self: flex-start; margin-top: 8px; }
|
|
11
|
+
@media (max-width: 600px) {
|
|
12
|
+
.mate-settings-row { flex-direction: column; align-items: stretch; gap: 10px; }
|
|
13
|
+
.mate-settings-value { width: 100%; }
|
|
14
|
+
}
|
|
15
|
+
@media (pointer: coarse) { .mate-settings-value select { height: 40px; } }
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
.home-mate-list-overflow-mark {
|
|
49
49
|
display: block;
|
|
50
50
|
font-family: sans-serif;
|
|
51
|
-
font-size:
|
|
51
|
+
font-size: 12px;
|
|
52
52
|
font-weight: 700;
|
|
53
53
|
letter-spacing: 0.08em;
|
|
54
54
|
line-height: 1;
|
|
@@ -108,15 +108,15 @@ body.home-mate-settings-open #confirm-modal { z-index: 9100; }
|
|
|
108
108
|
|
|
109
109
|
.home-mate-settings-dialog {
|
|
110
110
|
display: flex;
|
|
111
|
-
width: min(
|
|
112
|
-
height: min(
|
|
111
|
+
width: min(920px, calc(100vw - 48px));
|
|
112
|
+
height: min(720px, calc(100dvh - 48px));
|
|
113
113
|
max-height: 720px;
|
|
114
114
|
flex-direction: column;
|
|
115
115
|
overflow: hidden;
|
|
116
116
|
border: 1px solid var(--border);
|
|
117
117
|
border-radius: 14px;
|
|
118
118
|
background: var(--bg);
|
|
119
|
-
box-shadow: 0
|
|
119
|
+
box-shadow: 0 8px 28px rgba(var(--shadow-rgb), 0.18);
|
|
120
120
|
animation: home-mate-settings-in 140ms ease-out;
|
|
121
121
|
}
|
|
122
122
|
|
|
@@ -145,7 +145,7 @@ body.home-mate-settings-open #confirm-modal { z-index: 9100; }
|
|
|
145
145
|
.home-mate-settings-header span {
|
|
146
146
|
overflow: hidden;
|
|
147
147
|
color: var(--text-dimmer);
|
|
148
|
-
font-size:
|
|
148
|
+
font-size: 12px;
|
|
149
149
|
font-weight: 620;
|
|
150
150
|
letter-spacing: 0.02em;
|
|
151
151
|
text-overflow: ellipsis;
|
|
@@ -155,7 +155,7 @@ body.home-mate-settings-open #confirm-modal { z-index: 9100; }
|
|
|
155
155
|
.home-mate-settings-header h2 {
|
|
156
156
|
margin: 0;
|
|
157
157
|
color: var(--text);
|
|
158
|
-
font-size:
|
|
158
|
+
font-size: 16px;
|
|
159
159
|
font-weight: 650;
|
|
160
160
|
letter-spacing: -0.015em;
|
|
161
161
|
}
|
|
@@ -182,7 +182,7 @@ body.home-mate-settings-open #confirm-modal { z-index: 9100; }
|
|
|
182
182
|
display: grid;
|
|
183
183
|
min-height: 0;
|
|
184
184
|
flex: 1 1 auto;
|
|
185
|
-
grid-template-columns:
|
|
185
|
+
grid-template-columns: 184px minmax(0, 1fr);
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
.home-mate-settings-nav {
|
|
@@ -196,8 +196,8 @@ body.home-mate-settings-open #confirm-modal { z-index: 9100; }
|
|
|
196
196
|
|
|
197
197
|
.home-mate-settings-nav button {
|
|
198
198
|
width: 100%;
|
|
199
|
-
min-height:
|
|
200
|
-
padding:
|
|
199
|
+
min-height: 32px;
|
|
200
|
+
padding: 6px 10px;
|
|
201
201
|
border: 0;
|
|
202
202
|
border-radius: 7px;
|
|
203
203
|
background: transparent;
|
|
@@ -210,7 +210,7 @@ body.home-mate-settings-open #confirm-modal { z-index: 9100; }
|
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
.home-mate-settings-nav button:hover { background: rgba(var(--overlay-rgb), 0.045); color: var(--text); }
|
|
213
|
-
.home-mate-settings-nav button.is-active { background:
|
|
213
|
+
.home-mate-settings-nav button.is-active { background: color-mix(in srgb, var(--brand-indigo) 9%, transparent); color: var(--text); font-weight: 640; }
|
|
214
214
|
.home-mate-settings-nav button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
|
|
215
215
|
|
|
216
216
|
.home-mate-settings-content { min-width: 0; min-height: 0; overflow-y: auto; }
|
|
@@ -219,8 +219,8 @@ body.home-mate-settings-open #confirm-modal { z-index: 9100; }
|
|
|
219
219
|
display: flex;
|
|
220
220
|
flex-direction: column;
|
|
221
221
|
gap: 12px;
|
|
222
|
-
max-width:
|
|
223
|
-
padding: 24px
|
|
222
|
+
max-width: 720px;
|
|
223
|
+
padding: 0 24px 24px;
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
.home-mate-settings-identity,
|
|
@@ -232,7 +232,7 @@ body.home-mate-settings-open #confirm-modal { z-index: 9100; }
|
|
|
232
232
|
|
|
233
233
|
.home-mate-settings-identity > span {
|
|
234
234
|
color: var(--text-dimmer);
|
|
235
|
-
font-size:
|
|
235
|
+
font-size: 12px;
|
|
236
236
|
font-weight: 680;
|
|
237
237
|
letter-spacing: 0.08em;
|
|
238
238
|
text-transform: uppercase;
|
|
@@ -256,6 +256,87 @@ body.home-mate-settings-open #confirm-modal { z-index: 9100; }
|
|
|
256
256
|
line-height: 1.55;
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
+
.home-mate-avatar-editor {
|
|
260
|
+
padding: 2px 0 16px;
|
|
261
|
+
border-bottom: 1px solid var(--border-subtle);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.home-mate-avatar-heading {
|
|
265
|
+
display: flex;
|
|
266
|
+
align-items: center;
|
|
267
|
+
gap: 12px;
|
|
268
|
+
margin-bottom: 14px;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.home-mate-avatar-preview {
|
|
272
|
+
width: 52px;
|
|
273
|
+
height: 52px;
|
|
274
|
+
flex: 0 0 auto;
|
|
275
|
+
border: 1px solid var(--border);
|
|
276
|
+
border-radius: 12px;
|
|
277
|
+
background: var(--bg-alt);
|
|
278
|
+
object-fit: cover;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.home-mate-avatar-heading h3 { margin: 0 0 3px; color: var(--text); font-size: 13px; font-weight: 650; }
|
|
282
|
+
.home-mate-avatar-heading p { margin: 0; color: var(--text-secondary); font-size: 12px; line-height: 1.45; }
|
|
283
|
+
|
|
284
|
+
.home-mate-avatar-choices {
|
|
285
|
+
display: grid;
|
|
286
|
+
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
287
|
+
gap: 7px;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.home-mate-avatar-choice {
|
|
291
|
+
display: flex;
|
|
292
|
+
min-width: 0;
|
|
293
|
+
padding: 5px 3px 6px;
|
|
294
|
+
align-items: center;
|
|
295
|
+
flex-direction: column;
|
|
296
|
+
gap: 4px;
|
|
297
|
+
border: 1px solid transparent;
|
|
298
|
+
border-radius: 8px;
|
|
299
|
+
background: transparent;
|
|
300
|
+
color: var(--text-dimmer);
|
|
301
|
+
font: inherit;
|
|
302
|
+
font-size: 12px;
|
|
303
|
+
cursor: pointer;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.home-mate-avatar-choice img {
|
|
307
|
+
width: 36px;
|
|
308
|
+
height: 36px;
|
|
309
|
+
border-radius: 8px;
|
|
310
|
+
object-fit: cover;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.home-mate-avatar-choice:hover { background: var(--bg-hover); color: var(--text); }
|
|
314
|
+
.home-mate-avatar-choice[aria-pressed="true"] { border-color: var(--border); background: rgba(var(--overlay-rgb), 0.065); color: var(--text); font-weight: 650; }
|
|
315
|
+
.home-mate-avatar-choice:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
316
|
+
|
|
317
|
+
.home-mate-avatar-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
|
|
318
|
+
.home-mate-avatar-actions .home-mate-avatar-file-input,
|
|
319
|
+
.home-mate-avatar-actions .home-mate-avatar-file-input[hidden] { display: none !important; }
|
|
320
|
+
.home-mate-avatar-actions button {
|
|
321
|
+
min-height: 32px;
|
|
322
|
+
padding: 6px 9px;
|
|
323
|
+
border: 1px solid var(--border);
|
|
324
|
+
border-radius: 7px;
|
|
325
|
+
background: var(--bg);
|
|
326
|
+
color: var(--text-secondary);
|
|
327
|
+
font: inherit;
|
|
328
|
+
font-size: 12px;
|
|
329
|
+
font-weight: 620;
|
|
330
|
+
cursor: pointer;
|
|
331
|
+
}
|
|
332
|
+
.home-mate-avatar-actions button:hover:not(:disabled) { background: var(--bg-hover); color: var(--text); }
|
|
333
|
+
.home-mate-avatar-actions button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
334
|
+
.home-mate-avatar-actions button:disabled { cursor: default; opacity: 0.48; }
|
|
335
|
+
|
|
336
|
+
.home-mate-avatar-status { min-height: 16px; padding-top: 7px; color: var(--text-dimmer); font-size: 12px; }
|
|
337
|
+
.home-mate-avatar-status.is-error { color: var(--danger); }
|
|
338
|
+
.home-mate-avatar-status.is-saved { color: var(--success); }
|
|
339
|
+
|
|
259
340
|
.home-mate-settings-actions { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
260
341
|
|
|
261
342
|
.home-mate-settings-action {
|
|
@@ -269,14 +350,14 @@ body.home-mate-settings-open #confirm-modal { z-index: 9100; }
|
|
|
269
350
|
background: var(--bg);
|
|
270
351
|
color: var(--text-secondary);
|
|
271
352
|
font: inherit;
|
|
272
|
-
font-size:
|
|
353
|
+
font-size: 12px;
|
|
273
354
|
font-weight: 620;
|
|
274
355
|
cursor: pointer;
|
|
275
356
|
}
|
|
276
357
|
|
|
277
358
|
.home-mate-settings-action:hover { background: var(--bg-hover); color: var(--text); }
|
|
278
359
|
.home-mate-settings-action:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
279
|
-
.home-mate-settings-action.is-danger { color: var(--
|
|
360
|
+
.home-mate-settings-action.is-danger { color: var(--error); border-color: color-mix(in srgb, var(--error) 45%, var(--border)); }
|
|
280
361
|
.home-mate-settings-action .lucide { width: 14px; height: 14px; }
|
|
281
362
|
|
|
282
363
|
.home-mate-settings-empty {
|
|
@@ -335,10 +416,81 @@ body.home-mate-settings-open #confirm-modal { z-index: 9100; }
|
|
|
335
416
|
border-bottom: 1px solid var(--border-subtle);
|
|
336
417
|
}
|
|
337
418
|
.home-mate-settings-nav button { width: auto; min-width: max-content; text-align: center; }
|
|
338
|
-
.home-mate-settings-body { padding:
|
|
419
|
+
.home-mate-settings-body { padding: 0 16px 24px; }
|
|
420
|
+
.home-mate-avatar-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
339
421
|
}
|
|
340
422
|
|
|
341
423
|
@media (prefers-reduced-motion: reduce) {
|
|
342
424
|
.home-mate-list-overflow { transition: none; }
|
|
343
425
|
.home-mate-settings-dialog { animation: none; }
|
|
344
426
|
}
|
|
427
|
+
|
|
428
|
+
.home-mate-settings-content-title { margin: 0; padding: 24px 24px 8px; color: var(--text); font-size: 20px; font-weight: 600; }
|
|
429
|
+
.home-mate-settings-nav button { font-size: 13px; }
|
|
430
|
+
.home-mate-settings-header span { font-size: 12px; color: var(--text-muted); font-weight: 400; letter-spacing: 0; }
|
|
431
|
+
.home-mate-settings-body { gap: 24px; }
|
|
432
|
+
.home-mate-settings-body > .mate-settings-help { margin-bottom: 0; }
|
|
433
|
+
.home-mate-settings-body .mate-instructions h4 { margin-top: 0; }
|
|
434
|
+
.home-mate-settings-body h4 { font-size: 14px; margin: 12px 0 6px; font-weight: 600; }
|
|
435
|
+
.mate-settings-help { margin: 0 0 12px; color: var(--text-muted); font-size: 13px; line-height: 1.5; }
|
|
436
|
+
.mate-instructions-input { display: block; box-sizing: border-box; width: 100%; min-height: 280px; resize: vertical; padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-alt); color: var(--text); font: 13px/1.6 var(--font-mono, monospace); }
|
|
437
|
+
.mate-instructions-input:focus-visible, .mate-settings-button:focus-visible, .mate-settings-appearance > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
438
|
+
.mate-settings-status { margin: 8px 0 0; color: var(--text-muted); font-size: 12px; line-height: 1.5; }
|
|
439
|
+
.mate-settings-status:empty { display: none; }
|
|
440
|
+
.mate-settings-status.is-error { color: var(--error); }
|
|
441
|
+
.mate-settings-savebar { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-subtle); }
|
|
442
|
+
.mate-settings-savebar[hidden] { display: none; }
|
|
443
|
+
.mate-settings-button { min-height: 32px; padding: 5px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
|
|
444
|
+
.mate-settings-button.primary { background: var(--brand-indigo); border-color: var(--brand-indigo); color: white; }
|
|
445
|
+
.mate-settings-button:disabled { opacity: .5; cursor: default; }
|
|
446
|
+
.mate-settings-appearance { padding: 0; }
|
|
447
|
+
.home-mate-settings-body > section > h4 { margin-top: 0; }
|
|
448
|
+
.mate-settings-appearance > summary { cursor: pointer; font-size: 14px; font-weight: 600; padding: 4px 0 12px; }
|
|
449
|
+
.home-mate-avatar-editor { border: 0; padding-bottom: 0; }
|
|
450
|
+
.home-mate-avatar-choice[aria-pressed="true"] { border-color: color-mix(in srgb, var(--brand-indigo) 35%, var(--border)); background: color-mix(in srgb, var(--brand-indigo) 7%, var(--bg)); }
|
|
451
|
+
.home-mate-avatar-status:empty { display: none; }
|
|
452
|
+
.home-mate-settings-actions { padding-top: 16px; border-top: 1px solid var(--border-subtle); }
|
|
453
|
+
@media (max-width: 768px) {
|
|
454
|
+
.home-mate-settings-content-title { padding: 16px 16px 8px; }
|
|
455
|
+
.home-mate-settings-nav button { flex: 1; min-width: 0; }
|
|
456
|
+
.home-mate-settings-nav { overflow: visible; }
|
|
457
|
+
.mate-instructions-input { min-height: 240px; }
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.mate-settings-profile-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
|
|
461
|
+
.mate-settings-profile-heading h4 { margin: 0; }
|
|
462
|
+
.mate-settings-profile-name { margin: 0 0 4px; font-size: 14px; font-weight: 500; }
|
|
463
|
+
.mate-settings-profile > .mate-settings-help { white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 0; }
|
|
464
|
+
.mate-settings-profile-field { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: 13px; }
|
|
465
|
+
.mate-settings-profile-field input, .mate-settings-profile-field textarea { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-alt); color: var(--text); font: inherit; }
|
|
466
|
+
.mate-settings-profile-field input { height: 36px; }
|
|
467
|
+
.mate-settings-profile-field textarea { min-height: 80px; resize: vertical; }
|
|
468
|
+
.mate-settings-profile-field :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
469
|
+
.mate-settings-profile + .mate-settings-appearance { padding-top: 20px; border-top: 1px solid var(--border-subtle); }
|
|
470
|
+
|
|
471
|
+
.home-mate-settings-actions { align-items: center; justify-content: space-between; gap: 12px; }
|
|
472
|
+
.mate-settings-danger-copy { flex: 1; min-width: 180px; }
|
|
473
|
+
.mate-settings-danger-copy h4 { color: var(--error); margin: 0 0 6px; }
|
|
474
|
+
.mate-settings-danger-copy p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--text-muted); }
|
|
475
|
+
|
|
476
|
+
/* The resting General page is a profile summary, not an expanded avatar catalog. */
|
|
477
|
+
.mate-settings-profile { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; align-items: start; }
|
|
478
|
+
.mate-settings-profile-avatar { grid-column: 1; grid-row: 1 / span 3; width: 56px; height: 56px; padding: 0; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-alt); cursor: pointer; overflow: hidden; }
|
|
479
|
+
.mate-settings-profile-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
|
|
480
|
+
.mate-settings-profile-avatar:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
|
|
481
|
+
.mate-settings-profile-avatar:disabled { cursor: default; }
|
|
482
|
+
.mate-settings-profile-heading, .mate-settings-profile > .mate-settings-help { grid-column: 2; }
|
|
483
|
+
.mate-settings-profile-heading { min-height: 32px; margin-bottom: 4px; }
|
|
484
|
+
.mate-settings-profile-heading h4 { font-size: 15px; }
|
|
485
|
+
.mate-settings-profile-field, .mate-settings-profile > .mate-settings-status, .mate-settings-profile > .mate-settings-savebar { grid-column: 1 / -1; }
|
|
486
|
+
.mate-settings-appearance .home-mate-avatar-heading { display: none; }
|
|
487
|
+
.mate-settings-appearance > .mate-settings-button { margin-top: 12px; }
|
|
488
|
+
.home-mate-settings-overlay[data-section="general"] .home-mate-settings-body { gap: 20px; }
|
|
489
|
+
.home-mate-settings-overlay[data-section="general"] .home-mate-settings-actions { margin-top: auto; }
|
|
490
|
+
/* Prompt takes the remaining content height, with its own text scrolling. */
|
|
491
|
+
.home-mate-settings-overlay[data-section="prompt"] .home-mate-settings-content { display: flex; flex-direction: column; overflow: hidden; }
|
|
492
|
+
.home-mate-settings-overlay[data-section="prompt"] .home-mate-settings-content-title { flex: none; }
|
|
493
|
+
.home-mate-settings-overlay[data-section="prompt"] .home-mate-settings-body { flex: 1; min-height: 0; box-sizing: border-box; width: 100%; }
|
|
494
|
+
.home-mate-settings-overlay[data-section="prompt"] .mate-instructions { display: flex; flex-direction: column; flex: 1; min-height: 0; }
|
|
495
|
+
.home-mate-settings-overlay[data-section="prompt"] .mate-instructions-input { flex: 1; min-height: 80px; resize: none; }
|
|
496
|
+
.home-mate-settings-overlay[data-section="prompt"] .mate-instructions > :not(textarea) { flex: none; }
|