pi-skillful 0.3.9 → 0.3.11

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
@@ -1,5 +1,7 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.11 - 2026-07-01
4
+
3
5
  ## 0.3.9 - 2026-06-14
4
6
 
5
7
  All notable changes to this project will be documented in this file.
@@ -8,6 +10,15 @@ This project follows the spirit of [Keep a Changelog](https://keepachangelog.com
8
10
 
9
11
  ## [Unreleased]
10
12
 
13
+ ## [0.3.10] - 2026-07-01
14
+
15
+ ### Fixed
16
+
17
+ - Color hidden skills in the startup `[Skills]` list on `@earendil-works/pi-coding-agent` 0.80+. The 0.80 release moved the loaded-resources container out of `chatContainer`, so the existing prototype patch walked the wrong container and the red/dim colorization no longer applied. The patch now also walks `loadedResourcesContainer`, where 0.80 actually renders the `[Skills]` section.
18
+ - Bumped dev dependency range to `^0.80.0` to match the new floor.
19
+
20
+ ## [0.3.9] - 2026-06-14
21
+
11
22
  ### Fixed
12
23
 
13
24
  - Skipped Pi package-bundled skills when applying hidden-skill and toggle-slot configuration so `skillful` only affects global and project skills.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-skillful",
3
- "version": "0.3.9",
3
+ "version": "0.3.11",
4
4
  "description": "Pi package with skill invocation and visibility improvements.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -45,9 +45,9 @@
45
45
  "@earendil-works/pi-tui": "*"
46
46
  },
47
47
  "devDependencies": {
48
- "@earendil-works/pi-coding-agent": "^0.78.0",
49
- "@earendil-works/pi-tui": "^0.78.0",
50
- "@types/node": "^25.6.2",
48
+ "@earendil-works/pi-coding-agent": "^0.80.0",
49
+ "@earendil-works/pi-tui": "^0.80.0",
50
+ "@types/node": "^25.9.3",
51
51
  "typescript": "^6.0.3"
52
52
  },
53
53
  "scripts": {
@@ -42,7 +42,7 @@ interface BoxLike {
42
42
  }
43
43
 
44
44
  interface InteractiveModeLike {
45
- chatContainer?: BoxLike;
45
+ loadedResourcesContainer?: BoxLike;
46
46
  showLoadedResources?: (options?: unknown) => void;
47
47
  session?: { resourceLoader?: { getSkills: () => { skills: Skill[]; diagnostics: unknown[] } } };
48
48
  sessionManager?: { getCwd?: () => string };
@@ -202,7 +202,7 @@ function installStartupSkillListPatch(): void {
202
202
  return result;
203
203
  };
204
204
 
205
- const childrenBefore = this.chatContainer?.children.length ?? 0;
205
+ const childrenBefore = this.loadedResourcesContainer?.children.length ?? 0;
206
206
 
207
207
  try {
208
208
  original.call(this, options);
@@ -210,17 +210,18 @@ function installStartupSkillListPatch(): void {
210
210
  loader.getSkills = originalGetSkills;
211
211
  }
212
212
 
213
- if (rawSkillNames.length === 0 || !cwd || !this.chatContainer) return;
213
+ if (rawSkillNames.length === 0 || !cwd || !this.loadedResourcesContainer) return;
214
214
 
215
- const children = this.chatContainer.children;
215
+ const children = this.loadedResourcesContainer.children;
216
216
  for (let i = childrenBefore; i < children.length; i++) {
217
217
  const child = children[i] as ExpandableTextLike | undefined;
218
218
  if (!child || typeof child.getCollapsedText !== "function") continue;
219
219
  const collapsed = child.getCollapsedText();
220
220
  if (!collapsed.includes("[Skills]")) continue;
221
221
 
222
- child.getCollapsedText = () => buildColorizedSkillList(rawSkillNames, store.lastHiddenSkills, store.theme);
223
- child.setText(child.getCollapsedText());
222
+ const colorized = buildColorizedSkillList(rawSkillNames, store.lastHiddenSkills, store.theme);
223
+ child.getCollapsedText = () => colorized;
224
+ child.setText(colorized);
224
225
  break;
225
226
  }
226
227
  };