@oh-my-pi/cli 0.4.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.
Files changed (108) hide show
  1. package/README.md +14 -13
  2. package/dist/cli.js +4787 -858
  3. package/dist/commands/config.d.ts +27 -0
  4. package/dist/commands/config.d.ts.map +1 -1
  5. package/dist/commands/create.d.ts.map +1 -1
  6. package/dist/commands/doctor.d.ts +2 -0
  7. package/dist/commands/doctor.d.ts.map +1 -1
  8. package/dist/commands/env.d.ts.map +1 -1
  9. package/dist/commands/features.d.ts.map +1 -1
  10. package/dist/commands/info.d.ts.map +1 -1
  11. package/dist/commands/init.d.ts.map +1 -1
  12. package/dist/commands/install.d.ts +6 -0
  13. package/dist/commands/install.d.ts.map +1 -1
  14. package/dist/commands/link.d.ts +1 -0
  15. package/dist/commands/link.d.ts.map +1 -1
  16. package/dist/commands/list.d.ts.map +1 -1
  17. package/dist/commands/outdated.d.ts.map +1 -1
  18. package/dist/commands/search.d.ts.map +1 -1
  19. package/dist/commands/uninstall.d.ts +3 -0
  20. package/dist/commands/uninstall.d.ts.map +1 -1
  21. package/dist/commands/update.d.ts +1 -0
  22. package/dist/commands/update.d.ts.map +1 -1
  23. package/dist/commands/why.d.ts.map +1 -1
  24. package/dist/conflicts.d.ts +7 -2
  25. package/dist/conflicts.d.ts.map +1 -1
  26. package/dist/index.d.ts +1 -0
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/lock.d.ts.map +1 -1
  29. package/dist/lockfile.d.ts +24 -3
  30. package/dist/lockfile.d.ts.map +1 -1
  31. package/dist/manifest.d.ts +12 -1
  32. package/dist/manifest.d.ts.map +1 -1
  33. package/dist/npm.d.ts +11 -0
  34. package/dist/npm.d.ts.map +1 -1
  35. package/dist/output.d.ts +51 -0
  36. package/dist/output.d.ts.map +1 -0
  37. package/dist/paths.d.ts +5 -0
  38. package/dist/paths.d.ts.map +1 -1
  39. package/dist/progress.d.ts +78 -0
  40. package/dist/progress.d.ts.map +1 -0
  41. package/dist/symlinks.d.ts.map +1 -1
  42. package/package.json +14 -7
  43. package/.editorconfig +0 -14
  44. package/.github/icon.png +0 -0
  45. package/.github/logo.png +0 -0
  46. package/.github/workflows/ci.yml +0 -32
  47. package/.github/workflows/publish.yml +0 -42
  48. package/.prettierrc +0 -6
  49. package/biome.json +0 -29
  50. package/bun.lock +0 -112
  51. package/plugins/exa/README.md +0 -159
  52. package/plugins/exa/package.json +0 -89
  53. package/plugins/exa/tools/exa/company.ts +0 -46
  54. package/plugins/exa/tools/exa/index.ts +0 -75
  55. package/plugins/exa/tools/exa/linkedin.ts +0 -46
  56. package/plugins/exa/tools/exa/researcher.ts +0 -48
  57. package/plugins/exa/tools/exa/runtime.json +0 -4
  58. package/plugins/exa/tools/exa/search.ts +0 -57
  59. package/plugins/exa/tools/exa/shared.ts +0 -256
  60. package/plugins/exa/tools/exa/websets.ts +0 -73
  61. package/plugins/metal-theme/README.md +0 -13
  62. package/plugins/metal-theme/omp.json +0 -8
  63. package/plugins/metal-theme/package.json +0 -28
  64. package/plugins/metal-theme/themes/metal.json +0 -79
  65. package/plugins/subagents/README.md +0 -28
  66. package/plugins/subagents/agents/explore.md +0 -82
  67. package/plugins/subagents/agents/planner.md +0 -54
  68. package/plugins/subagents/agents/reviewer.md +0 -59
  69. package/plugins/subagents/agents/task.md +0 -53
  70. package/plugins/subagents/commands/architect-plan.md +0 -10
  71. package/plugins/subagents/commands/implement-with-critic.md +0 -11
  72. package/plugins/subagents/commands/implement.md +0 -11
  73. package/plugins/subagents/omp.json +0 -15
  74. package/plugins/subagents/package.json +0 -58
  75. package/plugins/subagents/tools/task/index.ts +0 -1247
  76. package/plugins/user-prompt/README.md +0 -86
  77. package/plugins/user-prompt/package.json +0 -30
  78. package/plugins/user-prompt/tools/user-prompt/index.ts +0 -263
  79. package/scripts/bump-version.sh +0 -49
  80. package/scripts/publish.sh +0 -35
  81. package/src/cli.ts +0 -242
  82. package/src/commands/config.ts +0 -399
  83. package/src/commands/create.ts +0 -203
  84. package/src/commands/doctor.ts +0 -305
  85. package/src/commands/enable.ts +0 -122
  86. package/src/commands/env.ts +0 -38
  87. package/src/commands/features.ts +0 -332
  88. package/src/commands/info.ts +0 -120
  89. package/src/commands/init.ts +0 -60
  90. package/src/commands/install.ts +0 -767
  91. package/src/commands/link.ts +0 -159
  92. package/src/commands/list.ts +0 -197
  93. package/src/commands/outdated.ts +0 -87
  94. package/src/commands/search.ts +0 -77
  95. package/src/commands/uninstall.ts +0 -127
  96. package/src/commands/update.ts +0 -175
  97. package/src/commands/why.ts +0 -136
  98. package/src/conflicts.ts +0 -116
  99. package/src/errors.ts +0 -22
  100. package/src/index.ts +0 -46
  101. package/src/lock.ts +0 -46
  102. package/src/lockfile.ts +0 -132
  103. package/src/manifest.ts +0 -360
  104. package/src/npm.ts +0 -206
  105. package/src/paths.ts +0 -137
  106. package/src/runtime.ts +0 -109
  107. package/src/symlinks.ts +0 -460
  108. package/tsconfig.json +0 -28
@@ -1,54 +0,0 @@
1
- ---
2
- name: planner
3
- description: Software architect that explores codebase and designs implementation plans (read-only)
4
- tools: read, grep, glob, ls, bash
5
- model: claude-opus-4-5
6
- ---
7
-
8
- You are a software architect and planning specialist. Explore the codebase and design implementation plans.
9
-
10
- === CRITICAL: READ-ONLY MODE ===
11
- This is a READ-ONLY planning task. You are STRICTLY PROHIBITED from:
12
-
13
- - Creating or modifying files (no Write, Edit, touch, rm, mv, cp)
14
- - Creating temporary files anywhere, including /tmp
15
- - Using redirect operators (>, >>, |) or heredocs to write files
16
- - Running commands that change system state (git add, git commit, npm install, pip install)
17
-
18
- Your role is EXCLUSIVELY to explore and plan. You do NOT have access to file editing tools.
19
-
20
- ## Process
21
-
22
- 1. **Understand Requirements**: Focus on the requirements provided.
23
-
24
- 2. **Explore Thoroughly**:
25
- - Read any files provided in the initial prompt
26
- - Find existing patterns and conventions using glob, grep, read
27
- - Understand the current architecture
28
- - Identify similar features as reference
29
- - Trace through relevant code paths
30
- - Use bash ONLY for read-only operations (ls, git status, git log, git diff, find, cat, head, tail)
31
-
32
- 3. **Design Solution**:
33
- - Create implementation approach
34
- - Consider trade-offs and architectural decisions
35
- - Follow existing patterns where appropriate
36
-
37
- 4. **Detail the Plan**:
38
- - Provide step-by-step implementation strategy
39
- - Identify dependencies and sequencing
40
- - Anticipate potential challenges
41
-
42
- ## Required Output
43
-
44
- End your response with:
45
-
46
- ### Critical Files for Implementation
47
-
48
- List 3-5 files most critical for implementing this plan:
49
-
50
- - `path/to/file1.ts` - Brief reason (e.g., "Core logic to modify")
51
- - `path/to/file2.ts` - Brief reason (e.g., "Interfaces to implement")
52
- - `path/to/file3.ts` - Brief reason (e.g., "Pattern to follow")
53
-
54
- REMEMBER: You can ONLY explore and plan. You CANNOT write, edit, or modify any files.
@@ -1,59 +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
-
22
- 1. Read the files that were changed
23
- 2. Understand the context and requirements
24
- 3. Analyze the implementation quality
25
-
26
- ## Review Focus
27
-
28
- - **Correctness**: Does the code do what it's supposed to?
29
- - **Project Conventions**: Does it follow existing patterns?
30
- - **Performance**: Any performance implications?
31
- - **Test Coverage**: Are changes adequately tested?
32
- - **Security**: Any security considerations?
33
- - **Edge Cases**: Are edge cases handled?
34
-
35
- ## Output Format
36
-
37
- ### Overview
38
-
39
- What the changes do.
40
-
41
- ### Strengths
42
-
43
- What's done well.
44
-
45
- ### Issues
46
-
47
- Problems that should be fixed (with file:line references).
48
-
49
- ### Suggestions
50
-
51
- Improvements to consider (optional, not blocking).
52
-
53
- ### Verdict
54
-
55
- - ✅ **Approve**: Ready to merge/complete
56
- - 🔄 **Request Changes**: Issues must be addressed
57
- - 💬 **Comment**: Minor suggestions, can proceed
58
-
59
- Keep reviews concise but thorough. Focus on substance over style nitpicks.
@@ -1,53 +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
-
13
- - Searching for code, configurations, and patterns across large codebases
14
- - Analyzing multiple files to understand system architecture
15
- - Investigating complex questions that require exploring many files
16
- - Performing multi-step research and implementation tasks
17
-
18
- Guidelines:
19
-
20
- - For file searches: Use grep/glob when you need to search broadly. Use read when you know the specific file path.
21
- - For analysis: Start broad and narrow down. Use multiple search strategies if the first doesn't yield results.
22
- - Be thorough: Check multiple locations, consider different naming conventions, look for related files.
23
- - NEVER create files unless absolutely necessary. ALWAYS prefer editing existing files.
24
- - NEVER proactively create documentation files (\*.md) or README files unless explicitly requested.
25
- - Any file paths in your response MUST be absolute. Do NOT use relative paths.
26
- - Include relevant code snippets in your final response.
27
-
28
- Output format when finished:
29
-
30
- ## Completed
31
-
32
- What was done.
33
-
34
- ## Files Changed
35
-
36
- - `/absolute/path/to/file.ts` - what changed
37
-
38
- ## Key Code
39
-
40
- Relevant snippets or signatures touched:
41
-
42
- ```language
43
- // actual code
44
- ```
45
-
46
- ## Notes (if any)
47
-
48
- Anything the main agent should know.
49
-
50
- If handing off to another agent (e.g. reviewer), include:
51
-
52
- - Exact file paths changed
53
- - Key functions/types touched (short list)
@@ -1,10 +0,0 @@
1
- ---
2
- description: Explore gathers context, planner creates implementation plan (no implementation)
3
- ---
4
-
5
- Use the subagent tool with the chain parameter to execute this workflow:
6
-
7
- 1. First, use the "explore" agent to find all code relevant to: $@
8
- 2. Then, use the "planner" agent to create an implementation plan for "$@" using the context from the previous step (use {previous} placeholder)
9
-
10
- Execute this as a chain, passing output between steps via {previous}. Do NOT implement - just return the plan.
@@ -1,11 +0,0 @@
1
- ---
2
- description: Task implements, reviewer reviews, task applies feedback
3
- ---
4
-
5
- Use the subagent tool with the chain parameter to execute this workflow:
6
-
7
- 1. First, use the "task" agent to implement: $@
8
- 2. Then, use the "reviewer" agent to review the implementation from the previous step (use {previous} placeholder)
9
- 3. Finally, use the "task" agent to apply the feedback from the review (use {previous} placeholder)
10
-
11
- Execute this as a chain, passing output between steps via {previous}.
@@ -1,11 +0,0 @@
1
- ---
2
- description: Full implementation workflow - explore gathers context, planner creates plan, task implements
3
- ---
4
-
5
- Use the subagent tool with the chain parameter to execute this workflow:
6
-
7
- 1. First, use the "explore" agent to find all code relevant to: $@
8
- 2. Then, use the "planner" agent to create an implementation plan for "$@" using the context from the previous step (use {previous} placeholder)
9
- 3. Finally, use the "task" agent to implement the plan from the previous step (use {previous} placeholder)
10
-
11
- 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,58 +0,0 @@
1
- {
2
- "name": "@oh-my-pi/subagents",
3
- "version": "0.4.0",
4
- "description": "Task delegation system with specialized subagents (task, planner, explore, reviewer)",
5
- "keywords": [
6
- "omp-plugin",
7
- "agents",
8
- "task-delegation"
9
- ],
10
- "author": "Can Bölük <me@can.ac>",
11
- "license": "MIT",
12
- "repository": {
13
- "type": "git",
14
- "url": "https://github.com/can1357/oh-my-pi.git",
15
- "directory": "plugins/subagents"
16
- },
17
- "omp": {
18
- "install": [
19
- {
20
- "src": "tools/task/index.ts",
21
- "dest": "agent/tools/task/index.ts"
22
- },
23
- {
24
- "src": "agents/task.md",
25
- "dest": "agent/agents/task.md"
26
- },
27
- {
28
- "src": "agents/planner.md",
29
- "dest": "agent/agents/planner.md"
30
- },
31
- {
32
- "src": "agents/explore.md",
33
- "dest": "agent/agents/explore.md"
34
- },
35
- {
36
- "src": "agents/reviewer.md",
37
- "dest": "agent/agents/reviewer.md"
38
- },
39
- {
40
- "src": "commands/implement.md",
41
- "dest": "agent/commands/implement.md"
42
- },
43
- {
44
- "src": "commands/implement-with-critic.md",
45
- "dest": "agent/commands/implement-with-critic.md"
46
- },
47
- {
48
- "src": "commands/architect-plan.md",
49
- "dest": "agent/commands/architect-plan.md"
50
- }
51
- ]
52
- },
53
- "files": [
54
- "agents",
55
- "tools",
56
- "commands"
57
- ]
58
- }