@route_33/opencode 0.4.7-rc.7 → 0.4.7-rc.8
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 +9 -20
- package/dist/index.js +1021 -766
- package/dist/tui-entry/index.js +1216 -820
- package/dist/v2-entry/index.js +63 -42
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,19 +36,17 @@ config? Declare the plugin directly in `opencode.json(c)`:
|
|
|
36
36
|
## First run
|
|
37
37
|
|
|
38
38
|
With `ROUTE33_API_KEY` unset and `ROUTE33_AUTOCONNECT` not `0`, the wizard
|
|
39
|
-
auto-starts at launch and
|
|
40
|
-
|
|
39
|
+
auto-starts at launch and blocks the TUI on both OpenCode versions — the
|
|
40
|
+
prompt stays locked behind a setup mode until a budget is assigned, with
|
|
41
|
+
Enter resuming setup; route_33 model requests are also refused
|
|
42
|
+
server-side with the same guidance where the lock is unavailable:
|
|
41
43
|
|
|
42
|
-
1. The
|
|
44
|
+
1. The sign-in dialog carries the Route 33 link; finish signing in with
|
|
45
|
+
your browser and this window continues by itself.
|
|
43
46
|
2. The budget picker follows in OpenCode — one of your Route 33 projects,
|
|
44
47
|
or your personal key.
|
|
45
48
|
3. The route_33 models appear. Pick one and prompt away.
|
|
46
49
|
|
|
47
|
-
On OpenCode v1 the wizard also auto-starts, but the 1.x TUI API has no
|
|
48
|
-
pre-prompt hook, so it runs in parallel with the prompt — the models appear
|
|
49
|
-
after the wizard finishes and OpenCode restarts. Use `/r33` any time to
|
|
50
|
-
re-run connect, change the budget, or inspect the session.
|
|
51
|
-
|
|
52
50
|
## Commands
|
|
53
51
|
|
|
54
52
|
| Command | Effect |
|
|
@@ -80,20 +78,11 @@ export ROUTE33_API_KEY=r33_sk_...
|
|
|
80
78
|
|
|
81
79
|
## Auto-connect
|
|
82
80
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
(v2) or `/r33` (v1) manually instead. On remote or headless machines, use
|
|
81
|
+
The First-run wizard auto-starts at OpenCode launch for unconnected
|
|
82
|
+
folders. Suppress it with `ROUTE33_AUTOCONNECT=0` and connect manually
|
|
83
|
+
instead — `/r33` or `/connect`. On remote or headless machines, use
|
|
87
84
|
`ROUTE33_API_KEY` instead of the wizard.
|
|
88
85
|
|
|
89
|
-
## OpenCode v1
|
|
90
|
-
|
|
91
|
-
On OpenCode v1, `/r33` in the TUI signs in with the browser, opens the
|
|
92
|
-
project picker, and leases this folder's key; the models load after a
|
|
93
|
-
restart. The wizard auto-starts at TUI launch when the folder is
|
|
94
|
-
unconnected. The auto-start does not intercept the first prompt because
|
|
95
|
-
v1's TUI API offers no pre-prompt hook — the wizard runs in parallel.
|
|
96
|
-
|
|
97
86
|
## Troubleshooting
|
|
98
87
|
|
|
99
88
|
| Symptom | What to do |
|