codexmate 0.0.9 → 0.0.12
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 +25 -6
- package/README.zh-CN.md +25 -6
- package/package.json +53 -36
- package/res/logo.png +0 -0
- package/{cli.js → src/cli.js} +822 -327
- package/src/lib/cli-file-utils.js +151 -0
- package/src/lib/cli-models-utils.js +152 -0
- package/src/lib/cli-network-utils.js +148 -0
- package/src/lib/cli-session-utils.js +121 -0
- package/src/lib/cli-utils.js +139 -0
- package/src/res/json5.min.js +1 -0
- package/src/res/logo.png +0 -0
- package/src/res/screenshot.png +0 -0
- package/src/res/vue.global.js +18552 -0
- package/src/web-ui/app.js +2970 -0
- package/src/web-ui/index.html +1310 -0
- package/src/web-ui/logic.mjs +157 -0
- package/src/web-ui/styles.css +2868 -0
- package/src/web-ui.html +17 -0
- package/web-ui/app.js +273 -144
- package/web-ui/index.html +1310 -0
- package/web-ui/logic.mjs +21 -21
- package/web-ui/styles.css +2868 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -27
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -17
- package/.github/workflows/ci.yml +0 -26
- package/.github/workflows/release.yml +0 -159
- package/.planning/.fix-attempts +0 -1
- package/.planning/.lock +0 -6
- package/.planning/.verify-cache.json +0 -14
- package/.planning/CHECKPOINT.json +0 -46
- package/.planning/DESIGN.md +0 -26
- package/.planning/HISTORY.json +0 -124
- package/.planning/PLAN.md +0 -69
- package/.planning/REVIEW.md +0 -41
- package/.planning/STATE.md +0 -12
- package/.planning/STATS.json +0 -13
- package/.planning/VERIFICATION.md +0 -70
- package/.planning/daude-code-plan.md +0 -51
- package/.planning/research/architecture.md +0 -32
- package/.planning/research/conventions.md +0 -36
- package/.planning/task_1-REVIEW.md +0 -29
- package/.planning/task_1-SUMMARY.md +0 -32
- package/.planning/task_2-REVIEW.md +0 -24
- package/.planning/task_2-SUMMARY.md +0 -37
- package/.planning/task_3-REVIEW.md +0 -25
- package/.planning/task_3-SUMMARY.md +0 -31
- package/cmd/publish-npm.cmd +0 -65
- package/tests/e2e/helpers.js +0 -214
- package/tests/e2e/recent-health.e2e.js +0 -142
- package/tests/e2e/run.js +0 -154
- package/tests/e2e/test-claude.js +0 -21
- package/tests/e2e/test-config.js +0 -124
- package/tests/e2e/test-health-speed.js +0 -79
- package/tests/e2e/test-openclaw.js +0 -47
- package/tests/e2e/test-session-search.js +0 -114
- package/tests/e2e/test-sessions.js +0 -69
- package/tests/e2e/test-setup.js +0 -159
- package/tests/unit/run.mjs +0 -29
- package/tests/unit/web-ui-logic.test.mjs +0 -186
- package/web-ui.html +0 -3977
- /package/{CHANGELOG.md → doc/CHANGELOG.md} +0 -0
- /package/{CHANGELOG.zh-CN.md → doc/CHANGELOG.zh-CN.md} +0 -0
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 = '
|
|
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,
|