codexmate 0.1.25 → 0.1.27
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/cli/session-usage.js +10 -4
- package/cli.js +733 -199
- package/lib/cli-sessions.js +1 -1
- package/package.json +3 -3
- package/tools/dev/launch.js +147 -0
- package/web-ui/app.js +13 -3
- package/web-ui/index.html +1 -1
- package/web-ui/logic.prompts-token-count.mjs +49 -0
- package/web-ui/logic.sessions.mjs +30 -15
- package/web-ui/modules/app.computed.dashboard.mjs +1 -0
- package/web-ui/modules/app.computed.prompts.mjs +18 -0
- package/web-ui/modules/app.computed.session.mjs +3 -1
- package/web-ui/modules/app.methods.session-actions.mjs +10 -4
- package/web-ui/modules/app.methods.session-browser.mjs +34 -45
- package/web-ui/modules/app.methods.session-timeline.mjs +1 -0
- package/web-ui/modules/i18n/locales/en.mjs +9 -1
- package/web-ui/modules/i18n/locales/ja.mjs +9 -1
- package/web-ui/modules/i18n/locales/vi.mjs +9 -1
- package/web-ui/modules/i18n/locales/zh-tw.mjs +9 -1
- package/web-ui/modules/i18n/locales/zh.mjs +9 -1
- package/web-ui/partials/index/layout-header.html +4 -2
- package/web-ui/partials/index/panel-prompts.html +14 -0
- package/web-ui/partials/index/panel-sessions.html +19 -4
- package/web-ui/res/web-ui-render.precompiled.js +89 -21
- package/web-ui/session-helpers.mjs +1 -1
- package/web-ui/styles/base-theme.css +24 -0
- package/web-ui/styles/modals-core.css +48 -0
- package/web-ui/styles/sessions-list.css +1 -1
- package/web-ui/styles/sessions-preview.css +56 -7
- package/web-ui/styles/sessions-toolbar-trash.css +1 -7
|
@@ -456,6 +456,54 @@
|
|
|
456
456
|
font-weight: var(--font-weight-secondary);
|
|
457
457
|
}
|
|
458
458
|
|
|
459
|
+
.agents-diff-token-summary {
|
|
460
|
+
display: flex;
|
|
461
|
+
align-items: center;
|
|
462
|
+
gap: 8px;
|
|
463
|
+
margin-bottom: 8px;
|
|
464
|
+
font-size: var(--font-size-caption);
|
|
465
|
+
color: var(--color-text-tertiary);
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.agents-diff-token-label {
|
|
469
|
+
display: inline-flex;
|
|
470
|
+
align-items: center;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.agents-diff-token-delta {
|
|
474
|
+
display: inline-flex;
|
|
475
|
+
align-items: center;
|
|
476
|
+
padding: 2px 8px;
|
|
477
|
+
border-radius: 999px;
|
|
478
|
+
border: 1px solid transparent;
|
|
479
|
+
font-weight: var(--font-weight-secondary);
|
|
480
|
+
font-variant-numeric: tabular-nums;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.agents-diff-token-delta--add {
|
|
484
|
+
color: #2b6a3b;
|
|
485
|
+
background: rgba(57, 181, 97, 0.12);
|
|
486
|
+
border-color: rgba(57, 181, 97, 0.2);
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.agents-diff-token-delta--del {
|
|
490
|
+
color: #8a2f36;
|
|
491
|
+
background: rgba(220, 95, 108, 0.12);
|
|
492
|
+
border-color: rgba(220, 95, 108, 0.2);
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
.agents-diff-token-delta--same {
|
|
496
|
+
color: var(--color-text-tertiary);
|
|
497
|
+
background: rgba(127, 127, 127, 0.1);
|
|
498
|
+
border-color: rgba(127, 127, 127, 0.2);
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.prompts-token-hint {
|
|
502
|
+
margin-left: 4px;
|
|
503
|
+
color: var(--color-text-tertiary);
|
|
504
|
+
font-variant-numeric: tabular-nums;
|
|
505
|
+
}
|
|
506
|
+
|
|
459
507
|
.agents-diff-summary {
|
|
460
508
|
display: flex;
|
|
461
509
|
align-items: center;
|
|
@@ -632,13 +632,6 @@
|
|
|
632
632
|
|
|
633
633
|
.session-source-pills {
|
|
634
634
|
max-width: 100%;
|
|
635
|
-
overflow-x: auto;
|
|
636
|
-
flex-wrap: nowrap;
|
|
637
|
-
scrollbar-width: none;
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
.session-source-pills::-webkit-scrollbar {
|
|
641
|
-
display: none;
|
|
642
635
|
}
|
|
643
636
|
|
|
644
637
|
.session-path-select,
|
|
@@ -709,3 +702,59 @@
|
|
|
709
702
|
transform: none;
|
|
710
703
|
box-shadow: none;
|
|
711
704
|
}
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
.session-match-nav-btn {
|
|
708
|
+
display: inline-flex;
|
|
709
|
+
align-items: center;
|
|
710
|
+
justify-content: center;
|
|
711
|
+
width: 28px;
|
|
712
|
+
height: 28px;
|
|
713
|
+
padding: 0;
|
|
714
|
+
border: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.12));
|
|
715
|
+
border-radius: var(--radius-sm, 6px);
|
|
716
|
+
background: transparent;
|
|
717
|
+
color: var(--text-secondary, inherit);
|
|
718
|
+
cursor: pointer;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
.session-match-nav-btn svg {
|
|
722
|
+
width: 14px;
|
|
723
|
+
height: 14px;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
.session-match-nav-btn:hover {
|
|
727
|
+
background: var(--bg-hover, rgba(0, 0, 0, 0.06));
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
.session-match-nav-btn[disabled] {
|
|
731
|
+
opacity: 0.5;
|
|
732
|
+
cursor: not-allowed;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
/* Session preview jump buttons (floating bottom-right, persistent top/bottom pair) */
|
|
736
|
+
.session-preview-jump {
|
|
737
|
+
position: fixed;
|
|
738
|
+
right: 12px;
|
|
739
|
+
bottom: calc(16px + env(safe-area-inset-bottom, 0px));
|
|
740
|
+
z-index: 5;
|
|
741
|
+
display: flex;
|
|
742
|
+
flex-direction: column;
|
|
743
|
+
align-items: center;
|
|
744
|
+
gap: 8px;
|
|
745
|
+
pointer-events: none;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
.session-preview-jump .session-match-nav-btn {
|
|
749
|
+
pointer-events: auto;
|
|
750
|
+
width: 28px;
|
|
751
|
+
height: 28px;
|
|
752
|
+
border-radius: 50%;
|
|
753
|
+
background: var(--color-surface-elevated, rgba(255, 255, 255, 0.92));
|
|
754
|
+
box-shadow: var(--shadow-float, 0 4px 16px rgba(0, 0, 0, 0.16));
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
.session-preview-jump .session-match-nav-btn svg {
|
|
758
|
+
width: 14px;
|
|
759
|
+
height: 14px;
|
|
760
|
+
}
|
|
@@ -151,6 +151,7 @@
|
|
|
151
151
|
|
|
152
152
|
.session-source-pills {
|
|
153
153
|
display: flex;
|
|
154
|
+
flex-wrap: wrap;
|
|
154
155
|
gap: 3px;
|
|
155
156
|
padding: 2px;
|
|
156
157
|
border-radius: var(--radius-md);
|
|
@@ -611,10 +612,3 @@
|
|
|
611
612
|
max-width: 100%;
|
|
612
613
|
}
|
|
613
614
|
|
|
614
|
-
/* ===== Session preview match highlight ===== */
|
|
615
|
-
.session-msg-content mark {
|
|
616
|
-
background: rgba(200, 121, 99, 0.18);
|
|
617
|
-
color: var(--color-brand-dark);
|
|
618
|
-
border-radius: 2px;
|
|
619
|
-
padding: 0 1px;
|
|
620
|
-
}
|