@pi-unipi/notify 2.0.13 → 2.0.15

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.
File without changes
package/commands.ts CHANGED
File without changes
package/events.ts CHANGED
File without changes
package/index.ts CHANGED
@@ -27,6 +27,13 @@ import {
27
27
  const VERSION = getPackageVersion(new URL(".", import.meta.url).pathname);
28
28
 
29
29
  export default function (pi: ExtensionAPI) {
30
+ // Register skills directory
31
+ const skillsDir = new URL("./skills", import.meta.url).pathname;
32
+ pi.on("resources_discover", async () => {
33
+ return {
34
+ skillPaths: [skillsDir],
35
+ };
36
+ });
30
37
 
31
38
  // Register tools and commands
32
39
  registerNotifyTools(pi);
package/ntfy-config.ts CHANGED
File without changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pi-unipi/notify",
3
- "version": "2.0.13",
4
- "description": "Cross-platform notification extension for Pi \u2014 native OS, Gotify, and Telegram notifications for agent lifecycle events",
3
+ "version": "2.0.15",
4
+ "description": "Cross-platform notification extension for Pi native OS, Gotify, and Telegram notifications for agent lifecycle events",
5
5
  "type": "module",
6
6
  "main": "index.ts",
7
7
  "license": "MIT",
@@ -42,7 +42,7 @@
42
42
  "access": "public"
43
43
  },
44
44
  "dependencies": {
45
- "@pi-unipi/core": "2.0.13",
45
+ "@pi-unipi/core": "*",
46
46
  "node-notifier": "^10.0.1"
47
47
  },
48
48
  "peerDependencies": {
@@ -51,7 +51,9 @@
51
51
  "typebox": "^1.1.38"
52
52
  },
53
53
  "pi": {
54
- "extensions": [],
54
+ "extensions": [
55
+ "./index.ts"
56
+ ],
55
57
  "skills": [],
56
58
  "prompts": [],
57
59
  "themes": []
File without changes
File without changes
File without changes
package/settings.ts CHANGED
File without changes
File without changes
package/types.ts CHANGED
File without changes