mirror of
https://fastgit.cc/github.com/Yeachan-Heo/oh-my-claudecode
synced 2026-04-20 12:51:30 +08:00
cleanup: normalize legacy OmO agent aliases to canonical names
This commit is contained in:
4
.github/workflows/auto-label.yml
vendored
4
.github/workflows/auto-label.yml
vendored
@@ -49,8 +49,8 @@ jobs:
|
||||
}
|
||||
|
||||
// Agent-related
|
||||
if (body.includes('agent') || body.includes('oracle') || body.includes('sisyphus') ||
|
||||
body.includes('prometheus') || body.includes('ultrawork') || body.includes('chillwork')) {
|
||||
if (body.includes('agent') || body.includes('architect') || body.includes('sisyphus') ||
|
||||
body.includes('planner') || body.includes('ultrawork') || body.includes('chillwork')) {
|
||||
labels.push('agents');
|
||||
}
|
||||
|
||||
|
||||
54
ANALYSIS.md
54
ANALYSIS.md
@@ -36,7 +36,7 @@
|
||||
## 2. Delegation & Agent Orchestration
|
||||
|
||||
### Hephaestus (OMO)
|
||||
- **CAN delegate** to specialized agents (explore, librarian)
|
||||
- **CAN delegate** to specialized agents (explore, document-specialist)
|
||||
- **Delegation template**: 6-section mandatory structure (TASK, EXPECTED OUTCOME, REQUIRED TOOLS, MUST DO, MUST NOT DO, CONTEXT)
|
||||
- **Parallel exploration**: Fires 2-5 background exploration agents before executing
|
||||
- **Session continuity**: Reuses session IDs across multi-turn delegations
|
||||
@@ -66,7 +66,7 @@
|
||||
| Capability | Hephaestus | Deep-Executor |
|
||||
|------------|------------|---------------|
|
||||
| **Delegation** | Yes (via 6-section template) | No (hard blocked) |
|
||||
| **Parallel agents** | 2-5 background explore/librarian | None |
|
||||
| **Parallel agents** | 2-5 background explore/document-specialist | None |
|
||||
| **Session continuity** | Yes (session ID reuse) | N/A (no delegation) |
|
||||
| **Tool ecosystem** | Can invoke specialized agents | Uses only own tools |
|
||||
|
||||
@@ -120,7 +120,7 @@
|
||||
### Hephaestus (OMO)
|
||||
**EXPLORE → PLAN → DECIDE → EXECUTE**
|
||||
|
||||
1. **EXPLORE**: Fire 2-5 parallel background agents (explore/librarian)
|
||||
1. **EXPLORE**: Fire 2-5 parallel background agents (explore/document-specialist)
|
||||
2. **PLAN**: Create explicit work plan identifying all files/dependencies
|
||||
3. **DECIDE**: Determine direct execution vs delegation
|
||||
4. **EXECUTE**: Implement or delegate with verification
|
||||
@@ -163,7 +163,7 @@
|
||||
### Hephaestus (OMO)
|
||||
**Exploration Agents:**
|
||||
- **Explore agent** (gpt-5-nano): Fast grep for internal codebase
|
||||
- **Librarian agent** (big-pickle): External docs, GitHub, OSS research
|
||||
- **Document-Specialist agent** (big-pickle): External docs, GitHub, OSS research
|
||||
- **Execution**: Background parallel (2-5 agents)
|
||||
- **Framing**: "Grep, not consultants"
|
||||
|
||||
@@ -203,7 +203,7 @@
|
||||
| **Exploration method** | Delegate to specialized agents | Use own tools directly |
|
||||
| **Parallelism** | 2-5 background agents | Sequential tool calls |
|
||||
| **Model efficiency** | Cheaper models for exploration | Same expensive model |
|
||||
| **External research** | Librarian for docs/OSS | No external research capability |
|
||||
| **External research** | Document-Specialist for docs/OSS | No external research capability |
|
||||
| **Tool framing** | "Grep not consultants" | Structured exploration questions |
|
||||
|
||||
**Cost Implications:**
|
||||
@@ -373,12 +373,12 @@ The focus is on verification and completion, but no specific guidance on TODO ma
|
||||
|
||||
### Hephaestus (OMO)
|
||||
**Failure Recovery Protocol:**
|
||||
- Max 3 iterations before consulting Oracle
|
||||
- Max 3 iterations before consulting Architect
|
||||
- After 3 consecutive failures:
|
||||
1. STOP all edits immediately
|
||||
2. REVERT to last known working state
|
||||
3. DOCUMENT attempts and failures
|
||||
4. CONSULT Oracle with full context
|
||||
4. CONSULT Architect with full context
|
||||
5. Ask user before proceeding further
|
||||
|
||||
**Philosophy:**
|
||||
@@ -402,15 +402,15 @@ When blocked:
|
||||
| Aspect | Hephaestus | Deep-Executor |
|
||||
|--------|------------|---------------|
|
||||
| **Max attempts** | 3 iterations before escalation | No explicit limit |
|
||||
| **Escalation** | Consult Oracle (delegation) | Report to user |
|
||||
| **Escalation** | Consult Architect (delegation) | Report to user |
|
||||
| **Revert policy** | Explicit REVERT to last working state | Not mentioned |
|
||||
| **Documentation** | DOCUMENT all attempts | Explain what was tried |
|
||||
|
||||
**Key Difference:** Hephaestus has a **structured escalation path** (Oracle consultation) while Deep-Executor can only report to the user.
|
||||
**Key Difference:** Hephaestus has a **structured escalation path** (Architect consultation) while Deep-Executor can only report to the user.
|
||||
|
||||
**Advantage Hephaestus:**
|
||||
- Automatic escalation prevents infinite loops
|
||||
- Oracle consultation can unblock without user intervention
|
||||
- Architect consultation can unblock without user intervention
|
||||
- Explicit revert policy prevents broken code states
|
||||
|
||||
**Advantage Deep-Executor:**
|
||||
@@ -483,7 +483,7 @@ When blocked:
|
||||
```
|
||||
"Judicious Initiative: Makes implementation decisions independently"
|
||||
"May only ask questions after exhausting: direct tools, exploration agents,
|
||||
librarian agents, context inference, technical problem-solving"
|
||||
document-specialist agents, context inference, technical problem-solving"
|
||||
```
|
||||
|
||||
**Role:**
|
||||
@@ -592,12 +592,12 @@ stopping after partial implementation"
|
||||
**Framework:** OpenCode plugin
|
||||
**Ecosystem:**
|
||||
- Part of multi-agent orchestration system
|
||||
- Sisyphus/Atlas as primary orchestrators
|
||||
- Specialized agents: Oracle, Librarian, Explore, Prometheus, Metis, Momus
|
||||
- Sisyphus/Coordinator as primary orchestrators
|
||||
- Specialized agents: Architect, Document-Specialist, Explore, Planner, Analyst, Critic
|
||||
- Can be invoked by orchestrators for deep work
|
||||
|
||||
**Integration:**
|
||||
- Receives delegated tasks from Sisyphus/Atlas
|
||||
- Receives delegated tasks from Sisyphus/Coordinator
|
||||
- Works alongside other specialized agents
|
||||
- Part of larger workflow orchestration
|
||||
|
||||
@@ -617,8 +617,8 @@ stopping after partial implementation"
|
||||
| Aspect | Hephaestus (OMO) | Deep-Executor (OMC) |
|
||||
|--------|------------------|---------------------|
|
||||
| **Primary usage** | Delegated deep work | Direct OR delegated |
|
||||
| **Orchestration** | Sisyphus/Atlas invoke | Multiple modes can invoke |
|
||||
| **Agent collaboration** | Can delegate to explore/librarian | Fully isolated |
|
||||
| **Orchestration** | Sisyphus/Coordinator invoke | Multiple modes can invoke |
|
||||
| **Agent collaboration** | Can delegate to explore/document-specialist | Fully isolated |
|
||||
| **Framework scope** | Part of OpenCode ecosystem | Part of Claude Code ecosystem |
|
||||
|
||||
**Key Insight:** Hephaestus is designed as a **delegated specialist** in a multi-agent system, while Deep-Executor can function as both a **standalone agent** and a **delegated specialist**.
|
||||
@@ -633,11 +633,11 @@ stopping after partial implementation"
|
||||
- **Impact:** High token cost, slower exploration
|
||||
- **Recommendation:** Add explore/researcher delegation capability
|
||||
|
||||
2. **External Research (Librarian)**
|
||||
2. **External Research (Document-Specialist)**
|
||||
- **Impact:** Cannot fetch official docs, GitHub examples, Stack Overflow
|
||||
- **Recommendation:** Add researcher agent delegation for external context
|
||||
|
||||
3. **Structured Escalation (Oracle Consultation)**
|
||||
3. **Structured Escalation (Architect Consultation)**
|
||||
- **Impact:** Can get stuck with no automatic unblocking
|
||||
- **Recommendation:** Add architect consultation after 3 failures
|
||||
|
||||
@@ -929,7 +929,7 @@ Standardize Hephaestus completion output with markdown templates:
|
||||
|
||||
### Hephaestus (OMO)
|
||||
**Exploration Phase:**
|
||||
- Fires 2-5 parallel agents (gpt-5-nano for explore, big-pickle for librarian)
|
||||
- Fires 2-5 parallel agents (gpt-5-nano for explore, big-pickle for document-specialist)
|
||||
- Main agent (GPT 5.2 Codex Medium) waits or continues planning
|
||||
- **Cost**: Low (cheap models for exploration)
|
||||
|
||||
@@ -959,7 +959,7 @@ Standardize Hephaestus completion output with markdown templates:
|
||||
| Phase | Hephaestus | Deep-Executor |
|
||||
|-------|------------|---------------|
|
||||
| **Explore files** | 2 explore agents (nano) | Opus Glob + Grep + Read |
|
||||
| **Research patterns** | 1 librarian (big-pickle) | N/A (no external research) |
|
||||
| **Research patterns** | 1 document-specialist (big-pickle) | N/A (no external research) |
|
||||
| **Plan** | Codex Medium | Opus |
|
||||
| **Implement** | Codex Medium | Opus |
|
||||
| **Verify** | Codex Medium | Opus |
|
||||
@@ -984,10 +984,10 @@ Standardize Hephaestus completion output with markdown templates:
|
||||
|
||||
**Ideal Scenarios:**
|
||||
1. **Complex multi-file refactoring** - Benefits from parallel exploration
|
||||
2. **Unfamiliar codebase** - Librarian can fetch external context
|
||||
3. **Architecture-heavy tasks** - Oracle consultation available for unblocking
|
||||
2. **Unfamiliar codebase** - Document-Specialist can fetch external context
|
||||
3. **Architecture-heavy tasks** - Architect consultation available for unblocking
|
||||
4. **Token budget constrained** - Efficient model routing
|
||||
5. **Tasks requiring external research** - Librarian agent capability
|
||||
5. **Tasks requiring external research** - Document-Specialist agent capability
|
||||
|
||||
**Example Tasks:**
|
||||
- "Implement OAuth2 authentication following best practices"
|
||||
@@ -1041,8 +1041,8 @@ Standardize Hephaestus completion output with markdown templates:
|
||||
### What Hephaestus Does Better (vs Deep-Executor)
|
||||
|
||||
1. ✅ **Parallel exploration** - Token-efficient, faster
|
||||
2. ✅ **External research** - Librarian for docs/examples
|
||||
3. ✅ **Structured escalation** - Oracle consultation for unblocking
|
||||
2. ✅ **External research** - Document-Specialist for docs/examples
|
||||
3. ✅ **Structured escalation** - Architect consultation for unblocking
|
||||
4. ✅ **Adaptive reasoning** - Cost optimization
|
||||
5. ✅ **Explicit code style guidance** - Better quality
|
||||
6. ✅ **Communication efficiency rules** - Less token waste
|
||||
@@ -1132,7 +1132,7 @@ BEST OF BOTH WORLDS:
|
||||
| **Verification** | 7-criteria checklist | 4-criteria + per-change |
|
||||
| **Completion** | Evidence described | Markdown template |
|
||||
| **TODO** | Not mentioned | NON-NEGOTIABLE discipline |
|
||||
| **Failure** | 3 max → Oracle | Diagnose → Pivot → Report |
|
||||
| **Failure** | 3 max → Architect | Diagnose → Pivot → Report |
|
||||
| **Code Quality** | Pattern search, minimal, style matching | Anti-patterns list |
|
||||
| **Communication** | 4 hard rules (concise, no flattery) | Not defined |
|
||||
| **Memory** | Session IDs for delegation | `<remember>` tags |
|
||||
@@ -1159,7 +1159,7 @@ BEST OF BOTH WORLDS:
|
||||
| **Execution** | Bash | - |
|
||||
| **LSP** | lsp_diagnostics, lsp_diagnostics_directory | - |
|
||||
| **AST** | ast_grep_search, ast_grep_replace | - |
|
||||
| **Delegation** | (Can delegate to explore/librarian) | task, delegate_task |
|
||||
| **Delegation** | (Can delegate to explore/document-specialist) | task, delegate_task |
|
||||
| **TODO** | - | TodoWrite (not mentioned) |
|
||||
| **Questions** | Allowed (last resort) | - |
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ disallowedTools: apply_patch
|
||||
---
|
||||
|
||||
**Role**
|
||||
You are Analyst (Metis) -- a read-only requirements consultant. You convert decided product scope into implementable acceptance criteria, catching gaps before planning begins. You identify missing questions, undefined guardrails, scope risks, unvalidated assumptions, missing acceptance criteria, and edge cases. You do not handle market/user-value prioritization, code analysis (architect), plan creation (planner), or plan review (critic).
|
||||
You are Analyst -- a read-only requirements consultant. You convert decided product scope into implementable acceptance criteria, catching gaps before planning begins. You identify missing questions, undefined guardrails, scope risks, unvalidated assumptions, missing acceptance criteria, and edge cases. You do not handle market/user-value prioritization, code analysis (architect), plan creation (planner), or plan review (critic).
|
||||
|
||||
**Success Criteria**
|
||||
- All unasked questions identified with explanation of why they matter
|
||||
|
||||
@@ -6,7 +6,7 @@ disallowedTools: apply_patch
|
||||
---
|
||||
|
||||
**Role**
|
||||
You are Architect (Oracle) -- a read-only architecture and debugging advisor. You analyze code, diagnose bugs, and provide actionable architectural guidance with file:line evidence. You do not gather requirements (analyst), create plans (planner), review plans (critic), or implement changes (executor).
|
||||
You are Architect -- a read-only architecture and debugging advisor. You analyze code, diagnose bugs, and provide actionable architectural guidance with file:line evidence. You do not gather requirements (analyst), create plans (planner), review plans (critic), or implement changes (executor).
|
||||
|
||||
**Success Criteria**
|
||||
- Every finding cites a specific file:line reference
|
||||
|
||||
@@ -5,7 +5,7 @@ model: opus
|
||||
---
|
||||
|
||||
**Role**
|
||||
You are Planner (Prometheus) -- a strategic planning consultant. You create clear, actionable work plans through structured consultation: interviewing users, gathering requirements, researching the codebase via agents, and producing plans saved to `.omc/plans/*.md`. When a user says "do X" or "build X", interpret it as "create a work plan for X." You never implement -- you plan.
|
||||
You are Planner -- a strategic planning consultant. You create clear, actionable work plans through structured consultation: interviewing users, gathering requirements, researching the codebase via agents, and producing plans saved to `.omc/plans/*.md`. When a user says "do X" or "build X", interpret it as "create a work plan for X." You never implement -- you plan.
|
||||
|
||||
**Success Criteria**
|
||||
- Plan has 3-6 actionable steps (not too granular, not too vague)
|
||||
@@ -21,13 +21,13 @@ You are Planner (Prometheus) -- a strategic planning consultant. You create clea
|
||||
- Ask one question at a time; never batch multiple questions
|
||||
- Never ask the user about codebase facts (use explore agent to look them up)
|
||||
- Default to 3-6 step plans; avoid architecture redesign unless required
|
||||
- Consult analyst (Metis) before generating the final plan to catch missing requirements
|
||||
- Consult analyst before generating the final plan to catch missing requirements
|
||||
|
||||
**Workflow**
|
||||
1. Classify intent: Trivial/Simple (quick fix) | Refactoring (safety focus) | Build from Scratch (discovery focus) | Mid-sized (boundary focus)
|
||||
2. Spawn explore agent for codebase facts -- never burden the user with questions the codebase can answer
|
||||
3. Ask user only about priorities, timelines, scope decisions, risk tolerance, personal preferences
|
||||
4. When user triggers plan generation, consult analyst (Metis) first for gap analysis
|
||||
4. When user triggers plan generation, consult analyst first for gap analysis
|
||||
5. Generate plan: Context, Work Objectives, Guardrails (Must/Must NOT), Task Flow, Detailed TODOs with acceptance criteria, Success Criteria
|
||||
6. Display confirmation summary and wait for explicit approval
|
||||
7. On approval, hand off to executor
|
||||
|
||||
@@ -8,7 +8,7 @@ disallowedTools: apply_patch
|
||||
> **Deprecated**: `researcher` is an alias for `document-specialist`. This file is kept for reference only.
|
||||
|
||||
**Role**
|
||||
You are Researcher (Librarian). You find and synthesize information from external sources: official docs, GitHub repos, package registries, and technical references. You produce documented answers with source URLs, version compatibility notes, and code examples. You never search internal codebases (use explore agent), implement code, review code, or make architecture decisions.
|
||||
You are Researcher (document-specialist alias). You find and synthesize information from external sources: official docs, GitHub repos, package registries, and technical references. You produce documented answers with source URLs, version compatibility notes, and code examples. You never search internal codebases (use explore agent), implement code, review code, or make architecture decisions.
|
||||
|
||||
**Success Criteria**
|
||||
- Every answer includes source URLs
|
||||
|
||||
@@ -7,7 +7,7 @@ disallowedTools: Write, Edit
|
||||
|
||||
<Agent_Prompt>
|
||||
<Role>
|
||||
You are Analyst (Metis). Your mission is to convert decided product scope into implementable acceptance criteria, catching gaps before planning begins.
|
||||
You are Analyst. Your mission is to convert decided product scope into implementable acceptance criteria, catching gaps before planning begins.
|
||||
You are responsible for identifying missing questions, undefined guardrails, scope risks, unvalidated assumptions, missing acceptance criteria, and edge cases.
|
||||
You are not responsible for market/user-value prioritization, code analysis (architect), plan creation (planner), or plan review (critic).
|
||||
</Role>
|
||||
@@ -52,7 +52,7 @@ disallowedTools: Write, Edit
|
||||
</Execution_Policy>
|
||||
|
||||
<Output_Format>
|
||||
## Metis Analysis: [Topic]
|
||||
## Analyst Review: [Topic]
|
||||
|
||||
### Missing Questions
|
||||
1. [Question not asked] - [Why it matters]
|
||||
|
||||
@@ -7,7 +7,7 @@ disallowedTools: Write, Edit
|
||||
|
||||
<Agent_Prompt>
|
||||
<Role>
|
||||
You are Architect (Oracle). Your mission is to analyze code, diagnose bugs, and provide actionable architectural guidance.
|
||||
You are Architect. Your mission is to analyze code, diagnose bugs, and provide actionable architectural guidance.
|
||||
You are responsible for code analysis, implementation verification, debugging root causes, and architectural recommendations.
|
||||
You are not responsible for gathering requirements (analyst), creating plans (planner), reviewing plans (critic), or implementing changes (executor).
|
||||
</Role>
|
||||
|
||||
@@ -6,7 +6,7 @@ model: opus
|
||||
|
||||
<Agent_Prompt>
|
||||
<Role>
|
||||
You are Planner (Prometheus). Your mission is to create clear, actionable work plans through structured consultation.
|
||||
You are Planner. Your mission is to create clear, actionable work plans through structured consultation.
|
||||
You are responsible for interviewing users, gathering requirements, researching the codebase via agents, and producing work plans saved to `.omc/plans/*.md`.
|
||||
You are not responsible for implementing code (executor), analyzing requirements gaps (analyst), reviewing plans (critic), or analyzing code (architect).
|
||||
|
||||
@@ -33,14 +33,14 @@ model: opus
|
||||
- Never ask the user about codebase facts (use explore agent to look them up).
|
||||
- Default to 3-6 step plans. Avoid architecture redesign unless the task requires it.
|
||||
- Stop planning when the plan is actionable. Do not over-specify.
|
||||
- Consult analyst (Metis) before generating the final plan to catch missing requirements.
|
||||
- Consult analyst before generating the final plan to catch missing requirements.
|
||||
</Constraints>
|
||||
|
||||
<Investigation_Protocol>
|
||||
1) Classify intent: Trivial/Simple (quick fix) | Refactoring (safety focus) | Build from Scratch (discovery focus) | Mid-sized (boundary focus).
|
||||
2) For codebase facts, spawn explore agent. Never burden the user with questions the codebase can answer.
|
||||
3) Ask user ONLY about: priorities, timelines, scope decisions, risk tolerance, personal preferences. Use AskUserQuestion tool with 2-4 options.
|
||||
4) When user triggers plan generation ("make it into a work plan"), consult analyst (Metis) first for gap analysis.
|
||||
4) When user triggers plan generation ("make it into a work plan"), consult analyst first for gap analysis.
|
||||
5) Generate plan with: Context, Work Objectives, Guardrails (Must Have / Must NOT Have), Task Flow, Detailed TODOs with acceptance criteria, Success Criteria.
|
||||
6) Display confirmation summary and wait for explicit user approval.
|
||||
7) On approval, hand off to `/oh-my-claudecode:start-work {plan-name}`.
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
dist/__tests__/load-agent-prompt.test.js
generated
vendored
2
dist/__tests__/load-agent-prompt.test.js
generated
vendored
@@ -9,7 +9,7 @@ describe('loadAgentPrompt', () => {
|
||||
// Should NOT contain frontmatter
|
||||
expect(prompt).not.toMatch(/^---/);
|
||||
// Should contain actual prompt content
|
||||
expect(prompt).toMatch(/architect|Oracle|debugging/i);
|
||||
expect(prompt).toMatch(/architect|debugging/i);
|
||||
});
|
||||
test('loads different agents correctly', () => {
|
||||
const executor = loadAgentPrompt('executor');
|
||||
|
||||
2
dist/__tests__/load-agent-prompt.test.js.map
generated
vendored
2
dist/__tests__/load-agent-prompt.test.js.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"load-agent-prompt.test.js","sourceRoot":"","sources":["../../src/__tests__/load-agent-prompt.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,QAAQ,CAAC,iBAAiB,EAAE,GAAG,EAAE;IAC/B,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;QACjC,IAAI,CAAC,iDAAiD,EAAE,GAAG,EAAE;YAC3D,MAAM,MAAM,GAAG,eAAe,CAAC,WAAW,CAAC,CAAC;YAC5C,MAAM,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,CAAC;YAC5B,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC;YAC3C,iCAAiC;YACjC,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;YACnC,uCAAuC;YACvC,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,6BAA6B,CAAC,CAAC;QACxD,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,kCAAkC,EAAE,GAAG,EAAE;YAC5C,MAAM,QAAQ,GAAG,eAAe,CAAC,UAAU,CAAC,CAAC;YAC7C,MAAM,OAAO,GAAG,eAAe,CAAC,SAAS,CAAC,CAAC;YAE3C,MAAM,CAAC,QAAQ,CAAC,CAAC,UAAU,EAAE,CAAC;YAC9B,MAAM,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,CAAC;YAC7B,MAAM,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACrC,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,kCAAk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B,CAAC,CAAC;YACxD,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,8BAA8B,CAAC,CAAC;YACzD,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,oBAAoB,CAAC,CAAC;QACjD,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,uCAAuC,EAAE,GAAG,EAAE;YACjD,MAAM,MAAM,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;YACxD,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;YACtC,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;YACxC,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QACtC,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
||||
2
dist/agents/index.d.ts
generated
vendored
2
dist/agents/index.d.ts
generated
vendored
@@ -16,7 +16,7 @@ export { analystAgent, ANALYST_PROMPT_METADATA } from './analyst.js';
|
||||
export { plannerAgent, PLANNER_PROMPT_METADATA } from './planner.js';
|
||||
export { qaTesterAgent, QA_TESTER_PROMPT_METADATA } from './qa-tester.js';
|
||||
export { scientistAgent, SCIENTIST_PROMPT_METADATA } from './scientist.js';
|
||||
/** @deprecated Use dependency-expert agent instead */
|
||||
/** @deprecated Use document-specialist agent instead */
|
||||
export { documentSpecialistAgent, DOCUMENT_SPECIALIST_PROMPT_METADATA } from './document-specialist.js';
|
||||
/** @deprecated Use document-specialist agent instead */
|
||||
export { documentSpecialistAgent as researcherAgent } from './document-specialist.js';
|
||||
|
||||
2
dist/agents/index.d.ts.map
generated
vendored
2
dist/agents/index.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/agents/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AA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AM,0BAA0B,CAAC;AACxG,wDAAwD;AACxD,OAAO,EAAE,uBAAuB,IAAI,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAGtF,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,aAAa,EACd,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,oBAAoB,EACrB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,iBAAiB,EAClB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,mBAAmB,EACnB,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,gBAAgB,EAChB,qCAAqC,EACtC,MAAM,6BAA6B,CAAC"}
|
||||
2
dist/agents/index.js
generated
vendored
2
dist/agents/index.js
generated
vendored
@@ -20,7 +20,7 @@ export { plannerAgent, PLANNER_PROMPT_METADATA } from './planner.js';
|
||||
export { qaTesterAgent, QA_TESTER_PROMPT_METADATA } from './qa-tester.js';
|
||||
export { scientistAgent, SCIENTIST_PROMPT_METADATA } from './scientist.js';
|
||||
// Backward compatibility: Deprecated researcher export
|
||||
/** @deprecated Use dependency-expert agent instead */
|
||||
/** @deprecated Use document-specialist agent instead */
|
||||
export { documentSpecialistAgent, DOCUMENT_SPECIALIST_PROMPT_METADATA } from './document-specialist.js';
|
||||
/** @deprecated Use document-specialist agent instead */
|
||||
export { documentSpecialistAgent as researcherAgent } from './document-specialist.js';
|
||||
|
||||
2
dist/agents/index.js.map
generated
vendored
2
dist/agents/index.js.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/agents/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,QAAQ;AACR,cAAc,YAAY,CAAC;AAE3B,YAAY;AACZ,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,oBAAoB,E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gB,CAAC;AAC3E,uDAAuD;AACvD,wDAAwD;AACxD,OAAO,EAAE,uBAAuB,EAAE,mCAAmC,EAAE,MAAM,0BAA0B,CAAC;AACxG,wDAAwD;AACxD,OAAO,EAAE,uBAAuB,IAAI,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEtF,wCAAwC;AACxC,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,aAAa,EACd,MAAM,kBAAkB,CAAC;AAE1B,gCAAgC;AAChC,OAAO,EACL,oBAAoB,EACrB,MAAM,kBAAkB,CAAC;AAE1B,uCAAuC;AACvC,OAAO,EACL,iBAAiB,EAClB,MAAM,kBAAkB,CAAC;AAE1B,0EAA0E;AAC1E,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AAE1B,yDAAyD;AACzD,OAAO,EACL,mBAAmB,EACnB,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAE1B,kDAAkD;AAClD,OAAO,EACL,gBAAgB,EAChB,qCAAqC,EACtC,MAAM,6BAA6B,CAAC"}
|
||||
2
dist/cli/index.js
generated
vendored
2
dist/cli/index.js
generated
vendored
@@ -1211,7 +1211,7 @@ Examples:
|
||||
console.log(' vision - Visual analysis (Sonnet)');
|
||||
console.log(' critic - Plan review (Opus)');
|
||||
console.log(' analyst - Pre-planning analysis (Opus)');
|
||||
console.log(' orchestrator-sisyphus - Todo coordination (Opus)');
|
||||
console.log(' debugger - Root-cause diagnosis (Sonnet)');
|
||||
console.log(' executor - Focused execution (Sonnet)');
|
||||
console.log(' planner - Strategic planning (Opus)');
|
||||
console.log(' qa-tester - Interactive CLI testing (Sonnet)');
|
||||
|
||||
2
dist/cli/index.js.map
generated
vendored
2
dist/cli/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
111
dist/hooks/bridge-normalize.d.ts
generated
vendored
111
dist/hooks/bridge-normalize.d.ts
generated
vendored
@@ -9,118 +9,9 @@
|
||||
* Uses Zod for structural validation to catch malformed inputs early.
|
||||
* Sensitive hooks use strict allowlists; others pass through unknown fields.
|
||||
*/
|
||||
import { z } from 'zod';
|
||||
import type { HookInput } from './bridge.js';
|
||||
/** Schema for the common hook input structure (supports both snake_case and camelCase) */
|
||||
declare const HookInputSchema: z.ZodObject<{
|
||||
tool_name: z.ZodOptional<z.ZodString>;
|
||||
tool_input: z.ZodOptional<z.ZodUnknown>;
|
||||
tool_response: z.ZodOptional<z.ZodUnknown>;
|
||||
session_id: z.ZodOptional<z.ZodString>;
|
||||
cwd: z.ZodOptional<z.ZodString>;
|
||||
hook_event_name: z.ZodOptional<z.ZodString>;
|
||||
toolName: z.ZodOptional<z.ZodString>;
|
||||
toolInput: z.ZodOptional<z.ZodUnknown>;
|
||||
toolOutput: z.ZodOptional<z.ZodUnknown>;
|
||||
toolResponse: z.ZodOptional<z.ZodUnknown>;
|
||||
sessionId: z.ZodOptional<z.ZodString>;
|
||||
directory: z.ZodOptional<z.ZodString>;
|
||||
hookEventName: z.ZodOptional<z.ZodString>;
|
||||
prompt: z.ZodOptional<z.ZodString>;
|
||||
message: z.ZodOptional<z.ZodObject<{
|
||||
content: z.ZodOptional<z.ZodString>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
content?: string | undefined;
|
||||
}, {
|
||||
content?: string | undefined;
|
||||
}>>;
|
||||
parts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
||||
type: z.ZodString;
|
||||
text: z.ZodOptional<z.ZodString>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: string;
|
||||
text?: string | undefined;
|
||||
}, {
|
||||
type: string;
|
||||
text?: string | undefined;
|
||||
}>, "many">>;
|
||||
stop_reason: z.ZodOptional<z.ZodString>;
|
||||
stopReason: z.ZodOptional<z.ZodString>;
|
||||
user_requested: z.ZodOptional<z.ZodBoolean>;
|
||||
userRequested: z.ZodOptional<z.ZodBoolean>;
|
||||
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
||||
tool_name: z.ZodOptional<z.ZodString>;
|
||||
tool_input: z.ZodOptional<z.ZodUnknown>;
|
||||
tool_response: z.ZodOptional<z.ZodUnknown>;
|
||||
session_id: z.ZodOptional<z.ZodString>;
|
||||
cwd: z.ZodOptional<z.ZodString>;
|
||||
hook_event_name: z.ZodOptional<z.ZodString>;
|
||||
toolName: z.ZodOptional<z.ZodString>;
|
||||
toolInput: z.ZodOptional<z.ZodUnknown>;
|
||||
toolOutput: z.ZodOptional<z.ZodUnknown>;
|
||||
toolResponse: z.ZodOptional<z.ZodUnknown>;
|
||||
sessionId: z.ZodOptional<z.ZodString>;
|
||||
directory: z.ZodOptional<z.ZodString>;
|
||||
hookEventName: z.ZodOptional<z.ZodString>;
|
||||
prompt: z.ZodOptional<z.ZodString>;
|
||||
message: z.ZodOptional<z.ZodObject<{
|
||||
content: z.ZodOptional<z.ZodString>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
content?: string | undefined;
|
||||
}, {
|
||||
content?: string | undefined;
|
||||
}>>;
|
||||
parts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
||||
type: z.ZodString;
|
||||
text: z.ZodOptional<z.ZodString>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: string;
|
||||
text?: string | undefined;
|
||||
}, {
|
||||
type: string;
|
||||
text?: string | undefined;
|
||||
}>, "many">>;
|
||||
stop_reason: z.ZodOptional<z.ZodString>;
|
||||
stopReason: z.ZodOptional<z.ZodString>;
|
||||
user_requested: z.ZodOptional<z.ZodBoolean>;
|
||||
userRequested: z.ZodOptional<z.ZodBoolean>;
|
||||
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
||||
tool_name: z.ZodOptional<z.ZodString>;
|
||||
tool_input: z.ZodOptional<z.ZodUnknown>;
|
||||
tool_response: z.ZodOptional<z.ZodUnknown>;
|
||||
session_id: z.ZodOptional<z.ZodString>;
|
||||
cwd: z.ZodOptional<z.ZodString>;
|
||||
hook_event_name: z.ZodOptional<z.ZodString>;
|
||||
toolName: z.ZodOptional<z.ZodString>;
|
||||
toolInput: z.ZodOptional<z.ZodUnknown>;
|
||||
toolOutput: z.ZodOptional<z.ZodUnknown>;
|
||||
toolResponse: z.ZodOptional<z.ZodUnknown>;
|
||||
sessionId: z.ZodOptional<z.ZodString>;
|
||||
directory: z.ZodOptional<z.ZodString>;
|
||||
hookEventName: z.ZodOptional<z.ZodString>;
|
||||
prompt: z.ZodOptional<z.ZodString>;
|
||||
message: z.ZodOptional<z.ZodObject<{
|
||||
content: z.ZodOptional<z.ZodString>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
content?: string | undefined;
|
||||
}, {
|
||||
content?: string | undefined;
|
||||
}>>;
|
||||
parts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
||||
type: z.ZodString;
|
||||
text: z.ZodOptional<z.ZodString>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: string;
|
||||
text?: string | undefined;
|
||||
}, {
|
||||
type: string;
|
||||
text?: string | undefined;
|
||||
}>, "many">>;
|
||||
stop_reason: z.ZodOptional<z.ZodString>;
|
||||
stopReason: z.ZodOptional<z.ZodString>;
|
||||
user_requested: z.ZodOptional<z.ZodBoolean>;
|
||||
userRequested: z.ZodOptional<z.ZodBoolean>;
|
||||
}, z.ZodTypeAny, "passthrough">>;
|
||||
declare const HookInputSchema: any;
|
||||
/** Hooks where unknown fields are dropped (strict allowlist only) */
|
||||
declare const SENSITIVE_HOOKS: Set<string>;
|
||||
/** All known camelCase field names the system uses (post-normalization) */
|
||||
|
||||
2
dist/hooks/bridge-normalize.d.ts.map
generated
vendored
2
dist/hooks/bridge-normalize.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"bridge-normalize.d.ts","sourceRoot":"","sources":["../../src/hooks/bridge-normalize.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,SAA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EAAE,eAAe,EAAE,CAAC"}
|
||||
2
dist/hud/elements/agents.js
generated
vendored
2
dist/hud/elements/agents.js
generated
vendored
@@ -95,7 +95,7 @@ const AGENT_TYPE_CODES = {
|
||||
// ============================================================
|
||||
// BACKWARD COMPATIBILITY (Deprecated)
|
||||
// ============================================================
|
||||
// Researcher - 'R' for Researcher (deprecated, points to dependency-expert)
|
||||
// Researcher - 'r' for Researcher (deprecated, points to document-specialist)
|
||||
researcher: 'r', // sonnet
|
||||
};
|
||||
/**
|
||||
|
||||
2
dist/hud/elements/agents.js.map
generated
vendored
2
dist/hud/elements/agents.js.map
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/mcp/codex-server.d.ts
generated
vendored
2
dist/mcp/codex-server.d.ts
generated
vendored
@@ -12,7 +12,7 @@
|
||||
*
|
||||
* Tools will be available as mcp__x__ask_codex
|
||||
*/
|
||||
export declare const codexMcpServer: import("@anthropic-ai/claude-agent-sdk").McpSdkServerConfigWithInstance;
|
||||
export declare const codexMcpServer: any;
|
||||
/**
|
||||
* Tool names for allowedTools configuration
|
||||
*/
|
||||
|
||||
2
dist/mcp/codex-server.d.ts.map
generated
vendored
2
dist/mcp/codex-server.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"codex-server.d.ts","sourceRoot":"","sources":["../../src/mcp/codex-server.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAwFH;;;;GAIG;AACH,eAAO,MAAM,cAAc,yEAIzB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,cAAc,UAA6E,CAAC"}
|
||||
{"version":3,"file":"codex-server.d.ts","sourceRoot":"","sources":["../../src/mcp/codex-server.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAwFH;;;;GAIG;AACH,eAAO,MAAM,cAAc,KAIzB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,cAAc,UAA6E,CAAC"}
|
||||
2
dist/mcp/gemini-server.d.ts
generated
vendored
2
dist/mcp/gemini-server.d.ts
generated
vendored
@@ -12,7 +12,7 @@
|
||||
*
|
||||
* Tools will be available as mcp__g__ask_gemini
|
||||
*/
|
||||
export declare const geminiMcpServer: import("@anthropic-ai/claude-agent-sdk").McpSdkServerConfigWithInstance;
|
||||
export declare const geminiMcpServer: any;
|
||||
/**
|
||||
* Tool names for allowedTools configuration
|
||||
*/
|
||||
|
||||
2
dist/mcp/gemini-server.d.ts.map
generated
vendored
2
dist/mcp/gemini-server.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"gemini-server.d.ts","sourceRoot":"","sources":["../../src/mcp/gemini-server.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA2FH;;;;GAIG;AACH,eAAO,MAAM,eAAe,yEAI1B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,eAAe,UAA8E,CAAC"}
|
||||
{"version":3,"file":"gemini-server.d.ts","sourceRoot":"","sources":["../../src/mcp/gemini-server.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA2FH;;;;GAIG;AACH,eAAO,MAAM,eAAe,KAI1B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,eAAe,UAA8E,CAAC"}
|
||||
2
dist/mcp/omc-tools-server.d.ts
generated
vendored
2
dist/mcp/omc-tools-server.d.ts
generated
vendored
@@ -30,7 +30,7 @@ export declare function parseDisabledGroups(envValue?: string): Set<ToolCategory
|
||||
* Tools will be available as mcp__t__<tool_name>.
|
||||
* Tools in disabled groups (via OMC_DISABLE_TOOLS) are excluded at startup.
|
||||
*/
|
||||
export declare const omcToolsServer: import("@anthropic-ai/claude-agent-sdk").McpSdkServerConfigWithInstance;
|
||||
export declare const omcToolsServer: any;
|
||||
/**
|
||||
* Tool names in MCP format for allowedTools configuration.
|
||||
* Only includes tools that are enabled (not disabled via OMC_DISABLE_TOOLS).
|
||||
|
||||
2
dist/mcp/omc-tools-server.d.ts.map
generated
vendored
2
dist/mcp/omc-tools-server.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"omc-tools-server.d.ts","sourceRoot":"","sources":["../../src/mcp/omc-tools-server.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAWH,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAgB3E;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAahE,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC,YAAY,CAAC,CAcxE;AA+BD;;;;;GAKG;AACH,eAAO,MAAM,cAAc,yEAIzB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,YAAY,UAA6C,CAAC;AAQvE;;;GAGG;AACH,wBAAgB,eAAe,CAAC,OAAO,CAAC,EAAE;IACxC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,GAAG,MAAM,EAAE,CAmBX"}
|
||||
{"version":3,"file":"omc-tools-server.d.ts","sourceRoot":"","sources":["../../src/mcp/omc-tools-server.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAWH,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAgB3E;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAahE,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC,YAAY,CAAC,CAcxE;AA+BD;;;;;GAKG;AACH,eAAO,MAAM,cAAc,KAIzB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,YAAY,UAA6C,CAAC;AAQvE;;;GAGG;AACH,wBAAgB,eAAe,CAAC,OAAO,CAAC,EAAE;IACxC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,GAAG,MAAM,EAAE,CAmBX"}
|
||||
33
dist/tools/lsp-tools.d.ts
generated
vendored
33
dist/tools/lsp-tools.d.ts
generated
vendored
@@ -111,40 +111,7 @@ export declare const lspDiagnosticsDirectoryTool: ToolDefinition<{
|
||||
*/
|
||||
export declare const lspTools: (ToolDefinition<{
|
||||
file: z.ZodString;
|
||||
line: z.ZodNumber;
|
||||
character: z.ZodNumber;
|
||||
}> | ToolDefinition<{
|
||||
file: z.ZodString;
|
||||
line: z.ZodNumber;
|
||||
character: z.ZodNumber;
|
||||
includeDeclaration: z.ZodOptional<z.ZodBoolean>;
|
||||
}> | ToolDefinition<{
|
||||
file: z.ZodString;
|
||||
}> | ToolDefinition<{
|
||||
query: z.ZodString;
|
||||
file: z.ZodString;
|
||||
}> | ToolDefinition<{
|
||||
file: z.ZodString;
|
||||
severity: z.ZodOptional<z.ZodEnum<["error", "warning", "info", "hint"]>>;
|
||||
}> | ToolDefinition<Record<string, never>> | ToolDefinition<{
|
||||
file: z.ZodString;
|
||||
line: z.ZodNumber;
|
||||
character: z.ZodNumber;
|
||||
newName: z.ZodString;
|
||||
}> | ToolDefinition<{
|
||||
file: z.ZodString;
|
||||
startLine: z.ZodNumber;
|
||||
startCharacter: z.ZodNumber;
|
||||
endLine: z.ZodNumber;
|
||||
endCharacter: z.ZodNumber;
|
||||
}> | ToolDefinition<{
|
||||
file: z.ZodString;
|
||||
startLine: z.ZodNumber;
|
||||
startCharacter: z.ZodNumber;
|
||||
endLine: z.ZodNumber;
|
||||
endCharacter: z.ZodNumber;
|
||||
actionIndex: z.ZodNumber;
|
||||
}> | ToolDefinition<{
|
||||
directory: z.ZodString;
|
||||
strategy: z.ZodOptional<z.ZodEnum<["tsc", "lsp", "auto"]>>;
|
||||
}>)[];
|
||||
|
||||
2
dist/tools/lsp-tools.d.ts.map
generated
vendored
2
dist/tools/lsp-tools.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"lsp-tools.d.ts","sourceRoot":"","sources":["../../src/tools/lsp-tools.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAqD5C;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,cAAc,CAAC;IACxC,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC;IAClB,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC;IAClB,SAAS,EAAE,CAAC,CAAC,SAAS,CAAC;CACxB,CAeA,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,cAAc,CAAC;IACjD,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC;IAClB,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC;IAClB,SAAS,EAAE,CAAC,CAAC,SAAS,CAAC;CACxB,CAeA,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,cAAc,CAAC;IACjD,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC;IAClB,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC;IAClB,SAAS,EAAE,CAAC,CAAC,SAAS,CAAC;IACvB,kBAAkB,EAAE,CAAC,CAAC,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
||||
/**
|
||||
* All notepad tools for registration
|
||||
*/
|
||||
export declare const notepadTools: (ToolDefinition<{
|
||||
section: z.ZodOptional<z.ZodEnum<typeof SECTION_NAMES>>;
|
||||
export declare const notepadTools: ToolDefinition<{
|
||||
workingDirectory: z.ZodOptional<z.ZodString>;
|
||||
}> | ToolDefinition<{
|
||||
content: z.ZodString;
|
||||
workingDirectory: z.ZodOptional<z.ZodString>;
|
||||
}> | ToolDefinition<{
|
||||
daysOld: z.ZodOptional<z.ZodNumber>;
|
||||
workingDirectory: z.ZodOptional<z.ZodString>;
|
||||
}> | ToolDefinition<{
|
||||
workingDirectory: z.ZodOptional<z.ZodString>;
|
||||
}>)[];
|
||||
}>[];
|
||||
export {};
|
||||
//# sourceMappingURL=notepad-tools.d.ts.map
|
||||
2
dist/tools/notepad-tools.d.ts.map
generated
vendored
2
dist/tools/notepad-tools.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"notepad-tools.d.ts","sourceRoot":"","sources":["../../src/tools/notepad-tools.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqBxB,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,QAAA,MAAM,aAAa,EAAE,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAA4C,CAAC;AAOtF,eAAO,MAAM,eAAe,EAAE,cAAc,CAAC;IAC3C,OAAO,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC;IACxD,gBAAgB,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;CAC9C,CAyEA,CAAC;AAMF,eAAO,MAAM,wBAAwB,EAAE,cAAc,CAAC;IACpD,OAAO,EAAE,CAAC,CAAC,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,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,CAAC;AAMF,eAAO,MAAM,gBAAgB,EAAE,cAAc,CAAC;IAC5C,gBAAgB,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;CAC9C,CA8CA,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY;sBApDL,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;IA2D7C,CAAC"}
|
||||
26
dist/tools/python-repl/index.d.ts
generated
vendored
26
dist/tools/python-repl/index.d.ts
generated
vendored
@@ -8,31 +8,7 @@ import { pythonReplHandler } from './tool.js';
|
||||
export declare const pythonReplTool: {
|
||||
name: string;
|
||||
description: string;
|
||||
schema: import("zod").ZodObject<{
|
||||
action: import("zod").ZodEnum<["execute", "interrupt", "reset", "get_state"]>;
|
||||
researchSessionID: import("zod").ZodString;
|
||||
code: import("zod").ZodOptional<import("zod").ZodString>;
|
||||
executionLabel: import("zod").ZodOptional<import("zod").ZodString>;
|
||||
executionTimeout: import("zod").ZodDefault<import("zod").ZodNumber>;
|
||||
queueTimeout: import("zod").ZodDefault<import("zod").ZodNumber>;
|
||||
projectDir: import("zod").ZodOptional<import("zod").ZodString>;
|
||||
}, "strip", import("zod").ZodTypeAny, {
|
||||
action: "execute" | "interrupt" | "reset" | "get_state";
|
||||
researchSessionID: string;
|
||||
executionTimeout: number;
|
||||
queueTimeout: number;
|
||||
code?: string | undefined;
|
||||
executionLabel?: string | undefined;
|
||||
projectDir?: string | undefined;
|
||||
}, {
|
||||
action: "execute" | "interrupt" | "reset" | "get_state";
|
||||
researchSessionID: string;
|
||||
code?: string | undefined;
|
||||
executionLabel?: string | undefined;
|
||||
executionTimeout?: number | undefined;
|
||||
queueTimeout?: number | undefined;
|
||||
projectDir?: string | undefined;
|
||||
}>;
|
||||
schema: any;
|
||||
handler: typeof pythonReplHandler;
|
||||
};
|
||||
export * from './types.js';
|
||||
|
||||
2
dist/tools/python-repl/index.d.ts.map
generated
vendored
2
dist/tools/python-repl/index.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/python-repl/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAoB,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEhE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyB1B,CAAC;AAGF,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC"}
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/python-repl/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAoB,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEhE,eAAO,MAAM,cAAc;;;;;CAyB1B,CAAC;AAGF,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC"}
|
||||
36
dist/tools/python-repl/tool.d.ts
generated
vendored
36
dist/tools/python-repl/tool.d.ts
generated
vendored
@@ -18,31 +18,7 @@ import type { PythonReplInput } from './types.js';
|
||||
* Input schema for the Python REPL tool.
|
||||
* Validates and types all input parameters.
|
||||
*/
|
||||
export declare const pythonReplSchema: z.ZodObject<{
|
||||
action: z.ZodEnum<["execute", "interrupt", "reset", "get_state"]>;
|
||||
researchSessionID: z.ZodString;
|
||||
code: z.ZodOptional<z.ZodString>;
|
||||
executionLabel: z.ZodOptional<z.ZodString>;
|
||||
executionTimeout: z.ZodDefault<z.ZodNumber>;
|
||||
queueTimeout: z.ZodDefault<z.ZodNumber>;
|
||||
projectDir: z.ZodOptional<z.ZodString>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
action: "execute" | "interrupt" | "reset" | "get_state";
|
||||
researchSessionID: string;
|
||||
executionTimeout: number;
|
||||
queueTimeout: number;
|
||||
code?: string | undefined;
|
||||
executionLabel?: string | undefined;
|
||||
projectDir?: string | undefined;
|
||||
}, {
|
||||
action: "execute" | "interrupt" | "reset" | "get_state";
|
||||
researchSessionID: string;
|
||||
code?: string | undefined;
|
||||
executionLabel?: string | undefined;
|
||||
executionTimeout?: number | undefined;
|
||||
queueTimeout?: number | undefined;
|
||||
projectDir?: string | undefined;
|
||||
}>;
|
||||
export declare const pythonReplSchema: any;
|
||||
export type PythonReplSchemaInput = z.infer<typeof pythonReplSchema>;
|
||||
/**
|
||||
* Get and increment the execution counter for a session.
|
||||
@@ -71,15 +47,7 @@ export declare function pythonReplHandler(input: PythonReplInput): Promise<strin
|
||||
export declare const pythonReplTool: {
|
||||
name: string;
|
||||
description: string;
|
||||
schema: {
|
||||
action: z.ZodEnum<["execute", "interrupt", "reset", "get_state"]>;
|
||||
researchSessionID: z.ZodString;
|
||||
code: z.ZodOptional<z.ZodString>;
|
||||
executionLabel: z.ZodOptional<z.ZodString>;
|
||||
executionTimeout: z.ZodDefault<z.ZodNumber>;
|
||||
queueTimeout: z.ZodDefault<z.ZodNumber>;
|
||||
projectDir: z.ZodOptional<z.ZodString>;
|
||||
};
|
||||
schema: any;
|
||||
handler: (args: unknown) => Promise<{
|
||||
content: {
|
||||
type: "text";
|
||||
|
||||
2
dist/tools/python-repl/tool.d.ts.map
generated
vendored
2
dist/tools/python-repl/tool.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../../src/tools/python-repl/tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EACV,eAAe,EAKhB,MAAM,YAAY,CAAC;AAsBpB;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;EA6C3B,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CA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AgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAE3D"}
|
||||
7
dist/tools/skills-tools.d.ts
generated
vendored
7
dist/tools/skills-tools.d.ts
generated
vendored
@@ -4,12 +4,11 @@
|
||||
* MCP tools for loading and listing OMC learned skills
|
||||
* from local (.omc/skills/) and global (~/.omc/skills/) directories.
|
||||
*/
|
||||
import { z } from 'zod';
|
||||
export declare const loadLocalTool: {
|
||||
name: string;
|
||||
description: string;
|
||||
schema: {
|
||||
projectRoot: z.ZodOptional<z.ZodString>;
|
||||
projectRoot: any;
|
||||
};
|
||||
handler: (args: {
|
||||
projectRoot?: string;
|
||||
@@ -35,7 +34,7 @@ export declare const listSkillsTool: {
|
||||
name: string;
|
||||
description: string;
|
||||
schema: {
|
||||
projectRoot: z.ZodOptional<z.ZodString>;
|
||||
projectRoot: any;
|
||||
};
|
||||
handler: (args: {
|
||||
projectRoot?: string;
|
||||
@@ -51,7 +50,7 @@ export declare const skillsTools: ({
|
||||
name: string;
|
||||
description: string;
|
||||
schema: {
|
||||
projectRoot: z.ZodOptional<z.ZodString>;
|
||||
projectRoot: any;
|
||||
};
|
||||
handler: (args: {
|
||||
projectRoot?: string;
|
||||
|
||||
2
dist/tools/skills-tools.d.ts.map
generated
vendored
2
dist/tools/skills-tools.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"skills-tools.d.ts","sourceRoot":"","sources":["../../src/tools/skills-tools.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA+FxB,eAAO,MAAM,aAAa;;;;;;oBAIF;QAAE,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;CAY/C,CAAC;AAGF,eAAO,MAAM,cAAc;;;;qBAIF,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC;;;;;;CAW7C,CAAC;AAGF,eAAO,MAAM,cAAc;;;;;;oBAIH;QAAE,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;CA2B/C,CAAC;AAEF,4DAA4D;AAC5D,eAAO,MAAM,WAAW;;;;;;oBAnEA;QAAE,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;qBAmBvB,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC;;;;;;IAgD4B,CAAC"}
|
||||
{"version":3,"file":"skills-tools.d.ts","sourceRoot":"","sources":["../../src/tools/skills-tools.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAiGH,eAAO,MAAM,aAAa;;;;;;oBAIF;QAAE,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;CAY/C,CAAC;AAGF,eAAO,MAAM,cAAc;;;;qBAIF,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC;;;;;;CAW7C,CAAC;AAGF,eAAO,MAAM,cAAc;;;;;;oBAIH;QAAE,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;CA2B/C,CAAC;AAEF,4DAA4D;AAC5D,eAAO,MAAM,WAAW;;;;;;oBAnEA;QAAE,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;qBAmBvB,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC;;;;;;IAgD4B,CAAC"}
|
||||
26
dist/tools/state-tools.d.ts
generated
vendored
26
dist/tools/state-tools.d.ts
generated
vendored
@@ -44,31 +44,9 @@ export declare const stateGetStatusTool: ToolDefinition<{
|
||||
/**
|
||||
* All state tools for registration
|
||||
*/
|
||||
export declare const stateTools: (ToolDefinition<{
|
||||
mode: z.ZodEnum<typeof STATE_TOOL_MODES>;
|
||||
export declare const stateTools: ToolDefinition<{
|
||||
workingDirectory: z.ZodOptional<z.ZodString>;
|
||||
session_id: z.ZodOptional<z.ZodString>;
|
||||
}> | ToolDefinition<{
|
||||
mode: z.ZodEnum<typeof STATE_TOOL_MODES>;
|
||||
active: z.ZodOptional<z.ZodBoolean>;
|
||||
iteration: z.ZodOptional<z.ZodNumber>;
|
||||
max_iterations: z.ZodOptional<z.ZodNumber>;
|
||||
current_phase: z.ZodOptional<z.ZodString>;
|
||||
task_description: z.ZodOptional<z.ZodString>;
|
||||
plan_path: z.ZodOptional<z.ZodString>;
|
||||
started_at: z.ZodOptional<z.ZodString>;
|
||||
completed_at: z.ZodOptional<z.ZodString>;
|
||||
error: z.ZodOptional<z.ZodString>;
|
||||
state: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
||||
workingDirectory: z.ZodOptional<z.ZodString>;
|
||||
session_id: z.ZodOptional<z.ZodString>;
|
||||
}> | ToolDefinition<{
|
||||
workingDirectory: z.ZodOptional<z.ZodString>;
|
||||
session_id: z.ZodOptional<z.ZodString>;
|
||||
}> | ToolDefinition<{
|
||||
mode: z.ZodOptional<z.ZodEnum<typeof STATE_TOOL_MODES>>;
|
||||
workingDirectory: z.ZodOptional<z.ZodString>;
|
||||
session_id: z.ZodOptional<z.ZodString>;
|
||||
}>)[];
|
||||
}>[];
|
||||
export {};
|
||||
//# sourceMappingURL=state-tools.d.ts.map
|
||||
2
dist/tools/state-tools.d.ts.map
generated
vendored
2
dist/tools/state-tools.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"state-tools.d.ts","sourceRoot":"","sources":["../../src/tools/state-tools.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAyBxB,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAS5C,QAAA,MAAM,gBAAgB,EAAE,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAmC,CAAC;AAuBhF,eAAO,MAAM,aAAa,EAAE,cAAc,CAAC;IACzC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,gBAAgB,CAAC,CAAC;IACzC,gBAAgB,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAC7C,UAAU,EAAE,CA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AO,CAAC,OAAO,gBAAgB,CAAC,CAAC;IACzC,gBAAgB,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAC7C,UAAU,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;CACxC,CA+IA,CAAC;AAMF,eAAO,MAAM,mBAAmB,EAAE,cAAc,CAAC;IAC/C,gBAAgB,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAC7C,UAAU,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;CACxC,CAwIA,CAAC;AAMF,eAAO,MAAM,kBAAkB,EAAE,cAAc,CAAC;IAC9C,IAAI,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC;IACxD,gBAAgB,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAC7C,UAAU,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;CACxC,CAuKA,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU;sBAhUH,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;gBAChC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;IAqUvC,CAAC"}
|
||||
9
dist/tools/trace-tools.d.ts
generated
vendored
9
dist/tools/trace-tools.d.ts
generated
vendored
@@ -19,13 +19,8 @@ export declare const traceSummaryTool: ToolDefinition<{
|
||||
/**
|
||||
* All trace tools for registration
|
||||
*/
|
||||
export declare const traceTools: (ToolDefinition<{
|
||||
sessionId: z.ZodOptional<z.ZodString>;
|
||||
filter: z.ZodOptional<z.ZodEnum<["all", "hooks", "skills", "agents", "keywords", "tools", "modes"]>>;
|
||||
last: z.ZodOptional<z.ZodNumber>;
|
||||
workingDirectory: z.ZodOptional<z.ZodString>;
|
||||
}> | ToolDefinition<{
|
||||
export declare const traceTools: ToolDefinition<{
|
||||
sessionId: z.ZodOptional<z.ZodString>;
|
||||
workingDirectory: z.ZodOptional<z.ZodString>;
|
||||
}>)[];
|
||||
}>[];
|
||||
//# sourceMappingURL=trace-tools.d.ts.map
|
||||
2
dist/tools/trace-tools.d.ts.map
generated
vendored
2
dist/tools/trace-tools.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"trace-tools.d.ts","sourceRoot":"","sources":["../../src/tools/trace-tools.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AA8L5C,eAAO,MAAM,iBAAiB,EAAE,cAAc,CAAC;IAC7C,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IACtC,MAAM,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IACrG,IAAI,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IACjC,gBAAgB,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;CAC9C,CAyEA,CAAC;AAMF,eAAO,MAAM,gBAAgB,EAAE,cAAc,CAAC;IAC5C,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IACtC,gBAAgB,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;CAC9C,CAiKA,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU;eA5PV,CAAC,CAAC,WAAW,CAAC,CAAC,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,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;CAC9C,CAiKA,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU;eAxKV,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;sBACnB,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;IAuKiB,CAAC"}
|
||||
@@ -162,25 +162,11 @@ Work naturally. Claude detects intent and activates behaviors automatically:
|
||||
"commit these changes properly" # Auto-activates git expertise
|
||||
```
|
||||
|
||||
### Agent Name Mapping
|
||||
### Agent Naming Standard
|
||||
|
||||
All agent names have been updated from Greek mythology references to intuitive, descriptive names:
|
||||
Agent naming is now strictly descriptive and role-based (for example: `architect`, `planner`, `analyst`, `critic`, `document-specialist`, `designer`, `writer`, `vision`, `executor`).
|
||||
|
||||
| Old Name (Greek) | New Name (Intuitive) |
|
||||
|------------------|----------------------|
|
||||
| prometheus | planner |
|
||||
| momus | critic |
|
||||
| oracle | architect |
|
||||
| metis | analyst |
|
||||
| mnemosyne | learner |
|
||||
| sisyphus-junior | executor |
|
||||
| orchestrator-sisyphus | coordinator |
|
||||
| librarian | document-specialist |
|
||||
| frontend-engineer | designer |
|
||||
| document-writer | writer |
|
||||
| multimodal-looker | vision |
|
||||
| explore | explore (unchanged) |
|
||||
| qa-tester | qa-tester (unchanged) |
|
||||
Use canonical role names across prompts, commands, docs, and scripts. Avoid introducing alternate myth-style or legacy aliases in new content.
|
||||
|
||||
### Directory Migration
|
||||
|
||||
|
||||
@@ -75,15 +75,15 @@ Output escalation recommendation:
|
||||
|
||||
## Agent Family Templates
|
||||
|
||||
### Oracle Family (Analysis)
|
||||
### Architect Family (Analysis)
|
||||
|
||||
**Base Identity**: Strategic advisor, READ-ONLY consultant, diagnoses not implements
|
||||
|
||||
| Variant | Model | Tools | Focus |
|
||||
|---------|-------|-------|-------|
|
||||
| oracle-low | Haiku | Read, Glob, Grep | Quick lookups, single-file analysis |
|
||||
| oracle-medium | Sonnet | + WebSearch, WebFetch | Standard analysis, dependency tracing |
|
||||
| oracle | Opus | Full read access | Deep architecture analysis, system-wide patterns |
|
||||
| architect-low | Haiku | Read, Glob, Grep | Quick lookups, single-file analysis |
|
||||
| architect-medium | Sonnet | + WebSearch, WebFetch | Standard analysis, dependency tracing |
|
||||
| architect | Opus | Full read access | Deep architecture analysis, system-wide patterns |
|
||||
|
||||
**Shared Constraints**:
|
||||
- NO Write/Edit tools
|
||||
@@ -94,34 +94,34 @@ Output escalation recommendation:
|
||||
**Tier-Specific Behaviors**:
|
||||
|
||||
```markdown
|
||||
## oracle-low
|
||||
## architect-low
|
||||
- Answer direct questions quickly
|
||||
- Single-file focus
|
||||
- Output: Answer + Location + Context (3 lines max)
|
||||
- Escalate if: cross-file dependencies, architecture questions
|
||||
|
||||
## oracle-medium
|
||||
## architect-medium
|
||||
- Standard analysis workflow
|
||||
- Multi-file tracing allowed
|
||||
- Output: Summary + Findings + Diagnosis + Recommendations
|
||||
- Escalate if: system-wide impact, security concerns, irreversible changes
|
||||
|
||||
## oracle (high)
|
||||
## architect (high)
|
||||
- Deep architectural analysis
|
||||
- System-wide pattern recognition
|
||||
- Output: Full structured analysis with trade-offs
|
||||
- No escalation needed (highest tier)
|
||||
```
|
||||
|
||||
### Sisyphus-Junior Family (Execution)
|
||||
### Executor Family (Execution)
|
||||
|
||||
**Base Identity**: Focused executor, works ALONE, no delegation, TODO obsessed
|
||||
|
||||
| Variant | Model | Tools | Focus |
|
||||
|---------|-------|-------|-------|
|
||||
| sisyphus-junior-low | Haiku | Read, Glob, Grep, Edit, Write, Bash, TodoWrite | Single-file, trivial changes |
|
||||
| sisyphus-junior | Sonnet | Same | Multi-step, moderate complexity |
|
||||
| sisyphus-junior-high | Opus | Same | Multi-file, complex refactoring |
|
||||
| executor-low | Haiku | Read, Glob, Grep, Edit, Write, Bash, TodoWrite | Single-file, trivial changes |
|
||||
| executor | Sonnet | Same | Multi-step, moderate complexity |
|
||||
| executor-high | Opus | Same | Multi-file, complex refactoring |
|
||||
|
||||
**Shared Constraints**:
|
||||
- Task tool BLOCKED (no delegation)
|
||||
@@ -132,34 +132,34 @@ Output escalation recommendation:
|
||||
**Tier-Specific Behaviors**:
|
||||
|
||||
```markdown
|
||||
## sisyphus-junior-low
|
||||
## executor-low
|
||||
- Single-file edits only
|
||||
- Trivial changes (typos, simple additions)
|
||||
- Skip TodoWrite for <2 step tasks
|
||||
- Escalate if: multi-file changes, complex logic, architectural decisions
|
||||
|
||||
## sisyphus-junior (medium)
|
||||
## executor (medium)
|
||||
- Multi-step tasks within a module
|
||||
- Standard complexity
|
||||
- Always use TodoWrite
|
||||
- Escalate if: system-wide changes, cross-module dependencies
|
||||
|
||||
## sisyphus-junior-high
|
||||
## executor-high
|
||||
- Multi-file refactoring
|
||||
- Complex architectural changes
|
||||
- Deep analysis before changes
|
||||
- No escalation needed (use oracle for consultation)
|
||||
- No escalation needed (use architect for consultation)
|
||||
```
|
||||
|
||||
### Frontend-Engineer Family (UI/UX)
|
||||
### Designer Family (UI/UX)
|
||||
|
||||
**Base Identity**: Designer-developer hybrid, sees what pure devs miss, creates memorable interfaces
|
||||
|
||||
| Variant | Model | Tools | Focus |
|
||||
|---------|-------|-------|-------|
|
||||
| frontend-engineer-low | Haiku | Read, Glob, Grep, Edit, Write, Bash | Simple styling, minor tweaks |
|
||||
| frontend-engineer | Sonnet | Same | Standard UI work, components |
|
||||
| frontend-engineer-high | Opus | Same | Design systems, complex architecture |
|
||||
| designer-low | Haiku | Read, Glob, Grep, Edit, Write, Bash | Simple styling, minor tweaks |
|
||||
| designer | Sonnet | Same | Standard UI work, components |
|
||||
| designer-high | Opus | Same | Design systems, complex architecture |
|
||||
|
||||
**Shared Constraints**:
|
||||
- NEVER use generic fonts (Inter, Roboto, Arial)
|
||||
@@ -170,33 +170,33 @@ Output escalation recommendation:
|
||||
**Tier-Specific Behaviors**:
|
||||
|
||||
```markdown
|
||||
## frontend-engineer-low
|
||||
## designer-low
|
||||
- Simple CSS changes (colors, spacing, fonts)
|
||||
- Minor component tweaks
|
||||
- Match existing patterns exactly
|
||||
- Escalate if: new component design, design system changes
|
||||
|
||||
## frontend-engineer (medium)
|
||||
## designer (medium)
|
||||
- Standard component work
|
||||
- Apply design philosophy
|
||||
- Make intentional aesthetic choices
|
||||
- Escalate if: design system creation, complex state management
|
||||
|
||||
## frontend-engineer-high
|
||||
## designer-high
|
||||
- Design system architecture
|
||||
- Complex component hierarchies
|
||||
- Deep aesthetic reasoning
|
||||
- Full creative latitude
|
||||
```
|
||||
|
||||
### Librarian Family (Research)
|
||||
### Document-Specialist Family (Research)
|
||||
|
||||
**Base Identity**: External documentation document-specialist, searches EXTERNAL resources
|
||||
|
||||
| Variant | Model | Tools | Focus |
|
||||
|---------|-------|-------|-------|
|
||||
| librarian-low | Haiku | Read, Glob, Grep, WebSearch, WebFetch | Quick lookups |
|
||||
| librarian | Sonnet | Same | Comprehensive research |
|
||||
| document-specialist-low | Haiku | Read, Glob, Grep, WebSearch, WebFetch | Quick lookups |
|
||||
| document-specialist | Sonnet | Same | Comprehensive research |
|
||||
|
||||
**Shared Constraints**:
|
||||
- ALWAYS cite sources with URLs
|
||||
@@ -207,13 +207,13 @@ Output escalation recommendation:
|
||||
**Tier-Specific Behaviors**:
|
||||
|
||||
```markdown
|
||||
## librarian-low
|
||||
## document-specialist-low
|
||||
- Quick API lookups
|
||||
- Find specific references
|
||||
- Output: Answer + Source + Example (if applicable)
|
||||
- Escalate if: comprehensive research needed, multiple sources required
|
||||
|
||||
## librarian (medium)
|
||||
## document-specialist (medium)
|
||||
- Comprehensive research
|
||||
- Multiple source synthesis
|
||||
- Full structured output format
|
||||
|
||||
@@ -46,8 +46,8 @@ async function main() {
|
||||
console.log('Example 2: Agent Definitions');
|
||||
|
||||
const agents = getAgentDefinitions({
|
||||
oracle: {
|
||||
// Override oracle's prompt for a specific use case
|
||||
architect: {
|
||||
// Override architect's prompt for a specific use case
|
||||
prompt: 'You are a security-focused code reviewer...'
|
||||
}
|
||||
});
|
||||
|
||||
@@ -48,7 +48,7 @@ TOTAL 31 23 +8
|
||||
|
||||
### 2.1 Parallel Exploration (Gap: 3/3)
|
||||
|
||||
**Hephaestus**: Fires 2-5 explore/librarian agents simultaneously as background tasks. Continues working while results stream in. Uses `background_output(task_id)` to collect.
|
||||
**Hephaestus**: Fires 2-5 explore/document-specialist agents simultaneously as background tasks. Continues working while results stream in. Uses `background_output(task_id)` to collect.
|
||||
|
||||
**Deep-Executor**: Sequential exploration only. Must complete each Glob/Grep/Read call before starting the next.
|
||||
|
||||
@@ -58,8 +58,8 @@ TOTAL 31 23 +8
|
||||
|
||||
**Hephaestus**: Three specialized agent types:
|
||||
- **Explore agents**: Parallel codebase search
|
||||
- **Librarian**: External docs, GitHub, OSS research
|
||||
- **Oracle**: High-IQ consulting for stuck situations
|
||||
- **Document-Specialist**: External docs, GitHub, OSS research
|
||||
- **Architect**: High-IQ consulting for stuck situations
|
||||
|
||||
**Deep-Executor**: No delegation. All work is self-performed. This is a deliberate design choice ("You are the forge") but means no access to specialist capabilities.
|
||||
|
||||
@@ -67,7 +67,7 @@ TOTAL 31 23 +8
|
||||
|
||||
### 2.3 External Research Capability (Gap: 3/3)
|
||||
|
||||
**Hephaestus**: Librarian agent fetches external documentation, GitHub repos, and OSS references. This provides real-time knowledge augmentation.
|
||||
**Hephaestus**: Document-Specialist agent fetches external documentation, GitHub repos, and OSS references. This provides real-time knowledge augmentation.
|
||||
|
||||
**Deep-Executor**: No external research capability. Relies entirely on pre-loaded context and available tools.
|
||||
|
||||
@@ -75,7 +75,7 @@ TOTAL 31 23 +8
|
||||
|
||||
### 2.4 Failure Recovery / Escalation (Gap: 2/3)
|
||||
|
||||
**Hephaestus**: Structured 3-failure protocol: STOP -> REVERT -> DOCUMENT -> CONSULT Oracle. Clear escalation path prevents infinite retry loops.
|
||||
**Hephaestus**: Structured 3-failure protocol: STOP -> REVERT -> DOCUMENT -> CONSULT Architect. Clear escalation path prevents infinite retry loops.
|
||||
|
||||
**Deep-Executor**: No explicit failure threshold or escalation. Has verification loops but no "give up and escalate" mechanism.
|
||||
|
||||
@@ -147,8 +147,8 @@ TOTAL 31 23 +8
|
||||
|-----------|------------------------:|---------------------------:|------:|
|
||||
| System prompt per agent | ~3,000 | ~3,000 (once) | 1:1 |
|
||||
| 3 parallel explore agents | ~9,000 prompt + ~6,000 output | ~2,000 (sequential Grep/Glob) | 7.5:1 |
|
||||
| Librarian research call | ~4,000 prompt + ~2,000 output | N/A (not available) | - |
|
||||
| Oracle consultation | ~5,000 prompt + ~3,000 output | N/A (not available) | - |
|
||||
| Document-Specialist research call | ~4,000 prompt + ~2,000 output | N/A (not available) | - |
|
||||
| Architect consultation | ~5,000 prompt + ~3,000 output | N/A (not available) | - |
|
||||
| Coordination overhead | ~1,000 per delegation | 0 | - |
|
||||
| **Typical task total** | **~30,000-50,000** | **~10,000-20,000** | **~2.5:1** |
|
||||
|
||||
|
||||
@@ -161,11 +161,11 @@ else
|
||||
log_fail "qa-tester NOT in compiled definitions.js"
|
||||
fi
|
||||
|
||||
# Check Oracle handoff section
|
||||
if grep -q "QA_Tester_Handoff\|QA-Tester" src/agents/oracle.ts; then
|
||||
log_pass "QA-Tester handoff section in oracle.ts"
|
||||
# Check Architect handoff section
|
||||
if grep -q "QA_Tester_Handoff\|QA-Tester" src/agents/architect.ts; then
|
||||
log_pass "QA-Tester handoff section in architect.ts"
|
||||
else
|
||||
log_fail "QA-Tester handoff section missing from oracle.ts"
|
||||
log_fail "QA-Tester handoff section missing from architect.ts"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
@@ -198,10 +198,10 @@ if node dist/cli/index.js postinstall &> /tmp/pr25-postinstall.log; then
|
||||
log_fail "qa-tester.md missing tmux content"
|
||||
fi
|
||||
|
||||
if grep -q "Oracle" "$HOME/.claude/agents/qa-tester.md"; then
|
||||
log_pass "qa-tester.md contains Oracle collaboration section"
|
||||
if grep -q "Architect" "$HOME/.claude/agents/qa-tester.md"; then
|
||||
log_pass "qa-tester.md contains Architect collaboration section"
|
||||
else
|
||||
log_fail "qa-tester.md missing Oracle collaboration section"
|
||||
log_fail "qa-tester.md missing Architect collaboration section"
|
||||
fi
|
||||
else
|
||||
log_fail "qa-tester.md NOT installed to ~/.claude/agents/"
|
||||
|
||||
@@ -20,7 +20,7 @@ echo "This will remove ALL Sisyphus components from:"
|
||||
echo " $CLAUDE_CONFIG_DIR"
|
||||
echo ""
|
||||
echo "Components to be removed:"
|
||||
echo " - Agents (oracle, librarian, explore, etc.)"
|
||||
echo " - Agents (architect, document-specialist, explore, etc. + legacy aliases)"
|
||||
echo " - Commands (sisyphus, ultrawork, plan, etc.)"
|
||||
echo " - Skills (ultrawork, git-master, frontend-ui-ux)"
|
||||
echo " - Hooks (keyword-detector, silent-auto-update, stop-continuation)"
|
||||
@@ -49,26 +49,27 @@ fi
|
||||
|
||||
# Remove agents
|
||||
echo -e "${BLUE}Removing agents...${NC}"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/agents/oracle.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/agents/librarian.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/agents/architect.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/agents/document-specialist.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/agents/explore.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/agents/frontend-engineer.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/agents/document-writer.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/agents/multimodal-looker.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/agents/momus.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/agents/metis.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/agents/sisyphus-junior.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/agents/prometheus.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/agents/designer.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/agents/writer.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/agents/vision.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/agents/critic.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/agents/analyst.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/agents/executor.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/agents/planner.md"
|
||||
|
||||
# Remove commands
|
||||
echo -e "${BLUE}Removing commands...${NC}"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/commands/coordinator.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/commands/sisyphus.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/commands/ultrawork.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/commands/deepsearch.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/commands/analyze.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/commands/plan.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/commands/review.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/commands/prometheus.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/commands/planner.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/commands/orchestrator.md"
|
||||
rm -f "$CLAUDE_CONFIG_DIR/commands/update.md"
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ describe('loadAgentPrompt', () => {
|
||||
// Should NOT contain frontmatter
|
||||
expect(prompt).not.toMatch(/^---/);
|
||||
// Should contain actual prompt content
|
||||
expect(prompt).toMatch(/architect|Oracle|debugging/i);
|
||||
expect(prompt).toMatch(/architect|debugging/i);
|
||||
});
|
||||
|
||||
test('loads different agents correctly', () => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!-- Parent: ../AGENTS.md -->
|
||||
<!-- Generated: 2026-01-28 | Updated: 2026-02-19 -->
|
||||
<!-- Generated: 2026-01-28 | Updated: 2026-02-22 -->
|
||||
|
||||
# agents
|
||||
|
||||
@@ -244,4 +244,4 @@ None - pure TypeScript definitions.
|
||||
| Review | code-reviewer | Code quality |
|
||||
| Data | scientist, scientist-high | Data analysis |
|
||||
|
||||
<!-- MANUAL: -->
|
||||
<!-- MANUAL: Legacy alias wording was removed from active prompts to keep agent naming consistent with current conventions. -->
|
||||
|
||||
@@ -1341,7 +1341,7 @@ Examples:
|
||||
console.log(' vision - Visual analysis (Sonnet)');
|
||||
console.log(' critic - Plan review (Opus)');
|
||||
console.log(' analyst - Pre-planning analysis (Opus)');
|
||||
console.log(' orchestrator-sisyphus - Todo coordination (Opus)');
|
||||
console.log(' debugger - Root-cause diagnosis (Sonnet)');
|
||||
console.log(' executor - Focused execution (Sonnet)');
|
||||
console.log(' planner - Strategic planning (Opus)');
|
||||
console.log(' qa-tester - Interactive CLI testing (Sonnet)');
|
||||
|
||||
@@ -27,21 +27,21 @@ const testCases = [
|
||||
{ prompt: 'List all functions in utils.ts', agent: 'explore', expectedTier: 'LOW' },
|
||||
|
||||
// MEDIUM tier - standard implementation
|
||||
{ prompt: 'Add a new button component with hover state', agent: 'frontend-engineer', expectedTier: 'MEDIUM' },
|
||||
{ prompt: 'Update the user list component to show email addresses', agent: 'sisyphus-junior', expectedTier: 'MEDIUM' },
|
||||
{ prompt: 'Add a new button component with hover state', agent: 'designer', expectedTier: 'MEDIUM' },
|
||||
{ prompt: 'Update the user list component to show email addresses', agent: 'executor', expectedTier: 'MEDIUM' },
|
||||
|
||||
// HIGH tier - risky refactoring (detected via keywords)
|
||||
{ prompt: 'Refactor the user service to use the new database schema and add migrations', agent: 'sisyphus-junior', expectedTier: 'HIGH' },
|
||||
{ prompt: 'Refactor the user service to use the new database schema and add migrations', agent: 'executor', expectedTier: 'HIGH' },
|
||||
|
||||
// LOW tier - short or document-writer tasks
|
||||
{ prompt: 'Write documentation for the API endpoints', agent: 'document-writer', expectedTier: 'LOW' },
|
||||
{ prompt: 'Implement the user profile page', agent: 'sisyphus-junior', expectedTier: 'LOW' },
|
||||
// LOW tier - short or writer tasks
|
||||
{ prompt: 'Write documentation for the API endpoints', agent: 'writer', expectedTier: 'LOW' },
|
||||
{ prompt: 'Implement the user profile page', agent: 'executor', expectedTier: 'LOW' },
|
||||
|
||||
// HIGH tier - complex tasks
|
||||
{ prompt: 'Analyze the root cause of the authentication bug affecting production users', agent: 'oracle', expectedTier: 'HIGH' },
|
||||
{ prompt: 'Design the architecture for a new microservices system with event sourcing', agent: 'oracle', expectedTier: 'HIGH' },
|
||||
{ prompt: 'Refactor the entire API layer to use dependency injection pattern', agent: 'prometheus', expectedTier: 'HIGH' },
|
||||
{ prompt: 'Debug the critical security vulnerability in the payment system', agent: 'oracle', expectedTier: 'HIGH' },
|
||||
{ prompt: 'Analyze the root cause of the authentication bug affecting production users', agent: 'architect', expectedTier: 'HIGH' },
|
||||
{ prompt: 'Design the architecture for a new microservices system with event sourcing', agent: 'architect', expectedTier: 'HIGH' },
|
||||
{ prompt: 'Refactor the entire API layer to use dependency injection pattern', agent: 'planner', expectedTier: 'HIGH' },
|
||||
{ prompt: 'Debug the critical security vulnerability in the payment system', agent: 'architect', expectedTier: 'HIGH' },
|
||||
];
|
||||
|
||||
console.log('--- Test 1: Basic Routing ---\n');
|
||||
@@ -76,7 +76,7 @@ console.log(`\n--- Results: ${passed}/${testCases.length} passed ---\n`);
|
||||
|
||||
console.log('--- Test 2: Agent Quick Tier Lookup ---\n');
|
||||
|
||||
const agents = ['oracle', 'prometheus', 'momus', 'explore', 'document-writer', 'frontend-engineer', 'sisyphus-junior'];
|
||||
const agents = ['architect', 'planner', 'critic', 'explore', 'writer', 'designer', 'executor'];
|
||||
for (const agent of agents) {
|
||||
const tier = quickTierForAgent(agent);
|
||||
console.log(` ${agent}: ${tier} → ${TIER_MODELS[tier]}`);
|
||||
@@ -86,22 +86,22 @@ console.log('\n--- Test 3: Proactive Model Selection (getModelForTask) ---\n');
|
||||
|
||||
const modelTestCases = [
|
||||
// Worker agents - adaptive based on task
|
||||
{ agent: 'sisyphus-junior', prompt: 'Fix this typo in the README', expectedModel: 'haiku' },
|
||||
{ agent: 'sisyphus-junior', prompt: 'Refactor payment system with migration scripts for production data', expectedModel: 'opus' },
|
||||
{ agent: 'executor', prompt: 'Fix this typo in the README', expectedModel: 'haiku' },
|
||||
{ agent: 'executor', prompt: 'Refactor payment system with migration scripts for production data', expectedModel: 'opus' },
|
||||
|
||||
// Oracle - adaptive: lookup → haiku, complex → opus
|
||||
{ agent: 'oracle', prompt: 'Where is the auth middleware configured?', expectedModel: 'haiku' },
|
||||
{ agent: 'oracle', prompt: 'Debug this race condition in the payment system', expectedModel: 'opus' },
|
||||
// Architect - adaptive: lookup → haiku, complex → opus
|
||||
{ agent: 'architect', prompt: 'Where is the auth middleware configured?', expectedModel: 'haiku' },
|
||||
{ agent: 'architect', prompt: 'Debug this race condition in the payment system', expectedModel: 'opus' },
|
||||
|
||||
// Prometheus - adaptive: simple → haiku, strategic → opus
|
||||
{ agent: 'prometheus', prompt: 'List the steps to add a button', expectedModel: 'haiku' },
|
||||
{ agent: 'prometheus', prompt: 'Design the migration strategy for our monolith to microservices with risk analysis', expectedModel: 'opus' },
|
||||
// Planner - adaptive: simple → haiku, strategic → opus
|
||||
{ agent: 'planner', prompt: 'List the steps to add a button', expectedModel: 'haiku' },
|
||||
{ agent: 'planner', prompt: 'Design the migration strategy for our monolith to microservices with risk analysis', expectedModel: 'opus' },
|
||||
|
||||
// Explore - adaptive (not fixed to haiku anymore)
|
||||
{ agent: 'explore', prompt: 'Find all .ts files', expectedModel: 'haiku' },
|
||||
|
||||
// Orchestrator - ONLY fixed tier (always opus)
|
||||
{ agent: 'orchestrator-sisyphus', prompt: 'Simple task', expectedModel: 'opus' },
|
||||
// Reviewer agents can still route down for simple prompts
|
||||
{ agent: 'critic', prompt: 'Simple task', expectedModel: 'haiku' },
|
||||
];
|
||||
|
||||
console.log('Orchestrator proactively selects model based on task complexity:\n');
|
||||
@@ -144,7 +144,7 @@ const complexPrompt = `
|
||||
`;
|
||||
|
||||
console.log('Complex prompt signals:');
|
||||
const signals = extractAllSignals(complexPrompt, 'oracle');
|
||||
const signals = extractAllSignals(complexPrompt, 'architect');
|
||||
console.log(JSON.stringify(signals, null, 2));
|
||||
|
||||
const score = calculateComplexityScore(signals);
|
||||
@@ -154,14 +154,14 @@ console.log('\n--- Test 6: Routing Explanation ---\n');
|
||||
|
||||
const explanation = explainRouting({
|
||||
taskPrompt: complexPrompt,
|
||||
agentType: 'oracle',
|
||||
agentType: 'architect',
|
||||
});
|
||||
console.log(explanation);
|
||||
|
||||
console.log('\n--- Test 7: Complexity Analysis Helper ---\n');
|
||||
|
||||
const analysisPrompt = 'Refactor the payment processing module to support multiple payment providers and add migration scripts for existing transactions';
|
||||
const analysis = analyzeTaskComplexity(analysisPrompt, 'sisyphus-junior');
|
||||
const analysis = analyzeTaskComplexity(analysisPrompt, 'executor');
|
||||
|
||||
console.log('Task:', analysisPrompt.substring(0, 60) + '...');
|
||||
console.log('\nAnalysis Result:');
|
||||
|
||||
Reference in New Issue
Block a user