codexmate 0.1.29 → 0.1.31
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 +95 -4
- package/README.vi.md +95 -4
- package/README.zh.md +96 -4
- package/cli/config-bootstrap.js +25 -11
- package/cli/skills.js +33 -8
- package/cli.js +364 -42
- package/lib/cli-config-engine.js +260 -0
- package/lib/cli-utils.js +2 -1
- package/lib/cli-webhook.js +1 -1
- package/lib/handoff-mcp.js +282 -0
- package/lib/http-access-control.js +335 -0
- package/lib/thread-handoff.js +130 -0
- package/lib/web-startup-auth.js +49 -0
- package/lib/workflow-engine.js +92 -21
- package/lib/workflow-runner.js +261 -0
- package/package.json +6 -1
- package/web-ui/app.js +33 -4
- package/web-ui/logic.sessions.mjs +24 -0
- package/web-ui/modules/access-token.mjs +33 -0
- package/web-ui/modules/api.mjs +2 -1
- package/web-ui/modules/app.computed.dashboard.mjs +1 -1
- package/web-ui/modules/app.methods.codex-config.mjs +1 -1
- package/web-ui/modules/app.methods.index.mjs +2 -0
- package/web-ui/modules/app.methods.navigation.mjs +17 -3
- package/web-ui/modules/app.methods.prompts-editor.mjs +7 -0
- package/web-ui/modules/app.methods.providers.mjs +2 -2
- package/web-ui/modules/app.methods.runtime.mjs +3 -2
- package/web-ui/modules/app.methods.session-actions.mjs +3 -0
- package/web-ui/modules/app.methods.session-browser.mjs +11 -3
- package/web-ui/modules/app.methods.system-prompt.mjs +1 -8
- package/web-ui/modules/app.methods.workflows.mjs +41 -0
- package/web-ui/modules/i18n/locales/en.mjs +43 -2
- package/web-ui/modules/i18n/locales/ja.mjs +43 -2
- package/web-ui/modules/i18n/locales/vi.mjs +43 -2
- package/web-ui/modules/i18n/locales/zh-tw.mjs +43 -2
- package/web-ui/modules/i18n/locales/zh.mjs +43 -2
- package/web-ui/modules/i18n.mjs +16 -0
- package/web-ui/modules/sessions-filters-url.mjs +3 -0
- package/web-ui/modules/skills.computed.mjs +11 -0
- package/web-ui/modules/skills.methods.mjs +63 -12
- package/web-ui/modules/thread-handoff.mjs +142 -0
- package/web-ui/partials/index/layout-footer.html +1 -1
- package/web-ui/partials/index/layout-header.html +32 -12
- package/web-ui/partials/index/panel-config-claude.html +2 -0
- package/web-ui/partials/index/panel-config-codex.html +2 -0
- package/web-ui/partials/index/panel-config-kilocode.html +3 -1
- package/web-ui/partials/index/panel-config-openclaw.html +2 -0
- package/web-ui/partials/index/panel-config-opencode.html +3 -1
- package/web-ui/partials/index/panel-config-pi.html +2 -0
- package/web-ui/partials/index/panel-dashboard.html +59 -0
- package/web-ui/partials/index/panel-market.html +23 -5
- package/web-ui/partials/index/panel-prompts.html +28 -16
- package/web-ui/partials/index/panel-sessions.html +51 -70
- package/web-ui/partials/index/panel-trash.html +3 -0
- package/web-ui/partials/index/thread-handoff.html +59 -0
- package/web-ui/res/web-ui-render.precompiled.js +1020 -493
- package/web-ui/styles/controls-forms.css +9 -0
- package/web-ui/styles/dashboard.css +51 -0
- package/web-ui/styles/feedback.css +26 -0
- package/web-ui/styles/layout-shell.css +66 -2
- package/web-ui/styles/modals-core.css +87 -0
- package/web-ui/styles/navigation-panels.css +5 -11
- package/web-ui/styles/plugins-panel.css +62 -0
- package/web-ui/styles/prompts-editor.css +11 -4
- package/web-ui/styles/responsive.css +19 -10
- package/web-ui/styles/sessions-list.css +19 -1
- package/web-ui/styles/sessions-preview.css +224 -140
- package/web-ui/styles/sessions-toolbar-trash.css +2 -2
- package/web-ui/styles/settings-panel.css +1 -1
- package/web-ui/styles/skills-market.css +47 -0
- package/web-ui/styles/titles-cards.css +1 -1
- package/web-ui/styles/trash-panel.css +43 -6
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
.session-preview
|
|
1
|
+
.session-preview {
|
|
2
|
+
container-name: session-preview;
|
|
3
|
+
container-type: inline-size;
|
|
2
4
|
box-shadow: var(--shadow-float);
|
|
3
5
|
}
|
|
4
6
|
|
|
@@ -9,8 +11,8 @@
|
|
|
9
11
|
overflow-y: auto;
|
|
10
12
|
overflow-x: hidden;
|
|
11
13
|
padding-right: 52px;
|
|
12
|
-
padding-bottom:
|
|
13
|
-
scroll-padding-bottom:
|
|
14
|
+
padding-bottom: 8px;
|
|
15
|
+
scroll-padding-bottom: 8px;
|
|
14
16
|
display: flex;
|
|
15
17
|
flex-direction: column;
|
|
16
18
|
scrollbar-width: none;
|
|
@@ -253,126 +255,66 @@
|
|
|
253
255
|
line-height: 1.45;
|
|
254
256
|
}
|
|
255
257
|
|
|
258
|
+
/* Reading index: retain message keys and scroll linkage without crowded markers. */
|
|
256
259
|
.session-timeline {
|
|
257
260
|
position: absolute;
|
|
258
261
|
top: var(--session-preview-header-offset, 72px);
|
|
259
|
-
right:
|
|
262
|
+
right: 8px;
|
|
260
263
|
bottom: 12px;
|
|
261
|
-
width:
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
box-shadow: var(--shadow-card);
|
|
267
|
-
padding: 6px 4px 28px;
|
|
264
|
+
width: 144px;
|
|
265
|
+
display: flex;
|
|
266
|
+
flex-direction: column;
|
|
267
|
+
gap: 12px;
|
|
268
|
+
padding: 12px 8px;
|
|
268
269
|
z-index: 3;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.session-timeline-track {
|
|
272
|
-
position: absolute;
|
|
273
|
-
left: 50%;
|
|
274
|
-
top: 10px;
|
|
275
|
-
bottom: 32px;
|
|
276
|
-
width: 2px;
|
|
277
|
-
transform: translateX(-50%);
|
|
278
|
-
background: var(--color-border-soft);
|
|
279
|
-
border-radius: 999px;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
.session-timeline-node {
|
|
283
|
-
position: absolute;
|
|
284
|
-
left: 50%;
|
|
285
|
-
width: 10px;
|
|
286
|
-
height: 10px;
|
|
287
|
-
border-radius: 50%;
|
|
288
|
-
border: 1px solid var(--color-border-strong);
|
|
289
270
|
background: var(--color-surface);
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
transition: border-color var(--transition-fast) var(--ease-spring), background var(--transition-fast) var(--ease-spring), box-shadow var(--transition-fast) var(--ease-spring);
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
.session-timeline-node:hover {
|
|
297
|
-
border-color: var(--color-brand);
|
|
298
|
-
background: var(--color-surface);
|
|
299
|
-
box-shadow: 0 0 0 3px rgba(210, 107, 90, 0.15);
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
.session-timeline-node.active {
|
|
303
|
-
border-color: var(--color-brand);
|
|
304
|
-
background: var(--color-brand);
|
|
305
|
-
box-shadow: 0 0 0 3px rgba(210, 107, 90, 0.2);
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.session-timeline-current {
|
|
309
|
-
position: absolute;
|
|
310
|
-
left: 3px;
|
|
311
|
-
right: 3px;
|
|
312
|
-
bottom: 4px;
|
|
313
|
-
font-size: 10px;
|
|
314
|
-
line-height: 1.2;
|
|
315
|
-
color: var(--color-text-tertiary);
|
|
316
|
-
text-align: center;
|
|
317
|
-
white-space: nowrap;
|
|
318
|
-
overflow: hidden;
|
|
319
|
-
text-overflow: ellipsis;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
/* 条状时间线 */
|
|
323
|
-
.session-timeline-bar {
|
|
324
|
-
width: 8px;
|
|
325
|
-
padding: 0;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
.session-timeline-bar-track {
|
|
329
|
-
position: absolute;
|
|
330
|
-
left: 50%;
|
|
331
|
-
top: 10px;
|
|
332
|
-
bottom: 32px;
|
|
333
|
-
width: 6px;
|
|
334
|
-
transform: translateX(-50%);
|
|
335
|
-
background: var(--color-border-soft);
|
|
336
|
-
border-radius: 3px;
|
|
271
|
+
border: 0;
|
|
272
|
+
border-radius: 12px;
|
|
273
|
+
box-shadow: none;
|
|
337
274
|
overflow: hidden;
|
|
338
275
|
}
|
|
339
|
-
|
|
340
|
-
.session-timeline-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
276
|
+
.session-timeline-heading { display: flex; flex-direction: column; gap: 4px; padding: 0 8px; }
|
|
277
|
+
.session-timeline-heading > span:first-child { font-size: 12px; font-weight: 600; color: var(--color-text-secondary); }
|
|
278
|
+
.session-timeline-count { font-size: 11px; color: var(--color-text-tertiary); }
|
|
279
|
+
.session-timeline-reading-progress { flex-shrink: 0; height: 2px; margin: 0 8px; background: var(--color-border-soft); border-radius: 2px; overflow: hidden; }
|
|
280
|
+
.session-timeline-reading-progress > span { display: block; height: 100%; background: var(--color-brand); transition: width 180ms ease; }
|
|
281
|
+
.session-timeline-index { display: flex; flex-direction: column; gap: 4px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--color-border-soft) transparent; }
|
|
282
|
+
.session-timeline-node {
|
|
283
|
+
position: relative;
|
|
284
|
+
display: flex;
|
|
285
|
+
align-items: center;
|
|
286
|
+
gap: 8px;
|
|
287
|
+
flex-shrink: 0;
|
|
345
288
|
width: 100%;
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
left: 50%;
|
|
354
|
-
width: 12px;
|
|
355
|
-
height: 12px;
|
|
356
|
-
border-radius: 50%;
|
|
357
|
-
border: 2px solid var(--color-border-strong);
|
|
358
|
-
background: var(--color-surface);
|
|
359
|
-
transform: translate(-50%, -50%);
|
|
289
|
+
min-height: 48px;
|
|
290
|
+
padding: 8px;
|
|
291
|
+
border: 0;
|
|
292
|
+
border-radius: 8px;
|
|
293
|
+
background: transparent;
|
|
294
|
+
color: var(--color-text-tertiary);
|
|
295
|
+
text-align: left;
|
|
360
296
|
cursor: pointer;
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
297
|
+
transition: background 160ms ease, color 160ms ease;
|
|
298
|
+
}
|
|
299
|
+
.session-timeline-number { min-width: 28px; font-size: 11px; font-variant-numeric: tabular-nums; }
|
|
300
|
+
.session-timeline-label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
|
|
301
|
+
.session-timeline-role { font-size: 12px; font-weight: 500; color: var(--color-text-secondary); }
|
|
302
|
+
.session-timeline-time { font-size: 11px; font-variant-numeric: tabular-nums; }
|
|
303
|
+
.session-timeline-indicator { margin-left: auto; flex-shrink: 0; width: 4px; height: 16px; border-radius: 4px; background: transparent; }
|
|
304
|
+
.session-timeline-node:hover { background: var(--color-surface-alt); color: var(--color-text-primary); }
|
|
305
|
+
.session-timeline-node.active { background: var(--color-brand-light); color: var(--color-brand-dark); box-shadow: none; }
|
|
306
|
+
.session-timeline-node.active .session-timeline-role { color: var(--color-text-primary); font-weight: 600; }
|
|
307
|
+
.session-timeline-node.active .session-timeline-indicator { background: var(--color-brand); }
|
|
308
|
+
.session-timeline-node:active { background: var(--color-brand-subtle); }
|
|
309
|
+
.session-timeline-node:focus-visible { outline: 2px solid var(--color-brand); outline-offset: -2px; }
|
|
310
|
+
.session-timeline-current { position: static; display: flex; align-items: center; gap: 6px; flex-shrink: 0; margin-top: auto; padding: 4px 8px 0; font-size: 11px; line-height: 1.5; color: var(--color-text-tertiary); }
|
|
311
|
+
.session-timeline-status-dot { width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: var(--color-brand); }
|
|
312
|
+
.session-timeline-bar .session-timeline-reading-progress { height: 4px; }
|
|
313
|
+
@media (min-width: 1101px) {
|
|
314
|
+
.session-preview-scroll { padding-right: 164px; }
|
|
364
315
|
}
|
|
365
|
-
|
|
366
|
-
.session-timeline-
|
|
367
|
-
border-color: var(--color-brand);
|
|
368
|
-
background: var(--color-surface);
|
|
369
|
-
box-shadow: 0 0 0 3px rgba(210, 107, 90, 0.15);
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
.session-timeline-bar-node.active {
|
|
373
|
-
border-color: var(--color-brand);
|
|
374
|
-
background: var(--color-brand);
|
|
375
|
-
box-shadow: 0 0 0 3px rgba(210, 107, 90, 0.2);
|
|
316
|
+
@media (prefers-reduced-motion: reduce) {
|
|
317
|
+
.session-timeline *, .session-timeline *::before { transition: none; scroll-behavior: auto; }
|
|
376
318
|
}
|
|
377
319
|
|
|
378
320
|
.session-msg {
|
|
@@ -762,44 +704,45 @@
|
|
|
762
704
|
/* Refined session workspace: preserve the list/detail structure and action contracts. */
|
|
763
705
|
#panel-sessions.session-browser-refined .session-preview-header {
|
|
764
706
|
padding: 12px 16px 8px; gap: 8px 16px;
|
|
765
|
-
display: grid; grid-template-columns: minmax(0, 1fr)
|
|
766
|
-
grid-template-areas: "title
|
|
707
|
+
display: grid; grid-template-columns: minmax(0, 1fr);
|
|
708
|
+
grid-template-areas: "title" "actions";
|
|
767
709
|
background: var(--color-surface); backdrop-filter: none;
|
|
768
710
|
}
|
|
769
711
|
#panel-sessions.session-browser-refined .session-preview-title {
|
|
770
712
|
font-size: 17px; line-height: 1.5; letter-spacing: -.015em;
|
|
771
713
|
}
|
|
772
714
|
#panel-sessions.session-browser-refined .session-preview-header > div:first-child { grid-area: title; min-width: 0; }
|
|
773
|
-
#panel-sessions .session-preview-actions {
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
|
|
777
|
-
padding: 2px; border: 1px solid var(--color-border-soft); border-radius: var(--radius-md);
|
|
778
|
-
background: var(--color-surface-alt); max-width: 100%;
|
|
779
|
-
}
|
|
780
|
-
#panel-sessions .session-export-label { font-size: 12px; line-height: 1; color: var(--color-text-secondary); padding-inline: 6px 0; margin-block: 0; }
|
|
781
|
-
#panel-sessions #session-export-range {
|
|
782
|
-
min-height: 44px; min-width: 0; max-width: 100%; padding: 8px 28px 8px 10px;
|
|
783
|
-
border: 0; border-radius: var(--radius-sm); background: var(--color-surface);
|
|
784
|
-
color: var(--color-text-primary); font: inherit; font-size: 14px; cursor: pointer;
|
|
715
|
+
#panel-sessions .session-preview-actions {
|
|
716
|
+
grid-area: actions; display: flex; justify-content: space-between; align-items: center;
|
|
717
|
+
flex-wrap: nowrap; gap: 16px; margin-top: 0; min-width: 0; width: 100%;
|
|
785
718
|
}
|
|
786
719
|
#panel-sessions .session-preview-actions button {
|
|
787
|
-
min-width:
|
|
788
|
-
border-radius: var(--radius-sm); box-shadow: none;
|
|
720
|
+
min-width: 32px; min-height: 32px; height: 32px; width: auto; padding: 0 10px;
|
|
721
|
+
border-radius: var(--radius-sm); box-shadow: none; white-space: nowrap;
|
|
789
722
|
transition: background-color 120ms ease-out, transform 100ms ease-out, color 120ms ease-out;
|
|
790
723
|
touch-action: manipulation;
|
|
791
724
|
}
|
|
792
|
-
#panel-sessions .session-
|
|
793
|
-
|
|
794
|
-
|
|
725
|
+
#panel-sessions .session-secondary-actions {
|
|
726
|
+
display: flex; align-items: center; flex-wrap: nowrap; gap: 8px;
|
|
727
|
+
min-width: 0; overflow: hidden;
|
|
795
728
|
}
|
|
796
|
-
#panel-sessions .session-secondary-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
|
|
797
729
|
#panel-sessions .session-secondary-actions button { background: transparent; border-color: transparent; color: var(--color-text-secondary); }
|
|
798
|
-
#panel-sessions .session-secondary-actions .session-link-group { display: inline-flex; gap:
|
|
799
|
-
#panel-sessions .session-
|
|
800
|
-
|
|
730
|
+
#panel-sessions .session-secondary-actions .session-link-group { display: inline-flex; gap: 0; flex-shrink: 0; }
|
|
731
|
+
#panel-sessions .session-primary-actions {
|
|
732
|
+
display: flex; align-items: center; flex-shrink: 0; gap: 16px; white-space: nowrap;
|
|
733
|
+
}
|
|
734
|
+
#panel-sessions .session-primary-actions .btn-session-export {
|
|
735
|
+
background: var(--color-brand); color: #fff;
|
|
736
|
+
border-color: var(--color-brand); font-weight: 600;
|
|
737
|
+
box-shadow: 0 2px 6px rgba(210, 107, 90, 0.18);
|
|
738
|
+
}
|
|
739
|
+
#panel-sessions .session-delete-text-button {
|
|
740
|
+
border-color: transparent; background: transparent; color: #b74545;
|
|
741
|
+
box-shadow: none; font-weight: 600;
|
|
742
|
+
}
|
|
801
743
|
#panel-sessions .session-preview-actions button:hover:not(:disabled) { transform: none; background: var(--color-surface-alt); }
|
|
802
|
-
#panel-sessions .session-
|
|
744
|
+
#panel-sessions .session-primary-actions .btn-session-export:hover:not(:disabled) { background: var(--color-brand-dark); border-color: var(--color-brand-dark); transform: translateY(-1px); }
|
|
745
|
+
#panel-sessions .session-primary-actions .session-delete-text-button:hover:not(:disabled) { background: rgba(189, 70, 68, 0.06); border-color: transparent; color: #9f3b3b; }
|
|
803
746
|
#panel-sessions .session-preview-actions button:active:not(:disabled) { transform: scale(.97); }
|
|
804
747
|
#panel-sessions .session-preview-actions :is(button, select):focus-visible,
|
|
805
748
|
#panel-sessions .session-empty-refined button:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 3px; }
|
|
@@ -821,17 +764,158 @@
|
|
|
821
764
|
#panel-sessions .session-empty-refined::before { display: none; }
|
|
822
765
|
#panel-sessions .session-empty-refined p { margin: 0 0 16px; line-height: 1.65; }
|
|
823
766
|
#panel-sessions .session-empty-refined button { min-height: 44px; padding-inline: 16px; }
|
|
767
|
+
@container session-preview (max-width: 620px) {
|
|
768
|
+
#panel-sessions .session-action-optional-text { display: none; }
|
|
769
|
+
#panel-sessions .session-action-optional-label {
|
|
770
|
+
width: 32px;
|
|
771
|
+
min-width: 32px;
|
|
772
|
+
padding: 0;
|
|
773
|
+
justify-content: center;
|
|
774
|
+
}
|
|
775
|
+
}
|
|
824
776
|
@media (max-width: 640px) {
|
|
825
|
-
#panel-sessions .session-preview-actions {
|
|
826
|
-
#panel-sessions .session-export-control { justify-self: stretch; }
|
|
827
|
-
#panel-sessions #session-export-range { flex: 1 1 120px; }
|
|
777
|
+
#panel-sessions .session-preview-actions { gap: 10px; }
|
|
828
778
|
#panel-sessions .session-secondary-actions { flex: 1 1 180px; }
|
|
829
779
|
#panel-sessions .session-preview-actions button { width: auto; }
|
|
830
780
|
#panel-sessions .session-search-scope { flex-basis: 100%; margin-inline-start: 0; }
|
|
831
|
-
#panel-sessions.session-browser-refined .session-preview-header { padding: 12px 12px 8px; gap: 8px; grid-template-columns: 1fr; grid-template-areas: "title" "
|
|
781
|
+
#panel-sessions.session-browser-refined .session-preview-header { padding: 12px 12px 8px; gap: 8px; grid-template-columns: 1fr; grid-template-areas: "title" "actions"; }
|
|
832
782
|
#panel-sessions .session-export-feedback { padding-inline: 12px; }
|
|
833
783
|
}
|
|
834
784
|
@media (prefers-reduced-motion: reduce) {
|
|
835
785
|
#panel-sessions .session-preview-actions button { transition: none; }
|
|
836
786
|
#panel-sessions .session-preview-actions button:active:not(:disabled) { transform: none; }
|
|
837
787
|
}
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
/* Scoped handoff form: quiet surface, full-width fields, one primary action. */
|
|
791
|
+
#panel-sessions .thread-handoff {
|
|
792
|
+
flex-shrink: 0;
|
|
793
|
+
display: block;
|
|
794
|
+
padding: 0;
|
|
795
|
+
border: 0;
|
|
796
|
+
border-radius: 12px;
|
|
797
|
+
background: var(--color-surface-alt);
|
|
798
|
+
box-shadow: none;
|
|
799
|
+
overflow: hidden;
|
|
800
|
+
}
|
|
801
|
+
.thread-handoff-summary {
|
|
802
|
+
display: flex;
|
|
803
|
+
align-items: center;
|
|
804
|
+
gap: 12px;
|
|
805
|
+
min-height: 56px;
|
|
806
|
+
padding: 12px 20px;
|
|
807
|
+
cursor: pointer;
|
|
808
|
+
list-style: none;
|
|
809
|
+
font-size: 14px;
|
|
810
|
+
font-weight: 600;
|
|
811
|
+
color: var(--color-text-primary);
|
|
812
|
+
transition: background 160ms ease;
|
|
813
|
+
}
|
|
814
|
+
.thread-handoff-summary::-webkit-details-marker { display: none; }
|
|
815
|
+
.thread-handoff-summary::before {
|
|
816
|
+
content: '';
|
|
817
|
+
width: 6px;
|
|
818
|
+
height: 6px;
|
|
819
|
+
border-right: 1.5px solid currentColor;
|
|
820
|
+
border-bottom: 1.5px solid currentColor;
|
|
821
|
+
transform: rotate(-45deg);
|
|
822
|
+
transition: transform 160ms ease;
|
|
823
|
+
}
|
|
824
|
+
.thread-handoff[open] > .thread-handoff-summary::before { transform: rotate(45deg); }
|
|
825
|
+
.thread-handoff-summary-hint {
|
|
826
|
+
margin-left: auto;
|
|
827
|
+
font-size: 12px;
|
|
828
|
+
font-weight: 400;
|
|
829
|
+
color: var(--color-text-tertiary);
|
|
830
|
+
}
|
|
831
|
+
.thread-handoff-body { display: grid; gap: 20px; padding: 0 20px 20px; }
|
|
832
|
+
.thread-handoff-body .session-workspace-header { align-items: center; }
|
|
833
|
+
.thread-handoff-body .session-workspace-subtitle { margin: 0; }
|
|
834
|
+
.thread-handoff-form { display: grid; gap: 20px; min-width: 0; }
|
|
835
|
+
.thread-handoff-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
|
|
836
|
+
.thread-handoff-field .session-workspace-card-title { margin: 0; font-size: 13px; }
|
|
837
|
+
.thread-handoff small { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--color-text-tertiary); }
|
|
838
|
+
#panel-sessions .thread-handoff .session-query-input {
|
|
839
|
+
width: 100%;
|
|
840
|
+
max-width: none;
|
|
841
|
+
min-width: 0;
|
|
842
|
+
min-height: 44px;
|
|
843
|
+
box-sizing: border-box;
|
|
844
|
+
padding: 12px;
|
|
845
|
+
border-radius: 8px;
|
|
846
|
+
font-size: 13px;
|
|
847
|
+
background: var(--color-surface);
|
|
848
|
+
}
|
|
849
|
+
#panel-sessions .thread-handoff textarea.session-query-input { min-height: 96px; resize: vertical; line-height: 1.6; }
|
|
850
|
+
.thread-handoff-optional-summary {
|
|
851
|
+
display: flex;
|
|
852
|
+
align-items: center;
|
|
853
|
+
flex-wrap: wrap;
|
|
854
|
+
min-height: 44px;
|
|
855
|
+
cursor: pointer;
|
|
856
|
+
font-size: 13px;
|
|
857
|
+
color: var(--color-text-secondary);
|
|
858
|
+
}
|
|
859
|
+
.thread-handoff-optional[open] .session-workspace-grid {
|
|
860
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
|
|
861
|
+
margin-top: 12px;
|
|
862
|
+
gap: 16px;
|
|
863
|
+
}
|
|
864
|
+
.thread-handoff-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
|
|
865
|
+
.thread-handoff .btn-mini { min-height: 44px; padding: 8px 16px; transition: background 160ms ease, color 160ms ease; }
|
|
866
|
+
#panel-sessions .thread-handoff-submit { background: var(--color-brand); color: #fff; border-color: transparent; }
|
|
867
|
+
#panel-sessions .thread-handoff-submit:hover:not(:disabled) { background: var(--color-brand-dark); }
|
|
868
|
+
#panel-sessions .thread-handoff-submit:disabled { opacity: .45; cursor: not-allowed; }
|
|
869
|
+
.thread-handoff-summary:hover { background: var(--color-brand-light); }
|
|
870
|
+
.thread-handoff-summary:active { background: var(--color-brand-subtle); }
|
|
871
|
+
.thread-handoff summary:focus-visible, .thread-handoff button:focus-visible {
|
|
872
|
+
outline: 2px solid var(--color-brand); outline-offset: -2px;
|
|
873
|
+
}
|
|
874
|
+
@media (max-width: 640px) {
|
|
875
|
+
.thread-handoff-summary { padding: 12px 16px; }
|
|
876
|
+
.thread-handoff-body { padding: 0 16px 16px; gap: 16px; }
|
|
877
|
+
.thread-handoff-body .session-workspace-header { align-items: flex-start; }
|
|
878
|
+
.thread-handoff-actions { align-items: stretch; flex-direction: column; gap: 12px; }
|
|
879
|
+
.thread-handoff-optional-summary small { width: 100%; margin: 4px 0 8px; }
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
/* Keep the session tab close to the viewport edge without changing other tabs. */
|
|
883
|
+
.main-panel:has(#panel-sessions:not([style*="display: none"])) {
|
|
884
|
+
padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
/* Fill the actual remaining viewport rather than subtracting a fixed header estimate. */
|
|
888
|
+
@media (min-width: 1101px) {
|
|
889
|
+
.main-panel:has(#panel-sessions:not([style*="display: none"])) {
|
|
890
|
+
display: flex;
|
|
891
|
+
flex-direction: column;
|
|
892
|
+
padding-bottom: max(4px, env(safe-area-inset-bottom, 0px));
|
|
893
|
+
}
|
|
894
|
+
.main-panel:has(#panel-sessions:not([style*="display: none"])) > .main-panel-topbar {
|
|
895
|
+
flex-shrink: 0;
|
|
896
|
+
}
|
|
897
|
+
.content-wrapper:has(#panel-sessions:not([style*="display: none"])) {
|
|
898
|
+
display: flex;
|
|
899
|
+
flex: 1;
|
|
900
|
+
min-height: 0;
|
|
901
|
+
padding-bottom: 0;
|
|
902
|
+
}
|
|
903
|
+
#panel-sessions.session-browser-refined {
|
|
904
|
+
display: flex;
|
|
905
|
+
flex: 1;
|
|
906
|
+
flex-direction: column;
|
|
907
|
+
min-height: 0;
|
|
908
|
+
}
|
|
909
|
+
#panel-sessions > div:has(> .session-layout) {
|
|
910
|
+
display: flex;
|
|
911
|
+
flex: 1;
|
|
912
|
+
flex-direction: column;
|
|
913
|
+
min-height: 0;
|
|
914
|
+
}
|
|
915
|
+
#panel-sessions > div:has(> .session-layout) > :not(.session-layout) { flex-shrink: 0; }
|
|
916
|
+
#panel-sessions .session-layout {
|
|
917
|
+
flex: 1;
|
|
918
|
+
height: auto;
|
|
919
|
+
min-height: 0;
|
|
920
|
+
}
|
|
921
|
+
}
|
|
@@ -107,6 +107,53 @@
|
|
|
107
107
|
font-weight: var(--font-weight-caption);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
.skills-flow-header > .skills-flow-actions {
|
|
111
|
+
display: flex;
|
|
112
|
+
flex-wrap: nowrap;
|
|
113
|
+
gap: 8px;
|
|
114
|
+
padding: 0;
|
|
115
|
+
border: 0;
|
|
116
|
+
background: transparent;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.skills-flow-header > .skills-flow-actions .skills-action-btn {
|
|
120
|
+
min-height: 32px;
|
|
121
|
+
padding: 7px 10px;
|
|
122
|
+
white-space: nowrap;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.skills-market-selection-bar {
|
|
126
|
+
display: flex;
|
|
127
|
+
align-items: center;
|
|
128
|
+
justify-content: space-between;
|
|
129
|
+
gap: 12px;
|
|
130
|
+
padding: 8px var(--spacing-md);
|
|
131
|
+
border-bottom: 1px solid var(--color-border-soft);
|
|
132
|
+
background: rgba(255,255,255,0.22);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.skills-market-select-all {
|
|
136
|
+
display: inline-flex;
|
|
137
|
+
align-items: center;
|
|
138
|
+
gap: 6px;
|
|
139
|
+
color: var(--color-text-secondary);
|
|
140
|
+
font-size: var(--font-size-caption);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.skills-market-selection-count {
|
|
144
|
+
color: var(--color-text-tertiary);
|
|
145
|
+
font-size: var(--font-size-caption);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.skills-market-item-check {
|
|
149
|
+
display: inline-flex;
|
|
150
|
+
align-items: center;
|
|
151
|
+
flex: 0 0 auto;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.skills-flow-item.selected {
|
|
155
|
+
background: rgba(210, 107, 90, 0.08);
|
|
156
|
+
}
|
|
110
157
|
/* Flow list */
|
|
111
158
|
.skills-flow-list {
|
|
112
159
|
display: flex;
|
|
@@ -1,11 +1,37 @@
|
|
|
1
1
|
/* 回收站面板 — 极简·本质 */
|
|
2
2
|
|
|
3
3
|
.trash-panel-shell {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
width: min(100%, 1480px);
|
|
5
|
+
max-width: none;
|
|
6
|
+
margin: 0;
|
|
7
|
+
padding: 0 0 32px;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
gap: 16px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.trash-config-card {
|
|
14
|
+
display: block;
|
|
15
|
+
padding: 16px 20px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.trash-config-card .settings-toggle-row {
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
margin: 10px 0 8px;
|
|
7
21
|
}
|
|
8
22
|
|
|
23
|
+
.trash-config-card .settings-retention {
|
|
24
|
+
width: 100%;
|
|
25
|
+
justify-content: space-between;
|
|
26
|
+
margin: 8px 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.trash-content-section {
|
|
30
|
+
min-width: 0;
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
gap: 14px;
|
|
34
|
+
}
|
|
9
35
|
/* ---- 空态 — 宁静留白 ---- */
|
|
10
36
|
.trash-empty-state {
|
|
11
37
|
display: flex;
|
|
@@ -13,7 +39,11 @@
|
|
|
13
39
|
align-items: center;
|
|
14
40
|
justify-content: center;
|
|
15
41
|
gap: 12px;
|
|
16
|
-
|
|
42
|
+
min-height: 240px;
|
|
43
|
+
padding: 40px 24px;
|
|
44
|
+
border: 1px solid var(--color-border-soft);
|
|
45
|
+
border-radius: var(--radius-lg);
|
|
46
|
+
background: var(--color-surface);
|
|
17
47
|
text-align: center;
|
|
18
48
|
}
|
|
19
49
|
|
|
@@ -52,11 +82,18 @@
|
|
|
52
82
|
align-items: center;
|
|
53
83
|
justify-content: space-between;
|
|
54
84
|
gap: 12px;
|
|
55
|
-
padding: 0 0
|
|
85
|
+
padding: 0 0 12px;
|
|
56
86
|
border-bottom: 1px solid var(--color-border-soft);
|
|
57
|
-
margin-bottom:
|
|
87
|
+
margin-bottom: 0;
|
|
58
88
|
}
|
|
59
89
|
|
|
90
|
+
.trash-list {
|
|
91
|
+
min-width: 0;
|
|
92
|
+
display: grid;
|
|
93
|
+
grid-template-columns: minmax(0, 1fr);
|
|
94
|
+
align-content: start;
|
|
95
|
+
gap: 8px;
|
|
96
|
+
}
|
|
60
97
|
.trash-toolbar-left {
|
|
61
98
|
display: flex;
|
|
62
99
|
align-items: baseline;
|