codexmate 0.0.22 → 0.0.24

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 (66) hide show
  1. package/README.md +5 -3
  2. package/README.zh.md +8 -5
  3. package/cli/auth-profiles.js +23 -7
  4. package/cli/doctor-core.js +903 -0
  5. package/cli/import-skills-url.js +334 -0
  6. package/cli.js +304 -208
  7. package/lib/cli-models-utils.js +0 -40
  8. package/lib/cli-network-utils.js +28 -2
  9. package/package.json +5 -2
  10. package/plugins/README.md +20 -0
  11. package/plugins/README.zh-CN.md +20 -0
  12. package/plugins/prompt-templates/comment-polish/index.mjs +25 -0
  13. package/plugins/prompt-templates/computed.mjs +253 -0
  14. package/plugins/prompt-templates/index.mjs +8 -0
  15. package/plugins/prompt-templates/manifest.mjs +15 -0
  16. package/plugins/prompt-templates/methods.mjs +619 -0
  17. package/plugins/prompt-templates/overview.mjs +90 -0
  18. package/plugins/prompt-templates/ownership.mjs +19 -0
  19. package/plugins/prompt-templates/rule-ack/index.mjs +21 -0
  20. package/plugins/prompt-templates/storage.mjs +64 -0
  21. package/plugins/registry.mjs +16 -0
  22. package/res/logo-pack.webp +0 -0
  23. package/web-ui/app.js +68 -34
  24. package/web-ui/index.html +4 -3
  25. package/web-ui/modules/app.computed.dashboard.mjs +22 -22
  26. package/web-ui/modules/app.computed.main-tabs.mjs +9 -2
  27. package/web-ui/modules/app.methods.agents.mjs +91 -3
  28. package/web-ui/modules/app.methods.codex-config.mjs +153 -164
  29. package/web-ui/modules/app.methods.install.mjs +16 -0
  30. package/web-ui/modules/app.methods.navigation.mjs +76 -0
  31. package/web-ui/modules/app.methods.runtime.mjs +24 -2
  32. package/web-ui/modules/app.methods.session-browser.mjs +73 -1
  33. package/web-ui/modules/app.methods.startup-claude.mjs +12 -0
  34. package/web-ui/modules/app.methods.task-orchestration.mjs +96 -11
  35. package/web-ui/modules/config-mode.computed.mjs +1 -3
  36. package/web-ui/modules/i18n.dict.mjs +2039 -0
  37. package/web-ui/modules/i18n.mjs +2 -1555
  38. package/web-ui/modules/plugins.computed.mjs +2 -219
  39. package/web-ui/modules/plugins.methods.mjs +2 -619
  40. package/web-ui/modules/plugins.storage.mjs +11 -37
  41. package/web-ui/modules/sessions-filters-url.mjs +85 -0
  42. package/web-ui/partials/index/layout-header.html +38 -34
  43. package/web-ui/partials/index/modal-config-template-agents.html +3 -4
  44. package/web-ui/partials/index/modal-health-check.html +33 -60
  45. package/web-ui/partials/index/panel-config-claude.html +56 -15
  46. package/web-ui/partials/index/panel-config-codex.html +68 -19
  47. package/web-ui/partials/index/panel-config-openclaw.html +8 -3
  48. package/web-ui/partials/index/panel-dashboard.html +186 -0
  49. package/web-ui/partials/index/panel-docs.html +1 -1
  50. package/web-ui/partials/index/panel-market.html +3 -0
  51. package/web-ui/partials/index/panel-orchestration.html +105 -111
  52. package/web-ui/partials/index/panel-plugins.html +48 -12
  53. package/web-ui/partials/index/panel-sessions.html +12 -3
  54. package/web-ui/partials/index/panel-settings.html +1 -1
  55. package/web-ui/partials/index/panel-usage.html +7 -6
  56. package/web-ui/styles/controls-forms.css +16 -2
  57. package/web-ui/styles/dashboard.css +274 -0
  58. package/web-ui/styles/layout-shell.css +11 -5
  59. package/web-ui/styles/navigation-panels.css +8 -0
  60. package/web-ui/styles/plugins-panel.css +5 -0
  61. package/web-ui/styles/sessions-list.css +3 -3
  62. package/web-ui/styles/sessions-usage.css +37 -0
  63. package/web-ui/styles/skills-market.css +12 -2
  64. package/web-ui/styles/task-orchestration.css +57 -11
  65. package/web-ui/styles.css +1 -0
  66. package/res/logo.png +0 -0
@@ -500,6 +500,43 @@
500
500
  min-width: 0;
501
501
  }
502
502
 
503
+ .usage-list-scroll {
504
+ max-height: 220px;
505
+ overflow-y: auto;
506
+ padding-right: 6px;
507
+ scrollbar-gutter: stable;
508
+ scrollbar-width: thin;
509
+ scrollbar-color: rgba(199, 116, 98, 0.72) rgba(199, 116, 98, 0.08);
510
+ }
511
+
512
+ .usage-list-top-paths {
513
+ max-height: 140px;
514
+ gap: 6px;
515
+ }
516
+
517
+ .usage-card-top-paths {
518
+ grid-column: 1 / -1;
519
+ }
520
+
521
+ .usage-list-scroll::-webkit-scrollbar {
522
+ width: 10px;
523
+ }
524
+
525
+ .usage-list-scroll::-webkit-scrollbar-track {
526
+ background: linear-gradient(180deg, rgba(199, 116, 98, 0.04), rgba(199, 116, 98, 0.1));
527
+ border-radius: 999px;
528
+ }
529
+
530
+ .usage-list-scroll::-webkit-scrollbar-thumb {
531
+ background: linear-gradient(180deg, rgba(199, 116, 98, 0.68), rgba(180, 94, 78, 0.92));
532
+ border-radius: 999px;
533
+ border: 2px solid rgba(248, 243, 238, 0.96);
534
+ }
535
+
536
+ .usage-list-scroll::-webkit-scrollbar-thumb:hover {
537
+ background: linear-gradient(180deg, rgba(199, 116, 98, 0.82), rgba(180, 94, 78, 1));
538
+ }
539
+
503
540
  .usage-list-row {
504
541
  display: grid;
505
542
  grid-template-columns: minmax(56px, 72px) minmax(0, 1fr) minmax(48px, auto);
@@ -215,11 +215,12 @@
215
215
 
216
216
  .market-overview-header {
217
217
  gap: var(--spacing-sm);
218
- align-items: flex-start;
218
+ align-items: center;
219
219
  }
220
220
 
221
221
  .market-header-actions {
222
- flex-wrap: wrap;
222
+ flex-wrap: nowrap;
223
+ align-items: center;
223
224
  }
224
225
 
225
226
  /* 缩减顶部操作按钮尺寸(刷新概览 / 打开 Skills 管理),并确保两者对齐 */
@@ -236,6 +237,15 @@
236
237
  justify-content: center;
237
238
  }
238
239
 
240
+ @media (max-width: 720px) {
241
+ .market-overview-header {
242
+ align-items: flex-start;
243
+ }
244
+ .market-header-actions {
245
+ flex-wrap: wrap;
246
+ }
247
+ }
248
+
239
249
  .market-target-switch {
240
250
  display: flex;
241
251
  flex-wrap: wrap;
@@ -62,10 +62,6 @@
62
62
  align-self: flex-start;
63
63
  }
64
64
 
65
- .task-hero-actions > .btn-tool-compact {
66
- min-width: 108px;
67
- }
68
-
69
65
  .task-hero-actions > .btn-tool + .btn-tool,
70
66
  .task-hero-actions > .btn-tool-compact + .btn-tool,
71
67
  .task-hero-actions > .btn-tool + .btn-tool-compact,
@@ -73,6 +69,31 @@
73
69
  margin-top: 0;
74
70
  }
75
71
 
72
+ .task-section-header .task-header-actions > .btn-tool + .btn-tool,
73
+ .task-section-header .task-header-actions > .btn-tool-compact + .btn-tool,
74
+ .task-section-header .task-header-actions > .btn-tool + .btn-tool-compact,
75
+ .task-section-header .task-header-actions > .btn-tool-compact + .btn-tool-compact {
76
+ margin-top: 0;
77
+ }
78
+
79
+ .task-action-row > .btn-tool + .btn-tool,
80
+ .task-action-row > .btn-tool-compact + .btn-tool,
81
+ .task-action-row > .btn-tool + .btn-tool-compact,
82
+ .task-action-row > .btn-tool-compact + .btn-tool-compact,
83
+ .task-action-row-right > .btn-tool + .btn-tool,
84
+ .task-action-row-right > .btn-tool-compact + .btn-tool,
85
+ .task-action-row-right > .btn-tool + .btn-tool-compact,
86
+ .task-action-row-right > .btn-tool-compact + .btn-tool-compact {
87
+ margin-top: 0;
88
+ }
89
+
90
+ .task-detail-toolbar > .btn-tool + .btn-tool,
91
+ .task-detail-toolbar > .btn-tool-compact + .btn-tool,
92
+ .task-detail-toolbar > .btn-tool + .btn-tool-compact,
93
+ .task-detail-toolbar > .btn-tool-compact + .btn-tool-compact {
94
+ margin-top: 0;
95
+ }
96
+
76
97
  .task-hero-meta-strip {
77
98
  display: flex;
78
99
  flex-wrap: wrap;
@@ -230,6 +251,10 @@
230
251
  align-items: stretch;
231
252
  }
232
253
 
254
+ .task-composer-grid-inline {
255
+ grid-template-columns: repeat(2, minmax(0, 1fr));
256
+ }
257
+
233
258
  .task-field-wide {
234
259
  grid-column: 1 / -1;
235
260
  }
@@ -401,11 +426,33 @@
401
426
  }
402
427
 
403
428
  .task-advanced-summary {
429
+ display: flex;
430
+ align-items: center;
431
+ justify-content: space-between;
404
432
  cursor: pointer;
405
433
  font-size: 13px;
406
434
  font-weight: 700;
407
435
  color: var(--color-text-primary);
408
436
  list-style: none;
437
+ min-height: 36px;
438
+ padding: 0 10px;
439
+ border-radius: 12px;
440
+ background: rgba(255, 255, 255, 0.64);
441
+ border: 1px solid var(--color-border-soft);
442
+ transition:
443
+ border-color var(--transition-fast) var(--ease-smooth),
444
+ background var(--transition-fast) var(--ease-smooth),
445
+ box-shadow var(--transition-fast) var(--ease-smooth);
446
+ }
447
+
448
+ .task-advanced-summary:hover {
449
+ border-color: var(--color-border-strong);
450
+ background: rgba(255, 255, 255, 0.86);
451
+ }
452
+
453
+ .task-advanced-panel[open] > .task-advanced-summary {
454
+ border-color: rgba(199, 116, 98, 0.4);
455
+ box-shadow: var(--shadow-subtle);
409
456
  }
410
457
 
411
458
  .task-advanced-summary::-webkit-details-marker {
@@ -471,11 +518,10 @@
471
518
  }
472
519
 
473
520
  .task-action-row > .btn-tool,
474
- .task-section-header .settings-tab-actions > .btn-tool-compact,
475
- .task-action-row-right > .btn-tool,
476
- .task-detail-toolbar > .btn-tool-compact {
477
- min-height: 38px;
478
- height: 38px;
521
+ .task-action-row-right > .btn-tool {
522
+ width: auto;
523
+ min-height: 36px;
524
+ height: 36px;
479
525
  display: inline-flex;
480
526
  align-items: center;
481
527
  justify-content: center;
@@ -483,7 +529,7 @@
483
529
  }
484
530
 
485
531
  .task-action-preview {
486
- min-width: 110px;
532
+ min-width: 104px;
487
533
  }
488
534
 
489
535
  .task-action-row-right {
@@ -493,7 +539,7 @@
493
539
  }
494
540
 
495
541
  .task-action-row-right-prominent > .btn-tool {
496
- min-width: 110px;
542
+ min-width: 104px;
497
543
  }
498
544
 
499
545
  .task-action-help-prominent,
package/web-ui/styles.css CHANGED
@@ -8,6 +8,7 @@
8
8
  @import url('./styles/sessions-list.css');
9
9
  @import url('./styles/sessions-preview.css');
10
10
  @import url('./styles/sessions-usage.css');
11
+ @import url('./styles/dashboard.css');
11
12
  @import url('./styles/task-orchestration.css');
12
13
  @import url('./styles/modals-core.css');
13
14
  @import url('./styles/health-check-dialog.css');
package/res/logo.png DELETED
Binary file