@melihmucuk/pi-crew 1.0.16 → 1.0.18

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 (38) hide show
  1. package/README.md +8 -8
  2. package/agents/code-reviewer.md +2 -2
  3. package/agents/oracle.md +1 -1
  4. package/agents/planner.md +5 -1
  5. package/agents/quality-reviewer.md +2 -2
  6. package/agents/scout.md +2 -2
  7. package/agents/worker.md +3 -3
  8. package/extension/catalog.ts +543 -0
  9. package/extension/crew.ts +383 -0
  10. package/extension/index.ts +7 -6
  11. package/extension/subagent-session.ts +270 -0
  12. package/extension/tools.ts +323 -0
  13. package/extension/ui.ts +309 -0
  14. package/package.json +8 -6
  15. package/prompts/pi-crew-plan.md +14 -13
  16. package/prompts/pi-crew-review.md +20 -16
  17. package/skills/pi-crew/REFERENCE.md +32 -20
  18. package/skills/pi-crew/SKILL.md +13 -10
  19. package/extension/agent-discovery.ts +0 -791
  20. package/extension/bootstrap-session.ts +0 -131
  21. package/extension/integration/register-renderers.ts +0 -77
  22. package/extension/integration/register-tools.ts +0 -39
  23. package/extension/integration/tool-presentation.ts +0 -50
  24. package/extension/integration/tools/crew-abort.ts +0 -126
  25. package/extension/integration/tools/crew-done.ts +0 -46
  26. package/extension/integration/tools/crew-list.ts +0 -92
  27. package/extension/integration/tools/crew-respond.ts +0 -59
  28. package/extension/integration/tools/crew-spawn.ts +0 -87
  29. package/extension/integration/tools/tool-deps.ts +0 -16
  30. package/extension/integration.ts +0 -13
  31. package/extension/runtime/crew-runtime.ts +0 -426
  32. package/extension/runtime/delivery-coordinator.ts +0 -131
  33. package/extension/runtime/subagent-registry.ts +0 -78
  34. package/extension/runtime/subagent-state.ts +0 -59
  35. package/extension/status-widget.ts +0 -107
  36. package/extension/subagent-messages.ts +0 -124
  37. package/extension/tool-registry.ts +0 -19
  38. /package/extension/{runtime/overflow-recovery.ts → overflow-recovery.ts} +0 -0
package/README.md CHANGED
@@ -86,7 +86,7 @@ Note: This prompt requires the `scout` and `planner` subagent definitions. These
86
86
  #### `/pi-crew-review`
87
87
 
88
88
  Expands a bundled prompt template that orchestrates parallel code and quality reviews.
89
- Use it to review recent commits, staged changes, unstaged changes, and untracked files with `code-reviewer` and `quality-reviewer`, then merge both results into one report.
89
+ Use it to review provided or default changed-code scope with `code-reviewer` and `quality-reviewer`, using compact task-specific briefs focused on intent, expected behavior, and relevant references, then merge both results into one report.
90
90
 
91
91
  Note: This prompt requires the `code-reviewer` and `quality-reviewer` subagent definitions. These are included as bundled subagents and work out of the box.
92
92
 
@@ -94,7 +94,7 @@ Note: This prompt requires the `code-reviewer` and `quality-reviewer` subagent d
94
94
 
95
95
  #### `pi-crew`
96
96
 
97
- A bundled orchestration skill that provides best practices for delegating work to subagents, handling asynchronous results, and managing interactive subagent lifecycle. It loads automatically when you coordinate work with pi-crew tools.
97
+ A bundled orchestration skill that provides best practices for delegating work to subagents, handling asynchronous results, and managing interactive subagent lifecycle. It also guides compact, task-specific subagent briefs that avoid repeating role boilerplate or mechanical repo/Git state. It loads automatically when you coordinate work with pi-crew tools.
98
98
 
99
99
  ## Bundled Subagents
100
100
 
@@ -102,12 +102,12 @@ pi-crew ships with six subagent definitions that cover common workflows:
102
102
 
103
103
  | Subagent | Purpose | Tools | Model |
104
104
  | -------------------- | ------------------------------------------------------------------------------------------------------------------------ | -------------------------- | --------------------------- |
105
- | **scout** | Investigates codebase and returns structured findings. Read-only. Use before planning or implementing to gather context. | read, grep, find, ls, bash | anthropic/claude-haiku-4-5 |
106
- | **planner** | Analyzes requirements and produces a step-by-step implementation plan. Read-only. Does not write code. Interactive. | read, grep, find, ls, bash | openai-codex/gpt-5.4 |
107
- | **oracle** | Evaluates critical decisions, surfaces blind spots, and challenges assumptions. Read-only. Does not implement. Interactive. | read, grep, find, ls, bash | openai-codex/gpt-5.4 |
108
- | **code-reviewer** | Reviews code changes for bugs, security issues, and correctness. Read-only. Does not fix issues. | read, grep, find, ls, bash | openai-codex/gpt-5.4 |
109
- | **quality-reviewer** | Reviews code structure for maintainability, duplication, and complexity. Read-only. Does not look for bugs. | read, grep, find, ls, bash | openai-codex/gpt-5.4 |
110
- | **worker** | Implements code changes, fixes, and refactors autonomously. Has full read-write access to the codebase. | all | anthropic/claude-sonnet-4-6 |
105
+ | **scout** | Investigates codebase and returns structured findings. Read-only. Use before planning or implementing to gather context. | read, grep, find, ls, bash | openai-codex/gpt-5.5 |
106
+ | **planner** | Analyzes requirements and produces a step-by-step implementation plan. Read-only. Does not write code. Interactive. | read, grep, find, ls, bash | openai-codex/gpt-5.5 |
107
+ | **oracle** | Evaluates critical decisions, surfaces blind spots, and challenges assumptions. Read-only. Does not implement. Interactive. | read, grep, find, ls, bash | openai-codex/gpt-5.5 |
108
+ | **code-reviewer** | Reviews code changes for bugs, security issues, and correctness. Read-only. Does not fix issues. | read, grep, find, ls, bash | openai-codex/gpt-5.2 |
109
+ | **quality-reviewer** | Reviews code structure for maintainability, duplication, and complexity. Read-only. Does not look for bugs. | read, grep, find, ls, bash | openai-codex/gpt-5.2 |
110
+ | **worker** | Implements code changes, fixes, and refactors autonomously. Has full read-write access to the codebase. | all | openai-codex/gpt-5.5 |
111
111
 
112
112
  Read-only bundled subagents still keep `bash` for inspection workflows like `git` and `ast-grep`. This is an instruction-level contract, not a sandbox boundary.
113
113
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: code-reviewer
3
3
  description: Reviews changed code for actionable bugs. Read-only.
4
- model: openai-codex/gpt-5.4
4
+ model: openai-codex/gpt-5.2
5
5
  thinking: high
6
6
  tools: read, grep, find, ls, bash
7
7
  ---
@@ -14,7 +14,7 @@ Do not modify files. Use bash only for read-only inspection. Do not run builds,
14
14
 
15
15
  Review the provided scope. If none is provided, review uncommitted changes. For commits, branches, PRs, files, or "latest" requests, inspect the corresponding diff. If "latest" is requested, review the last 5 commits unless a count is given.
16
16
 
17
- If the diff exceeds 500 lines, list changed files with one-line risk notes, then deeply review only the highest-risk files: business logic, auth, data mutation, error handling, public APIs.
17
+ For large or broad diffs, summarize coverage by area with brief risk notes, then deeply review only the highest-risk changed files: business logic, auth, data mutation, error handling, and public APIs. Avoid exhaustive file inventories.
18
18
 
19
19
  Review changed-code issues only. Pre-existing code is reportable only when the change triggers it or makes it relevant.
20
20
 
package/agents/oracle.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: oracle
3
3
  description: Evaluates critical decisions, surfaces blind spots, and challenges assumptions. Read-only.
4
- model: openai-codex/gpt-5.4
4
+ model: openai-codex/gpt-5.5
5
5
  thinking: xhigh
6
6
  tools: read, grep, find, ls, bash
7
7
  interactive: true
package/agents/planner.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: planner
3
3
  description: Produces deterministic implementation plans. Read-only. Does not write code.
4
- model: openai-codex/gpt-5.4
4
+ model: openai-codex/gpt-5.5
5
5
  thinking: high
6
6
  tools: read, grep, find, ls, bash
7
7
  interactive: true
@@ -50,9 +50,11 @@ Use exactly these sections:
50
50
  1. `# Plan – <Short Title>`
51
51
 
52
52
  2. `## What`
53
+
53
54
  - Brief technical restatement of the change.
54
55
 
55
56
  3. `## How`
57
+
56
58
  - High-level approach.
57
59
  - **Scope**: in scope, out of scope, and scope assumptions.
58
60
  - **Assumptions**: list assumptions or `None`.
@@ -60,6 +62,7 @@ Use exactly these sections:
60
62
  - Key constraints/trade-offs, only if relevant.
61
63
 
62
64
  4. `## TODO`
65
+
63
66
  - File-oriented steps in dependency order.
64
67
  - Each step starts with `Create`, `Add`, `Update`, `Remove`, `Refactor`, or `Move`.
65
68
  - Name the file path and concrete identifiers.
@@ -68,6 +71,7 @@ Use exactly these sections:
68
71
  - If TODO exceeds 20 steps, split into phases, mark the first implementation phase, and re-check for scope creep.
69
72
 
70
73
  5. `## Outcome`
74
+
71
75
  - Expected end state.
72
76
  - Functional criteria.
73
77
  - Relevant non-functional criteria.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: quality-reviewer
3
3
  description: Reviews changed code for maintainability, duplication, and complexity. Read-only.
4
- model: openai-codex/gpt-5.4
4
+ model: openai-codex/gpt-5.2
5
5
  thinking: high
6
6
  tools: read, grep, find, ls, bash
7
7
  ---
@@ -18,7 +18,7 @@ Review the provided scope. If none is provided, review uncommitted changes. For
18
18
 
19
19
  If "full" or "codebase" is requested, first produce a structural risk map, then deeply review only the highest-risk areas.
20
20
 
21
- If the scope exceeds 15 files, summarize files with one-line structural notes, then deeply review the highest-risk files: large files, dependency-heavy files, widely imported files, or files crossing module boundaries. State skipped files briefly.
21
+ For large or broad scopes, summarize coverage by area with brief structural notes, then deeply review the highest-risk areas/files: large files, dependency-heavy files, widely imported files, or files crossing module boundaries. Avoid exhaustive file inventories; state skipped areas briefly.
22
22
 
23
23
  ## Method
24
24
 
package/agents/scout.md CHANGED
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: scout
3
3
  description: Investigates codebase and returns structured findings. Read-only.
4
- model: anthropic/claude-haiku-4-5
5
- thinking: minimal
4
+ model: openai-codex/gpt-5.5
5
+ thinking: off
6
6
  tools: read, grep, find, ls, bash
7
7
  ---
8
8
 
package/agents/worker.md CHANGED
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: worker
3
3
  description: Implements scoped code changes safely and verifies them.
4
- model: anthropic/claude-sonnet-4-6
5
- thinking: medium
4
+ model: openai-codex/gpt-5.5
5
+ thinking: low
6
6
  ---
7
7
 
8
8
  You are a worker agent. Implement the assigned task or plan as small, safe, verifiable code changes. Reply in the user's language.
@@ -25,7 +25,7 @@ Before changing code, gather enough context to act safely: project conventions,
25
25
 
26
26
  ## Verification
27
27
 
28
- Run relevant verification: lint, typecheck, tests, and build as applicable. If a relevant check cannot be run, state why.
28
+ Run the smallest meaningful verification for the change; use broader lint, typecheck, tests, or build only when relevant. If a relevant check cannot be run, state why.
29
29
 
30
30
  Fix only failures caused by your changes. Do not fix pre-existing failures; report them with evidence. If you cannot tell whether a failure is pre-existing or caused by your change, report it as a blocker.
31
31