pi-prompt-template-model 0.6.3 → 0.6.4

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
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.6.4] - 2026-03-23
6
+
7
+ ### Fixed
8
+ - Updated skill command resolution to use `sourceInfo.path` instead of the removed `path` field on `SlashCommandInfo`, fixing compatibility with pi-coding-agent 0.62.0 source provenance changes.
9
+
5
10
  ## [0.6.3] - 2026-03-21
6
11
 
7
12
  ### Added
package/index.ts CHANGED
@@ -131,9 +131,9 @@ export default function promptModelExtension(pi: ExtensionAPI) {
131
131
 
132
132
  for (const command of pi.getCommands()) {
133
133
  if (command.source !== "skill") continue;
134
- if (!command.path) continue;
134
+ if (!command.sourceInfo.path) continue;
135
135
  if (!candidates.has(command.name)) continue;
136
- return command.path;
136
+ return command.sourceInfo.path;
137
137
  }
138
138
 
139
139
  return undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-prompt-template-model",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "type": "module",
5
5
  "description": "Prompt template model selector extension for pi coding agent",
6
6
  "author": "Nico Bailon",