@pi-unipi/notify 2.0.13 → 2.0.14
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/ask-user-prompt-message.ts +0 -0
- package/commands.ts +0 -0
- package/events.ts +0 -0
- package/index.ts +7 -0
- package/ntfy-config.ts +0 -0
- package/package.json +6 -4
- package/platforms/focus-win.ts +0 -0
- package/platforms/focus.ts +0 -0
- package/platforms/native.ts +0 -0
- package/settings.ts +0 -0
- package/tui/settings-overlay.ts +0 -0
- package/types.ts +0 -0
|
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.
|
|
4
|
-
"description": "Cross-platform notification extension for Pi
|
|
3
|
+
"version": "2.0.14",
|
|
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": "
|
|
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": []
|
package/platforms/focus-win.ts
CHANGED
|
File without changes
|
package/platforms/focus.ts
CHANGED
|
File without changes
|
package/platforms/native.ts
CHANGED
|
File without changes
|
package/settings.ts
CHANGED
|
File without changes
|
package/tui/settings-overlay.ts
CHANGED
|
File without changes
|
package/types.ts
CHANGED
|
File without changes
|