docs(agents): update AGENTS.md with current commit hash and line counts
This commit is contained in:
16
AGENTS.md
16
AGENTS.md
@@ -1,12 +1,12 @@
|
|||||||
# PROJECT KNOWLEDGE BASE
|
# PROJECT KNOWLEDGE BASE
|
||||||
|
|
||||||
**Generated:** 2026-01-23T02:09:00+09:00
|
**Generated:** 2026-01-23T15:59:00+09:00
|
||||||
**Commit:** 0e18efc7
|
**Commit:** 599fad0e
|
||||||
**Branch:** dev
|
**Branch:** dev
|
||||||
|
|
||||||
## OVERVIEW
|
## OVERVIEW
|
||||||
|
|
||||||
OpenCode plugin: multi-model agent orchestration (Claude Opus 4.5, GPT-5.2, Gemini 3, Grok, GLM-4.7). 31 lifecycle hooks, 20+ tools (LSP, AST-Grep, delegation), 10 specialized agents, full Claude Code compatibility. "oh-my-zsh" for OpenCode.
|
OpenCode plugin: multi-model agent orchestration (Claude Opus 4.5, GPT-5.2, Gemini 3 Flash, Grok Code, GLM-4.7). 31 lifecycle hooks, 20+ tools (LSP, AST-Grep, delegation), 10 specialized agents, full Claude Code compatibility. "oh-my-zsh" for OpenCode.
|
||||||
|
|
||||||
## STRUCTURE
|
## STRUCTURE
|
||||||
|
|
||||||
@@ -21,7 +21,7 @@ oh-my-opencode/
|
|||||||
│ ├── cli/ # CLI installer, doctor - see src/cli/AGENTS.md
|
│ ├── cli/ # CLI installer, doctor - see src/cli/AGENTS.md
|
||||||
│ ├── mcp/ # Built-in MCPs - see src/mcp/AGENTS.md
|
│ ├── mcp/ # Built-in MCPs - see src/mcp/AGENTS.md
|
||||||
│ ├── config/ # Zod schema, TypeScript types
|
│ ├── config/ # Zod schema, TypeScript types
|
||||||
│ └── index.ts # Main plugin entry (590 lines)
|
│ └── index.ts # Main plugin entry (593 lines)
|
||||||
├── script/ # build-schema.ts, build-binaries.ts
|
├── script/ # build-schema.ts, build-binaries.ts
|
||||||
├── packages/ # 7 platform-specific binaries
|
├── packages/ # 7 platform-specific binaries
|
||||||
└── dist/ # Build output (ESM + .d.ts)
|
└── dist/ # Build output (ESM + .d.ts)
|
||||||
@@ -38,7 +38,7 @@ oh-my-opencode/
|
|||||||
| Add skill | `src/features/builtin-skills/` | Create dir with SKILL.md |
|
| Add skill | `src/features/builtin-skills/` | Create dir with SKILL.md |
|
||||||
| Config schema | `src/config/schema.ts` | Zod schema, run `bun run build:schema` |
|
| Config schema | `src/config/schema.ts` | Zod schema, run `bun run build:schema` |
|
||||||
| Background agents | `src/features/background-agent/` | manager.ts (1335 lines) |
|
| Background agents | `src/features/background-agent/` | manager.ts (1335 lines) |
|
||||||
| Orchestrator | `src/hooks/atlas/` | Main orchestration hook (771 lines) |
|
| Orchestrator | `src/hooks/atlas/` | Main orchestration hook (773 lines) |
|
||||||
|
|
||||||
## TDD (Test-Driven Development)
|
## TDD (Test-Driven Development)
|
||||||
|
|
||||||
@@ -113,12 +113,12 @@ bun test # 90 test files
|
|||||||
|
|
||||||
| File | Lines | Description |
|
| File | Lines | Description |
|
||||||
|------|-------|-------------|
|
|------|-------|-------------|
|
||||||
| `src/agents/atlas.ts` | 1383 | Orchestrator, 7-section delegation |
|
|
||||||
| `src/features/background-agent/manager.ts` | 1335 | Task lifecycle, concurrency |
|
| `src/features/background-agent/manager.ts` | 1335 | Task lifecycle, concurrency |
|
||||||
| `src/features/builtin-skills/skills.ts` | 1203 | Skill definitions |
|
| `src/features/builtin-skills/skills.ts` | 1203 | Skill definitions |
|
||||||
| `src/agents/prometheus-prompt.ts` | 1196 | Planning agent |
|
| `src/agents/prometheus-prompt.ts` | 1196 | Planning agent |
|
||||||
| `src/tools/delegate-task/tools.ts` | 1038 | Category-based delegation |
|
| `src/tools/delegate-task/tools.ts` | 1039 | Category-based delegation |
|
||||||
| `src/hooks/atlas/index.ts` | 771 | Orchestrator hook |
|
| `src/hooks/atlas/index.ts` | 773 | Orchestrator hook |
|
||||||
|
| `src/cli/config-manager.ts` | 641 | JSONC config parsing |
|
||||||
|
|
||||||
## MCP ARCHITECTURE
|
## MCP ARCHITECTURE
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
```
|
```
|
||||||
agents/
|
agents/
|
||||||
├── atlas.ts # Master Orchestrator (1383 lines)
|
├── atlas.ts # Master Orchestrator (543 lines)
|
||||||
├── sisyphus.ts # Main prompt (615 lines)
|
├── sisyphus.ts # Main prompt (615 lines)
|
||||||
├── sisyphus-junior.ts # Delegated task executor
|
├── sisyphus-junior.ts # Delegated task executor
|
||||||
├── dynamic-agent-prompt-builder.ts # Dynamic prompt generation
|
├── dynamic-agent-prompt-builder.ts # Dynamic prompt generation
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
```
|
```
|
||||||
hooks/
|
hooks/
|
||||||
├── atlas/ # Main orchestration (771 lines)
|
├── atlas/ # Main orchestration (773 lines)
|
||||||
├── anthropic-context-window-limit-recovery/ # Auto-summarize
|
├── anthropic-context-window-limit-recovery/ # Auto-summarize
|
||||||
├── todo-continuation-enforcer.ts # Force TODO completion
|
├── todo-continuation-enforcer.ts # Force TODO completion
|
||||||
├── ralph-loop/ # Self-referential dev loop
|
├── ralph-loop/ # Self-referential dev loop
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ tools/
|
|||||||
│ └── constants.ts # Fixed values
|
│ └── constants.ts # Fixed values
|
||||||
├── lsp/ # 6 tools: definition, references, symbols, diagnostics, rename
|
├── lsp/ # 6 tools: definition, references, symbols, diagnostics, rename
|
||||||
├── ast-grep/ # 2 tools: search, replace (25 languages)
|
├── ast-grep/ # 2 tools: search, replace (25 languages)
|
||||||
├── delegate-task/ # Category-based routing (1038 lines)
|
├── delegate-task/ # Category-based routing (1039 lines)
|
||||||
├── session-manager/ # 4 tools: list, read, search, info
|
├── session-manager/ # 4 tools: list, read, search, info
|
||||||
├── grep/ # Custom grep with timeout
|
├── grep/ # Custom grep with timeout
|
||||||
├── glob/ # 60s timeout, 100 file limit
|
├── glob/ # 60s timeout, 100 file limit
|
||||||
|
|||||||
Reference in New Issue
Block a user