oh-my-opencode 4.1.0 → 4.1.2

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.
@@ -4,3 +4,11 @@ export declare function createInternalAgentTextPart(text: string): {
4
4
  type: "text";
5
5
  text: string;
6
6
  };
7
+ export declare function createInternalAgentContinuationTextPart(text: string): {
8
+ type: "text";
9
+ text: string;
10
+ synthetic: true;
11
+ metadata: {
12
+ compaction_continue: true;
13
+ };
14
+ };
@@ -2,6 +2,7 @@ export type AgentMode = "subagent" | "primary" | "all" | undefined;
2
2
  export type AgentInfo = {
3
3
  name: string;
4
4
  mode?: "subagent" | "primary" | "all";
5
+ hidden?: boolean;
5
6
  model?: string | {
6
7
  providerID: string;
7
8
  modelID: string;
@@ -1,3 +1,4 @@
1
1
  export declare const DEFAULT_TIMEOUT_MS = 60000;
2
2
  export declare const BLOCKED_TMUX_SUBCOMMANDS: string[];
3
+ export declare const PROHIBITED_TMUX_SUBCOMMANDS: string[];
3
4
  export declare const INTERACTIVE_BASH_DESCRIPTION = "WARNING: This is TMUX ONLY. Pass tmux subcommands directly (without 'tmux' prefix).\n\nExamples: new-session -d -s omo-dev, send-keys -t omo-dev \"vim\" Enter\n\nFor TUI apps needing ongoing interaction (vim, htop, pudb). One-shot commands \u2192 use Bash with &.";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-opencode",
3
- "version": "4.1.0",
3
+ "version": "4.1.2",
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",
@@ -33,7 +33,8 @@
33
33
  "postinstall": "node postinstall.mjs",
34
34
  "prepublishOnly": "bun run clean && bun run build",
35
35
  "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",
36
- "typecheck": "tsc --noEmit",
36
+ "typecheck": "tsgo --noEmit",
37
+ "typecheck:script": "tsgo --noEmit -p script/tsconfig.json",
37
38
  "test": "bun run script/run-ci-tests.ts"
38
39
  },
39
40
  "keywords": [
@@ -63,35 +64,36 @@
63
64
  "@modelcontextprotocol/sdk": "^1.29.0",
64
65
  "@opencode-ai/plugin": "^1.4.0",
65
66
  "@opencode-ai/sdk": "^1.4.0",
66
- "commander": "^14.0.2",
67
- "detect-libc": "^2.0.0",
68
- "diff": "^8.0.3",
67
+ "commander": "^14.0.3",
68
+ "detect-libc": "^2.1.2",
69
+ "diff": "^8.0.4",
69
70
  "js-yaml": "^4.1.1",
70
71
  "jsonc-parser": "^3.3.1",
71
72
  "picocolors": "^1.1.1",
72
73
  "picomatch": "^4.0.4",
73
- "posthog-node": "^5.29.2",
74
- "vscode-jsonrpc": "^8.2.0"
74
+ "posthog-node": "^5.34.1",
75
+ "vscode-jsonrpc": "^8.2.1"
75
76
  },
76
77
  "devDependencies": {
78
+ "@typescript/native-preview": "7.0.0-dev.20260513.1",
77
79
  "@types/js-yaml": "^4.0.9",
78
80
  "@types/picomatch": "^3.0.2",
79
- "bun-types": "1.3.11",
80
- "typescript": "^5.7.3",
81
- "zod": "^4.3.0"
81
+ "bun-types": "1.3.12",
82
+ "typescript": "^5.9.3",
83
+ "zod": "^4.4.3"
82
84
  },
83
85
  "optionalDependencies": {
84
- "oh-my-opencode-darwin-arm64": "4.1.0",
85
- "oh-my-opencode-darwin-x64": "4.1.0",
86
- "oh-my-opencode-darwin-x64-baseline": "4.1.0",
87
- "oh-my-opencode-linux-arm64": "4.1.0",
88
- "oh-my-opencode-linux-arm64-musl": "4.1.0",
89
- "oh-my-opencode-linux-x64": "4.1.0",
90
- "oh-my-opencode-linux-x64-baseline": "4.1.0",
91
- "oh-my-opencode-linux-x64-musl": "4.1.0",
92
- "oh-my-opencode-linux-x64-musl-baseline": "4.1.0",
93
- "oh-my-opencode-windows-x64": "4.1.0",
94
- "oh-my-opencode-windows-x64-baseline": "4.1.0"
86
+ "oh-my-opencode-darwin-arm64": "4.1.2",
87
+ "oh-my-opencode-darwin-x64": "4.1.2",
88
+ "oh-my-opencode-darwin-x64-baseline": "4.1.2",
89
+ "oh-my-opencode-linux-arm64": "4.1.2",
90
+ "oh-my-opencode-linux-arm64-musl": "4.1.2",
91
+ "oh-my-opencode-linux-x64": "4.1.2",
92
+ "oh-my-opencode-linux-x64-baseline": "4.1.2",
93
+ "oh-my-opencode-linux-x64-musl": "4.1.2",
94
+ "oh-my-opencode-linux-x64-musl-baseline": "4.1.2",
95
+ "oh-my-opencode-windows-x64": "4.1.2",
96
+ "oh-my-opencode-windows-x64-baseline": "4.1.2"
95
97
  },
96
98
  "overrides": {
97
99
  "hono": "^4.12.18",