pi-edit-session-in-place 0.1.13 → 0.1.14

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
@@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## [0.1.14] - 2026-05-29
8
+
9
+ ### Changed
10
+ - updated the local pi development baseline to `@earendil-works/pi-coding-agent` / `@earendil-works/pi-tui` `0.78.0` and regenerated the npm lockfile
11
+ - aligned package tooling metadata with the pi fleet policy: `packageManager` now records the npm 11 major line and `engines.node` is `>=22 <25`
12
+ - refreshed README compatibility notes and the fleet-tested pi marker for `0.78.0`
13
+
14
+ ### Compatibility
15
+ - reviewed the pi `0.78.0` changelog and current extension, TUI, session, and package guidance; the extension continues to use supported command, shortcut, custom editor, and session tree APIs
16
+ - confirmed the new startup session naming, file-link rendering, provider, and argument parsing changes do not require runtime changes for this package
17
+
7
18
  ## [0.1.13] - 2026-05-28
8
19
 
9
20
  ### Changed
package/README.md CHANGED
@@ -6,11 +6,11 @@ A [pi](https://github.com/badlogic/pi-mono) extension that lets you rewind to an
6
6
 
7
7
  Tested with:
8
8
 
9
- - `@earendil-works/pi-coding-agent` `0.77.0`
10
- - `@earendil-works/pi-tui` `0.77.0`
11
- - Node.js `>=22.19.0`
9
+ - `@earendil-works/pi-coding-agent` `0.78.0`
10
+ - `@earendil-works/pi-tui` `0.78.0`
11
+ - Node.js `>=22 <25`
12
12
 
13
- Local development and verification in this repo target pi `0.77.0`. `@earendil-works/pi-coding-agent` and `@earendil-works/pi-tui` stay in `devDependencies` for local typechecking and tests, while pi core packages are declared as optional wildcard peers and the extension relies on pi's bundled runtime packages at execution time. That keeps installs forward-open for future pi releases: npm peer ranges should not block users from trying a newer pi, though runtime behavior is only verified against the tested baseline until a follow-up package release confirms it.
13
+ Local development and verification in this repo target pi `0.78.0`. `@earendil-works/pi-coding-agent` and `@earendil-works/pi-tui` stay in `devDependencies` for local typechecking and tests, while pi core packages are declared as optional wildcard peers and the extension relies on pi's bundled runtime packages at execution time. That keeps installs forward-open for future pi releases: npm peer ranges should not block users from trying a newer pi, though runtime behavior is only verified against the tested baseline until a follow-up package release confirms it.
14
14
 
15
15
  ## What it does
16
16
 
@@ -288,7 +288,7 @@ class EditableMessageSelector extends Container {
288
288
  this.onCancel = onCancel;
289
289
  this.selectedIndex = Math.max(0, messages.length - 1);
290
290
 
291
- this.addChild(new DynamicBorder((text) => theme.fg("accent", text)));
291
+ this.addChild(new DynamicBorder((text: string) => theme.fg("accent", text)));
292
292
  this.addChild(new Spacer(1));
293
293
  this.addChild(new Text(theme.fg("accent", title), 1, 0));
294
294
  this.addChild(new Spacer(1));
@@ -317,7 +317,7 @@ class EditableMessageSelector extends Container {
317
317
  ),
318
318
  );
319
319
  this.addChild(new Spacer(1));
320
- this.addChild(new DynamicBorder((text) => theme.fg("accent", text)));
320
+ this.addChild(new DynamicBorder((text: string) => theme.fg("accent", text)));
321
321
  }
322
322
 
323
323
  private setSelectedIndex(index: number) {
@@ -391,7 +391,7 @@ class ReeditMessageEditor extends Container implements Focusable {
391
391
  this.keybindings = keybindings;
392
392
  this.onCancel = onCancel;
393
393
 
394
- this.addChild(new DynamicBorder((text) => theme.fg("accent", text)));
394
+ this.addChild(new DynamicBorder((text: string) => theme.fg("accent", text)));
395
395
  this.addChild(new Spacer(1));
396
396
  this.addChild(new Text(theme.fg("accent", title), 1, 0));
397
397
  this.addChild(new Spacer(1));
@@ -413,7 +413,7 @@ class ReeditMessageEditor extends Container implements Focusable {
413
413
  ].join(" ");
414
414
  this.addChild(new Text(hint, 1, 0));
415
415
  this.addChild(new Spacer(1));
416
- this.addChild(new DynamicBorder((text) => theme.fg("accent", text)));
416
+ this.addChild(new DynamicBorder((text: string) => theme.fg("accent", text)));
417
417
  }
418
418
 
419
419
  handleInput(data: string): void {
@@ -587,9 +587,8 @@ export default function editSessionInPlace(pi: ExtensionAPI) {
587
587
  },
588
588
  });
589
589
 
590
- // pi 0.65.2 shortcut handlers receive ExtensionContext, which cannot run slash commands
591
- // or navigate the session tree. Keep the custom editor hotkey path for execution, and
592
- // register the shortcut here so it appears in /hotkeys and other shortcut diagnostics.
590
+ // Shortcut handlers receive ExtensionContext, so the custom editor hotkey path performs
591
+ // the command execution while this registration keeps the hotkey discoverable.
593
592
  pi.registerShortcut(HOTKEY, {
594
593
  description: `Edit a previous user message (${HOTKEY_LABEL})`,
595
594
  handler: (ctx) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-edit-session-in-place",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "pi extension that lets you re-edit or delete an earlier user message in the current session branch",
5
5
  "author": "Mitch Fultz (https://github.com/fitchmultz)",
6
6
  "license": "MIT",
@@ -42,11 +42,11 @@
42
42
  "@earendil-works/pi-tui": "*"
43
43
  },
44
44
  "engines": {
45
- "node": ">=22.19.0"
45
+ "node": ">=22 <25"
46
46
  },
47
47
  "devDependencies": {
48
- "@earendil-works/pi-coding-agent": "^0.77.0",
49
- "@earendil-works/pi-tui": "^0.77.0",
48
+ "@earendil-works/pi-coding-agent": "^0.78.0",
49
+ "@earendil-works/pi-tui": "^0.78.0",
50
50
  "@types/node": "^25.9.1",
51
51
  "typescript": "^6.0.3"
52
52
  },
@@ -58,7 +58,7 @@
58
58
  "./extensions"
59
59
  ]
60
60
  },
61
- "packageManager": "npm@11.16.0",
61
+ "packageManager": "npm@11.0.0",
62
62
  "peerDependenciesMeta": {
63
63
  "@earendil-works/pi-coding-agent": {
64
64
  "optional": true