@oh-my-pi/cli 0.3.0 → 0.4.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 (48) hide show
  1. package/.editorconfig +14 -0
  2. package/.prettierrc +6 -0
  3. package/README.md +65 -71
  4. package/bun.lock +13 -10
  5. package/dist/cli.js +114 -34
  6. package/dist/commands/config.d.ts.map +1 -1
  7. package/dist/commands/features.d.ts.map +1 -1
  8. package/dist/commands/install.d.ts.map +1 -1
  9. package/dist/commands/list.d.ts.map +1 -1
  10. package/dist/commands/uninstall.d.ts.map +1 -1
  11. package/dist/commands/update.d.ts.map +1 -1
  12. package/dist/runtime.d.ts.map +1 -1
  13. package/dist/symlinks.d.ts +1 -0
  14. package/dist/symlinks.d.ts.map +1 -1
  15. package/package.json +11 -4
  16. package/plugins/exa/README.md +44 -38
  17. package/plugins/exa/package.json +44 -11
  18. package/plugins/exa/tools/exa/company.ts +24 -13
  19. package/plugins/exa/tools/exa/index.ts +43 -34
  20. package/plugins/exa/tools/exa/linkedin.ts +24 -13
  21. package/plugins/exa/tools/exa/researcher.ts +26 -18
  22. package/plugins/exa/tools/exa/search.ts +31 -20
  23. package/plugins/exa/tools/exa/shared.ts +182 -156
  24. package/plugins/exa/tools/exa/websets.ts +39 -28
  25. package/plugins/metal-theme/package.json +13 -4
  26. package/plugins/subagents/README.md +3 -0
  27. package/plugins/subagents/agents/explore.md +11 -0
  28. package/plugins/subagents/agents/planner.md +3 -0
  29. package/plugins/subagents/agents/reviewer.md +6 -0
  30. package/plugins/subagents/agents/task.md +8 -1
  31. package/plugins/subagents/commands/architect-plan.md +1 -0
  32. package/plugins/subagents/commands/implement-with-critic.md +1 -0
  33. package/plugins/subagents/commands/implement.md +1 -0
  34. package/plugins/subagents/package.json +43 -11
  35. package/plugins/subagents/tools/task/index.ts +1089 -861
  36. package/plugins/user-prompt/README.md +22 -66
  37. package/plugins/user-prompt/package.json +15 -4
  38. package/plugins/user-prompt/tools/user-prompt/index.ts +185 -157
  39. package/scripts/bump-version.sh +10 -13
  40. package/src/cli.ts +1 -1
  41. package/src/commands/config.ts +21 -6
  42. package/src/commands/features.ts +49 -12
  43. package/src/commands/install.ts +91 -24
  44. package/src/commands/list.ts +14 -3
  45. package/src/commands/uninstall.ts +4 -1
  46. package/src/commands/update.ts +6 -1
  47. package/src/runtime.ts +3 -10
  48. package/src/symlinks.ts +12 -7
@@ -9,29 +9,34 @@ You are a worker agent for delegated tasks. You operate in an isolated context w
9
9
  Do what has been asked; nothing more, nothing less. Work autonomously using all available tools.
10
10
 
11
11
  Your strengths:
12
+
12
13
  - Searching for code, configurations, and patterns across large codebases
13
14
  - Analyzing multiple files to understand system architecture
14
15
  - Investigating complex questions that require exploring many files
15
16
  - Performing multi-step research and implementation tasks
16
17
 
17
18
  Guidelines:
19
+
18
20
  - For file searches: Use grep/glob when you need to search broadly. Use read when you know the specific file path.
19
21
  - For analysis: Start broad and narrow down. Use multiple search strategies if the first doesn't yield results.
20
22
  - Be thorough: Check multiple locations, consider different naming conventions, look for related files.
21
23
  - NEVER create files unless absolutely necessary. ALWAYS prefer editing existing files.
22
- - NEVER proactively create documentation files (*.md) or README files unless explicitly requested.
24
+ - NEVER proactively create documentation files (\*.md) or README files unless explicitly requested.
23
25
  - Any file paths in your response MUST be absolute. Do NOT use relative paths.
24
26
  - Include relevant code snippets in your final response.
25
27
 
26
28
  Output format when finished:
27
29
 
28
30
  ## Completed
31
+
29
32
  What was done.
30
33
 
31
34
  ## Files Changed
35
+
32
36
  - `/absolute/path/to/file.ts` - what changed
33
37
 
34
38
  ## Key Code
39
+
35
40
  Relevant snippets or signatures touched:
36
41
 
37
42
  ```language
@@ -39,8 +44,10 @@ Relevant snippets or signatures touched:
39
44
  ```
40
45
 
41
46
  ## Notes (if any)
47
+
42
48
  Anything the main agent should know.
43
49
 
44
50
  If handing off to another agent (e.g. reviewer), include:
51
+
45
52
  - Exact file paths changed
46
53
  - Key functions/types touched (short list)
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  description: Explore gathers context, planner creates implementation plan (no implementation)
3
3
  ---
4
+
4
5
  Use the subagent tool with the chain parameter to execute this workflow:
5
6
 
6
7
  1. First, use the "explore" agent to find all code relevant to: $@
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  description: Task implements, reviewer reviews, task applies feedback
3
3
  ---
4
+
4
5
  Use the subagent tool with the chain parameter to execute this workflow:
5
6
 
6
7
  1. First, use the "task" agent to implement: $@
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  description: Full implementation workflow - explore gathers context, planner creates plan, task implements
3
3
  ---
4
+
4
5
  Use the subagent tool with the chain parameter to execute this workflow:
5
6
 
6
7
  1. First, use the "explore" agent to find all code relevant to: $@
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "@oh-my-pi/subagents",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Task delegation system with specialized subagents (task, planner, explore, reviewer)",
5
- "keywords": ["omp-plugin", "agents", "task-delegation"],
5
+ "keywords": [
6
+ "omp-plugin",
7
+ "agents",
8
+ "task-delegation"
9
+ ],
6
10
  "author": "Can Bölük <me@can.ac>",
7
11
  "license": "MIT",
8
12
  "repository": {
@@ -12,15 +16,43 @@
12
16
  },
13
17
  "omp": {
14
18
  "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" }
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
+ }
23
51
  ]
24
52
  },
25
- "files": ["agents", "tools", "commands"]
53
+ "files": [
54
+ "agents",
55
+ "tools",
56
+ "commands"
57
+ ]
26
58
  }