codex-overleaf-link 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/README.md +24 -23
  2. package/extension/bootstrap/manifest.template.json +2 -1
  3. package/extension/runtime-manifest.json +12 -6
  4. package/extension/src/background.js +7 -0
  5. package/extension/src/content/composerPanel.js +13 -3
  6. package/extension/src/content/contentRuntime.js +129 -64
  7. package/extension/src/content/contextTray.js +173 -9
  8. package/extension/src/content/markdownText.js +16 -1
  9. package/extension/src/content/mathText.js +233 -0
  10. package/extension/src/content/modelPicker.js +117 -106
  11. package/extension/src/content/modelPickerSupport.js +115 -0
  12. package/extension/src/content/nativeChannel.js +20 -1
  13. package/extension/src/content/panelMaintenance.js +2 -0
  14. package/extension/src/content/projectSettingsCoordinator.js +2 -0
  15. package/extension/src/content/providerSettingsCoordinator.js +413 -0
  16. package/extension/src/content/providerSettingsDialog.js +981 -0
  17. package/extension/src/content/runTimelineView.js +24 -5
  18. package/extension/src/content/settingsPanel.js +33 -2
  19. package/extension/src/content/writebackOrchestrator.js +3 -1
  20. package/extension/src/page/overleafProjectSnapshot.js +29 -33
  21. package/extension/src/page/snapshotRouter.js +75 -8
  22. package/extension/src/page/writebackRouter.js +20 -33
  23. package/extension/src/pageBridge.js +1 -1
  24. package/extension/src/shared/agentTranscript.js +130 -0
  25. package/extension/src/shared/compatibility.js +3 -2
  26. package/extension/src/shared/failureReasons.js +75 -0
  27. package/extension/src/shared/i18n.js +22 -0
  28. package/extension/src/shared/models.js +1 -0
  29. package/extension/src/shared/providerProfiles.js +283 -0
  30. package/extension/src/shared/sessionState.js +12 -2
  31. package/extension/src/shared/storageDb.js +1 -1
  32. package/extension/styles/panel.css +587 -1
  33. package/extension/vendor/katex/LICENSE +21 -0
  34. package/extension/vendor/katex/VERSION +2 -0
  35. package/extension/vendor/katex/fonts/KaTeX_AMS-Regular.ttf +0 -0
  36. package/extension/vendor/katex/fonts/KaTeX_AMS-Regular.woff +0 -0
  37. package/extension/vendor/katex/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  38. package/extension/vendor/katex/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
  39. package/extension/vendor/katex/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  40. package/extension/vendor/katex/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  41. package/extension/vendor/katex/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
  42. package/extension/vendor/katex/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  43. package/extension/vendor/katex/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  44. package/extension/vendor/katex/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
  45. package/extension/vendor/katex/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  46. package/extension/vendor/katex/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  47. package/extension/vendor/katex/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
  48. package/extension/vendor/katex/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  49. package/extension/vendor/katex/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  50. package/extension/vendor/katex/fonts/KaTeX_Main-Bold.ttf +0 -0
  51. package/extension/vendor/katex/fonts/KaTeX_Main-Bold.woff +0 -0
  52. package/extension/vendor/katex/fonts/KaTeX_Main-Bold.woff2 +0 -0
  53. package/extension/vendor/katex/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
  54. package/extension/vendor/katex/fonts/KaTeX_Main-BoldItalic.woff +0 -0
  55. package/extension/vendor/katex/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  56. package/extension/vendor/katex/fonts/KaTeX_Main-Italic.ttf +0 -0
  57. package/extension/vendor/katex/fonts/KaTeX_Main-Italic.woff +0 -0
  58. package/extension/vendor/katex/fonts/KaTeX_Main-Italic.woff2 +0 -0
  59. package/extension/vendor/katex/fonts/KaTeX_Main-Regular.ttf +0 -0
  60. package/extension/vendor/katex/fonts/KaTeX_Main-Regular.woff +0 -0
  61. package/extension/vendor/katex/fonts/KaTeX_Main-Regular.woff2 +0 -0
  62. package/extension/vendor/katex/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
  63. package/extension/vendor/katex/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  64. package/extension/vendor/katex/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  65. package/extension/vendor/katex/fonts/KaTeX_Math-Italic.ttf +0 -0
  66. package/extension/vendor/katex/fonts/KaTeX_Math-Italic.woff +0 -0
  67. package/extension/vendor/katex/fonts/KaTeX_Math-Italic.woff2 +0 -0
  68. package/extension/vendor/katex/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
  69. package/extension/vendor/katex/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  70. package/extension/vendor/katex/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  71. package/extension/vendor/katex/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
  72. package/extension/vendor/katex/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  73. package/extension/vendor/katex/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  74. package/extension/vendor/katex/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
  75. package/extension/vendor/katex/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  76. package/extension/vendor/katex/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  77. package/extension/vendor/katex/fonts/KaTeX_Script-Regular.ttf +0 -0
  78. package/extension/vendor/katex/fonts/KaTeX_Script-Regular.woff +0 -0
  79. package/extension/vendor/katex/fonts/KaTeX_Script-Regular.woff2 +0 -0
  80. package/extension/vendor/katex/fonts/KaTeX_Size1-Regular.ttf +0 -0
  81. package/extension/vendor/katex/fonts/KaTeX_Size1-Regular.woff +0 -0
  82. package/extension/vendor/katex/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  83. package/extension/vendor/katex/fonts/KaTeX_Size2-Regular.ttf +0 -0
  84. package/extension/vendor/katex/fonts/KaTeX_Size2-Regular.woff +0 -0
  85. package/extension/vendor/katex/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  86. package/extension/vendor/katex/fonts/KaTeX_Size3-Regular.ttf +0 -0
  87. package/extension/vendor/katex/fonts/KaTeX_Size3-Regular.woff +0 -0
  88. package/extension/vendor/katex/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  89. package/extension/vendor/katex/fonts/KaTeX_Size4-Regular.ttf +0 -0
  90. package/extension/vendor/katex/fonts/KaTeX_Size4-Regular.woff +0 -0
  91. package/extension/vendor/katex/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  92. package/extension/vendor/katex/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
  93. package/extension/vendor/katex/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  94. package/extension/vendor/katex/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  95. package/extension/vendor/katex/katex.min.css +1 -0
  96. package/extension/vendor/katex/katex.min.js +1 -0
  97. package/native-host/src/anthropicBridgeRequest.js +435 -0
  98. package/native-host/src/anthropicBridgeResponse.js +431 -0
  99. package/native-host/src/anthropicMessagesBridge.js +281 -0
  100. package/native-host/src/chatBridgeRequest.js +274 -0
  101. package/native-host/src/chatBridgeResponse.js +594 -0
  102. package/native-host/src/chatCompletionsBridge.js +485 -0
  103. package/native-host/src/codexCommand.js +25 -0
  104. package/native-host/src/codexPromptAssembly.js +9 -0
  105. package/native-host/src/codexProviderLaunch.js +213 -0
  106. package/native-host/src/codexProviderTest.js +196 -0
  107. package/native-host/src/codexSessionRunner.js +29 -25
  108. package/native-host/src/managedInstall.js +1 -0
  109. package/native-host/src/providerBridgeRoutes.js +11 -0
  110. package/native-host/src/providerModelCatalog.js +107 -0
  111. package/native-host/src/providerProfile.js +454 -0
  112. package/native-host/src/providerReasoning.js +235 -0
  113. package/native-host/src/providerRedaction.js +18 -0
  114. package/native-host/src/providerRuntime.js +365 -0
  115. package/native-host/src/providerStore.js +691 -0
  116. package/native-host/src/readProgressGuard.js +360 -0
  117. package/native-host/src/taskRunnerRuntime.js +39 -3
  118. package/native-host/src/updateArchive.js +1 -0
  119. package/package.json +2 -1
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.0.0-blue" alt="version">
6
+ <img src="https://img.shields.io/badge/version-2.1.0-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.0.0 bash -c "$(curl -fsSL https://raw.githubusercontent.com/Ghqqqq/codex-overleaf-link/v2.0.0/install.sh)"
41
+ CODEX_OVERLEAF_REF=v2.1.0 bash -c "$(curl -fsSL https://raw.githubusercontent.com/Ghqqqq/codex-overleaf-link/v2.1.0/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.0.0/install.ps1 -OutFile install.ps1
48
- $env:CODEX_OVERLEAF_REF='v2.0.0'
47
+ iwr https://raw.githubusercontent.com/Ghqqqq/codex-overleaf-link/v2.1.0/install.ps1 -OutFile install.ps1
48
+ $env:CODEX_OVERLEAF_REF='v2.1.0'
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.0.0 -- install-managed
59
+ npm exec --yes codex-overleaf-link@2.1.0 -- 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.0.0 -- install-managed` |
90
- | Diagnose | `npm exec --yes codex-overleaf-link@2.0.0 -- doctor` |
91
- | Uninstall | `npm exec --yes codex-overleaf-link@2.0.0 -- uninstall-managed` |
89
+ | Install / update | `npm exec --yes codex-overleaf-link@2.1.0 -- install-managed` |
90
+ | Diagnose | `npm exec --yes codex-overleaf-link@2.1.0 -- doctor` |
91
+ | Uninstall | `npm exec --yes codex-overleaf-link@2.1.0 -- 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.0.0 GitHub Release contains:
101
+ The v2.1.0 GitHub Release contains:
102
102
 
103
- - `codex-overleaf-link-extension-v2.0.0.zip`: loadable Chrome extension package for manual unpacked installation.
104
- - `codex-overleaf-native-host-v2.0.0.tar.gz`: native host runtime files used by the installer and release verification.
105
- - `codex-overleaf-link-2.0.0.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.0.0` when run directly from the release artifact.
107
- - `install.ps1`: release-pinned Windows PowerShell installer that defaults to `v2.0.0` when run directly from the release artifact.
103
+ - `codex-overleaf-link-extension-v2.1.0.zip`: loadable Chrome extension package for manual unpacked installation.
104
+ - `codex-overleaf-native-host-v2.1.0.tar.gz`: native host runtime files used by the installer and release verification.
105
+ - `codex-overleaf-link-2.1.0.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.0` when run directly from the release artifact.
107
+ - `install.ps1`: release-pinned Windows PowerShell installer that defaults to `v2.1.0` 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.0.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.0.0 -- uninstall-managed
118
+ npm exec --yes codex-overleaf-link@2.1.0 -- 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.0.0 bash -c "$(curl -fsSL https://raw.githubusercontent.com/Ghqqqq/codex-overleaf-link/v2.0.0/install.sh)" -- --browser chromium
153
+ CODEX_OVERLEAF_REF=v2.1.0 bash -c "$(curl -fsSL https://raw.githubusercontent.com/Ghqqqq/codex-overleaf-link/v2.1.0/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.0.0 -- uninstall-managed --browser chromium
159
+ npm exec --yes codex-overleaf-link@2.1.0 -- uninstall-managed --browser chromium
160
160
  ```
161
161
 
162
162
  ## Features
@@ -177,6 +177,7 @@ npm exec --yes codex-overleaf-link@2.0.0 -- uninstall-managed --browser chromium
177
177
  - **Sensitive preflight** — scan selected project context for likely secrets before sending it to Codex.
178
178
  - **Audit and diagnostics** — keep local run records and export redacted diagnostic bundles for issue reports.
179
179
  - **Model picker** — discover available Codex models locally, then switch model, reasoning effort, and speed from one compact control.
180
+ - **Third-party model providers (experimental)** — configure OpenAI-compatible Chat Completions, Responses API, and Anthropic Messages endpoints from Settings. Provider and gateway behavior varies, so the built-in Codex path remains the stable default.
180
181
  - **Session history** — multi-session management with rename, resume, and delete.
181
182
  - **Isolated Codex home** — plugin sessions run under `~/.codex-overleaf/codex-home` (not global `~/.codex/sessions`) and do not inherit your global Codex personalization.
182
183
  - **Experimental OT warm mirror** — optional read-only observation of active Overleaf text edits to keep focused local mirror files warm. Falls back to full snapshots when unavailable or inconsistent. Off by default; it never writes back to Overleaf through realtime collaboration channels.
@@ -291,7 +292,7 @@ Composer attachments are turn-scoped Codex context. Limits are 8 attachments per
291
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.
292
293
 
293
294
  ```bash
294
- npm exec --yes codex-overleaf-link@2.0.0 -- install-managed
295
+ npm exec --yes codex-overleaf-link@2.1.0 -- install-managed
295
296
  ```
296
297
 
297
298
  **The Windows popup or panel shows a Bash recovery command**
@@ -340,8 +341,8 @@ Use this matrix for release-candidate signoff and compatibility reports. Record
340
341
  | Browser/channel/version | Google Chrome channel and version. | Google Chrome channel and version. | Google Chrome channel and version. | Chromium channel/package and version. |
341
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`. |
342
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`. |
343
- | Installer/update command | `npm exec --yes codex-overleaf-link@2.0.0 -- install-managed` | `npm exec --yes codex-overleaf-link@2.0.0 -- install-managed` | `npm exec --yes codex-overleaf-link@2.0.0 -- install-managed` | `npm exec --yes codex-overleaf-link@2.0.0 -- install-managed --browser chromium` |
344
- | Uninstall command | `npm exec --yes codex-overleaf-link@2.0.0 -- uninstall-managed` | `npm exec --yes codex-overleaf-link@2.0.0 -- uninstall-managed` | `npm exec --yes codex-overleaf-link@2.0.0 -- uninstall-managed` | `npm exec --yes codex-overleaf-link@2.0.0 -- uninstall-managed --browser chromium` |
344
+ | Installer/update command | `npm exec --yes codex-overleaf-link@2.1.0 -- install-managed` | `npm exec --yes codex-overleaf-link@2.1.0 -- install-managed` | `npm exec --yes codex-overleaf-link@2.1.0 -- install-managed` | `npm exec --yes codex-overleaf-link@2.1.0 -- install-managed --browser chromium` |
345
+ | Uninstall command | `npm exec --yes codex-overleaf-link@2.1.0 -- uninstall-managed` | `npm exec --yes codex-overleaf-link@2.1.0 -- uninstall-managed` | `npm exec --yes codex-overleaf-link@2.1.0 -- uninstall-managed` | `npm exec --yes codex-overleaf-link@2.1.0 -- uninstall-managed --browser chromium` |
345
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` |
346
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`. |
347
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. |
@@ -377,7 +378,7 @@ Contributions are welcome. Please open an issue before submitting large changes
377
378
  The recommended v1.9 installation owns one stable unpacked-extension directory and a versioned native-host directory:
378
379
 
379
380
  ```bash
380
- npm exec --yes codex-overleaf-link@2.0.0 -- install-managed
381
+ npm exec --yes codex-overleaf-link@2.1.0 -- install-managed
381
382
  ```
382
383
 
383
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.
@@ -387,11 +388,11 @@ The stable updater ignores drafts and prereleases, performs no telemetry, and ca
387
388
  The legacy native-only installer remains available for source or unmanaged extension directories:
388
389
 
389
390
  ```bash
390
- npm exec --yes codex-overleaf-link@2.0.0 -- install-native
391
+ npm exec --yes codex-overleaf-link@2.1.0 -- install-native
391
392
  ```
392
393
 
393
394
  Legacy native-only installations can be removed with:
394
395
 
395
396
  ```bash
396
- npm exec --yes codex-overleaf-link@2.0.0 -- uninstall-native
397
+ npm exec --yes codex-overleaf-link@2.1.0 -- uninstall-native
397
398
  ```
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 3,
3
3
  "name": "Codex Overleaf Link",
4
- "version": "2.0.0",
4
+ "version": "2.1.0",
5
5
  "description": "Connect the active Overleaf project to a local Codex bridge.",
6
6
  "icons": {
7
7
  "16": "assets/icons/icon16.png",
@@ -30,6 +30,7 @@
30
30
  "resources": [
31
31
  "assets/icons/codex-overleaf-icon.png",
32
32
  "assets/icons/codex-overleaf-dialog-icon.png",
33
+ "runtime/vendor/katex/fonts/*",
33
34
  "runtime/src/shared/*",
34
35
  "runtime/src/page/*",
35
36
  "runtime/src/pageBridge.js"
@@ -17,6 +17,7 @@
17
17
  "src/shared/otText.js",
18
18
  "src/shared/i18n.js",
19
19
  "src/shared/models.js",
20
+ "src/shared/providerProfiles.js",
20
21
  "src/shared/sessionState.js",
21
22
  "src/shared/storageKeys.js",
22
23
  "src/shared/staleGuard.js",
@@ -41,16 +42,21 @@
41
42
  "src/content/panelRenderer.js",
42
43
  "src/content/sessionPanel.js",
43
44
  "src/content/settingsPanel.js",
45
+ "src/content/providerSettingsDialog.js",
46
+ "src/content/providerSettingsCoordinator.js",
44
47
  "src/content/diagnosticsPanel.js",
45
48
  "src/content/composerPanel.js",
46
49
  "src/content/themeController.js",
50
+ "vendor/katex/katex.min.js",
51
+ "src/content/mathText.js",
47
52
  "src/content/markdownText.js",
48
- "src/content/diagnosticsController.js",
49
- "src/content/runTimelineView.js",
50
- "src/content/projectSettingsCoordinator.js",
51
- "src/content/sessionMenuView.js",
52
- "src/content/sessionManager.js",
53
+ "src/content/diagnosticsController.js",
54
+ "src/content/runTimelineView.js",
55
+ "src/content/projectSettingsCoordinator.js",
56
+ "src/content/sessionMenuView.js",
57
+ "src/content/sessionManager.js",
53
58
  "src/content/applyResultFormatters.js",
59
+ "src/content/modelPickerSupport.js",
54
60
  "src/content/modelPicker.js",
55
61
  "src/content/recentProjects.js",
56
62
  "src/content/otWarmMirror.js",
@@ -61,6 +67,6 @@
61
67
  "src/content/contentRuntime.js",
62
68
  "src/contentScript.js"
63
69
  ],
64
- "css": ["styles/panel.css"],
70
+ "css": ["vendor/katex/katex.min.css", "styles/panel.css"],
65
71
  "runAt": "document_idle"
66
72
  }
@@ -15,6 +15,13 @@ if (!globalThis.CodexOverleafCompatibility) {
15
15
  'mirror.confirmWriteback',
16
16
  'mirror.scanSensitive',
17
17
  'codex.history.clearPlugin',
18
+ 'codex.providers.list',
19
+ 'codex.providers.test',
20
+ 'codex.providers.test.cancel',
21
+ 'codex.providers.upsert',
22
+ 'codex.providers.activate',
23
+ 'codex.providers.clear-secret',
24
+ 'codex.providers.delete',
18
25
  'skills.list',
19
26
  'skills.install',
20
27
  'skills.remove'
@@ -92,9 +92,19 @@
92
92
  <div class="codex-context-tray" data-context-tray hidden>
93
93
  <div class="codex-context-head">
94
94
  <span data-i18n="contextTitle">@ Context</span>
95
- <button type="button" class="codex-attach-button" data-attach-file title="Attach files (PDF, images)" aria-label="Attach files (PDF, images)">⌲</button>
96
- <input type="file" data-attach-input multiple hidden>
97
- <button type="button" data-context-refresh title="Refresh file list" aria-label="Refresh file list">↻</button>
95
+ <span class="codex-context-actions">
96
+ <span class="codex-context-sync-status" data-context-sync-status data-state="idle" role="status" aria-live="polite">
97
+ <svg viewBox="0 0 20 20" aria-hidden="true" focusable="false">
98
+ <circle class="codex-context-sync-ring" cx="10" cy="10" r="6.5"></circle>
99
+ <path class="codex-context-sync-check" d="M6.1 10.2 8.7 12.8 14.2 7.3"></path>
100
+ <path class="codex-context-sync-alert" d="M10 6.2v5.1M10 14h.01"></path>
101
+ </svg>
102
+ <span class="codex-context-sync-copy" data-context-sync-copy></span>
103
+ </span>
104
+ <button type="button" class="codex-attach-button" data-attach-file title="Attach files (PDF, images)" aria-label="Attach files (PDF, images)">⌲</button>
105
+ <input type="file" data-attach-input multiple hidden>
106
+ <button type="button" data-context-refresh title="Refresh file list" aria-label="Refresh file list">↻</button>
107
+ </span>
98
108
  </div>
99
109
  <div class="codex-context-selection" data-context-selection></div>
100
110
  <div class="codex-context-status" data-context-status>Type @ to add context: @file, @compile-log, @current-section.</div>