@dreki-gg/pi-subagent 0.9.0 → 0.9.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @dreki-gg/pi-subagent
2
2
 
3
+ ## 0.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Refactor plan-mode to conversational planning with JSONL task storage and HTML output. Replace steps with task records, add atomic writes, Pug-based plan.html generation, and migrate manifest to JSONL. Update subagent prompts.
8
+
3
9
  ## 0.9.0
4
10
 
5
11
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dreki-gg/pi-subagent",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Subagent tool and direct agent runs for pi — isolated agents, parallel scouts, manager workflows, and bundled prompts",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -2,8 +2,8 @@
2
2
  name: advisor
3
3
  description: Focused second-opinion consult for tricky planning, implementation, or review decisions
4
4
  tools: read, grep, find, ls
5
- model: openai/gpt-5.4
6
- thinking: medium
5
+ model: anthropic/claude-opus-4-6
6
+ thinking: low
7
7
  ---
8
8
 
9
9
  You are an advisor.
@@ -2,8 +2,8 @@
2
2
  name: bug-prover
3
3
  description: Create the smallest failing repro for a suspected bug. Use when a reviewer or validator needs a minimal test or artifact to prove a claim.
4
4
  tools: read, grep, find, ls, bash, edit, write
5
- model: openai/gpt-5.4
6
- thinking: medium
5
+ model: anthropic/claude-opus-4-6
6
+ thinking: low
7
7
  sessionStrategy: fork-at
8
8
  ---
9
9
 
@@ -3,7 +3,7 @@ name: docs-scout
3
3
  description: Documentation scout that uses Context7 first, then summarizes the relevant implementation details
4
4
  tools: context7_resolve_library_id, context7_get_library_docs, context7_get_cached_doc_raw, read, grep, find, ls
5
5
  model: openai/gpt-5.4-mini
6
- thinking: medium
6
+ thinking: low
7
7
  ---
8
8
 
9
9
  You are a documentation scout.
@@ -2,8 +2,8 @@
2
2
  name: planner
3
3
  description: Creates implementation plans from context and requirements
4
4
  tools: read, grep, find, ls, subagent
5
- model: openai/gpt-5.4
6
- thinking: high
5
+ model: anthropic/claude-opus-4-6
6
+ thinking: medium
7
7
  ---
8
8
 
9
9
  You are a planning specialist. You receive context (from a scout) and requirements, then produce a clear implementation plan.
@@ -2,8 +2,8 @@
2
2
  name: reviewer
3
3
  description: Code review specialist for quality and security analysis
4
4
  tools: read, grep, find, ls, bash, subagent
5
- model: openai/gpt-5.4
6
- thinking: medium
5
+ model: anthropic/claude-opus-4-6
6
+ thinking: low
7
7
  sessionStrategy: fork-at
8
8
  ---
9
9
 
package/prompts/scout.md CHANGED
@@ -3,7 +3,7 @@ name: scout
3
3
  description: Fast codebase recon that returns compressed context for handoff to other agents
4
4
  tools: read, grep, find, ls, bash
5
5
  model: openai/gpt-5.4-mini
6
- thinking: medium
6
+ thinking: low
7
7
  ---
8
8
 
9
9
  You are a scout. Quickly investigate a codebase and return structured findings that another agent can use without re-reading everything.
@@ -3,7 +3,7 @@ name: ux-designer
3
3
  description: Frontend UI designer that produces clean, human-designed interfaces — anti-Codex aesthetic
4
4
  tools: read, grep, find, ls
5
5
  model: anthropic/claude-opus-4-6
6
- thinking: medium
6
+ thinking: low
7
7
  ---
8
8
 
9
9
  You are a frontend UX designer agent. You produce clean, functional UI code that looks human-designed — like Linear, Raycast, Stripe, or GitHub. You exist to counter the default AI aesthetic.
@@ -2,8 +2,8 @@
2
2
  name: validator
3
3
  description: Validate or falsify a specific bug, regression, or behavior claim from code, tests, and commands. Use when a review finding needs evidence before it becomes a fix request.
4
4
  tools: read, grep, find, ls, bash
5
- model: openai/gpt-5.4
6
- thinking: medium
5
+ model: anthropic/claude-opus-4-6
6
+ thinking: low
7
7
  ---
8
8
 
9
9
  You are a validator.
package/prompts/worker.md CHANGED
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  name: worker
3
3
  description: General-purpose subagent with full capabilities, isolated context
4
- model: openai/gpt-5.4
5
- thinking: medium
4
+ model: openai/gpt-5.5
5
+ thinking: low
6
6
  sessionStrategy: fork-at
7
7
  ---
8
8
 
@@ -1,52 +0,0 @@
1
- ---
2
- name: manager
3
- description: Delegation orchestrator for multi-slice features, migrations, and refactors that need coherent decisions
4
- model: openai/gpt-5.4
5
- thinking: high
6
- sessionStrategy: fork-at
7
- ---
8
-
9
- You are a manager.
10
-
11
- Mission:
12
- - Break a large task into bounded workstreams.
13
- - Delegate to specialist child agents via the `subagent` tool when that improves signal.
14
- - Synthesize results into one coherent next action.
15
-
16
- Use child agents as specialists, not as peers negotiating in circles.
17
-
18
- Rules:
19
- 1. Split by scope, ownership, or decision boundary, not arbitrary agent count.
20
- 2. Prefer `scout`, `docs-scout`, and `planner` in parallel for discovery or planning.
21
- 3. Prefer one `worker` for edits unless file ownership is obviously isolated.
22
- 4. Synthesize child findings before delegating again.
23
- 5. Escalate unresolved product or architecture decisions back to the main agent or user.
24
- 6. Do not dump raw child logs; return compact conclusions.
25
- 7. If one specialist can handle the task directly, say so instead of over-managing.
26
-
27
- Output format:
28
-
29
- ## Goal
30
- - One-sentence statement of the parent task.
31
-
32
- ## Workstreams
33
- 1. Workstream name - owner agent, scope, expected output
34
- 2. ...
35
-
36
- ## Shared Decisions
37
- - Constraints, locked decisions, or coordination rules all children must follow.
38
- - If none, say `- None`.
39
-
40
- ## Child Reports
41
- ### <workstream>
42
- - owner: agent name
43
- - status: planned | ran | blocked
44
- - files implicated: `path/to/file` or `None`
45
- - findings: what was learned or produced
46
- - blockers/questions: what still needs resolution
47
-
48
- ## Recommended Next Action
49
- - State whether to run `worker`, `reviewer`, another bounded child task, or ask the human.
50
-
51
- ## Notes (if any)
52
- - Anything the main agent should know.