pi-toggle-skills 0.1.18 → 0.1.20

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,16 @@ npm run lint:dead # Dead code detection (knip)
198
198
  ## License
199
199
 
200
200
  MIT
201
+
202
+ ## Pi 1.0 compatibility (0.1.20)
203
+
204
+ Tested against Pi **1.0.0** with exact SDK development pins and wildcard host peers.
205
+ Real-host command registration and skill frontmatter toggling are verified, alongside selector IME/width tests.
206
+
207
+ Run `bun run test:host` for the offline real-host regression. Set `PI1_HOST_PACKAGE` to an installed Pi package directory and `PI1_HOST_ENTRY=bundle` to test its bundled CLI runtime.
208
+
209
+ ## Pi 0.99 compatibility (0.1.19)
210
+
211
+ 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.
212
+
213
+ 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.18",
3
+ "version": "0.1.20",
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",
@@ -29,6 +29,7 @@
29
29
  "README.md"
30
30
  ],
31
31
  "scripts": {
32
+ "test:host": "node scripts/pi1-host.mjs",
32
33
  "test": "vitest run",
33
34
  "test:watch": "vitest",
34
35
  "test:coverage": "vitest run --coverage",
@@ -36,8 +37,8 @@
36
37
  "lint:dead": "knip --no-gitignore"
37
38
  },
38
39
  "devDependencies": {
39
- "@earendil-works/pi-coding-agent": "0.87.0",
40
- "@earendil-works/pi-tui": "0.87.0",
40
+ "@earendil-works/pi-coding-agent": "1.0.0",
41
+ "@earendil-works/pi-tui": "1.0.0",
41
42
  "@types/node": "25.9.1",
42
43
  "@vitest/coverage-v8": "4.1.7",
43
44
  "knip": "6.14.1",
@@ -51,5 +52,9 @@
51
52
  "extensions": [
52
53
  "./toggle-skills.ts"
53
54
  ]
55
+ },
56
+ "peerDependencies": {
57
+ "@earendil-works/pi-coding-agent": "*",
58
+ "@earendil-works/pi-tui": "*"
54
59
  }
55
60
  }
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
  },