oh-my-opencode 4.3.0 → 4.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/dist/cli/index.js +59 -32
- package/dist/features/background-agent/parent-wake-dedupe.d.ts +19 -0
- package/dist/features/background-agent/parent-wake-notifier.d.ts +2 -19
- package/dist/hooks/tool-pair-validator/hook.d.ts +6 -1
- package/dist/index.js +504 -229
- package/dist/plugin-handlers/provider-config-handler.d.ts +1 -0
- package/dist/shared/bun-spawn-shim.d.ts +3 -0
- package/dist/shared/migration/model-versions.d.ts +6 -0
- package/dist/shared/process-stream-reader.d.ts +3 -0
- package/dist/tools/glob/cli.d.ts +3 -1
- package/dist/tools/grep/cli.d.ts +4 -2
- package/dist/tools/shared/search-process-output.d.ts +7 -0
- package/package.json +12 -12
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type SpawnOptions as NodeSpawnOptions, type SpawnSyncOptions as NodeSpawnSyncOptions } from "node:child_process";
|
|
1
2
|
type StdioMode = "pipe" | "inherit" | "ignore";
|
|
2
3
|
type StdioTuple = [StdioMode, StdioMode, StdioMode];
|
|
3
4
|
export interface SpawnOptions {
|
|
@@ -29,6 +30,8 @@ export interface SpawnSyncResult {
|
|
|
29
30
|
readonly success: boolean;
|
|
30
31
|
readonly pid: number;
|
|
31
32
|
}
|
|
33
|
+
export declare function createNodeSpawnOptions(options: SpawnOptions, platform?: NodeJS.Platform): NodeSpawnOptions;
|
|
34
|
+
export declare function createNodeSpawnSyncOptions(options: SpawnOptions, platform?: NodeJS.Platform): NodeSpawnSyncOptions;
|
|
32
35
|
export declare function spawn(command: string[], options?: SpawnOptions): SpawnedProcess;
|
|
33
36
|
export declare function spawn(options: SpawnOptions & {
|
|
34
37
|
cmd: string[];
|
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
* bumps to newer model versions.
|
|
5
5
|
*
|
|
6
6
|
* Keys are full "provider/model" strings. Only openai and anthropic entries needed.
|
|
7
|
+
*
|
|
8
|
+
* Only include genuinely retired/superseded models here. Do NOT add mappings
|
|
9
|
+
* for current, user-selectable variants — `gpt-5.3-codex` is the canonical
|
|
10
|
+
* codex powerhouse referenced in docs/guide/agent-model-matching.md and is
|
|
11
|
+
* NOT a deprecated alias for `gpt-5.4`. Auto-rewriting an explicit user
|
|
12
|
+
* choice silently broke configurations (#3777).
|
|
7
13
|
*/
|
|
8
14
|
export declare const MODEL_VERSION_MAP: Record<string, string>;
|
|
9
15
|
export declare function migrateModelVersions(configs: Record<string, unknown>, appliedMigrations?: Set<string>): {
|
package/dist/tools/glob/cli.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import { type SpawnOptions, type SpawnedProcess } from "../../shared/bun-spawn-shim";
|
|
1
2
|
import { type GrepBackend } from "./constants";
|
|
2
3
|
import type { GlobOptions, GlobResult } from "./types";
|
|
3
4
|
export interface ResolvedCli {
|
|
4
5
|
path: string;
|
|
5
6
|
backend: GrepBackend;
|
|
6
7
|
}
|
|
8
|
+
export type SearchProcessSpawner = (command: string[], options?: SpawnOptions) => SpawnedProcess;
|
|
7
9
|
declare function buildRgArgs(options: GlobOptions): string[];
|
|
8
10
|
declare function buildFindArgs(options: GlobOptions): string[];
|
|
9
11
|
declare function buildPowerShellCommand(options: GlobOptions): string[];
|
|
10
12
|
export { buildRgArgs, buildFindArgs, buildPowerShellCommand };
|
|
11
|
-
export declare function runRgFiles(options: GlobOptions, resolvedCli?: ResolvedCli): Promise<GlobResult>;
|
|
13
|
+
export declare function runRgFiles(options: GlobOptions, resolvedCli?: ResolvedCli, processSpawner?: SearchProcessSpawner): Promise<GlobResult>;
|
package/dist/tools/grep/cli.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { type SpawnOptions, type SpawnedProcess } from "../../shared/bun-spawn-shim";
|
|
1
2
|
import { type ResolvedCli } from "../../shared/ripgrep-cli";
|
|
2
3
|
import type { GrepOptions, GrepResult, CountResult } from "./types";
|
|
3
|
-
export
|
|
4
|
-
export declare function
|
|
4
|
+
export type SearchProcessSpawner = (command: string[], options?: SpawnOptions) => SpawnedProcess;
|
|
5
|
+
export declare function runRg(options: GrepOptions, resolvedCli?: ResolvedCli, processSpawner?: SearchProcessSpawner): Promise<GrepResult>;
|
|
6
|
+
export declare function runRgCount(options: Omit<GrepOptions, "context">, resolvedCli?: ResolvedCli, processSpawner?: SearchProcessSpawner): Promise<CountResult[]>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { SpawnedProcess } from "../../shared/bun-spawn-shim";
|
|
2
|
+
export interface SearchProcessOutput {
|
|
3
|
+
readonly stdout: string;
|
|
4
|
+
readonly stderr: string;
|
|
5
|
+
readonly exitCode: number;
|
|
6
|
+
}
|
|
7
|
+
export declare function collectSearchProcessOutput(proc: SpawnedProcess, timeoutMs: number, timeoutMessage: string): Promise<SearchProcessOutput>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oh-my-opencode",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -110,17 +110,17 @@
|
|
|
110
110
|
"zod": "^4.4.3"
|
|
111
111
|
},
|
|
112
112
|
"optionalDependencies": {
|
|
113
|
-
"oh-my-opencode-darwin-arm64": "4.
|
|
114
|
-
"oh-my-opencode-darwin-x64": "4.
|
|
115
|
-
"oh-my-opencode-darwin-x64-baseline": "4.
|
|
116
|
-
"oh-my-opencode-linux-arm64": "4.
|
|
117
|
-
"oh-my-opencode-linux-arm64-musl": "4.
|
|
118
|
-
"oh-my-opencode-linux-x64": "4.
|
|
119
|
-
"oh-my-opencode-linux-x64-baseline": "4.
|
|
120
|
-
"oh-my-opencode-linux-x64-musl": "4.
|
|
121
|
-
"oh-my-opencode-linux-x64-musl-baseline": "4.
|
|
122
|
-
"oh-my-opencode-windows-x64": "4.
|
|
123
|
-
"oh-my-opencode-windows-x64-baseline": "4.
|
|
113
|
+
"oh-my-opencode-darwin-arm64": "4.4.0",
|
|
114
|
+
"oh-my-opencode-darwin-x64": "4.4.0",
|
|
115
|
+
"oh-my-opencode-darwin-x64-baseline": "4.4.0",
|
|
116
|
+
"oh-my-opencode-linux-arm64": "4.4.0",
|
|
117
|
+
"oh-my-opencode-linux-arm64-musl": "4.4.0",
|
|
118
|
+
"oh-my-opencode-linux-x64": "4.4.0",
|
|
119
|
+
"oh-my-opencode-linux-x64-baseline": "4.4.0",
|
|
120
|
+
"oh-my-opencode-linux-x64-musl": "4.4.0",
|
|
121
|
+
"oh-my-opencode-linux-x64-musl-baseline": "4.4.0",
|
|
122
|
+
"oh-my-opencode-windows-x64": "4.4.0",
|
|
123
|
+
"oh-my-opencode-windows-x64-baseline": "4.4.0"
|
|
124
124
|
},
|
|
125
125
|
"overrides": {
|
|
126
126
|
"hono": "^4.12.18",
|