codex-copilot-dx 1.1.0 → 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 +27 -24
- package/docs/ARCHITECTURE.md +22 -3
- package/docs/README.md +1 -0
- package/docs/REFERENCE.md +35 -10
- 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.css +4 -4
- 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 +4 -2
- package/src/launcher.mjs +14 -14
- 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 +45 -11
- package/src/stream-performance.mjs +29 -1
- package/src/terminal-console.mjs +82 -27
- package/src/usage-store.mjs +10 -5
- package/src/user-settings.mjs +16 -3
package/src/dashboard/index.html
CHANGED
|
@@ -13,82 +13,82 @@
|
|
|
13
13
|
<script src="/usage.js" defer></script>
|
|
14
14
|
<script src="/ui.js" defer></script>
|
|
15
15
|
<script src="/console.js" defer></script>
|
|
16
|
-
<title data-i18n>CCDX ·
|
|
16
|
+
<title data-i18n="ccdx_local_dashboard">CCDX · Dashboard</title>
|
|
17
17
|
</head>
|
|
18
18
|
<body>
|
|
19
19
|
<div class="shell">
|
|
20
20
|
<aside class="sidebar">
|
|
21
|
-
<a class="sidebar-brand" href="#overview">CCDX
|
|
22
|
-
<nav aria-label="
|
|
23
|
-
<a href="#overview" data-route="overview" aria-current="page" data-i18n>Overview</a>
|
|
24
|
-
<span class="nav-group" data-i18n>
|
|
21
|
+
<a class="sidebar-brand" href="#overview"><svg id="status-icon" class="status-icon" viewBox="0 0 64 64" aria-hidden="true" focusable="false"><g fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"><ellipse cx="32" cy="32" rx="26" ry="10"/><ellipse cx="32" cy="32" rx="26" ry="10" transform="rotate(60 32 32)"/><ellipse cx="32" cy="32" rx="26" ry="10" transform="rotate(120 32 32)"/></g><circle cx="32" cy="32" r="4.5" fill="currentColor"/></svg><span class="brand-name">CCDX</span><span class="brand-caption" data-i18n="local_control">LOCAL CONTROL</span></a>
|
|
22
|
+
<nav aria-label="Navigation" data-i18n-label="main_navigation">
|
|
23
|
+
<a href="#overview" data-route="overview" aria-current="page" data-i18n="overview">Overview</a>
|
|
24
|
+
<span class="nav-group" data-i18n="clients">Apps</span>
|
|
25
25
|
<a href="#codex" data-route="codex">Codex</a>
|
|
26
26
|
<a href="#claude" data-route="claude">Claude</a>
|
|
27
|
-
<a href="#models" data-route="models" data-i18n>Model
|
|
28
|
-
<a href="#usage" data-route="usage" data-i18n>Usage and
|
|
29
|
-
<a href="#system" data-route="system" data-i18n>
|
|
27
|
+
<a href="#models" data-route="models" data-i18n="model_services">Model sources</a>
|
|
28
|
+
<a href="#usage" data-route="usage" data-i18n="usage_and_diagnostics">Usage and issues</a>
|
|
29
|
+
<a href="#system" data-route="system" data-i18n="system_and_settings">Settings</a>
|
|
30
30
|
</nav>
|
|
31
|
-
<div class="sidebar-bottom"><button id="open-animation" type="button" aria-controls="animation-settings" aria-expanded="false" data-i18n>Terminal appearance</button><p data-i18n>
|
|
31
|
+
<div class="sidebar-bottom"><button id="open-animation" type="button" aria-controls="animation-settings" aria-expanded="false" data-i18n="terminal_appearance">Terminal appearance</button><p data-i18n="local_service_client_specific_capabilities_stay_with_their_clien">Runs on this computer. Each app has its own features.</p></div>
|
|
32
32
|
</aside>
|
|
33
33
|
|
|
34
34
|
<header class="topbar">
|
|
35
|
-
<div class="brand">CCDX <span class="brand-detail" data-i18n>/
|
|
36
|
-
<div class="topbar-actions"><span id="connection" class="badge neutral" role="status" data-i18n>READING</span><button id="theme-toggle" class="icon-button" type="button" aria-label="Switch to light mode" title="Switch to light mode"><svg class="icon-sun" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" aria-hidden="true" focusable="false"><circle cx="12" cy="12" r="4"/><path d="M12 2v2m0 16v2M4.93 4.93l1.42 1.42m11.3 11.3 1.42 1.42M2 12h2m16 0h2M4.93 19.07l1.42-1.42m11.3-11.3 1.42-1.42"/></svg><svg class="icon-moon" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M12 3A9 9 0 1 0 21 12 7 7 0 0 1 12 3Z"/></svg></button><button id="language-toggle" class="icon-button language-button" type="button" aria-label="Switch to Chinese" title="Switch to Chinese">中文</button><button id="auto-refresh" type="button" aria-pressed="true" data-i18n data-i18n-title title="Visible status updates every 2 seconds. Catalogs and retained usage refresh on demand or every 30 minutes while open.">Auto refresh</button><button id="refresh" type="button" data-i18n>Refresh</button></div>
|
|
35
|
+
<div class="brand">CCDX <span class="brand-detail" data-i18n="local_status">/ DASHBOARD</span></div>
|
|
36
|
+
<div class="topbar-actions"><span id="connection" class="badge neutral" role="status" data-i18n="reading">READING</span><button id="theme-toggle" class="icon-button" type="button" aria-label="Switch to light mode" title="Switch to light mode"><svg class="icon-sun" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" aria-hidden="true" focusable="false"><circle cx="12" cy="12" r="4"/><path d="M12 2v2m0 16v2M4.93 4.93l1.42 1.42m11.3 11.3 1.42 1.42M2 12h2m16 0h2M4.93 19.07l1.42-1.42m11.3-11.3 1.42-1.42"/></svg><svg class="icon-moon" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M12 3A9 9 0 1 0 21 12 7 7 0 0 1 12 3Z"/></svg></button><button id="language-toggle" class="icon-button language-button" type="button" aria-label="Switch to Chinese" title="Switch to Chinese">中文</button><button id="auto-refresh" type="button" aria-pressed="true" data-i18n="auto_refresh" data-i18n-title="visible_status_updates_every_2_seconds_catalogs_and_retained_usa" title="Visible status updates every 2 seconds. Catalogs and retained usage refresh on demand or every 30 minutes while open.">Auto refresh</button><button id="refresh" type="button" data-i18n="refresh">Refresh</button></div>
|
|
37
37
|
</header>
|
|
38
38
|
|
|
39
39
|
<main id="main-content" tabindex="-1">
|
|
40
40
|
<section class="intro">
|
|
41
|
-
<h1><
|
|
42
|
-
<div class="snapshot-meta"><p id="auth-account" role="status" data-i18n data-i18n-title title="
|
|
41
|
+
<h1><span id="page-title" data-i18n="overview">Overview</span></h1>
|
|
42
|
+
<div class="snapshot-meta"><p id="auth-account" role="status" data-i18n="reading" data-i18n-title="provider_status_authorization_and_inference_are_separate" title="Source status. Sign-in and successful requests are checked separately.">READING</p><p id="updated" data-i18n="reading_status">Reading status…</p></div>
|
|
43
43
|
<p id="page-settings-note" class="hint" role="status"></p>
|
|
44
44
|
</section>
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
<div data-view="overview">
|
|
48
|
-
<section class="overview" aria-label="Overview" data-i18n-label><article class="card"><h2 data-i18n>
|
|
48
|
+
<section class="overview" aria-label="Overview" data-i18n-label="overview"><article class="card"><h2 data-i18n="adapter">SERVICE</h2><strong id="version">—</strong><p id="uptime">—</p></article><article class="card"><h2 data-i18n="sources">SOURCES</h2><strong id="source-summary">—</strong><p id="source-detail">—</p></article></section>
|
|
49
49
|
<details class="panel dashboard-section" id="client-features" open>
|
|
50
|
-
<summary class="panel-heading"><h2 data-i18n>
|
|
51
|
-
<div class="table-wrap"><table><thead><tr><th data-i18n>Source</th><th data-i18n>
|
|
50
|
+
<summary class="panel-heading"><h2 data-i18n="client_connections">APP SETUP</h2><span data-i18n="configuration_observation">SETUP AND ACTIVITY</span></summary>
|
|
51
|
+
<div class="table-wrap"><table><thead><tr><th data-i18n="source">Source</th><th data-i18n="client">APP</th><th data-i18n="state">STATE</th><th data-i18n="gateway">LOCAL ACCESS</th><th data-i18n="last_request">LAST REQUEST</th></tr></thead><tbody id="provider-clients"></tbody></table></div>
|
|
52
52
|
<div id="provider-requests" class="hint"></div>
|
|
53
53
|
</details>
|
|
54
|
-
<section class="panel dashboard-section"><h2 data-i18n>THIS RUN
|
|
54
|
+
<section class="panel dashboard-section"><h2 data-i18n="this_run_usage">THIS RUN</h2><p id="runtime-usage" class="table-note"></p><p class="hint" data-i18n="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.</p></section>
|
|
55
55
|
</div>
|
|
56
56
|
<div data-view="codex" hidden>
|
|
57
|
-
<section class="overview client-overview"><article class="card"><h2 data-i18n>CODEX MODELS</h2><strong id="models">—</strong><p id="model-source">—</p></article></section>
|
|
57
|
+
<section class="overview client-overview"><article class="card"><h2 data-i18n="codex_models">CODEX MODELS</h2><strong id="models">—</strong><p id="model-source">—</p></article></section>
|
|
58
58
|
<details class="panel dashboard-section" id="runtime-resources" open>
|
|
59
|
-
<summary data-i18n>CODEX CONVERSATIONS</summary>
|
|
59
|
+
<summary data-i18n="codex_conversations">CODEX CONVERSATIONS</summary>
|
|
60
60
|
<div class="details"><article class="panel">
|
|
61
|
-
<div class="panel-heading"><h2 data-i18n>
|
|
62
|
-
<dl class="stats"><div><dt data-i18n>Completed</dt><dd id="completed">—</dd></div><div><dt data-i18n>Incomplete</dt><dd id="incomplete">—</dd></div><div><dt data-i18n>Failed</dt><dd id="failed">—</dd></div><div><dt data-i18n>Cancelled</dt><dd id="cancelled">—</dd></div></dl>
|
|
63
|
-
<p class="hint" data-i18n>HTTP
|
|
64
|
-
<dl class="stats timing-stats"><div><dt data-i18n>First output</dt><dd id="ttft">—</dd></div><div><dt data-i18n>Output speed</dt><dd id="tpot">—</dd></div></dl>
|
|
65
|
-
<p class="hint" data-i18n>Codex Responses timing since startup.
|
|
61
|
+
<div class="panel-heading"><h2 data-i18n="model_outcomes">REQUEST RESULTS</h2><span>RESPONSES</span></div>
|
|
62
|
+
<dl class="stats"><div><dt data-i18n="completed">Completed</dt><dd id="completed">—</dd></div><div><dt data-i18n="incomplete">Incomplete</dt><dd id="incomplete">—</dd></div><div><dt data-i18n="failed">Failed</dt><dd id="failed">—</dd></div><div><dt data-i18n="cancelled">Cancelled</dt><dd id="cancelled">—</dd></div></dl>
|
|
63
|
+
<p class="hint" data-i18n="http_2xx_model_completed">HTTP success does not mean a complete reply.</p>
|
|
64
|
+
<dl class="stats timing-stats"><div><dt data-i18n="first_output">First output</dt><dd id="ttft">—</dd></div><div><dt data-i18n="output_speed">Output speed</dt><dd id="tpot">—</dd></div></dl>
|
|
65
|
+
<p class="hint" data-i18n="codex_responses_timing_since_startup_output_speed_is_estimated">Codex Responses timing since startup. Speed is estimated.</p>
|
|
66
66
|
</article><article class="panel">
|
|
67
|
-
<div class="panel-heading"><h2 data-i18n>
|
|
68
|
-
<strong id="history">—</strong><progress id="history-meter" class="meter" max="100" value="0" aria-label="
|
|
67
|
+
<div class="panel-heading"><h2 data-i18n="codex_conversation_buffer">CONVERSATION BUFFER</h2><span data-i18n="active_limit">STORAGE LIMIT</span></div>
|
|
68
|
+
<strong id="history">—</strong><progress id="history-meter" class="meter" max="100" value="0" aria-label="Local history usage" data-i18n-label="history_cache_usage"></progress>
|
|
69
69
|
<p id="history-detail" class="hint">—</p>
|
|
70
70
|
</article></div>
|
|
71
|
-
<p class="hint" data-i18n>
|
|
72
|
-
<div class="section-actions"><label><span data-i18n>Buffer limit MiB</span> <input id="history-limit" type="number" min="1" max="65536" step="1"></label><button id="save-history" type="button" data-i18n>
|
|
71
|
+
<p class="hint" data-i18n="temporary_local_data_for_responses_continuation_not_a_conversati">Keeps temporary data to continue replies. Does not save a chat archive.</p>
|
|
72
|
+
<div class="section-actions"><label><span data-i18n="buffer_limit_mib">Buffer limit (MiB)</span> <input id="history-limit" type="number" min="1" max="65536" step="1"></label><button id="save-history" type="button" data-i18n="apply_limit">Save limit</button><button id="clean-history" type="button" data-i18n="clear_inactive_buffer">Clear conversation buffer</button></div>
|
|
73
73
|
<p id="effect-history" class="hint" role="status"></p>
|
|
74
74
|
</details>
|
|
75
75
|
<details class="panel dashboard-section" id="prediction-settings" open>
|
|
76
|
-
<summary class="panel-heading"><h2 data-i18n>
|
|
77
|
-
<dl class="stats"><div><dt data-i18n>
|
|
76
|
+
<summary class="panel-heading"><h2 data-i18n="codex_input_predictions">INPUT SUGGESTIONS</h2><span data-i18n="codex_only">CODEX ONLY</span></summary>
|
|
77
|
+
<dl class="stats"><div><dt data-i18n="prediction_integration_setup">Suggestion setup</dt><dd id="prediction-preference">—</dd></div><div><dt data-i18n="local_bridge">Local service</dt><dd id="prediction-bridge">—</dd></div><div><dt data-i18n="client_route">App settings requests</dt><dd id="prediction-route">—</dd></div><div><dt data-i18n="visible_candidate">Suggestion displayed</dt><dd id="prediction-candidate">—</dd></div></dl>
|
|
78
78
|
<p id="prediction-note" class="hint">—</p>
|
|
79
|
-
<p class="hint" data-i18n>
|
|
80
|
-
<div class="setting-row"><label for="setting-prediction_enabled" data-i18n>Allow
|
|
81
|
-
<div class="section-actions"><button id="fix-prediction" type="button" data-i18n>Check and repair</button></div>
|
|
82
|
-
<p class="hint" data-i18n>Pause keeps
|
|
79
|
+
<p class="hint" data-i18n="configured_does_not_mean_displayed_use_ccdx_prediction_status_fo">Enabled does not mean a suggestion appeared. Details: ccdx prediction status.</p>
|
|
80
|
+
<div class="setting-row"><label for="setting-prediction_enabled" data-i18n="allow_prediction_configuration">Allow suggestion updates</label><input id="setting-prediction_enabled" type="checkbox" role="switch" disabled><span id="effect-prediction_enabled" class="hint" role="status"></span></div>
|
|
81
|
+
<div class="section-actions"><button id="fix-prediction" type="button" data-i18n="check_and_repair">Check and repair</button></div>
|
|
82
|
+
<p class="hint" data-i18n="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.</p>
|
|
83
83
|
</details>
|
|
84
84
|
<details class="panel dashboard-section" id="additional-capabilities">
|
|
85
|
-
<summary data-i18n>
|
|
85
|
+
<summary data-i18n="codex_image_generation">IMAGE GENERATION</summary>
|
|
86
86
|
<article class="panel">
|
|
87
|
-
<div class="panel-heading"><h2 data-i18n>Image service</h2><span data-i18n>CODEX ONLY</span></div>
|
|
87
|
+
<div class="panel-heading"><h2 data-i18n="image_service">Image service</h2><span data-i18n="codex_only">CODEX ONLY</span></div>
|
|
88
88
|
<strong id="image">—</strong><p id="image-detail" class="hint">—</p>
|
|
89
89
|
</article>
|
|
90
|
-
<div class="setting-row"><label for="setting-image_enabled" data-i18n>Allow
|
|
91
|
-
<p class="hint" data-i18n>Pause keeps
|
|
90
|
+
<div class="setting-row"><label for="setting-image_enabled" data-i18n="allow_new_image_calls">Allow image requests</label><input id="setting-image_enabled" type="checkbox" role="switch" disabled><span id="effect-image_enabled" class="hint" role="status"></span></div>
|
|
91
|
+
<p class="hint" data-i18n="pause_keeps_the_provider_configuration_running_calls_can_finish_">Pause keeps your setup. Running image requests can finish. First setup: ccdx enable-image.</p>
|
|
92
92
|
</details>
|
|
93
93
|
</div>
|
|
94
94
|
<div data-view="claude" hidden>
|
|
@@ -96,87 +96,95 @@
|
|
|
96
96
|
<div class="panel-heading"><h2 id="claude-heading">Claude App / Claude Code</h2><span>ANTHROPIC MESSAGES</span></div>
|
|
97
97
|
<p id="claude-route" class="table-note"></p>
|
|
98
98
|
<p id="claude-client-state" class="hint"></p>
|
|
99
|
-
<dl class="stats"><div><dt data-i18n>Completed</dt><dd id="claude-completed">—</dd></div><div><dt data-i18n>Incomplete</dt><dd id="claude-incomplete">—</dd></div><div><dt data-i18n>Failed</dt><dd id="claude-failed">—</dd></div><div><dt data-i18n>Cancelled</dt><dd id="claude-cancelled">—</dd></div><div><dt data-i18n>First output</dt><dd id="claude-ttft">—</dd></div><div><dt data-i18n>Output speed</dt><dd id="claude-speed">—</dd></div></dl>
|
|
100
|
-
<p class="hint" data-i18n>
|
|
99
|
+
<dl class="stats"><div><dt data-i18n="completed">Completed</dt><dd id="claude-completed">—</dd></div><div><dt data-i18n="incomplete">Incomplete</dt><dd id="claude-incomplete">—</dd></div><div><dt data-i18n="failed">Failed</dt><dd id="claude-failed">—</dd></div><div><dt data-i18n="cancelled">Cancelled</dt><dd id="claude-cancelled">—</dd></div><div><dt data-i18n="first_output">First output</dt><dd id="claude-ttft">—</dd></div><div><dt data-i18n="output_speed">Output speed</dt><dd id="claude-speed">—</dd></div></dl>
|
|
100
|
+
<p class="hint" data-i18n="since_this_service_started_configuration_authorization_model_dis">Counts start with this service. Setup, sign-in, listed models and successful requests are separate checks.</p>
|
|
101
101
|
</section>
|
|
102
102
|
</div>
|
|
103
103
|
<div data-view="models" hidden>
|
|
104
104
|
<details class="panel dashboard-section" id="account-authorization">
|
|
105
|
-
<summary class="panel-heading"><h2 data-i18n>ACCOUNT AUTHORIZATION</h2><span data-i18n>BY
|
|
106
|
-
<p class="hint" data-i18n>Saved
|
|
107
|
-
<div class="table-wrap"><table><thead><tr><th data-i18n>Source</th><th data-i18n>ACCOUNT</th><th data-i18n>AUTHORIZATION</th><th data-i18n>SERVICE</th><th data-i18n>LAST VERIFIED</th><th>
|
|
105
|
+
<summary class="panel-heading"><h2 data-i18n="account_authorization">ACCOUNT AUTHORIZATION</h2><span data-i18n="by_provider">BY SOURCE</span></summary>
|
|
106
|
+
<p class="hint" data-i18n="saved_credentials_authorization_model_access_and_client_requests">Saved sign-in, access, models and app requests are separate checks.</p>
|
|
107
|
+
<div class="table-wrap"><table><thead><tr><th data-i18n="source">Source</th><th data-i18n="account">ACCOUNT</th><th data-i18n="authorization">AUTHORIZATION</th><th data-i18n="service">SERVICE</th><th data-i18n="last_verified">LAST VERIFIED</th><th data-i18n="time_left">Time left</th></tr></thead><tbody id="provider-auth"></tbody></table></div>
|
|
108
108
|
</details>
|
|
109
109
|
<details class="panel dashboard-section" id="upstream-models" open>
|
|
110
|
-
<summary class="panel-heading"><h2 data-i18n>MODEL
|
|
111
|
-
<div id="model-providers" class="provider-tabs" role="tablist" aria-label="Model providers" data-i18n-label></div>
|
|
112
|
-
<div class="section-actions"><button id="refresh-models" type="button" data-i18n>Refresh</button></div>
|
|
113
|
-
<p id="models-note" class="table-note" data-i18n>
|
|
114
|
-
<div class="table-wrap"><table><thead><tr><th scope="col" data-i18n>MODEL</th><th scope="col" data-i18n>
|
|
115
|
-
<p class="hint" data-i18n>
|
|
110
|
+
<summary class="panel-heading"><h2 data-i18n="model_catalog">MODEL LIST</h2><span id="models-state" data-i18n="checking_live">CHECKING</span></summary>
|
|
111
|
+
<div id="model-providers" class="provider-tabs" role="tablist" aria-label="Model providers" data-i18n-label="model_providers"></div>
|
|
112
|
+
<div class="section-actions"><button id="refresh-models" type="button" data-i18n="refresh">Refresh</button></div>
|
|
113
|
+
<p id="models-note" class="table-note" data-i18n="reading_provider_catalog">Loading model list…</p>
|
|
114
|
+
<div class="table-wrap"><table><thead><tr><th scope="col" data-i18n="model">MODEL</th><th scope="col" data-i18n="vendor">MODEL MAKER</th><th scope="col" data-i18n="api">CONNECTION TYPE</th><th scope="col" data-i18n="client">APP</th><th scope="col" data-i18n="reasoning">THINKING LEVEL</th><th scope="col" data-i18n="state">STATE</th></tr></thead><tbody id="live-models-body" role="tabpanel"><tr><td colspan="6" data-i18n="loading">Loading…</td></tr></tbody></table></div>
|
|
115
|
+
<p class="hint" data-i18n="catalog_listing_does_not_guarantee_inference_access">Listed does not mean your account can use it.</p>
|
|
116
116
|
</details>
|
|
117
117
|
<section class="panel dashboard-section" aria-labelledby="routing-heading">
|
|
118
|
-
<h2 id="routing-heading" data-i18n>CODEX MODEL SOURCE</h2>
|
|
119
|
-
<p class="hint" data-i18n>
|
|
120
|
-
<div class="section-actions"><label><span data-i18n>Source</span> <select id="source-provider"
|
|
121
|
-
<div class="section-actions"><span>Microsoft 365</span><button id="m365-on" type="button" data-i18n>Enable
|
|
122
|
-
<
|
|
118
|
+
<h2 id="routing-heading" data-i18n="codex_model_source">CODEX MODEL SOURCE</h2>
|
|
119
|
+
<p class="hint" data-i18n="catalog_tabs_only_change_the_view_apply_explicitly_to_change_the">Tabs only browse models. Apply changes the source for later Codex requests.</p>
|
|
120
|
+
<div class="section-actions"><label><span data-i18n="source">Source</span> <select id="source-provider"></select></label><label><span data-i18n="model_5e2c6">Model</span> <select id="source-model" disabled></select></label><label><span data-i18n="auto_review_model">Review model</span> <select id="source-review" disabled></select></label><button id="apply-source" type="button" data-i18n="apply_source">Use this source</button></div>
|
|
121
|
+
<div class="section-actions"><span>Microsoft 365</span><button id="m365-on" type="button" data-i18n="enable_service">Enable source</button><button id="m365-off" type="button" data-i18n="disable_service">Disable source</button></div>
|
|
122
|
+
<div id="source-control-note" class="hint" role="status"></div>
|
|
123
123
|
</section>
|
|
124
124
|
</div>
|
|
125
125
|
<div data-view="usage" hidden>
|
|
126
|
+
<details class="panel dashboard-section" id="source-requests">
|
|
127
|
+
<summary data-i18n="requests_by_source">REQUESTS BY SOURCE</summary>
|
|
128
|
+
<p class="hint" data-i18n="results_since_startup_partial_usage_is_marked_separately">Results since startup. Partial usage is marked separately.</p>
|
|
129
|
+
<div class="table-wrap"><table><thead><tr><th data-i18n="source">Source</th><th data-i18n="protocol">Protocol</th><th data-i18n="active">Active</th><th data-i18n="completed">Completed</th><th data-i18n="incomplete">Incomplete</th><th data-i18n="failed">Failed</th><th data-i18n="cancelled">Cancelled</th><th data-i18n="unknown">Unknown</th></tr></thead><tbody id="source-requests-body"></tbody></table></div>
|
|
130
|
+
</details>
|
|
126
131
|
<details class="panel dashboard-section" id="model-usage" open>
|
|
127
|
-
<summary class="panel-heading"><h2 data-i18n>USAGE</h2><span id="usage-state" data-i18n>
|
|
128
|
-
<div class="section-actions"><label><span data-i18n>Source</span> <select id="usage-provider"><option value="" data-i18n>All providers</option></select></label><button id="clear-usage-day" type="button" hidden data-i18n>
|
|
129
|
-
<p id="usage-note" class="table-note" data-i18n>
|
|
130
|
-
<div class="table-wrap"><table class="usage-table"><thead><tr><th scope="col" data-i18n>MODEL</th><th scope="col" data-i18n>
|
|
131
|
-
<p class="hint" data-i18n>
|
|
132
|
+
<summary class="panel-heading"><h2 data-i18n="usage">MODEL USAGE</h2><span id="usage-state" data-i18n="reading_log">COUNTING</span></summary>
|
|
133
|
+
<div class="section-actions"><label><span data-i18n="source">Source</span> <select id="usage-provider"><option value="" data-i18n="all_providers">All providers</option></select></label><button id="clear-usage-day" type="button" hidden data-i18n="all_history">Show all</button><button id="refresh-usage" type="button" data-i18n="refresh">Refresh</button></div>
|
|
134
|
+
<p id="usage-note" class="table-note" data-i18n="aggregating_local_usage_metadata">Counting local usage…</p>
|
|
135
|
+
<div class="table-wrap"><table class="usage-table"><thead><tr><th scope="col" data-i18n="model">MODEL</th><th scope="col" data-i18n="calls">REQUESTS</th><th scope="col" data-i18n="input">INPUT USAGE</th><th scope="col" data-i18n="cache_read">REUSED INPUT</th><th scope="col" data-i18n="output">OUTPUT USAGE</th><th scope="col" data-i18n="total">TOTAL</th><th scope="col" data-i18n="cache_hit">REUSE RATE</th></tr></thead><tbody id="usage-body"><tr><td colspan="7" data-i18n="loading">Loading…</td></tr></tbody></table></div>
|
|
136
|
+
<p class="hint" data-i18n="cache_hit_recorded_cached_input_tokens_incomplete_history_unavai">Unit: Token. Reused input is part of input.
|
|
137
|
+
~ Partial records. — Unknown or invalid.</p>
|
|
132
138
|
<details id="usage-analytics" class="analytics-section">
|
|
133
|
-
<summary data-i18n>USAGE
|
|
139
|
+
<summary data-i18n="usage_analytics">USAGE TRENDS</summary>
|
|
134
140
|
<div class="analytics-controls">
|
|
135
|
-
<label><span data-i18n>Model</span> <select id="analytics-model"><option value="" data-i18n>All models</option></select></label>
|
|
136
|
-
<label><span data-i18n>
|
|
137
|
-
<label><span data-i18n>
|
|
141
|
+
<label><span data-i18n="model_5e2c6">Model</span> <select id="analytics-model"><option value="" data-i18n="all_models">All models</option></select></label>
|
|
142
|
+
<label><span data-i18n="daily_range">Date range</span> <select id="analytics-range"><option value="7" data-i18n="7_days">Last 7 days</option><option value="30" selected data-i18n="30_days">Last 30 days</option><option value="90" data-i18n="90_days">Last 90 days</option></select></label>
|
|
143
|
+
<label><span data-i18n="activity">Measure</span> <select id="analytics-metric"><option value="requests" data-i18n="calls_b73a5">Requests</option><option value="tokens" data-i18n="tokens">Usage (Token)</option></select></label>
|
|
138
144
|
</div>
|
|
139
|
-
<p id="analytics-note" class="table-note" role="status" data-i18n>Open to
|
|
145
|
+
<p id="analytics-note" class="table-note" role="status" data-i18n="open_to_read_retained_usage_history">Open to view usage trends.</p>
|
|
140
146
|
<p id="analytics-updated" class="refresh-time"></p>
|
|
141
|
-
<div class="chart-heading"><h3 data-i18n>DAILY
|
|
142
|
-
<div id="daily-bars" class="daily-bars" aria-label="Daily
|
|
147
|
+
<div class="chart-heading"><h3 data-i18n="daily_tokens">DAILY USAGE</h3><span data-i18n="input_output_cache_included_in_input">INPUT + OUTPUT / REUSED INPUT IS PART OF INPUT</span></div>
|
|
148
|
+
<div id="daily-bars" class="daily-bars" aria-label="Daily usage in Token" data-i18n-label="daily_token_usage"></div>
|
|
143
149
|
<div class="daily-axis"><span id="daily-from"></span><span id="daily-to"></span></div>
|
|
144
|
-
<div class="chart-legend"><span class="legend-input" data-i18n>Input</span><span class="legend-output" data-i18n>Output</span></div>
|
|
145
|
-
<div class="chart-heading"><h3 data-i18n>
|
|
146
|
-
<div class="calendar-scroll"><div class="calendar-grid"><div id="calendar-months" class="calendar-months" aria-hidden="true"></div><div id="activity-calendar" class="activity-calendar" aria-label="Daily recorded
|
|
147
|
-
<p id="analytics-selection" class="hint" role="status" data-i18n>Select a day
|
|
150
|
+
<div class="chart-legend"><span class="legend-input" data-i18n="input_36ecb">Input usage</span><span class="legend-output" data-i18n="output_b2439">Output usage</span></div>
|
|
151
|
+
<div class="chart-heading"><h3 data-i18n="request_activity_365_days">ACTIVITY · LAST 365 DAYS</h3><span id="activity-scale">—</span></div>
|
|
152
|
+
<div class="calendar-scroll"><div class="calendar-grid"><div id="calendar-months" class="calendar-months" aria-hidden="true"></div><div id="activity-calendar" class="activity-calendar" aria-label="Daily recorded activity over 365 days" data-i18n-label="daily_recorded_request_activity"></div></div></div>
|
|
153
|
+
<p id="analytics-selection" class="hint" role="status" data-i18n="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.</p>
|
|
148
154
|
</details>
|
|
149
155
|
</details>
|
|
150
156
|
<details class="lower" id="recent-failures" open>
|
|
151
|
-
<summary class="panel-heading"><h2 data-i18n>RECENT
|
|
152
|
-
<ol id="failures"><li class="empty" data-i18n>Reading…</li></ol>
|
|
153
|
-
<p class="hint" data-i18n>
|
|
157
|
+
<summary class="panel-heading"><h2 data-i18n="recent_inference_http_failures">RECENT REQUEST ISSUES</h2><span id="failure-count">requests + events</span></summary>
|
|
158
|
+
<ol id="failures"><li class="empty" data-i18n="reading_874bf">Reading…</li></ol>
|
|
159
|
+
<p class="hint" data-i18n="upstream_messages_may_contain_sensitive_text">Error details may include private data.</p>
|
|
154
160
|
</details>
|
|
155
161
|
<details class="panel dashboard-section" id="request-context">
|
|
156
|
-
<summary data-i18n>RECENT
|
|
162
|
+
<summary data-i18n="recent_request_context">RECENT REQUESTS</summary>
|
|
157
163
|
<p id="context-note" class="table-note">—</p>
|
|
158
|
-
<div class="table-wrap"><table><thead><tr><th scope="col" data-i18n>MODEL</th><th scope="col" data-i18n>
|
|
159
|
-
<p class="hint" data-i18n>
|
|
164
|
+
<div class="table-wrap"><table><thead><tr><th scope="col" data-i18n="model">MODEL</th><th scope="col" data-i18n="wire_mib">DATA SIZE</th><th scope="col" data-i18n="images">IMAGES</th><th scope="col" data-i18n="input_tokens">INPUT USAGE</th><th scope="col" data-i18n="model_window">MODEL LIMIT</th><th scope="col" data-i18n="input_window">CAPACITY USED</th><th scope="col" data-i18n="outcome">RESULT</th></tr></thead><tbody id="context-body"><tr><td colspan="7" data-i18n="no_observed_request_metadata">No request records yet.</td></tr></tbody></table></div>
|
|
165
|
+
<p class="hint" data-i18n="recent_upstream_request_metadata_not_exact_live_session_occupanc">Size: MiB. Usage: Token.
|
|
166
|
+
Request records do not show exact current-chat usage.
|
|
167
|
+
Missing data is unknown. This panel keeps no prompts or images.</p>
|
|
160
168
|
</details>
|
|
161
169
|
</div>
|
|
162
170
|
<div data-view="system" hidden>
|
|
163
|
-
<section class="panel dashboard-section"><h2 data-i18n>
|
|
164
|
-
<section class="overview client-overview"><article class="card"><h2 data-i18n>
|
|
171
|
+
<section class="panel dashboard-section"><h2 data-i18n="process_listener">LOCAL SERVICE</h2><p id="process-state" class="table-note"></p><p id="process-memory" class="hint"></p><p id="process-queues" class="hint"></p><p id="process-notice" class="hint" role="status"></p></section>
|
|
172
|
+
<section class="overview client-overview"><article class="card"><h2 data-i18n="http_traffic">SERVICE REQUESTS</h2><strong id="requests">—</strong><p id="request-errors">—</p><p id="http-error-breakdown">—</p><p><span data-i18n="per_request_limits_active">Per-request limits</span><br><span id="body-limits">—</span></p></article></section>
|
|
165
173
|
<section class="panel dashboard-section" aria-labelledby="settings-heading">
|
|
166
|
-
<h2 id="settings-heading" data-i18n>SERVICE SETTINGS</h2>
|
|
167
|
-
<p class="hint" data-i18n>Saved
|
|
168
|
-
<div class="setting-row"><label for="setting-terminal_animation_enabled" data-i18n>Terminal animation</label><input id="setting-terminal_animation_enabled" type="checkbox" role="switch" disabled><span id="effect-terminal_animation_enabled" class="hint" role="status"></span></div>
|
|
169
|
-
<div class="setting-row"><label for="setting-open_webui" data-i18n>Open
|
|
170
|
-
<p id="settings-note" class="hint" role="status" data-i18n>Reading settings…</p>
|
|
174
|
+
<h2 id="settings-heading" data-i18n="service_settings">SERVICE SETTINGS</h2>
|
|
175
|
+
<p class="hint" data-i18n="saved_preference_and_effective_state_are_separate_environment_ov">Saved choices and current behavior are shown separately. Startup overrides and required restarts are listed.</p>
|
|
176
|
+
<div class="setting-row"><label for="setting-terminal_animation_enabled" data-i18n="terminal_animation">Terminal animation</label><input id="setting-terminal_animation_enabled" type="checkbox" role="switch" disabled><span id="effect-terminal_animation_enabled" class="hint" role="status"></span></div>
|
|
177
|
+
<div class="setting-row"><label for="setting-open_webui" data-i18n="open_webui_at_startup">Open dashboard on startup</label><input id="setting-open_webui" type="checkbox" role="switch" disabled><span id="effect-open_webui" class="hint" role="status"></span></div>
|
|
178
|
+
<p id="settings-note" class="hint" role="status" data-i18n="reading_settings">Reading settings…</p>
|
|
171
179
|
</section>
|
|
172
180
|
<details id="animation-settings" class="panel dashboard-section settings-panel">
|
|
173
|
-
<summary class="panel-heading"><h2 data-i18n>TERMINAL ANIMATION</h2><span id="animation-state" data-i18n>READING</span></summary>
|
|
174
|
-
<div id="animation-options" class="animation-options" role="group" aria-label="Animation
|
|
175
|
-
<div class="section-actions"><button id="save-animation" type="button" disabled data-i18n>Save
|
|
181
|
+
<summary class="panel-heading"><h2 data-i18n="terminal_animation_9edf6">TERMINAL ANIMATION</h2><span id="animation-state" data-i18n="reading">READING</span></summary>
|
|
182
|
+
<div id="animation-options" class="animation-options" role="group" aria-label="Animation style" data-i18n-label="animation_theme"></div>
|
|
183
|
+
<div class="section-actions"><button id="save-animation" type="button" disabled data-i18n="save_selection">Save animation</button><span id="animation-note" role="status" data-i18n="applies_to_the_running_terminal">Updates the running terminal.</span></div>
|
|
176
184
|
</details>
|
|
177
185
|
</div>
|
|
178
186
|
</main>
|
|
179
|
-
<footer data-i18n>
|
|
187
|
+
<footer data-i18n="local_only_visible_page_updates">THIS COMPUTER ONLY / UPDATES WHILE VISIBLE</footer>
|
|
180
188
|
</div>
|
|
181
189
|
</body>
|
|
182
190
|
</html>
|