opencode-gemini-web 1.0.1 → 1.0.2

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 (2) hide show
  1. package/README.md +16 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -66,7 +66,7 @@ mv ~/.local/state/opencode-hydrogen ~/.local/state/opencode-gemini-web
66
66
  ## Configuration notes
67
67
 
68
68
  The state directory defaults to `~/.local/state/opencode-gemini-web`. Set
69
- `XDG_STATE_HOME` before running both commands to use a different state root.
69
+ `XDG_STATE_HOME` before running the commands to use a different state root.
70
70
  The adapter and Chrome's debug port listen on loopback. Give access to the
71
71
  browser profile and its debugger only to people who should control that Gemini
72
72
  session.
@@ -82,15 +82,24 @@ If OpenCode reports that your Gemini session expired, run
82
82
  `opencode-gemini-web login` again, finish sign-in, and retry in the same
83
83
  conversation. If OpenCode reports an invalid local adapter key, check that the
84
84
  provider references the key path printed at startup. If a selected model is
85
- unavailable, refresh the provider catalog with the sync command.
85
+ unavailable, refresh the provider catalog with the sync command. If OpenCode
86
+ keeps retrying and failing, Gemini may be throttling sustained automation on
87
+ your account for a few minutes; wait between sessions.
86
88
 
87
- ## Working on the source
88
-
89
- Clone the repository, run `npm ci`, and use `npm run login`, `npm start`,
90
- `npm run sync-models`, and `npm test` in place of the global CLI. The `npm`
91
- scripts run the same code as the CLI.
89
+ ## Behavior
92
90
 
93
91
  Each request selects the requested model and sends the OpenCode transcript
94
92
  through a fresh Gemini Temporary Chat. The adapter supports text and one tool call per reply. OpenCode can
95
93
  run more tool calls in subsequent replies and applies its own tool permissions.
96
94
  Streaming clients receive the completed reply as SSE.
95
+
96
+ Each reply costs a full Gemini web round-trip, so tool-heavy tasks take
97
+ minutes. If Gemini returns its own error page or claims it ran out of tool
98
+ calls, the adapter reports it as a retryable error and OpenCode retries the
99
+ request automatically.
100
+
101
+ ## Working on the source
102
+
103
+ Clone the repository, run `npm ci`, and use `npm run login`, `npm start`,
104
+ `npm run sync-models`, and `npm test` in place of the global CLI. The `npm`
105
+ scripts run the same code as the CLI.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-gemini-web",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Use your signed-in Gemini web account's models from OpenCode through a local adapter",
5
5
  "type": "module",
6
6
  "bin": {