codexmate 0.1.28 → 0.1.30

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.
Files changed (58) hide show
  1. package/README.md +53 -44
  2. package/README.vi.md +45 -36
  3. package/README.zh.md +51 -42
  4. package/cli/session-usage.js +2 -2
  5. package/cli/skills.js +33 -8
  6. package/cli.js +379 -19
  7. package/package.json +6 -1
  8. package/web-ui/app.js +12 -1
  9. package/web-ui/index.html +3 -2
  10. package/web-ui/logic.sessions.mjs +30 -4
  11. package/web-ui/modules/app.computed.dashboard.mjs +1 -1
  12. package/web-ui/modules/app.computed.session.mjs +52 -33
  13. package/web-ui/modules/app.methods.agents.mjs +36 -0
  14. package/web-ui/modules/app.methods.codex-config.mjs +3 -1
  15. package/web-ui/modules/app.methods.providers.mjs +12 -4
  16. package/web-ui/modules/app.methods.session-actions.mjs +10 -8
  17. package/web-ui/modules/app.methods.session-browser.mjs +8 -2
  18. package/web-ui/modules/app.methods.session-trash.mjs +16 -16
  19. package/web-ui/modules/app.methods.system-prompt.mjs +1 -8
  20. package/web-ui/modules/app.methods.theme.mjs +5 -4
  21. package/web-ui/modules/i18n/locales/en.mjs +80 -1
  22. package/web-ui/modules/i18n/locales/ja.mjs +80 -1
  23. package/web-ui/modules/i18n/locales/vi.mjs +80 -1
  24. package/web-ui/modules/i18n/locales/zh-tw.mjs +80 -1
  25. package/web-ui/modules/i18n/locales/zh.mjs +80 -1
  26. package/web-ui/modules/i18n.mjs +23 -0
  27. package/web-ui/modules/skills.computed.mjs +11 -0
  28. package/web-ui/modules/skills.methods.mjs +58 -8
  29. package/web-ui/partials/index/layout-footer.html +1 -1
  30. package/web-ui/partials/index/layout-header.html +32 -12
  31. package/web-ui/partials/index/modal-config-template-agents.html +1 -1
  32. package/web-ui/partials/index/modal-health-check.html +1 -1
  33. package/web-ui/partials/index/modal-openclaw-config.html +50 -50
  34. package/web-ui/partials/index/panel-dashboard.html +1 -1
  35. package/web-ui/partials/index/panel-market.html +23 -5
  36. package/web-ui/partials/index/panel-prompts.html +2 -2
  37. package/web-ui/partials/index/panel-sessions.html +52 -42
  38. package/web-ui/partials/index/panel-settings.html +6 -0
  39. package/web-ui/partials/index/panel-trash.html +3 -0
  40. package/web-ui/res/web-ui-render.precompiled.js +567 -439
  41. package/web-ui/session-helpers.mjs +3 -0
  42. package/web-ui/styles/base-theme.css +2 -2
  43. package/web-ui/styles/bridge-pool.css +1 -1
  44. package/web-ui/styles/feedback.css +26 -0
  45. package/web-ui/styles/layout-shell.css +66 -3
  46. package/web-ui/styles/navigation-panels.css +4 -10
  47. package/web-ui/styles/sessions-list.css +19 -1
  48. package/web-ui/styles/sessions-preview.css +88 -1
  49. package/web-ui/styles/sessions-toolbar-trash.css +2 -2
  50. package/web-ui/styles/settings-panel.css +1 -1
  51. package/web-ui/styles/skills-market.css +47 -0
  52. package/web-ui/styles/theme-dark-tokens.css +2 -2
  53. package/web-ui/styles/theme-dark.css +2 -2
  54. package/web-ui/styles/theme-ocean-tokens.css +88 -0
  55. package/web-ui/styles/theme-ocean.css +920 -0
  56. package/web-ui/styles/titles-cards.css +1 -1
  57. package/web-ui/styles/trash-panel.css +43 -6
  58. package/web-ui/styles.css +1 -0
@@ -38,7 +38,7 @@
38
38
  background: rgba(255, 255, 255, 0.48);
39
39
  border-radius: var(--radius-md);
40
40
  padding: 4px;
41
- margin-bottom: 14px;
41
+ margin-bottom: 12px;
42
42
  position: relative;
43
43
  box-shadow: var(--shadow-subtle);
44
44
  border: 1px solid var(--color-border-soft);
@@ -1,11 +1,37 @@
1
1
  /* 回收站面板 — 极简·本质 */
2
2
 
3
3
  .trash-panel-shell {
4
- max-width: 720px;
5
- margin: 0 auto;
6
- padding: 20px 0 40px;
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
- padding: 80px 20px;
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 14px;
85
+ padding: 0 0 12px;
56
86
  border-bottom: 1px solid var(--color-border-soft);
57
- margin-bottom: 14px;
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;
package/web-ui/styles.css CHANGED
@@ -24,3 +24,4 @@
24
24
  @import url('./styles/system-prompt.css');
25
25
  @import url('./styles/prompts-editor.css');
26
26
  @import url('./styles/theme-dark.css');
27
+ @import url('./styles/theme-ocean.css');