oh-my-opencode 0.1.27 → 0.1.29

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.md CHANGED
@@ -138,7 +138,17 @@ I believe in the right tool for the job. For your wallet's sake, use CLIProxyAPI
138
138
  - **Thinking Disabled Violation**: When thinking blocks exist but thinking is disabled → strips thinking blocks
139
139
  - **Empty Content Message**: When message has only thinking/meta blocks without actual content → injects "(interrupted)" text via filesystem
140
140
  - **Comment Checker**: Detects and reports unnecessary comments after code modifications. Smartly ignores valid patterns (BDD, directives, docstrings, shebangs) to keep the codebase clean from AI-generated artifacts.
141
- - **Directory AGENTS.md Injector**: Automatically injects `AGENTS.md` contents when reading files. Searches upward from the file's directory to project root, providing directory-level context to the agent. Inspired by Claude Code's CLAUDE.md feature.
141
+ - **Directory AGENTS.md Injector**: Automatically injects `AGENTS.md` contents when reading files. Searches upward from the file's directory to project root, collecting **all** `AGENTS.md` files along the path hierarchy. This enables nested, directory-specific instructions:
142
+ ```
143
+ project/
144
+ ├── AGENTS.md # Project-wide context
145
+ ├── src/
146
+ │ ├── AGENTS.md # src-specific context
147
+ │ └── components/
148
+ │ ├── AGENTS.md # Component-specific context
149
+ │ └── Button.tsx # Reading this injects ALL 3 AGENTS.md files
150
+ ```
151
+ When reading `Button.tsx`, the hook injects contexts in order: `project/AGENTS.md` → `src/AGENTS.md` → `components/AGENTS.md`. Each directory's context is injected only once per session. Inspired by Claude Code's CLAUDE.md feature.
142
152
 
143
153
  ### Agents
144
154
  - **oracle** (`openai/gpt-5.1`): The architect. Expert in code reviews and strategy. Uses GPT-5.1 for its unmatched logic and reasoning capabilities. Inspired by AmpCode.
package/dist/index.js CHANGED
@@ -1791,8 +1791,8 @@ function createPulseMonitorHook(ctx) {
1791
1791
  stopMonitoring();
1792
1792
  },
1793
1793
  "tool.execute.after": async (input) => {
1794
- if (input.sessionID) {
1795
- startMonitoring(input.sessionID);
1794
+ if (input.sessionID && currentSessionID === input.sessionID) {
1795
+ lastHeartbeat = Date.now();
1796
1796
  }
1797
1797
  }
1798
1798
  };
@@ -5,8 +5,3 @@ export declare function createBuiltinMcps(disabledMcps?: McpName[]): Record<stri
5
5
  url: string;
6
6
  enabled: boolean;
7
7
  }>;
8
- export declare const builtinMcps: Record<"websearch_exa" | "context7", {
9
- type: "remote";
10
- url: string;
11
- enabled: boolean;
12
- }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-opencode",
3
- "version": "0.1.27",
3
+ "version": "0.1.29",
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",