@leing2021/super-pi 0.22.1 → 0.23.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/README.md +66 -293
- package/extensions/ce-core/index.ts +276 -48
- package/extensions/ce-core/tools/parallel-subagent.ts +3 -3
- package/extensions/ce-core/tools/subagent.ts +2 -2
- package/package.json +4 -20
- package/rules/common/naming.md +154 -0
- package/skills/01-brainstorm/SKILL.md +42 -79
- package/skills/01-brainstorm/references/ce-brainstorm-mode.md +47 -0
- package/skills/02-plan/SKILL.md +43 -61
- package/skills/02-plan/references/solution-search.md +46 -0
- package/skills/03-work/SKILL.md +34 -52
- package/skills/03-work/references/completion-report.md +51 -0
- package/skills/04-review/SKILL.md +44 -51
- package/skills/04-review/references/solution-search.md +46 -0
- package/skills/06-next/SKILL.md +35 -20
- package/skills/06-next/references/recommendation-logic.md +47 -2
- package/skills/07-worktree/SKILL.md +21 -20
- package/skills/08-help/SKILL.md +46 -0
- package/skills/08-help/references/workflow-sequence.md +135 -0
- package/skills/references/language-detection.md +44 -0
- package/LICENSE +0 -21
- package/THIRD-PARTY-NOTICES.md +0 -35
- package/extensions/subagent/__tests__/async-job-tracker.test.ts +0 -21
- package/extensions/subagent/__tests__/execution-activity.test.ts +0 -15
- package/extensions/subagent/__tests__/parallel-render-stress.test.ts +0 -82
- package/extensions/subagent/__tests__/render-dedup.test.ts +0 -98
- package/extensions/subagent/__tests__/render-widget.test.ts +0 -28
- package/extensions/subagent/__tests__/throttle.test.ts +0 -90
- package/extensions/subagent/agent-management.ts +0 -596
- package/extensions/subagent/agent-manager-chain-detail.ts +0 -163
- package/extensions/subagent/agent-manager-detail.ts +0 -232
- package/extensions/subagent/agent-manager-edit.ts +0 -391
- package/extensions/subagent/agent-manager-list.ts +0 -279
- package/extensions/subagent/agent-manager-parallel.ts +0 -305
- package/extensions/subagent/agent-manager.ts +0 -706
- package/extensions/subagent/agent-scope.ts +0 -9
- package/extensions/subagent/agent-selection.ts +0 -26
- package/extensions/subagent/agent-serializer.ts +0 -124
- package/extensions/subagent/agent-templates.ts +0 -63
- package/extensions/subagent/agents/context-builder.md +0 -37
- package/extensions/subagent/agents/delegate.md +0 -9
- package/extensions/subagent/agents/oracle.md +0 -73
- package/extensions/subagent/agents/planner.md +0 -52
- package/extensions/subagent/agents/researcher.md +0 -50
- package/extensions/subagent/agents/reviewer.md +0 -38
- package/extensions/subagent/agents/scout.md +0 -48
- package/extensions/subagent/agents/worker.md +0 -52
- package/extensions/subagent/agents.ts +0 -762
- package/extensions/subagent/artifacts.ts +0 -101
- package/extensions/subagent/async-execution.ts +0 -521
- package/extensions/subagent/async-job-tracker.ts +0 -240
- package/extensions/subagent/async-status.ts +0 -242
- package/extensions/subagent/chain-clarify.ts +0 -1365
- package/extensions/subagent/chain-execution.ts +0 -854
- package/extensions/subagent/chain-serializer.ts +0 -127
- package/extensions/subagent/completion-dedupe.ts +0 -66
- package/extensions/subagent/doctor.ts +0 -201
- package/extensions/subagent/execution.ts +0 -748
- package/extensions/subagent/file-coalescer.ts +0 -43
- package/extensions/subagent/fork-context.ts +0 -64
- package/extensions/subagent/formatters.ts +0 -123
- package/extensions/subagent/frontmatter.ts +0 -32
- package/extensions/subagent/index.ts +0 -586
- package/extensions/subagent/intercom-bridge.ts +0 -241
- package/extensions/subagent/jsonl-writer.ts +0 -84
- package/extensions/subagent/model-fallback.ts +0 -109
- package/extensions/subagent/notify.ts +0 -111
- package/extensions/subagent/parallel-utils.ts +0 -109
- package/extensions/subagent/pi-args.ts +0 -139
- package/extensions/subagent/pi-spawn.ts +0 -101
- package/extensions/subagent/post-exit-stdio-guard.ts +0 -88
- package/extensions/subagent/prompt-template-bridge.ts +0 -400
- package/extensions/subagent/prompts/gather-context-and-clarify.md +0 -13
- package/extensions/subagent/prompts/parallel-cleanup.md +0 -42
- package/extensions/subagent/prompts/parallel-research.md +0 -50
- package/extensions/subagent/prompts/parallel-review.md +0 -40
- package/extensions/subagent/render-helpers.ts +0 -83
- package/extensions/subagent/render.ts +0 -908
- package/extensions/subagent/result-intercom.ts +0 -238
- package/extensions/subagent/result-watcher.ts +0 -172
- package/extensions/subagent/run-history.ts +0 -58
- package/extensions/subagent/run-status.ts +0 -137
- package/extensions/subagent/schemas.ts +0 -165
- package/extensions/subagent/session-tokens.ts +0 -51
- package/extensions/subagent/settings.ts +0 -368
- package/extensions/subagent/single-output.ts +0 -98
- package/extensions/subagent/skills.ts +0 -627
- package/extensions/subagent/slash-bridge.ts +0 -177
- package/extensions/subagent/slash-commands.ts +0 -304
- package/extensions/subagent/slash-live-state.ts +0 -295
- package/extensions/subagent/subagent-control.ts +0 -151
- package/extensions/subagent/subagent-executor.ts +0 -1915
- package/extensions/subagent/subagent-prompt-runtime.ts +0 -76
- package/extensions/subagent/subagent-runner.ts +0 -1471
- package/extensions/subagent/subagents-status.ts +0 -473
- package/extensions/subagent/text-editor.ts +0 -273
- package/extensions/subagent/throttle.ts +0 -77
- package/extensions/subagent/top-level-async.ts +0 -16
- package/extensions/subagent/types.ts +0 -624
- package/extensions/subagent/utils.ts +0 -457
- package/extensions/subagent/worktree.ts +0 -580
- package/extensions/super-pi-extension/agents/ce-oracle.md +0 -109
- package/extensions/super-pi-extension/agents/ce-planner.md +0 -116
- package/extensions/super-pi-extension/agents/ce-reviewer.md +0 -99
- package/extensions/super-pi-extension/agents/ce-scout.md +0 -80
- package/extensions/super-pi-extension/agents/ce-worker.md +0 -78
- package/extensions/super-pi-extension/chains/ce-parallel-review.chain.md +0 -34
- package/extensions/super-pi-extension/chains/ce-review-only.chain.md +0 -12
- package/extensions/super-pi-extension/chains/ce-standard.chain.md +0 -28
- package/extensions/super-pi-extension/index.ts +0 -129
- package/extensions/super-pi-extension/model-sync.ts +0 -204
- package/skills/08-status/SKILL.md +0 -41
- package/skills/08-status/references/artifact-locations.md +0 -10
- package/skills/09-help/SKILL.md +0 -37
- package/skills/09-help/references/workflow-sequence.md +0 -9
- package/skills/10-rules/SKILL.md +0 -76
- package/skills/pi-subagents/SKILL.md +0 -566
package/README.md
CHANGED
|
@@ -8,70 +8,6 @@ Install it, tell Pi what you want to build, then keep saying "continue" — it w
|
|
|
8
8
|
pi install npm:@leing2021/super-pi
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
> **Upgrading from v0.21.0 or earlier?** Run `pi uninstall npm:pi-subagents` first, then `pi update`. Since v0.22.0, subagent capabilities are built-in — no separate package needed.
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
## Why Super Pi
|
|
16
|
-
|
|
17
|
-
Using a bare AI agent to write code has three common failure modes:
|
|
18
|
-
|
|
19
|
-
1. **Builds before thinking** — you finish and realize it's not what you wanted
|
|
20
|
-
2. **Loses context on interruption** — close the terminal, lose the progress
|
|
21
|
-
3. **Repeats the same mistakes** — every session starts from zero
|
|
22
|
-
|
|
23
|
-
Super Pi's answers:
|
|
24
|
-
|
|
25
|
-
- **Forces clarity before action** — not a form to fill out, but an AI that interrogates you like a YC partner demanding specific evidence
|
|
26
|
-
- **Auto-resume from checkpoints** — restart after interruption, skip completed work, continue from where you left off
|
|
27
|
-
- **Auto-compounds experience** — every solved problem becomes a searchable knowledge card; next time, the agent finds and reuses it
|
|
28
|
-
|
|
29
|
-
---
|
|
30
|
-
|
|
31
|
-
## Quick Start
|
|
32
|
-
|
|
33
|
-
### New idea
|
|
34
|
-
|
|
35
|
-
```
|
|
36
|
-
You: I want to build a tool that helps indie devs find users
|
|
37
|
-
|
|
38
|
-
→ Auto-enters 01-brainstorm, YC-style interrogation
|
|
39
|
-
→ Generates docs/brainstorms/2026-04-18-find-users-requirements.md
|
|
40
|
-
→ Recommends next: 02-plan
|
|
41
|
-
|
|
42
|
-
You: continue
|
|
43
|
-
|
|
44
|
-
→ 02-plan breaks into units, optional CEO Review
|
|
45
|
-
→ 03-work parallel execution, checkpoint resume
|
|
46
|
-
→ 04-review code review + optional browser QA
|
|
47
|
-
→ 05-learn knowledge compounding
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
### Adding a feature
|
|
51
|
-
|
|
52
|
-
```
|
|
53
|
-
You: I want to add user authentication to the project
|
|
54
|
-
|
|
55
|
-
→ 01-brainstorm CE mode: OAuth2? JWT? MFA?
|
|
56
|
-
→ Requirements doc → 02-plan → 03-work → 04-review → 05-learn
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
### Resume after interruption
|
|
60
|
-
|
|
61
|
-
```
|
|
62
|
-
You: /skill:03-work docs/plans/auth-plan.md
|
|
63
|
-
|
|
64
|
-
→ Auto-loads checkpoint, skips completed units, resumes from breakpoint
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
### Requirements changed
|
|
68
|
-
|
|
69
|
-
```
|
|
70
|
-
You: Requirements changed, need to add SSO support
|
|
71
|
-
|
|
72
|
-
→ 02-plan uses plan_diff to detect changes, patches incrementally
|
|
73
|
-
```
|
|
74
|
-
|
|
75
11
|
---
|
|
76
12
|
|
|
77
13
|
## The Five-Step Loop
|
|
@@ -81,278 +17,115 @@ You: Requirements changed, need to add SSO support
|
|
|
81
17
|
think plan build review learn
|
|
82
18
|
```
|
|
83
19
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
|
91
|
-
|
|
92
|
-
| **
|
|
93
|
-
| **
|
|
94
|
-
| **CE Brainstorm** | Adding features to existing projects | Multi-round dialog to clarify scope, generates structured requirements doc |
|
|
95
|
-
|
|
96
|
-
All three run a **premise challenge** (are your assumptions valid?) and **alternatives generation** before you move on.
|
|
97
|
-
|
|
98
|
-
### 02-plan: Plan Well
|
|
99
|
-
|
|
100
|
-
Breaks requirements into implementation units with strict **RED → GREEN → REFACTOR**. Requirements changed? `plan_diff` patches incrementally instead of rewriting.
|
|
101
|
-
|
|
102
|
-
**CEO Review (optional)**: Challenges your plan using Bezos reversible-decision frameworks, Munger inversion, Jobs subtraction. Like having a demanding CTO review for free.
|
|
103
|
-
|
|
104
|
-
### 03-work: Build Right
|
|
105
|
-
|
|
106
|
-
- **Parallel execution**: `task_splitter` analyzes file dependencies, feeds conflict-free units to `subagent` for concurrent execution
|
|
107
|
-
- **Checkpoint resume**: Interrupted? Next startup auto-loads, skips completed work, continues from breakpoint
|
|
108
|
-
- **Strict TDD**: Failing test → minimal implementation → test passes → refactor. Every step requires command output as evidence
|
|
109
|
-
|
|
110
|
-
### 04-review: Review Thoroughly
|
|
111
|
-
|
|
112
|
-
`review_router` auto-assigns reviewer personas based on diff metadata. Every finding must cite specific code — no performative agreement.
|
|
113
|
-
|
|
114
|
-
**Browser QA (optional)**: Opens your app, clicks through pages, screenshots bugs, fixes by severity, up to 3 auto-fix iterations.
|
|
115
|
-
|
|
116
|
-
### 05-learn: Compound Learnings
|
|
117
|
-
|
|
118
|
-
Turns "the pitfall we hit this time" into a YAML-tagged solution card in `docs/solutions/`. Two-level storage: project-specific and global (`~/.pi/agent/docs/solutions/`).
|
|
119
|
-
|
|
120
|
-
Next time `02-plan` or `04-review` runs, relevant past experience is automatically retrieved.
|
|
121
|
-
|
|
122
|
-
---
|
|
123
|
-
|
|
124
|
-
## Built-in Capabilities
|
|
125
|
-
|
|
126
|
-
One package includes everything:
|
|
20
|
+
| Skill | Does | Core Tool |
|
|
21
|
+
|-------|------|-----------|
|
|
22
|
+
| **01-brainstorm** | YC-style interrogation, three modes (Startup/Builder/CE) | `brainstorm_dialog` |
|
|
23
|
+
| **02-plan** | RED→GREEN→REFACTOR, incremental updates, optional CEO Review | `plan_diff` |
|
|
24
|
+
| **03-work** | Parallel execution, checkpoint resume, strict TDD | `ce_subagent`, `ce_parallel_subagent` |
|
|
25
|
+
| **04-review** | Auto-assigned reviewers, structured findings, browser QA | `review_router` |
|
|
26
|
+
| **05-learn** | Pattern extraction → searchable knowledge cards | `pattern_extractor` |
|
|
27
|
+
| **06-next** | Next-step recommendation + full status report | `workflow_state` |
|
|
28
|
+
| **07-worktree** | Isolated git worktree development | `worktree_manager` |
|
|
29
|
+
| **08-help** | Phase 1 skill explainer and usage guide | — |
|
|
127
30
|
|
|
128
|
-
|
|
129
|
-
|------|--------------|
|
|
130
|
-
| **Agent Manager TUI** | `/agents` or `Ctrl+Shift+A` |
|
|
131
|
-
| **CE Agents** (ce-scout, ce-planner, etc.) | Via subagent tool |
|
|
132
|
-
| **CE Chains** (scout → planner → worker → reviewer) | Via subagent tool |
|
|
133
|
-
| **Parallel execution** | Via subagent tool |
|
|
134
|
-
| **Stage Model Sync** | Automatic — set `modelStrategy` / `thinkingStrategy` in `.pi/settings.json` |
|
|
135
|
-
| **Diagnostics** | `/subagents-status`, `/subagents-doctor` |
|
|
31
|
+
### Model & Thinking Routing
|
|
136
32
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
Configure once in `.pi/settings.json`:
|
|
33
|
+
Configure in `.pi/settings.json`:
|
|
140
34
|
|
|
141
35
|
```json
|
|
142
36
|
{
|
|
143
37
|
"modelStrategy": {
|
|
144
|
-
"01-brainstorm": "claude-sonnet-4-20250514",
|
|
145
|
-
"02-plan": "claude-opus-4-20250115"
|
|
146
|
-
"03-work": "claude-sonnet-4-20250514",
|
|
147
|
-
"default": "claude-sonnet-4-20250514"
|
|
38
|
+
"01-brainstorm": "anthropic/claude-sonnet-4-20250514",
|
|
39
|
+
"02-plan": "anthropic/claude-opus-4-20250115"
|
|
148
40
|
},
|
|
149
41
|
"thinkingStrategy": {
|
|
42
|
+
"01-brainstorm": "high",
|
|
150
43
|
"02-plan": "high",
|
|
151
44
|
"03-work": "medium"
|
|
152
45
|
}
|
|
153
46
|
}
|
|
154
47
|
```
|
|
155
48
|
|
|
156
|
-
Model
|
|
49
|
+
Model and thinking level switch automatically — no manual `/model` needed.
|
|
50
|
+
|
|
51
|
+
### pi-subagents Compatibility
|
|
52
|
+
|
|
53
|
+
CE skill tools use a dedicated namespace (`ce_subagent`, `ce_parallel_subagent`) to avoid conflicts with third-party extensions like [pi-subagents](https://www.npmjs.com/package/pi-subagents). Both can coexist without configuration.
|
|
157
54
|
|
|
158
55
|
---
|
|
159
56
|
|
|
160
|
-
##
|
|
57
|
+
## Quick Start
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
You: I want to build a tool that helps indie devs find users
|
|
61
|
+
|
|
62
|
+
→ 01-brainstorm: YC-style interrogation → docs/brainstorms/requirements.md
|
|
63
|
+
→ 02-plan: RED→GREEN→REFACTOR units → docs/plans/plan.md
|
|
64
|
+
→ 03-work: parallel execution, checkpoint resume
|
|
65
|
+
→ 04-review: structured findings, optional browser QA
|
|
66
|
+
→ 05-learn: knowledge compounding
|
|
67
|
+
|
|
68
|
+
You: continue
|
|
69
|
+
→ Next skill recommended automatically via /skill:06-next
|
|
70
|
+
```
|
|
161
71
|
|
|
162
|
-
|
|
72
|
+
**After interruption:**
|
|
73
|
+
```
|
|
74
|
+
You: /skill:03-work docs/plans/plan.md
|
|
75
|
+
→ Auto-loads checkpoint, skips completed units, resumes from breakpoint
|
|
76
|
+
```
|
|
163
77
|
|
|
164
|
-
|
|
165
|
-
|-------|------|----------|
|
|
166
|
-
| `01-brainstorm` | Three-mode requirements mining (Startup Diagnostic / Builder / CE) | `brainstorm_dialog` |
|
|
167
|
-
| `02-plan` | Break into units with TDD gates, incremental `plan_diff` updates | `plan_diff` |
|
|
168
|
-
| `03-work` | Parallel execution, checkpoint resume, error recovery | `session_checkpoint`, `task_splitter`, `subagent` |
|
|
169
|
-
| `04-review` | Persona-routed review + live browser QA | `review_router` |
|
|
170
|
-
| `05-learn` | Pattern extraction → searchable knowledge cards | `pattern_extractor` |
|
|
78
|
+
---
|
|
171
79
|
|
|
172
|
-
|
|
80
|
+
## Token Cost
|
|
173
81
|
|
|
174
|
-
|
|
175
|
-
|-------|-----------|
|
|
176
|
-
| `06-next` | Recommend the best next skill based on workflow state |
|
|
177
|
-
| `07-worktree` | Git worktree isolated development |
|
|
178
|
-
| `08-status` | Scan artifacts, report progress |
|
|
179
|
-
| `09-help` | Usage guide |
|
|
180
|
-
| `10-rules` | Progressive rule loading for coding standards |
|
|
82
|
+
New conversation overhead: **~2,600 tokens** (1.3% of 200K context).
|
|
181
83
|
|
|
182
|
-
|
|
84
|
+
| Component | Tokens |
|
|
85
|
+
|-----------|--------|
|
|
86
|
+
| 8 skill registrations | ~490 |
|
|
87
|
+
| System prompt (skills) | ~1,400 |
|
|
88
|
+
| Skill inlining (per invocation) | ~500-800 |
|
|
183
89
|
|
|
184
|
-
|
|
90
|
+
Progressive loading: only needed skills loaded on-demand.
|
|
185
91
|
|
|
186
|
-
|
|
92
|
+
Full evaluation → [`docs/token-cost-evaluation.md`](docs/token-cost-evaluation.md)
|
|
187
93
|
|
|
188
|
-
|
|
94
|
+
---
|
|
189
95
|
|
|
190
|
-
|
|
96
|
+
## Generated Structure
|
|
191
97
|
|
|
192
98
|
```
|
|
193
99
|
your-project/
|
|
194
100
|
├── docs/
|
|
195
|
-
│ ├── brainstorms/
|
|
196
|
-
│ ├── plans/
|
|
197
|
-
│ └── solutions/
|
|
101
|
+
│ ├── brainstorms/ # Requirements
|
|
102
|
+
│ ├── plans/ # Execution plans
|
|
103
|
+
│ └── solutions/ # Knowledge cards
|
|
198
104
|
└── .context/
|
|
199
105
|
└── compound-engineering/
|
|
200
|
-
├── checkpoints/
|
|
201
|
-
├── dialogs/
|
|
202
|
-
└── history/
|
|
106
|
+
├── checkpoints/ # Breakpoint files
|
|
107
|
+
├── dialogs/ # Dialog state
|
|
108
|
+
└── history/ # Execution history
|
|
203
109
|
```
|
|
204
110
|
|
|
205
|
-
**
|
|
111
|
+
**Commit everything to git** — these files are the project's traceable memory.
|
|
206
112
|
|
|
207
113
|
---
|
|
208
114
|
|
|
209
|
-
##
|
|
210
|
-
|
|
211
|
-
**80% planning and review, 20% execution.**
|
|
212
|
-
|
|
213
|
-
The goal isn't making AI write code faster — it's making AI think before writing, review after writing, and compound learnings after reviewing. Speed comes from fewer rewrites, not from skipping steps.
|
|
214
|
-
|
|
215
|
-
The following projects directly inspired this work:
|
|
216
|
-
|
|
217
|
-
- **[pi-subagents](https://github.com/nicobailon/pi-subagents)** (by Nico Bailon, MIT License) → Full subagent runtime integrated as built-in extension (serial, parallel, chain, async, TUI, agent CRUD)
|
|
218
|
-
- **[everything-claude-code](https://github.com/affaan-m/everything-claude-code)** (162K★) → Parallel subagent orchestration, checkpoint resume, continuous learning
|
|
219
|
-
- **[superpowers](https://github.com/obra/superpowers)** (161K★) → Strict TDD gates, design checklists, review discipline
|
|
220
|
-
- **[gstack](https://github.com/garrytan/gstack)** (78K★) → YC-style forcing questions, CEO Review frameworks, browser QA
|
|
221
|
-
- **[compound-engineering-plugin](https://github.com/EveryInc/compound-engineering-plugin)** (14K★) → Five-step loop, knowledge compounding backbone
|
|
222
|
-
|
|
223
|
-
Not a fork. Not a wrapper. Methodologies extracted and rebuilt with Pi's native tool + skill system.
|
|
115
|
+
## Architecture
|
|
224
116
|
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
117
|
+
- **8 skills** with dedicated tools
|
|
118
|
+
- **14 tools** + 2 helpers
|
|
119
|
+
- **~2800 lines** TypeScript, **175 tests**
|
|
120
|
+
- **Progressive rule loading** — only what each task needs
|
|
228
121
|
|
|
229
|
-
|
|
230
|
-
|-----|-----|
|
|
231
|
-
| Start with 01-brainstorm | Thinking first never hurts |
|
|
232
|
-
| Use 07-worktree for big features | Isolated dev, no impact on main branch |
|
|
233
|
-
| Use CEO Review on plans | Like having a demanding CTO review for free |
|
|
234
|
-
| Use browser QA for acceptance | Code review can't catch layout breaks and blank screens |
|
|
235
|
-
| Don't panic on interruption | Next 03-work auto-resumes from checkpoint |
|
|
236
|
-
| Use 08-status when lost | One glance shows where you are |
|
|
122
|
+
Rules in `rules/` (11 common + language-specific). Project-level overrides take priority.
|
|
237
123
|
|
|
238
124
|
---
|
|
239
125
|
|
|
240
126
|
## Changelog
|
|
241
127
|
|
|
242
|
-
|
|
243
|
-
- Fixed terminal freeze and scroll lock when running 8+ parallel subagents.
|
|
244
|
-
- Added adaptive widget animation intervals: 250ms–1000ms based on running job count.
|
|
245
|
-
- Added `createThrottle()` for foreground parallel `onUpdate` with flush/dispose lifecycle.
|
|
246
|
-
- Added render dedup via content hash to skip unchanged `requestRender()` calls.
|
|
247
|
-
- Reduced activity timer and async poller frequencies with adaptive scaling.
|
|
248
|
-
- Extracted `stopAnimationTimer()` to prevent state loss during dynamic interval switching.
|
|
249
|
-
- 197 tests passing (28 new for render optimization).
|
|
250
|
-
|
|
251
|
-
### 0.22.0 — Source-integrated pi-subagents
|
|
252
|
-
- Integrated pi-subagents v0.20.1 source code into `extensions/subagent/` — single package install (`pi install npm:@leing2021/super-pi`).
|
|
253
|
-
- Moved `typebox` from peerDependencies to dependencies.
|
|
254
|
-
- Removed `pi-subagents` peer dependency — no longer needed.
|
|
255
|
-
- Simplified `super-pi-extension/index.ts`: removed faulty installation detection and auto-install logic.
|
|
256
|
-
- Pruned slash commands: removed `/run`, `/chain`, `/run-chain`, `/parallel`; kept `/agents` (TUI), `/subagents-status`, `/subagents-doctor`, and `Ctrl+Shift+A` shortcut.
|
|
257
|
-
- Added 8 new tests covering subagent extension structure, agent counts, and integration integrity.
|
|
258
|
-
- 169 tests passing.
|
|
259
|
-
|
|
260
|
-
### 0.21.0 — Delegate subagent tools to pi-subagents
|
|
261
|
-
- Subagent capabilities now provided by the `pi-subagents` package.
|
|
262
|
-
- Removed `subagent` and `parallel_subagent` tool registrations from `ce-core` extension.
|
|
263
|
-
|
|
264
|
-
### 0.20.0 — Extension API migration
|
|
265
|
-
- Migrated `super-pi-extension` to Pi-native factory function format.
|
|
266
|
-
|
|
267
|
-
<details>
|
|
268
|
-
<summary>Older versions</summary>
|
|
269
|
-
|
|
270
|
-
### 0.19.6 — pi-subagents integration extension
|
|
271
|
-
- New `super-pi-extension`: pre-configured CE Agents and CE Chains.
|
|
272
|
-
- New `thinkingStrategy` setting: per-stage thinking level sync.
|
|
273
|
-
|
|
274
|
-
### 0.19.5 — Plan/Work/Review skill rules loading alignment
|
|
275
|
-
- Fixed `02-plan` not loading language-specific rules during the planning phase.
|
|
276
|
-
- Updated all three skills to use a consistent 4-step progressive loading strategy.
|
|
277
|
-
|
|
278
|
-
### 0.19.4 — Read output filter markdown truncation fix
|
|
279
|
-
- Fixed `read-output-filter` over-truncating markdown files.
|
|
280
|
-
- Added 5 new tests. 175 tests passing.
|
|
281
|
-
|
|
282
|
-
### 0.19.3 — Terminate fix + runtime model routing + autoContinue removal
|
|
283
|
-
- Fixed 6 ce-core tools incorrectly returning `terminate: true`.
|
|
284
|
-
- Implemented runtime stage model routing via ce-core extension `input` hook.
|
|
285
|
-
|
|
286
|
-
### 0.19.2 — Evidence-first handoff-lite + docs tracking rule
|
|
287
|
-
- Added `context_handoff` with evidence-first default handoff-lite generation.
|
|
288
|
-
|
|
289
|
-
### 0.19.1 — Pipeline config + typecheck baseline fix
|
|
290
|
-
- Added shared pipeline config for stage model routing.
|
|
291
|
-
|
|
292
|
-
### 0.19.0 — 0.69.0 alignment + learn rename
|
|
293
|
-
- TypeBox migration: `@sinclair/typebox` → `typebox`.
|
|
294
|
-
- Peer/dev dependency upgrade: pi-coding-agent `0.67.6` → `0.69.0`.
|
|
295
|
-
- Skill rename: `05-compound` → `05-learn`.
|
|
296
|
-
|
|
297
|
-
### 0.18.0 — Progressive rules
|
|
298
|
-
- Built-in `rules/` directory with 13 language layers + common + web (78 Markdown files).
|
|
299
|
-
- New `10-rules` skill: progressive on-demand loading.
|
|
300
|
-
|
|
301
|
-
### 0.17.0 — Subagent safety
|
|
302
|
-
- Recursion depth guard prevents runaway nesting.
|
|
303
|
-
- Async mutex for `process.env` concurrency safety.
|
|
304
|
-
|
|
305
|
-
### 0.16.0 — Context optimization
|
|
306
|
-
- Read output filter: structural compression for large code files.
|
|
307
|
-
|
|
308
|
-
### 0.15.0 — Output filtering
|
|
309
|
-
- Bash output filter: smart truncation by command type.
|
|
310
|
-
|
|
311
|
-
### 0.14.0 — Structured solution retrieval
|
|
312
|
-
- YAML frontmatter tagging + grep-first two-level search.
|
|
313
|
-
|
|
314
|
-
### 0.13.0 — Superpowers engineering discipline
|
|
315
|
-
- Strict TDD gates, design checklists, YAGNI checks.
|
|
316
|
-
|
|
317
|
-
### 0.12.0 — Error recovery
|
|
318
|
-
- session_checkpoint fail/retry operations.
|
|
319
|
-
|
|
320
|
-
### 0.11.0 — Pattern extraction
|
|
321
|
-
- New pattern_extractor tool.
|
|
322
|
-
|
|
323
|
-
### 0.10.0 — Continuous learning
|
|
324
|
-
- New session_history tool.
|
|
325
|
-
|
|
326
|
-
### 0.9.0 — Incremental planning
|
|
327
|
-
- New plan_diff tool.
|
|
328
|
-
|
|
329
|
-
### 0.8.0 — Multi-round dialog
|
|
330
|
-
- New brainstorm_dialog tool.
|
|
331
|
-
|
|
332
|
-
### 0.7.0 — Parallel grouping
|
|
333
|
-
- Union-Find based task_splitter.
|
|
334
|
-
|
|
335
|
-
### 0.6.0 — Checkpoint resume
|
|
336
|
-
- New session_checkpoint tool.
|
|
337
|
-
|
|
338
|
-
### 0.5.0 — Parallel execution
|
|
339
|
-
- New parallel_subagent tool.
|
|
340
|
-
|
|
341
|
-
### 0.4.0 — Smart review
|
|
342
|
-
- New review_router tool.
|
|
343
|
-
|
|
344
|
-
### 0.3.0 — Isolated development
|
|
345
|
-
- New worktree_manager + 07-worktree.
|
|
346
|
-
|
|
347
|
-
### 0.2.0 — State awareness
|
|
348
|
-
- New workflow_state + 06-next.
|
|
349
|
-
|
|
350
|
-
### 0.1.0 — Initial release
|
|
351
|
-
- 7 skills, 3 tools.
|
|
352
|
-
|
|
353
|
-
</details>
|
|
354
|
-
|
|
355
|
-
---
|
|
128
|
+
See [CHANGELOG.md](./CHANGELOG.md) for full version history.
|
|
356
129
|
|
|
357
130
|
## Repository
|
|
358
131
|
|
|
@@ -364,4 +137,4 @@ Not a fork. Not a wrapper. Methodologies extracted and rebuilt with Pi's native
|
|
|
364
137
|
```bash
|
|
365
138
|
bun test
|
|
366
139
|
npm publish --dry-run
|
|
367
|
-
```
|
|
140
|
+
```
|