@janvitos/pi-plan-build 0.1.3 → 0.1.5

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 +2 -2
  2. package/index.ts +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -7,7 +7,7 @@ A global [Pi coding agent](https://github.com/badlogic/pi-mono) extension that a
7
7
  ## Features
8
8
 
9
9
  - New sessions start in **Build** mode.
10
- - Bare `Tab` cycles **Build → Plan → Build** and replaces normal Tab autocomplete.
10
+ - Bare `Tab` cycles **Build → Plan → Build**, while active autocomplete dropdowns retain Pi's normal Tab completion.
11
11
  - Bracketed **build** (blue) and **plan** (yellow) indicators rendered as bold prompt prefixes inside Pi's text input box.
12
12
  - `/plan`, `/build`, and the `--plan` startup flag.
13
13
  - Per-session plans at `~/.pi/agent/plans/<session-id>.md`.
@@ -57,7 +57,7 @@ Do not install more than one npm, Git, or local copy at the same time; duplicate
57
57
 
58
58
  | Action | Result |
59
59
  | --- | --- |
60
- | `Tab` | Cycle Build and Plan |
60
+ | `Tab` | Cycle Build and Plan, or accept an active autocomplete selection |
61
61
  | `/plan` | Select Plan mode |
62
62
  | `/build` | Select Build mode |
63
63
  | `pi --plan` | Start a new session in Plan mode |
package/index.ts CHANGED
@@ -412,7 +412,7 @@ export default function planBuildModes(pi: ExtensionAPI): void {
412
412
  }
413
413
 
414
414
  override handleInput(data: string): void {
415
- if (matchesKey(data, Key.tab)) {
415
+ if (matchesKey(data, Key.tab) && !this.isShowingAutocomplete()) {
416
416
  this.onCycle?.();
417
417
  return;
418
418
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@janvitos/pi-plan-build",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Plan safely, approve explicitly, then implement here or in a clean session.",
5
5
  "type": "module",
6
6
  "license": "MIT",