codexmate 0.0.10 → 0.0.13

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 (50) hide show
  1. package/README.md +52 -12
  2. package/README.zh-CN.md +52 -12
  3. package/cli.js +3491 -563
  4. package/{CHANGELOG.md → doc/CHANGELOG.md} +6 -0
  5. package/{CHANGELOG.zh-CN.md → doc/CHANGELOG.zh-CN.md} +6 -0
  6. package/lib/mcp-stdio.js +440 -0
  7. package/package.json +22 -2
  8. package/res/logo.png +0 -0
  9. package/web-ui/app.js +1171 -149
  10. package/web-ui/index.html +1605 -0
  11. package/web-ui/logic.mjs +21 -21
  12. package/web-ui/styles.css +3213 -0
  13. package/web-ui.html +7 -3967
  14. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -27
  15. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -17
  16. package/.github/workflows/ci.yml +0 -26
  17. package/.github/workflows/release.yml +0 -159
  18. package/.planning/.fix-attempts +0 -1
  19. package/.planning/.lock +0 -6
  20. package/.planning/.verify-cache.json +0 -14
  21. package/.planning/CHECKPOINT.json +0 -46
  22. package/.planning/DESIGN.md +0 -26
  23. package/.planning/HISTORY.json +0 -124
  24. package/.planning/PLAN.md +0 -69
  25. package/.planning/REVIEW.md +0 -41
  26. package/.planning/STATE.md +0 -12
  27. package/.planning/STATS.json +0 -13
  28. package/.planning/VERIFICATION.md +0 -70
  29. package/.planning/daude-code-plan.md +0 -51
  30. package/.planning/research/architecture.md +0 -32
  31. package/.planning/research/conventions.md +0 -36
  32. package/.planning/task_1-REVIEW.md +0 -29
  33. package/.planning/task_1-SUMMARY.md +0 -32
  34. package/.planning/task_2-REVIEW.md +0 -24
  35. package/.planning/task_2-SUMMARY.md +0 -37
  36. package/.planning/task_3-REVIEW.md +0 -25
  37. package/.planning/task_3-SUMMARY.md +0 -31
  38. package/cmd/publish-npm.cmd +0 -65
  39. package/tests/e2e/helpers.js +0 -214
  40. package/tests/e2e/recent-health.e2e.js +0 -142
  41. package/tests/e2e/run.js +0 -154
  42. package/tests/e2e/test-claude.js +0 -21
  43. package/tests/e2e/test-config.js +0 -124
  44. package/tests/e2e/test-health-speed.js +0 -79
  45. package/tests/e2e/test-openclaw.js +0 -47
  46. package/tests/e2e/test-session-search.js +0 -114
  47. package/tests/e2e/test-sessions.js +0 -69
  48. package/tests/e2e/test-setup.js +0 -159
  49. package/tests/unit/run.mjs +0 -29
  50. package/tests/unit/web-ui-logic.test.mjs +0 -186
package/web-ui/logic.mjs CHANGED
@@ -126,27 +126,27 @@ export function buildSpeedTestIssue(name, result) {
126
126
  return null;
127
127
  }
128
128
 
129
- // Session filtering helpers
130
- export function isSessionQueryEnabled(source) {
131
- const normalized = (source || '').toLowerCase();
132
- return normalized === 'codex' || normalized === 'claude';
133
- }
134
-
135
- export function buildSessionListParams(options = {}) {
136
- const {
137
- source = 'codex',
138
- pathFilter = '',
139
- query = '',
140
- roleFilter = 'all',
141
- timeRangePreset = 'all',
142
- limit = 200
143
- } = options;
144
- const queryValue = isSessionQueryEnabled(source) ? query : '';
145
- return {
146
- source,
147
- pathFilter,
148
- query: queryValue,
149
- queryMode: 'and',
129
+ // Session filtering helpers
130
+ export function isSessionQueryEnabled(source) {
131
+ const normalized = (source || '').toLowerCase();
132
+ return normalized === 'codex' || normalized === 'claude' || normalized === 'all';
133
+ }
134
+
135
+ export function buildSessionListParams(options = {}) {
136
+ const {
137
+ source = 'all',
138
+ pathFilter = '',
139
+ query = '',
140
+ roleFilter = 'all',
141
+ timeRangePreset = 'all',
142
+ limit = 200
143
+ } = options;
144
+ const queryValue = isSessionQueryEnabled(source) ? query : '';
145
+ return {
146
+ source,
147
+ pathFilter,
148
+ query: queryValue,
149
+ queryMode: 'and',
150
150
  queryScope: 'content',
151
151
  contentScanLimit: 50,
152
152
  roleFilter,