diff --git a/AGENTS.md b/AGENTS.md index 4c118c7bb..73359b2c9 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -4,7 +4,7 @@ ## OVERVIEW -OpenCode plugin (npm: `oh-my-opencode`) that extends Claude Code (OpenCode fork) with multi-agent orchestration, 44 lifecycle hooks, 26 tools, skill/command/MCP systems, and Claude Code compatibility. 1158 TypeScript files, 133k LOC. +OpenCode plugin (npm: `oh-my-opencode`) that extends Claude Code (OpenCode fork) with multi-agent orchestration, 44 lifecycle hooks, 26 tools, skill/command/MCP systems, and Claude Code compatibility. 1161 TypeScript files, 133k LOC. ## STRUCTURE @@ -84,7 +84,7 @@ Fields: agents (14 overridable), categories (8 built-in + custom), disabled_* ar ## CONVENTIONS -- **Test pattern**: Vitest, co-located `*.test.ts`, given/when/then style +- **Test pattern**: Bun test (`bun:test`), co-located `*.test.ts`, given/when/then style - **Factory pattern**: `createXXX()` for all tools, hooks, agents - **Hook tiers**: Session (22) → Tool-Guard (9) → Transform (4) → Continuation (7) → Skill (2) - **Agent modes**: `primary` (respects UI model) vs `subagent` (own fallback chain) vs `all` @@ -103,7 +103,7 @@ Fields: agents (14 overridable), categories (8 built-in + custom), disabled_* ar ## COMMANDS ```bash -bun test # Vitest test suite +bun test # Bun test suite bun run build # Build plugin bunx oh-my-opencode install # Interactive setup bunx oh-my-opencode doctor # Health diagnostics diff --git a/src/AGENTS.md b/src/AGENTS.md index 5686e362e..65ddb9eb6 100644 --- a/src/AGENTS.md +++ b/src/AGENTS.md @@ -1,6 +1,6 @@ # src/ — Plugin Source -**Generated:** 2026-02-18 +**Generated:** 2026-02-19 ## OVERVIEW diff --git a/src/agents/AGENTS.md b/src/agents/AGENTS.md index 3d3659a24..b3294236d 100644 --- a/src/agents/AGENTS.md +++ b/src/agents/AGENTS.md @@ -1,6 +1,6 @@ # src/agents/ — 11 Agent Definitions -**Generated:** 2026-02-17 +**Generated:** 2026-02-19 ## OVERVIEW diff --git a/src/cli/AGENTS.md b/src/cli/AGENTS.md index 2796491cc..e52e2d42c 100644 --- a/src/cli/AGENTS.md +++ b/src/cli/AGENTS.md @@ -1,6 +1,6 @@ # src/cli/ — CLI: install, run, doctor, mcp-oauth -**Generated:** 2026-02-17 +**Generated:** 2026-02-19 ## OVERVIEW diff --git a/src/cli/run/AGENTS.md b/src/cli/run/AGENTS.md index f33f3ea36..e83db2124 100644 --- a/src/cli/run/AGENTS.md +++ b/src/cli/run/AGENTS.md @@ -1,6 +1,6 @@ # src/cli/run/ — Non-Interactive Session Launcher -**Generated:** 2026-02-18 +**Generated:** 2026-02-19 ## OVERVIEW diff --git a/src/config/AGENTS.md b/src/config/AGENTS.md index 426b1d62e..48ce3301c 100644 --- a/src/config/AGENTS.md +++ b/src/config/AGENTS.md @@ -1,6 +1,6 @@ # src/config/ — Zod v4 Schema System -**Generated:** 2026-02-17 +**Generated:** 2026-02-19 ## OVERVIEW diff --git a/src/features/AGENTS.md b/src/features/AGENTS.md index 9c1b596b4..d38c7b000 100644 --- a/src/features/AGENTS.md +++ b/src/features/AGENTS.md @@ -1,6 +1,6 @@ # src/features/ — 19 Feature Modules -**Generated:** 2026-02-18 +**Generated:** 2026-02-19 ## OVERVIEW diff --git a/src/features/background-agent/AGENTS.md b/src/features/background-agent/AGENTS.md index 90f29c74d..2891de7f2 100644 --- a/src/features/background-agent/AGENTS.md +++ b/src/features/background-agent/AGENTS.md @@ -1,6 +1,6 @@ # src/features/background-agent/ — Core Orchestration Engine -**Generated:** 2026-02-18 +**Generated:** 2026-02-19 ## OVERVIEW diff --git a/src/features/opencode-skill-loader/AGENTS.md b/src/features/opencode-skill-loader/AGENTS.md index 26291f421..cbcaa0ffc 100644 --- a/src/features/opencode-skill-loader/AGENTS.md +++ b/src/features/opencode-skill-loader/AGENTS.md @@ -1,6 +1,6 @@ # src/features/opencode-skill-loader/ — 4-Scope Skill Discovery -**Generated:** 2026-02-18 +**Generated:** 2026-02-19 ## OVERVIEW diff --git a/src/features/tmux-subagent/AGENTS.md b/src/features/tmux-subagent/AGENTS.md index 0f2a44953..541a3ad58 100644 --- a/src/features/tmux-subagent/AGENTS.md +++ b/src/features/tmux-subagent/AGENTS.md @@ -1,6 +1,6 @@ # src/features/tmux-subagent/ — Tmux Pane Management -**Generated:** 2026-02-18 +**Generated:** 2026-02-19 ## OVERVIEW diff --git a/src/hooks/AGENTS.md b/src/hooks/AGENTS.md index cdbfc11ab..defe5890c 100644 --- a/src/hooks/AGENTS.md +++ b/src/hooks/AGENTS.md @@ -1,6 +1,6 @@ # src/hooks/ — 44 Lifecycle Hooks -**Generated:** 2026-02-18 +**Generated:** 2026-02-19 ## OVERVIEW diff --git a/src/hooks/anthropic-context-window-limit-recovery/AGENTS.md b/src/hooks/anthropic-context-window-limit-recovery/AGENTS.md index f76e0eb88..5f386e089 100644 --- a/src/hooks/anthropic-context-window-limit-recovery/AGENTS.md +++ b/src/hooks/anthropic-context-window-limit-recovery/AGENTS.md @@ -1,6 +1,6 @@ # src/hooks/anthropic-context-window-limit-recovery/ — Multi-Strategy Context Recovery -**Generated:** 2026-02-18 +**Generated:** 2026-02-19 ## OVERVIEW diff --git a/src/hooks/claude-code-hooks/AGENTS.md b/src/hooks/claude-code-hooks/AGENTS.md index 905cc7b1a..310d18ae9 100644 --- a/src/hooks/claude-code-hooks/AGENTS.md +++ b/src/hooks/claude-code-hooks/AGENTS.md @@ -1,6 +1,6 @@ # src/hooks/claude-code-hooks/ — Claude Code Compatibility -**Generated:** 2026-02-17 +**Generated:** 2026-02-19 ## OVERVIEW diff --git a/src/mcp/AGENTS.md b/src/mcp/AGENTS.md index 2b06b05b8..2ddd322cd 100644 --- a/src/mcp/AGENTS.md +++ b/src/mcp/AGENTS.md @@ -1,6 +1,6 @@ # src/mcp/ — 3 Built-in Remote MCPs -**Generated:** 2026-02-17 +**Generated:** 2026-02-19 ## OVERVIEW diff --git a/src/plugin-handlers/AGENTS.md b/src/plugin-handlers/AGENTS.md index cd7786a9a..f6e503223 100644 --- a/src/plugin-handlers/AGENTS.md +++ b/src/plugin-handlers/AGENTS.md @@ -1,6 +1,6 @@ # src/plugin-handlers/ — 6-Phase Config Loading Pipeline -**Generated:** 2026-02-17 +**Generated:** 2026-02-19 ## OVERVIEW diff --git a/src/plugin/AGENTS.md b/src/plugin/AGENTS.md index a0ab7c5d6..6bacbea24 100644 --- a/src/plugin/AGENTS.md +++ b/src/plugin/AGENTS.md @@ -1,6 +1,6 @@ # src/plugin/ — 8 OpenCode Hook Handlers + Hook Composition -**Generated:** 2026-02-18 +**Generated:** 2026-02-19 ## OVERVIEW diff --git a/src/shared/AGENTS.md b/src/shared/AGENTS.md index de4e29be9..c2fac6e52 100644 --- a/src/shared/AGENTS.md +++ b/src/shared/AGENTS.md @@ -1,6 +1,6 @@ # src/shared/ — 101 Utility Files in 13 Categories -**Generated:** 2026-02-17 +**Generated:** 2026-02-19 ## OVERVIEW diff --git a/src/tools/AGENTS.md b/src/tools/AGENTS.md index ec9b1cc02..c7ceff2f5 100644 --- a/src/tools/AGENTS.md +++ b/src/tools/AGENTS.md @@ -1,6 +1,6 @@ # src/tools/ — 26 Tools Across 14 Directories -**Generated:** 2026-02-17 +**Generated:** 2026-02-19 ## OVERVIEW diff --git a/src/tools/delegate-task/AGENTS.md b/src/tools/delegate-task/AGENTS.md index 3ac1db790..c2de4dc4a 100644 --- a/src/tools/delegate-task/AGENTS.md +++ b/src/tools/delegate-task/AGENTS.md @@ -1,6 +1,6 @@ # src/tools/delegate-task/ — Task Delegation Engine -**Generated:** 2026-02-18 +**Generated:** 2026-02-19 ## OVERVIEW