codexmate 0.1.27 → 0.1.29
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 +53 -44
- package/README.vi.md +45 -36
- package/README.zh.md +51 -42
- package/cli/config-bootstrap.js +2 -9
- package/cli/session-usage.js +2 -2
- package/cli.js +407 -40
- package/package.json +1 -1
- package/web-ui/app.js +7 -0
- package/web-ui/index.html +12 -0
- package/web-ui/logic.sessions.mjs +6 -4
- package/web-ui/modules/app.computed.session.mjs +52 -33
- package/web-ui/modules/app.methods.agents.mjs +36 -0
- package/web-ui/modules/app.methods.codex-config.mjs +3 -1
- package/web-ui/modules/app.methods.index.mjs +2 -0
- package/web-ui/modules/app.methods.providers.mjs +12 -4
- package/web-ui/modules/app.methods.session-actions.mjs +10 -8
- package/web-ui/modules/app.methods.session-browser.mjs +3 -1
- package/web-ui/modules/app.methods.session-trash.mjs +16 -16
- package/web-ui/modules/app.methods.theme.mjs +39 -0
- package/web-ui/modules/app.methods.web-ui-preferences.mjs +9 -0
- package/web-ui/modules/i18n/locales/en.mjs +80 -2
- package/web-ui/modules/i18n/locales/ja.mjs +80 -2
- package/web-ui/modules/i18n/locales/vi.mjs +80 -2
- package/web-ui/modules/i18n/locales/zh-tw.mjs +80 -2
- package/web-ui/modules/i18n/locales/zh.mjs +80 -2
- package/web-ui/modules/i18n.mjs +7 -0
- package/web-ui/partials/index/modal-config-template-agents.html +1 -1
- package/web-ui/partials/index/modal-health-check.html +1 -1
- package/web-ui/partials/index/modal-openclaw-config.html +50 -50
- package/web-ui/partials/index/panel-dashboard.html +1 -1
- package/web-ui/partials/index/panel-prompts.html +2 -2
- package/web-ui/partials/index/panel-sessions.html +47 -30
- package/web-ui/partials/index/panel-settings.html +30 -0
- package/web-ui/res/web-ui-render.precompiled.js +244 -157
- package/web-ui/session-helpers.mjs +3 -0
- package/web-ui/styles/base-theme.css +3 -2
- package/web-ui/styles/bridge-pool.css +1 -1
- package/web-ui/styles/controls-forms.css +1 -1
- package/web-ui/styles/layout-shell.css +0 -1
- package/web-ui/styles/sessions-preview.css +77 -0
- package/web-ui/styles/sessions-toolbar-trash.css +1 -1
- package/web-ui/styles/sessions-usage.css +1 -1
- package/web-ui/styles/settings-panel.css +2 -2
- package/web-ui/styles/theme-dark-tokens.css +83 -0
- package/web-ui/styles/theme-dark.css +1355 -0
- package/web-ui/styles/theme-ocean-tokens.css +88 -0
- package/web-ui/styles/theme-ocean.css +920 -0
- package/web-ui/styles.css +2 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Codex Mate Web UI - ocean light theme tokens (hand maintained).
|
|
3
|
+
*
|
|
4
|
+
* Background layer adapted from the "dafy-whale-theme" project
|
|
5
|
+
* (https://github.com/DViridescent/dafy-whale-theme, MIT licensed).
|
|
6
|
+
* Only the static background layer (the ocean wash gradients) is reused:
|
|
7
|
+
* no mascot, no fish swarm, no bubble animation, no plugin dependency.
|
|
8
|
+
*
|
|
9
|
+
* The component section of theme-ocean.css is GENERATED - do not edit by hand.
|
|
10
|
+
* Regenerate after changing any stylesheet:
|
|
11
|
+
* node scripts/generate-ocean-theme-css.mjs
|
|
12
|
+
*/
|
|
13
|
+
:root[data-theme="ocean"] {
|
|
14
|
+
color-scheme: light;
|
|
15
|
+
|
|
16
|
+
/* 品牌色:海洋蓝(源自 dafy-whale-theme 的 --dsw-alias-brand-primary) */
|
|
17
|
+
--color-brand: #3B62F6;
|
|
18
|
+
--color-brand-dark: #2B4BD0;
|
|
19
|
+
--color-brand-light: rgba(59, 98, 246, 0.13);
|
|
20
|
+
--color-brand-subtle: rgba(59, 98, 246, 0.2);
|
|
21
|
+
|
|
22
|
+
/* 中性蓝层级底色 */
|
|
23
|
+
--color-bg: #E9F3FC;
|
|
24
|
+
--color-surface: #F3F9FE;
|
|
25
|
+
--color-surface-alt: #E0EDF9;
|
|
26
|
+
--color-surface-elevated: #FFFFFF;
|
|
27
|
+
--color-surface-tint: rgba(243, 249, 254, 0.86);
|
|
28
|
+
--color-surface-chip: rgba(255, 255, 255, 0.76);
|
|
29
|
+
--color-text-primary: #0E2A5C;
|
|
30
|
+
--color-text-secondary: #3B5C85;
|
|
31
|
+
--color-text-tertiary: #45678F;
|
|
32
|
+
--color-text-muted: #476A90;
|
|
33
|
+
--color-border: rgba(31, 86, 150, 0.18);
|
|
34
|
+
--color-border-soft: rgba(31, 86, 150, 0.13);
|
|
35
|
+
--color-border-strong: rgba(31, 86, 150, 0.34);
|
|
36
|
+
|
|
37
|
+
--color-success: #127450;
|
|
38
|
+
--color-error: #B92A50;
|
|
39
|
+
|
|
40
|
+
/* Delta 指示色 */
|
|
41
|
+
--color-delta-up: #127450;
|
|
42
|
+
--color-delta-down: #B92A50;
|
|
43
|
+
|
|
44
|
+
/* 热力图色阶:海洋蓝 alpha 阶梯 */
|
|
45
|
+
--color-heatmap-1: rgba(59, 98, 246, 0.2);
|
|
46
|
+
--color-heatmap-2: rgba(59, 98, 246, 0.4);
|
|
47
|
+
--color-heatmap-3: rgba(59, 98, 246, 0.6);
|
|
48
|
+
--color-heatmap-4: rgba(59, 98, 246, 0.85);
|
|
49
|
+
|
|
50
|
+
/*
|
|
51
|
+
* 背景海面光晕:取自 dafy-whale-theme 的 .dafy-wash 三层径向渐变,
|
|
52
|
+
* 仅保留静态渐变层,颜色全部由下方 wash token 承载。
|
|
53
|
+
*/
|
|
54
|
+
--color-ocean-wash-brand: rgba(59, 98, 246, 0.30);
|
|
55
|
+
--color-ocean-wash-cyan: rgba(87, 199, 232, 0.26);
|
|
56
|
+
--color-ocean-wash-teal: rgba(47, 208, 181, 0.14);
|
|
57
|
+
|
|
58
|
+
--bg-warm-gradient:
|
|
59
|
+
radial-gradient(circle at 14% 8%, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0) 26%),
|
|
60
|
+
radial-gradient(circle at 86% 18%, rgba(214, 236, 255, 0.55), rgba(214, 236, 255, 0) 30%),
|
|
61
|
+
linear-gradient(135deg, var(--color-bg) 0%, var(--color-surface-alt) 100%);
|
|
62
|
+
|
|
63
|
+
--color-bg-topbar-strong: rgba(233, 243, 252, 0.96);
|
|
64
|
+
--color-bg-topbar-soft: rgba(233, 243, 252, 0.86);
|
|
65
|
+
--color-bg-topbar-clear: rgba(233, 243, 252, 0);
|
|
66
|
+
|
|
67
|
+
/* 阴影系统:冷色蓝调 */
|
|
68
|
+
--shadow-subtle: 0 1px 2px rgba(16, 48, 92, 0.05);
|
|
69
|
+
--shadow-card: 0 12px 30px rgba(16, 48, 92, 0.08);
|
|
70
|
+
--shadow-card-hover: 0 18px 44px rgba(16, 48, 92, 0.14);
|
|
71
|
+
--shadow-float: 0 22px 56px rgba(12, 40, 80, 0.18);
|
|
72
|
+
--shadow-raised: 0 14px 30px rgba(16, 48, 92, 0.14);
|
|
73
|
+
--shadow-modal:
|
|
74
|
+
0 16px 42px rgba(12, 40, 80, 0.16),
|
|
75
|
+
0 34px 84px rgba(12, 40, 80, 0.16);
|
|
76
|
+
--shadow-input-focus:
|
|
77
|
+
0 0 0 3px var(--color-brand-light),
|
|
78
|
+
0 1px 2px rgba(16, 48, 92, 0.06);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* 背景海面光晕:固定层,不参与滚动,避免长页面拉伸与错位 */
|
|
82
|
+
:root[data-theme="ocean"] body::before {
|
|
83
|
+
background:
|
|
84
|
+
radial-gradient(1100px 620px at 88% -8%, var(--color-ocean-wash-brand), transparent 62%),
|
|
85
|
+
radial-gradient(900px 560px at -6% 108%, var(--color-ocean-wash-cyan), transparent 58%),
|
|
86
|
+
radial-gradient(520px 340px at 50% 46%, var(--color-ocean-wash-teal), transparent 70%);
|
|
87
|
+
mix-blend-mode: soft-light;
|
|
88
|
+
}
|