@difflab/pi 0.3.0-rc.202609200047.ac3661a → 0.3.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.
- package/README.md +2 -22
- package/agents/diffpi-orchestrator.md +0 -10
- package/agents/diffpi-worker.md +1 -9
- package/dist/commands/index.d.ts +0 -1
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/commands/review.d.ts.map +1 -1
- package/dist/environment.d.ts.map +1 -1
- package/dist/extensions/index.js +844 -2773
- package/dist/extensions/zedx.d.ts +0 -2
- package/dist/extensions/zedx.d.ts.map +1 -1
- package/dist/index.d.ts +2 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +128 -1140
- package/dist/setup.d.ts.map +1 -1
- package/dist/store.d.ts +0 -1
- package/dist/store.d.ts.map +1 -1
- package/dist/tools/index.d.ts +0 -1
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +678 -2400
- package/package.json +1 -4
- package/agents/diffpi-planner.md +0 -30
- package/dist/cli/plan.d.ts +0 -7
- package/dist/cli/plan.d.ts.map +0 -1
- package/dist/cli.d.ts +0 -3
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js +0 -729
- package/dist/commands/background.d.ts +0 -39
- package/dist/commands/background.d.ts.map +0 -1
- package/dist/commands/plan.d.ts +0 -21
- package/dist/commands/plan.d.ts.map +0 -1
- package/dist/plan/annotations.d.ts +0 -25
- package/dist/plan/annotations.d.ts.map +0 -1
- package/dist/plan/escalation.d.ts +0 -4
- package/dist/plan/escalation.d.ts.map +0 -1
- package/dist/plan/execution.d.ts +0 -19
- package/dist/plan/execution.d.ts.map +0 -1
- package/dist/plan/index.d.ts +0 -15
- package/dist/plan/index.d.ts.map +0 -1
- package/dist/plan/lock.d.ts +0 -7
- package/dist/plan/lock.d.ts.map +0 -1
- package/dist/plan/log.d.ts +0 -5
- package/dist/plan/log.d.ts.map +0 -1
- package/dist/plan/markdown.d.ts +0 -6
- package/dist/plan/markdown.d.ts.map +0 -1
- package/dist/plan/store.d.ts +0 -34
- package/dist/plan/store.d.ts.map +0 -1
- package/dist/plan/transitions.d.ts +0 -9
- package/dist/plan/transitions.d.ts.map +0 -1
- package/dist/plan/types.d.ts +0 -146
- package/dist/plan/types.d.ts.map +0 -1
- package/dist/tools/plan.d.ts +0 -6
- package/dist/tools/plan.d.ts.map +0 -1
- package/skills/plan/SKILL.md +0 -13
- package/skills/plan/references/workflows/annotate.md +0 -6
- package/skills/plan/references/workflows/finalize.md +0 -7
- package/skills/plan/references/workflows/go.md +0 -7
- package/skills/plan/references/workflows/help.md +0 -13
- package/skills/plan/references/workflows/init.md +0 -6
- package/skills/plan/references/workflows/new.md +0 -7
- package/skills/plan/references/workflows/update.md +0 -7
- package/templates/plan/PLAN.md +0 -38
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@difflab/pi",
|
|
3
|
-
"version": "0.3.0
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Tools and skills for the pi coding agent",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,9 +17,6 @@
|
|
|
17
17
|
"type": "module",
|
|
18
18
|
"main": "./dist/index.js",
|
|
19
19
|
"types": "./dist/index.d.ts",
|
|
20
|
-
"bin": {
|
|
21
|
-
"diffpi": "./dist/cli.js"
|
|
22
|
-
},
|
|
23
20
|
"exports": {
|
|
24
21
|
".": {
|
|
25
22
|
"types": "./dist/index.d.ts",
|
package/agents/diffpi-planner.md
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: planner
|
|
3
|
-
display_name: Planner
|
|
4
|
-
description: Author and revise durable implementation plans without changing source code.
|
|
5
|
-
prompt_mode: replace
|
|
6
|
-
inline: true
|
|
7
|
-
run_in_background: true
|
|
8
|
-
model: openai-codex/gpt-5.6-sol
|
|
9
|
-
model_fallbacks: meridian/claude-opus-4-8, meridian/claude-opus-5, deepseek/deepseek-v4-pro, qwen-token-plan/qwen3.7-plus
|
|
10
|
-
thinking: high
|
|
11
|
-
tools: read, grep, find, ask_user_question, plan_context, plan_init, plan_update_overview, plan_add_phase, plan_remove_phase, plan_update_phase, plan_validate, plan_annotations, plan_ack_annotations, diffpi_modes_set, diffpi_modes_unset
|
|
12
|
-
metadata:
|
|
13
|
-
model-tier: frontier
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
You are the Diffpi planning agent. Create repository-grounded plans and revise unfinished work. Do not edit source files, write implementation files, or commit Git changes.
|
|
17
|
-
|
|
18
|
-
## Plan quality
|
|
19
|
-
|
|
20
|
-
- Call `plan_context` before changing a plan.
|
|
21
|
-
- Inspect the repository before proposing phases. Resolve research during planning; do not leave research tasks for implementation.
|
|
22
|
-
- Keep stable lowercase phase and task IDs. Give each task explicit dependencies, file scopes, steps, and acceptance criteria.
|
|
23
|
-
- Keep Design at 300 words or fewer when practical and never finalize it above 800 words.
|
|
24
|
-
- Preserve completed work and evidence. Amend only draft, pending, or blocked work.
|
|
25
|
-
- Call `plan_validate` after authoring and use strict validation before marking a plan ready.
|
|
26
|
-
- Read pending annotations before applying update instructions. Acknowledge only comments that were applied.
|
|
27
|
-
|
|
28
|
-
Use `ask_user_question` for every interactive decision. Never ask a question in plain chat. When running in the background, do not ask questions. Record assumptions when safe; otherwise return a concise blocker that identifies the unresolved decision.
|
|
29
|
-
|
|
30
|
-
For a worker blocker, use its validated escalation payload and evidence. Revise only the affected pending or blocked entity. Do not implement the fix yourself or erase prior execution history.
|
package/dist/cli/plan.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export interface PlanCliIO {
|
|
2
|
-
stdout: Pick<NodeJS.WriteStream, 'write'>;
|
|
3
|
-
stderr: Pick<NodeJS.WriteStream, 'write'>;
|
|
4
|
-
}
|
|
5
|
-
export declare function runPlanCli(args: string[], io?: PlanCliIO): Promise<number>;
|
|
6
|
-
export declare function planCliHelp(): string;
|
|
7
|
-
//# sourceMappingURL=plan.d.ts.map
|
package/dist/cli/plan.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plan.d.ts","sourceRoot":"","sources":["../../src/cli/plan.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;IAC1C,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;CAC3C;AAED,wBAAsB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,GAAE,SAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,CAgCzF;AAED,wBAAgB,WAAW,IAAI,MAAM,CAEpC"}
|
package/dist/cli.d.ts
DELETED
package/dist/cli.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAIA,wBAAsB,IAAI,CAAC,IAAI,WAAwB,GAAG,OAAO,CAAC,MAAM,CAAC,CAQxE"}
|