codexmate 0.1.33 → 0.1.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -2
- package/README.vi.md +27 -2
- package/README.zh.md +27 -2
- package/cli/analytics-export-args.js +7 -0
- package/cli/local-bridge.js +10 -6
- package/cli/openai-chat-routing.js +38 -0
- package/cli/routing-bridge.js +143 -0
- package/cli/session-usage.js +4 -1
- package/cli/system-prompt-files.js +75 -53
- package/cli.js +191 -9
- package/lib/data/model-prices.json +1868 -0
- package/lib/file-sharing-lan.js +111 -0
- package/lib/file-sharing.js +196 -0
- package/lib/model-test-client.js +61 -0
- package/lib/model-test.js +126 -0
- package/lib/routing-groups.js +161 -0
- package/lib/session-context-health.js +5 -1
- package/lib/session-evidence-collections.js +85 -0
- package/lib/session-features.js +15 -0
- package/lib/session-project-git.js +65 -0
- package/lib/session-projects.js +12 -1
- package/lib/session-stories.js +67 -0
- package/lib/session-usage-ledger.js +77 -0
- package/lib/session-usage-pricing.js +42 -0
- package/lib/session-usage-report.js +101 -0
- package/package.json +4 -1
- package/plugins/file-sharing/manifest.mjs +10 -0
- package/plugins/file-sharing/methods.mjs +101 -0
- package/plugins/file-sharing/overview.mjs +3 -0
- package/plugins/file-sharing/ownership.mjs +5 -0
- package/plugins/prompt-templates/computed.mjs +9 -0
- package/plugins/registry.mjs +3 -0
- package/web-ui/app.js +25 -2
- package/web-ui/index.html +3 -2
- package/web-ui/logic.session-artifacts.mjs +39 -0
- package/web-ui/modules/app.computed.main-tabs.mjs +3 -0
- package/web-ui/modules/app.methods.agents.mjs +14 -1
- package/web-ui/modules/app.methods.install.mjs +23 -3
- package/web-ui/modules/app.methods.navigation.mjs +2 -0
- package/web-ui/modules/app.methods.prompts-editor.mjs +7 -4
- package/web-ui/modules/app.methods.session-actions.mjs +2 -2
- package/web-ui/modules/app.methods.session-browser.mjs +35 -0
- package/web-ui/modules/app.methods.system-prompt.mjs +99 -19
- package/web-ui/modules/app.methods.theme.mjs +4 -3
- package/web-ui/modules/app.methods.web-ui-preferences.mjs +12 -0
- package/web-ui/modules/i18n/locales/en.mjs +239 -5
- package/web-ui/modules/i18n/locales/ja.mjs +239 -5
- package/web-ui/modules/i18n/locales/vi.mjs +239 -5
- package/web-ui/modules/i18n/locales/zh-tw.mjs +239 -5
- package/web-ui/modules/i18n/locales/zh.mjs +239 -5
- package/web-ui/modules/model-test.mjs +82 -0
- package/web-ui/modules/plugins.methods.mjs +3 -1
- package/web-ui/modules/prompt-ecosystem.methods.mjs +4 -3
- package/web-ui/modules/routing.mjs +206 -0
- package/web-ui/modules/session-collections.mjs +65 -0
- package/web-ui/modules/session-evidence.mjs +81 -0
- package/web-ui/modules/session-features.mjs +15 -1
- package/web-ui/modules/session-git.mjs +39 -0
- package/web-ui/modules/session-stories.mjs +64 -0
- package/web-ui/modules/usage-pricing.mjs +30 -0
- package/web-ui/partials/index/layout-footer.html +1 -1
- package/web-ui/partials/index/layout-header.html +33 -12
- package/web-ui/partials/index/modals-basic.html +15 -0
- package/web-ui/partials/index/panel-plugins.html +3 -9
- package/web-ui/partials/index/panel-prompts.html +13 -7
- package/web-ui/partials/index/panel-routing.html +3 -0
- package/web-ui/partials/index/panel-sessions.html +20 -20
- package/web-ui/partials/index/panel-settings.html +11 -1
- package/web-ui/partials/index/panel-usage.html +2 -0
- package/web-ui/partials/index/plugin-file-sharing.html +47 -0
- package/web-ui/partials/index/routing-model-test.html +53 -0
- package/web-ui/partials/index/session-diagnostics.html +7 -4
- package/web-ui/partials/index/session-features.html +82 -2
- package/web-ui/partials/index/thread-handoff.html +73 -62
- package/web-ui/partials/index/usage-records.html +41 -0
- package/web-ui/res/web-ui-render.precompiled.js +1378 -230
- package/web-ui/styles/base-theme.css +1 -1
- package/web-ui/styles/modals-core.css +6 -5
- package/web-ui/styles/navigation-panels.css +4 -0
- package/web-ui/styles/plugins-panel.css +40 -1
- package/web-ui/styles/responsive.css +10 -5
- package/web-ui/styles/routing.css +78 -0
- package/web-ui/styles/session-features.css +180 -7
- package/web-ui/styles/sessions-list.css +74 -0
- package/web-ui/styles/sessions-preview.css +106 -68
- package/web-ui/styles/sessions-usage.css +8 -0
- package/web-ui/styles/settings-panel.css +30 -0
- package/web-ui/styles/system-prompt.css +8 -7
- package/web-ui/styles/theme-violet-tokens.css +52 -0
- package/web-ui/styles/theme-violet.css +1742 -0
- package/web-ui/styles.css +2 -0
|
@@ -168,6 +168,12 @@
|
|
|
168
168
|
letter-spacing: -0.01em;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
+
.app-update-modal .btn,
|
|
172
|
+
.app-update-modal .docs-copy-btn {
|
|
173
|
+
min-width: 44px;
|
|
174
|
+
min-height: 44px;
|
|
175
|
+
}
|
|
176
|
+
|
|
171
177
|
.confirm-dialog {
|
|
172
178
|
max-width: 460px;
|
|
173
179
|
}
|
|
@@ -823,11 +829,6 @@
|
|
|
823
829
|
min-width: 0;
|
|
824
830
|
}
|
|
825
831
|
|
|
826
|
-
.project-path-detected {
|
|
827
|
-
margin-top: 4px;
|
|
828
|
-
font-size: 0.82em;
|
|
829
|
-
}
|
|
830
|
-
|
|
831
832
|
.editor-frame {
|
|
832
833
|
position: relative;
|
|
833
834
|
border-radius: var(--radius-md);
|
|
@@ -159,6 +159,7 @@
|
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
.main-panel {
|
|
162
|
+
--panel-top-gap: 12px;
|
|
162
163
|
min-width: 0;
|
|
163
164
|
background: transparent;
|
|
164
165
|
border: none;
|
|
@@ -184,6 +185,7 @@
|
|
|
184
185
|
top: 0;
|
|
185
186
|
z-index: 12;
|
|
186
187
|
margin: 0 -16px 12px;
|
|
188
|
+
margin-block-end: var(--panel-top-gap);
|
|
187
189
|
padding: 0 16px 8px;
|
|
188
190
|
background: linear-gradient(180deg, var(--color-bg-topbar-strong) 0%, var(--color-bg-topbar-soft) 78%, var(--color-bg-topbar-clear) 100%);
|
|
189
191
|
backdrop-filter: blur(18px) saturate(130%);
|
|
@@ -386,6 +388,8 @@
|
|
|
386
388
|
}
|
|
387
389
|
|
|
388
390
|
.content-wrapper {
|
|
391
|
+
/* Contain leading margins without changing the session-specific flex layout. */
|
|
392
|
+
display: flow-root;
|
|
389
393
|
background: transparent;
|
|
390
394
|
border: none;
|
|
391
395
|
border-radius: 0;
|
|
@@ -568,7 +568,6 @@
|
|
|
568
568
|
#panel-plugins .plugins-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
|
|
569
569
|
#panel-plugins .plugins-sidebar { padding: 0; border: 0; background: transparent; box-shadow: none; }
|
|
570
570
|
#panel-plugins .plugins-sidebar-header { display: none; }
|
|
571
|
-
#panel-plugins .plugins-sidebar-header .plugins-panel-note { display: none; }
|
|
572
571
|
#panel-plugins .plugins-list { display: flex; flex-wrap: wrap; gap: 2px; width: fit-content; border-bottom: 1px solid var(--color-border-soft); }
|
|
573
572
|
#panel-plugins .plugins-item { width: auto; min-height: 44px; padding: 7px 10px 8px; gap: 12px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; }
|
|
574
573
|
#panel-plugins .plugins-item-meta, #panel-plugins .plugins-item > .pill { display: none; }
|
|
@@ -624,3 +623,43 @@
|
|
|
624
623
|
@media (prefers-reduced-motion: reduce) {
|
|
625
624
|
#panel-plugins button { transition: none; }
|
|
626
625
|
}
|
|
626
|
+
|
|
627
|
+
#plugin-file-sharing .plugins-panel-head { flex-wrap: wrap; }
|
|
628
|
+
.file-sharing-actions { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
629
|
+
.file-sharing-actions .btn-mini, .file-sharing-row .btn-mini { min-height: 44px; min-width: 44px; }
|
|
630
|
+
.file-sharing-items { list-style: none; margin: 0; padding: 0; overflow-wrap: anywhere; }
|
|
631
|
+
.file-sharing-pending { display: grid; gap: 8px; margin-block: 16px; }
|
|
632
|
+
.file-sharing-pending .file-sharing-items { max-height: 200px; overflow: auto; }
|
|
633
|
+
.file-sharing-batches { display: grid; gap: 16px; margin-block: 16px; }
|
|
634
|
+
.file-sharing-batches > li {
|
|
635
|
+
min-width: 0;
|
|
636
|
+
padding: 12px;
|
|
637
|
+
border-radius: var(--radius-md);
|
|
638
|
+
background: var(--color-surface);
|
|
639
|
+
}
|
|
640
|
+
.file-sharing-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
|
|
641
|
+
.file-sharing-row > :first-child { flex: 1 1 160px; min-width: 0; }
|
|
642
|
+
.file-sharing-row .file-sharing-icon {
|
|
643
|
+
display: inline-grid;
|
|
644
|
+
place-items: center;
|
|
645
|
+
width: 44px;
|
|
646
|
+
height: 44px;
|
|
647
|
+
padding: 0;
|
|
648
|
+
border-color: transparent;
|
|
649
|
+
background: transparent;
|
|
650
|
+
box-shadow: none;
|
|
651
|
+
color: var(--color-text-secondary);
|
|
652
|
+
transition: background-color 150ms ease, color 150ms ease;
|
|
653
|
+
}
|
|
654
|
+
.file-sharing-icon svg { width: 18px; height: 18px; }
|
|
655
|
+
.file-sharing-row .file-sharing-icon:hover,
|
|
656
|
+
.file-sharing-row .file-sharing-icon:active {
|
|
657
|
+
background: var(--color-surface-alt);
|
|
658
|
+
color: var(--color-text-primary);
|
|
659
|
+
transform: none;
|
|
660
|
+
}
|
|
661
|
+
.file-sharing-row .file-sharing-remove:hover,
|
|
662
|
+
.file-sharing-row .file-sharing-remove:active { color: var(--color-error); }
|
|
663
|
+
.file-sharing-row .file-sharing-icon:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
|
|
664
|
+
.file-sharing-row .file-sharing-icon:disabled { opacity: .5; cursor: not-allowed; }
|
|
665
|
+
.file-sharing-size { color: var(--color-text-secondary); }
|
|
@@ -25,7 +25,7 @@ textarea:focus-visible {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.main-panel-topbar {
|
|
28
|
-
margin: 0 -20px
|
|
28
|
+
margin: 0 -20px var(--panel-top-gap);
|
|
29
29
|
padding: 0 20px 10px;
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -48,7 +48,7 @@ textarea:focus-visible {
|
|
|
48
48
|
min-height: 0;
|
|
49
49
|
}
|
|
50
50
|
.main-panel-topbar {
|
|
51
|
-
margin: 0 -16px
|
|
51
|
+
margin: 0 -16px var(--panel-top-gap);
|
|
52
52
|
padding: 0 16px 10px;
|
|
53
53
|
}
|
|
54
54
|
.top-tabs {
|
|
@@ -114,6 +114,11 @@ textarea:focus-visible {
|
|
|
114
114
|
overflow: hidden;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
+
/* Hidden rails must not leave the higher-specificity collapsed grid column. */
|
|
118
|
+
.app-shell.sidebar-collapsed {
|
|
119
|
+
grid-template-columns: 1fr;
|
|
120
|
+
}
|
|
121
|
+
|
|
117
122
|
.side-rail {
|
|
118
123
|
display: none;
|
|
119
124
|
}
|
|
@@ -148,7 +153,7 @@ textarea:focus-visible {
|
|
|
148
153
|
position: sticky;
|
|
149
154
|
top: 0;
|
|
150
155
|
z-index: 20;
|
|
151
|
-
margin: 0 0
|
|
156
|
+
margin: 0 0 var(--panel-top-gap);
|
|
152
157
|
padding: 0 0 8px;
|
|
153
158
|
background: rgba(255, 248, 241, 0.96);
|
|
154
159
|
backdrop-filter: blur(14px) saturate(130%);
|
|
@@ -314,7 +319,7 @@ textarea:focus-visible {
|
|
|
314
319
|
}
|
|
315
320
|
|
|
316
321
|
.main-panel-topbar {
|
|
317
|
-
margin-bottom:
|
|
322
|
+
margin-bottom: var(--panel-top-gap);
|
|
318
323
|
}
|
|
319
324
|
.card {
|
|
320
325
|
padding: 12px;
|
|
@@ -734,7 +739,7 @@ textarea:focus-visible {
|
|
|
734
739
|
position: sticky;
|
|
735
740
|
top: 0;
|
|
736
741
|
z-index: 20;
|
|
737
|
-
margin: 0 0
|
|
742
|
+
margin: 0 0 var(--panel-top-gap);
|
|
738
743
|
padding: 0 0 8px;
|
|
739
744
|
background: rgba(255, 248, 241, 0.96);
|
|
740
745
|
backdrop-filter: blur(14px) saturate(130%);
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
#panel-routing .segmented-control { margin-bottom: 0; min-width: 192px; }
|
|
2
|
+
#panel-routing .segment { min-height: 44px; }
|
|
3
|
+
#panel-routing .btn-tool { min-height: 44px; }
|
|
4
|
+
#panel-routing :is(.routing-test-heading, .routing-test-actions) > .btn-tool {
|
|
5
|
+
width: auto;
|
|
6
|
+
flex: 0 0 auto;
|
|
7
|
+
white-space: nowrap;
|
|
8
|
+
}
|
|
9
|
+
#panel-routing .routing-icon-btn {
|
|
10
|
+
display: inline-flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
min-width: 44px;
|
|
14
|
+
width: 44px;
|
|
15
|
+
padding: 8px;
|
|
16
|
+
}
|
|
17
|
+
#panel-routing .routing-icon-btn svg { display: block; width: 16px; height: 16px; }
|
|
18
|
+
#panel-routing :is(.btn-tool, .segment):focus-visible {
|
|
19
|
+
outline: 2px solid var(--color-brand);
|
|
20
|
+
outline-offset: 3px;
|
|
21
|
+
}
|
|
22
|
+
#panel-routing .btn-tool:not(:disabled):active { transform: translateY(0); }
|
|
23
|
+
#panel-routing .routing-hint {
|
|
24
|
+
margin: 8px 0 0;
|
|
25
|
+
max-width: 70ch;
|
|
26
|
+
font-size: var(--font-size-secondary);
|
|
27
|
+
color: var(--color-text-tertiary);
|
|
28
|
+
line-height: var(--line-height-normal);
|
|
29
|
+
overflow-wrap: anywhere;
|
|
30
|
+
}
|
|
31
|
+
#panel-routing .routing-error {
|
|
32
|
+
padding: 12px 16px;
|
|
33
|
+
margin: 0 0 16px;
|
|
34
|
+
border: 1px solid var(--color-error);
|
|
35
|
+
border-radius: var(--radius-sm);
|
|
36
|
+
color: var(--color-error);
|
|
37
|
+
overflow-wrap: anywhere;
|
|
38
|
+
}
|
|
39
|
+
#panel-routing fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
|
|
40
|
+
#panel-routing .routing-form-head {
|
|
41
|
+
display: grid;
|
|
42
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 240px);
|
|
43
|
+
gap: 16px;
|
|
44
|
+
}
|
|
45
|
+
#panel-routing .routing-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
|
|
46
|
+
#panel-routing .routing-field .form-label { margin: 0; }
|
|
47
|
+
#panel-routing :is(.form-input, .model-select) { width: 100%; max-width: none; min-width: 0; min-height: 44px; height: 44px; padding-block: 8px; box-sizing: border-box; }
|
|
48
|
+
#panel-routing :is(.routing-test-heading, .routing-test-actions, .routing-test-result-head) {
|
|
49
|
+
display: flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
justify-content: space-between;
|
|
52
|
+
flex-wrap: wrap;
|
|
53
|
+
gap: 8px 16px;
|
|
54
|
+
}
|
|
55
|
+
#panel-routing .routing-test-heading { flex-wrap: nowrap; margin-bottom: 16px; }
|
|
56
|
+
#panel-routing .routing-test-legend { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); }
|
|
57
|
+
#panel-routing .routing-test-heading .segmented-control { flex-direction: row; width: fit-content; min-width: 0; margin-bottom: 0; }
|
|
58
|
+
#panel-routing .routing-test-prompt { margin-top: 24px; }
|
|
59
|
+
#panel-routing .routing-test-prompt textarea { height: auto; min-height: 128px; resize: vertical; line-height: var(--line-height-normal); }
|
|
60
|
+
#panel-routing .routing-test-actions { justify-content: flex-end; margin: 16px 0 24px; }
|
|
61
|
+
#panel-routing .routing-test-result-head .routing-hint { margin: 0; }
|
|
62
|
+
#panel-routing .routing-test-response { min-height: 192px; padding: 24px 0; border-top: 1px solid var(--color-border-soft); }
|
|
63
|
+
#panel-routing .routing-test-result-head { color: var(--color-text-primary); overflow-wrap: anywhere; }
|
|
64
|
+
#panel-routing .routing-test-question { margin: 16px 0 24px; color: var(--color-text-tertiary); white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
65
|
+
#panel-routing .routing-test-answer { max-width: 72ch; color: var(--color-text-primary); line-height: var(--line-height-normal); overflow-wrap: anywhere; }
|
|
66
|
+
#panel-routing .routing-test-plain { white-space: pre-wrap; }
|
|
67
|
+
#panel-routing .routing-test-answer :is(h1, h2, h3, h4) { font-size: var(--font-size-body); margin: 24px 0 8px; }
|
|
68
|
+
#panel-routing .routing-test-answer :is(p, ul, ol) { margin: 12px 0; }
|
|
69
|
+
#panel-routing .routing-test-answer :is(ul, ol) { padding-left: 24px; }
|
|
70
|
+
#panel-routing .routing-test-answer pre { padding: 16px; max-width: 100%; overflow-x: auto; background: var(--color-surface-alt); border-radius: var(--radius-sm); }
|
|
71
|
+
#panel-routing .routing-test-answer code { font-family: var(--font-family-mono); font-size: var(--font-size-secondary); }
|
|
72
|
+
#panel-routing .routing-test-answer :is(table, img) { max-width: 100%; }
|
|
73
|
+
#panel-routing .routing-test-answer table { display: block; overflow-x: auto; border-collapse: collapse; }
|
|
74
|
+
#panel-routing .routing-test-answer :is(th, td) { padding: 8px; border-bottom: 1px solid var(--color-border-soft); }
|
|
75
|
+
@media (max-width: 760px) {
|
|
76
|
+
#panel-routing .routing-form-head { grid-template-columns: minmax(0, 1fr); }
|
|
77
|
+
#panel-routing :is(.form-input, .model-select) { font-size: 16px; }
|
|
78
|
+
}
|
|
@@ -9,8 +9,15 @@
|
|
|
9
9
|
}
|
|
10
10
|
/* Match neighboring controls, including their one-pixel container border. */
|
|
11
11
|
#panel-sessions .session-features { box-sizing: border-box; margin-inline: 1px; padding-inline: 10px; }
|
|
12
|
-
#panel-sessions .feature-tabs button { padding-inline: 10px; }
|
|
13
12
|
#panel-settings .feature-diagnostics { box-sizing: border-box; margin-inline: 1px; padding-inline: var(--spacing-md); }
|
|
13
|
+
/* Page-leading tools inherit the shared topbar gap, not an extra section gap. */
|
|
14
|
+
#panel-sessions > div > .session-features,
|
|
15
|
+
#panel-settings > .feature-diagnostics {
|
|
16
|
+
margin-block-start: 0;
|
|
17
|
+
}
|
|
18
|
+
#panel-sessions > div > .session-features > .feature-toolbar {
|
|
19
|
+
padding-block-start: 0;
|
|
20
|
+
}
|
|
14
21
|
.feature-toolbar, .feature-section-heading, .feature-record-heading {
|
|
15
22
|
display: flex;
|
|
16
23
|
align-items: center;
|
|
@@ -19,20 +26,52 @@
|
|
|
19
26
|
min-width: 0;
|
|
20
27
|
}
|
|
21
28
|
.feature-toolbar { flex-wrap: wrap; padding-block: 4px; }
|
|
22
|
-
|
|
23
|
-
.feature-tabs
|
|
29
|
+
/* Keep the three tools distinct from the source navigation below. */
|
|
30
|
+
#panel-sessions .feature-tabs {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: stretch;
|
|
33
|
+
gap: 4px;
|
|
34
|
+
width: fit-content;
|
|
35
|
+
min-width: 0;
|
|
36
|
+
max-width: 100%;
|
|
37
|
+
padding: 4px;
|
|
38
|
+
border-radius: 8px;
|
|
39
|
+
background: var(--feature-surface);
|
|
40
|
+
overflow-x: auto;
|
|
41
|
+
}
|
|
42
|
+
#panel-sessions .feature-tabs button {
|
|
43
|
+
padding-inline: 10px;
|
|
44
|
+
box-sizing: border-box;
|
|
24
45
|
flex: 0 0 auto;
|
|
46
|
+
min-width: 44px;
|
|
25
47
|
min-height: 44px;
|
|
26
|
-
padding: 8px
|
|
48
|
+
padding-block: 8px;
|
|
27
49
|
border: 0;
|
|
28
|
-
border-radius:
|
|
50
|
+
border-radius: 4px;
|
|
29
51
|
background: transparent;
|
|
30
52
|
color: var(--color-text-secondary);
|
|
31
53
|
font: inherit;
|
|
32
|
-
font-size: var(--font-size-
|
|
54
|
+
font-size: var(--font-size-body);
|
|
55
|
+
font-weight: var(--font-weight-secondary);
|
|
56
|
+
line-height: 1.5;
|
|
57
|
+
white-space: nowrap;
|
|
58
|
+
text-align: center;
|
|
33
59
|
cursor: pointer;
|
|
60
|
+
touch-action: manipulation;
|
|
61
|
+
}
|
|
62
|
+
#panel-sessions .feature-tabs button:hover:not(:disabled) {
|
|
63
|
+
background: var(--color-surface);
|
|
64
|
+
color: var(--color-text-primary);
|
|
65
|
+
}
|
|
66
|
+
#panel-sessions .feature-tabs button[aria-expanded="true"],
|
|
67
|
+
#panel-sessions .feature-tabs button[aria-expanded="true"]:hover:not(:disabled) {
|
|
68
|
+
background: var(--color-brand-light);
|
|
69
|
+
color: var(--color-brand-dark);
|
|
70
|
+
}
|
|
71
|
+
#panel-sessions .feature-tabs button:focus-visible {
|
|
72
|
+
outline: 2px solid var(--color-brand-dark);
|
|
73
|
+
outline-offset: -4px;
|
|
34
74
|
}
|
|
35
|
-
.feature-tabs button[aria-expanded="true"] { background: var(--feature-surface); color: var(--color-text-primary); font-weight: 600; }
|
|
36
75
|
.feature-actions, .feature-record-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--spacing-xs); }
|
|
37
76
|
.feature-actions input, .feature-actions select { flex: 1 1 200px; min-width: 0; max-width: 100%; }
|
|
38
77
|
.session-features input:not([type="checkbox"]), .session-features select, .session-features textarea,
|
|
@@ -120,6 +159,68 @@
|
|
|
120
159
|
.feature-diagnostic-options label { display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--color-text-secondary); font-size: var(--font-size-secondary); }
|
|
121
160
|
.feature-diagnostic-controls { margin-bottom: 8px; }
|
|
122
161
|
.feature-export-actions { padding-top: var(--spacing-sm); }
|
|
162
|
+
#panel-settings .feature-diagnostics-heading {
|
|
163
|
+
display: flex;
|
|
164
|
+
align-items: center;
|
|
165
|
+
justify-content: space-between;
|
|
166
|
+
gap: var(--spacing-sm);
|
|
167
|
+
min-width: 0;
|
|
168
|
+
font-size: var(--font-size-body);
|
|
169
|
+
font-weight: var(--font-weight-primary);
|
|
170
|
+
line-height: var(--line-height-normal);
|
|
171
|
+
list-style: none;
|
|
172
|
+
}
|
|
173
|
+
#panel-settings .feature-diagnostics-heading::-webkit-details-marker { display: none; }
|
|
174
|
+
#panel-settings .feature-diagnostics-heading > span { min-width: 0; overflow-wrap: anywhere; }
|
|
175
|
+
#panel-settings .feature-diagnostics-chevron {
|
|
176
|
+
width: 16px;
|
|
177
|
+
height: 16px;
|
|
178
|
+
flex-shrink: 0;
|
|
179
|
+
color: var(--color-text-muted);
|
|
180
|
+
transition: transform var(--feature-duration) var(--feature-ease);
|
|
181
|
+
}
|
|
182
|
+
#panel-settings .feature-diagnostics[open] > summary .feature-diagnostics-chevron { transform: rotate(90deg); }
|
|
183
|
+
#panel-settings .feature-diagnostics > .feature-content { padding-block: var(--spacing-sm); }
|
|
184
|
+
#panel-settings .feature-diagnostics .feature-hint { margin: 0 0 var(--spacing-sm); }
|
|
185
|
+
#panel-settings .feature-diagnostic-options {
|
|
186
|
+
display: grid;
|
|
187
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
188
|
+
gap: 4px var(--spacing-sm);
|
|
189
|
+
margin: 0 0 var(--spacing-sm);
|
|
190
|
+
}
|
|
191
|
+
#panel-settings .feature-diagnostic-options label {
|
|
192
|
+
min-width: 0;
|
|
193
|
+
font-size: var(--font-size-body);
|
|
194
|
+
color: var(--color-text-primary);
|
|
195
|
+
cursor: pointer;
|
|
196
|
+
}
|
|
197
|
+
#panel-settings .feature-diagnostic-options label:first-child { grid-column: 1 / -1; }
|
|
198
|
+
#panel-settings .feature-diagnostic-options input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--color-brand); }
|
|
199
|
+
#panel-settings .feature-diagnostic-options span { min-width: 0; overflow-wrap: anywhere; }
|
|
200
|
+
#panel-settings .feature-diagnostic-options label:has(input:disabled) { cursor: not-allowed; opacity: 0.45; }
|
|
201
|
+
#panel-settings .feature-diagnostic-controls { margin-bottom: var(--spacing-xs); }
|
|
202
|
+
#panel-settings .feature-diagnostic-controls > .feature-status { margin-inline-start: auto; }
|
|
203
|
+
#panel-settings .feature-diagnostics .feature-button {
|
|
204
|
+
min-width: 44px;
|
|
205
|
+
padding: 8px var(--spacing-sm);
|
|
206
|
+
border: 1px solid transparent;
|
|
207
|
+
border-radius: var(--radius-sm);
|
|
208
|
+
background: transparent;
|
|
209
|
+
color: var(--color-text-secondary);
|
|
210
|
+
font: inherit;
|
|
211
|
+
font-size: var(--font-size-secondary);
|
|
212
|
+
font-weight: var(--font-weight-secondary);
|
|
213
|
+
overflow-wrap: anywhere;
|
|
214
|
+
cursor: pointer;
|
|
215
|
+
touch-action: manipulation;
|
|
216
|
+
}
|
|
217
|
+
#panel-settings .feature-diagnostics .feature-button:not(:disabled):hover { background: var(--color-surface-alt); color: var(--color-text-primary); }
|
|
218
|
+
#panel-settings .feature-diagnostics .feature-button:disabled { cursor: not-allowed; }
|
|
219
|
+
#panel-settings .feature-diagnostics .feature-primary { background: var(--color-brand-light); color: var(--color-brand-dark); }
|
|
220
|
+
#panel-settings .feature-diagnostics .feature-primary:not(:disabled):hover { background: var(--color-brand-light); color: var(--color-brand-dark); border-color: var(--color-brand-dark); }
|
|
221
|
+
#panel-settings .feature-diagnostic-row strong { min-width: 0; font-size: var(--font-size-body); font-weight: var(--font-weight-primary); overflow-wrap: anywhere; }
|
|
222
|
+
#panel-settings .feature-diagnostics .feature-status { max-width: 100%; flex-shrink: 0; overflow-wrap: anywhere; }
|
|
223
|
+
#panel-settings .feature-diagnostics .feature-meta { font-variant-numeric: tabular-nums; }
|
|
123
224
|
.context-window-reference { box-sizing: border-box; margin: var(--spacing-md) 0 var(--spacing-sm); padding-inline: var(--spacing-sm); color: var(--color-text-primary); }
|
|
124
225
|
.context-window-reference .feature-section-heading { margin-bottom: 4px; }
|
|
125
226
|
.feature-window-warning { margin-top: 12px; padding-block: 8px; }
|
|
@@ -133,7 +234,15 @@
|
|
|
133
234
|
.feature-focus { margin: 16px 0; padding: 16px; background: var(--color-surface-alt); }
|
|
134
235
|
@media (max-width: 640px) {
|
|
135
236
|
#panel-settings .feature-diagnostics { padding-inline: 20px; }
|
|
237
|
+
#panel-settings .feature-diagnostic-options { grid-template-columns: minmax(0, 1fr); }
|
|
136
238
|
.feature-toolbar { align-items: stretch; }
|
|
239
|
+
#panel-sessions .feature-tabs {
|
|
240
|
+
display: grid;
|
|
241
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
242
|
+
width: 100%;
|
|
243
|
+
box-sizing: border-box;
|
|
244
|
+
}
|
|
245
|
+
#panel-sessions .feature-tabs button { white-space: normal; overflow-wrap: anywhere; }
|
|
137
246
|
.feature-toolbar > .feature-primary { width: 100%; }
|
|
138
247
|
.feature-filter-fields, .feature-window-fields { grid-template-columns: minmax(0, 1fr); }
|
|
139
248
|
.feature-search-form { flex-wrap: nowrap; }
|
|
@@ -144,5 +253,69 @@
|
|
|
144
253
|
.feature-project-picker { max-height: 240px; }
|
|
145
254
|
}
|
|
146
255
|
@media (prefers-reduced-motion: reduce) {
|
|
256
|
+
#panel-settings .feature-diagnostics-chevron { transition: none; }
|
|
147
257
|
.session-features button, .context-window-reference button, .session-feature-controls button { transition: none; }
|
|
148
258
|
}
|
|
259
|
+
|
|
260
|
+
.evidence-basket { margin-block: 16px; min-width: 0; }
|
|
261
|
+
.evidence-select { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
|
|
262
|
+
.evidence-select input { accent-color: var(--color-brand-dark); }
|
|
263
|
+
.evidence-list { padding-inline-start: 24px; margin-block: 8px; }
|
|
264
|
+
.evidence-list li { padding-block: 4px; }
|
|
265
|
+
.evidence-list li > span { display: inline-flex; flex-direction: column; max-width: calc(100% - 80px); vertical-align: middle; overflow-wrap: anywhere; }
|
|
266
|
+
.evidence-list .btn-mini { margin-inline-start: 8px; min-height: 44px; }
|
|
267
|
+
.evidence-preview pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 480px; overflow-y: auto; font-family: var(--font-family-mono, monospace); }
|
|
268
|
+
.evidence-select:focus-within { outline: 2px solid var(--color-brand-dark); outline-offset: 4px; }
|
|
269
|
+
|
|
270
|
+
.usage-pricing .usage-price-total { margin-block: 16px 8px; font-size: var(--font-size-h3, 20px); font-weight: var(--font-weight-primary); }
|
|
271
|
+
.usage-price-rates { display: block; margin-block-start: 4px; font-size: var(--font-size-small, 12px); color: var(--color-text-secondary); overflow-wrap: anywhere; }
|
|
272
|
+
.usage-pricing code { overflow-wrap: anywhere; }
|
|
273
|
+
|
|
274
|
+
.git-change-list, .git-commit-list { padding-inline-start: 24px; overflow-wrap: anywhere; }
|
|
275
|
+
.git-commit-list > li { padding-block: 8px; }
|
|
276
|
+
.git-commit-list > li > small { display: block; margin-block: 4px; }
|
|
277
|
+
.git-commit-list .btn-mini { min-height: 44px; text-align: start; white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
|
|
278
|
+
.git-commit-stat { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 320px; overflow-y: auto; }
|
|
279
|
+
.project-git code { overflow-wrap: anywhere; }
|
|
280
|
+
|
|
281
|
+
.collection-list { padding: 0; margin-block: var(--spacing-sm); max-width: 72ch; list-style: none; }
|
|
282
|
+
.collection-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: var(--spacing-xs); padding-block: var(--spacing-xs); min-width: 0; }
|
|
283
|
+
.collection-list li + li { border-top: 1px solid var(--color-border-soft); }
|
|
284
|
+
.collection-list li > button:first-child { min-width: 0; padding: 8px 12px; border-color: transparent; background: transparent; text-align: start; white-space: normal; overflow-wrap: anywhere; font-size: var(--font-size-body); font-weight: var(--font-weight-secondary); line-height: var(--line-height-normal); }
|
|
285
|
+
.collection-list li > button[aria-pressed="true"], .collection-list li > button[aria-pressed="true"]:hover:not(:disabled) { background: var(--color-brand-light); color: var(--color-brand-dark); }
|
|
286
|
+
.evidence-collections > summary { font-size: var(--font-size-body); font-weight: var(--font-weight-primary); }
|
|
287
|
+
.collection-list .feature-count { color: var(--color-text-secondary); text-align: end; white-space: nowrap; }
|
|
288
|
+
.collection-editor { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--spacing-sm); margin-block: var(--spacing-md) var(--spacing-sm); }
|
|
289
|
+
.collection-editor > .feature-actions { flex-wrap: nowrap; }
|
|
290
|
+
.evidence-list li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--spacing-xs); }
|
|
291
|
+
.evidence-list li > span { flex: 1 1 180px; min-width: 0; max-width: 100%; }
|
|
292
|
+
.evidence-list .btn-mini { margin-inline-start: 0; flex-shrink: 0; }
|
|
293
|
+
.collection-source-state { color: var(--color-text-secondary); }
|
|
294
|
+
.collection-source-state[data-state="changed"], .collection-source-state[data-state="unavailable"] { color: var(--color-error); }
|
|
295
|
+
.project-stories { margin-top: var(--spacing-md); padding-top: var(--spacing-md); border-top: 1px solid var(--color-border-soft); min-width: 0; }
|
|
296
|
+
.project-stories > h4 { margin: 0; font-size: var(--font-size-large); font-weight: var(--font-weight-primary); line-height: var(--line-height-normal); }
|
|
297
|
+
.story-record { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--spacing-sm); row-gap: 4px; padding-block: var(--spacing-sm); overflow-wrap: anywhere; }
|
|
298
|
+
.story-record + .story-record { border-top: 1px solid var(--color-border-soft); }
|
|
299
|
+
.story-record > .feature-meta { grid-column: 1; margin: 0; }
|
|
300
|
+
.story-record > button:not(.feature-quiet) { grid-column: 1; justify-self: start; padding: 8px 0; border-color: transparent; background: transparent; font-size: var(--font-size-body); font-weight: var(--font-weight-primary); text-align: start; white-space: normal; line-height: var(--line-height-normal); }
|
|
301
|
+
.story-record > .feature-hint { grid-column: 1; margin: 0; }
|
|
302
|
+
.story-record > .feature-note { grid-column: 1; margin: 0; white-space: pre-wrap; line-height: 1.65; }
|
|
303
|
+
.story-record > .feature-note:empty { display: none; }
|
|
304
|
+
.story-record > .feature-quiet { grid-column: 2; grid-row: 2; align-self: start; white-space: nowrap; }
|
|
305
|
+
.story-editor { max-width: 72ch; padding-top: var(--spacing-sm); margin-top: var(--spacing-xs); border-top: 1px solid var(--color-border-soft); }
|
|
306
|
+
.collection-editor label, .story-editor label { font-weight: var(--font-weight-secondary); }
|
|
307
|
+
@media (max-width: 640px) {
|
|
308
|
+
.collection-editor { grid-template-columns: minmax(0, 1fr); }
|
|
309
|
+
.collection-list li { column-gap: 4px; }
|
|
310
|
+
.collection-list li > button:first-child { padding-inline: 8px; }
|
|
311
|
+
.collection-list .feature-quiet { padding-inline: 8px; }
|
|
312
|
+
.story-record { column-gap: var(--spacing-xs); }
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.evidence-generator { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--spacing-sm); align-items: start; }
|
|
316
|
+
.evidence-generator-note, .evidence-generator > button { grid-column: 1 / -1; }
|
|
317
|
+
.evidence-generator-note { resize: vertical; }
|
|
318
|
+
.evidence-generator > button { justify-self: start; }
|
|
319
|
+
@media (max-width: 640px) {
|
|
320
|
+
.evidence-generator { grid-template-columns: minmax(0, 1fr); }
|
|
321
|
+
}
|
|
@@ -801,3 +801,77 @@
|
|
|
801
801
|
.btn-tool-batch-delete:not(:disabled) {
|
|
802
802
|
color: var(--color-error);
|
|
803
803
|
}
|
|
804
|
+
|
|
805
|
+
/* Record rows share theme tokens; keep overrides local to the browser, not trash cards. */
|
|
806
|
+
#panel-sessions .session-list > .session-item {
|
|
807
|
+
border-color: transparent;
|
|
808
|
+
border-radius: 8px;
|
|
809
|
+
background: transparent;
|
|
810
|
+
box-shadow: none;
|
|
811
|
+
padding: 8px 12px;
|
|
812
|
+
display: flex;
|
|
813
|
+
flex-direction: column;
|
|
814
|
+
flex: 0 0 auto;
|
|
815
|
+
transition: background-color 160ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
816
|
+
}
|
|
817
|
+
#panel-sessions .session-list > .session-item::before { content: none; display: none; }
|
|
818
|
+
#panel-sessions .session-list > .session-item:hover {
|
|
819
|
+
background: color-mix(in oklch, var(--color-text-primary) 4%, var(--color-surface));
|
|
820
|
+
transform: none;
|
|
821
|
+
}
|
|
822
|
+
#panel-sessions .session-list > .session-item.active,
|
|
823
|
+
#panel-sessions .session-list > .session-item.batch-selected {
|
|
824
|
+
background: color-mix(in oklch, var(--color-brand-dark) 8%, var(--color-surface));
|
|
825
|
+
}
|
|
826
|
+
#panel-sessions .session-list > .session-item:active { transform: none; }
|
|
827
|
+
#panel-sessions .session-list > .session-item:focus-visible {
|
|
828
|
+
outline: 2px solid var(--color-brand-dark);
|
|
829
|
+
outline-offset: -2px;
|
|
830
|
+
}
|
|
831
|
+
#panel-sessions .session-item-header { margin: 0; gap: 8px; }
|
|
832
|
+
#panel-sessions .session-item-main { align-items: center; }
|
|
833
|
+
#panel-sessions .session-item-title { font-weight: var(--font-weight-primary); }
|
|
834
|
+
#panel-sessions .session-item-location { color: var(--color-text-secondary); }
|
|
835
|
+
#panel-sessions .session-item-actions { gap: 0; }
|
|
836
|
+
#panel-sessions .session-item-copy {
|
|
837
|
+
width: 44px; height: 44px; min-width: 44px; min-height: 44px;
|
|
838
|
+
padding: 0; border: 0; border-radius: 8px;
|
|
839
|
+
background: transparent; color: var(--color-text-secondary);
|
|
840
|
+
transform: none; opacity: 1;
|
|
841
|
+
transition: background-color 160ms cubic-bezier(0.16, 1, 0.3, 1), color 160ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
842
|
+
}
|
|
843
|
+
#panel-sessions .session-item-copy:hover:not(:disabled) { background: var(--color-surface-alt); color: var(--color-brand-dark); transform: none; }
|
|
844
|
+
#panel-sessions .session-item-copy:active:not(:disabled) { background: var(--color-brand-light); }
|
|
845
|
+
#panel-sessions .session-item-copy:focus-visible { outline: 2px solid var(--color-brand-dark); outline-offset: -2px; }
|
|
846
|
+
#panel-sessions .session-item-copy:disabled { opacity: 0.5; }
|
|
847
|
+
#panel-sessions .session-item-copy svg { width: 16px; height: 16px; color: currentColor; }
|
|
848
|
+
#panel-sessions .session-item.pinned .session-item-pin { background: var(--color-brand-light); color: var(--color-brand-dark); }
|
|
849
|
+
#panel-sessions .session-item-meta { margin: 0; gap: 4px 8px; }
|
|
850
|
+
#panel-sessions .session-item .session-count-badge { background: transparent; box-shadow: none; color: var(--color-text-secondary); padding: 0 4px; }
|
|
851
|
+
#panel-sessions .session-item-hot { background: var(--color-surface-alt); color: var(--color-text-secondary); }
|
|
852
|
+
#panel-sessions .session-item .session-batch-check {
|
|
853
|
+
min-width: 44px;
|
|
854
|
+
min-height: 44px;
|
|
855
|
+
display: grid;
|
|
856
|
+
place-items: center;
|
|
857
|
+
margin-inline-end: 0;
|
|
858
|
+
padding: 0;
|
|
859
|
+
}
|
|
860
|
+
#panel-sessions .session-item .session-batch-check-mark {
|
|
861
|
+
position: relative;
|
|
862
|
+
pointer-events: none;
|
|
863
|
+
}
|
|
864
|
+
#panel-sessions .session-batch-check input:focus-visible + .session-batch-check-mark {
|
|
865
|
+
outline: 2px solid var(--color-brand-dark);
|
|
866
|
+
outline-offset: 2px;
|
|
867
|
+
}
|
|
868
|
+
#panel-sessions .session-match-snippets { flex: 0 0 100%; min-width: 0; }
|
|
869
|
+
#panel-sessions .session-match-snippet { border: 0; }
|
|
870
|
+
@media (max-width: 720px) {
|
|
871
|
+
#panel-sessions .session-list > .session-item { height: auto; padding-block: 4px; }
|
|
872
|
+
#panel-sessions .session-item-meta { gap: 4px; }
|
|
873
|
+
#panel-sessions .session-item-meta > span { font-size: 14px; }
|
|
874
|
+
}
|
|
875
|
+
@media (prefers-reduced-motion: reduce) {
|
|
876
|
+
#panel-sessions .session-list > .session-item, #panel-sessions .session-item-copy { transition: none; }
|
|
877
|
+
}
|