@skj1724/oh-my-opencode 3.11.3 → 3.11.6
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/dist/agents/atlas/gemini.d.ts +0 -9
- package/dist/agents/sisyphus/gemini.d.ts +10 -10
- package/dist/agents/sisyphus/gpt-5-4.d.ts +18 -18
- package/dist/cli/index.js +7 -6
- package/dist/config/schema/experimental.d.ts +0 -1
- package/dist/config/schema/oh-my-opencode-config.d.ts +0 -1
- package/dist/hooks/think-mode/switcher.d.ts +12 -11
- package/dist/hooks/thinking-block-validator/hook.d.ts +11 -10
- package/dist/index.js +1063 -1060
- package/dist/oh-my-opencode.schema.json +0 -3
- package/dist/shared/context-limit-resolver.d.ts +1 -2
- package/package.json +103 -103
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { OhMyOpenCodeConfig } from "../config/schema/oh-my-opencode-config";
|
|
2
1
|
export type ContextLimitModelCacheState = {
|
|
3
2
|
anthropicContext1MEnabled: boolean;
|
|
4
3
|
modelContextLimitsCache?: Map<string, number>;
|
|
5
4
|
};
|
|
6
|
-
export declare function resolveActualContextLimit(providerID: string, modelID: string, modelCacheState?: ContextLimitModelCacheState
|
|
5
|
+
export declare function resolveActualContextLimit(providerID: string, modelID: string, modelCacheState?: ContextLimitModelCacheState): number | null;
|
package/package.json
CHANGED
|
@@ -1,103 +1,103 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@skj1724/oh-my-opencode",
|
|
3
|
-
"version": "3.11.
|
|
4
|
-
"description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"type": "module",
|
|
8
|
-
"bin": {
|
|
9
|
-
"oh-my-opencode": "bin/oh-my-opencode.js"
|
|
10
|
-
},
|
|
11
|
-
"files": [
|
|
12
|
-
"dist",
|
|
13
|
-
"bin",
|
|
14
|
-
"postinstall.mjs"
|
|
15
|
-
],
|
|
16
|
-
"exports": {
|
|
17
|
-
".": {
|
|
18
|
-
"types": "./dist/index.d.ts",
|
|
19
|
-
"import": "./dist/index.js"
|
|
20
|
-
},
|
|
21
|
-
"./schema.json": "./dist/oh-my-opencode.schema.json"
|
|
22
|
-
},
|
|
23
|
-
"scripts": {
|
|
24
|
-
"build": "bun build src/index.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 --external @ast-grep/napi && bun run build:schema",
|
|
25
|
-
"build:all": "bun run build && bun run build:binaries",
|
|
26
|
-
"build:binaries": "bun run script/build-binaries.ts",
|
|
27
|
-
"build:schema": "bun run script/build-schema.ts",
|
|
28
|
-
"build:model-capabilities": "bun run script/build-model-capabilities.ts",
|
|
29
|
-
"clean": "rm -rf dist",
|
|
30
|
-
"prepare": "bun run build",
|
|
31
|
-
"postinstall": "node postinstall.mjs",
|
|
32
|
-
"prepublishOnly": "bun run clean && bun run build",
|
|
33
|
-
"test:model-capabilities": "bun test src/shared/model-capability-aliases.test.ts src/shared/model-capability-guardrails.test.ts src/shared/model-capabilities.test.ts src/cli/doctor/checks/model-resolution.test.ts --bail",
|
|
34
|
-
"typecheck": "tsc --noEmit",
|
|
35
|
-
"test": "bun test"
|
|
36
|
-
},
|
|
37
|
-
"keywords": [
|
|
38
|
-
"opencode",
|
|
39
|
-
"plugin",
|
|
40
|
-
"oracle",
|
|
41
|
-
"librarian",
|
|
42
|
-
"agents",
|
|
43
|
-
"ai",
|
|
44
|
-
"llm"
|
|
45
|
-
],
|
|
46
|
-
"author": "YeonGyu-Kim",
|
|
47
|
-
"license": "SUL-1.0",
|
|
48
|
-
"repository": {
|
|
49
|
-
"type": "git",
|
|
50
|
-
"url": "git+https://github.com/code-yeongyu/oh-my-openagent.git"
|
|
51
|
-
},
|
|
52
|
-
"bugs": {
|
|
53
|
-
"url": "https://github.com/code-yeongyu/oh-my-openagent/issues"
|
|
54
|
-
},
|
|
55
|
-
"homepage": "https://github.com/code-yeongyu/oh-my-openagent#readme",
|
|
56
|
-
"dependencies": {
|
|
57
|
-
"@ast-grep/cli": "^0.41.1",
|
|
58
|
-
"@ast-grep/napi": "^0.41.1",
|
|
59
|
-
"@clack/prompts": "^0.11.0",
|
|
60
|
-
"@code-yeongyu/comment-checker": "^0.7.0",
|
|
61
|
-
"@modelcontextprotocol/sdk": "^1.25.2",
|
|
62
|
-
"@opencode-ai/plugin": "^1.2.24",
|
|
63
|
-
"@opencode-ai/sdk": "^1.2.24",
|
|
64
|
-
"commander": "^14.0.2",
|
|
65
|
-
"detect-libc": "^2.0.0",
|
|
66
|
-
"diff": "^8.0.3",
|
|
67
|
-
"js-yaml": "^4.1.1",
|
|
68
|
-
"jsonc-parser": "^3.3.1",
|
|
69
|
-
"picocolors": "^1.1.1",
|
|
70
|
-
"picomatch": "^4.0.2",
|
|
71
|
-
"vscode-jsonrpc": "^8.2.0",
|
|
72
|
-
"zod": "^4.1.8"
|
|
73
|
-
},
|
|
74
|
-
"devDependencies": {
|
|
75
|
-
"@types/js-yaml": "^4.0.9",
|
|
76
|
-
"@types/picomatch": "^3.0.2",
|
|
77
|
-
"bun-types": "1.3.10",
|
|
78
|
-
"typescript": "^5.7.3",
|
|
79
|
-
"@types/bun": "latest"
|
|
80
|
-
},
|
|
81
|
-
"optionalDependencies": {
|
|
82
|
-
"oh-my-opencode-darwin-arm64": "3.11.0",
|
|
83
|
-
"oh-my-opencode-darwin-x64": "3.11.0",
|
|
84
|
-
"oh-my-opencode-darwin-x64-baseline": "3.11.0",
|
|
85
|
-
"oh-my-opencode-linux-arm64": "3.11.0",
|
|
86
|
-
"oh-my-opencode-linux-arm64-musl": "3.11.0",
|
|
87
|
-
"oh-my-opencode-linux-x64": "3.11.0",
|
|
88
|
-
"oh-my-opencode-linux-x64-baseline": "3.11.0",
|
|
89
|
-
"oh-my-opencode-linux-x64-musl": "3.11.0",
|
|
90
|
-
"oh-my-opencode-linux-x64-musl-baseline": "3.11.0",
|
|
91
|
-
"oh-my-opencode-windows-x64": "3.11.0",
|
|
92
|
-
"oh-my-opencode-windows-x64-baseline": "3.11.0"
|
|
93
|
-
},
|
|
94
|
-
"overrides": {
|
|
95
|
-
"@opencode-ai/sdk": "^1.2.24"
|
|
96
|
-
},
|
|
97
|
-
"trustedDependencies": [
|
|
98
|
-
"@ast-grep/cli",
|
|
99
|
-
"@ast-grep/napi",
|
|
100
|
-
"@code-yeongyu/comment-checker"
|
|
101
|
-
],
|
|
102
|
-
"private": false
|
|
103
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@skj1724/oh-my-opencode",
|
|
3
|
+
"version": "3.11.6",
|
|
4
|
+
"description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"bin": {
|
|
9
|
+
"oh-my-opencode": "bin/oh-my-opencode.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"bin",
|
|
14
|
+
"postinstall.mjs"
|
|
15
|
+
],
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"import": "./dist/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./schema.json": "./dist/oh-my-opencode.schema.json"
|
|
22
|
+
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "bun build src/index.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 --external @ast-grep/napi && bun run build:schema",
|
|
25
|
+
"build:all": "bun run build && bun run build:binaries",
|
|
26
|
+
"build:binaries": "bun run script/build-binaries.ts",
|
|
27
|
+
"build:schema": "bun run script/build-schema.ts",
|
|
28
|
+
"build:model-capabilities": "bun run script/build-model-capabilities.ts",
|
|
29
|
+
"clean": "rm -rf dist",
|
|
30
|
+
"prepare": "bun run build",
|
|
31
|
+
"postinstall": "node postinstall.mjs",
|
|
32
|
+
"prepublishOnly": "bun run clean && bun run build",
|
|
33
|
+
"test:model-capabilities": "bun test src/shared/model-capability-aliases.test.ts src/shared/model-capability-guardrails.test.ts src/shared/model-capabilities.test.ts src/cli/doctor/checks/model-resolution.test.ts --bail",
|
|
34
|
+
"typecheck": "tsc --noEmit",
|
|
35
|
+
"test": "bun test"
|
|
36
|
+
},
|
|
37
|
+
"keywords": [
|
|
38
|
+
"opencode",
|
|
39
|
+
"plugin",
|
|
40
|
+
"oracle",
|
|
41
|
+
"librarian",
|
|
42
|
+
"agents",
|
|
43
|
+
"ai",
|
|
44
|
+
"llm"
|
|
45
|
+
],
|
|
46
|
+
"author": "YeonGyu-Kim",
|
|
47
|
+
"license": "SUL-1.0",
|
|
48
|
+
"repository": {
|
|
49
|
+
"type": "git",
|
|
50
|
+
"url": "git+https://github.com/code-yeongyu/oh-my-openagent.git"
|
|
51
|
+
},
|
|
52
|
+
"bugs": {
|
|
53
|
+
"url": "https://github.com/code-yeongyu/oh-my-openagent/issues"
|
|
54
|
+
},
|
|
55
|
+
"homepage": "https://github.com/code-yeongyu/oh-my-openagent#readme",
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"@ast-grep/cli": "^0.41.1",
|
|
58
|
+
"@ast-grep/napi": "^0.41.1",
|
|
59
|
+
"@clack/prompts": "^0.11.0",
|
|
60
|
+
"@code-yeongyu/comment-checker": "^0.7.0",
|
|
61
|
+
"@modelcontextprotocol/sdk": "^1.25.2",
|
|
62
|
+
"@opencode-ai/plugin": "^1.2.24",
|
|
63
|
+
"@opencode-ai/sdk": "^1.2.24",
|
|
64
|
+
"commander": "^14.0.2",
|
|
65
|
+
"detect-libc": "^2.0.0",
|
|
66
|
+
"diff": "^8.0.3",
|
|
67
|
+
"js-yaml": "^4.1.1",
|
|
68
|
+
"jsonc-parser": "^3.3.1",
|
|
69
|
+
"picocolors": "^1.1.1",
|
|
70
|
+
"picomatch": "^4.0.2",
|
|
71
|
+
"vscode-jsonrpc": "^8.2.0",
|
|
72
|
+
"zod": "^4.1.8"
|
|
73
|
+
},
|
|
74
|
+
"devDependencies": {
|
|
75
|
+
"@types/js-yaml": "^4.0.9",
|
|
76
|
+
"@types/picomatch": "^3.0.2",
|
|
77
|
+
"bun-types": "1.3.10",
|
|
78
|
+
"typescript": "^5.7.3",
|
|
79
|
+
"@types/bun": "latest"
|
|
80
|
+
},
|
|
81
|
+
"optionalDependencies": {
|
|
82
|
+
"oh-my-opencode-darwin-arm64": "3.11.0",
|
|
83
|
+
"oh-my-opencode-darwin-x64": "3.11.0",
|
|
84
|
+
"oh-my-opencode-darwin-x64-baseline": "3.11.0",
|
|
85
|
+
"oh-my-opencode-linux-arm64": "3.11.0",
|
|
86
|
+
"oh-my-opencode-linux-arm64-musl": "3.11.0",
|
|
87
|
+
"oh-my-opencode-linux-x64": "3.11.0",
|
|
88
|
+
"oh-my-opencode-linux-x64-baseline": "3.11.0",
|
|
89
|
+
"oh-my-opencode-linux-x64-musl": "3.11.0",
|
|
90
|
+
"oh-my-opencode-linux-x64-musl-baseline": "3.11.0",
|
|
91
|
+
"oh-my-opencode-windows-x64": "3.11.0",
|
|
92
|
+
"oh-my-opencode-windows-x64-baseline": "3.11.0"
|
|
93
|
+
},
|
|
94
|
+
"overrides": {
|
|
95
|
+
"@opencode-ai/sdk": "^1.2.24"
|
|
96
|
+
},
|
|
97
|
+
"trustedDependencies": [
|
|
98
|
+
"@ast-grep/cli",
|
|
99
|
+
"@ast-grep/napi",
|
|
100
|
+
"@code-yeongyu/comment-checker"
|
|
101
|
+
],
|
|
102
|
+
"private": false
|
|
103
|
+
}
|