oh-my-opencode 3.17.13 → 3.17.15

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.
@@ -0,0 +1,39 @@
1
+ type StdioMode = "pipe" | "inherit" | "ignore";
2
+ type StdioTuple = [StdioMode, StdioMode, StdioMode];
3
+ export interface SpawnOptions {
4
+ cmd?: string[];
5
+ cwd?: string;
6
+ env?: NodeJS.ProcessEnv;
7
+ stdin?: StdioMode;
8
+ stdout?: StdioMode;
9
+ stderr?: StdioMode;
10
+ stdio?: StdioTuple;
11
+ detached?: boolean;
12
+ }
13
+ export interface SpawnedProcess {
14
+ readonly exitCode: number | null;
15
+ readonly exited: Promise<number>;
16
+ readonly stdout: ReadableStream<Uint8Array>;
17
+ readonly stderr: ReadableStream<Uint8Array>;
18
+ readonly stdin: NodeJS.WritableStream;
19
+ readonly pid: number | undefined;
20
+ kill(signal?: NodeJS.Signals): void;
21
+ ref(): void;
22
+ unref(): void;
23
+ }
24
+ export interface SpawnSyncResult {
25
+ readonly exitCode: number;
26
+ readonly stdout: Buffer | undefined;
27
+ readonly stderr: Buffer | undefined;
28
+ readonly success: boolean;
29
+ readonly pid: number;
30
+ }
31
+ export declare function spawn(command: string[], options?: SpawnOptions): SpawnedProcess;
32
+ export declare function spawn(options: SpawnOptions & {
33
+ cmd: string[];
34
+ }): SpawnedProcess;
35
+ export declare function spawnSync(command: string[], options?: SpawnOptions): SpawnSyncResult;
36
+ export declare function spawnSync(options: SpawnOptions & {
37
+ cmd: string[];
38
+ }): SpawnSyncResult;
39
+ export {};
@@ -1 +1 @@
1
- export { spawn } from "bun";
1
+ export { spawn } from "../../bun-spawn-shim";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-opencode",
3
- "version": "3.17.13",
3
+ "version": "3.17.15",
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",
@@ -22,7 +22,8 @@
22
22
  "./schema.json": "./dist/oh-my-opencode.schema.json"
23
23
  },
24
24
  "scripts": {
25
- "build": "bun build src/index.ts --outdir dist --target bun --format esm --external @ast-grep/napi --external zod && 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": "bun build src/index.ts --outdir dist --target bun --format esm --external @ast-grep/napi --external zod && bun run build:node-require-shim && tsc --emitDeclarationOnly && bun build src/cli/index.ts --outdir dist/cli --target bun --format esm --external @ast-grep/napi && bun run build:schema",
26
+ "build:node-require-shim": "bun run script/patch-node-require-shim.ts",
26
27
  "build:all": "bun run build && bun run build:binaries",
27
28
  "build:binaries": "bun run script/build-binaries.ts",
28
29
  "build:schema": "bun run script/build-schema.ts",
@@ -80,17 +81,17 @@
80
81
  "zod": "^4.3.0"
81
82
  },
82
83
  "optionalDependencies": {
83
- "oh-my-opencode-darwin-arm64": "3.17.13",
84
- "oh-my-opencode-darwin-x64": "3.17.13",
85
- "oh-my-opencode-darwin-x64-baseline": "3.17.13",
86
- "oh-my-opencode-linux-arm64": "3.17.13",
87
- "oh-my-opencode-linux-arm64-musl": "3.17.13",
88
- "oh-my-opencode-linux-x64": "3.17.13",
89
- "oh-my-opencode-linux-x64-baseline": "3.17.13",
90
- "oh-my-opencode-linux-x64-musl": "3.17.13",
91
- "oh-my-opencode-linux-x64-musl-baseline": "3.17.13",
92
- "oh-my-opencode-windows-x64": "3.17.13",
93
- "oh-my-opencode-windows-x64-baseline": "3.17.13"
84
+ "oh-my-opencode-darwin-arm64": "3.17.15",
85
+ "oh-my-opencode-darwin-x64": "3.17.15",
86
+ "oh-my-opencode-darwin-x64-baseline": "3.17.15",
87
+ "oh-my-opencode-linux-arm64": "3.17.15",
88
+ "oh-my-opencode-linux-arm64-musl": "3.17.15",
89
+ "oh-my-opencode-linux-x64": "3.17.15",
90
+ "oh-my-opencode-linux-x64-baseline": "3.17.15",
91
+ "oh-my-opencode-linux-x64-musl": "3.17.15",
92
+ "oh-my-opencode-linux-x64-musl-baseline": "3.17.15",
93
+ "oh-my-opencode-windows-x64": "3.17.15",
94
+ "oh-my-opencode-windows-x64-baseline": "3.17.15"
94
95
  },
95
96
  "overrides": {},
96
97
  "trustedDependencies": [