pi-toggle-skills 0.1.4 → 0.1.6

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
@@ -70,6 +70,12 @@ When a skill has `disable-model-invocation: true`, pi excludes it from the syste
70
70
 
71
71
  **With `pi install`** (recommended):
72
72
 
73
+ ```bash
74
+ pi install npm:pi-toggle-skills
75
+ ```
76
+
77
+ Or install from GitHub:
78
+
73
79
  ```bash
74
80
  pi install https://github.com/monotykamary/pi-toggle-skills
75
81
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-toggle-skills",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
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",
@@ -28,20 +28,14 @@
28
28
  "src/",
29
29
  "README.md"
30
30
  ],
31
- "scripts": {
32
- "test": "vitest run",
33
- "test:watch": "vitest",
34
- "test:coverage": "vitest run --coverage",
35
- "typecheck": "tsc --noEmit",
36
- "lint:dead": "knip --no-gitignore"
37
- },
38
31
  "devDependencies": {
39
- "@earendil-works/pi-coding-agent": "0.75.4",
32
+ "@earendil-works/pi-coding-agent": "0.79.4",
40
33
  "@types/node": "25.9.1",
41
34
  "@vitest/coverage-v8": "4.1.7",
42
35
  "knip": "6.14.1",
43
36
  "typescript": "6.0.3",
44
- "vitest": "4.1.7"
37
+ "vitest": "4.1.7",
38
+ "@earendil-works/pi-tui": "0.79.4"
45
39
  },
46
40
  "dependencies": {
47
41
  "gray-matter": "^4.0.3"
@@ -50,5 +44,13 @@
50
44
  "extensions": [
51
45
  "./toggle-skills.ts"
52
46
  ]
47
+ },
48
+ "peerDependencies": {},
49
+ "scripts": {
50
+ "test": "vitest run",
51
+ "test:watch": "vitest",
52
+ "test:coverage": "vitest run --coverage",
53
+ "typecheck": "tsc --noEmit",
54
+ "lint:dead": "knip --no-gitignore"
53
55
  }
54
- }
56
+ }
package/toggle-skills.ts CHANGED
@@ -30,18 +30,6 @@ export default function (pi: ExtensionAPI) {
30
30
 
31
31
  pi.on("session_start", async (_event, ctx) => {
32
32
  currentSkills = discoverSkills(ctx.cwd);
33
-
34
- if (currentSkills.length > 0) {
35
- const hidden = currentSkills.filter((s) => s.disabled).length;
36
- const visible = currentSkills.length - hidden;
37
-
38
- if (ctx.hasUI) {
39
- ctx.ui.notify(
40
- `pi-toggle-skills: ${visible} visible, ${hidden} hidden skill(s) — use /toggle-skills to manage`,
41
- "info",
42
- );
43
- }
44
- }
45
33
  });
46
34
 
47
35
  pi.registerCommand("toggle-skills", {