11# PROJECT KNOWLEDGE BASE
22
3- ** Generated:** 2026-01-23T15:59 :00+09:00
4- ** Commit:** 599fad0e
3+ ** Generated:** 2026-01-25T13:10 :00+09:00
4+ ** Commit:** 043b1a33
55** Branch:** dev
66
77## OVERVIEW
@@ -21,7 +21,7 @@ oh-my-opencode/
2121│ ├── cli/ # CLI installer, doctor - see src/cli/AGENTS.md
2222│ ├── mcp/ # Built-in MCPs - see src/mcp/AGENTS.md
2323│ ├── config/ # Zod schema, TypeScript types
24- │ └── index.ts # Main plugin entry (593 lines)
24+ │ └── index.ts # Main plugin entry (601 lines)
2525├── script/ # build-schema.ts, build-binaries.ts
2626├── packages/ # 7 platform-specific binaries
2727└── dist/ # Build output (ESM + .d.ts)
@@ -36,6 +36,7 @@ oh-my-opencode/
3636| Add tool | ` src/tools/ ` | Dir with index/types/constants/tools.ts |
3737| Add MCP | ` src/mcp/ ` | Create config, add to index.ts |
3838| Add skill | ` src/features/builtin-skills/ ` | Create dir with SKILL.md |
39+ | Add command | ` src/features/builtin-commands/ ` | Add template + register in commands.ts |
3940| Config schema | ` src/config/schema.ts ` | Zod schema, run ` bun run build:schema ` |
4041| Background agents | ` src/features/background-agent/ ` | manager.ts (1335 lines) |
4142| Orchestrator | ` src/hooks/atlas/ ` | Main orchestration hook (773 lines) |
@@ -60,7 +61,7 @@ oh-my-opencode/
6061- ** Build** : ` bun build ` (ESM) + ` tsc --emitDeclarationOnly `
6162- ** Exports** : Barrel pattern via index.ts
6263- ** Naming** : kebab-case dirs, ` createXXXHook ` /` createXXXTool ` factories
63- - ** Testing** : BDD comments, 90 test files
64+ - ** Testing** : BDD comments, 95 test files
6465- ** Temperature** : 0.1 for code agents, max 0.3
6566
6667## ANTI-PATTERNS
@@ -99,7 +100,7 @@ oh-my-opencode/
99100bun run typecheck # Type check
100101bun run build # ESM + declarations + schema
101102bun run rebuild # Clean + Build
102- bun test # 90 test files
103+ bun test # 95 test files
103104```
104105
105106## DEPLOYMENT
@@ -118,7 +119,11 @@ bun test # 90 test files
118119| ` src/agents/prometheus-prompt.ts ` | 1196 | Planning agent |
119120| ` src/tools/delegate-task/tools.ts ` | 1039 | Category-based delegation |
120121| ` src/hooks/atlas/index.ts ` | 773 | Orchestrator hook |
121- | ` src/cli/config-manager.ts ` | 641 | JSONC config parsing |
122+ | ` src/cli/config-manager.ts ` | 664 | JSONC config parsing |
123+ | ` src/features/builtin-commands/templates/refactor.ts ` | 619 | Refactor command template |
124+ | ` src/index.ts ` | 601 | Main plugin entry |
125+ | ` src/tools/lsp/client.ts ` | 596 | LSP JSON-RPC client |
126+ | ` src/agents/atlas.ts ` | 572 | Atlas orchestrator agent |
122127
123128## MCP ARCHITECTURE
124129
0 commit comments