vim-todo-ai-bridge 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -51,7 +51,7 @@ OMP stores credentials in its local credential store. For API-key providers, omp
|
|
|
51
51
|
Requires Node.js 20.19 or newer. Run this in a terminal and keep it open:
|
|
52
52
|
|
|
53
53
|
```sh
|
|
54
|
-
npx -y vim-todo-ai-bridge
|
|
54
|
+
npx -y vim-todo-ai-bridge@latest
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
The bridge starts `omp --mode rpc --no-session --no-tools` and listens on `http://127.0.0.1:43197`. Set `AI_BRIDGE_HOST` or `AI_BRIDGE_PORT` to change the address.
|
|
@@ -60,7 +60,7 @@ If `omp` is not on `PATH`, set the executable before starting the bridge (PowerS
|
|
|
60
60
|
|
|
61
61
|
```powershell
|
|
62
62
|
$env:OMP_BIN = "C:\path\to\omp.exe"
|
|
63
|
-
npx -y vim-todo-ai-bridge
|
|
63
|
+
npx -y vim-todo-ai-bridge@latest
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
### 4. Connect the extension
|
|
@@ -87,3 +87,5 @@ npm start --prefix ai-bridge
|
|
|
87
87
|
- `Sign in to a provider with omp first`: run `omp`, then `/login <provider>`.
|
|
88
88
|
- `No authenticated omp model is available`: run `omp models` and sign in to a provider that lists models.
|
|
89
89
|
- The bridge is reachable but completion fails: keep the bridge terminal open and read its `[omp]` stderr lines.
|
|
90
|
+
- Slow suggestions: use a fast model from the available-model list. Typing cancels obsolete completions; requests have a 7-second bridge deadline and an 8-second extension deadline. Timeouts appear beside the suggestions instead of leaving an indefinite spinner.
|
|
91
|
+
- **Test AI** uses the autocomplete prompt and displays elapsed time. After upgrading the bridge, stop the old process and restart it; `/health` includes its version.
|