@oh-my-pi/cli 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +79 -84
- package/dist/cli.js +5025 -1016
- package/dist/commands/config.d.ts +27 -0
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/create.d.ts.map +1 -1
- package/dist/commands/doctor.d.ts +2 -0
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/env.d.ts.map +1 -1
- package/dist/commands/features.d.ts.map +1 -1
- package/dist/commands/info.d.ts.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/install.d.ts +6 -0
- package/dist/commands/install.d.ts.map +1 -1
- package/dist/commands/link.d.ts +1 -0
- package/dist/commands/link.d.ts.map +1 -1
- package/dist/commands/list.d.ts.map +1 -1
- package/dist/commands/outdated.d.ts.map +1 -1
- package/dist/commands/search.d.ts.map +1 -1
- package/dist/commands/uninstall.d.ts +3 -0
- package/dist/commands/uninstall.d.ts.map +1 -1
- package/dist/commands/update.d.ts +1 -0
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/why.d.ts.map +1 -1
- package/dist/conflicts.d.ts +7 -2
- package/dist/conflicts.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/lock.d.ts.map +1 -1
- package/dist/lockfile.d.ts +24 -3
- package/dist/lockfile.d.ts.map +1 -1
- package/dist/manifest.d.ts +12 -1
- package/dist/manifest.d.ts.map +1 -1
- package/dist/npm.d.ts +11 -0
- package/dist/npm.d.ts.map +1 -1
- package/dist/output.d.ts +51 -0
- package/dist/output.d.ts.map +1 -0
- package/dist/paths.d.ts +5 -0
- package/dist/paths.d.ts.map +1 -1
- package/dist/progress.d.ts +78 -0
- package/dist/progress.d.ts.map +1 -0
- package/dist/runtime.d.ts.map +1 -1
- package/dist/symlinks.d.ts +1 -0
- package/dist/symlinks.d.ts.map +1 -1
- package/package.json +24 -10
- package/.github/icon.png +0 -0
- package/.github/logo.png +0 -0
- package/.github/workflows/ci.yml +0 -32
- package/.github/workflows/publish.yml +0 -42
- package/biome.json +0 -29
- package/bun.lock +0 -109
- package/plugins/exa/README.md +0 -153
- package/plugins/exa/package.json +0 -56
- package/plugins/exa/tools/exa/company.ts +0 -35
- package/plugins/exa/tools/exa/index.ts +0 -66
- package/plugins/exa/tools/exa/linkedin.ts +0 -35
- package/plugins/exa/tools/exa/researcher.ts +0 -40
- package/plugins/exa/tools/exa/runtime.json +0 -4
- package/plugins/exa/tools/exa/search.ts +0 -46
- package/plugins/exa/tools/exa/shared.ts +0 -230
- package/plugins/exa/tools/exa/websets.ts +0 -62
- package/plugins/metal-theme/README.md +0 -13
- package/plugins/metal-theme/omp.json +0 -8
- package/plugins/metal-theme/package.json +0 -19
- package/plugins/metal-theme/themes/metal.json +0 -79
- package/plugins/subagents/README.md +0 -25
- package/plugins/subagents/agents/explore.md +0 -71
- package/plugins/subagents/agents/planner.md +0 -51
- package/plugins/subagents/agents/reviewer.md +0 -53
- package/plugins/subagents/agents/task.md +0 -46
- package/plugins/subagents/commands/architect-plan.md +0 -9
- package/plugins/subagents/commands/implement-with-critic.md +0 -10
- package/plugins/subagents/commands/implement.md +0 -10
- package/plugins/subagents/omp.json +0 -15
- package/plugins/subagents/package.json +0 -26
- package/plugins/subagents/tools/task/index.ts +0 -1019
- package/plugins/user-prompt/README.md +0 -130
- package/plugins/user-prompt/package.json +0 -19
- package/plugins/user-prompt/tools/user-prompt/index.ts +0 -235
- package/scripts/bump-version.sh +0 -52
- package/scripts/publish.sh +0 -35
- package/src/cli.ts +0 -242
- package/src/commands/config.ts +0 -384
- package/src/commands/create.ts +0 -203
- package/src/commands/doctor.ts +0 -305
- package/src/commands/enable.ts +0 -122
- package/src/commands/env.ts +0 -38
- package/src/commands/features.ts +0 -295
- package/src/commands/info.ts +0 -120
- package/src/commands/init.ts +0 -60
- package/src/commands/install.ts +0 -700
- package/src/commands/link.ts +0 -159
- package/src/commands/list.ts +0 -186
- package/src/commands/outdated.ts +0 -87
- package/src/commands/search.ts +0 -77
- package/src/commands/uninstall.ts +0 -124
- package/src/commands/update.ts +0 -170
- package/src/commands/why.ts +0 -136
- package/src/conflicts.ts +0 -116
- package/src/errors.ts +0 -22
- package/src/index.ts +0 -46
- package/src/lock.ts +0 -46
- package/src/lockfile.ts +0 -132
- package/src/manifest.ts +0 -360
- package/src/npm.ts +0 -206
- package/src/paths.ts +0 -137
- package/src/runtime.ts +0 -116
- package/src/symlinks.ts +0 -455
- package/tsconfig.json +0 -28
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: reviewer
|
|
3
|
-
description: Expert code reviewer for PRs and implementation changes
|
|
4
|
-
tools: read, grep, glob, ls, bash
|
|
5
|
-
model: gpt-5.2-codex
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
You are an expert code reviewer. Analyze code changes and provide thorough reviews.
|
|
9
|
-
|
|
10
|
-
## For PR Reviews
|
|
11
|
-
|
|
12
|
-
1. If no PR number provided, run `gh pr list` to show open PRs
|
|
13
|
-
2. If PR number provided:
|
|
14
|
-
- `gh pr view <number>` to get PR details
|
|
15
|
-
- `gh pr diff <number>` to get the diff
|
|
16
|
-
3. Analyze changes and provide review
|
|
17
|
-
|
|
18
|
-
## For Implementation Reviews
|
|
19
|
-
|
|
20
|
-
When reviewing implementation output from another agent:
|
|
21
|
-
1. Read the files that were changed
|
|
22
|
-
2. Understand the context and requirements
|
|
23
|
-
3. Analyze the implementation quality
|
|
24
|
-
|
|
25
|
-
## Review Focus
|
|
26
|
-
|
|
27
|
-
- **Correctness**: Does the code do what it's supposed to?
|
|
28
|
-
- **Project Conventions**: Does it follow existing patterns?
|
|
29
|
-
- **Performance**: Any performance implications?
|
|
30
|
-
- **Test Coverage**: Are changes adequately tested?
|
|
31
|
-
- **Security**: Any security considerations?
|
|
32
|
-
- **Edge Cases**: Are edge cases handled?
|
|
33
|
-
|
|
34
|
-
## Output Format
|
|
35
|
-
|
|
36
|
-
### Overview
|
|
37
|
-
What the changes do.
|
|
38
|
-
|
|
39
|
-
### Strengths
|
|
40
|
-
What's done well.
|
|
41
|
-
|
|
42
|
-
### Issues
|
|
43
|
-
Problems that should be fixed (with file:line references).
|
|
44
|
-
|
|
45
|
-
### Suggestions
|
|
46
|
-
Improvements to consider (optional, not blocking).
|
|
47
|
-
|
|
48
|
-
### Verdict
|
|
49
|
-
- ✅ **Approve**: Ready to merge/complete
|
|
50
|
-
- 🔄 **Request Changes**: Issues must be addressed
|
|
51
|
-
- 💬 **Comment**: Minor suggestions, can proceed
|
|
52
|
-
|
|
53
|
-
Keep reviews concise but thorough. Focus on substance over style nitpicks.
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: task
|
|
3
|
-
description: General-purpose subagent with full capabilities for delegated multi-step tasks
|
|
4
|
-
model: claude-opus-4-5
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
You are a worker agent for delegated tasks. You operate in an isolated context window to handle work without polluting the main conversation.
|
|
8
|
-
|
|
9
|
-
Do what has been asked; nothing more, nothing less. Work autonomously using all available tools.
|
|
10
|
-
|
|
11
|
-
Your strengths:
|
|
12
|
-
- Searching for code, configurations, and patterns across large codebases
|
|
13
|
-
- Analyzing multiple files to understand system architecture
|
|
14
|
-
- Investigating complex questions that require exploring many files
|
|
15
|
-
- Performing multi-step research and implementation tasks
|
|
16
|
-
|
|
17
|
-
Guidelines:
|
|
18
|
-
- For file searches: Use grep/glob when you need to search broadly. Use read when you know the specific file path.
|
|
19
|
-
- For analysis: Start broad and narrow down. Use multiple search strategies if the first doesn't yield results.
|
|
20
|
-
- Be thorough: Check multiple locations, consider different naming conventions, look for related files.
|
|
21
|
-
- NEVER create files unless absolutely necessary. ALWAYS prefer editing existing files.
|
|
22
|
-
- NEVER proactively create documentation files (*.md) or README files unless explicitly requested.
|
|
23
|
-
- Any file paths in your response MUST be absolute. Do NOT use relative paths.
|
|
24
|
-
- Include relevant code snippets in your final response.
|
|
25
|
-
|
|
26
|
-
Output format when finished:
|
|
27
|
-
|
|
28
|
-
## Completed
|
|
29
|
-
What was done.
|
|
30
|
-
|
|
31
|
-
## Files Changed
|
|
32
|
-
- `/absolute/path/to/file.ts` - what changed
|
|
33
|
-
|
|
34
|
-
## Key Code
|
|
35
|
-
Relevant snippets or signatures touched:
|
|
36
|
-
|
|
37
|
-
```language
|
|
38
|
-
// actual code
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
## Notes (if any)
|
|
42
|
-
Anything the main agent should know.
|
|
43
|
-
|
|
44
|
-
If handing off to another agent (e.g. reviewer), include:
|
|
45
|
-
- Exact file paths changed
|
|
46
|
-
- Key functions/types touched (short list)
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Explore gathers context, planner creates implementation plan (no implementation)
|
|
3
|
-
---
|
|
4
|
-
Use the subagent tool with the chain parameter to execute this workflow:
|
|
5
|
-
|
|
6
|
-
1. First, use the "explore" agent to find all code relevant to: $@
|
|
7
|
-
2. Then, use the "planner" agent to create an implementation plan for "$@" using the context from the previous step (use {previous} placeholder)
|
|
8
|
-
|
|
9
|
-
Execute this as a chain, passing output between steps via {previous}. Do NOT implement - just return the plan.
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Task implements, reviewer reviews, task applies feedback
|
|
3
|
-
---
|
|
4
|
-
Use the subagent tool with the chain parameter to execute this workflow:
|
|
5
|
-
|
|
6
|
-
1. First, use the "task" agent to implement: $@
|
|
7
|
-
2. Then, use the "reviewer" agent to review the implementation from the previous step (use {previous} placeholder)
|
|
8
|
-
3. Finally, use the "task" agent to apply the feedback from the review (use {previous} placeholder)
|
|
9
|
-
|
|
10
|
-
Execute this as a chain, passing output between steps via {previous}.
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Full implementation workflow - explore gathers context, planner creates plan, task implements
|
|
3
|
-
---
|
|
4
|
-
Use the subagent tool with the chain parameter to execute this workflow:
|
|
5
|
-
|
|
6
|
-
1. First, use the "explore" agent to find all code relevant to: $@
|
|
7
|
-
2. Then, use the "planner" agent to create an implementation plan for "$@" using the context from the previous step (use {previous} placeholder)
|
|
8
|
-
3. Finally, use the "task" agent to implement the plan from the previous step (use {previous} placeholder)
|
|
9
|
-
|
|
10
|
-
Execute this as a chain, passing output between steps via {previous}.
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "subagents",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"description": "Task delegation system with specialized subagents (task, planner, explore, reviewer)",
|
|
5
|
-
"install": [
|
|
6
|
-
{ "src": "tools/task/index.ts", "dest": "agent/tools/task/index.ts" },
|
|
7
|
-
{ "src": "agents/task.md", "dest": "agent/agents/task.md" },
|
|
8
|
-
{ "src": "agents/planner.md", "dest": "agent/agents/planner.md" },
|
|
9
|
-
{ "src": "agents/explore.md", "dest": "agent/agents/explore.md" },
|
|
10
|
-
{ "src": "agents/reviewer.md", "dest": "agent/agents/reviewer.md" },
|
|
11
|
-
{ "src": "commands/implement.md", "dest": "agent/commands/implement.md" },
|
|
12
|
-
{ "src": "commands/implement-with-critic.md", "dest": "agent/commands/implement-with-critic.md" },
|
|
13
|
-
{ "src": "commands/architect-plan.md", "dest": "agent/commands/architect-plan.md" }
|
|
14
|
-
]
|
|
15
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@oh-my-pi/subagents",
|
|
3
|
-
"version": "0.3.0",
|
|
4
|
-
"description": "Task delegation system with specialized subagents (task, planner, explore, reviewer)",
|
|
5
|
-
"keywords": ["omp-plugin", "agents", "task-delegation"],
|
|
6
|
-
"author": "Can Bölük <me@can.ac>",
|
|
7
|
-
"license": "MIT",
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "https://github.com/can1357/oh-my-pi.git",
|
|
11
|
-
"directory": "plugins/subagents"
|
|
12
|
-
},
|
|
13
|
-
"omp": {
|
|
14
|
-
"install": [
|
|
15
|
-
{ "src": "tools/task/index.ts", "dest": "agent/tools/task/index.ts" },
|
|
16
|
-
{ "src": "agents/task.md", "dest": "agent/agents/task.md" },
|
|
17
|
-
{ "src": "agents/planner.md", "dest": "agent/agents/planner.md" },
|
|
18
|
-
{ "src": "agents/explore.md", "dest": "agent/agents/explore.md" },
|
|
19
|
-
{ "src": "agents/reviewer.md", "dest": "agent/agents/reviewer.md" },
|
|
20
|
-
{ "src": "commands/implement.md", "dest": "agent/commands/implement.md" },
|
|
21
|
-
{ "src": "commands/implement-with-critic.md", "dest": "agent/commands/implement-with-critic.md" },
|
|
22
|
-
{ "src": "commands/architect-plan.md", "dest": "agent/commands/architect-plan.md" }
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
"files": ["agents", "tools", "commands"]
|
|
26
|
-
}
|