codex-copilot-dx 1.3.26 → 1.3.27
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 +1 -1
- package/bin/cli.mjs +2 -2
- package/docs/ARCHITECTURE.md +1 -1
- package/docs/REFERENCE.md +2 -2
- package/package.json +1 -1
- package/src/client-versions.mjs +17 -13
- package/src/dashboard/console.js +1 -1
- package/src/dashboard/context.js +8 -4
- package/src/dashboard/gemini.js +3 -7
- package/src/dashboard/index.html +2 -1
- package/src/dashboard/status.js +8 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Use your model services in **Codex App, Claude App and Claude Code** through one local gateway.
|
|
4
4
|
|
|
5
|
-
On macOS, the optional Gemini integration adds Copilot Carbon and Argon to the original App's Antigravity. Ordinary Gemini chat keeps Google. The Antigravity page lists each model once, with its reasoning
|
|
5
|
+
On macOS, the optional Gemini integration adds Copilot Carbon and Argon to the original App's Antigravity. Ordinary Gemini chat keeps Google. The Antigravity page lists each model once, with its supported reasoning levels shown in the same format as Codex and Claude. Inspect it with `ccdx app antigravity status`. Existing clients keep their setup.
|
|
6
6
|
|
|
7
7
|
Connect GitHub Copilot, Microsoft 365 or your own API. Choose which apps can use each source, then select their models. CI and prebuilt releases cover **macOS on Apple Silicon** and **Windows on x64/ARM64**. Intel Mac code remains available, without CI coverage or new prebuilt assets.
|
|
8
8
|
|
package/bin/cli.mjs
CHANGED
|
@@ -329,9 +329,9 @@ const clientVersions = {
|
|
|
329
329
|
snapshot: () => versionMonitor?.snapshot() || null,
|
|
330
330
|
refresh() {
|
|
331
331
|
if (shuttingDown || serviceWorker?.warming || serviceWorker?.draining || serviceWorker?.preserving) return Promise.resolve(clientVersions.snapshot());
|
|
332
|
-
versionModule ||= import("../src/client-versions.mjs").then(({ createClientVersionMonitor }) => {
|
|
332
|
+
versionModule ||= import("../src/client-versions.mjs").then(({ createClientVersionMonitor, clientVersionName }) => {
|
|
333
333
|
if (shuttingDown) return null;
|
|
334
|
-
versionMonitor = createClientVersionMonitor({ onChange: names => console.log(status("info", `Installed ${names.map(
|
|
334
|
+
versionMonitor = createClientVersionMonitor({ onChange: names => console.log(status("info", `Installed ${names.map(clientVersionName).join(" and ")} updated; check integration in the WebUI or ccdx doctor`)) });
|
|
335
335
|
return versionMonitor;
|
|
336
336
|
}).catch(error => { versionModule = null;throw error; });
|
|
337
337
|
return versionModule.then(monitor => monitor?.refresh());
|
package/docs/ARCHITECTURE.md
CHANGED
|
@@ -19,7 +19,7 @@ Client integration, image tools and the dashboard are not a general plugin frame
|
|
|
19
19
|
|
|
20
20
|
`antigravity-usage.mjs` observes Google JSON/SSE within the original forwarding loop, with the existing SSE byte limit and no stream tee or read-ahead. Observation failures mark usage unavailable and never change response bytes. The handler coalesces reported numeric fields and settles one usage row per request, including usage received before failure/cancellation. Google candidate/thought output and prompt/tool-use input are normalized without treating missing cache counts as zero. Request ID, original model, actual model and usage availability are scalar metadata; prompts and response text are not persisted by this observer.
|
|
21
21
|
|
|
22
|
-
The management snapshot keeps native per-effort aliases in `models` and adds `model_groups` for one model row with several reasoning choices. Saved alias subsets and the native catalog are unchanged. The WebUI and
|
|
22
|
+
The management snapshot keeps native per-effort aliases in `models` and adds `model_groups` for one model row with several reasoning choices. Saved alias subsets and the native catalog are unchanged. The WebUI groups selection by model and renders supported effort levels as read-only capability text, matching the Codex/Claude tables. Existing route subsets survive a model off/on toggle; CLI effort editing and JSON aliases remain compatible.
|
|
23
23
|
|
|
24
24
|
Antigravity tool schemas are converted to Chat Completions schemas. Object schemas always include an explicit `properties` map, including zero-argument functions. The upstream Copilot service rejects native schemas that omit that map. Pausing Copilot access keeps model choices visible while generation remains gated.
|
|
25
25
|
|
package/docs/REFERENCE.md
CHANGED
|
@@ -68,7 +68,7 @@ inspection. Use `app antigravity status` to check the signed installation explic
|
|
|
68
68
|
The old `app gemini` commands remain available. Authorize Antigravity on the GitHub
|
|
69
69
|
Copilot source page, or with `source github access --edit --apps codex,antigravity --yes`.
|
|
70
70
|
Choose its exposed models on the Antigravity page or with
|
|
71
|
-
`app antigravity models --edit`. Each WebUI
|
|
71
|
+
`app antigravity models --edit`. Each WebUI row represents one model. The Reasoning column lists supported levels as `low / medium / high`, matching Codex and Claude; the model checkbox controls visibility. Save/Discard, refresh, navigation, pausing and an off/on toggle preserve an existing saved route subset. CLI model editing and model files remain available for fine-grained effort selection.
|
|
72
72
|
|
|
73
73
|
The native Gemini catalog still uses distinct routing aliases for each level so its original selector can choose the intended effort. JSON model output retains those aliases for compatibility, with a `model` field identifying the actual model; the management status also includes `model_groups`. A model file accepts `{"models":["gemini-4-carbon"]}` to expose all of its levels, or the existing `ccdx-copilot-...-low|medium|high` aliases to choose a subset.
|
|
74
74
|
After saving, the Antigravity page reports whether the client has fetched the current model list. If the list is pending, reopen Gemini through CCDX.
|
|
@@ -154,7 +154,7 @@ Catalog diagnostics distinguish local cached data from an online response and ex
|
|
|
154
154
|
- **Request failure:** use Requests or `ccdx requests --failed`. HTTP failures and model completion outcomes are separate. A successful HTTP transport can still carry a model error.
|
|
155
155
|
- **Token counting unavailable:** an observed API count-endpoint 404 is cached briefly per model/header scope. Inference and token counting are separate capabilities; no synthetic count is returned.
|
|
156
156
|
- **Local checks:** `doctor` is read-only by default. `--online` checks access; `--compat` sends minimal inference and consumes usage. `--fix` backs up owned configuration and performs bounded repairs. It does not enable optional features, change company policy or force-restart apps. Partial repairs exit 1.
|
|
157
|
-
- **App updates:** after the service is ready, CCDX observes installed App versions in the background. Checks & repairs shows the result; `ccdx doctor` can inspect it locally. On macOS this uses known App bundle metadata and, when available, the bundled Codex CLI version. On Windows the registered Codex package is inspected; Claude App remains unknown if reliable metadata is unavailable. The running process may still be an older build, and a version observation does not verify images, predictions, model access or protocol compatibility. A detected unrecognized Claude App major version preserves existing shared capability fields during later synchronization. The compact local version record contains only App versions, builds and observation times, not credentials or conversation data. It is refreshed on startup, local checks and the existing model-refresh cadence; a reused service receives a nonblocking refresh notification.
|
|
157
|
+
- **App updates:** after the service is ready, CCDX observes installed App versions in the background. Checks & repairs shows the result; `ccdx doctor` can inspect it locally. On macOS this includes Antigravity (the original Gemini App) and uses known App bundle metadata and, when available, the bundled Codex CLI version. On Windows the registered Codex package is inspected; Claude App remains unknown if reliable metadata is unavailable. The running process may still be an older build, and a version observation does not verify images, predictions, model access or protocol compatibility. A detected unrecognized Claude App major version preserves existing shared capability fields during later synchronization. The compact local version record contains only App versions, builds and observation times, not credentials or conversation data. It is refreshed on startup, local checks and the existing model-refresh cadence; a reused service receives a nonblocking refresh notification.
|
|
158
158
|
- **Cache cleanup:** adding `--history` can break the next continuation. It does not delete client transcripts or generated images.
|
|
159
159
|
|
|
160
160
|
Request inspection covers bounded retained records, not a full conversation archive. Unidentified clients stay unidentified. Routine diagnostics omit secrets, prompts and error bodies. Explicit error excerpts use bounded, redacted collection. The usage JSON `requests` field counts recorded usage rows, not HTTP calls. Usage is returned token metadata; cache hit is reused input divided by input from records with valid counts for both. Unknown/invalid records remain in token totals but are excluded from both sides of the rate, with partial coverage indicated. It is not a request-based cache rate or a billing receipt.
|
package/package.json
CHANGED
package/src/client-versions.mjs
CHANGED
|
@@ -6,6 +6,10 @@ import { readBoundedFile } from "./bounded-file.mjs";
|
|
|
6
6
|
import { userSettingsPath } from "./user-settings.mjs";
|
|
7
7
|
|
|
8
8
|
const MAX_METADATA_BYTES = 64 * 1024;
|
|
9
|
+
const MAX_APPS = 9;
|
|
10
|
+
export const clientVersionName = client => ({ codex: "Codex App", claude: "Claude App", antigravity: "Antigravity" })[client] || client;
|
|
11
|
+
const validId = value => /^(?:codex|claude)_(?:system|user|windows)_(?:chatgpt|codex|claude)$/.test(value)
|
|
12
|
+
|| /^antigravity_(?:system|user)_gemini$/.test(value);
|
|
9
13
|
const validVersion = value => typeof value === "string" && /^[0-9][0-9A-Za-z.+_-]{0,63}$/.test(value);
|
|
10
14
|
const optionalVersion = value => value == null || validVersion(value);
|
|
11
15
|
const validDate = value => value == null || typeof value === "string" && /^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d\.\d{3}Z$/.test(value);
|
|
@@ -29,7 +33,7 @@ async function stableRead(file) {
|
|
|
29
33
|
|
|
30
34
|
async function macBundle(root, scope, name, client) {
|
|
31
35
|
const bundle = path.join(root, name), infoPath = path.join(bundle, "Contents", "Info.plist"), info = await stableRead(infoPath), plist = info.data;
|
|
32
|
-
const expected = client === "codex" ? "com.openai.codex" : "com.anthropic.claudefordesktop";
|
|
36
|
+
const expected = client === "codex" ? "com.openai.codex" : client === "claude" ? "com.anthropic.claudefordesktop" : "com.google.GeminiMacOS";
|
|
33
37
|
const version = tag(plist, "CFBundleShortVersionString"), build = tag(plist, "CFBundleVersion");
|
|
34
38
|
if (tag(plist, "CFBundleIdentifier") !== expected || !validVersion(version) || !optionalVersion(build)) return null;
|
|
35
39
|
let cliVersion = null;
|
|
@@ -45,7 +49,7 @@ export async function inspectInstalledClientVersions({ home = os.homedir(), env
|
|
|
45
49
|
systemApplications = "/Applications", windowsCodexVersion } = {}) {
|
|
46
50
|
if (platform === "darwin") {
|
|
47
51
|
const roots = [["system", systemApplications], ["user", path.join(home, "Applications")]], jobs = [];
|
|
48
|
-
for (const [scope, root] of roots) for (const [name, client] of [["ChatGPT.app", "codex"], ["Codex.app", "codex"], ["Claude.app", "claude"]]) {
|
|
52
|
+
for (const [scope, root] of roots) for (const [name, client] of [["ChatGPT.app", "codex"], ["Codex.app", "codex"], ["Claude.app", "claude"], ["Gemini.app", "antigravity"]]) {
|
|
49
53
|
jobs.push(macBundle(root, scope, name, client).catch(() => null));
|
|
50
54
|
}
|
|
51
55
|
return (await Promise.all(jobs)).filter(Boolean);
|
|
@@ -62,15 +66,15 @@ export function createClientVersionMonitor({ home = os.homedir(), env = process.
|
|
|
62
66
|
inspect = inspectInstalledClientVersions, persist = true, timeoutMs = 3000, now = Date.now, onChange = () => {}, ...options } = {}) {
|
|
63
67
|
const file = path.join(path.dirname(userSettingsPath({ home, env })), "client-versions.json");
|
|
64
68
|
let saved, writable = true, flight = null, closed = false;
|
|
65
|
-
let state = { checked_at: null, codex: [], claude: [], claude_unrecognized: false, persistence: "unknown" };
|
|
69
|
+
let state = { checked_at: null, codex: [], claude: [], antigravity: [], claude_unrecognized: false, persistence: "unknown" };
|
|
66
70
|
const snapshot = () => structuredClone(state);
|
|
67
71
|
async function load() {
|
|
68
72
|
if (saved) return saved;
|
|
69
73
|
try {
|
|
70
74
|
const value = JSON.parse(await readBoundedFile(file, { maxBytes: MAX_METADATA_BYTES, encoding: "utf8" }));
|
|
71
75
|
if (!fields(value, ["version", "apps"]) || value.version !== 1 || !value.apps || typeof value.apps !== "object" || Array.isArray(value.apps)
|
|
72
|
-
|| Object.entries(value.apps).length >
|
|
73
|
-
|
|
76
|
+
|| Object.entries(value.apps).length > MAX_APPS || Object.entries(value.apps).some(([id, entry]) =>
|
|
77
|
+
!validId(id) || !validEntry(entry))) throw new Error("Invalid saved App versions");
|
|
74
78
|
saved = value.apps;
|
|
75
79
|
} catch (error) {
|
|
76
80
|
if (error.code !== "ENOENT") writable = false;
|
|
@@ -80,12 +84,12 @@ export function createClientVersionMonitor({ home = os.homedir(), env = process.
|
|
|
80
84
|
}
|
|
81
85
|
async function run() {
|
|
82
86
|
const baseline = await load(), rows = await inspect({ home, env, platform, ...options });
|
|
83
|
-
if (!Array.isArray(rows) || rows.length >
|
|
87
|
+
if (!Array.isArray(rows) || rows.length > MAX_APPS) throw new Error("Invalid App version results");
|
|
84
88
|
const at = new Date(now()).toISOString(), next = { ...baseline }, updates = [];
|
|
85
|
-
const groups = { codex: [], claude: [] };
|
|
89
|
+
const groups = { codex: [], claude: [], antigravity: [] };
|
|
86
90
|
for (const row of rows) {
|
|
87
|
-
if (
|
|
88
|
-
|| !["codex", "claude"].includes(row.client) || !validVersion(row.version) || !optionalVersion(row.build) || !optionalVersion(row.cli_version)) continue;
|
|
91
|
+
if (!validId(row.id || "")
|
|
92
|
+
|| !["codex", "claude", "antigravity"].includes(row.client) || !validVersion(row.version) || !optionalVersion(row.build) || !optionalVersion(row.cli_version)) continue;
|
|
89
93
|
const current = installed(row), previous = baseline[row.id];let entry;
|
|
90
94
|
if (!previous) entry = { ...current, previous: null, changed_at: null };
|
|
91
95
|
else if (changed(previous, current)) {
|
|
@@ -116,10 +120,10 @@ export function createClientVersionMonitor({ home = os.homedir(), env = process.
|
|
|
116
120
|
const timeout = new Promise(resolve => { timer = setTimeout(() => resolve(null), timeoutMs); });
|
|
117
121
|
const result = Promise.race([work, timeout]).then(value => {
|
|
118
122
|
if (value) return value;
|
|
119
|
-
state = { ...state, checked_at: new Date(now()).toISOString(), codex: [], claude: [], persistence: "unavailable" };
|
|
123
|
+
state = { ...state, checked_at: new Date(now()).toISOString(), codex: [], claude: [], antigravity: [], persistence: "unavailable" };
|
|
120
124
|
return snapshot();
|
|
121
125
|
}).catch(() => {
|
|
122
|
-
state = { ...state, checked_at: new Date(now()).toISOString(), codex: [], claude: [], persistence: "unavailable" };
|
|
126
|
+
state = { ...state, checked_at: new Date(now()).toISOString(), codex: [], claude: [], antigravity: [], persistence: "unavailable" };
|
|
123
127
|
return snapshot();
|
|
124
128
|
}).finally(() => clearTimeout(timer));
|
|
125
129
|
task = { result };flight = task;
|
|
@@ -130,8 +134,8 @@ export function createClientVersionMonitor({ home = os.homedir(), env = process.
|
|
|
130
134
|
}
|
|
131
135
|
|
|
132
136
|
export function clientVersionChecks(snapshot) {
|
|
133
|
-
return ["codex", "claude"].map(client => {
|
|
134
|
-
const rows = snapshot?.[client] || [], name = client
|
|
137
|
+
return ["codex", "claude", "antigravity"].map(client => {
|
|
138
|
+
const rows = snapshot?.[client] || [], name = clientVersionName(client);
|
|
135
139
|
if (!rows.length) return { id: "client-versions", kind: "info", message: `${name}: installed version not observed` };
|
|
136
140
|
const versions = rows.map(row => `${row.name} ${row.version}${row.build ? ` (build ${row.build})` : ""}${row.cli_version ? `, CLI ${row.cli_version}` : ""}${row.changed_at ? `, changed ${row.changed_at}` : ""}`).join("; ");
|
|
137
141
|
return { id: "client-versions", kind: "info", message: `${name}: ${versions}. Running version and feature compatibility are not confirmed` };
|
package/src/dashboard/console.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
let accountsPending = false;
|
|
10
10
|
const accountReasons = new Set(["m365_account_ambiguous", "m365_account_unavailable", "m365_account_conflict", "m365_interaction_required", "m365_llm_permission_unavailable", "m365_account_busy", "m365_account_selection_stale"]);
|
|
11
11
|
function renderClientVersions(value) {
|
|
12
|
-
for (const client of ["codex", "claude"]) {
|
|
12
|
+
for (const client of ["codex", "claude", "antigravity"]) {
|
|
13
13
|
const node = el(`client-version-${client}`);if (!node) continue;
|
|
14
14
|
const rows = Array.isArray(value?.[client]) ? value[client] : [];
|
|
15
15
|
if (!rows.length) { node.removeAttribute("data-i18n");node.textContent = "—";node.title = "";continue; }
|
package/src/dashboard/context.js
CHANGED
|
@@ -20,11 +20,9 @@
|
|
|
20
20
|
if (!points.some(point => valid(point.input_tokens))) { label(host, "context_no_input");return; }
|
|
21
21
|
if (!entry.identified) { label(host, "context_unassigned");return; }
|
|
22
22
|
const width = host.clientWidth;if (!width) return;
|
|
23
|
-
const height = 210,
|
|
23
|
+
const height = 210, right = 12, top = 25, bottom = 35;
|
|
24
24
|
const measured = Math.max(...points.map(point => valid(point.input_tokens) ? point.input_tokens : 0), 1);
|
|
25
25
|
const maximum = Math.max(measured, latest(entry).context_window_tokens || 0);
|
|
26
|
-
const x = index => left + (width - left - right) * index / Math.max(1, points.length - 1);
|
|
27
|
-
const y = value => top + (height - top - bottom) * (1 - value / maximum);
|
|
28
26
|
const svg = document.createElementNS(ns, "svg");svg.setAttribute("viewBox", `0 0 ${width} ${height}`);
|
|
29
27
|
svg.setAttribute("role", "img");svg.setAttribute("aria-label", language.format("context_history"));host.append(svg);
|
|
30
28
|
const shape = (tag, attributes, text) => {
|
|
@@ -32,10 +30,16 @@
|
|
|
32
30
|
for (const [key, value] of Object.entries(attributes)) node.setAttribute(key, value);
|
|
33
31
|
if (text !== undefined) node.textContent = text;svg.append(node);return node;
|
|
34
32
|
};
|
|
33
|
+
const ticks = [0, maximum / 2, maximum].map(value => Math.round(value).toLocaleString());
|
|
34
|
+
const measures = ticks.map(text => shape("text", { visibility: "hidden" }, text));
|
|
35
|
+
const left = Math.max(64, Math.ceil(Math.max(...measures.map(node => node.getComputedTextLength()))) + 16);
|
|
36
|
+
measures.forEach(node => node.remove());
|
|
37
|
+
const x = index => left + (width - left - right) * index / Math.max(1, points.length - 1);
|
|
38
|
+
const y = value => top + (height - top - bottom) * (1 - value / maximum);
|
|
35
39
|
for (let index = 0; index <= 2; index++) {
|
|
36
40
|
const value = maximum * index / 2, py = y(value);
|
|
37
41
|
shape("line", { x1: left, x2: width - right, y1: py, y2: py, class: "context-grid" });
|
|
38
|
-
shape("text", { x: left - 8, y: py + 4, "text-anchor": "end" },
|
|
42
|
+
shape("text", { x: left - 8, y: py + 4, "text-anchor": "end" }, ticks[index]);
|
|
39
43
|
}
|
|
40
44
|
shape("text", { x: left, y: 12 }, "tokens");
|
|
41
45
|
let path = "", continuing = false;
|
package/src/dashboard/gemini.js
CHANGED
|
@@ -35,17 +35,13 @@
|
|
|
35
35
|
for(const model of groupedModels()){
|
|
36
36
|
const chosen=new Set(draft||selected()),ids=model.efforts.map(item=>item.id);
|
|
37
37
|
const row=document.createElement('tr'),name=document.createElement('td'),label=document.createElement('label'),input=document.createElement('input');
|
|
38
|
-
input.type='checkbox';input.value=model.id;input.checked=ids.
|
|
38
|
+
input.type='checkbox';input.value=model.id;input.checked=ids.some(id=>chosen.has(id));input.disabled=busy;input.setAttribute('aria-label',model.name);
|
|
39
39
|
const update=(values,checked)=>{const next=new Set(draft||selected());for(const id of values)if(checked)next.add(id);else next.delete(id);draft=[...next];notice=null;clear('gemini-note');render()};
|
|
40
|
-
input.addEventListener('change',()=>update(ids,input.checked));
|
|
40
|
+
input.addEventListener('change',()=>{const saved=ids.filter(id=>selected().includes(id));update(input.checked&&saved.length?saved:ids,input.checked)});
|
|
41
41
|
label.append(input,document.createTextNode(model.name));name.append(label);row.append(name);
|
|
42
42
|
for(const [key,value]of [['source','GitHub Copilot'],['cap_context',count(model.context_window)]]){const cell=document.createElement('td');cell.textContent=value;cell.dataset.label=language.format(key);row.append(cell)}
|
|
43
43
|
const efforts=document.createElement('td');efforts.dataset.label=language.format('cap_reasoning');
|
|
44
|
-
|
|
45
|
-
const label=document.createElement('label'),choice=document.createElement('input');choice.type='checkbox';choice.value=item.id;choice.checked=chosen.has(item.id);choice.disabled=busy;
|
|
46
|
-
choice.setAttribute('aria-label',model.name+' · '+language.format(item.effort));choice.addEventListener('change',()=>update([item.id],choice.checked));
|
|
47
|
-
label.append(choice,document.createTextNode(language.format(item.effort)));efforts.append(label,document.createTextNode(' '));
|
|
48
|
-
}
|
|
44
|
+
efforts.textContent=model.efforts.map(item=>item.effort).join(' / ');
|
|
49
45
|
row.append(efforts);list.append(row);
|
|
50
46
|
}
|
|
51
47
|
if(!state.models.length){const row=document.createElement('tr'),cell=document.createElement('td');cell.colSpan=4;language.set(cell,'gemini_no_models');row.append(cell);list.append(row)}
|
package/src/dashboard/index.html
CHANGED
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
<div data-view="gemini" hidden>
|
|
166
166
|
<section class="connection-access"><div class="connection-row"><label for="gemini-enabled" data-i18n="gemini_access_title">Copilot access</label><label class="switch-hit"><input id="gemini-enabled" type="checkbox" role="switch" data-i18n-label="gemini_access_title" aria-label="Copilot access" disabled></label></div></section>
|
|
167
167
|
<section class="panel dashboard-section">
|
|
168
|
-
<div class="panel-heading"><h2 data-i18n="
|
|
168
|
+
<div class="panel-heading"><h2 data-i18n="cap_visible_model">Available models</h2><span id="gemini-draft-state" role="status">—</span></div>
|
|
169
169
|
<form id="gemini-model-form">
|
|
170
170
|
<div class="table-wrap"><table class="binding-table"><thead><tr><th data-i18n="model">Model</th><th data-i18n="source">Source</th><th data-i18n="cap_context">Context</th><th data-i18n="cap_reasoning">Reasoning</th></tr></thead><tbody id="gemini-models"></tbody></table></div>
|
|
171
171
|
<div class="section-actions"><button id="gemini-save" type="submit" data-i18n="api_save" disabled>Save</button><button id="gemini-cancel" type="button" data-i18n="cap_discard_changes" disabled>Discard changes</button></div>
|
|
@@ -289,6 +289,7 @@
|
|
|
289
289
|
<p class="hint" data-i18n="tools_local_scope">Local checks do not contact external services.</p>
|
|
290
290
|
<p>Codex App: <strong id="client-version-codex">—</strong></p>
|
|
291
291
|
<p>Claude App: <strong id="client-version-claude">—</strong></p>
|
|
292
|
+
<p>Antigravity: <strong id="client-version-antigravity">—</strong></p>
|
|
292
293
|
<p class="hint" data-i18n="client_versions_scope">Installed versions only; running App adoption and compatibility are separate.</p>
|
|
293
294
|
<div class="section-actions"><button id="check-local" type="button" data-i18n="tools_check_local">Check this computer</button></div>
|
|
294
295
|
<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>
|
package/src/dashboard/status.js
CHANGED
|
@@ -75,7 +75,14 @@
|
|
|
75
75
|
}
|
|
76
76
|
if (data.gemini || globalThis.ccdxGeminiStatus) {
|
|
77
77
|
const gemini=data.gemini || globalThis.ccdxGeminiStatus;
|
|
78
|
-
|
|
78
|
+
const setup=gemini.enabled&&gemini.source_enabled!==false?"configured":gemini.configured?"access_paused":"not_configured";
|
|
79
|
+
const service=gemini.configured===true?"running":gemini.configured===false?"unavailable":"unknown";
|
|
80
|
+
const row=tableRow(["Antigravity",gemini.enabled&&gemini.source_enabled!==false?"Google + GitHub Copilot":"Google",setup,service,"—"],{labels:[2,3]});
|
|
81
|
+
if(globalThis.ccdxIcons){
|
|
82
|
+
globalThis.ccdxIcons.set(row.children[2],setup,globalThis.ccdxIcons.kind(setup==="access_paused"?"paused":setup));
|
|
83
|
+
globalThis.ccdxIcons.set(row.children[3],service,globalThis.ccdxIcons.kind(service));
|
|
84
|
+
}
|
|
85
|
+
clients.append(row);
|
|
79
86
|
}
|
|
80
87
|
if (element("claude-client-state")) element("claude-client-state").hidden = Boolean(claudeClients?.children.length);
|
|
81
88
|
text("source-summary", "count_providers", { count: providers.length });
|