codexmate 0.1.32 → 0.1.33
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 +5 -0
- package/README.vi.md +5 -0
- package/README.zh.md +5 -0
- package/cli/claude-proxy.js +2 -2
- package/cli/prompt-history.js +2 -0
- package/cli.js +165 -213
- package/lib/cli-config-engine.js +6 -1
- package/lib/cli-file-utils.js +6 -1
- package/lib/config-change-fs.js +132 -0
- package/lib/config-changes.js +293 -0
- package/lib/handoff-mcp.js +18 -2
- package/lib/local-feature-store.js +39 -0
- package/lib/session-bookmarks.js +72 -0
- package/lib/session-context-health.js +23 -3
- package/lib/session-diagnostics.js +75 -0
- package/lib/session-feature-settings.js +21 -0
- package/lib/session-features.js +63 -0
- package/lib/session-handoff-draft.js +43 -0
- package/lib/session-projects.js +76 -0
- package/lib/session-search-index.js +188 -0
- package/lib/thread-handoff.js +8 -0
- package/lib/web-server.js +216 -0
- package/package.json +1 -1
- package/web-ui/app.js +7 -1
- package/web-ui/index.html +1 -0
- package/web-ui/logic.context-window.mjs +15 -0
- package/web-ui/modules/api.mjs +72 -39
- package/web-ui/modules/app.methods.agents.mjs +5 -0
- package/web-ui/modules/app.methods.claude-config.mjs +2 -0
- package/web-ui/modules/app.methods.codex-config.mjs +9 -0
- package/web-ui/modules/app.methods.config-changes.mjs +124 -0
- package/web-ui/modules/app.methods.kilocode-config.mjs +2 -0
- package/web-ui/modules/app.methods.openclaw-persist.mjs +2 -0
- package/web-ui/modules/app.methods.opencode-config.mjs +2 -0
- package/web-ui/modules/app.methods.pi-config.mjs +12 -3
- package/web-ui/modules/app.methods.provider-cache.mjs +9 -3
- package/web-ui/modules/app.methods.providers.mjs +6 -0
- package/web-ui/modules/app.methods.startup-claude.mjs +8 -47
- package/web-ui/modules/config-change-actions.mjs +9 -0
- package/web-ui/modules/i18n/locales/en.mjs +131 -4
- package/web-ui/modules/i18n/locales/ja.mjs +131 -4
- package/web-ui/modules/i18n/locales/vi.mjs +131 -4
- package/web-ui/modules/i18n/locales/zh-tw.mjs +131 -4
- package/web-ui/modules/i18n/locales/zh.mjs +131 -4
- package/web-ui/modules/request-deadline.mjs +33 -0
- package/web-ui/modules/session-features.mjs +279 -0
- package/web-ui/modules/thread-handoff.mjs +1 -1
- package/web-ui/partials/index/config-changes.html +25 -0
- package/web-ui/partials/index/context-window-reference.html +17 -0
- package/web-ui/partials/index/layout-header.html +7 -30
- package/web-ui/partials/index/modal-openclaw-config.html +0 -2
- package/web-ui/partials/index/modal-skills.html +0 -1
- package/web-ui/partials/index/modals-basic.html +0 -8
- package/web-ui/partials/index/modals-pi-provider.html +0 -1
- package/web-ui/partials/index/panel-config-codex.html +0 -3
- package/web-ui/partials/index/panel-config-openclaw.html +16 -13
- package/web-ui/partials/index/panel-dashboard.html +0 -2
- package/web-ui/partials/index/panel-plugins.html +0 -1
- package/web-ui/partials/index/panel-prompts.html +0 -1
- package/web-ui/partials/index/panel-sessions.html +9 -0
- package/web-ui/partials/index/panel-settings.html +1 -12
- package/web-ui/partials/index/panel-trash.html +0 -1
- package/web-ui/partials/index/session-diagnostics.html +29 -0
- package/web-ui/partials/index/session-features.html +107 -0
- package/web-ui/partials/index/thread-handoff.html +6 -3
- package/web-ui/res/web-ui-render.precompiled.js +1077 -135
- package/web-ui/styles/config-changes.css +30 -0
- package/web-ui/styles/openclaw-structured.css +205 -189
- package/web-ui/styles/session-features.css +148 -0
- package/web-ui/styles.css +3 -1
|
@@ -160,6 +160,7 @@ export function createOpencodeConfigMethods(options = {}) {
|
|
|
160
160
|
this.opencodeError = '';
|
|
161
161
|
try {
|
|
162
162
|
const res = await api('apply-opencode-config', { content: this.opencodeContent });
|
|
163
|
+
if (res && res.canceled) return;
|
|
163
164
|
if (res && res.error) {
|
|
164
165
|
this.opencodeError = res.error;
|
|
165
166
|
this.showMessage(res.error, 'error');
|
|
@@ -205,6 +206,7 @@ export function createOpencodeConfigMethods(options = {}) {
|
|
|
205
206
|
maxTokens: this.opencodeMaxTokens,
|
|
206
207
|
reasoningEffort: this.opencodeReasoningEffort
|
|
207
208
|
});
|
|
209
|
+
if (res && res.canceled) return;
|
|
208
210
|
if (res && res.error) {
|
|
209
211
|
this.opencodeError = res.error;
|
|
210
212
|
this.showMessage(res.error, 'error');
|
|
@@ -58,6 +58,7 @@ export function createPiConfigMethods({ api: apiClient }) {
|
|
|
58
58
|
else updates.defaultModel = '';
|
|
59
59
|
try {
|
|
60
60
|
const result = await apiClient('write-pi-settings', updates);
|
|
61
|
+
if (result && result.canceled) return;
|
|
61
62
|
if (result && result.error) throw new Error(result.error);
|
|
62
63
|
await this.loadPiSettings();
|
|
63
64
|
this.message = '已切换为使用该供应商';
|
|
@@ -75,7 +76,8 @@ export function createPiConfigMethods({ api: apiClient }) {
|
|
|
75
76
|
const existing = providers[providerId] || {};
|
|
76
77
|
const updated = { ...providers };
|
|
77
78
|
delete updated[providerId];
|
|
78
|
-
await this.savePiProviders(updated);
|
|
79
|
+
const result = await this.savePiProviders(updated);
|
|
80
|
+
if (result && (result.canceled || result.error)) return result;
|
|
79
81
|
return { success: true, provider: existing };
|
|
80
82
|
},
|
|
81
83
|
async persistPiProvider(providerId, values) {
|
|
@@ -137,7 +139,9 @@ export function createPiConfigMethods({ api: apiClient }) {
|
|
|
137
139
|
merged.id = providerId;
|
|
138
140
|
if (merged.name === undefined) merged.name = providerId;
|
|
139
141
|
}
|
|
140
|
-
await this.persistPiProvider(providerId, merged);
|
|
142
|
+
const result = await this.persistPiProvider(providerId, merged);
|
|
143
|
+
if (result && result.canceled) return;
|
|
144
|
+
if (result && result.error) throw new Error(result.error);
|
|
141
145
|
this.piProviders = { ...this.piProviders, [providerId]: merged };
|
|
142
146
|
this.piProviderIds = Object.keys(this.piProviders).sort();
|
|
143
147
|
this.resetPiProviderEditing();
|
|
@@ -421,7 +425,9 @@ export function createPiConfigMethods({ api: apiClient }) {
|
|
|
421
425
|
danger: true
|
|
422
426
|
});
|
|
423
427
|
if (!confirmed) return;
|
|
424
|
-
await this.removePiProvider(providerId);
|
|
428
|
+
const result = await this.removePiProvider(providerId);
|
|
429
|
+
if (result && result.canceled) return;
|
|
430
|
+
if (result && result.error) { this.message = result.error; this.messageType = 'error'; return; }
|
|
425
431
|
const updated = { ...this.piProviders };
|
|
426
432
|
delete updated[providerId];
|
|
427
433
|
this.piProviders = updated;
|
|
@@ -486,6 +492,7 @@ export function createPiConfigMethods({ api: apiClient }) {
|
|
|
486
492
|
this.piFileJsonSaving = true;
|
|
487
493
|
try {
|
|
488
494
|
const result = await apiClient('write-pi-settings', { settings: parsed.value });
|
|
495
|
+
if (result && result.canceled) return;
|
|
489
496
|
if (result && result.error) throw new Error(result.error);
|
|
490
497
|
this.piSettingsJsonError = '';
|
|
491
498
|
this.piSettingsJsonDraft = JSON.stringify(parsed.value, null, 2);
|
|
@@ -511,6 +518,7 @@ export function createPiConfigMethods({ api: apiClient }) {
|
|
|
511
518
|
this.piFileJsonSaving = true;
|
|
512
519
|
try {
|
|
513
520
|
const result = await apiClient('write-pi-models', { file: parsed.value });
|
|
521
|
+
if (result && result.canceled) return;
|
|
514
522
|
if (result && result.error) throw new Error(result.error);
|
|
515
523
|
await this.loadPiSources();
|
|
516
524
|
this.message = 'models.json 已保存';
|
|
@@ -640,6 +648,7 @@ export function createPiConfigMethods({ api: apiClient }) {
|
|
|
640
648
|
this.piHistoryApplying = true;
|
|
641
649
|
try {
|
|
642
650
|
const res = await api('apply-pi-config-history', { target: this.piHistoryTarget, id: this.piHistoryPreviewId });
|
|
651
|
+
if (res && res.canceled) return;
|
|
643
652
|
if (res && res.error) {
|
|
644
653
|
this.showMessage(res.error, 'error');
|
|
645
654
|
return;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { withRequestDeadline } from './request-deadline.mjs';
|
|
2
|
+
|
|
1
3
|
export function createProviderCacheMethods(options = {}) {
|
|
2
|
-
const { api } = options;
|
|
4
|
+
const { api, cacheLoadTimeoutMs = 6000 } = options;
|
|
3
5
|
|
|
4
6
|
return {
|
|
5
7
|
async openProviderCacheModal(options = {}) {
|
|
@@ -41,7 +43,10 @@ export function createProviderCacheMethods(options = {}) {
|
|
|
41
43
|
}
|
|
42
44
|
this.providerCacheError = '';
|
|
43
45
|
try {
|
|
44
|
-
const res = await
|
|
46
|
+
const res = await withRequestDeadline(
|
|
47
|
+
signal => api('get-provider-cache-records', {}, { signal }),
|
|
48
|
+
{ timeoutMs: cacheLoadTimeoutMs }
|
|
49
|
+
);
|
|
45
50
|
if (!isLatestRequest()) return;
|
|
46
51
|
if (res && res.error) {
|
|
47
52
|
this.providerCacheError = res.error;
|
|
@@ -52,7 +57,8 @@ export function createProviderCacheMethods(options = {}) {
|
|
|
52
57
|
this.providerCacheLoadedAt = this.providerCacheRecords.generatedAt || new Date().toISOString();
|
|
53
58
|
} catch (e) {
|
|
54
59
|
if (!isLatestRequest()) return;
|
|
55
|
-
this.providerCacheError = e && e.message
|
|
60
|
+
this.providerCacheError = e && e.message && e.name !== 'TimeoutError'
|
|
61
|
+
? e.message : this.t('modal.providerCache.loadFailed');
|
|
56
62
|
} finally {
|
|
57
63
|
if (isLatestRequest() && !background) {
|
|
58
64
|
this.providerCacheLoading = false;
|
|
@@ -189,6 +189,7 @@ export function createProvidersMethods(options = {}) {
|
|
|
189
189
|
}
|
|
190
190
|
const suggestedModel = validation.model;
|
|
191
191
|
const res = await api('add-provider', payload);
|
|
192
|
+
if (res && res.canceled) return;
|
|
192
193
|
if (res.error) {
|
|
193
194
|
this.showMessage(res.error, 'error');
|
|
194
195
|
return;
|
|
@@ -284,6 +285,7 @@ export function createProvidersMethods(options = {}) {
|
|
|
284
285
|
}
|
|
285
286
|
try {
|
|
286
287
|
const res = await api('delete-provider', { name });
|
|
288
|
+
if (res && res.canceled) return;
|
|
287
289
|
if (res.error) {
|
|
288
290
|
this.showMessage(res.error, 'error');
|
|
289
291
|
return;
|
|
@@ -438,6 +440,7 @@ export function createProvidersMethods(options = {}) {
|
|
|
438
440
|
}
|
|
439
441
|
try {
|
|
440
442
|
const res = await api('update-provider', params);
|
|
443
|
+
if (res && res.canceled) return;
|
|
441
444
|
if (res.error) {
|
|
442
445
|
this.showMessage(res.error, 'error');
|
|
443
446
|
return;
|
|
@@ -490,6 +493,7 @@ export function createProvidersMethods(options = {}) {
|
|
|
490
493
|
this.resetConfigLoading = true;
|
|
491
494
|
try {
|
|
492
495
|
const res = await api('reset-config');
|
|
496
|
+
if (res && res.canceled) return;
|
|
493
497
|
if (res.error) {
|
|
494
498
|
this.showMessage(res.error, 'error');
|
|
495
499
|
return;
|
|
@@ -511,6 +515,7 @@ export function createProvidersMethods(options = {}) {
|
|
|
511
515
|
try {
|
|
512
516
|
const modelName = this.newModelName.trim();
|
|
513
517
|
const res = await api('add-model', { model: modelName });
|
|
518
|
+
if (res && res.canceled) return;
|
|
514
519
|
if (res.error) {
|
|
515
520
|
this.showMessage(res.error, 'error');
|
|
516
521
|
} else {
|
|
@@ -538,6 +543,7 @@ export function createProvidersMethods(options = {}) {
|
|
|
538
543
|
async removeModel(model) {
|
|
539
544
|
try {
|
|
540
545
|
const res = await api('delete-model', { model });
|
|
546
|
+
if (res && res.canceled) return;
|
|
541
547
|
if (res.error) {
|
|
542
548
|
this.showMessage(res.error, 'error');
|
|
543
549
|
} else {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { withRequestDeadline } from './request-deadline.mjs';
|
|
1
2
|
import {
|
|
2
3
|
findDuplicateClaudeConfigName,
|
|
3
4
|
getClaudeModelCatalogForBaseUrl,
|
|
@@ -29,6 +30,7 @@ function shouldSuppressDeletedClaudeSettingsImport(env = {}, deletedEntries = []
|
|
|
29
30
|
export function createStartupClaudeMethods(options = {}) {
|
|
30
31
|
const {
|
|
31
32
|
api,
|
|
33
|
+
configLoadTimeoutMs = 6000,
|
|
32
34
|
defaultModelContextWindow = 190000,
|
|
33
35
|
defaultModelAutoCompactTokenLimit = 185000
|
|
34
36
|
} = options;
|
|
@@ -41,26 +43,6 @@ export function createStartupClaudeMethods(options = {}) {
|
|
|
41
43
|
}
|
|
42
44
|
const preserveLoading = !!options.preserveLoading;
|
|
43
45
|
const run = async () => {
|
|
44
|
-
const configLoadTimeoutMs = 6000;
|
|
45
|
-
const withTimeout = async (promise, ms) => {
|
|
46
|
-
const timeoutMs = Number.isFinite(Number(ms)) ? Math.max(0, Number(ms)) : 0;
|
|
47
|
-
if (!timeoutMs) {
|
|
48
|
-
return promise;
|
|
49
|
-
}
|
|
50
|
-
let timer = null;
|
|
51
|
-
try {
|
|
52
|
-
return await Promise.race([
|
|
53
|
-
promise,
|
|
54
|
-
new Promise((_, reject) => {
|
|
55
|
-
timer = setTimeout(() => reject(new Error('timeout')), timeoutMs);
|
|
56
|
-
})
|
|
57
|
-
]);
|
|
58
|
-
} finally {
|
|
59
|
-
if (timer) {
|
|
60
|
-
clearTimeout(timer);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
46
|
if (!preserveLoading) {
|
|
65
47
|
this.loading = true;
|
|
66
48
|
}
|
|
@@ -68,12 +50,12 @@ export function createStartupClaudeMethods(options = {}) {
|
|
|
68
50
|
const startedAt = Date.now();
|
|
69
51
|
const timeLeftMs = () => configLoadTimeoutMs - (Date.now() - startedAt);
|
|
70
52
|
try {
|
|
71
|
-
const statusRes = await
|
|
53
|
+
const statusRes = await withRequestDeadline(signal => api('status', {}, { signal }), { timeoutMs: Math.max(0, timeLeftMs()) });
|
|
72
54
|
if (statusRes && statusRes.error) {
|
|
73
55
|
this.initError = statusRes.error;
|
|
74
56
|
return false;
|
|
75
57
|
}
|
|
76
|
-
const listRes = await
|
|
58
|
+
const listRes = await withRequestDeadline(signal => api('list', {}, { signal }), { timeoutMs: Math.max(0, timeLeftMs()) });
|
|
77
59
|
if (listRes && listRes.error) {
|
|
78
60
|
this.initError = listRes.error;
|
|
79
61
|
return false;
|
|
@@ -91,7 +73,7 @@ export function createStartupClaudeMethods(options = {}) {
|
|
|
91
73
|
: '';
|
|
92
74
|
this.currentModel = dictModelForCurrent || statusRes.model;
|
|
93
75
|
try {
|
|
94
|
-
const installRes = await
|
|
76
|
+
const installRes = await withRequestDeadline(signal => api('install-status', {}, { signal }), { timeoutMs: Math.max(0, Math.min(1200, timeLeftMs())) });
|
|
95
77
|
if (installRes && !installRes.error) {
|
|
96
78
|
const targets = Array.isArray(installRes.targets) ? installRes.targets : null;
|
|
97
79
|
if (targets) {
|
|
@@ -162,9 +144,8 @@ export function createStartupClaudeMethods(options = {}) {
|
|
|
162
144
|
this.maybeShowStarPrompt();
|
|
163
145
|
return true;
|
|
164
146
|
} catch (e) {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
}
|
|
147
|
+
this.initError = e && e.message === 'timeout'
|
|
148
|
+
? '读取配置超时' : '连接失败: ' + (e && e.message || '');
|
|
168
149
|
return false;
|
|
169
150
|
} finally {
|
|
170
151
|
if (!preserveLoading) {
|
|
@@ -340,28 +321,8 @@ export function createStartupClaudeMethods(options = {}) {
|
|
|
340
321
|
const silent = !!options.silent;
|
|
341
322
|
const silentModelError = !!options.silentModelError || silent;
|
|
342
323
|
const run = async () => {
|
|
343
|
-
const configLoadTimeoutMs = 6000;
|
|
344
|
-
const withTimeout = async (promise, ms) => {
|
|
345
|
-
const timeoutMs = Number.isFinite(Number(ms)) ? Math.max(0, Number(ms)) : 0;
|
|
346
|
-
if (!timeoutMs) {
|
|
347
|
-
return promise;
|
|
348
|
-
}
|
|
349
|
-
let timer = null;
|
|
350
|
-
try {
|
|
351
|
-
return await Promise.race([
|
|
352
|
-
promise,
|
|
353
|
-
new Promise((_, reject) => {
|
|
354
|
-
timer = setTimeout(() => reject(new Error('timeout')), timeoutMs);
|
|
355
|
-
})
|
|
356
|
-
]);
|
|
357
|
-
} finally {
|
|
358
|
-
if (timer) {
|
|
359
|
-
clearTimeout(timer);
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
};
|
|
363
324
|
try {
|
|
364
|
-
const res = await
|
|
325
|
+
const res = await withRequestDeadline(signal => api('get-claude-settings', {}, { signal }), { timeoutMs: configLoadTimeoutMs });
|
|
365
326
|
if (res && res.error) {
|
|
366
327
|
if (!silent) {
|
|
367
328
|
this.showMessage('读取配置失败', 'error');
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Keep this contract aligned with CONFIG_CHANGE_ACTIONS in cli.js.
|
|
2
|
+
export const CONFIG_CHANGE_ACTIONS = Object.freeze({
|
|
3
|
+
'apply-config-template': 'codex', 'add-provider': 'codex', 'update-provider': 'codex',
|
|
4
|
+
'delete-provider': 'codex', 'reset-config': 'codex', 'add-model': 'codex', 'delete-model': 'codex',
|
|
5
|
+
'apply-claude-settings-raw': 'claude', 'apply-claude-config': 'claude',
|
|
6
|
+
'apply-opencode-config': 'opencode', 'update-opencode-selection': 'opencode',
|
|
7
|
+
'apply-kilocode-config': 'kilocode', 'apply-openclaw-config': 'openclaw',
|
|
8
|
+
'write-pi-models': 'pi', 'write-pi-settings': 'pi', 'apply-pi-config-history': 'pi'
|
|
9
|
+
});
|
|
@@ -1,4 +1,135 @@
|
|
|
1
1
|
const en = Object.freeze({
|
|
2
|
+
"features.searchScope": "Search scope",
|
|
3
|
+
"features.moreFilters": "More filters",
|
|
4
|
+
"features.bookmarkHint": "Use the bookmark icon beside a message to keep useful excerpts.",
|
|
5
|
+
"features.localCheck": "Local configuration",
|
|
6
|
+
"features.providerCheck": "Current Codex route",
|
|
7
|
+
"features.technicalDetails": "Technical details",
|
|
8
|
+
"features.windowReference": "Model window reference",
|
|
9
|
+
"features.windowSettings": "Set model window",
|
|
10
|
+
"features.rebuildIndex": "Rebuild index",
|
|
11
|
+
"features.title": "Session tools",
|
|
12
|
+
"features.bookmarks": "Bookmarks",
|
|
13
|
+
"features.bookmark": "Bookmark message",
|
|
14
|
+
"features.unbookmark": "Remove bookmark",
|
|
15
|
+
"features.search": "Search",
|
|
16
|
+
"features.tag": "Filter tag",
|
|
17
|
+
"features.tags": "Tags (comma-separated)",
|
|
18
|
+
"features.projectPath": "Absolute project path",
|
|
19
|
+
"features.loading": "Loading…",
|
|
20
|
+
"features.empty": "No results in this scope",
|
|
21
|
+
"features.source": "View source",
|
|
22
|
+
"features.edit": "Edit note",
|
|
23
|
+
"features.note": "Note",
|
|
24
|
+
"features.save": "Save",
|
|
25
|
+
"features.cancel": "Cancel",
|
|
26
|
+
"features.close": "Close",
|
|
27
|
+
"features.selectMessage": "Select for handoff",
|
|
28
|
+
"features.index": "Full-text index",
|
|
29
|
+
"features.refreshIndex": "Refresh index",
|
|
30
|
+
"features.indexStatus": "{count} sessions indexed; refresh {processed}/{total}",
|
|
31
|
+
"features.indexScope": "Covers discovered candidates only. Uses source, project and role filters above. Refresh for new messages.",
|
|
32
|
+
"features.indexFailures": "{count} read failures; these records are not covered",
|
|
33
|
+
"features.coverage": "Searched {scanned}/{total} indexed sessions",
|
|
34
|
+
"features.partial": "Partial coverage; at most 100 matches are shown",
|
|
35
|
+
"features.context": "Surrounding context",
|
|
36
|
+
"features.generateDraft": "Generate handoff draft ({count})",
|
|
37
|
+
"features.draftReview": "Draft not sent. Review evidence and edit next steps before sending.",
|
|
38
|
+
"features.unverified": "Unverified content ({count})",
|
|
39
|
+
"features.projects": "Project workspace",
|
|
40
|
+
"features.projectHistory": "Historical records within discovered candidates, not current file or test status.",
|
|
41
|
+
"features.readAt": "Read at: {time}",
|
|
42
|
+
"features.unassigned": "Unassigned project",
|
|
43
|
+
"features.prompts": "Prompt files (read-only)",
|
|
44
|
+
"features.handoffs": "Session handoffs",
|
|
45
|
+
"features.projectMapping": "Map relocated project paths",
|
|
46
|
+
"features.saveMapping": "Save mapping; empty path removes it",
|
|
47
|
+
"features.contextWindow": "Model window (positive integer; blank uses record)",
|
|
48
|
+
"features.model": "Model",
|
|
49
|
+
"features.chooseModel": "Choose reference model",
|
|
50
|
+
"features.contextEstimate": "Historical text / model window (estimate): {percent}% / {window}; not actual request utilization",
|
|
51
|
+
"features.dismiss": "Dismiss for this session",
|
|
52
|
+
"features.diagnostics": "Unified diagnostics",
|
|
53
|
+
"features.diagnosticScope": "Local checks by default. Selected checks probe the current Codex route or start selected MCP servers. No config repairs or write-tool calls.",
|
|
54
|
+
"features.remoteProbe": "Probe current Codex route (network)",
|
|
55
|
+
"features.check": "Start checks",
|
|
56
|
+
"features.exportJson": "Export redacted JSON",
|
|
57
|
+
"features.exportMarkdown": "Export redacted Markdown",
|
|
58
|
+
"features.status.idle": "Idle",
|
|
59
|
+
"features.status.running": "Running",
|
|
60
|
+
"features.status.success": "Complete",
|
|
61
|
+
"features.status.partial": "Partial failure or coverage",
|
|
62
|
+
"features.status.failed": "Failed",
|
|
63
|
+
"features.status.cancelled": "Cancelled",
|
|
64
|
+
"features.status.pending": "Pending",
|
|
65
|
+
"features.status.not_checked": "Not checked",
|
|
66
|
+
"features.status.passed": "Passed",
|
|
67
|
+
"features.status.timeout": "Timed out",
|
|
68
|
+
"features.evidence.passed": "Tool log passed",
|
|
69
|
+
"features.evidence.failed": "Tool log failed",
|
|
70
|
+
"features.evidence.unverified": "Unverified",
|
|
71
|
+
"features.windowSource.manual": "User override",
|
|
72
|
+
"features.windowSource.record": "Session record",
|
|
73
|
+
"features.windowStatus.unknown": "Unknown window; select a model or enter a window",
|
|
74
|
+
"features.windowStatus.invalid": "Window must be a positive integer",
|
|
75
|
+
"features.windowStatus.warning": "Text volume reached 80% of the window; consider a handoff",
|
|
76
|
+
"features.windowStatus.high": "Text volume reached 95% of the window; review handoff needs",
|
|
77
|
+
"features.error.bookmark-excerpt-too-large": "Storage capacity exceeded. Export records or narrow the scope.",
|
|
78
|
+
"features.error.bookmark-input-invalid": "Invalid input. Check window, tags, paths or selected messages.",
|
|
79
|
+
"features.error.bookmark-not-found": "Source missing, changed or ambiguous. The saved excerpt is retained.",
|
|
80
|
+
"features.error.bookmark-source-unavailable": "Source missing, changed or ambiguous. The saved excerpt is retained.",
|
|
81
|
+
"features.error.context-window-invalid": "Invalid input. Check window, tags, paths or selected messages.",
|
|
82
|
+
"features.error.diagnostic-busy": "An operation is running. Wait or cancel it.",
|
|
83
|
+
"features.error.diagnostic-input-invalid": "Invalid input. Check window, tags, paths or selected messages.",
|
|
84
|
+
"features.error.diagnostic-timeout": "Read or write failed. Check files and index, then refresh.",
|
|
85
|
+
"features.error.feature-action-invalid": "Invalid input. Check window, tags, paths or selected messages.",
|
|
86
|
+
"features.error.feature-read-failed": "Read or write failed. Check files and index, then refresh.",
|
|
87
|
+
"features.error.feature-store-conflict": "Record changed elsewhere. Refresh before retrying.",
|
|
88
|
+
"features.error.feature-store-full": "Storage capacity exceeded. Export records or narrow the scope.",
|
|
89
|
+
"features.error.feature-store-invalid": "Invalid input. Check window, tags, paths or selected messages.",
|
|
90
|
+
"features.error.handoff-selection-invalid": "Invalid input. Check window, tags, paths or selected messages.",
|
|
91
|
+
"features.error.index-busy": "An operation is running. Wait or cancel it.",
|
|
92
|
+
"features.error.index-cancelled": "Read or write failed. Check files and index, then refresh.",
|
|
93
|
+
"features.error.index-input-invalid": "Invalid input. Check window, tags, paths or selected messages.",
|
|
94
|
+
"features.error.index-query-empty": "Invalid input. Check window, tags, paths or selected messages.",
|
|
95
|
+
"features.error.index-refresh-failed": "Read or write failed. Check files and index, then refresh.",
|
|
96
|
+
"features.error.index-shard-unavailable": "Read or write failed. Check files and index, then refresh.",
|
|
97
|
+
"features.error.index-source-changed": "Read or write failed. Check files and index, then refresh.",
|
|
98
|
+
"features.error.index-source-invalid": "Invalid input. Check window, tags, paths or selected messages.",
|
|
99
|
+
"features.error.project-mapping-invalid": "Invalid input. Check window, tags, paths or selected messages.",
|
|
100
|
+
"changes.preview": "Configuration change preview",
|
|
101
|
+
"changes.hint": "Compare normalized fields; credentials are hidden. Confirm to write the files below.",
|
|
102
|
+
"changes.files": "Affected files",
|
|
103
|
+
"changes.last": "Latest configuration change",
|
|
104
|
+
"changes.undo": "Undo last change",
|
|
105
|
+
"changes.undoConfirm": "Restore the original files; files created by this change will be removed. External edits block undo.\n{paths}",
|
|
106
|
+
"changes.apply": "Confirm write",
|
|
107
|
+
"changes.saving": "Writing…",
|
|
108
|
+
"changes.cancelled": "Configuration change cancelled",
|
|
109
|
+
"changes.busy": "A configuration change is already running",
|
|
110
|
+
"changes.failed": "Configuration change failed. Check the files and input.",
|
|
111
|
+
"changes.undone": "Last configuration change undone",
|
|
112
|
+
"changes.refreshFailed": "Undo completed, but refresh failed. Reload the page.",
|
|
113
|
+
"changes.restoreFailed": "Restore failed for these paths; check the backups: {paths}",
|
|
114
|
+
"changes.hidden": "Content cannot be safely parsed and is hidden; the original bytes will still be applied.",
|
|
115
|
+
"changes.maskedOnly": "File bytes changed; differences affect hidden fields or formatting only.",
|
|
116
|
+
"changes.operation.create": "Create",
|
|
117
|
+
"changes.operation.modify": "Modify",
|
|
118
|
+
"changes.operation.delete": "Delete",
|
|
119
|
+
"changes.error.config-change-conflict": "Files changed since loading or preview. Reload the configuration and preview again.",
|
|
120
|
+
"changes.error.config-change-expired": "Preview or undo record expired. Reload.",
|
|
121
|
+
"changes.error.config-change-busy": "A configuration change is already running.",
|
|
122
|
+
"changes.error.config-change-invalid": "Cannot preview configuration. Check files, format and required fields.",
|
|
123
|
+
"changes.error.config-change-unsupported": "This operation does not support configuration preview.",
|
|
124
|
+
"changes.error.config-change-too-large": "Configuration change exceeds preview capacity.",
|
|
125
|
+
"changes.error.config-change-write-failed": "Write failed; restoration of original contents was attempted.",
|
|
126
|
+
"changes.error.config-change-undo-failed": "Undo failed; the current configuration was preserved.",
|
|
127
|
+
"changes.error.config-change-history-invalid": "Cannot read the change record. Check the backup files.",
|
|
128
|
+
"changes.error.tool-config-write-disabled": "Enable configuration writes for this tool first.",
|
|
129
|
+
"settings.templateConfirm.title": "Configuration write preview",
|
|
130
|
+
"settings.templateConfirm.meta": "Preview changes for all six tools",
|
|
131
|
+
"settings.templateConfirm.toggle": "Show changes before writing",
|
|
132
|
+
"settings.templateConfirm.hint": "When off, write directly; conflict checks and last-change undo remain enabled.",
|
|
2
133
|
'contextHealth.title': "Context health",
|
|
3
134
|
'contextHealth.loading': "Scanning the complete session…",
|
|
4
135
|
'contextHealth.composition': "Context composition",
|
|
@@ -1332,10 +1463,6 @@ const en = Object.freeze({
|
|
|
1332
1463
|
'settings.webhook.enableToggle': 'Enable webhook',
|
|
1333
1464
|
'settings.webhook.urlLabel': 'Webhook URL',
|
|
1334
1465
|
'settings.webhook.eventsLabel': 'Events',
|
|
1335
|
-
'settings.templateConfirm.title': 'Template apply confirmation',
|
|
1336
|
-
'settings.templateConfirm.meta': 'Reduce accidental writes',
|
|
1337
|
-
'settings.templateConfirm.toggle': 'Preview diffs before apply (Confirm → Apply)',
|
|
1338
|
-
'settings.templateConfirm.hint': 'When enabled: show a diff preview first, then confirm writing.',
|
|
1339
1466
|
|
|
1340
1467
|
'settings.timeline.style.title': 'Timeline Style',
|
|
1341
1468
|
'settings.timeline.style.meta': 'Choose timeline navigation style in session preview',
|
|
@@ -1,4 +1,135 @@
|
|
|
1
1
|
const ja = Object.freeze({
|
|
2
|
+
"features.searchScope": "検索範囲",
|
|
3
|
+
"features.moreFilters": "詳細な絞り込み",
|
|
4
|
+
"features.bookmarkHint": "メッセージ横の保存アイコンで役立つ内容を残せます。",
|
|
5
|
+
"features.localCheck": "ローカル設定",
|
|
6
|
+
"features.providerCheck": "現在の Codex 経路",
|
|
7
|
+
"features.technicalDetails": "技術詳細",
|
|
8
|
+
"features.windowReference": "モデル上限の参考値",
|
|
9
|
+
"features.windowSettings": "モデル上限を設定",
|
|
10
|
+
"features.rebuildIndex": "インデックスを再構築",
|
|
11
|
+
"features.title": "セッションツール",
|
|
12
|
+
"features.bookmarks": "ブックマーク",
|
|
13
|
+
"features.bookmark": "メッセージを保存",
|
|
14
|
+
"features.unbookmark": "保存を解除",
|
|
15
|
+
"features.search": "検索",
|
|
16
|
+
"features.tag": "タグで絞り込む",
|
|
17
|
+
"features.tags": "タグ(カンマ区切り)",
|
|
18
|
+
"features.projectPath": "プロジェクトの絶対パス",
|
|
19
|
+
"features.loading": "読み込み中…",
|
|
20
|
+
"features.empty": "この範囲に結果はありません",
|
|
21
|
+
"features.source": "元のメッセージを表示",
|
|
22
|
+
"features.edit": "メモを編集",
|
|
23
|
+
"features.note": "メモ",
|
|
24
|
+
"features.save": "保存",
|
|
25
|
+
"features.cancel": "キャンセル",
|
|
26
|
+
"features.close": "閉じる",
|
|
27
|
+
"features.selectMessage": "引き継ぎ用に選択",
|
|
28
|
+
"features.index": "全文インデックス",
|
|
29
|
+
"features.refreshIndex": "インデックスを更新",
|
|
30
|
+
"features.indexStatus": "{count} セッションを登録、更新 {processed}/{total}",
|
|
31
|
+
"features.indexScope": "検出済み候補のみ対象。上のソース・プロジェクト・役割の条件を使用。新規メッセージは更新後に検索できます。",
|
|
32
|
+
"features.indexFailures": "{count} 件の読み込み失敗。該当記録は対象外です",
|
|
33
|
+
"features.coverage": "登録済みセッション {scanned}/{total} 件を検索",
|
|
34
|
+
"features.partial": "対象範囲は一部のみ。最大 100 件を表示",
|
|
35
|
+
"features.context": "前後の文脈",
|
|
36
|
+
"features.generateDraft": "引き継ぎ下書きを作成({count} 件)",
|
|
37
|
+
"features.draftReview": "下書きは未送信です。根拠を確認し、次の手順を編集してください。",
|
|
38
|
+
"features.unverified": "未確認の内容({count} 件)",
|
|
39
|
+
"features.projects": "プロジェクトワークスペース",
|
|
40
|
+
"features.projectHistory": "検出済み候補の履歴です。現在のファイルやテスト状態ではありません。",
|
|
41
|
+
"features.readAt": "読み込み時刻:{time}",
|
|
42
|
+
"features.unassigned": "未分類のプロジェクト",
|
|
43
|
+
"features.prompts": "プロンプトファイル(読み取り専用)",
|
|
44
|
+
"features.handoffs": "セッションの引き継ぎ",
|
|
45
|
+
"features.projectMapping": "移動したプロジェクトのパスを関連付ける",
|
|
46
|
+
"features.saveMapping": "関連付けを保存(空欄で解除)",
|
|
47
|
+
"features.contextWindow": "モデルの上限(正の整数、空欄は記録値)",
|
|
48
|
+
"features.model": "モデル",
|
|
49
|
+
"features.chooseModel": "比較するモデルを選択",
|
|
50
|
+
"features.contextEstimate": "履歴テキスト/モデル上限(推定):{percent}% / {window}。実際のリクエスト使用量ではありません",
|
|
51
|
+
"features.dismiss": "このセッションの通知を閉じる",
|
|
52
|
+
"features.diagnostics": "統合診断",
|
|
53
|
+
"features.diagnosticScope": "既定はローカル診断のみ。選択時だけ現在の Codex 経路や MCP を確認。設定修復や書き込みツールは実行しません。",
|
|
54
|
+
"features.remoteProbe": "現在の Codex 経路を確認(通信あり)",
|
|
55
|
+
"features.check": "診断を開始",
|
|
56
|
+
"features.exportJson": "機密を除いた JSON を出力",
|
|
57
|
+
"features.exportMarkdown": "機密を除いた Markdown を出力",
|
|
58
|
+
"features.status.idle": "未開始",
|
|
59
|
+
"features.status.running": "実行中",
|
|
60
|
+
"features.status.success": "完了",
|
|
61
|
+
"features.status.partial": "一部失敗・対象外",
|
|
62
|
+
"features.status.failed": "失敗",
|
|
63
|
+
"features.status.cancelled": "キャンセル済み",
|
|
64
|
+
"features.status.pending": "待機中",
|
|
65
|
+
"features.status.not_checked": "未確認",
|
|
66
|
+
"features.status.passed": "成功",
|
|
67
|
+
"features.status.timeout": "タイムアウト",
|
|
68
|
+
"features.evidence.passed": "ツールログは成功",
|
|
69
|
+
"features.evidence.failed": "ツールログは失敗",
|
|
70
|
+
"features.evidence.unverified": "未確認",
|
|
71
|
+
"features.windowSource.manual": "ユーザー指定",
|
|
72
|
+
"features.windowSource.record": "セッション記録",
|
|
73
|
+
"features.windowStatus.unknown": "上限が不明です。モデルを選択するか上限を入力",
|
|
74
|
+
"features.windowStatus.invalid": "上限は正の整数を入力",
|
|
75
|
+
"features.windowStatus.warning": "テキスト量が上限の 80% に到達。引き継ぎを準備できます",
|
|
76
|
+
"features.windowStatus.high": "テキスト量が上限の 95% に到達。引き継ぎを確認",
|
|
77
|
+
"features.error.bookmark-excerpt-too-large": "保存容量を超えました。記録を出力するか範囲を絞ってください",
|
|
78
|
+
"features.error.bookmark-input-invalid": "入力が無効です。上限・タグ・パス・選択内容を確認",
|
|
79
|
+
"features.error.bookmark-not-found": "元のメッセージが存在しない、変更済み、または特定不能です。抜粋は保持されています",
|
|
80
|
+
"features.error.bookmark-source-unavailable": "元のメッセージが存在しない、変更済み、または特定不能です。抜粋は保持されています",
|
|
81
|
+
"features.error.context-window-invalid": "入力が無効です。上限・タグ・パス・選択内容を確認",
|
|
82
|
+
"features.error.diagnostic-busy": "処理が実行中です。完了を待つかキャンセルしてください",
|
|
83
|
+
"features.error.diagnostic-input-invalid": "入力が無効です。上限・タグ・パス・選択内容を確認",
|
|
84
|
+
"features.error.diagnostic-timeout": "読み書きに失敗しました。ファイルとインデックスを確認して更新",
|
|
85
|
+
"features.error.feature-action-invalid": "入力が無効です。上限・タグ・パス・選択内容を確認",
|
|
86
|
+
"features.error.feature-read-failed": "読み書きに失敗しました。ファイルとインデックスを確認して更新",
|
|
87
|
+
"features.error.feature-store-conflict": "記録が変更されました。更新して再試行してください",
|
|
88
|
+
"features.error.feature-store-full": "保存容量を超えました。記録を出力するか範囲を絞ってください",
|
|
89
|
+
"features.error.feature-store-invalid": "入力が無効です。上限・タグ・パス・選択内容を確認",
|
|
90
|
+
"features.error.handoff-selection-invalid": "入力が無効です。上限・タグ・パス・選択内容を確認",
|
|
91
|
+
"features.error.index-busy": "処理が実行中です。完了を待つかキャンセルしてください",
|
|
92
|
+
"features.error.index-cancelled": "読み書きに失敗しました。ファイルとインデックスを確認して更新",
|
|
93
|
+
"features.error.index-input-invalid": "入力が無効です。上限・タグ・パス・選択内容を確認",
|
|
94
|
+
"features.error.index-query-empty": "入力が無効です。上限・タグ・パス・選択内容を確認",
|
|
95
|
+
"features.error.index-refresh-failed": "読み書きに失敗しました。ファイルとインデックスを確認して更新",
|
|
96
|
+
"features.error.index-shard-unavailable": "読み書きに失敗しました。ファイルとインデックスを確認して更新",
|
|
97
|
+
"features.error.index-source-changed": "読み書きに失敗しました。ファイルとインデックスを確認して更新",
|
|
98
|
+
"features.error.index-source-invalid": "入力が無効です。上限・タグ・パス・選択内容を確認",
|
|
99
|
+
"features.error.project-mapping-invalid": "入力が無効です。上限・タグ・パス・選択内容を確認",
|
|
100
|
+
"changes.preview": "設定変更のプレビュー",
|
|
101
|
+
"changes.hint": "正規化した項目を比較します。認証情報は非表示です。確認後、下記のファイルに書き込みます。",
|
|
102
|
+
"changes.files": "変更対象のファイル",
|
|
103
|
+
"changes.last": "直近の設定変更",
|
|
104
|
+
"changes.undo": "直近の変更を取り消す",
|
|
105
|
+
"changes.undoConfirm": "元のファイルを復元します。この変更で作成したファイルは削除します。外部変更がある場合は取り消せません。\n{paths}",
|
|
106
|
+
"changes.apply": "書き込みを確認",
|
|
107
|
+
"changes.saving": "書き込み中…",
|
|
108
|
+
"changes.cancelled": "設定変更をキャンセルしました",
|
|
109
|
+
"changes.busy": "設定変更を実行中です",
|
|
110
|
+
"changes.failed": "設定変更に失敗しました。ファイルと入力内容を確認してください。",
|
|
111
|
+
"changes.undone": "直近の設定変更を取り消しました",
|
|
112
|
+
"changes.refreshFailed": "取り消しましたが画面の更新に失敗しました。再読み込みしてください。",
|
|
113
|
+
"changes.restoreFailed": "復元できなかったパスです。バックアップを確認してください:{paths}",
|
|
114
|
+
"changes.hidden": "安全に解析できないため内容を非表示にしています。元のデータは適用されます。",
|
|
115
|
+
"changes.maskedOnly": "ファイルのデータが変わりました。非表示の項目または書式のみの変更です。",
|
|
116
|
+
"changes.operation.create": "作成",
|
|
117
|
+
"changes.operation.modify": "変更",
|
|
118
|
+
"changes.operation.delete": "削除",
|
|
119
|
+
"changes.error.config-change-conflict": "読み込みまたはプレビュー後にファイルが変わりました。設定を再読み込みしてください。",
|
|
120
|
+
"changes.error.config-change-expired": "プレビューまたは取り消し記録が無効です。再読み込みしてください。",
|
|
121
|
+
"changes.error.config-change-busy": "設定変更を実行中です。",
|
|
122
|
+
"changes.error.config-change-invalid": "プレビューできません。ファイル、書式、必須項目を確認してください。",
|
|
123
|
+
"changes.error.config-change-unsupported": "この操作は設定プレビューに対応していません。",
|
|
124
|
+
"changes.error.config-change-too-large": "設定変更がプレビュー容量を超えています。",
|
|
125
|
+
"changes.error.config-change-write-failed": "書き込みに失敗しました。元の内容の復元を試みました。",
|
|
126
|
+
"changes.error.config-change-undo-failed": "取り消しに失敗しました。現在の設定を保持しました。",
|
|
127
|
+
"changes.error.config-change-history-invalid": "変更記録を読めません。バックアップを確認してください。",
|
|
128
|
+
"changes.error.tool-config-write-disabled": "先にこのツールの設定書き込み権限を有効にしてください。",
|
|
129
|
+
"settings.templateConfirm.title": "設定書き込みのプレビュー",
|
|
130
|
+
"settings.templateConfirm.meta": "6種類のツールの変更を統一してプレビュー",
|
|
131
|
+
"settings.templateConfirm.toggle": "書き込み前に変更を表示",
|
|
132
|
+
"settings.templateConfirm.hint": "無効時は直接書き込みます。競合確認と直近の取り消しは維持します。",
|
|
2
133
|
'contextHealth.title': "コンテキスト診断",
|
|
3
134
|
'contextHealth.loading': "会話全体を走査中…",
|
|
4
135
|
'contextHealth.composition': "コンテキストの構成比率",
|
|
@@ -1334,10 +1465,6 @@ const ja = Object.freeze({
|
|
|
1334
1465
|
'settings.webhook.enableToggle': 'Webhook を有効化',
|
|
1335
1466
|
'settings.webhook.urlLabel': 'Webhook URL',
|
|
1336
1467
|
'settings.webhook.eventsLabel': 'イベント',
|
|
1337
|
-
'settings.templateConfirm.title': '設定テンプレートの二次確認',
|
|
1338
|
-
'settings.templateConfirm.meta': '誤書き込みリスクを低減',
|
|
1339
|
-
'settings.templateConfirm.toggle': 'テンプレート適用前に差分をプレビュー(2段階:確認 → 適用)',
|
|
1340
|
-
'settings.templateConfirm.hint': '有効時:先に差分プレビューを表示し、確認後に書き込みます。',
|
|
1341
1468
|
|
|
1342
1469
|
'settings.timeline.style.title': 'タイムラインスタイル',
|
|
1343
1470
|
'settings.timeline.style.meta': 'セッションプレビューのタイムラインナビゲーションスタイルを選択',
|