codex-overleaf-link 2.1.0 → 2.1.1
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
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<h1>Codex Overleaf Link</h1>
|
|
4
4
|
<p><strong>Empower Overleaf with Codex.</strong></p>
|
|
5
5
|
<p>
|
|
6
|
-
<img src="https://img.shields.io/badge/version-2.1.
|
|
6
|
+
<img src="https://img.shields.io/badge/version-2.1.1-blue" alt="version">
|
|
7
7
|
<img src="https://img.shields.io/badge/platform-macOS%20%2F%20Windows%20%2F%20Linux-lightgrey" alt="platform">
|
|
8
8
|
<img src="https://img.shields.io/badge/chrome-MV3-green" alt="chrome manifest v3">
|
|
9
9
|
<img src="https://img.shields.io/badge/node-%3E%3D20-brightgreen" alt="node version">
|
|
@@ -38,14 +38,14 @@ One command installs the managed native host **and** managed extension runtime.
|
|
|
38
38
|
macOS / Linux:
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
|
-
CODEX_OVERLEAF_REF=v2.1.
|
|
41
|
+
CODEX_OVERLEAF_REF=v2.1.1 bash -c "$(curl -fsSL https://raw.githubusercontent.com/Ghqqqq/codex-overleaf-link/v2.1.1/install.sh)"
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
Windows PowerShell:
|
|
45
45
|
|
|
46
46
|
```powershell
|
|
47
|
-
iwr https://raw.githubusercontent.com/Ghqqqq/codex-overleaf-link/v2.1.
|
|
48
|
-
$env:CODEX_OVERLEAF_REF='v2.1.
|
|
47
|
+
iwr https://raw.githubusercontent.com/Ghqqqq/codex-overleaf-link/v2.1.1/install.ps1 -OutFile install.ps1
|
|
48
|
+
$env:CODEX_OVERLEAF_REF='v2.1.1'
|
|
49
49
|
powershell -ExecutionPolicy Bypass -File install.ps1
|
|
50
50
|
```
|
|
51
51
|
|
|
@@ -56,7 +56,7 @@ Then, in the `chrome://extensions` tab the script opened: enable **Developer mod
|
|
|
56
56
|
`npm exec` installs the same managed native host and extension runtime without keeping a source checkout. Use it if you prefer a pinned npm package.
|
|
57
57
|
|
|
58
58
|
```bash
|
|
59
|
-
npm exec --yes codex-overleaf-link@2.1.
|
|
59
|
+
npm exec --yes codex-overleaf-link@2.1.1 -- install-managed
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
Then, in `chrome://extensions`, enable **Developer mode**, click **Load unpacked**, and select the managed extension path printed by the command. The Release extension zip remains available for explicitly unmanaged/manual installations.
|
|
@@ -86,9 +86,9 @@ npm installs, updates, and uninstalls the coordinated managed extension/native p
|
|
|
86
86
|
|
|
87
87
|
| Action | Command |
|
|
88
88
|
|--------|---------|
|
|
89
|
-
| Install / update | `npm exec --yes codex-overleaf-link@2.1.
|
|
90
|
-
| Diagnose | `npm exec --yes codex-overleaf-link@2.1.
|
|
91
|
-
| Uninstall | `npm exec --yes codex-overleaf-link@2.1.
|
|
89
|
+
| Install / update | `npm exec --yes codex-overleaf-link@2.1.1 -- install-managed` |
|
|
90
|
+
| Diagnose | `npm exec --yes codex-overleaf-link@2.1.1 -- doctor` |
|
|
91
|
+
| Uninstall | `npm exec --yes codex-overleaf-link@2.1.1 -- uninstall-managed` |
|
|
92
92
|
|
|
93
93
|
Use `--extension-id <chrome-extension-id>` only for a custom/dev unpacked extension id that differs from the official bundled id.
|
|
94
94
|
|
|
@@ -98,13 +98,13 @@ Managed installations discover signed stable updates automatically and apply the
|
|
|
98
98
|
|
|
99
99
|
## GitHub Release Artifacts
|
|
100
100
|
|
|
101
|
-
The v2.1.
|
|
101
|
+
The v2.1.1 GitHub Release contains:
|
|
102
102
|
|
|
103
|
-
- `codex-overleaf-link-extension-v2.1.
|
|
104
|
-
- `codex-overleaf-native-host-v2.1.
|
|
105
|
-
- `codex-overleaf-link-2.1.
|
|
106
|
-
- `install.sh`: release-pinned macOS / Linux installer that defaults to `v2.1.
|
|
107
|
-
- `install.ps1`: release-pinned Windows PowerShell installer that defaults to `v2.1.
|
|
103
|
+
- `codex-overleaf-link-extension-v2.1.1.zip`: loadable Chrome extension package for manual unpacked installation.
|
|
104
|
+
- `codex-overleaf-native-host-v2.1.1.tar.gz`: native host runtime files used by the installer and release verification.
|
|
105
|
+
- `codex-overleaf-link-2.1.1.tgz`: npm native host CLI package for pinned install, doctor, and uninstall flows.
|
|
106
|
+
- `install.sh`: release-pinned macOS / Linux installer that defaults to `v2.1.1` when run directly from the release artifact.
|
|
107
|
+
- `install.ps1`: release-pinned Windows PowerShell installer that defaults to `v2.1.1` when run directly from the release artifact.
|
|
108
108
|
- `uninstall-native-host.mjs`: native host uninstaller that removes the Chrome Native Messaging manifest, bridge executable, and runtime copy.
|
|
109
109
|
- `nativeHostPlatform.js`, `manifest.js`, `runtimeInstaller.js`: helper files required by the loose uninstaller asset.
|
|
110
110
|
- `SHA256SUMS` and `release-manifest.json`: checksum and artifact metadata for release verification.
|
|
@@ -115,7 +115,7 @@ The v2.1.0 GitHub Release contains:
|
|
|
115
115
|
Remove the native host (use `--browser chromium` on Linux Chromium):
|
|
116
116
|
|
|
117
117
|
```bash
|
|
118
|
-
npm exec --yes codex-overleaf-link@2.1.
|
|
118
|
+
npm exec --yes codex-overleaf-link@2.1.1 -- uninstall-managed
|
|
119
119
|
```
|
|
120
120
|
|
|
121
121
|
The same command works on Windows PowerShell. If you installed from a manual checkout or source installer, you can also run `npm run uninstall:native` inside the repo, use `node ~/.codex-overleaf/source/scripts/uninstall-native-host.mjs` on macOS / Linux, or use `node $env:LOCALAPPDATA\CodexOverleaf\source\scripts\uninstall-native-host.mjs` on Windows PowerShell.
|
|
@@ -150,13 +150,13 @@ Then remove the extension from `chrome://extensions`. To delete local data: on m
|
|
|
150
150
|
Linux Chromium install or update:
|
|
151
151
|
|
|
152
152
|
```bash
|
|
153
|
-
CODEX_OVERLEAF_REF=v2.1.
|
|
153
|
+
CODEX_OVERLEAF_REF=v2.1.1 bash -c "$(curl -fsSL https://raw.githubusercontent.com/Ghqqqq/codex-overleaf-link/v2.1.1/install.sh)" -- --browser chromium
|
|
154
154
|
```
|
|
155
155
|
|
|
156
156
|
Linux Chromium uninstall:
|
|
157
157
|
|
|
158
158
|
```bash
|
|
159
|
-
npm exec --yes codex-overleaf-link@2.1.
|
|
159
|
+
npm exec --yes codex-overleaf-link@2.1.1 -- uninstall-managed --browser chromium
|
|
160
160
|
```
|
|
161
161
|
|
|
162
162
|
## Features
|
|
@@ -292,7 +292,7 @@ Composer attachments are turn-scoped Codex context. Limits are 8 attachments per
|
|
|
292
292
|
Re-run any [native host installer](#install), reload the extension in `chrome://extensions`, then refresh the Overleaf tab. This also fixes extension/native version mismatch and native protocol mismatch.
|
|
293
293
|
|
|
294
294
|
```bash
|
|
295
|
-
npm exec --yes codex-overleaf-link@2.1.
|
|
295
|
+
npm exec --yes codex-overleaf-link@2.1.1 -- install-managed
|
|
296
296
|
```
|
|
297
297
|
|
|
298
298
|
**The Windows popup or panel shows a Bash recovery command**
|
|
@@ -341,8 +341,8 @@ Use this matrix for release-candidate signoff and compatibility reports. Record
|
|
|
341
341
|
| Browser/channel/version | Google Chrome channel and version. | Google Chrome channel and version. | Google Chrome channel and version. | Chromium channel/package and version. |
|
|
342
342
|
| Install mode | Manual unpacked extension from GitHub Release zip or checkout. | Manual unpacked extension from GitHub Release zip or checkout. | Manual unpacked extension from GitHub Release zip or checkout. | Manual unpacked extension from GitHub Release zip or checkout; native host installed with `--browser chromium`. |
|
|
343
343
|
| Extension id | Bundled id `illdpneeeopfffmiepaejglgmhpmdhdc`, or actual custom id passed with `--extension-id`. | Bundled id `illdpneeeopfffmiepaejglgmhpmdhdc`, or actual custom id passed with `--extension-id`. | Bundled id `illdpneeeopfffmiepaejglgmhpmdhdc`, or actual custom id passed with `--extension-id`. | Bundled id `illdpneeeopfffmiepaejglgmhpmdhdc`, or actual custom id passed with `--extension-id`. |
|
|
344
|
-
| Installer/update command | `npm exec --yes codex-overleaf-link@2.1.
|
|
345
|
-
| Uninstall command | `npm exec --yes codex-overleaf-link@2.1.
|
|
344
|
+
| Installer/update command | `npm exec --yes codex-overleaf-link@2.1.1 -- install-managed` | `npm exec --yes codex-overleaf-link@2.1.1 -- install-managed` | `npm exec --yes codex-overleaf-link@2.1.1 -- install-managed` | `npm exec --yes codex-overleaf-link@2.1.1 -- install-managed --browser chromium` |
|
|
345
|
+
| Uninstall command | `npm exec --yes codex-overleaf-link@2.1.1 -- uninstall-managed` | `npm exec --yes codex-overleaf-link@2.1.1 -- uninstall-managed` | `npm exec --yes codex-overleaf-link@2.1.1 -- uninstall-managed` | `npm exec --yes codex-overleaf-link@2.1.1 -- uninstall-managed --browser chromium` |
|
|
346
346
|
| Manifest/registry path | `~/Library/Application Support/Google/Chrome/NativeMessagingHosts/com.codex.overleaf.json` | `HKCU\Software\Google\Chrome\NativeMessagingHosts\com.codex.overleaf` -> `%LOCALAPPDATA%\CodexOverleaf\native-host-runtime\com.codex.overleaf.json` | `~/.config/google-chrome/NativeMessagingHosts/com.codex.overleaf.json` | `~/.config/chromium/NativeMessagingHosts/com.codex.overleaf.json` |
|
|
347
347
|
| Bridge/runtime/source path | Bridge `~/.codex-overleaf/codex-overleaf-bridge`; runtime `~/.codex-overleaf/native-host-runtime`; source `~/.codex-overleaf/source`. | Bridge `%LOCALAPPDATA%\CodexOverleaf\codex-overleaf-bridge.cmd`; runtime `%LOCALAPPDATA%\CodexOverleaf\native-host-runtime`; source `%LOCALAPPDATA%\CodexOverleaf\source`. | Bridge `~/.codex-overleaf/codex-overleaf-bridge`; runtime `~/.codex-overleaf/native-host-runtime`; source `~/.codex-overleaf/source`. | Bridge `~/.codex-overleaf/codex-overleaf-bridge`; runtime `~/.codex-overleaf/native-host-runtime`; source `~/.codex-overleaf/source`. |
|
|
348
348
|
| Node/Git/Codex/TeX | Node.js >= 20; Git; Codex CLI installed and logged in; TeX optional. | Node.js >= 20; Git; Codex CLI installed and logged in; TeX optional. | Node.js >= 20; Git; Codex CLI installed and logged in; TeX optional. | Node.js >= 20; Git; Codex CLI installed and logged in; TeX optional. |
|
|
@@ -378,7 +378,7 @@ Contributions are welcome. Please open an issue before submitting large changes
|
|
|
378
378
|
The recommended v1.9 installation owns one stable unpacked-extension directory and a versioned native-host directory:
|
|
379
379
|
|
|
380
380
|
```bash
|
|
381
|
-
npm exec --yes codex-overleaf-link@2.1.
|
|
381
|
+
npm exec --yes codex-overleaf-link@2.1.1 -- install-managed
|
|
382
382
|
```
|
|
383
383
|
|
|
384
384
|
Load the printed extension path once from `chrome://extensions`. Starting with the next signed stable release, Codex Overleaf Link checks GitHub Releases automatically, downloads and verifies the coordinated extension/native-host bundle, waits until every connected Overleaf tab is saved and idle, and then updates both components together. A failed health check restores the previous version automatically.
|
|
@@ -388,11 +388,11 @@ The stable updater ignores drafts and prereleases, performs no telemetry, and ca
|
|
|
388
388
|
The legacy native-only installer remains available for source or unmanaged extension directories:
|
|
389
389
|
|
|
390
390
|
```bash
|
|
391
|
-
npm exec --yes codex-overleaf-link@2.1.
|
|
391
|
+
npm exec --yes codex-overleaf-link@2.1.1 -- install-native
|
|
392
392
|
```
|
|
393
393
|
|
|
394
394
|
Legacy native-only installations can be removed with:
|
|
395
395
|
|
|
396
396
|
```bash
|
|
397
|
-
npm exec --yes codex-overleaf-link@2.1.
|
|
397
|
+
npm exec --yes codex-overleaf-link@2.1.1 -- uninstall-native
|
|
398
398
|
```
|
|
@@ -408,10 +408,31 @@
|
|
|
408
408
|
))}</span>
|
|
409
409
|
</label>
|
|
410
410
|
<div class="codex-provider-test-row">
|
|
411
|
-
<
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
411
|
+
<div class="codex-provider-test-copy">
|
|
412
|
+
<strong>${escapeHtml(tx('Connection check', '连接检查'))}</strong>
|
|
413
|
+
<span>${escapeHtml(tx('Probe one model before using this provider.', '使用此服务商前,可选择一个模型进行探测。'))}</span>
|
|
414
|
+
</div>
|
|
415
|
+
<div class="codex-provider-test-controls">
|
|
416
|
+
<label class="codex-provider-test-model">
|
|
417
|
+
<span class="codex-provider-test-model-label">${escapeHtml(tx('Test model', '测试模型'))}</span>
|
|
418
|
+
<span class="codex-provider-test-select-shell">
|
|
419
|
+
<select data-provider-test-model aria-label="${escapeAttr(tx('Model to test', '要测试的模型'))}">
|
|
420
|
+
${(draft.models || []).map(model => `<option value="${escapeAttr(model.id)}" ${model.id === draft.defaultModelId ? 'selected' : ''}>${escapeHtml(model.label || model.id)}</option>`).join('')}
|
|
421
|
+
</select>
|
|
422
|
+
<svg class="codex-provider-test-chevron" viewBox="0 0 16 16" aria-hidden="true">
|
|
423
|
+
<path d="m4 6 4 4 4-4"></path>
|
|
424
|
+
</svg>
|
|
425
|
+
</span>
|
|
426
|
+
</label>
|
|
427
|
+
<button type="button" class="codex-provider-test-button" data-provider-action="test">
|
|
428
|
+
<svg viewBox="0 0 18 18" aria-hidden="true">
|
|
429
|
+
<circle cx="5" cy="9" r="2.25"></circle>
|
|
430
|
+
<circle cx="13" cy="9" r="2.25"></circle>
|
|
431
|
+
<path d="M7.25 9h3.5"></path>
|
|
432
|
+
</svg>
|
|
433
|
+
<span data-provider-test-action-label>${escapeHtml(tx('Test connection', '测试连接'))}</span>
|
|
434
|
+
</button>
|
|
435
|
+
</div>
|
|
415
436
|
<span class="codex-provider-test-state" data-provider-test-state>${escapeHtml(formatVerification(instance, provider, draft.defaultModelId))}</span>
|
|
416
437
|
</div>
|
|
417
438
|
`;
|
|
@@ -918,9 +939,13 @@
|
|
|
918
939
|
if (!button) return;
|
|
919
940
|
const testing = instance.busy === 'testing';
|
|
920
941
|
button.dataset.providerAction = testing ? 'cancel-test' : 'test';
|
|
921
|
-
|
|
942
|
+
const actionLabel = testing
|
|
922
943
|
? instance.tx('Cancel test', '取消测试')
|
|
923
944
|
: instance.tx('Test connection', '测试连接');
|
|
945
|
+
const labelEl = button.querySelector('[data-provider-test-action-label]');
|
|
946
|
+
if (labelEl) labelEl.textContent = actionLabel;
|
|
947
|
+
else button.textContent = actionLabel;
|
|
948
|
+
button.setAttribute('aria-label', actionLabel);
|
|
924
949
|
}
|
|
925
950
|
|
|
926
951
|
function formatSecretSavedAt(instance, value) {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
const MIN_NATIVE_VERSION = '1.0.0';
|
|
13
13
|
const MIN_COMPATIBLE_NATIVE_VERSION = '1.0.0';
|
|
14
14
|
const MIN_COMPATIBLE_EXTENSION_VERSION = '1.0.0';
|
|
15
|
-
const BUILD_TARGET_VERSION = '2.1.
|
|
15
|
+
const BUILD_TARGET_VERSION = '2.1.1';
|
|
16
16
|
const DEFAULT_CHROME_EXTENSION_ID = 'illdpneeeopfffmiepaejglgmhpmdhdc';
|
|
17
17
|
const REQUIRED_CAPABILITIES = Object.freeze([
|
|
18
18
|
'bridgePing',
|
|
@@ -264,14 +264,111 @@
|
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
.codex-provider-test-row {
|
|
267
|
-
display:
|
|
268
|
-
|
|
267
|
+
display: grid;
|
|
268
|
+
grid-template-columns: minmax(0, 1fr);
|
|
269
269
|
gap: 12px;
|
|
270
270
|
margin-top: 18px;
|
|
271
|
+
padding: 14px;
|
|
272
|
+
border: 1px solid rgba(255, 255, 255, 0.085);
|
|
273
|
+
border-radius: 12px;
|
|
274
|
+
background:
|
|
275
|
+
radial-gradient(circle at 0 0, rgba(121, 213, 138, 0.08), transparent 44%),
|
|
276
|
+
rgba(255, 255, 255, 0.025);
|
|
277
|
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
|
|
271
278
|
}
|
|
272
279
|
|
|
273
|
-
.codex-provider-test-
|
|
280
|
+
.codex-provider-test-copy { display: grid; gap: 3px; min-width: 0; }
|
|
281
|
+
.codex-provider-test-copy strong { color: var(--provider-text); font-size: 12px; font-weight: 750; letter-spacing: 0.01em; }
|
|
282
|
+
.codex-provider-test-copy > span { color: var(--provider-muted); font-size: 11px; line-height: 1.4; }
|
|
283
|
+
|
|
284
|
+
.codex-provider-test-controls {
|
|
285
|
+
display: grid;
|
|
286
|
+
grid-template-columns: minmax(180px, 1fr) auto;
|
|
287
|
+
align-items: end;
|
|
288
|
+
gap: 10px;
|
|
289
|
+
min-width: 0;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.codex-provider-test-model { display: grid; gap: 6px; min-width: 0; }
|
|
293
|
+
.codex-provider-test-model-label {
|
|
294
|
+
color: var(--provider-muted);
|
|
295
|
+
font-size: 10px;
|
|
296
|
+
font-weight: 750;
|
|
297
|
+
letter-spacing: 0.08em;
|
|
298
|
+
text-transform: uppercase;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.codex-provider-test-select-shell { position: relative; display: block; min-width: 0; border-radius: 9px; }
|
|
302
|
+
.codex-provider-test-select-shell select {
|
|
303
|
+
width: 100%;
|
|
304
|
+
min-width: 0;
|
|
305
|
+
min-height: 40px;
|
|
306
|
+
padding: 0 38px 0 12px;
|
|
307
|
+
border: 1px solid var(--provider-line);
|
|
308
|
+
border-radius: 9px;
|
|
309
|
+
appearance: none;
|
|
310
|
+
-webkit-appearance: none;
|
|
311
|
+
background: rgba(7, 12, 10, 0.58);
|
|
312
|
+
color: var(--provider-text);
|
|
313
|
+
color-scheme: dark;
|
|
314
|
+
font: inherit;
|
|
315
|
+
font-size: 12px;
|
|
316
|
+
font-weight: 650;
|
|
317
|
+
line-height: 1;
|
|
318
|
+
outline: none;
|
|
319
|
+
cursor: pointer;
|
|
320
|
+
}
|
|
321
|
+
.codex-provider-test-select-shell select:hover { border-color: rgba(121, 213, 138, 0.34); background: rgba(12, 19, 15, 0.72); }
|
|
322
|
+
.codex-provider-test-select-shell:focus-within { box-shadow: 0 0 0 3px rgba(121, 213, 138, 0.12); }
|
|
323
|
+
.codex-provider-test-select-shell:focus-within select { border-color: rgba(121, 213, 138, 0.66); }
|
|
324
|
+
.codex-provider-test-chevron {
|
|
325
|
+
position: absolute;
|
|
326
|
+
top: 50%;
|
|
327
|
+
right: 12px;
|
|
328
|
+
width: 16px;
|
|
329
|
+
height: 16px;
|
|
330
|
+
transform: translateY(-50%);
|
|
331
|
+
fill: none;
|
|
332
|
+
stroke: var(--provider-muted);
|
|
333
|
+
stroke-width: 1.7;
|
|
334
|
+
stroke-linecap: round;
|
|
335
|
+
stroke-linejoin: round;
|
|
336
|
+
pointer-events: none;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.codex-provider-test-button {
|
|
340
|
+
display: inline-flex;
|
|
341
|
+
align-items: center;
|
|
342
|
+
justify-content: center;
|
|
343
|
+
gap: 8px;
|
|
344
|
+
min-height: 40px;
|
|
345
|
+
padding: 0 14px;
|
|
346
|
+
border: 1px solid rgba(121, 213, 138, 0.36);
|
|
347
|
+
border-radius: 9px;
|
|
348
|
+
background: linear-gradient(180deg, rgba(66, 132, 78, 0.38), rgba(42, 91, 52, 0.34));
|
|
349
|
+
color: #b8edc2;
|
|
350
|
+
box-shadow: 0 5px 15px rgba(6, 19, 10, 0.16);
|
|
351
|
+
font: inherit;
|
|
352
|
+
font-size: 12px;
|
|
353
|
+
font-weight: 750;
|
|
354
|
+
white-space: nowrap;
|
|
355
|
+
cursor: pointer;
|
|
356
|
+
transition: border-color 140ms ease, background 140ms ease, color 140ms ease, transform 140ms ease;
|
|
357
|
+
}
|
|
358
|
+
.codex-provider-test-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
|
|
359
|
+
.codex-provider-test-button:not(:disabled):hover {
|
|
360
|
+
border-color: rgba(121, 213, 138, 0.7);
|
|
361
|
+
background: linear-gradient(180deg, rgba(72, 151, 88, 0.5), rgba(44, 102, 57, 0.46));
|
|
362
|
+
color: #d4f7da;
|
|
363
|
+
transform: translateY(-1px);
|
|
364
|
+
}
|
|
365
|
+
.codex-provider-test-button:not(:disabled):active { transform: translateY(0); }
|
|
366
|
+
.codex-provider-test-button[data-provider-action="cancel-test"] { border-color: rgba(242, 129, 113, 0.42); background: rgba(122, 55, 47, 0.24); color: #f3aaa0; }
|
|
367
|
+
|
|
368
|
+
.codex-provider-test-state { min-height: 16px; color: var(--provider-muted); font-size: 11px; line-height: 1.4; }
|
|
369
|
+
.codex-provider-test-state:empty { display: none; }
|
|
274
370
|
.codex-provider-test-state[data-tone="success"] { color: var(--provider-accent); }
|
|
371
|
+
.codex-provider-test-state[data-tone="failed"] { color: var(--provider-danger); }
|
|
275
372
|
|
|
276
373
|
.codex-provider-dialog-foot {
|
|
277
374
|
min-height: 70px;
|
|
@@ -334,6 +431,11 @@
|
|
|
334
431
|
.codex-provider-builtin .codex-provider-active-badge,
|
|
335
432
|
.codex-provider-builtin button { margin-top: 18px; }
|
|
336
433
|
|
|
434
|
+
@media (max-width: 620px) {
|
|
435
|
+
.codex-provider-test-controls { grid-template-columns: 1fr; align-items: stretch; }
|
|
436
|
+
.codex-provider-test-button { width: 100%; }
|
|
437
|
+
}
|
|
438
|
+
|
|
337
439
|
@keyframes codex-provider-spin { to { transform: rotate(360deg); } }
|
|
338
440
|
|
|
339
441
|
@media (max-width: 720px) {
|