pi-all-notification 1.0.7 → 1.0.9

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.
@@ -281,7 +281,9 @@ export default function (pi: ExtensionAPI) {
281
281
  parameters: Type.Object({
282
282
  title: Type.String({ description: "Notification title (keep short, e.g. 'Build Complete')" }),
283
283
  message: Type.String({ description: "Notification body (task summary, error detail, etc.)" }),
284
- priority: Type.Optional(StringEnum(["normal", "high", "critical"] as const)),
284
+ priority: Type.Optional(
285
+ Type.Unsafe<"normal" | "high" | "critical">(StringEnum(["normal", "high", "critical"] as const)),
286
+ ),
285
287
  }),
286
288
  async execute(_toolCallId, params, _signal, _onUpdate, _ctx) {
287
289
  const cfg = loadConfig();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-all-notification",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "Multi-channel notification for pi: macOS desktop, Bark push, custom webhook",
5
5
  "keywords": [
6
6
  "pi-package",
@@ -29,7 +29,8 @@
29
29
  "typescript": "^7.0.2"
30
30
  },
31
31
  "overrides": {
32
- "undici": "^8.12.3"
32
+ "undici": "^8.12.3",
33
+ "minimatch": "11.0.3"
33
34
  },
34
35
  "peerDependencies": {
35
36
  "@earendil-works/pi-coding-agent": "^1.3.0",