@phi-code-admin/phi-code 0.57.3 → 0.57.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.
@@ -10,7 +10,7 @@
10
10
  * - Automatic skill discovery at startup
11
11
  * - Keyword-based skill detection and loading
12
12
  * - /skills command to list available skills
13
- * - Contextual skill injection via pi.sendHookMessage
13
+ * - Contextual skill injection via ui notifications
14
14
  *
15
15
  * Usage:
16
16
  * 1. Copy to packages/coding-agent/extensions/phi/skill-loader.ts
@@ -241,10 +241,9 @@ ${skill.content}
241
241
  ---
242
242
  This skill was automatically loaded based on your request. Use this knowledge to assist with the task.`;
243
243
 
244
- await pi.sendHookMessage({
245
- role: "system",
246
- content: skillMessage,
247
- }, { source: "extension" });
244
+ // Notify the model about the relevant skill content
245
+ // The model can then use the `read` tool to load the full SKILL.md
246
+ ctx.ui.notify(`📚 Relevant skill loaded: **${skill.name}**\n${skill.description}\nUse \`read ${skill.path}\` for full content.`, "info");
248
247
  }
249
248
 
250
249
  // Notify user which skills were loaded
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phi-code-admin/phi-code",
3
- "version": "0.57.3",
3
+ "version": "0.57.4",
4
4
  "description": "Coding agent CLI with read, bash, edit, write tools and session management",
5
5
  "type": "module",
6
6
  "piConfig": {