codex-copilot-dx 1.1.1 → 1.2.0
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 +4 -4
- package/bin/cli.mjs +23 -23
- package/docs/ARCHITECTURE.md +20 -6
- package/docs/REFERENCE.md +12 -13
- package/package.json +1 -1
- package/src/auth-device-flow.mjs +1 -1
- package/src/auth-status.mjs +1 -1
- package/src/auto-review-model.mjs +2 -2
- package/src/claude-client-lifecycle.mjs +33 -0
- package/src/claude-gateway.mjs +15 -6
- package/src/cli-auth.mjs +6 -6
- package/src/cli-cache.mjs +5 -5
- package/src/cli-image.mjs +1 -1
- package/src/cli-m365.mjs +5 -5
- package/src/cli-models.mjs +2 -2
- package/src/cli-options.mjs +26 -26
- package/src/cli-status.mjs +6 -1
- package/src/dashboard/console.js +58 -26
- package/src/dashboard/index.html +95 -87
- package/src/dashboard/language.js +779 -362
- package/src/dashboard/status.js +53 -41
- package/src/dashboard/ui.js +31 -28
- package/src/dashboard/usage.js +16 -16
- package/src/dashboard-api.mjs +1 -0
- package/src/doctor.mjs +4 -4
- package/src/http-transport.mjs +3 -2
- package/src/launcher.mjs +8 -8
- package/src/native-prediction.mjs +3 -3
- package/src/operation-error.mjs +12 -7
- package/src/package-update.mjs +3 -3
- package/src/provider-registry.mjs +19 -0
- package/src/provider-runtime.mjs +22 -27
- package/src/provider-settings.mjs +2 -1
- package/src/response-failures.mjs +2 -1
- package/src/service-control.mjs +4 -5
- package/src/startup-ui.mjs +17 -9
- package/src/stream-performance.mjs +29 -1
- package/src/terminal-console.mjs +43 -15
- package/src/usage-store.mjs +10 -5
- package/src/user-settings.mjs +16 -3
|
@@ -1,390 +1,806 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
const translations = {
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"Clear
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"listed": ["
|
|
3
|
+
"codex_body_admission_active_active_queued_queued_queue_limit_lim": ["Codex body admission: active {active} / queued {queued} / queue limit {limit}", "Codex请求体:进行中{active}\n排队{queued} / 队列上限{limit}"],
|
|
4
|
+
"terminal_animation_unavailable_in_this_output_mode": ["Terminal animation unavailable in this output mode", "当前输出模式不播放终端动效"],
|
|
5
|
+
"prediction_integration_setup": ["Suggestion setup", "建议设置"],
|
|
6
|
+
"visible_status_updates_every_2_seconds_catalogs_and_retained_usa": ["Visible status updates every 2 seconds. Catalogs and retained usage refresh on demand or every 30 minutes while open.", "可见状态每2秒更新。\n列表和留存用量按需更新,\n展开时每30分钟刷新。"],
|
|
7
|
+
"clients": ["Apps", "应用"],
|
|
8
|
+
"model_services": ["Model sources", "模型来源"],
|
|
9
|
+
"usage_and_diagnostics": ["Usage and issues", "用量排查"],
|
|
10
|
+
"system_and_settings": ["Settings", "设置"],
|
|
11
|
+
"main_navigation": ["Navigation", "页面导航"],
|
|
12
|
+
"local_control": ["LOCAL CONTROL", "本机控制"],
|
|
13
|
+
"terminal_appearance": ["Terminal appearance", "终端外观"],
|
|
14
|
+
"local_service_client_specific_capabilities_stay_with_their_clien": ["Runs on this computer. Each app has its own features.", "在本机运行。\n各应用功能分别列出。"],
|
|
15
|
+
"configuration_observation": ["SETUP AND ACTIVITY", "接入状态"],
|
|
16
|
+
"codex_conversations": ["CODEX CONVERSATIONS", "对话处理"],
|
|
17
|
+
"codex_conversation_buffer": ["CONVERSATION BUFFER", "对话暂存"],
|
|
18
|
+
"codex_input_predictions": ["INPUT SUGGESTIONS", "输入建议"],
|
|
19
|
+
"codex_only": ["CODEX ONLY", "Codex 专属"],
|
|
20
|
+
"codex_image_generation": ["IMAGE GENERATION", "图片生成"],
|
|
21
|
+
"image_service": ["Image service", "图片服务"],
|
|
22
|
+
"allow_new_image_calls": ["Allow image requests", "图片生成"],
|
|
23
|
+
"allow_prediction_configuration": ["Allow suggestion updates", "建议更新"],
|
|
24
|
+
"check_and_repair": ["Check and repair", "检查修复"],
|
|
25
|
+
"temporary_local_data_for_responses_continuation_not_a_conversati": ["Keeps temporary data to continue replies. Does not save a chat archive.", "临时保留续聊数据。\n不作为聊天归档。"],
|
|
26
|
+
"buffer_limit_mib": ["Buffer limit (MiB)", "暂存上限 MiB"],
|
|
27
|
+
"apply_limit": ["Save limit", "保存上限"],
|
|
28
|
+
"clear_inactive_buffer": ["Clear conversation buffer", "清空暂存"],
|
|
29
|
+
"pause_keeps_the_provider_configuration_running_calls_can_finish_": ["Pause keeps your setup. Running image requests can finish. First setup: ccdx enable-image.", "暂停后保留图片设置。\n已开始的生成可继续完成。\n首次设置:\nccdx enable-image"],
|
|
30
|
+
"pause_keeps_the_existing_trust_and_route_codex_may_retain_cached": ["Pause keeps existing trust and routing. Cached suggestions may still appear. First quit Codex, then run ccdx prediction on.", "暂停后保留信任与连接设置。\n已有建议可能仍会显示。\n首次设置前请退出 Codex。\nccdx prediction on"],
|
|
31
|
+
"service_settings": ["SERVICE SETTINGS", "服务设置"],
|
|
32
|
+
"saved_preference_and_effective_state_are_separate_environment_ov": ["Saved choices and current behavior are shown separately. Startup overrides and required restarts are listed.", "已保存与已生效分别显示。\n启动限制与重启要求会注明。"],
|
|
33
|
+
"terminal_animation": ["Terminal animation", "终端动效"],
|
|
34
|
+
"open_webui_at_startup": ["Open dashboard on startup", "启动打开"],
|
|
35
|
+
"reading_settings": ["Reading settings…", "读取设置中…"],
|
|
36
|
+
"codex_model_source": ["CODEX MODEL SOURCE", "模型来源"],
|
|
37
|
+
"catalog_tabs_only_change_the_view_apply_explicitly_to_change_the": ["Tabs only browse models. Apply changes the source for later Codex requests.", "切换标签只查看模型。\n保存后更改后续请求的来源。"],
|
|
38
|
+
"auto_review_model": ["Review model", "审查模型"],
|
|
39
|
+
"apply_source": ["Use this source", "使用来源"],
|
|
40
|
+
"enable_service": ["Enable source", "开启接入"],
|
|
41
|
+
"disable_service": ["Disable source", "停用接入"],
|
|
42
|
+
"since_this_service_started_configuration_authorization_model_dis": ["Counts start with this service. Setup, sign-in, listed models and successful requests are separate checks.", "从本次启动开始统计。\n设置、登录、模型列表分别核实。\n请求成功情况单独记录。"],
|
|
43
|
+
"process_listener": ["LOCAL SERVICE", "本机服务"],
|
|
44
|
+
"http_traffic": ["SERVICE REQUESTS", "服务请求"],
|
|
45
|
+
"this_run_usage": ["THIS RUN", "本次用量"],
|
|
46
|
+
"updated_from_returned_usage_not_a_live_bill_pending_usage_is_not": ["Counts returned usage only. Pending usage is not included. This is not a live bill.", "仅统计已返回的用量。\n不含尚未返回的数据。\n不代表实时账单。"],
|
|
47
|
+
"applies_to_the_running_terminal": ["Updates the running terminal.", "保存后更新当前终端。"],
|
|
48
|
+
"recent_inference_http_failures": ["RECENT REQUEST ISSUES", "近期异常"],
|
|
49
|
+
"codex_responses_timing_since_startup_output_speed_is_estimated": ["Codex Responses timing since startup. Speed is estimated.", "记录本次 Codex 耗时。\n输出速度为估计值。"],
|
|
50
|
+
"service_reachable": ["CONNECTED LOCALLY", "已连本机"],
|
|
51
|
+
"saved_choice_applies_to_the_running_terminal": ["Saving updates the running terminal.", "保存后更新当前终端。"],
|
|
52
|
+
"effective_now": ["Active now", "已生效"],
|
|
53
|
+
"next_ccdx_start": ["Next CCDX start", "重启 CCDX 后生效"],
|
|
54
|
+
"applies_to_new_calls": ["New requests only", "后续生效"],
|
|
55
|
+
"setup_required": ["Setup needed", "尚未设置"],
|
|
56
|
+
"next_configuration_request_cached_suggestions_may_remain": ["Applies on the next settings request. Cached suggestions may still appear.", "下次读取建议设置时生效。\n已有建议可能仍会显示。"],
|
|
57
|
+
"reopen_the_client_to_finish": ["Reopen the app", "重开应用"],
|
|
58
|
+
"restart_ccdx_to_finish": ["Restart CCDX", "请重启 CCDX"],
|
|
59
|
+
"saved_saved_effective_effective_state": ["Saved: {saved}\nActive: {effective}\n{state}", "已保存:{saved}\n已生效:{effective}\n{state}"],
|
|
60
|
+
"on": ["On", "开启"],
|
|
61
|
+
"off": ["Off", "关闭"],
|
|
62
|
+
"controlled_by_environment": ["Set at startup", "启动限定"],
|
|
63
|
+
"settings_read_from_the_running_service": ["Settings loaded from the running service.", "已读取当前服务设置。"],
|
|
64
|
+
"applying": ["Applying…", "正在应用…"],
|
|
65
|
+
"clear_inactive_codex_conversation_data_older_continuation_ids_ma": ["Clear the conversation buffer for all chats?\nOlder chats may not continue.\nSaved Codex transcripts are kept.", "清空全部对话暂存?\n旧对话可能无法继续。\nCodex 已保存的记录仍保留。"],
|
|
66
|
+
"records_usage_records_input_input_cache_read_cached_output_outpu": ["{records} usage records\nInput: {input} / reused: {cached}\nOutput: {output}{partial}", "用量记录:{records}\n输入:{input}/复用:{cached}\n输出:{output}{partial}"],
|
|
67
|
+
"rss_rss_heap_heap": ["RSS {rss} / heap {heap}", "常驻内存 {rss} / 堆内存 {heap}"],
|
|
68
|
+
"codex_models": ["CODEX MODELS", "模型列表"],
|
|
69
|
+
"codex_requests": ["CODEX REQUESTS", "Codex 请求"],
|
|
70
|
+
"state_reason": ["{state} / {reason}", "{state} / {reason}"],
|
|
71
|
+
"runtime_resources": ["CURRENT RESOURCES", "资源用量"],
|
|
72
|
+
"additional_capabilities": ["MORE FEATURES", "更多功能"],
|
|
73
|
+
"sources": ["SOURCES", "模型来源"],
|
|
74
|
+
"account_authorization": ["ACCOUNT AUTHORIZATION", "账号授权"],
|
|
75
|
+
"by_provider": ["BY SOURCE", "按来源"],
|
|
76
|
+
"account": ["ACCOUNT", "账号"],
|
|
77
|
+
"authorization": ["AUTHORIZATION", "授权状态"],
|
|
78
|
+
"service": ["SERVICE", "服务状态"],
|
|
79
|
+
"last_verified": ["LAST VERIFIED", "最近验证"],
|
|
80
|
+
"client": ["APP", "使用应用"],
|
|
81
|
+
"state": ["STATE", "状态"],
|
|
82
|
+
"gateway": ["LOCAL ACCESS", "本机接入"],
|
|
83
|
+
"last_request": ["LAST REQUEST", "最近请求"],
|
|
84
|
+
"client_connections": ["APP SETUP", "应用接入"],
|
|
85
|
+
"model_catalog": ["MODEL LIST", "模型列表"],
|
|
86
|
+
"reasoning": ["THINKING LEVEL", "思考强度"],
|
|
87
|
+
"model_providers": ["Model providers", "模型来源"],
|
|
88
|
+
"reading_provider_catalog": ["Loading model list…", "读取模型中…"],
|
|
89
|
+
"no_models_advertised": ["No models listed.", "暂未列出模型。"],
|
|
90
|
+
"no_catalog_available": ["Model list unavailable.", "暂时无法读取模型列表。"],
|
|
91
|
+
"saved_locally": ["Sign-in saved", "登录已存"],
|
|
92
|
+
"authorized": ["Authorized", "已授权"],
|
|
93
|
+
"ready": ["Ready", "已就绪"],
|
|
94
|
+
"checking": ["Checking", "检查中"],
|
|
95
|
+
"unsupported": ["Not supported here", "暂不支持"],
|
|
96
|
+
"standby": ["Not selected", "暂未使用"],
|
|
97
|
+
"listed": ["In model list", "已列出"],
|
|
98
98
|
"restricted": ["Restricted", "受限制"],
|
|
99
|
-
"hidden": ["Hidden
|
|
99
|
+
"hidden": ["Hidden by source", "来源隐藏"],
|
|
100
100
|
"running": ["Running", "运行中"],
|
|
101
101
|
"unavailable": ["Unavailable", "不可用"],
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
102
|
+
"count_providers": ["{count} providers", "{count}个来源"],
|
|
103
|
+
"provider_done_done_incomplete_incomplete_failed_failed": ["{provider}: {done} done / {incomplete} incomplete / {failed} failed", "{provider}:完成{done}·未完成{incomplete}·失败{failed}"],
|
|
104
|
+
"provider_status_authorization_and_inference_are_separate": ["Source status. Sign-in and successful requests are checked separately.", "来源状态分别核实。\n登录不代表请求一定成功。"],
|
|
105
|
+
"saved_credentials_authorization_model_access_and_client_requests": ["Saved sign-in, access, models and app requests are separate checks.", "登录信息、访问权限分别核实。\n模型访问与应用请求单独记录。"],
|
|
106
|
+
"client_features": ["APP FEATURES", "应用功能"],
|
|
107
|
+
"observed_state": ["LAST OBSERVED", "最近记录"],
|
|
108
|
+
"native_predictions": ["Input suggestions", "输入建议"],
|
|
109
|
+
"local_bridge": ["Local service", "本机服务"],
|
|
110
|
+
"client_route": ["App settings requests", "应用请求"],
|
|
111
|
+
"visible_candidate": ["Suggestion displayed", "建议显示"],
|
|
112
|
+
"configured_does_not_mean_displayed_use_ccdx_prediction_status_fo": ["Enabled does not mean a suggestion appeared. Details: ccdx prediction status.", "开启不代表建议已显示。\nccdx prediction status"],
|
|
113
|
+
"enabled": ["Enabled", "已开启"],
|
|
114
|
+
"disabled": ["Disabled", "已关闭"],
|
|
115
|
+
"running_f4cca": ["Running", "运行中"],
|
|
116
|
+
"recovering": ["Recovering", "恢复中"],
|
|
117
|
+
"stopped": ["Stopped", "未运行"],
|
|
118
|
+
"unavailable_ca184": ["Unavailable", "不可用"],
|
|
119
|
+
"observed": ["Settings request received", "已收到"],
|
|
120
|
+
"first_output": ["First output", "首个输出"],
|
|
121
|
+
"output_speed": ["Output speed", "输出速度"],
|
|
122
|
+
"inference_inference_method_protocol_route_route_other_other": ["Model: {inference} / method: {protocol}\nPath: {route} / other: {other}", "模型:{inference}/方式:{protocol}\n入口:{route}/其他:{other}"],
|
|
123
|
+
"upstream_returned_no_error_details": ["The model service gave no error details.", "模型来源未返回错误详情。"],
|
|
124
124
|
"error_type": ["Error type", "错误类型"],
|
|
125
125
|
"parameter": ["Parameter", "请求参数"],
|
|
126
126
|
"error_body": ["Error details", "错误详情"],
|
|
127
|
-
"diagnostic_message": ["
|
|
127
|
+
"diagnostic_message": ["Extra error details", "更多详情"],
|
|
128
128
|
"method": ["Method", "请求方法"],
|
|
129
|
-
"target": ["
|
|
129
|
+
"target": ["Service address", "服务地址"],
|
|
130
130
|
"request_options": ["Request options", "请求选项"],
|
|
131
131
|
"requested_model": ["Requested model", "指定模型"],
|
|
132
132
|
"request_kind": ["Request purpose", "请求用途"],
|
|
133
|
-
"attempt_timings": ["
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
-
"
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
"
|
|
166
|
-
"
|
|
167
|
-
"
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
"
|
|
171
|
-
"
|
|
172
|
-
"
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
"
|
|
133
|
+
"attempt_timings": ["Send attempts", "发送次数"],
|
|
134
|
+
"gateway_timing_output_speed_is_estimated": ["Estimated by CCDX. Not internal model time or total throughput.", "由 CCDX 估算。\n不代表模型内部耗时或总吞吐。"],
|
|
135
|
+
"value_samples_samples": ["{value} / {samples} samples", "{value} / {samples}次样本"],
|
|
136
|
+
"ccdx_local_dashboard": ["CCDX · Dashboard", "CCDX · 运行面板"],
|
|
137
|
+
"local_status": ["/ DASHBOARD", "/ 运行面板"],
|
|
138
|
+
"reading": ["READING", "读取中"],
|
|
139
|
+
"local_ok": ["CONNECTED LOCALLY", "已连本机"],
|
|
140
|
+
"unavailable_eb0be": ["UNAVAILABLE", "无法读取"],
|
|
141
|
+
"refresh": ["Refresh", "刷新"],
|
|
142
|
+
"auto_refresh": ["Auto refresh", "自动更新"],
|
|
143
|
+
"auto_refresh_on": ["Auto refresh · ON", "自动更新 · 开"],
|
|
144
|
+
"auto_refresh_off": ["Auto refresh · OFF", "自动更新 · 关"],
|
|
145
|
+
"every_30_minutes_while_visible_open_sections_update_on_demand": ["Refreshes every 30 minutes while visible. Opening a section also refreshes it.", "可见时每30分钟刷新。\n展开栏目也会刷新。"],
|
|
146
|
+
"local_only_visible_page_updates": ["THIS COMPUTER ONLY / UPDATES WHILE VISIBLE", "仅限本机/页面可见时更新"],
|
|
147
|
+
"updated_time": ["Updated {time}", "更新于{time}"],
|
|
148
|
+
"saved_account_updated_time": ["Saved account only / updated {time}", "本机保存账号 / 更新于{time}"],
|
|
149
|
+
"update_failed_last_time": ["Update failed / last {time}", "更新失败 / 上次{time}"],
|
|
150
|
+
"update_failed": ["Update failed", "更新失败"],
|
|
151
|
+
"github_account_update_failed": ["GitHub / {account} / UPDATE FAILED", "GitHub / {account} / 更新失败"],
|
|
152
|
+
"animation": ["Animation", "动效"],
|
|
153
|
+
"switch_to_light_mode": ["Light mode", "浅色模式"],
|
|
154
|
+
"switch_to_dark_mode": ["Dark mode", "深色模式"],
|
|
155
|
+
"overview": ["Overview", "概览"],
|
|
156
|
+
"recent_request_context": ["RECENT REQUESTS", "近期请求"],
|
|
157
|
+
"wire_mib": ["DATA SIZE", "数据大小"],
|
|
158
|
+
"images": ["IMAGES", "图片数量"],
|
|
159
|
+
"input_tokens": ["INPUT USAGE", "输入用量"],
|
|
160
|
+
"model_window": ["MODEL LIMIT", "模型上限"],
|
|
161
|
+
"input_window": ["CAPACITY USED", "占用比例"],
|
|
162
|
+
"outcome": ["RESULT", "结果"],
|
|
163
|
+
"unknown": ["Unknown", "未知状态"],
|
|
164
|
+
"no_observed_request_metadata": ["No request records yet.", "暂未收到请求记录。"],
|
|
165
|
+
"20_latest_finished_requests_compactions_completed_completed_inco": ["Last 20 finished requests.\nHistory compaction: {completed} completed · {incomplete} incomplete · {failed} failed", "最近20次已结束请求。\n压缩完成:{completed}次\n压缩未完成:{incomplete}次\n压缩失败:{failed}次"],
|
|
166
|
+
"recent_upstream_request_metadata_not_exact_live_session_occupanc": ["Size: MiB. Usage: Token.\nRequest records do not show exact current-chat usage.\nMissing data is unknown. This panel keeps no prompts or images.", "大小单位:MiB。\n用量单位:Token。\n不代表当前对话的精确占用。\n缺失数据表示未知。\n此面板不保存提问或图片。"],
|
|
167
|
+
"runtime_details": ["Runtime details", "运行详情"],
|
|
168
|
+
"adapter": ["SERVICE", "服务状态"],
|
|
169
|
+
"known_models": ["MODEL COUNT", "模型数量"],
|
|
170
|
+
"requests": ["REQUESTS", "请求次数"],
|
|
171
|
+
"per_request_limits_active": ["Per-request limits", "单次上限"],
|
|
172
|
+
"model_outcomes": ["REQUEST RESULTS", "处理结果"],
|
|
173
|
+
"completed": ["Completed", "已完成"],
|
|
174
|
+
"incomplete": ["Incomplete", "未完成"],
|
|
175
|
+
"failed": ["Failed", "失败"],
|
|
176
|
+
"cancelled": ["Cancelled", "已取消"],
|
|
177
|
+
"http_2xx_model_completed": ["HTTP success does not mean a complete reply.", "请求成功不代表回复完整。"],
|
|
178
|
+
"local_history": ["LOCAL HISTORY", "对话暂存"],
|
|
179
|
+
"active_limit": ["STORAGE LIMIT", "暂存上限"],
|
|
180
|
+
"history_cache_usage": ["Local history usage", "对话暂存"],
|
|
181
|
+
"image_generation": ["IMAGE GENERATION", "图片生成"],
|
|
182
|
+
"optional": ["OPT-IN", "按需开启"],
|
|
183
|
+
"separate_profile": ["SEPARATE SIGN-IN", "独立登录"],
|
|
184
|
+
"source": ["Source", "来源"],
|
|
185
185
|
"provider": ["Source", "来源"],
|
|
186
|
-
"
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"
|
|
192
|
-
"
|
|
193
|
-
"
|
|
194
|
-
"
|
|
195
|
-
"
|
|
196
|
-
"
|
|
197
|
-
"
|
|
198
|
-
"
|
|
199
|
-
"
|
|
200
|
-
"
|
|
201
|
-
"
|
|
202
|
-
"
|
|
203
|
-
"
|
|
204
|
-
"
|
|
205
|
-
"
|
|
206
|
-
"
|
|
207
|
-
"
|
|
208
|
-
"
|
|
209
|
-
"
|
|
210
|
-
"
|
|
211
|
-
"
|
|
212
|
-
"
|
|
213
|
-
"
|
|
214
|
-
"
|
|
215
|
-
"
|
|
216
|
-
"
|
|
217
|
-
"
|
|
218
|
-
"
|
|
219
|
-
"
|
|
220
|
-
"
|
|
221
|
-
"
|
|
222
|
-
"
|
|
223
|
-
"
|
|
224
|
-
"
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"
|
|
228
|
-
"
|
|
229
|
-
"
|
|
230
|
-
"
|
|
231
|
-
"
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
"
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
"
|
|
238
|
-
"
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
"
|
|
242
|
-
"
|
|
243
|
-
"
|
|
244
|
-
"
|
|
245
|
-
"
|
|
246
|
-
"
|
|
247
|
-
"
|
|
248
|
-
"
|
|
249
|
-
"
|
|
250
|
-
"
|
|
251
|
-
"
|
|
252
|
-
"
|
|
253
|
-
"
|
|
254
|
-
"
|
|
255
|
-
"
|
|
256
|
-
"
|
|
257
|
-
"
|
|
258
|
-
"
|
|
259
|
-
"
|
|
260
|
-
"
|
|
261
|
-
"
|
|
262
|
-
"
|
|
263
|
-
"
|
|
264
|
-
"
|
|
265
|
-
"
|
|
266
|
-
"
|
|
267
|
-
"
|
|
268
|
-
"
|
|
269
|
-
"
|
|
270
|
-
"
|
|
271
|
-
"
|
|
272
|
-
"
|
|
273
|
-
"
|
|
274
|
-
"cache": ["existing list", "
|
|
275
|
-
"live": ["online list", "
|
|
276
|
-
"
|
|
277
|
-
"
|
|
278
|
-
"
|
|
279
|
-
"
|
|
280
|
-
"
|
|
281
|
-
"
|
|
282
|
-
"
|
|
283
|
-
"
|
|
284
|
-
"
|
|
285
|
-
"
|
|
286
|
-
"
|
|
287
|
-
"
|
|
288
|
-
"
|
|
289
|
-
"
|
|
290
|
-
"
|
|
291
|
-
"
|
|
186
|
+
"catalog_snapshot": ["SAVED MODEL LIST", "已存列表"],
|
|
187
|
+
"all_providers": ["All providers", "全部来源"],
|
|
188
|
+
"m365_ready": ["AUTHORIZED", "已授权"],
|
|
189
|
+
"m365_checking": ["CHECKING", "检查中"],
|
|
190
|
+
"m365_off": ["OFF", "已关闭"],
|
|
191
|
+
"m365_unsupported": ["NOT SUPPORTED", "暂不支持"],
|
|
192
|
+
"m365_unavailable": ["UNAVAILABLE", "未接入"],
|
|
193
|
+
"m365_unknown": ["UNKNOWN", "未知"],
|
|
194
|
+
"account_unavailable": ["Account unavailable", "账号未知"],
|
|
195
|
+
"claude_claude_gpt_gpt": ["Claude {claude} / GPT {gpt}", "Claude {claude}个 / GPT {gpt}个"],
|
|
196
|
+
"claude_gateway_running": ["Claude local service running", "Claude 本机服务已运行"],
|
|
197
|
+
"claude_gateway_unavailable": ["Claude local service unavailable", "Claude 本机服务不可用"],
|
|
198
|
+
"claude_done_done_incomplete_incomplete_failed_failed": ["Claude: {done} done / {incomplete} incomplete / {failed} failed", "完成 {done} / 未完成 {incomplete} / 失败 {failed}"],
|
|
199
|
+
"claude_requests_unavailable": ["No Claude request data", "暂无 Claude 请求数据"],
|
|
200
|
+
"code_code_app_app": ["Code: {code}\nApp: {app}", "Code:{code}\nApp:{app}"],
|
|
201
|
+
"configured": ["Configured", "已配置"],
|
|
202
|
+
"existing_settings_kept": ["Custom settings kept", "原样保留"],
|
|
203
|
+
"restored": ["Restored", "已恢复"],
|
|
204
|
+
"not_installed": ["Not installed", "未安装"],
|
|
205
|
+
"setup_unavailable": ["Could not configure", "设置失败"],
|
|
206
|
+
"not_configured": ["Not configured", "未配置"],
|
|
207
|
+
"codex_source_microsoft_365": ["Codex source: Microsoft 365", "Codex:M365"],
|
|
208
|
+
"codex_source_github_copilot": ["Codex source: GitHub Copilot", "Codex:GitHub Copilot"],
|
|
209
|
+
"live_upstream_models": ["Latest model list", "最新列表"],
|
|
210
|
+
"upstream_gpt_models": ["LATEST MODEL LIST", "最新列表"],
|
|
211
|
+
"checking_live": ["CHECKING", "查询中"],
|
|
212
|
+
"querying_github_copilot": ["Checking Copilot models…", "查询 Copilot 模型中…"],
|
|
213
|
+
"model": ["MODEL", "模型"],
|
|
214
|
+
"vendor": ["MODEL MAKER", "模型厂商"],
|
|
215
|
+
"api": ["CONNECTION TYPE", "连接方式"],
|
|
216
|
+
"flag": ["STAGE", "阶段"],
|
|
217
|
+
"loading": ["Loading…", "加载中"],
|
|
218
|
+
"catalog_listing_does_not_guarantee_inference_access": ["Listed does not mean your account can use it.", "列出不代表账号可使用。"],
|
|
219
|
+
"usage_by_model": ["Model usage", "模型用量"],
|
|
220
|
+
"usage": ["MODEL USAGE", "模型用量"],
|
|
221
|
+
"reading_log": ["COUNTING", "统计中"],
|
|
222
|
+
"all_history": ["Show all", "查看全部"],
|
|
223
|
+
"aggregating_local_usage_metadata": ["Counting local usage…", "正在统计本机用量。"],
|
|
224
|
+
"calls": ["REQUESTS", "请求次数"],
|
|
225
|
+
"input": ["INPUT USAGE", "输入用量"],
|
|
226
|
+
"cache_read": ["REUSED INPUT", "复用输入"],
|
|
227
|
+
"output": ["OUTPUT USAGE", "输出用量"],
|
|
228
|
+
"total": ["TOTAL", "总用量"],
|
|
229
|
+
"cache_hit": ["REUSE RATE", "复用比例"],
|
|
230
|
+
"cache_hit_recorded_cached_input_tokens_incomplete_history_unavai": ["Unit: Token. Reused input is part of input.\n~ Partial records. — Unknown or invalid.", "用量单位:Token。\n复用部分已计入输入。\n~:记录不完整。\n—:数据未知或无效。"],
|
|
231
|
+
"usage_analytics": ["USAGE TRENDS", "用量趋势"],
|
|
232
|
+
"model_5e2c6": ["Model", "模型"],
|
|
233
|
+
"all_models": ["All models", "全部模型"],
|
|
234
|
+
"daily_range": ["Date range", "时间范围"],
|
|
235
|
+
"7_days": ["Last 7 days", "近7天"],
|
|
236
|
+
"30_days": ["Last 30 days", "近30天"],
|
|
237
|
+
"90_days": ["Last 90 days", "近90天"],
|
|
238
|
+
"activity": ["Measure", "统计内容"],
|
|
239
|
+
"calls_b73a5": ["Requests", "请求次数"],
|
|
240
|
+
"tokens": ["Usage (Token)", "处理用量"],
|
|
241
|
+
"open_to_read_retained_usage_history": ["Open to view usage trends.", "展开查看用量趋势。"],
|
|
242
|
+
"daily_tokens": ["DAILY USAGE", "每日用量"],
|
|
243
|
+
"input_output_cache_included_in_input": ["INPUT + OUTPUT / REUSED INPUT IS PART OF INPUT", "输入与输出合计。\n复用部分已计入输入。"],
|
|
244
|
+
"daily_token_usage": ["Daily usage in Token", "每日用量"],
|
|
245
|
+
"input_36ecb": ["Input usage", "输入用量"],
|
|
246
|
+
"output_b2439": ["Output usage", "输出用量"],
|
|
247
|
+
"request_activity_365_days": ["ACTIVITY · LAST 365 DAYS", "活跃日历"],
|
|
248
|
+
"daily_recorded_request_activity": ["Daily recorded activity over 365 days", "每日活跃"],
|
|
249
|
+
"select_a_day_to_inspect_its_model_totals_no_history_is_distinct_": ["Select a day for its usage. No records does not mean zero requests.", "点击日期查看当天用量。\n没有记录不等于零次请求。"],
|
|
250
|
+
"recent_failures": ["Recent issues", "异常记录"],
|
|
251
|
+
"recent_response_failures": ["RECENT ISSUES", "异常记录"],
|
|
252
|
+
"reading_874bf": ["Reading…", "读取中"],
|
|
253
|
+
"reading_status": ["Reading status…", "读取中"],
|
|
254
|
+
"upstream_messages_may_contain_sensitive_text": ["Error details may include private data.", "错误详情可能含隐私信息。"],
|
|
255
|
+
"terminal_animation_9edf6": ["TERMINAL ANIMATION", "终端动效"],
|
|
256
|
+
"animation_theme": ["Animation style", "动效样式"],
|
|
257
|
+
"save_selection": ["Save animation", "保存动效"],
|
|
258
|
+
"applies_on_next_ccdx_start": ["Save, then restart ccdx to apply.", "保存后,下次启动生效。"],
|
|
259
|
+
"local_only_no_background_polling": ["LOCAL ONLY · NO TIMED REFRESH", "仅在本机查看。不会定时读取。"],
|
|
260
|
+
"saved_github_copilot_account_local_credentials_only_not_an_onlin": ["Saved sign-in only. Online access has not been checked.", "仅显示已保存的登录信息。\n尚未核实访问权限。"],
|
|
261
|
+
"github_reading": ["GitHub / READING", "GitHub / 读取中"],
|
|
262
|
+
"github_unavailable": ["GitHub / UNAVAILABLE", "GitHub / 无法读取"],
|
|
263
|
+
"github_not_configured": ["GitHub / NOT SET UP", "GitHub / 未设置"],
|
|
264
|
+
"github_invalid": ["GitHub / INVALID DETAILS", "GitHub / 信息无效"],
|
|
265
|
+
"github_account_saved": ["GitHub / {account} / SAVED", "GitHub / {account} / 已保存"],
|
|
266
|
+
"account_unknown": ["account unknown", "账号未知"],
|
|
267
|
+
"pid_pid_uptime_duration": ["PID {pid} · running {duration}", "进程编号:{pid} · 已运行:{duration}"],
|
|
268
|
+
"bound": ["IDENTIFIED", "已识别"],
|
|
269
|
+
"unconfirmed": ["NOT CONFIRMED", "未确认"],
|
|
270
|
+
"service_token_ttl_duration": ["Sign-in valid for {duration}", "登录信息剩余有效期:{duration}"],
|
|
271
|
+
"service_token_not_cached": ["No saved access details.", "暂无已保存的访问信息。"],
|
|
272
|
+
"source_source_live_ccdx_models": ["List: {source}\nCheck online: ccdx models", "列表来源:{source}\n在线查询:\nccdx models"],
|
|
273
|
+
"built_in": ["built-in list", "内置列表"],
|
|
274
|
+
"cache": ["existing list", "已有列表"],
|
|
275
|
+
"live": ["online list", "在线列表"],
|
|
276
|
+
"unknown_b23a6": ["unknown", "未知"],
|
|
277
|
+
"4xx_client_5xx_server_active_active": ["4xx {client} · 5xx {server} · active {active}", "4xx {client} · 5xx {server} · 进行中 {active}"],
|
|
278
|
+
"raw_raw_decoded_decoded": ["Received limit: {raw}\nAfter unpacking: {decoded}", "接收上限:{raw}\n展开后上限:{decoded}"],
|
|
279
|
+
"entries_entries_trees_trees_misses_misses_evicted_evicted": ["Records: {entries} / groups: {trees}\nNot found: {misses} / removed: {evicted}", "暂存:{entries}条/分组:{trees}\n未找到:{misses}\n清理后未找到:{evicted}"],
|
|
280
|
+
"count_succeeded": ["{count} succeeded", "成功:{count}次"],
|
|
281
|
+
"not_initialized": ["NOT CONFIRMED", "未确认"],
|
|
282
|
+
"active_active_failed_failed_delivery_failures_delivery": ["Running: {active} / generation failed: {failed}\nFile delivery failed: {delivery}", "进行中:{active}/生成失败:{failed}\n文件交付失败:{delivery}"],
|
|
283
|
+
"setup_state_unknown_ccdx_image_status": ["Check setup:\nccdx image-status", "查看设置:\nccdx image-status"],
|
|
284
|
+
"snapshot_time": ["Status updated {time}", "状态更新:{time}"],
|
|
285
|
+
"status_unavailable_check_ccdx_then_refresh": ["Cannot read status. Check CCDX and refresh.", "无法读取状态。\n请检查 CCDX 后刷新。"],
|
|
286
|
+
"count_retained_requests_events": ["{count} records retained", "保留:{count}条"],
|
|
287
|
+
"no_recent_request_failures_recorded": ["No recent issues recorded.", "暂未记录异常。"],
|
|
288
|
+
"request_ended_without_successful_completion": ["This request did not finish.", "本次请求未完成。"],
|
|
289
|
+
"detail_retry": ["{detail} / {retry}", "{detail} / {retry}"],
|
|
290
|
+
"retry_attempted": ["retried", "已重试"],
|
|
291
|
+
"no_retry": ["not retried", "未重试"],
|
|
292
292
|
"time": ["Time", "时间"],
|
|
293
|
-
"
|
|
294
|
-
"event": ["
|
|
293
|
+
"model_9372c": ["Model", "模型"],
|
|
294
|
+
"event": ["Record type", "记录类型"],
|
|
295
295
|
"code": ["Error code", "错误代码"],
|
|
296
296
|
"message": ["Error details", "错误详情"],
|
|
297
297
|
"response_id": ["Response ID", "回答编号"],
|
|
298
|
-
"upstream_request_id": ["
|
|
299
|
-
"request_id": ["
|
|
300
|
-
"
|
|
301
|
-
"origin": ["
|
|
298
|
+
"upstream_request_id": ["Source request ID", "来源编号"],
|
|
299
|
+
"request_id": ["CCDX request ID", "本机编号"],
|
|
300
|
+
"outcome_25a63": ["Result", "处理结果"],
|
|
301
|
+
"origin": ["Result source", "结果来源"],
|
|
302
302
|
"route": ["Request route", "请求入口"],
|
|
303
|
-
"
|
|
303
|
+
"http_request_failed_original_response_was_preserved": ["HTTP request failed. The original error was returned.", "请求失败,已返回原始错误。"],
|
|
304
304
|
"phase": ["Last step", "最后步骤"],
|
|
305
305
|
"http_status": ["HTTP status", "返回状态"],
|
|
306
306
|
"upstream_attempts": ["Send attempts", "发送次数"],
|
|
307
|
-
"timings_ms": ["
|
|
307
|
+
"timings_ms": ["TIMING (ms)", "处理耗时(毫秒)"],
|
|
308
308
|
"retry": ["Retry status", "重试情况"],
|
|
309
309
|
"retry_policy": ["Retry rule", "重试规则"],
|
|
310
310
|
"retry_skipped": ["Skip reason", "跳过原因"],
|
|
311
311
|
"recovery": ["Recovery", "恢复处理"],
|
|
312
|
-
"
|
|
312
|
+
"attempted_outcome_not_recorded_here": ["Retried. This record has no final result.", "已重试。\n此条记录不含最终结果。"],
|
|
313
313
|
"attempted": ["retried", "已重试"],
|
|
314
|
-
"
|
|
315
|
-
"
|
|
316
|
-
"
|
|
317
|
-
"
|
|
318
|
-
"
|
|
319
|
-
"
|
|
320
|
-
"
|
|
321
|
-
"
|
|
322
|
-
"
|
|
323
|
-
"
|
|
324
|
-
"
|
|
325
|
-
"preview": ["preview", "
|
|
326
|
-
"
|
|
327
|
-
"
|
|
328
|
-
"
|
|
329
|
-
"
|
|
330
|
-
"
|
|
331
|
-
"
|
|
332
|
-
"
|
|
333
|
-
"
|
|
334
|
-
"
|
|
335
|
-
"
|
|
336
|
-
"
|
|
337
|
-
"
|
|
338
|
-
"
|
|
339
|
-
"
|
|
340
|
-
"
|
|
341
|
-
"
|
|
342
|
-
"
|
|
343
|
-
"
|
|
344
|
-
"
|
|
345
|
-
"
|
|
346
|
-
"
|
|
347
|
-
"
|
|
348
|
-
"
|
|
349
|
-
"
|
|
350
|
-
"
|
|
351
|
-
"
|
|
352
|
-
"
|
|
353
|
-
"
|
|
354
|
-
"
|
|
355
|
-
"
|
|
356
|
-
"
|
|
357
|
-
"
|
|
358
|
-
"
|
|
359
|
-
"
|
|
360
|
-
"
|
|
361
|
-
"
|
|
362
|
-
"
|
|
363
|
-
"
|
|
364
|
-
"
|
|
365
|
-
"
|
|
366
|
-
"
|
|
314
|
+
"not_attempted": ["not retried", "未重试"],
|
|
315
|
+
"copy_diagnostic": ["Copy details", "复制详情"],
|
|
316
|
+
"copied": ["Copied", "已复制"],
|
|
317
|
+
"copy_unavailable": ["Copy failed", "复制失败"],
|
|
318
|
+
"default": ["DEFAULT", "默认"],
|
|
319
|
+
"disabled_by_ccdx_terminal_animation_saved_choice_applies_after_o": ["Startup setting disables animation. Remove it and restart to use the saved choice.\nCCDX_TERMINAL_ANIMATION", "启动设置已关闭动效。\n移除后重启可恢复所选动效。\nCCDX_TERMINAL_ANIMATION"],
|
|
320
|
+
"saved_choice_applies_on_next_ccdx_start": ["Saved choice applies after restarting ccdx.", "保存后,下次启动生效。"],
|
|
321
|
+
"current_theme_unsaved": ["SAVED {theme}{unsaved}", "已保存:{theme}{unsaved}"],
|
|
322
|
+
"unsaved": [" / UNSAVED", " / 待保存"],
|
|
323
|
+
"saving": ["Saving…", "保存中"],
|
|
324
|
+
"not_saved_error": ["Not saved: {error}", "保存失败:{error}"],
|
|
325
|
+
"preview": ["preview", "预览版"],
|
|
326
|
+
"no_selectable_gpt_models_advertised": ["No GPT models available to select.", "暂无可选 GPT 模型。"],
|
|
327
|
+
"live_snapshot": ["FETCHED", "已获取"],
|
|
328
|
+
"selectable_selectable_advertised_advertised_host_time": ["Selectable: {selectable} / listed: {advertised}\nSource: {host} / checked: {time}", "可选:{selectable}/列出:{advertised}\n来源:{host}\n查询时间:{time}"],
|
|
329
|
+
"live_lookup_failed": ["CHECK FAILED", "查询失败"],
|
|
330
|
+
"no_live_catalog_available": ["Cannot get the model list.", "无法获取模型列表。"],
|
|
331
|
+
"no_usage_records": ["No usage records yet.", "暂未记录用量。"],
|
|
332
|
+
"local_log": ["LOCAL RECORDS", "本机记录"],
|
|
333
|
+
"records_records_shown_of_models_models_shown_day": ["Records: {records} · models: {shown} of {models}{day}", "记录:{records}条\n模型:展示{shown}个,共{models}个{day}"],
|
|
334
|
+
"zone_model": [" / {zone} / {model}", " / {zone} / {model}"],
|
|
335
|
+
"no_retained_history": ["no records", "没有记录"],
|
|
336
|
+
"calls_recorded_calls_input_input_output_output_cached_cached_inc": ["{calls} recorded requests\nInput: {input} / output: {output}\nReused input: {cached} Token\nReused input is part of input.{partial}", "已记录请求:{calls}\n输入:{input}/输出:{output}\n复用输入:{cached} Token\n复用部分已计入输入。{partial}"],
|
|
337
|
+
"partial_token_counts": ["\nIncomplete usage records.", "\n用量记录不完整。"],
|
|
338
|
+
"date_description": ["{date} / {description}", "{date} / {description}"],
|
|
339
|
+
"metric_peak_peak": ["365 DAYS · {metric} · PEAK {peak}", "近365天 · {metric} · 峰值{peak}"],
|
|
340
|
+
"input_output": ["TOTAL USAGE (Token)", "总用量"],
|
|
341
|
+
"recorded_calls": ["RECORDED REQUESTS", "请求次数"],
|
|
342
|
+
"zone_from_to_retained_history_starts_first_oldest_day_may_be_par": ["Zone: {zone}\nRange: {from}–{to}\nFirst record: {first}\nThe first day may be partial.{excluded}{limit}", "时区:{zone}\n记录范围:{from}—{to}\n最早记录:{first}\n最早一天可能记录不全。{excluded}{limit}"],
|
|
343
|
+
"count_records_with_invalid_future_timestamps_excluded": ["\nSkipped {count} records with invalid or future dates.", "\n已跳过{count}条时间异常记录。"],
|
|
344
|
+
"model_filters_limited_to_100_all_model_totals_include_the_remain": ["\nFilters show up to 100 models. Totals include the rest.", "\n只列出前100个模型。\n总计包含其余模型。"],
|
|
345
|
+
"selected_date_model_totals_in_the_usage_table_above_all_history_": ["Selected: {date} / {model}\nUsage is in the table above.\nShow all clears the date filter.", "已选:{date}/{model}\n当天用量见上方表格。\n“查看全部”会清除日期筛选。"],
|
|
346
|
+
"select_a_day_for_model_totals_calls_are_usage_records_not_messag": ["Select a day for usage.\nCounts are requests, not messages or time.\nHatched: no records. Blank: zero recorded requests.", "点击日期查看当天用量。\n统计请求,不代表消息或时长。\n斜线格:没有记录。\n空白格:记录为零次请求。"],
|
|
347
|
+
"log_unavailable": ["READ FAILED", "读取失败"],
|
|
348
|
+
"no_usage_summary_available": ["Cannot read usage records.", "无法读取用量记录。"],
|
|
349
|
+
"analytics_unavailable_refresh_usage_to_retry": ["Trends unavailable. Refresh Model usage to retry.", "统计失败,请刷新用量。"],
|
|
350
|
+
"animation_settings_are_invalid_inspect_them_with_ccdx_animation": ["Invalid animation setting.\nRun ccdx animation.", "动效设置无效。\nccdx animation"],
|
|
351
|
+
"animation_setting_was_not_saved_check_ccdx_animation": ["Could not save animation.\nRun ccdx animation.", "动效未能保存。\nccdx animation"],
|
|
352
|
+
"could_not_read_local_usage_summary": ["Cannot read usage. Refresh to retry.", "无法读取用量,请刷新。"],
|
|
353
|
+
"live_model_lookup_timed_out_retry_or_run_ccdx_models": ["Model lookup timed out. Try again.\nDetails: ccdx models.", "模型查询超时,请重试。\nccdx models"],
|
|
354
|
+
"github_token_not_found_start_ccdx_to_sign_in": ["No saved GitHub sign-in.\nRun ccdx to sign in.", "未找到 GitHub 登录信息。\n运行 ccdx 登录。"],
|
|
355
|
+
"live_model_lookup_failed_run_ccdx_models_for_details": ["Could not get models.\nDetails: ccdx models.", "模型查询失败。\nccdx models"],
|
|
356
|
+
"live_model_lookup_failed_http_status_run_ccdx_models_for_details": ["Model lookup failed: HTTP {status}.\nDetails: ccdx models.", "模型查询失败:HTTP {status}\nccdx models"],
|
|
357
|
+
"select_a_listed_animation_theme": ["Choose an animation from the list.", "请选择列表中的动效。"],
|
|
358
|
+
"animation_changes_require_the_same_origin_dashboard": ["Save from this computer’s dashboard.", "请从本机面板保存动效。"],
|
|
359
|
+
"animation_changes_require_application_json": ["Invalid save format.", "保存格式有误。"],
|
|
360
|
+
"invalid_animation_request_body": ["Invalid animation choice.", "动效选择有误。"],
|
|
361
|
+
"select_a_valid_usage_time_zone": ["Choose a valid time zone.", "所选时区无效。"],
|
|
362
|
+
"method_not_allowed": ["This action is not supported.", "此操作不受支持。"],
|
|
363
|
+
"dashboard_api_is_available_only_at_a_loopback_address": ["Open the dashboard on this computer.", "请在本机打开面板。"],
|
|
364
|
+
"dashboard_api_requires_a_same_origin_page_request": ["Use this computer’s dashboard.", "请从本机面板操作。"],
|
|
365
|
+
"time_model_code": ["{time} / {model} / {code}", "{time} / {model} / {code}"],
|
|
366
|
+
"unknown_time": ["unknown time", "时间未知"],
|
|
367
367
|
"unknown_model": ["unknown model", "模型未知"],
|
|
368
368
|
"unknown_error": ["unknown error", "错误未知"],
|
|
369
|
-
"
|
|
370
|
-
"
|
|
371
|
-
"
|
|
372
|
-
"
|
|
373
|
-
"
|
|
374
|
-
"
|
|
375
|
-
"
|
|
376
|
-
"
|
|
377
|
-
"
|
|
378
|
-
"
|
|
379
|
-
"
|
|
380
|
-
"
|
|
381
|
-
"
|
|
382
|
-
"
|
|
383
|
-
"
|
|
384
|
-
"
|
|
385
|
-
"
|
|
386
|
-
"
|
|
387
|
-
"
|
|
369
|
+
"index_theme": ["{index} {theme}", "{index} {theme}"],
|
|
370
|
+
"comet": ["Comet", "彗星"],
|
|
371
|
+
"twin": ["Twin", "双星"],
|
|
372
|
+
"shuttle": ["Shuttle", "往返"],
|
|
373
|
+
"chase": ["Chase", "追逐"],
|
|
374
|
+
"mirror": ["Mirror", "对称"],
|
|
375
|
+
"pulse": ["Pulse", "呼吸"],
|
|
376
|
+
"stack": ["Stack", "堆叠"],
|
|
377
|
+
"relay": ["Relay", "接力"],
|
|
378
|
+
"split": ["Split", "分岔"],
|
|
379
|
+
"comet_793f4": ["COMET", "彗星"],
|
|
380
|
+
"twin_98571": ["TWIN", "双星"],
|
|
381
|
+
"shuttle_6ba52": ["SHUTTLE", "往返"],
|
|
382
|
+
"chase_12353": ["CHASE", "追逐"],
|
|
383
|
+
"mirror_ddb33": ["MIRROR", "对称"],
|
|
384
|
+
"pulse_64ab2": ["PULSE", "呼吸"],
|
|
385
|
+
"stack_c6573": ["STACK", "堆叠"],
|
|
386
|
+
"relay_dbb36": ["RELAY", "接力"],
|
|
387
|
+
"split_6cc37": ["SPLIT", "分岔"],
|
|
388
|
+
"saved_saved_state": ["Saved {saved} / {state}", "已保存:{saved}\n{state}"],
|
|
389
|
+
"could_not_read_settings": ["Could not read settings", "无法读取设置"],
|
|
390
|
+
"showing_previous_data_updated_time": ["Showing previous data / updated {time}", "显示上次数据\n上次更新:{time}"],
|
|
391
|
+
"no_data_received": ["No data received", "尚未读到数据"],
|
|
392
|
+
"codex_source_source": ["Codex source: {source}", "Codex 来源:{source}"],
|
|
393
|
+
"microsoft_365_state": ["Microsoft 365: {state}", "Microsoft 365:{state}"],
|
|
394
|
+
"settings_restored": ["Settings restored", "已恢复设置"],
|
|
395
|
+
"time_left": ["Time left", "有效期"],
|
|
396
|
+
"requests_by_source": ["REQUESTS BY SOURCE", "来源统计"],
|
|
397
|
+
"no_requests_observed": ["No requests observed.", "尚未收到请求。"],
|
|
398
|
+
"protocol": ["Protocol", "请求接口"],
|
|
399
|
+
"active": ["Active", "进行中"],
|
|
400
|
+
"results_since_startup_partial_usage_is_marked_separately": ["Results since startup. Partial usage is marked separately.", "统计本次运行的请求。\n用量缺失会单独标明。"],
|
|
401
|
+
"claude_code_code_claude_app_app": ["Claude Code: {code} / Claude App: {app}", "Claude Code:{code}\nClaude App:{app}"],
|
|
402
|
+
};
|
|
403
|
+
// Compatibility for runtime state names and server diagnostic messages.
|
|
404
|
+
const legacyMessages = {
|
|
405
|
+
"Codex body admission: active {active} / queued {queued} / queue limit {limit}": "codex_body_admission_active_active_queued_queued_queue_limit_lim",
|
|
406
|
+
"Terminal animation unavailable in this output mode": "terminal_animation_unavailable_in_this_output_mode",
|
|
407
|
+
"Prediction integration setup": "prediction_integration_setup",
|
|
408
|
+
"Visible status updates every 2 seconds. Catalogs and retained usage refresh on demand or every 30 minutes while open.": "visible_status_updates_every_2_seconds_catalogs_and_retained_usa",
|
|
409
|
+
"Clients": "clients",
|
|
410
|
+
"Model services": "model_services",
|
|
411
|
+
"Usage and diagnostics": "usage_and_diagnostics",
|
|
412
|
+
"System and settings": "system_and_settings",
|
|
413
|
+
"Main navigation": "main_navigation",
|
|
414
|
+
"LOCAL CONTROL": "local_control",
|
|
415
|
+
"Terminal appearance": "terminal_appearance",
|
|
416
|
+
"Local service. Client-specific capabilities stay with their client.": "local_service_client_specific_capabilities_stay_with_their_clien",
|
|
417
|
+
"CONFIGURATION + OBSERVATION": "configuration_observation",
|
|
418
|
+
"CODEX CONVERSATIONS": "codex_conversations",
|
|
419
|
+
"CODEX CONVERSATION BUFFER": "codex_conversation_buffer",
|
|
420
|
+
"CODEX INPUT PREDICTIONS": "codex_input_predictions",
|
|
421
|
+
"CODEX ONLY": "codex_only",
|
|
422
|
+
"CODEX IMAGE GENERATION": "codex_image_generation",
|
|
423
|
+
"Image service": "image_service",
|
|
424
|
+
"Allow new image calls": "allow_new_image_calls",
|
|
425
|
+
"Allow prediction configuration": "allow_prediction_configuration",
|
|
426
|
+
"Check and repair": "check_and_repair",
|
|
427
|
+
"Temporary local data for Responses continuation, not a conversation archive.": "temporary_local_data_for_responses_continuation_not_a_conversati",
|
|
428
|
+
"Buffer limit MiB": "buffer_limit_mib",
|
|
429
|
+
"Apply limit": "apply_limit",
|
|
430
|
+
"Clear inactive buffer": "clear_inactive_buffer",
|
|
431
|
+
"Pause keeps the provider configuration. Running calls can finish. First-time setup: ccdx enable-image.": "pause_keeps_the_provider_configuration_running_calls_can_finish_",
|
|
432
|
+
"Pause keeps the existing trust and route. Codex may retain cached suggestions. First-time setup: quit Codex, then ccdx prediction on.": "pause_keeps_the_existing_trust_and_route_codex_may_retain_cached",
|
|
433
|
+
"SERVICE SETTINGS": "service_settings",
|
|
434
|
+
"Saved preference and effective state are separate. Environment overrides and client restarts are shown explicitly.": "saved_preference_and_effective_state_are_separate_environment_ov",
|
|
435
|
+
"Terminal animation": "terminal_animation",
|
|
436
|
+
"Open WebUI at startup": "open_webui_at_startup",
|
|
437
|
+
"Reading settings…": "reading_settings",
|
|
438
|
+
"CODEX MODEL SOURCE": "codex_model_source",
|
|
439
|
+
"Catalog tabs only change the view. Apply explicitly to change the source for future Codex requests.": "catalog_tabs_only_change_the_view_apply_explicitly_to_change_the",
|
|
440
|
+
"Auto-review model": "auto_review_model",
|
|
441
|
+
"Apply source": "apply_source",
|
|
442
|
+
"Enable service": "enable_service",
|
|
443
|
+
"Disable service": "disable_service",
|
|
444
|
+
"Since this service started. Configuration, authorization, model discovery and successful inference are separate evidence.": "since_this_service_started_configuration_authorization_model_dis",
|
|
445
|
+
"PROCESS + LISTENER": "process_listener",
|
|
446
|
+
"HTTP TRAFFIC": "http_traffic",
|
|
447
|
+
"THIS RUN USAGE": "this_run_usage",
|
|
448
|
+
"Updated from returned usage, not a live bill. Pending usage is not included.": "updated_from_returned_usage_not_a_live_bill_pending_usage_is_not",
|
|
449
|
+
"Applies to the running terminal.": "applies_to_the_running_terminal",
|
|
450
|
+
"RECENT INFERENCE + HTTP FAILURES": "recent_inference_http_failures",
|
|
451
|
+
"Codex Responses timing since startup. Output speed is estimated.": "codex_responses_timing_since_startup_output_speed_is_estimated",
|
|
452
|
+
"SERVICE REACHABLE": "service_reachable",
|
|
453
|
+
"Saved choice applies to the running terminal.": "saved_choice_applies_to_the_running_terminal",
|
|
454
|
+
"Effective now": "effective_now",
|
|
455
|
+
"Next CCDX start": "next_ccdx_start",
|
|
456
|
+
"Applies to new calls": "applies_to_new_calls",
|
|
457
|
+
"Setup required": "setup_required",
|
|
458
|
+
"Next configuration request; cached suggestions may remain": "next_configuration_request_cached_suggestions_may_remain",
|
|
459
|
+
"Reopen the client to finish": "reopen_the_client_to_finish",
|
|
460
|
+
"Restart CCDX to finish": "restart_ccdx_to_finish",
|
|
461
|
+
"Saved {saved} / effective {effective} / {state}": "saved_saved_effective_effective_state",
|
|
462
|
+
"On": "on",
|
|
463
|
+
"Off": "off",
|
|
464
|
+
"Controlled by environment": "controlled_by_environment",
|
|
465
|
+
"Settings read from the running service.": "settings_read_from_the_running_service",
|
|
466
|
+
"Applying…": "applying",
|
|
467
|
+
"Clear inactive Codex conversation data? Older continuation IDs may stop working.": "clear_inactive_codex_conversation_data_older_continuation_ids_ma",
|
|
468
|
+
"{records} usage records / input {input} / cache read {cached} / output {output}{partial}": "records_usage_records_input_input_cache_read_cached_output_outpu",
|
|
469
|
+
"RSS {rss} / heap {heap}": "rss_rss_heap_heap",
|
|
470
|
+
"CODEX MODELS": "codex_models",
|
|
471
|
+
"CODEX REQUESTS": "codex_requests",
|
|
472
|
+
"{state} / {reason}": "state_reason",
|
|
473
|
+
"RUNTIME RESOURCES": "runtime_resources",
|
|
474
|
+
"ADDITIONAL CAPABILITIES": "additional_capabilities",
|
|
475
|
+
"SOURCES": "sources",
|
|
476
|
+
"ACCOUNT AUTHORIZATION": "account_authorization",
|
|
477
|
+
"BY PROVIDER": "by_provider",
|
|
478
|
+
"ACCOUNT": "account",
|
|
479
|
+
"AUTHORIZATION": "authorization",
|
|
480
|
+
"SERVICE": "service",
|
|
481
|
+
"LAST VERIFIED": "last_verified",
|
|
482
|
+
"CLIENT": "client",
|
|
483
|
+
"STATE": "state",
|
|
484
|
+
"GATEWAY": "gateway",
|
|
485
|
+
"LAST REQUEST": "last_request",
|
|
486
|
+
"CLIENT CONNECTIONS": "client_connections",
|
|
487
|
+
"MODEL CATALOG": "model_catalog",
|
|
488
|
+
"REASONING": "reasoning",
|
|
489
|
+
"Model providers": "model_providers",
|
|
490
|
+
"Reading provider catalog…": "reading_provider_catalog",
|
|
491
|
+
"No models advertised.": "no_models_advertised",
|
|
492
|
+
"No catalog available.": "no_catalog_available",
|
|
493
|
+
"Saved locally": "saved_locally",
|
|
494
|
+
"Authorized": "authorized",
|
|
495
|
+
"Ready": "ready",
|
|
496
|
+
"Checking": "checking",
|
|
497
|
+
"Unsupported": "unsupported",
|
|
498
|
+
"Standby": "standby",
|
|
499
|
+
"listed": "listed",
|
|
500
|
+
"restricted": "restricted",
|
|
501
|
+
"hidden": "hidden",
|
|
502
|
+
"running": "running",
|
|
503
|
+
"unavailable": "unavailable",
|
|
504
|
+
"{count} providers": "count_providers",
|
|
505
|
+
"{provider}: {done} done / {incomplete} incomplete / {failed} failed": "provider_done_done_incomplete_incomplete_failed_failed",
|
|
506
|
+
"Provider status / authorization and inference are separate.": "provider_status_authorization_and_inference_are_separate",
|
|
507
|
+
"Saved credentials, authorization, model access and client requests are separate evidence.": "saved_credentials_authorization_model_access_and_client_requests",
|
|
508
|
+
"CLIENT FEATURES": "client_features",
|
|
509
|
+
"OBSERVED STATE": "observed_state",
|
|
510
|
+
"Native predictions": "native_predictions",
|
|
511
|
+
"Local bridge": "local_bridge",
|
|
512
|
+
"Client route": "client_route",
|
|
513
|
+
"Visible candidate": "visible_candidate",
|
|
514
|
+
"Configured does not mean displayed. Use ccdx prediction status for details.": "configured_does_not_mean_displayed_use_ccdx_prediction_status_fo",
|
|
515
|
+
"Enabled": "enabled",
|
|
516
|
+
"Disabled": "disabled",
|
|
517
|
+
"Running": "running_f4cca",
|
|
518
|
+
"Recovering": "recovering",
|
|
519
|
+
"Stopped": "stopped",
|
|
520
|
+
"Unavailable": "unavailable_ca184",
|
|
521
|
+
"Observed": "observed",
|
|
522
|
+
"First output": "first_output",
|
|
523
|
+
"Output speed": "output_speed",
|
|
524
|
+
"Inference {inference} / method {protocol} / route {route} / other {other}": "inference_inference_method_protocol_route_route_other_other",
|
|
525
|
+
"Upstream returned no error details.": "upstream_returned_no_error_details",
|
|
526
|
+
"error_type": "error_type",
|
|
527
|
+
"parameter": "parameter",
|
|
528
|
+
"error_body": "error_body",
|
|
529
|
+
"diagnostic_message": "diagnostic_message",
|
|
530
|
+
"method": "method",
|
|
531
|
+
"target": "target",
|
|
532
|
+
"request_options": "request_options",
|
|
533
|
+
"requested_model": "requested_model",
|
|
534
|
+
"request_kind": "request_kind",
|
|
535
|
+
"attempt_timings": "attempt_timings",
|
|
536
|
+
"Gateway timing. Output speed is estimated.": "gateway_timing_output_speed_is_estimated",
|
|
537
|
+
"{value} / {samples} samples": "value_samples_samples",
|
|
538
|
+
"CCDX · Local dashboard": "ccdx_local_dashboard",
|
|
539
|
+
"/ LOCAL STATUS": "local_status",
|
|
540
|
+
"READING": "reading",
|
|
541
|
+
"LOCAL OK": "local_ok",
|
|
542
|
+
"UNAVAILABLE": "unavailable_eb0be",
|
|
543
|
+
"Refresh": "refresh",
|
|
544
|
+
"Auto refresh": "auto_refresh",
|
|
545
|
+
"Auto refresh / ON": "auto_refresh_on",
|
|
546
|
+
"Auto refresh / OFF": "auto_refresh_off",
|
|
547
|
+
"Every 30 minutes while visible. Open sections update on demand.": "every_30_minutes_while_visible_open_sections_update_on_demand",
|
|
548
|
+
"LOCAL ONLY / VISIBLE PAGE UPDATES": "local_only_visible_page_updates",
|
|
549
|
+
"Updated {time}": "updated_time",
|
|
550
|
+
"Saved account / updated {time}": "saved_account_updated_time",
|
|
551
|
+
"Update failed / last {time}": "update_failed_last_time",
|
|
552
|
+
"Update failed": "update_failed",
|
|
553
|
+
"GitHub / {account} / UPDATE FAILED": "github_account_update_failed",
|
|
554
|
+
"Animation": "animation",
|
|
555
|
+
"Switch to light mode": "switch_to_light_mode",
|
|
556
|
+
"Switch to dark mode": "switch_to_dark_mode",
|
|
557
|
+
"Overview": "overview",
|
|
558
|
+
"RECENT REQUEST CONTEXT": "recent_request_context",
|
|
559
|
+
"WIRE MiB": "wire_mib",
|
|
560
|
+
"IMAGES": "images",
|
|
561
|
+
"INPUT TOKENS": "input_tokens",
|
|
562
|
+
"MODEL WINDOW": "model_window",
|
|
563
|
+
"INPUT / WINDOW": "input_window",
|
|
564
|
+
"OUTCOME": "outcome",
|
|
565
|
+
"Unknown": "unknown",
|
|
566
|
+
"No observed request metadata.": "no_observed_request_metadata",
|
|
567
|
+
"20 latest finished requests / compactions: {completed} completed, {incomplete} incomplete, {failed} failed": "20_latest_finished_requests_compactions_completed_completed_inco",
|
|
568
|
+
"Recent upstream request metadata, not exact live session occupancy. Missing values are unknown. No prompt or image content is retained.": "recent_upstream_request_metadata_not_exact_live_session_occupanc",
|
|
569
|
+
"Runtime details": "runtime_details",
|
|
570
|
+
"ADAPTER": "adapter",
|
|
571
|
+
"KNOWN MODELS": "known_models",
|
|
572
|
+
"REQUESTS": "requests",
|
|
573
|
+
"Per-request limits (active)": "per_request_limits_active",
|
|
574
|
+
"MODEL OUTCOMES": "model_outcomes",
|
|
575
|
+
"Completed": "completed",
|
|
576
|
+
"Incomplete": "incomplete",
|
|
577
|
+
"Failed": "failed",
|
|
578
|
+
"Cancelled": "cancelled",
|
|
579
|
+
"HTTP 2xx != model completed.": "http_2xx_model_completed",
|
|
580
|
+
"LOCAL HISTORY": "local_history",
|
|
581
|
+
"ACTIVE LIMIT": "active_limit",
|
|
582
|
+
"History cache usage": "history_cache_usage",
|
|
583
|
+
"IMAGE GENERATION": "image_generation",
|
|
584
|
+
"OPTIONAL": "optional",
|
|
585
|
+
"SEPARATE PROFILE": "separate_profile",
|
|
586
|
+
"Source": "source",
|
|
587
|
+
"provider": "provider",
|
|
588
|
+
"CATALOG SNAPSHOT": "catalog_snapshot",
|
|
589
|
+
"All providers": "all_providers",
|
|
590
|
+
"M365 READY": "m365_ready",
|
|
591
|
+
"M365 CHECKING": "m365_checking",
|
|
592
|
+
"M365 OFF": "m365_off",
|
|
593
|
+
"M365 UNSUPPORTED": "m365_unsupported",
|
|
594
|
+
"M365 UNAVAILABLE": "m365_unavailable",
|
|
595
|
+
"M365 UNKNOWN": "m365_unknown",
|
|
596
|
+
"Account unavailable": "account_unavailable",
|
|
597
|
+
"Claude {claude} / GPT {gpt}": "claude_claude_gpt_gpt",
|
|
598
|
+
"Claude gateway running": "claude_gateway_running",
|
|
599
|
+
"Claude gateway unavailable": "claude_gateway_unavailable",
|
|
600
|
+
"Claude: {done} done / {incomplete} incomplete / {failed} failed": "claude_done_done_incomplete_incomplete_failed_failed",
|
|
601
|
+
"Claude requests unavailable": "claude_requests_unavailable",
|
|
602
|
+
"Code: {code} / App: {app}": "code_code_app_app",
|
|
603
|
+
"Configured": "configured",
|
|
604
|
+
"Existing settings kept": "existing_settings_kept",
|
|
605
|
+
"Restored": "restored",
|
|
606
|
+
"Not installed": "not_installed",
|
|
607
|
+
"Setup unavailable": "setup_unavailable",
|
|
608
|
+
"Not configured": "not_configured",
|
|
609
|
+
"Codex source: Microsoft 365": "codex_source_microsoft_365",
|
|
610
|
+
"Codex source: GitHub Copilot": "codex_source_github_copilot",
|
|
611
|
+
"Live upstream models": "live_upstream_models",
|
|
612
|
+
"UPSTREAM GPT MODELS": "upstream_gpt_models",
|
|
613
|
+
"CHECKING LIVE": "checking_live",
|
|
614
|
+
"Querying GitHub Copilot…": "querying_github_copilot",
|
|
615
|
+
"MODEL": "model",
|
|
616
|
+
"VENDOR": "vendor",
|
|
617
|
+
"API": "api",
|
|
618
|
+
"FLAG": "flag",
|
|
619
|
+
"Loading…": "loading",
|
|
620
|
+
"Catalog listing does not guarantee inference access.": "catalog_listing_does_not_guarantee_inference_access",
|
|
621
|
+
"Usage by model": "usage_by_model",
|
|
622
|
+
"USAGE": "usage",
|
|
623
|
+
"READING LOG": "reading_log",
|
|
624
|
+
"All history": "all_history",
|
|
625
|
+
"Aggregating local usage metadata…": "aggregating_local_usage_metadata",
|
|
626
|
+
"CALLS": "calls",
|
|
627
|
+
"INPUT": "input",
|
|
628
|
+
"CACHE READ": "cache_read",
|
|
629
|
+
"OUTPUT": "output",
|
|
630
|
+
"TOTAL": "total",
|
|
631
|
+
"CACHE HIT": "cache_hit",
|
|
632
|
+
"Cache hit = recorded cached / input tokens. ~ = incomplete history. — = unavailable or invalid counts.": "cache_hit_recorded_cached_input_tokens_incomplete_history_unavai",
|
|
633
|
+
"USAGE ANALYTICS": "usage_analytics",
|
|
634
|
+
"Model": "model_5e2c6",
|
|
635
|
+
"All models": "all_models",
|
|
636
|
+
"Daily range": "daily_range",
|
|
637
|
+
"7 days": "7_days",
|
|
638
|
+
"30 days": "30_days",
|
|
639
|
+
"90 days": "90_days",
|
|
640
|
+
"Activity": "activity",
|
|
641
|
+
"Calls": "calls_b73a5",
|
|
642
|
+
"Tokens": "tokens",
|
|
643
|
+
"Open to read retained usage history.": "open_to_read_retained_usage_history",
|
|
644
|
+
"DAILY TOKENS": "daily_tokens",
|
|
645
|
+
"INPUT + OUTPUT / CACHE INCLUDED IN INPUT": "input_output_cache_included_in_input",
|
|
646
|
+
"Daily token usage": "daily_token_usage",
|
|
647
|
+
"Input": "input_36ecb",
|
|
648
|
+
"Output": "output_b2439",
|
|
649
|
+
"REQUEST ACTIVITY · 365 DAYS": "request_activity_365_days",
|
|
650
|
+
"Daily recorded request activity": "daily_recorded_request_activity",
|
|
651
|
+
"Select a day to inspect its model totals. No history is distinct from zero recorded calls.": "select_a_day_to_inspect_its_model_totals_no_history_is_distinct_",
|
|
652
|
+
"Recent failures": "recent_failures",
|
|
653
|
+
"RECENT RESPONSE FAILURES": "recent_response_failures",
|
|
654
|
+
"Reading…": "reading_874bf",
|
|
655
|
+
"Reading status…": "reading_status",
|
|
656
|
+
"Upstream messages may contain sensitive text.": "upstream_messages_may_contain_sensitive_text",
|
|
657
|
+
"TERMINAL ANIMATION": "terminal_animation_9edf6",
|
|
658
|
+
"Animation theme": "animation_theme",
|
|
659
|
+
"Save selection": "save_selection",
|
|
660
|
+
"Applies on next ccdx start.": "applies_on_next_ccdx_start",
|
|
661
|
+
"LOCAL ONLY / NO BACKGROUND POLLING": "local_only_no_background_polling",
|
|
662
|
+
"Saved GitHub Copilot account / local credentials only; not an online entitlement check.": "saved_github_copilot_account_local_credentials_only_not_an_onlin",
|
|
663
|
+
"GitHub / READING": "github_reading",
|
|
664
|
+
"GitHub / UNAVAILABLE": "github_unavailable",
|
|
665
|
+
"GitHub / NOT CONFIGURED": "github_not_configured",
|
|
666
|
+
"GitHub / INVALID": "github_invalid",
|
|
667
|
+
"GitHub / {account} / SAVED": "github_account_saved",
|
|
668
|
+
"account unknown": "account_unknown",
|
|
669
|
+
"pid {pid} / uptime {duration}": "pid_pid_uptime_duration",
|
|
670
|
+
"BOUND": "bound",
|
|
671
|
+
"UNCONFIRMED": "unconfirmed",
|
|
672
|
+
"service token / TTL {duration}": "service_token_ttl_duration",
|
|
673
|
+
"service token not cached": "service_token_not_cached",
|
|
674
|
+
"source {source} / live: ccdx models": "source_source_live_ccdx_models",
|
|
675
|
+
"built-in": "built_in",
|
|
676
|
+
"cache": "cache",
|
|
677
|
+
"live": "live",
|
|
678
|
+
"unknown": "unknown_b23a6",
|
|
679
|
+
"4xx {client} / 5xx {server} / active {active}": "4xx_client_5xx_server_active_active",
|
|
680
|
+
"raw {raw} / decoded {decoded}": "raw_raw_decoded_decoded",
|
|
681
|
+
"entries {entries} / trees {trees} / misses {misses} (evicted {evicted})": "entries_entries_trees_trees_misses_misses_evicted_evicted",
|
|
682
|
+
"{count} succeeded": "count_succeeded",
|
|
683
|
+
"NOT INITIALIZED": "not_initialized",
|
|
684
|
+
"active {active} / failed {failed} / delivery failures {delivery}": "active_active_failed_failed_delivery_failures_delivery",
|
|
685
|
+
"Setup state unknown / ccdx image-status": "setup_state_unknown_ccdx_image_status",
|
|
686
|
+
"Snapshot {time}": "snapshot_time",
|
|
687
|
+
"Status unavailable / check ccdx, then refresh": "status_unavailable_check_ccdx_then_refresh",
|
|
688
|
+
"{count} retained / requests + events": "count_retained_requests_events",
|
|
689
|
+
"No recent request failures recorded.": "no_recent_request_failures_recorded",
|
|
690
|
+
"Request ended without successful completion.": "request_ended_without_successful_completion",
|
|
691
|
+
"{detail} / {retry}": "detail_retry",
|
|
692
|
+
"retry attempted": "retry_attempted",
|
|
693
|
+
"no retry": "no_retry",
|
|
694
|
+
"time": "time",
|
|
695
|
+
"model": "model_9372c",
|
|
696
|
+
"event": "event",
|
|
697
|
+
"code": "code",
|
|
698
|
+
"message": "message",
|
|
699
|
+
"response_id": "response_id",
|
|
700
|
+
"upstream_request_id": "upstream_request_id",
|
|
701
|
+
"request_id": "request_id",
|
|
702
|
+
"outcome": "outcome_25a63",
|
|
703
|
+
"origin": "origin",
|
|
704
|
+
"route": "route",
|
|
705
|
+
"HTTP request failed; original response was preserved.": "http_request_failed_original_response_was_preserved",
|
|
706
|
+
"phase": "phase",
|
|
707
|
+
"http_status": "http_status",
|
|
708
|
+
"upstream_attempts": "upstream_attempts",
|
|
709
|
+
"timings_ms": "timings_ms",
|
|
710
|
+
"retry": "retry",
|
|
711
|
+
"retry_policy": "retry_policy",
|
|
712
|
+
"retry_skipped": "retry_skipped",
|
|
713
|
+
"recovery": "recovery",
|
|
714
|
+
"attempted (outcome not recorded here)": "attempted_outcome_not_recorded_here",
|
|
715
|
+
"attempted": "attempted",
|
|
716
|
+
"not attempted": "not_attempted",
|
|
717
|
+
"Copy diagnostic": "copy_diagnostic",
|
|
718
|
+
"Copied": "copied",
|
|
719
|
+
"Copy unavailable": "copy_unavailable",
|
|
720
|
+
"DEFAULT": "default",
|
|
721
|
+
"Disabled by CCDX_TERMINAL_ANIMATION; saved choice applies after override removal and next start.": "disabled_by_ccdx_terminal_animation_saved_choice_applies_after_o",
|
|
722
|
+
"Saved choice applies on next ccdx start.": "saved_choice_applies_on_next_ccdx_start",
|
|
723
|
+
"CURRENT {theme}{unsaved}": "current_theme_unsaved",
|
|
724
|
+
" / UNSAVED": "unsaved",
|
|
725
|
+
"Saving…": "saving",
|
|
726
|
+
"Not saved / {error}": "not_saved_error",
|
|
727
|
+
"preview": "preview",
|
|
728
|
+
"No selectable GPT models advertised.": "no_selectable_gpt_models_advertised",
|
|
729
|
+
"LIVE SNAPSHOT": "live_snapshot",
|
|
730
|
+
"{selectable} selectable / {advertised} advertised / {host} / {time}": "selectable_selectable_advertised_advertised_host_time",
|
|
731
|
+
"LIVE LOOKUP FAILED": "live_lookup_failed",
|
|
732
|
+
"No live catalog available.": "no_live_catalog_available",
|
|
733
|
+
"No usage records.": "no_usage_records",
|
|
734
|
+
"LOCAL LOG": "local_log",
|
|
735
|
+
"{records} records / {shown} of {models} models shown{day}": "records_records_shown_of_models_models_shown_day",
|
|
736
|
+
" / {zone} / {model}": "zone_model",
|
|
737
|
+
"no retained history": "no_retained_history",
|
|
738
|
+
"{calls} recorded calls / input {input} / output {output} / cached {cached} (included in input){partial}": "calls_recorded_calls_input_input_output_output_cached_cached_inc",
|
|
739
|
+
" / partial token counts": "partial_token_counts",
|
|
740
|
+
"{date} / {description}": "date_description",
|
|
741
|
+
"{metric} / PEAK {peak}": "metric_peak_peak",
|
|
742
|
+
"INPUT + OUTPUT": "input_output",
|
|
743
|
+
"RECORDED CALLS": "recorded_calls",
|
|
744
|
+
"{zone} / {from} — {to} / retained history starts {first}; oldest day may be partial.{excluded}{limit}": "zone_from_to_retained_history_starts_first_oldest_day_may_be_par",
|
|
745
|
+
" {count} records with invalid/future timestamps excluded.": "count_records_with_invalid_future_timestamps_excluded",
|
|
746
|
+
" Model filters limited to 100; all-model totals include the remainder.": "model_filters_limited_to_100_all_model_totals_include_the_remain",
|
|
747
|
+
"Selected {date} / {model}: totals in the Usage table above / All history resets the table.": "selected_date_model_totals_in_the_usage_table_above_all_history_",
|
|
748
|
+
"Select a day for model totals. Calls are usage records, not messages or time. Hatched cells: no retained history; empty cells: zero recorded calls.": "select_a_day_for_model_totals_calls_are_usage_records_not_messag",
|
|
749
|
+
"LOG UNAVAILABLE": "log_unavailable",
|
|
750
|
+
"No usage summary available.": "no_usage_summary_available",
|
|
751
|
+
"Analytics unavailable / refresh Usage to retry.": "analytics_unavailable_refresh_usage_to_retry",
|
|
752
|
+
"Animation settings are invalid; inspect them with ccdx animation": "animation_settings_are_invalid_inspect_them_with_ccdx_animation",
|
|
753
|
+
"Animation setting was not saved; check ccdx animation": "animation_setting_was_not_saved_check_ccdx_animation",
|
|
754
|
+
"Could not read local usage summary": "could_not_read_local_usage_summary",
|
|
755
|
+
"Live model lookup timed out. Retry or run ccdx models.": "live_model_lookup_timed_out_retry_or_run_ccdx_models",
|
|
756
|
+
"GitHub token not found. Start ccdx to sign in.": "github_token_not_found_start_ccdx_to_sign_in",
|
|
757
|
+
"Live model lookup failed. Run ccdx models for details.": "live_model_lookup_failed_run_ccdx_models_for_details",
|
|
758
|
+
"Live model lookup failed (HTTP {status}). Run ccdx models for details.": "live_model_lookup_failed_http_status_run_ccdx_models_for_details",
|
|
759
|
+
"Select a listed animation theme": "select_a_listed_animation_theme",
|
|
760
|
+
"Animation changes require the same-origin dashboard": "animation_changes_require_the_same_origin_dashboard",
|
|
761
|
+
"Animation changes require application/json": "animation_changes_require_application_json",
|
|
762
|
+
"Invalid animation request body": "invalid_animation_request_body",
|
|
763
|
+
"Select a valid usage time zone": "select_a_valid_usage_time_zone",
|
|
764
|
+
"Method not allowed": "method_not_allowed",
|
|
765
|
+
"Dashboard API is available only at a loopback address": "dashboard_api_is_available_only_at_a_loopback_address",
|
|
766
|
+
"Dashboard API requires a same-origin page request": "dashboard_api_requires_a_same_origin_page_request",
|
|
767
|
+
"{time} / {model} / {code}": "time_model_code",
|
|
768
|
+
"unknown time": "unknown_time",
|
|
769
|
+
"unknown_model": "unknown_model",
|
|
770
|
+
"unknown_error": "unknown_error",
|
|
771
|
+
"{index} {theme}": "index_theme",
|
|
772
|
+
"Comet": "comet",
|
|
773
|
+
"Twin": "twin",
|
|
774
|
+
"Shuttle": "shuttle",
|
|
775
|
+
"Chase": "chase",
|
|
776
|
+
"Mirror": "mirror",
|
|
777
|
+
"Pulse": "pulse",
|
|
778
|
+
"Stack": "stack",
|
|
779
|
+
"Relay": "relay",
|
|
780
|
+
"Split": "split",
|
|
781
|
+
"COMET": "comet_793f4",
|
|
782
|
+
"TWIN": "twin_98571",
|
|
783
|
+
"SHUTTLE": "shuttle_6ba52",
|
|
784
|
+
"CHASE": "chase_12353",
|
|
785
|
+
"MIRROR": "mirror_ddb33",
|
|
786
|
+
"PULSE": "pulse_64ab2",
|
|
787
|
+
"STACK": "stack_c6573",
|
|
788
|
+
"RELAY": "relay_dbb36",
|
|
789
|
+
"SPLIT": "split_6cc37",
|
|
790
|
+
"Saved {saved} / {state}": "saved_saved_state",
|
|
791
|
+
"Could not read settings": "could_not_read_settings",
|
|
792
|
+
"Showing previous data / updated {time}": "showing_previous_data_updated_time",
|
|
793
|
+
"No data received": "no_data_received",
|
|
794
|
+
"Codex source: {source}": "codex_source_source",
|
|
795
|
+
"Microsoft 365: {state}": "microsoft_365_state",
|
|
796
|
+
"Settings restored": "settings_restored",
|
|
797
|
+
"Time left": "time_left",
|
|
798
|
+
"REQUESTS BY SOURCE": "requests_by_source",
|
|
799
|
+
"No requests observed.": "no_requests_observed",
|
|
800
|
+
"Protocol": "protocol",
|
|
801
|
+
"Active": "active",
|
|
802
|
+
"Results since startup. Partial usage is marked separately.": "results_since_startup_partial_usage_is_marked_separately",
|
|
803
|
+
"Claude Code: {code} / Claude App: {app}": "claude_code_code_claude_app_app",
|
|
388
804
|
};
|
|
389
805
|
const storageKey = "ccdx.dashboard.language";
|
|
390
806
|
let language = "en";
|
|
@@ -394,7 +810,8 @@
|
|
|
394
810
|
const attributes = { textContent: "data-i18n", title: "data-i18n-title", "aria-label": "data-i18n-label" };
|
|
395
811
|
|
|
396
812
|
function format(key, values = {}) {
|
|
397
|
-
const
|
|
813
|
+
const id = Object.hasOwn(translations, key) ? key : Object.hasOwn(legacyMessages, key) ? legacyMessages[key] : key;
|
|
814
|
+
const template = Object.hasOwn(translations, id) ? translations[id][language === "zh" ? 1 : 0] : key;
|
|
398
815
|
return String(template).replace(/\{(\w+)\}/g, (match, name) => {
|
|
399
816
|
if (!Object.hasOwn(values, name)) return match;
|
|
400
817
|
const value = values[name];
|
|
@@ -407,7 +824,7 @@
|
|
|
407
824
|
const saved = messages.get(target) || {};
|
|
408
825
|
saved[attribute] = { key, values };
|
|
409
826
|
messages.set(target, saved);
|
|
410
|
-
target.setAttribute(attributes[attribute],
|
|
827
|
+
target.setAttribute(attributes[attribute], Object.hasOwn(translations, key) ? key : Object.hasOwn(legacyMessages, key) ? legacyMessages[key] : key);
|
|
411
828
|
const value = format(key, values);
|
|
412
829
|
if (attribute === "textContent") target.textContent = value;
|
|
413
830
|
else target.setAttribute(attribute, value);
|
|
@@ -419,7 +836,7 @@
|
|
|
419
836
|
for (const [attribute, marker] of Object.entries(attributes)) {
|
|
420
837
|
if (!target.hasAttribute(marker)) continue;
|
|
421
838
|
const saved = messages.get(target)?.[attribute];
|
|
422
|
-
set(target, saved?.key ?? (attribute === "textContent" ? target.textContent : target.getAttribute(attribute)), saved?.values, attribute);
|
|
839
|
+
set(target, saved?.key ?? (target.getAttribute(marker) || (attribute === "textContent" ? target.textContent : target.getAttribute(attribute))), saved?.values, attribute);
|
|
423
840
|
}
|
|
424
841
|
}
|
|
425
842
|
const button = document.getElementById("language-toggle");
|