oh-my-opencode 2.4.7 → 2.5.1
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.ja.md +54 -92
- package/README.ko.md +54 -92
- package/README.md +70 -100
- package/README.zh-cn.md +54 -93
- package/dist/cli/config-manager.d.ts +89 -0
- package/dist/cli/config-manager.test.d.ts +1 -0
- package/dist/cli/index.d.ts +2 -0
- package/dist/cli/index.js +3745 -0
- package/dist/cli/install.d.ts +2 -0
- package/dist/cli/types.d.ts +27 -0
- package/dist/google-auth.js +1735 -0
- package/dist/index.js +1 -1
- package/package.json +8 -2
package/dist/index.js
CHANGED
|
@@ -9702,7 +9702,7 @@ function transformRequest(options) {
|
|
|
9702
9702
|
endpointOverride,
|
|
9703
9703
|
thoughtSignature
|
|
9704
9704
|
} = options;
|
|
9705
|
-
const effectiveModel = modelName || extractModelFromBody(body) || extractModelFromUrl(url) || "gemini-3-pro-
|
|
9705
|
+
const effectiveModel = modelName || extractModelFromBody(body) || extractModelFromUrl(url) || "gemini-3-pro-high";
|
|
9706
9706
|
const streaming = isStreamingRequest(url, body);
|
|
9707
9707
|
const action = streaming ? "streamGenerateContent" : "generateContent";
|
|
9708
9708
|
const endpoint = endpointOverride || getDefaultEndpoint();
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oh-my-opencode",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"description": "OpenCode plugin - custom agents (oracle, librarian) and enhanced features",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"type": "module",
|
|
8
|
+
"bin": {
|
|
9
|
+
"oh-my-opencode": "./dist/cli/index.js"
|
|
10
|
+
},
|
|
8
11
|
"files": [
|
|
9
12
|
"dist"
|
|
10
13
|
],
|
|
@@ -20,7 +23,7 @@
|
|
|
20
23
|
"./schema.json": "./dist/oh-my-opencode.schema.json"
|
|
21
24
|
},
|
|
22
25
|
"scripts": {
|
|
23
|
-
"build": "bun build src/index.ts src/google-auth.ts --outdir dist --target bun --format esm --external @ast-grep/napi && tsc --emitDeclarationOnly && bun run build:schema",
|
|
26
|
+
"build": "bun build src/index.ts src/google-auth.ts --outdir dist --target bun --format esm --external @ast-grep/napi && tsc --emitDeclarationOnly && bun build src/cli/index.ts --outdir dist/cli --target bun --format esm && bun run build:schema",
|
|
24
27
|
"build:schema": "bun run script/build-schema.ts",
|
|
25
28
|
"clean": "rm -rf dist",
|
|
26
29
|
"prepublishOnly": "bun run clean && bun run build",
|
|
@@ -49,10 +52,13 @@
|
|
|
49
52
|
"dependencies": {
|
|
50
53
|
"@ast-grep/cli": "^0.40.0",
|
|
51
54
|
"@ast-grep/napi": "^0.40.0",
|
|
55
|
+
"@clack/prompts": "^0.11.0",
|
|
52
56
|
"@code-yeongyu/comment-checker": "^0.6.0",
|
|
53
57
|
"@openauthjs/openauth": "^0.4.3",
|
|
54
58
|
"@opencode-ai/plugin": "^1.0.162",
|
|
59
|
+
"commander": "^14.0.2",
|
|
55
60
|
"hono": "^4.10.4",
|
|
61
|
+
"picocolors": "^1.1.1",
|
|
56
62
|
"picomatch": "^4.0.2",
|
|
57
63
|
"xdg-basedir": "^5.1.0",
|
|
58
64
|
"zod": "^4.1.8"
|