codex-copilot-dx 1.2.9 → 1.2.11
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 +2 -2
- package/docs/ARCHITECTURE.md +60 -4
- package/docs/REFERENCE.md +63 -2
- package/package.json +1 -1
- package/src/adapter.mjs +2 -1
- package/src/claude-gateway.mjs +2 -1
- package/src/cli-m365.mjs +5 -0
- package/src/dashboard/animation.js +186 -0
- package/src/dashboard/console.js +35 -14
- package/src/dashboard/flow.js +171 -0
- package/src/dashboard/index.html +68 -54
- package/src/dashboard/language.js +88 -43
- package/src/dashboard/status.js +27 -14
- package/src/dashboard/time.js +16 -0
- package/src/dashboard/tools.js +7 -3
- package/src/dashboard/ui.css +80 -16
- package/src/dashboard/ui.js +66 -208
- package/src/dashboard/updates.js +3 -3
- package/src/dashboard/usage.js +2 -2
- package/src/dashboard-api.mjs +4 -2
- package/src/dashboard.mjs +3 -0
- package/src/optional-routes.mjs +1 -1
- package/src/provider-descriptors.mjs +24 -0
- package/src/provider-runtime.mjs +10 -22
- package/src/providers/m365-catalog-diagnostic.mjs +38 -0
- package/src/providers/m365.mjs +8 -3
- package/src/request-application.mjs +15 -0
- package/src/stream-performance.mjs +33 -2
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
(() => {
|
|
2
|
+
const root = document.getElementById("request-flow");
|
|
3
|
+
if (!root) return;
|
|
4
|
+
const el = id => document.getElementById(id), ns = "http://www.w3.org/2000/svg";
|
|
5
|
+
const clients = new Set(["codex_app", "codex_cli", "claude_app", "claude_code", "claude", "api"]);
|
|
6
|
+
const label = (node, key, values = {}) => globalThis.ccdxLanguage.set(node, key, values);
|
|
7
|
+
const format = (key, values = {}) => globalThis.ccdxLanguage.format(key, values);
|
|
8
|
+
const nodes = { apps: new Map(), models: new Map() };
|
|
9
|
+
let rows = [], total = null, omitted = 0, fresh = false, deadline = 0, expiry = null;
|
|
10
|
+
let selected = null, expanded = false, lastSignature = "", geometry = "", known = false;
|
|
11
|
+
let lastApps = [], lastModels = [];
|
|
12
|
+
const visible = () => document.visibilityState === "visible" && !root.closest("[hidden]");
|
|
13
|
+
const integer = value => Number.isSafeInteger(value) && value >= 0;
|
|
14
|
+
const appName = id => format(`flow_app_${id}`);
|
|
15
|
+
const sourceName = id => id === "github" ? "GitHub Copilot" : id === "m365" ? "Microsoft 365" : format("flow_source_unknown");
|
|
16
|
+
const modelName = id => !id || id === "other" ? format("flow_model_unknown") : id;
|
|
17
|
+
const modelKey = row => JSON.stringify([row.provider, row.model]);
|
|
18
|
+
const related = row => !selected || (selected.type === "apps" ? row.application === selected.id : modelKey(row) === selected.id);
|
|
19
|
+
const responding = row => row.first_output_ms !== null && !row.terminal_outcome;
|
|
20
|
+
function status(row) {
|
|
21
|
+
if (row.terminal_outcome) return "flow_finishing";
|
|
22
|
+
if (responding(row)) return "flow_responding";
|
|
23
|
+
if (row.upstream_attempts > 1) return "flow_retrying";
|
|
24
|
+
return row.upstream_attempts ? "flow_waiting" : "flow_preparing";
|
|
25
|
+
}
|
|
26
|
+
function entry(tag, className) { const node = document.createElement(tag);if (className) node.className = className;return node; }
|
|
27
|
+
function svg(tag, values) { const node = document.createElementNS(ns, tag);for (const [key, value] of Object.entries(values)) node.setAttribute(key, value);return node; }
|
|
28
|
+
const logo = el("status-icon")?.cloneNode(true);
|
|
29
|
+
if (logo) { logo.removeAttribute("id");logo.setAttribute("class", "flow-logo");el("flow-hub").prepend(logo); }
|
|
30
|
+
|
|
31
|
+
function group(type) {
|
|
32
|
+
const map = new Map();
|
|
33
|
+
for (const row of rows) {
|
|
34
|
+
const id = type === "apps" ? row.application : modelKey(row);
|
|
35
|
+
if (!map.has(id)) map.set(id, { id, provider: row.provider, model: row.model, rows: [] });
|
|
36
|
+
map.get(id).rows.push(row);
|
|
37
|
+
}
|
|
38
|
+
const order = ["codex_app", "codex_cli", "claude_code", "claude_app", "claude", "api"];
|
|
39
|
+
return [...map.values()].sort((a, b) => type === "apps" ? order.indexOf(a.id) - order.indexOf(b.id) : a.id.localeCompare(b.id));
|
|
40
|
+
}
|
|
41
|
+
function project(type, groups) {
|
|
42
|
+
const target = el(type === "apps" ? "flow-apps" : "flow-models"), cache = nodes[type], fragments = [];
|
|
43
|
+
const ids = new Set(groups.map(group => group.id));
|
|
44
|
+
for (const [id, node] of cache) if (!ids.has(id)) { node.remove();cache.delete(id); }
|
|
45
|
+
let priorSource = null;
|
|
46
|
+
for (const group of groups) {
|
|
47
|
+
if (type === "models" && group.provider !== priorSource) {
|
|
48
|
+
const heading = entry("div", "flow-source");heading.textContent = sourceName(group.provider);fragments.push(heading);priorSource = group.provider;
|
|
49
|
+
}
|
|
50
|
+
let node = cache.get(group.id);
|
|
51
|
+
if (!node) {
|
|
52
|
+
node = entry("div", "flow-node");
|
|
53
|
+
const button = entry("button", "flow-choice"), count = entry("span", "flow-count"), note = entry("span", "flow-note");button.type = "button";
|
|
54
|
+
button.addEventListener("click", () => {
|
|
55
|
+
selected = selected?.type === type && selected.id === group.id ? null : { type, id: group.id };
|
|
56
|
+
el("flow-active").open = Boolean(selected);lastSignature = "";render();
|
|
57
|
+
});
|
|
58
|
+
node.append(button, count, note);cache.set(group.id, node);
|
|
59
|
+
}
|
|
60
|
+
const [button, count, note] = node.children;
|
|
61
|
+
button.textContent = type === "apps" ? appName(group.id) : modelName(group.model);
|
|
62
|
+
button.setAttribute("aria-pressed", String(selected?.type === type && selected.id === group.id));
|
|
63
|
+
count.textContent = fresh && (group.rows.length || total === 0)
|
|
64
|
+
? `${omitted && group.rows.length ? "≥" : ""}${group.rows.length.toLocaleString()}` : "—";
|
|
65
|
+
const output = group.rows.filter(responding).length;
|
|
66
|
+
const phase = group.rows.every(row => row.terminal_outcome) ? "flow_finishing"
|
|
67
|
+
: group.rows.every(row => row.upstream_attempts > 1) ? "flow_retrying" : "flow_waiting";
|
|
68
|
+
label(note, !fresh || total && !group.rows.length ? "flow_last_observed" : !group.rows.length ? "flow_idle" : output ? "flow_group_response" : phase, { count: output });
|
|
69
|
+
node.dataset.related = String(!selected || group.rows.some(related));fragments.push(node);
|
|
70
|
+
}
|
|
71
|
+
// Keep existing buttons and their focus when counts or phases change.
|
|
72
|
+
const wanted = new Set(fragments);
|
|
73
|
+
for (const node of [...target.children]) if (!wanted.has(node)) node.remove();
|
|
74
|
+
fragments.forEach((node, index) => { if (target.children[index] !== node) target.insertBefore(node, target.children[index] || null); });
|
|
75
|
+
}
|
|
76
|
+
function details() {
|
|
77
|
+
label(el("flow-active-title"), fresh ? "flow_active_count" : "flow_last_count", { count: rows.filter(related).length });
|
|
78
|
+
if (!el("flow-active").open) return;
|
|
79
|
+
const body = el("flow-active-body"), records = rows.filter(related);body.replaceChildren();
|
|
80
|
+
for (const row of records) {
|
|
81
|
+
const tr = entry("tr");
|
|
82
|
+
for (const value of [appName(row.application), sourceName(row.provider), modelName(row.model), format(fresh ? status(row) : "flow_last_observed"), `${(row.elapsed_ms / 1000).toFixed(1)} s`, row.upstream_attempts.toLocaleString()]) {
|
|
83
|
+
const td = entry("td");td.textContent = value;tr.append(td);
|
|
84
|
+
}
|
|
85
|
+
body.append(tr);
|
|
86
|
+
}
|
|
87
|
+
if (!records.length) { const tr = entry("tr"), td = entry("td");td.colSpan = 6;label(td, known ? "flow_no_active" : "flow_status_unknown");tr.append(td);body.append(tr); }
|
|
88
|
+
}
|
|
89
|
+
function render() {
|
|
90
|
+
if (!visible()) { root.dataset.paused = "true";return; }
|
|
91
|
+
root.dataset.paused = "false";
|
|
92
|
+
const apps = group("apps"), allModels = group("models");
|
|
93
|
+
if (fresh && rows.length) { lastApps = apps;lastModels = allModels; }
|
|
94
|
+
if (fresh && !rows.length) { for (const groups of [lastApps, lastModels]) for (const group of groups) group.rows = []; }
|
|
95
|
+
const shownApps = apps.length ? apps : lastApps, models = allModels.length ? allModels : lastModels;
|
|
96
|
+
if (selected && !rows.some(related)) selected = null;
|
|
97
|
+
const signature = JSON.stringify([fresh, total, omitted, selected, expanded, rows.map(row => [row.request_id, row.application, row.provider, row.model, row.phase, row.upstream_attempts, row.first_output_ms !== null, row.terminal_outcome])]);
|
|
98
|
+
details();
|
|
99
|
+
if (signature === lastSignature) return;
|
|
100
|
+
lastSignature = signature;
|
|
101
|
+
root.dataset.state = !fresh ? "unknown" : total ? "active" : "idle";
|
|
102
|
+
const state = el("flow-state");
|
|
103
|
+
if (fresh && total === 0) label(state, "flow_idle");
|
|
104
|
+
else globalThis.ccdxIcons?.set(state, !fresh ? "flow_status_unknown" : "flow_total", !fresh ? "unavailable" : "running", { count: total });
|
|
105
|
+
label(el("flow-total"), fresh ? "flow_total" : "flow_last_observed", { count: total });
|
|
106
|
+
label(el("flow-caption"), !fresh ? "flow_status_unknown" : omitted ? "flow_omitted" : selected ? "flow_related_count" : total ? "flow_group_scope" : "flow_no_active",
|
|
107
|
+
{ count: rows.filter(related).length, omitted, apps: apps.length, models: allModels.length });
|
|
108
|
+
el("flow-clear").hidden = !selected;
|
|
109
|
+
el("flow-more").hidden = models.length <= 12;
|
|
110
|
+
label(el("flow-more"), expanded ? "flow_fewer_models" : "flow_more_models", { count: Math.max(0, models.length - 12) });
|
|
111
|
+
project("apps", shownApps);
|
|
112
|
+
project("models", expanded ? models : models.slice(0, 12));
|
|
113
|
+
geometry = "";draw();
|
|
114
|
+
}
|
|
115
|
+
function rounded(x0, y0, x1, y1) {
|
|
116
|
+
if (Math.abs(y1 - y0) < 2) return `M${x0} ${y0}H${x1}`;
|
|
117
|
+
const middle = (x0 + x1) / 2, radius = Math.min(14, (x1 - x0) / 4, Math.abs(y1 - y0) / 2), sign = Math.sign(y1 - y0);
|
|
118
|
+
return `M${x0} ${y0}H${middle - radius}Q${middle} ${y0} ${middle} ${y0 + sign * radius}V${y1 - sign * radius}Q${middle} ${y1} ${middle + radius} ${y1}H${x1}`;
|
|
119
|
+
}
|
|
120
|
+
function draw() {
|
|
121
|
+
if (!visible()) return;
|
|
122
|
+
const network = el("flow-network"), rect = network.getBoundingClientRect(), hub = el("flow-hub").getBoundingClientRect(), edges = [];
|
|
123
|
+
const inset = rect.width < 500 ? 2 : 6;
|
|
124
|
+
if (!rect.width) return;
|
|
125
|
+
for (const type of ["apps", "models"]) for (const [id, node] of nodes[type]) {
|
|
126
|
+
if (!node.isConnected) continue;
|
|
127
|
+
const box = node.getBoundingClientRect(), left = type === "apps";
|
|
128
|
+
const x0 = (left ? box.right : hub.right) - rect.left + inset, y0 = (left ? box.top + 17 : hub.top + hub.height / 2) - rect.top;
|
|
129
|
+
const x1 = (left ? hub.left : box.left) - rect.left - inset, y1 = (left ? hub.top + hub.height / 2 : box.top + 17) - rect.top;
|
|
130
|
+
if (x1 <= x0) continue;
|
|
131
|
+
const matches = rows.filter(row => (left ? row.application : modelKey(row)) === id && related(row));
|
|
132
|
+
edges.push({ d: rounded(x0, y0, x1, y1), active: fresh && matches.length > 0, moving: fresh && matches.some(responding), dim: node.dataset.related === "false", x: left ? x0 : x1, y: left ? y0 : y1, left });
|
|
133
|
+
}
|
|
134
|
+
const next = JSON.stringify([rect.width, rect.height, edges]);if (next === geometry) return;geometry = next;
|
|
135
|
+
const wires = el("flow-wires");wires.setAttribute("viewBox", `0 0 ${rect.width} ${rect.height}`);wires.replaceChildren();
|
|
136
|
+
for (const edge of edges) {
|
|
137
|
+
wires.append(svg("path", { d: edge.d, class: `flow-wire${edge.dim ? " flow-dim" : edge.active ? " flow-live" : ""}` }));
|
|
138
|
+
if (edge.moving) { const dot = svg("circle", { r: 2.4, class: "flow-packet" });dot.style.offsetPath = `path('${edge.d}')`;dot.style.animationDelay = edge.left ? "-.9s" : "0s";wires.append(dot); }
|
|
139
|
+
else if (edge.active) wires.append(svg("circle", { cx: edge.x, cy: edge.y, r: 2.4, class: "flow-wait" }));
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
function unavailable() { clearTimeout(expiry);expiry = null;fresh = false;deadline = 0;render(); }
|
|
143
|
+
function visibilityChanged() { if (deadline && Date.now() >= deadline) { unavailable();return; }render();draw(); }
|
|
144
|
+
el("flow-clear").addEventListener("click", () => { selected = null;render(); });
|
|
145
|
+
el("flow-hub").addEventListener("click", () => { selected = null;render(); });
|
|
146
|
+
el("flow-more").addEventListener("click", () => { expanded = !expanded;render(); });
|
|
147
|
+
el("flow-active").addEventListener("toggle", details);
|
|
148
|
+
document.addEventListener("visibilitychange", visibilityChanged);
|
|
149
|
+
globalThis.addEventListener("pagehide", () => { root.dataset.paused = "true"; });
|
|
150
|
+
globalThis.addEventListener("pageshow", visibilityChanged);
|
|
151
|
+
new ResizeObserver(draw).observe(el("flow-network"));
|
|
152
|
+
new MutationObserver(() => { lastSignature = "";render(); }).observe(document.documentElement, { attributes: true, attributeFilter: ["lang"] });
|
|
153
|
+
globalThis.ccdxDashboardFlow = {
|
|
154
|
+
update(data) {
|
|
155
|
+
const parts = [data?.stream_performance, data?.providers?.m365?.claude?.requests?.performance].filter(Boolean);
|
|
156
|
+
if (!parts.length || parts.some(part => !integer(part.active_total) || !Array.isArray(part.active_requests))) { unavailable();return; }
|
|
157
|
+
const values = parts.flatMap(part => part.active_requests).slice(0, 128);
|
|
158
|
+
rows = values.filter(row => row && typeof row.model === "string" && integer(row.upstream_attempts) && Number.isFinite(row.elapsed_ms) && row.elapsed_ms >= 0).map(row => ({
|
|
159
|
+
request_id: typeof row.request_id === "string" ? row.request_id.slice(0, 80) : null,
|
|
160
|
+
application: clients.has(row.application) ? row.application : "api", provider: ["github", "m365"].includes(row.provider) ? row.provider : "unknown",
|
|
161
|
+
model: row.model.slice(0, 100), phase: String(row.phase || "").slice(0, 40), elapsed_ms: row.elapsed_ms,
|
|
162
|
+
upstream_attempts: row.upstream_attempts, first_output_ms: Number.isFinite(row.first_output_ms) && row.first_output_ms >= 0 ? row.first_output_ms : null,
|
|
163
|
+
terminal_outcome: ["completed", "incomplete", "failed", "cancelled", "unknown"].includes(row.terminal_outcome) ? row.terminal_outcome : null,
|
|
164
|
+
}));
|
|
165
|
+
total = parts.reduce((sum, part) => sum + part.active_total, 0);
|
|
166
|
+
if (!integer(total) || total < rows.length) { unavailable();return; }
|
|
167
|
+
omitted = total - rows.length;fresh = true;known = true;
|
|
168
|
+
clearTimeout(expiry);deadline = Date.now() + 6000;expiry = setTimeout(unavailable, 6000);render();
|
|
169
|
+
}, unavailable, visibilityChanged,
|
|
170
|
+
};
|
|
171
|
+
})();
|
package/src/dashboard/index.html
CHANGED
|
@@ -10,10 +10,13 @@
|
|
|
10
10
|
<link rel="stylesheet" href="/ui.css">
|
|
11
11
|
<script src="/refresh.js" defer></script>
|
|
12
12
|
<script src="/icons.js" defer></script>
|
|
13
|
+
<script src="/time.js" defer></script>
|
|
13
14
|
<script src="/status.js" defer></script>
|
|
14
15
|
<script src="/activity.js" defer></script>
|
|
16
|
+
<script src="/flow.js" defer></script>
|
|
15
17
|
<script src="/usage.js" defer></script>
|
|
16
18
|
<script src="/updates.js" defer></script>
|
|
19
|
+
<script src="/animation.js" defer></script>
|
|
17
20
|
<script src="/ui.js" defer></script>
|
|
18
21
|
<script src="/console.js" defer></script>
|
|
19
22
|
<script src="/tools.js" defer></script>
|
|
@@ -44,7 +47,6 @@
|
|
|
44
47
|
<main id="main-content" tabindex="-1">
|
|
45
48
|
<section class="intro">
|
|
46
49
|
<h1><span id="page-title" data-i18n="overview">Overview</span></h1>
|
|
47
|
-
<p id="page-description" class="page-description" data-i18n="page_overview_description">Service, app connections and usage this run.</p>
|
|
48
50
|
<p id="page-settings-note" class="hint" role="status"></p>
|
|
49
51
|
</section>
|
|
50
52
|
|
|
@@ -56,8 +58,7 @@
|
|
|
56
58
|
<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><p id="updated" class="refresh-time" data-i18n="reading_status">Reading status…</p></article><article class="card"><h2 data-i18n="sources">SOURCES</h2><strong id="source-summary">—</strong><p id="source-detail">—</p></article></section>
|
|
57
59
|
<details class="panel dashboard-section" id="client-features" open>
|
|
58
60
|
<summary class="panel-heading"><h2 data-i18n="client_connections">APP SETUP</h2><span data-i18n="configuration_observation">SETUP AND ACTIVITY</span></summary>
|
|
59
|
-
<div class="table-wrap"><table><thead><tr><th data-i18n="client">APP</th><th data-i18n="current_source">Current source</th><th data-i18n="connection_setup">Setup</th><th data-i18n="local_bridge">Local service</th><th data-i18n="last_request">LAST REQUEST</th></tr></thead><tbody id="provider-clients"></tbody></table></div>
|
|
60
|
-
<p class="hint" data-i18n="configured_not_successful">Configured does not mean a request succeeded.</p>
|
|
61
|
+
<div class="table-wrap"><table><thead><tr><th data-i18n="client">APP</th><th data-i18n="current_source">Current source</th><th data-i18n="connection_setup" data-i18n-title="configured_not_successful">Setup</th><th data-i18n="local_bridge">Local service</th><th data-i18n="last_request">LAST REQUEST</th></tr></thead><tbody id="provider-clients"></tbody></table></div>
|
|
61
62
|
</details>
|
|
62
63
|
<section class="panel dashboard-section"><h2 data-i18n="this_run_usage">THIS RUN</h2><p id="runtime-usage" class="table-note"></p><p class="table-note"><span data-i18n="approx_cache_hit_rate">Approx. cache hit rate</span>: <strong id="runtime-cache-hit" data-i18n-title="runtime_cache_hit_basis" title="Reused input / input tokens. ~ Partial counts. — Unknown or invalid.">—</strong></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>
|
|
63
64
|
</div>
|
|
@@ -88,20 +89,22 @@
|
|
|
88
89
|
<details class="panel dashboard-section" id="prediction-settings" open>
|
|
89
90
|
<summary class="panel-heading"><h2 data-i18n="codex_input_predictions">INPUT SUGGESTIONS</h2><span data-i18n="codex_only">CODEX ONLY</span></summary>
|
|
90
91
|
<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>
|
|
92
|
+
<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>
|
|
91
93
|
<details class="tool-details"><summary data-i18n="status_and_repair">Status and repair</summary>
|
|
92
94
|
<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>
|
|
93
95
|
<p id="prediction-note" class="hint">—</p>
|
|
94
96
|
<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>
|
|
95
97
|
|
|
96
98
|
<div class="section-actions"><button id="fix-prediction" type="button" data-i18n="check_and_repair">Check and repair</button></div>
|
|
97
|
-
<p class="hint" data-i18n="
|
|
99
|
+
<p class="hint" data-i18n="prediction_first_setup">Quit Codex before first setup: ccdx prediction on</p>
|
|
98
100
|
</details>
|
|
99
101
|
</details>
|
|
100
102
|
<details class="panel dashboard-section" id="additional-capabilities">
|
|
101
103
|
<summary class="panel-heading"><h2 data-i18n="codex_image_generation">IMAGE GENERATION</h2><span data-i18n="codex_only">CODEX ONLY</span></summary>
|
|
102
104
|
<strong id="image">—</strong><p id="image-detail" class="hint">—</p>
|
|
103
105
|
<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>
|
|
104
|
-
<p class="hint" data-i18n="pause_keeps_the_provider_configuration_running_calls_can_finish_">
|
|
106
|
+
<p class="hint" data-i18n="pause_keeps_the_provider_configuration_running_calls_can_finish_">Existing image requests can finish after pausing.</p>
|
|
107
|
+
<details class="tool-details"><summary data-i18n="status_and_repair">Status and repair</summary><p class="hint" data-i18n="image_first_setup">First setup: ccdx enable-image</p></details>
|
|
105
108
|
</details>
|
|
106
109
|
<details class="panel dashboard-section" id="runtime-resources">
|
|
107
110
|
<summary data-i18n="codex_conversation_buffer">CONVERSATION BUFFER</summary>
|
|
@@ -115,18 +118,18 @@
|
|
|
115
118
|
<details class="panel dashboard-section" id="codex-performance">
|
|
116
119
|
<summary data-i18n="request_performance">REQUEST PERFORMANCE</summary>
|
|
117
120
|
<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>
|
|
118
|
-
<p class="hint" data-i18n="http_2xx_model_completed">HTTP success does not mean a complete reply.</p>
|
|
119
121
|
<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>
|
|
120
122
|
<p class="hint" data-i18n="codex_responses_timing_since_startup_output_speed_is_estimated">Codex Responses timing since startup. Speed is estimated.</p>
|
|
123
|
+
<dl class="stats timing-stats"><div><dt data-i18n="estimated_percentiles" data-i18n-title="percentile_basis">Approx. first-output P50 / P95</dt><dd id="ttft-percentiles">—</dd></div></dl>
|
|
121
124
|
<a class="section-link" href="#requests" data-i18n="view_request_details">View request details</a>
|
|
122
125
|
</details>
|
|
123
126
|
</div>
|
|
124
127
|
<div data-view="claude" hidden>
|
|
125
128
|
<section class="panel dashboard-section" id="claude-connections">
|
|
126
129
|
<h2 data-i18n="client_connections">APP SETUP</h2>
|
|
127
|
-
<div class="table-wrap"><table><thead><tr><th data-i18n="client">APP</th><th data-i18n="connection_setup">Setup</th><th data-i18n="local_bridge">Local service</th><th data-i18n="last_request">LAST REQUEST</th></tr></thead><tbody id="claude-clients"></tbody></table></div>
|
|
130
|
+
<div class="table-wrap"><table><thead><tr><th data-i18n="client">APP</th><th data-i18n="connection_setup" data-i18n-title="configured_not_successful">Setup</th><th data-i18n="local_bridge">Local service</th><th data-i18n="last_request">LAST REQUEST</th></tr></thead><tbody id="claude-clients"></tbody></table></div>
|
|
128
131
|
<p id="claude-client-state" class="hint"></p>
|
|
129
|
-
|
|
132
|
+
|
|
130
133
|
</section>
|
|
131
134
|
<section class="panel dashboard-section">
|
|
132
135
|
<h2 data-i18n="source">Source</h2><p class="table-note">Microsoft 365</p>
|
|
@@ -137,21 +140,23 @@
|
|
|
137
140
|
<section class="panel dashboard-section" id="claude-performance">
|
|
138
141
|
<div class="panel-heading"><h2 data-i18n="request_performance">REQUEST PERFORMANCE</h2><span data-i18n="messages_combined_since_start">MESSAGES COMBINED / SINCE STARTUP</span></div>
|
|
139
142
|
<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>
|
|
140
|
-
|
|
141
|
-
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
<dl class="stats timing-stats"><div><dt data-i18n="estimated_percentiles" data-i18n-title="percentile_basis">Approx. first-output P50 / P95</dt><dd id="claude-ttft-percentiles">—</dd></div></dl>
|
|
142
146
|
<a class="section-link" href="#requests" data-i18n="view_request_details">View request details</a>
|
|
143
147
|
</section>
|
|
144
148
|
</div>
|
|
145
149
|
<div data-view="models" hidden>
|
|
150
|
+
<p class="table-note" data-i18n="tools_source_browse">Browse source</p>
|
|
146
151
|
<div id="model-providers" class="provider-tabs" role="tablist" aria-label="Model providers" data-i18n-label="model_providers"></div>
|
|
147
|
-
|
|
152
|
+
|
|
148
153
|
<div id="source-account-panel" role="tabpanel">
|
|
149
154
|
<p id="source-status-note" class="hint" role="status"></p>
|
|
150
155
|
<section class="panel dashboard-section" id="github-account">
|
|
151
|
-
<div class="panel-heading"><h2>
|
|
156
|
+
<div class="panel-heading"><h2 data-i18n="account_access">Account & access</h2><span id="github-account-state"></span></div>
|
|
152
157
|
<p id="github-account-name" class="account-name">—</p><p id="github-account-hint" class="hint"></p>
|
|
153
|
-
<dl id="github-account-fields" class="account-
|
|
154
|
-
<div class="section-actions"><button id="github-signin" type="button" data-i18n="tools_login">Sign in to GitHub</button><button id="github-
|
|
158
|
+
<dl id="github-account-fields" class="account-summary"></dl>
|
|
159
|
+
<div class="section-actions"><button id="github-check" type="button" data-i18n="tools_check_connection">Check connection</button><button id="github-signin" type="button" data-i18n="tools_login">Sign in to GitHub</button><button id="github-force-reauth" type="button" data-i18n="tools_reauth">Sign in again</button></div>
|
|
155
160
|
<p class="hint" data-i18n="tools_no_inference">Checks access and models. No chat request is sent.</p>
|
|
156
161
|
<section id="github-login-flow" class="tool-flow" hidden aria-label="GitHub sign-in">
|
|
157
162
|
<h3 id="github-flow-state" data-i18n="tools_waiting">Waiting for GitHub</h3>
|
|
@@ -161,16 +166,18 @@
|
|
|
161
166
|
<p class="hint" data-i18n="tools_keep_old_signin">Old sign-in is kept until verification succeeds.</p>
|
|
162
167
|
</section>
|
|
163
168
|
<p id="github-account-note" class="hint" role="status" aria-live="polite"></p>
|
|
164
|
-
<details class="tool-details"><summary data-i18n="tools_details">Check details</summary><dl class="failure-detail"><dt data-i18n="tools_storage">Saved sign-in</dt><dd id="github-store">—</dd><dt data-i18n="tools_error_code">Error code</dt><dd id="github-check-code">—</dd><dt>HTTP</dt><dd id="github-check-http">—</dd></dl></details>
|
|
165
|
-
<details class="tool-details"><summary data-i18n="tools_more_actions">More actions</summary><div class="section-actions"><button id="github-
|
|
169
|
+
<details class="tool-details"><summary data-i18n="tools_details">Check details</summary><dl class="failure-detail"><dt data-i18n="tools_storage">Saved sign-in</dt><dd id="github-store">—</dd><dt data-i18n="tools_error_code">Error code</dt><dd id="github-check-code">—</dd><dt>HTTP</dt><dd id="github-check-http">—</dd><dt data-i18n="tools_github_identity">GitHub identity</dt><dd id="github-identity-detail">—</dd><dt data-i18n="last_verified">Last checked</dt><dd id="github-checked-at">—</dd></dl></details>
|
|
170
|
+
<details class="tool-details"><summary data-i18n="tools_more_actions">More actions</summary><div class="section-actions"><button id="github-logout" type="button" data-i18n="tools_logout">Sign out of CCDX</button></div></details>
|
|
166
171
|
</section>
|
|
167
172
|
<section class="panel dashboard-section" id="m365-source-access" hidden aria-labelledby="source-access-heading">
|
|
168
|
-
<h2 id="source-access-heading">
|
|
169
|
-
|
|
170
|
-
<div class="
|
|
173
|
+
<h2 id="source-access-heading" data-i18n="account_access">Account & access</h2>
|
|
174
|
+
|
|
175
|
+
<div class="setting-row"><label for="m365-enabled" data-i18n="enable_service">Enable source</label><input id="m365-enabled" type="checkbox" role="switch" disabled><span id="m365-source-effect" class="hint" role="status"></span></div>
|
|
171
176
|
<div id="m365-control-note" class="hint" role="status"></div>
|
|
172
177
|
<h3 data-i18n="company_account">Company account</h3>
|
|
173
|
-
<p id="m365-account-
|
|
178
|
+
<p id="m365-account-name" class="account-name">—</p>
|
|
179
|
+
<dl class="account-summary"><div><dt data-i18n="sign_in_status">Sign-in</dt><dd id="m365-signin-state">—</dd></div><div><dt data-i18n="model_catalog">Model list</dt><dd id="m365-catalog-state">—</dd></div><div><dt data-i18n="last_request">Last request</dt><dd id="m365-last-request">—</dd></div></dl>
|
|
180
|
+
<details class="tool-details"><summary data-i18n="account_details">Account details</summary><p id="m365-account-current" class="hint" role="status"></p></details>
|
|
174
181
|
<div class="section-actions"><button id="m365-accounts-refresh" type="button" data-i18n="check_accounts">Check accounts</button></div>
|
|
175
182
|
<div id="m365-account-form" hidden>
|
|
176
183
|
<div class="section-actions"><label><span data-i18n="choose_company_account">Choose a company account</span><select id="m365-account-choice"></select></label><button id="m365-account-apply" type="button" disabled data-i18n="use_this_account">Use this account</button></div>
|
|
@@ -178,31 +185,31 @@
|
|
|
178
185
|
</div>
|
|
179
186
|
<p id="m365-account-note" class="hint" role="status" aria-live="polite"></p>
|
|
180
187
|
</section>
|
|
181
|
-
<details class="panel dashboard-section" id="upstream-models" open>
|
|
188
|
+
<details class="panel dashboard-section model-catalog" id="upstream-models" open>
|
|
182
189
|
<summary class="panel-heading"><h2 data-i18n="model_catalog">MODEL LIST</h2><span id="models-state" data-i18n="checking_live">CHECKING</span></summary>
|
|
183
190
|
<div class="section-actions"><button id="refresh-models" type="button" data-i18n="refresh">Refresh</button></div>
|
|
184
191
|
<p id="models-note" class="table-note" data-i18n="reading_provider_catalog">Loading model list…</p>
|
|
185
|
-
<details id="model-check-details" class="model-check-details" hidden><summary data-i18n="source_check_details">Check details</summary><dl id="model-check-fields" class="failure-detail"></dl
|
|
186
|
-
<div class="table-wrap"><table><thead><tr><th scope="col" data-i18n="model">MODEL</th><th scope="col" data-i18n="
|
|
187
|
-
<p class="hint" data-i18n="catalog_listing_does_not_guarantee_inference_access">
|
|
192
|
+
<details id="model-check-details" class="model-check-details" hidden><summary data-i18n="source_check_details">Check details</summary><dl id="model-check-fields" class="failure-detail"></dl></details>
|
|
193
|
+
<div class="table-wrap"><table><thead><tr><th scope="col" data-i18n="model">MODEL</th><th scope="col" data-i18n="client">APP</th><th scope="col" data-i18n="tools_details">Details</th></tr></thead><tbody id="live-models-body" role="tabpanel"><tr><td colspan="3" data-i18n="loading">Loading…</td></tr></tbody></table></div>
|
|
194
|
+
<details class="tool-details"><summary data-i18n="tools_details">Details</summary><p class="hint" data-i18n="catalog_listing_does_not_guarantee_inference_access">Models listed; inference access not verified.</p></details>
|
|
188
195
|
</details>
|
|
189
196
|
<details class="panel dashboard-section" id="account-authorization">
|
|
190
197
|
<summary data-i18n="source_access_details">SOURCE ACCESS DETAILS</summary>
|
|
191
|
-
|
|
198
|
+
|
|
192
199
|
<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>
|
|
193
200
|
</details>
|
|
194
201
|
</div>
|
|
195
202
|
</div>
|
|
196
203
|
<div data-view="checks" hidden>
|
|
197
204
|
<section class="panel dashboard-section">
|
|
198
|
-
<h2 data-i18n="
|
|
205
|
+
<h2 data-i18n="tools_check_local">Check this computer</h2>
|
|
199
206
|
<p class="hint" data-i18n="tools_local_scope">Local checks do not contact external services.</p>
|
|
200
207
|
<div class="section-actions"><button id="check-local" type="button" data-i18n="tools_check_local">Check this computer</button></div>
|
|
201
208
|
<p id="checks-note" class="table-note" role="status" aria-live="polite" data-i18n="tools_checks_empty">Run a check to see the results.</p>
|
|
202
209
|
<div class="table-wrap"><table class="checks-table"><thead><tr><th data-i18n="tools_check_item">Check</th><th data-i18n="state">State</th><th data-i18n="tools_details">Details</th></tr></thead><tbody id="checks-body"></tbody></table></div>
|
|
203
210
|
</section>
|
|
204
211
|
<section class="panel dashboard-section">
|
|
205
|
-
<h2 data-i18n="account_access">ACCOUNT AND ACCESS</h2
|
|
212
|
+
<h2 data-i18n="account_access">ACCOUNT AND ACCESS</h2>
|
|
206
213
|
<div class="section-actions"><button id="check-account-link" type="button" data-i18n="check_github_connection">Check GitHub connection</button><a class="section-link" href="#models" data-source-link="m365" data-i18n="view_m365_account">View M365 account</a></div>
|
|
207
214
|
</section>
|
|
208
215
|
<section class="panel dashboard-section">
|
|
@@ -223,22 +230,15 @@
|
|
|
223
230
|
<div data-view="usage" hidden>
|
|
224
231
|
<div class="section-actions usage-source-controls"><label><span data-i18n="source_entire_page">Source / entire page</span><select id="usage-provider"><option value="" data-i18n="all_providers">All providers</option></select></label><button id="refresh-usage" type="button" data-i18n="refresh_usage">Refresh usage</button></div>
|
|
225
232
|
|
|
226
|
-
|
|
227
|
-
<summary class="panel-heading"><h2 data-i18n="usage_totals">USAGE TOTALS</h2><span id="usage-state" data-i18n="reading_log">COUNTING</span></summary>
|
|
228
|
-
<div class="section-actions"><button id="clear-usage-day" type="button" hidden data-i18n="all_history">Show all</button></div>
|
|
229
|
-
<p id="usage-note" class="table-note" data-i18n="aggregating_local_usage_metadata">Counting local usage…</p>
|
|
230
|
-
<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>
|
|
231
|
-
<p class="hint" data-i18n="cache_hit_recorded_cached_input_tokens_incomplete_history_unavai">Unit: Token. Reused input is part of input.
|
|
232
|
-
~ Partial records. — Unknown or invalid.</p>
|
|
233
|
-
<details id="usage-analytics" class="analytics-section">
|
|
233
|
+
<details id="usage-analytics" class="panel dashboard-section analytics-section">
|
|
234
234
|
<summary data-i18n="usage_analytics">USAGE TRENDS</summary>
|
|
235
235
|
<div class="analytics-controls">
|
|
236
236
|
<label><span data-i18n="model_both_charts">Model / both charts</span> <select id="analytics-model"><option value="" data-i18n="all_models">All models</option></select></label>
|
|
237
237
|
</div>
|
|
238
|
-
<p id="analytics-note" class="table-note" role="status" data-i18n="open_to_read_retained_usage_history">
|
|
238
|
+
<p id="analytics-note" class="table-note" role="status" data-i18n="open_to_read_retained_usage_history">Loading usage trends…</p>
|
|
239
239
|
<p id="analytics-updated" class="refresh-time"></p>
|
|
240
240
|
<div class="chart-heading"><h3 data-i18n="daily_tokens">DAILY USAGE</h3><div class="analytics-controls"><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>
|
|
241
|
-
<label><span data-i18n="chart_view">Chart view</span> <select id="analytics-view"><option value="bars" selected data-i18n="bar_chart">Bar chart</option><option value="line" data-i18n="line_chart">Line chart</option></select></label></div></div
|
|
241
|
+
<label><span data-i18n="chart_view">Chart view</span> <select id="analytics-view"><option value="bars" selected data-i18n="bar_chart">Bar chart</option><option value="line" data-i18n="line_chart">Line chart</option></select></label></div></div>
|
|
242
242
|
<div id="daily-bars" class="daily-bars" aria-label="Daily usage in Token" data-i18n-label="daily_token_usage"></div>
|
|
243
243
|
<div class="daily-axis"><span id="daily-from"></span><span id="daily-to"></span></div>
|
|
244
244
|
<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>
|
|
@@ -246,9 +246,28 @@
|
|
|
246
246
|
<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>
|
|
247
247
|
<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>
|
|
248
248
|
</details>
|
|
249
|
+
<details class="panel dashboard-section" id="model-usage" open>
|
|
250
|
+
<summary class="panel-heading"><h2 data-i18n="usage_totals">USAGE TOTALS</h2><span id="usage-state" data-i18n="reading_log">COUNTING</span></summary>
|
|
251
|
+
<div class="section-actions"><button id="clear-usage-day" type="button" hidden data-i18n="all_history">Show all</button></div>
|
|
252
|
+
<p id="usage-note" class="table-note" data-i18n="aggregating_local_usage_metadata">Counting local usage…</p>
|
|
253
|
+
<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>
|
|
254
|
+
<p class="hint" data-i18n="cache_hit_recorded_cached_input_tokens_incomplete_history_unavai">Unit: Token. Reused input is part of input.
|
|
255
|
+
~ Partial records. — Unknown or invalid.</p>
|
|
256
|
+
|
|
249
257
|
</details>
|
|
250
258
|
</div>
|
|
251
259
|
<div data-view="requests" hidden>
|
|
260
|
+
<section class="panel dashboard-section" id="request-flow" data-state="unknown">
|
|
261
|
+
<div class="panel-heading"><h2 data-i18n="request_flow">REQUEST FLOW</h2><span id="flow-state" role="status" aria-live="polite" data-i18n="flow_status_unknown">Status unavailable</span></div>
|
|
262
|
+
<div id="flow-network" class="flow-network" role="group" data-i18n-label="request_flow" aria-label="Request flow">
|
|
263
|
+
<svg id="flow-wires" class="flow-wires" aria-hidden="true"></svg>
|
|
264
|
+
<div class="flow-column"><p class="flow-column-title" data-i18n="clients">Apps</p><div id="flow-apps" class="flow-apps"></div></div>
|
|
265
|
+
<div class="flow-hub-column"><button id="flow-hub" type="button" data-i18n-label="flow_show_all" aria-label="Show all requests"><b>CCDX</b><small id="flow-total">—</small></button></div>
|
|
266
|
+
<div class="flow-column"><p class="flow-column-title" data-i18n="flow_sources_models">Sources / models</p><div id="flow-models"></div></div>
|
|
267
|
+
</div>
|
|
268
|
+
<div class="flow-caption"><span id="flow-caption" data-i18n="flow_status_unknown">Status unavailable</span><button id="flow-clear" type="button" data-i18n="flow_show_all" hidden>Show all</button><button id="flow-more" type="button" hidden>More models</button></div>
|
|
269
|
+
<details id="flow-active" class="tool-details"><summary id="flow-active-title" data-i18n="flow_active_requests">Active requests</summary><div class="table-wrap"><table><thead><tr><th data-i18n="client">App</th><th data-i18n="source">Source</th><th data-i18n="model">Model</th><th data-i18n="state">State</th><th data-i18n="flow_elapsed">Elapsed</th><th data-i18n="attempts">Attempts</th></tr></thead><tbody id="flow-active-body"></tbody></table></div></details>
|
|
270
|
+
</section>
|
|
252
271
|
<details class="panel dashboard-section" id="source-requests" open>
|
|
253
272
|
<summary data-i18n="requests_by_source">REQUESTS BY SOURCE</summary>
|
|
254
273
|
<p class="hint" data-i18n="results_since_startup_partial_usage_is_marked_separately">Results since startup. Partial usage is marked separately.</p>
|
|
@@ -259,35 +278,37 @@
|
|
|
259
278
|
<summary data-i18n="recent_request_context">RECENT REQUESTS</summary>
|
|
260
279
|
<p id="context-note" class="table-note">—</p>
|
|
261
280
|
<div class="table-wrap"><table><thead><tr><th scope="col" data-i18n="time">Time</th><th scope="col" data-i18n="source">Source</th><th scope="col" data-i18n="model">MODEL</th><th scope="col" data-i18n="outcome">RESULT</th><th scope="col" data-i18n="input_tokens">INPUT USAGE</th><th scope="col" data-i18n="tools_details">Details</th></tr></thead><tbody id="context-body"><tr><td colspan="6" data-i18n="no_observed_request_metadata">No request records yet.</td></tr></tbody></table></div>
|
|
262
|
-
<p class="hint" data-i18n="recent_upstream_request_metadata_not_exact_live_session_occupanc">
|
|
263
|
-
Request records do not show exact current-chat usage.
|
|
264
|
-
Missing data is unknown. This panel keeps no prompts or images.</p>
|
|
281
|
+
<details class="tool-details"><summary data-i18n="record_scope">Record scope</summary><p class="hint" data-i18n="recent_upstream_request_metadata_not_exact_live_session_occupanc">No prompts or images are stored. — means unavailable data.</p><p class="hint" data-i18n="http_2xx_model_completed">HTTP status and model outcome are recorded separately.</p></details>
|
|
265
282
|
</details>
|
|
266
283
|
<details class="lower" id="recent-failures" open>
|
|
267
284
|
<summary class="panel-heading"><h2 data-i18n="recent_inference_http_failures">RECENT REQUEST ISSUES</h2><span id="failure-count">requests + events</span></summary>
|
|
268
285
|
<ol id="failures"><li class="empty" data-i18n="reading_874bf">Reading…</li></ol>
|
|
269
|
-
<p class="hint" data-i18n="upstream_messages_may_contain_sensitive_text">Error details may include private data.</p>
|
|
270
286
|
</details>
|
|
271
287
|
</div>
|
|
272
288
|
<div data-view="system" hidden>
|
|
273
289
|
<section class="panel dashboard-section" aria-labelledby="web-appearance-title">
|
|
274
290
|
<h2 id="web-appearance-title" data-i18n="appearance_web_appearance">网页外观</h2>
|
|
275
291
|
<div class="appearance-row">
|
|
276
|
-
<div class="appearance-label"><label for="web-color-theme" data-i18n="appearance_color_theme">颜色主题</label><p data-i18n="
|
|
292
|
+
<div class="appearance-label"><label for="web-color-theme" data-i18n="appearance_color_theme">颜色主题</label><p id="web-color-note" role="status" data-i18n="theme_saved_browser">This browser only. Applies now.</p></div>
|
|
277
293
|
<select id="web-color-theme" class="appearance-select"><option value="green" data-i18n="appearance_classic_green">经典绿(默认)</option><option value="klein" data-i18n="appearance_klein_blue">克莱因蓝</option><option value="pink" data-i18n="appearance_soft_pink">淡粉色</option></select>
|
|
278
294
|
</div>
|
|
279
|
-
<p id="web-color-note" class="appearance-note" role="status" data-i18n="theme_saved_browser">选择后,网页立即换色。</p>
|
|
280
295
|
</section>
|
|
281
296
|
|
|
282
297
|
<section class="panel dashboard-section" id="terminal-appearance" aria-labelledby="terminal-appearance-title">
|
|
283
298
|
<h2 id="terminal-appearance-title" data-i18n="terminal_appearance">终端外观</h2>
|
|
284
299
|
<div class="appearance-row">
|
|
285
|
-
<div class="appearance-label"><label for="terminal-color-theme" data-i18n="appearance_color_theme">颜色主题</label><p data-i18n="
|
|
300
|
+
<div class="appearance-label"><label for="terminal-color-theme" data-i18n="appearance_color_theme">颜色主题</label><p id="terminal-color-note" role="status" data-i18n="appearance_terminal_effect">Table updates now; startup logo next launch.</p></div>
|
|
286
301
|
<select id="terminal-color-theme" disabled class="appearance-select"><option value="green" data-i18n="appearance_classic_green">经典绿(默认)</option><option value="klein" data-i18n="appearance_klein_blue">克莱因蓝</option><option value="pink" data-i18n="appearance_soft_pink">淡粉色</option></select>
|
|
287
302
|
</div>
|
|
288
|
-
<p id="terminal-color-note" class="appearance-note" role="status" data-i18n="appearance_terminal_effect">表格即时换色,启动 Logo 下次生效。</p>
|
|
289
303
|
|
|
290
|
-
|
|
304
|
+
<div class="setting-row terminal-animation-toggle"><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>
|
|
305
|
+
<details id="animation-settings" class="appearance-animation settings-panel">
|
|
306
|
+
<summary class="panel-heading"><h2 data-i18n="terminal_animation_9edf6">TERMINAL ANIMATION</h2><span id="animation-state" data-i18n="reading">READING</span></summary>
|
|
307
|
+
<div id="animation-options" class="animation-options" role="group" aria-label="Animation style" data-i18n-label="animation_theme"></div>
|
|
308
|
+
<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>
|
|
309
|
+
</details>
|
|
310
|
+
<details class="tool-details"><summary data-i18n="terminal_color_preview">Terminal preview</summary>
|
|
311
|
+
<div id="terminal-color-sample" class="terminal-sample" data-terminal-palette="green" aria-label="Terminal color preview" data-i18n-label="terminal_color_preview">
|
|
291
312
|
<div class="terminal-caption"><span>CCDX · Terminal</span><span data-i18n="appearance_sample">Sample data</span></div>
|
|
292
313
|
<div class="terminal-brand">
|
|
293
314
|
<pre class="terminal-logo" aria-hidden="true"> ▄▀█▄ ▄█▀▄
|
|
@@ -313,18 +334,11 @@ Missing data is unknown. This panel keeps no prompts or images.</p>
|
|
|
313
334
|
<pre class="terminal-notices">0 notices / details in WebUI</pre>
|
|
314
335
|
<pre class="terminal-motion"><span id="terminal-sample-frame">[ :::::::]</span> <span id="terminal-sample-status">Working</span></pre>
|
|
315
336
|
</div>
|
|
316
|
-
|
|
317
|
-
<div class="setting-row terminal-animation-toggle"><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>
|
|
318
|
-
<details id="animation-settings" class="appearance-animation settings-panel">
|
|
319
|
-
<summary class="panel-heading"><h2 data-i18n="terminal_animation_9edf6">TERMINAL ANIMATION</h2><span id="animation-state" data-i18n="reading">READING</span></summary>
|
|
320
|
-
<div id="animation-options" class="animation-options" role="group" aria-label="Animation style" data-i18n-label="animation_theme"></div>
|
|
321
|
-
<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>
|
|
322
|
-
</details>
|
|
337
|
+
</details>
|
|
323
338
|
</section>
|
|
324
339
|
|
|
325
340
|
<section class="panel dashboard-section" aria-labelledby="settings-heading">
|
|
326
341
|
<h2 id="settings-heading" data-i18n="startup_preferences">STARTUP</h2>
|
|
327
|
-
<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>
|
|
328
342
|
<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>
|
|
329
343
|
<p id="settings-note" class="hint" role="status" data-i18n="reading_settings">Reading settings…</p>
|
|
330
344
|
</section>
|