offrouter-adapter-gemini 0.2.2 → 0.4.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.
- package/README.md +23 -0
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# offrouter-adapter-gemini
|
|
2
|
+
|
|
3
|
+
Gemini CLI adapter for OffRouter. Integrates via hooks, extension, or MCP depending on the Gemini CLI release channel.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install offrouter-adapter-gemini
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Then register with the CLI:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
offrouter install gemini --profile gemini-personal
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
This configures OffRouter routing within a Gemini CLI profile, allowing policy-based provider selection for delegated work while the primary Gemini model remains unchanged in V1.
|
|
18
|
+
|
|
19
|
+
## Links
|
|
20
|
+
|
|
21
|
+
- [offrouter.com](https://offrouter.com)
|
|
22
|
+
- [GitHub](https://github.com/pooriaarab/offrouter)
|
|
23
|
+
- [Docs](https://offrouter.com/docs/quickstart.html)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "offrouter-adapter-gemini",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"test": "vitest run --root ../.. packages/adapter-gemini/src"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"offrouter-core": "0.
|
|
12
|
+
"offrouter-core": "0.4.0",
|
|
13
13
|
"zod": "^3.23.0"
|
|
14
14
|
},
|
|
15
15
|
"files": [
|