@janvitos/pi-plan-build 0.1.50 → 0.1.51

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 (3) hide show
  1. package/README.md +1 -1
  2. package/index.ts +4 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -41,7 +41,7 @@ Optionally keep the approved plan visible in a docked side panel while implement
41
41
  - **Experimental:** In fullscreen TUI, valid checklist plans also offer **Implement step by step** when Pi Plan Build owns the optional fullscreen layout: a passive, non-overlapping docked right panel keeps the plan visible while natural-language prompts gate steps and report completed work. The panel is visual-only and never captures keyboard input. This feature is still under active development.
42
42
  - Compatible editor decorators can wrap Pi Plan Build's editor without disabling its composer. If another extension replaces rather than invokes that editor, already owns the editor before Plan Build starts, or replaces the fullscreen layout, Plan Build automatically uses reduced UI: it keeps the core Plan/Build workflow and mode status but does not replace that editor or offer a new step-by-step panel.
43
43
  - Staying in Plan mode—or pressing Escape in the approval dialog—produces a durable acknowledgement and stops the run until the user responds.
44
- - Mode state survives reloads, resumes, and forks.
44
+ - Mode state and mode-specific tool availability survive compactions, reloads, resumes, and forks.
45
45
  - When Pi Plan Build's custom editor is active and Pi recreates it, the latest 100 user prompts from the active session branch are restored for Up/Down history navigation.
46
46
 
47
47
  ## Requirements
package/index.ts CHANGED
@@ -750,6 +750,10 @@ export default function planBuildModes(pi: ExtensionAPI): void {
750
750
  return { message: { customType: "pi-plan-build-reminder", content, display: false } };
751
751
  });
752
752
 
753
+ pi.on("turn_end", () => {
754
+ applyTools(runMode ?? selectedMode);
755
+ });
756
+
753
757
  pi.on("agent_settled", async (_event, ctx) => {
754
758
  runMode = undefined;
755
759
  applyTools(selectedMode);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@janvitos/pi-plan-build",
3
- "version": "0.1.50",
3
+ "version": "0.1.51",
4
4
  "description": "Plan safely, approve explicitly, then implement here or in a clean session.",
5
5
  "type": "module",
6
6
  "license": "MIT",