pi-toggle-skills 0.1.17 → 0.1.19

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 CHANGED
@@ -198,3 +198,9 @@ npm run lint:dead # Dead code detection (knip)
198
198
  ## License
199
199
 
200
200
  MIT
201
+
202
+ ## Pi 0.99 compatibility (0.1.19)
203
+
204
+ Verified native 0.99 extension loading and skill-selector rendering. Custom-screen wrappers now forward focus to their Input, preserving IME cursor positioning across resize and invalidation.
205
+
206
+ Tested with Pi 0.99.0. Host-provided Pi packages are wildcard peers, not bundled dependencies; development uses exact 0.99.0 versions.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-toggle-skills",
3
- "version": "0.1.17",
3
+ "version": "0.1.19",
4
4
  "description": "Toggle skill visibility in pi's system prompt — flip disable-model-invocation on skills via an interactive TUI",
5
5
  "type": "module",
6
6
  "author": "Tom X Nguyen",
@@ -36,8 +36,8 @@
36
36
  "lint:dead": "knip --no-gitignore"
37
37
  },
38
38
  "devDependencies": {
39
- "@earendil-works/pi-coding-agent": "0.86.0",
40
- "@earendil-works/pi-tui": "0.86.0",
39
+ "@earendil-works/pi-coding-agent": "0.99.0",
40
+ "@earendil-works/pi-tui": "0.99.0",
41
41
  "@types/node": "25.9.1",
42
42
  "@vitest/coverage-v8": "4.1.7",
43
43
  "knip": "6.14.1",
@@ -51,5 +51,9 @@
51
51
  "extensions": [
52
52
  "./toggle-skills.ts"
53
53
  ]
54
+ },
55
+ "peerDependencies": {
56
+ "@earendil-works/pi-coding-agent": "*",
57
+ "@earendil-works/pi-tui": "*"
54
58
  }
55
59
  }
package/toggle-skills.ts CHANGED
@@ -217,6 +217,8 @@ async function showToggleSelector(
217
217
  );
218
218
 
219
219
  return {
220
+ get focused() { return selector.focused; },
221
+ set focused(value: boolean) { selector.focused = value; },
220
222
  render(width: number) {
221
223
  return selector.render(width);
222
224
  },