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
|
@@ -596,6 +596,15 @@
|
|
|
596
596
|
}
|
|
597
597
|
|
|
598
598
|
.tool-config-write-overlay-card {
|
|
599
|
+
position: fixed;
|
|
600
|
+
top: 50%;
|
|
601
|
+
left: 50%;
|
|
602
|
+
transform: translate(-50%, -50%);
|
|
603
|
+
z-index: 40;
|
|
604
|
+
width: min(460px, calc(100vw - 32px));
|
|
605
|
+
max-height: calc(100dvh - 32px);
|
|
606
|
+
overflow-y: auto;
|
|
607
|
+
box-sizing: border-box;
|
|
599
608
|
max-width: 460px;
|
|
600
609
|
padding: 18px 20px;
|
|
601
610
|
border: 1px solid var(--color-border-soft);
|
|
@@ -330,3 +330,54 @@
|
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
+
|
|
334
|
+
/* Compact workflow launcher: shared controls, progressive disclosure. */
|
|
335
|
+
.workflow-panel.selector-section { gap: 12px; padding: 20px; }
|
|
336
|
+
.workflow-header, .workflow-launch, .workflow-run-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
|
|
337
|
+
.workflow-heading, .workflow-field { min-width: 0; }
|
|
338
|
+
.workflow-title { margin: 0; color: var(--color-text-primary); font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
|
|
339
|
+
.workflow-description { margin: 4px 0 0; color: var(--color-text-tertiary); font-size: 12px; line-height: 1.5; }
|
|
340
|
+
.workflow-refresh.btn-tool { width: auto; flex-shrink: 0; box-shadow: none; background: transparent; }
|
|
341
|
+
.workflow-form { display: grid; gap: 4px; }
|
|
342
|
+
.workflow-launch { align-items: flex-end; }
|
|
343
|
+
.workflow-field { flex: 1; }
|
|
344
|
+
.workflow-field .form-label { font-size: 11px; color: var(--color-text-tertiary); margin-bottom: 6px; }
|
|
345
|
+
.workflow-select.model-select { max-width: none; min-height: 44px; box-sizing: border-box; }
|
|
346
|
+
.workflow-submit.btn { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 20px; min-height: 44px; padding: 10px 20px; font-size: 13px; white-space: normal; }
|
|
347
|
+
.workflow-submit:disabled { opacity: .5; cursor: not-allowed; }
|
|
348
|
+
.workflow-options { min-width: 0; margin-top: 8px; }
|
|
349
|
+
.workflow-options > summary, .workflow-history > summary { cursor: pointer; min-height: 36px; align-content: center; color: var(--color-text-secondary); font-size: 12px; }
|
|
350
|
+
.workflow-option-kind { margin-inline-start: 8px; color: var(--color-text-tertiary); font-family: var(--font-family-mono); font-size: 10px; }
|
|
351
|
+
.workflow-options > .workflow-field { padding-top: 8px; }
|
|
352
|
+
.workflow-options .form-hint { margin: 8px 0; }
|
|
353
|
+
.workflow-json { box-sizing: border-box; min-width: 0; font-family: var(--font-family-mono); font-size: 12px; line-height: 1.6; resize: vertical; }
|
|
354
|
+
.workflow-authorization { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: var(--color-text-tertiary); font-size: 12px; cursor: pointer; }
|
|
355
|
+
.workflow-authorization input { margin: 0; accent-color: var(--color-brand); flex-shrink: 0; }
|
|
356
|
+
.workflow-history { border-top: 1px solid var(--color-border-soft); padding-top: 8px; min-width: 0; }
|
|
357
|
+
.workflow-history-title { font-weight: 500; }
|
|
358
|
+
.workflow-count { margin-inline-start: 8px; color: var(--color-text-tertiary); font-variant-numeric: tabular-nums; }
|
|
359
|
+
.workflow-empty { padding: 4px 0 12px; }
|
|
360
|
+
.workflow-empty .form-hint { margin: 0; }
|
|
361
|
+
.workflow-run { min-width: 0; padding: 16px 0; }
|
|
362
|
+
.workflow-run + .workflow-run { border-top: 1px solid var(--color-border-soft); }
|
|
363
|
+
.workflow-run-header { align-items: baseline; flex-wrap: wrap; gap: 8px; }
|
|
364
|
+
.workflow-run-header h4 { margin: 0; min-width: 0; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
|
|
365
|
+
.workflow-status { font-size: 11px; color: var(--color-text-tertiary); overflow-wrap: anywhere; }
|
|
366
|
+
.workflow-status[data-status="running"], .workflow-status[data-status="queued"] { color: var(--color-brand-dark); }
|
|
367
|
+
.workflow-status[data-status="completed"] { color: var(--color-success); }
|
|
368
|
+
.workflow-status[data-status="failed"], .workflow-status[data-status="waiting"] { color: var(--color-error); }
|
|
369
|
+
.workflow-run-id { margin: 6px 0 8px; font-size: 10px; color: var(--color-text-tertiary); overflow-wrap: anywhere; }
|
|
370
|
+
.workflow-run-reason { margin: 0 0 8px; font-size: 12px; color: var(--color-text-secondary); overflow-wrap: anywhere; }
|
|
371
|
+
.workflow-run-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
|
|
372
|
+
.workflow-run-actions > .btn-tool { width: auto; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
|
|
373
|
+
.workflow-panel .workflow-run-actions > .btn-tool + .btn-tool { margin: 0; }
|
|
374
|
+
.workflow-details { min-width: 0; font-size: 12px; color: var(--color-text-secondary); }
|
|
375
|
+
.workflow-details > summary { min-height: 36px; align-content: center; cursor: pointer; }
|
|
376
|
+
.workflow-details pre { max-height: 320px; margin: 8px 0; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
377
|
+
.workflow-panel :is(button, select, summary, input):focus-visible { outline: 2px solid var(--color-brand); outline-offset: 3px; }
|
|
378
|
+
@media (max-width: 640px) {
|
|
379
|
+
.workflow-panel.selector-section { padding: 16px; }
|
|
380
|
+
.workflow-launch { flex-direction: column; align-items: stretch; gap: 12px; }
|
|
381
|
+
.workflow-header { gap: 12px; align-items: flex-start; }
|
|
382
|
+
.workflow-run-actions > .btn-tool { flex: 1 1 100%; }
|
|
383
|
+
}
|
|
@@ -42,6 +42,32 @@
|
|
|
42
42
|
letter-spacing: -0.005em;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
.app-loading-state {
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
min-height: calc(100vh - 180px);
|
|
50
|
+
text-align: center;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.app-navigation-loading-state {
|
|
54
|
+
position: fixed;
|
|
55
|
+
inset: 0;
|
|
56
|
+
z-index: 200;
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: center;
|
|
59
|
+
justify-content: center;
|
|
60
|
+
background: var(--color-bg);
|
|
61
|
+
color: var(--color-text-tertiary);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.navigation-pending > .mobile-brand-bar,
|
|
65
|
+
.navigation-pending > .top-tabs,
|
|
66
|
+
.navigation-pending > .lang-fab,
|
|
67
|
+
.navigation-pending > .app-shell {
|
|
68
|
+
visibility: hidden;
|
|
69
|
+
}
|
|
70
|
+
|
|
45
71
|
.state-message.error {
|
|
46
72
|
color: var(--color-error);
|
|
47
73
|
}
|
|
@@ -1014,6 +1014,11 @@ body::after {
|
|
|
1014
1014
|
cursor: pointer;
|
|
1015
1015
|
transition: background-color var(--transition-fast) var(--ease-smooth), border-color var(--transition-fast) var(--ease-smooth), color var(--transition-fast) var(--ease-smooth), transform var(--transition-fast) var(--ease-smooth);
|
|
1016
1016
|
}
|
|
1017
|
+
.language-settings-link > svg {
|
|
1018
|
+
width: 13px;
|
|
1019
|
+
height: 13px;
|
|
1020
|
+
flex-shrink: 0;
|
|
1021
|
+
}
|
|
1017
1022
|
|
|
1018
1023
|
.language-settings-link:hover {
|
|
1019
1024
|
border-color: rgba(200, 121, 99, 0.58);
|
|
@@ -1034,12 +1039,71 @@ body::after {
|
|
|
1034
1039
|
gap: 8px;
|
|
1035
1040
|
}
|
|
1036
1041
|
|
|
1042
|
+
.side-language-menu {
|
|
1043
|
+
position: relative;
|
|
1044
|
+
flex: 1 1 auto;
|
|
1045
|
+
min-width: 0;
|
|
1046
|
+
display: flex;
|
|
1047
|
+
justify-content: center;
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
.side-language-dropdown {
|
|
1051
|
+
position: absolute;
|
|
1052
|
+
left: 0;
|
|
1053
|
+
bottom: calc(100% + 8px);
|
|
1054
|
+
z-index: 20;
|
|
1055
|
+
width: max(100%, 176px);
|
|
1056
|
+
padding: 6px;
|
|
1057
|
+
border: 1px solid var(--color-border-soft);
|
|
1058
|
+
border-radius: var(--radius-md);
|
|
1059
|
+
background: var(--color-surface-elevated);
|
|
1060
|
+
box-shadow: var(--shadow-float);
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
.side-language-option {
|
|
1064
|
+
width: 100%;
|
|
1065
|
+
min-height: 36px;
|
|
1066
|
+
display: grid;
|
|
1067
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
1068
|
+
align-items: center;
|
|
1069
|
+
gap: 2px 8px;
|
|
1070
|
+
padding: 7px 9px;
|
|
1071
|
+
border: 0;
|
|
1072
|
+
border-radius: var(--radius-sm);
|
|
1073
|
+
background: transparent;
|
|
1074
|
+
color: var(--color-text-secondary);
|
|
1075
|
+
text-align: left;
|
|
1076
|
+
cursor: pointer;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
.side-language-option small {
|
|
1080
|
+
grid-column: 1;
|
|
1081
|
+
color: var(--color-text-tertiary);
|
|
1082
|
+
font-size: 11px;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
.side-language-option svg {
|
|
1086
|
+
grid-column: 2;
|
|
1087
|
+
grid-row: 1 / span 2;
|
|
1088
|
+
width: 14px;
|
|
1089
|
+
height: 14px;
|
|
1090
|
+
color: var(--color-brand);
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
.side-language-option:hover,
|
|
1094
|
+
.side-language-option.active {
|
|
1095
|
+
background: var(--color-brand-light);
|
|
1096
|
+
color: var(--color-text-primary);
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1037
1099
|
.side-rail-lang .language-settings-link {
|
|
1038
1100
|
min-width: 0;
|
|
1039
|
-
|
|
1101
|
+
width: fit-content;
|
|
1102
|
+
max-width: 100%;
|
|
1103
|
+
flex: 0 1 auto;
|
|
1104
|
+
margin-inline: auto;
|
|
1040
1105
|
box-shadow: none;
|
|
1041
1106
|
}
|
|
1042
|
-
|
|
1043
1107
|
.side-announcement-button {
|
|
1044
1108
|
flex: 0 0 36px;
|
|
1045
1109
|
width: 36px;
|
|
@@ -667,7 +667,9 @@
|
|
|
667
667
|
display: flex;
|
|
668
668
|
align-items: center;
|
|
669
669
|
justify-content: space-between;
|
|
670
|
+
flex-wrap: nowrap;
|
|
670
671
|
gap: 12px;
|
|
672
|
+
min-width: 0;
|
|
671
673
|
margin-bottom: 8px;
|
|
672
674
|
}
|
|
673
675
|
|
|
@@ -680,13 +682,98 @@
|
|
|
680
682
|
display: flex;
|
|
681
683
|
gap: 6px;
|
|
682
684
|
flex-shrink: 0;
|
|
685
|
+
flex-wrap: nowrap;
|
|
683
686
|
align-items: center;
|
|
687
|
+
min-width: 0;
|
|
684
688
|
}
|
|
685
689
|
|
|
686
690
|
.prompts-editor-group {
|
|
687
691
|
display: flex;
|
|
688
692
|
gap: 6px;
|
|
689
693
|
align-items: center;
|
|
694
|
+
flex-shrink: 0;
|
|
695
|
+
white-space: nowrap;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
.prompts-path-summary-wrap {
|
|
699
|
+
flex: 1 1 auto;
|
|
700
|
+
min-width: 0;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
.prompts-path-summary {
|
|
704
|
+
position: relative;
|
|
705
|
+
min-width: 0;
|
|
706
|
+
max-width: 100%;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
.prompts-path-summary-trigger {
|
|
710
|
+
display: flex;
|
|
711
|
+
align-items: center;
|
|
712
|
+
gap: 4px;
|
|
713
|
+
min-width: 0;
|
|
714
|
+
max-width: 100%;
|
|
715
|
+
padding: 4px 6px;
|
|
716
|
+
border-radius: var(--radius-sm);
|
|
717
|
+
color: var(--color-text-secondary);
|
|
718
|
+
font-size: var(--font-size-caption);
|
|
719
|
+
cursor: pointer;
|
|
720
|
+
list-style: none;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
.prompts-path-summary-trigger::-webkit-details-marker {
|
|
724
|
+
display: none;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
.prompts-path-summary-trigger:hover {
|
|
728
|
+
color: var(--color-brand);
|
|
729
|
+
background: var(--color-brand-light);
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
.prompts-path-summary-trigger:focus-visible {
|
|
733
|
+
outline: 2px solid var(--color-brand);
|
|
734
|
+
outline-offset: 2px;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
.prompts-path-summary-name {
|
|
738
|
+
flex: 0 1 auto;
|
|
739
|
+
min-width: 0;
|
|
740
|
+
overflow: hidden;
|
|
741
|
+
text-overflow: ellipsis;
|
|
742
|
+
white-space: nowrap;
|
|
743
|
+
font-weight: 600;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
.prompts-token-hint {
|
|
747
|
+
flex: 0 0 auto;
|
|
748
|
+
white-space: nowrap;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
.prompts-path-summary-popover {
|
|
752
|
+
position: absolute;
|
|
753
|
+
top: calc(100% + 6px);
|
|
754
|
+
left: 0;
|
|
755
|
+
z-index: 40;
|
|
756
|
+
display: grid;
|
|
757
|
+
gap: 4px;
|
|
758
|
+
width: max-content;
|
|
759
|
+
max-width: min(520px, calc(100vw - 48px));
|
|
760
|
+
padding: 8px 10px;
|
|
761
|
+
border: 1px solid var(--color-border);
|
|
762
|
+
border-radius: var(--radius-md);
|
|
763
|
+
background: var(--color-bg-card);
|
|
764
|
+
box-shadow: var(--shadow-raised);
|
|
765
|
+
color: var(--color-text-secondary);
|
|
766
|
+
font-size: var(--font-size-caption);
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
.prompts-path-summary-popover-label {
|
|
770
|
+
color: var(--color-text-tertiary);
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
.prompts-path-summary-popover code {
|
|
774
|
+
color: var(--color-text);
|
|
775
|
+
white-space: normal;
|
|
776
|
+
overflow-wrap: anywhere;
|
|
690
777
|
}
|
|
691
778
|
|
|
692
779
|
.prompts-editor-group--secondary .btn-mini {
|
|
@@ -38,20 +38,14 @@
|
|
|
38
38
|
margin: 0 0 12px;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.status-strip-placeholder {
|
|
42
|
-
visibility: hidden;
|
|
43
|
-
pointer-events: none;
|
|
44
|
-
user-select: none;
|
|
45
|
-
}
|
|
46
41
|
|
|
47
42
|
/* Give the status strip a bit more breathing room under the sticky header. */
|
|
48
43
|
.main-panel-topbar .status-strip {
|
|
49
|
-
margin-top:
|
|
50
|
-
margin-bottom:
|
|
44
|
+
margin-top: 8px;
|
|
45
|
+
margin-bottom: 8px;
|
|
51
46
|
min-height: 36px;
|
|
52
47
|
align-items: center;
|
|
53
48
|
}
|
|
54
|
-
|
|
55
49
|
.lang-toggle {
|
|
56
50
|
display: grid;
|
|
57
51
|
grid-template-columns: 1fr 1fr;
|
|
@@ -189,8 +183,8 @@
|
|
|
189
183
|
position: sticky;
|
|
190
184
|
top: 0;
|
|
191
185
|
z-index: 12;
|
|
192
|
-
margin: 0 -16px
|
|
193
|
-
padding: 0 16px
|
|
186
|
+
margin: 0 -16px 12px;
|
|
187
|
+
padding: 0 16px 8px;
|
|
194
188
|
background: linear-gradient(180deg, var(--color-bg-topbar-strong) 0%, var(--color-bg-topbar-soft) 78%, var(--color-bg-topbar-clear) 100%);
|
|
195
189
|
backdrop-filter: blur(18px) saturate(130%);
|
|
196
190
|
}
|
|
@@ -396,7 +390,7 @@
|
|
|
396
390
|
border: none;
|
|
397
391
|
border-radius: 0;
|
|
398
392
|
box-shadow: none;
|
|
399
|
-
padding: 0 0
|
|
393
|
+
padding: 0 0 8px;
|
|
400
394
|
width: min(100%, 1480px);
|
|
401
395
|
max-width: none;
|
|
402
396
|
}
|
|
@@ -562,3 +562,65 @@
|
|
|
562
562
|
grid-template-columns: 1fr;
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
|
+
|
|
566
|
+
/* Match the instruction-file editor: flat workspace, underlined tabs and quiet tools. */
|
|
567
|
+
#panel-plugins { container-type: inline-size; }
|
|
568
|
+
#panel-plugins .plugins-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
|
|
569
|
+
#panel-plugins .plugins-sidebar { padding: 0; border: 0; background: transparent; box-shadow: none; }
|
|
570
|
+
#panel-plugins .plugins-sidebar-header { display: none; }
|
|
571
|
+
#panel-plugins .plugins-sidebar-header .plugins-panel-note { display: none; }
|
|
572
|
+
#panel-plugins .plugins-list { display: flex; flex-wrap: wrap; gap: 2px; width: fit-content; border-bottom: 1px solid var(--color-border-soft); }
|
|
573
|
+
#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
|
+
#panel-plugins .plugins-item-meta, #panel-plugins .plugins-item > .pill { display: none; }
|
|
575
|
+
#panel-plugins .plugins-item:hover { transform: none; background: transparent; }
|
|
576
|
+
#panel-plugins .plugins-item.active { background: transparent; color: var(--color-brand-dark); border-bottom-color: var(--color-brand); box-shadow: none; }
|
|
577
|
+
#panel-plugins .plugins-item.active .plugins-item-title { color: var(--color-brand-dark); }
|
|
578
|
+
#panel-plugins .plugins-item.active::before { display: none; }
|
|
579
|
+
#panel-plugins .plugins-item-title { font-size: 13px; }
|
|
580
|
+
#panel-plugins .plugins-panel { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
|
|
581
|
+
#panel-plugins .plugins-panel-head { margin-bottom: 8px; align-items: center; gap: 12px; }
|
|
582
|
+
#panel-plugins .plugins-panel-title { font-size: 14px; line-height: 1.4; font-weight: 600; letter-spacing: -.02em; }
|
|
583
|
+
#panel-plugins .plugins-panel-note { line-height: 1.65; overflow-wrap: anywhere; }
|
|
584
|
+
#panel-plugins .prompt-templates-modebar { padding: 0; gap: 2px; margin-bottom: 12px; border: 0; border-bottom: 1px solid var(--color-border-soft); border-radius: 0; background: transparent; backdrop-filter: none; }
|
|
585
|
+
#panel-plugins .mode-pill { position: relative; min-height: 44px; padding: 7px 10px 8px; border-radius: 0; letter-spacing: 0; }
|
|
586
|
+
#panel-plugins .mode-pill.active { background: transparent; color: var(--color-brand-dark); box-shadow: none; }
|
|
587
|
+
#panel-plugins .mode-pill.active::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; border-radius: 2px; background: var(--color-brand); }
|
|
588
|
+
#panel-plugins .mode-pill:hover:not(.active) { background: transparent; color: var(--color-text-primary); }
|
|
589
|
+
#panel-plugins .prompt-compose-workspace { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
|
|
590
|
+
#panel-plugins .prompt-compose-main { gap: 24px; align-content: start; }
|
|
591
|
+
#panel-plugins .prompt-compose-form { display: grid; gap: 8px; }
|
|
592
|
+
#panel-plugins .form-label { margin: 0; font-size: 13px; font-weight: 600; }
|
|
593
|
+
#panel-plugins .prompt-vars-block { margin: 0; padding: 0; border: 0; background: transparent; }
|
|
594
|
+
#panel-plugins .prompt-vars-head { align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
|
|
595
|
+
#panel-plugins .prompt-vars-title { font-size: 14px; font-weight: 600; color: var(--color-text-primary); }
|
|
596
|
+
#panel-plugins .prompt-vars-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
|
|
597
|
+
#panel-plugins .prompt-var-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
|
|
598
|
+
#panel-plugins .prompt-var-label { color: var(--color-text-secondary); overflow-wrap: anywhere; }
|
|
599
|
+
#panel-plugins .prompt-preview-block { margin: 0; padding: 0 0 0 16px; border: 0; border-left: 1px solid var(--color-border-soft); border-radius: 0; background: transparent; }
|
|
600
|
+
#panel-plugins .prompt-compose-preview { display: flex; flex-direction: column; min-height: 360px; }
|
|
601
|
+
#panel-plugins .prompt-preview-textarea { flex: 1; width: 100%; min-height: 240px; padding: 16px; border: 0; background: var(--color-surface-alt); line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; resize: vertical; }
|
|
602
|
+
#panel-plugins .prompt-templates-grid { grid-template-columns: minmax(240px, .75fr) minmax(0, 1.5fr); gap: 32px; }
|
|
603
|
+
#panel-plugins .prompt-templates-toolbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
|
|
604
|
+
#panel-plugins .prompt-templates-toolbar .form-input { grid-column: 1 / -1; min-width: 0; }
|
|
605
|
+
#panel-plugins .prompt-template-item { border: 0; box-shadow: none; background: transparent; padding: 16px 12px; border-radius: 8px; }
|
|
606
|
+
#panel-plugins .prompt-template-item:hover { transform: none; background: var(--color-surface-alt); }
|
|
607
|
+
#panel-plugins .prompt-template-item.active { background: var(--color-brand-light); box-shadow: none; }
|
|
608
|
+
#panel-plugins .prompt-editor-head { padding: 0; border: 0; border-radius: 0; background: transparent; gap: 12px; margin-bottom: 20px; }
|
|
609
|
+
#panel-plugins .prompt-editor-name { min-width: 0; font-size: 16px; font-weight: 600; }
|
|
610
|
+
#panel-plugins .prompt-editor-textarea { width: 100%; min-height: 240px; line-height: 1.8; white-space: pre-wrap; }
|
|
611
|
+
#panel-plugins :is(.form-input, .form-select) { max-width: 100%; min-height: 44px; border-radius: 8px; }
|
|
612
|
+
#panel-plugins .btn-mini { min-height: 44px; padding: 8px 12px; }
|
|
613
|
+
#panel-plugins .prompt-compose-preview > .prompt-vars-head > .btn-mini { background: transparent; color: var(--color-text-secondary); border-color: var(--color-border-soft); }
|
|
614
|
+
#panel-plugins button { transition: background 160ms ease, color 160ms ease, border-color 160ms ease; }
|
|
615
|
+
#panel-plugins button:active:not(:disabled) { opacity: .8; }
|
|
616
|
+
#panel-plugins button:disabled { opacity: .45; cursor: not-allowed; }
|
|
617
|
+
#panel-plugins :is(button, input, select, textarea):focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
|
|
618
|
+
@container (max-width: 800px) {
|
|
619
|
+
#panel-plugins .prompt-compose-workspace, #panel-plugins .prompt-templates-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
|
|
620
|
+
#panel-plugins .plugins-panel { padding: 0; }
|
|
621
|
+
#panel-plugins .prompt-compose-preview { padding-left: 0; border-left: 0; }
|
|
622
|
+
#panel-plugins .prompt-compose-preview { min-height: 300px; }
|
|
623
|
+
}
|
|
624
|
+
@media (prefers-reduced-motion: reduce) {
|
|
625
|
+
#panel-plugins button { transition: none; }
|
|
626
|
+
}
|
|
@@ -335,16 +335,23 @@
|
|
|
335
335
|
|
|
336
336
|
|
|
337
337
|
.prompts-editor-group--pathref .prompts-path-reference-select {
|
|
338
|
-
width:
|
|
339
|
-
max-width:
|
|
340
|
-
min-width:
|
|
338
|
+
width: 180px;
|
|
339
|
+
max-width: 180px;
|
|
340
|
+
min-width: 180px;
|
|
341
341
|
padding: 5px 8px;
|
|
342
342
|
font-size: var(--font-size-caption);
|
|
343
343
|
color: var(--color-text-secondary);
|
|
344
344
|
cursor: pointer;
|
|
345
|
-
flex
|
|
345
|
+
flex: 0 0 180px;
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
+
@media (max-width: 540px) {
|
|
349
|
+
.prompts-editor-group--pathref .prompts-path-reference-select {
|
|
350
|
+
width: 112px;
|
|
351
|
+
min-width: 112px;
|
|
352
|
+
max-width: 112px;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
348
355
|
.prompts-editor-group--pathref .prompts-path-reference-select:disabled {
|
|
349
356
|
opacity: 0.6;
|
|
350
357
|
cursor: not-allowed;
|
|
@@ -207,14 +207,15 @@ textarea:focus-visible {
|
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
.prompts-editor-toolbar {
|
|
210
|
-
flex-direction:
|
|
211
|
-
align-items:
|
|
210
|
+
flex-direction: row;
|
|
211
|
+
align-items: center;
|
|
212
|
+
flex-wrap: nowrap;
|
|
212
213
|
gap: 8px;
|
|
213
214
|
}
|
|
214
215
|
|
|
215
216
|
.prompts-editor-actions {
|
|
216
|
-
width:
|
|
217
|
-
flex-wrap:
|
|
217
|
+
width: auto;
|
|
218
|
+
flex-wrap: nowrap;
|
|
218
219
|
}
|
|
219
220
|
|
|
220
221
|
.prompt-presets-inline-row {
|
|
@@ -636,19 +637,27 @@ textarea:focus-visible {
|
|
|
636
637
|
}
|
|
637
638
|
|
|
638
639
|
.prompts-editor-actions .btn-mini {
|
|
639
|
-
|
|
640
|
-
|
|
640
|
+
width: 44px;
|
|
641
|
+
min-width: 44px;
|
|
642
|
+
min-height: 44px;
|
|
643
|
+
padding: 0;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
.prompts-editor-group--edit .btn-mini:nth-child(3),
|
|
647
|
+
.prompts-editor-group--edit .btn-mini:nth-child(4) {
|
|
648
|
+
display: none;
|
|
641
649
|
}
|
|
642
650
|
|
|
643
651
|
.prompts-editor-toolbar {
|
|
644
|
-
flex-direction:
|
|
645
|
-
align-items:
|
|
652
|
+
flex-direction: row;
|
|
653
|
+
align-items: center;
|
|
654
|
+
flex-wrap: nowrap;
|
|
646
655
|
gap: 8px;
|
|
647
656
|
}
|
|
648
657
|
|
|
649
658
|
.prompts-editor-actions {
|
|
650
|
-
width:
|
|
651
|
-
flex-wrap:
|
|
659
|
+
width: auto;
|
|
660
|
+
flex-wrap: nowrap;
|
|
652
661
|
}
|
|
653
662
|
|
|
654
663
|
.prompt-presets-inline-row {
|
|
@@ -511,6 +511,14 @@
|
|
|
511
511
|
background: linear-gradient(180deg, var(--color-brand), var(--color-brand-dark));
|
|
512
512
|
}
|
|
513
513
|
|
|
514
|
+
.session-item-heading {
|
|
515
|
+
min-width: 0;
|
|
516
|
+
flex: 1;
|
|
517
|
+
display: flex;
|
|
518
|
+
flex-direction: column;
|
|
519
|
+
gap: 2px;
|
|
520
|
+
}
|
|
521
|
+
|
|
514
522
|
.session-item-title {
|
|
515
523
|
font-size: var(--font-size-body);
|
|
516
524
|
font-weight: var(--font-weight-secondary);
|
|
@@ -519,10 +527,20 @@
|
|
|
519
527
|
white-space: nowrap;
|
|
520
528
|
overflow: hidden;
|
|
521
529
|
text-overflow: ellipsis;
|
|
522
|
-
flex: 1;
|
|
523
530
|
max-width: none;
|
|
524
531
|
}
|
|
525
532
|
|
|
533
|
+
.session-item-location {
|
|
534
|
+
min-width: 0;
|
|
535
|
+
max-width: 100%;
|
|
536
|
+
color: var(--color-text-tertiary);
|
|
537
|
+
font-size: var(--font-size-caption);
|
|
538
|
+
line-height: 1.35;
|
|
539
|
+
white-space: nowrap;
|
|
540
|
+
overflow: hidden;
|
|
541
|
+
text-overflow: ellipsis;
|
|
542
|
+
}
|
|
543
|
+
|
|
526
544
|
.session-item-actions {
|
|
527
545
|
display: inline-flex;
|
|
528
546
|
align-items: center;
|