@pi-unipi/notify 2.0.7 → 2.0.8

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/commands.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Registers slash commands for notification configuration and testing.
5
5
  */
6
6
 
7
- import type { ExtensionAPI, ExtensionContext } from "@mariozechner/pi-coding-agent";
7
+ import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent";
8
8
  import { UNIPI_PREFIX } from "@pi-unipi/core";
9
9
  import { NOTIFY_COMMANDS } from "@pi-unipi/core";
10
10
  import { NotifySettingsOverlay } from "./tui/settings-overlay.js";
package/events.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * Supports built-in events and dynamic discovery via MODULE_READY.
6
6
  */
7
7
 
8
- import type { ExtensionAPI, ExtensionContext } from "@mariozechner/pi-coding-agent";
8
+ import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent";
9
9
  import { UNIPI_EVENTS, emitEvent } from "@pi-unipi/core";
10
10
  import type { NotifyConfig, NotifyPlatform, NotifyDispatchResult } from "./types.js";
11
11
  import { loadNtfyConfig } from "./ntfy-config.js";
package/index.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * Bridges agent lifecycle events to external platforms (native OS, Gotify, Telegram).
6
6
  */
7
7
 
8
- import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
8
+ import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
9
9
  import {
10
10
  UNIPI_EVENTS,
11
11
  MODULES,
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@pi-unipi/notify",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "description": "Cross-platform notification extension for Pi — native OS, Gotify, and Telegram notifications for agent lifecycle events",
5
5
  "type": "module",
6
+ "main": "index.ts",
6
7
  "license": "MIT",
7
8
  "author": "Neuron Mr White",
8
9
  "repository": {
@@ -53,8 +54,8 @@
53
54
  "node-notifier": "^10.0.1"
54
55
  },
55
56
  "peerDependencies": {
56
- "@mariozechner/pi-coding-agent": "*",
57
- "@mariozechner/pi-tui": "*",
58
- "@sinclair/typebox": "*"
57
+ "@earendil-works/pi-coding-agent": "^0.75.5",
58
+ "@earendil-works/pi-tui": "^0.75.5",
59
+ "typebox": "^1.1.38"
59
60
  }
60
61
  }
package/tools.ts CHANGED
@@ -4,8 +4,8 @@
4
4
  * Registers the `notify_user` tool for ad-hoc notifications.
5
5
  */
6
6
 
7
- import type { ExtensionAPI, ExtensionContext } from "@mariozechner/pi-coding-agent";
8
- import { Type } from "@sinclair/typebox";
7
+ import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent";
8
+ import { Type } from "typebox";
9
9
  import { NOTIFY_TOOLS } from "@pi-unipi/core";
10
10
  import { loadConfig } from "./settings.js";
11
11
  import { dispatchNotification } from "./events.js";
@@ -6,9 +6,9 @@
6
6
  * Tests connection before saving.
7
7
  */
8
8
 
9
- import type { Component } from "@mariozechner/pi-tui";
10
- import { truncateToWidth, visibleWidth } from "@mariozechner/pi-tui";
11
- import type { Theme } from "@mariozechner/pi-coding-agent";
9
+ import type { Component } from "@earendil-works/pi-tui";
10
+ import { truncateToWidth, visibleWidth } from "@earendil-works/pi-tui";
11
+ import type { Theme } from "@earendil-works/pi-coding-agent";
12
12
  import { sendGotifyNotification } from "../platforms/gotify.js";
13
13
  import { updateConfig, loadConfig } from "../settings.js";
14
14
 
package/tui/ntfy-setup.ts CHANGED
@@ -6,9 +6,9 @@
6
6
  * Tests connection before saving.
7
7
  */
8
8
 
9
- import type { Component } from "@mariozechner/pi-tui";
10
- import { truncateToWidth, visibleWidth } from "@mariozechner/pi-tui";
11
- import type { Theme } from "@mariozechner/pi-coding-agent";
9
+ import type { Component } from "@earendil-works/pi-tui";
10
+ import { truncateToWidth, visibleWidth } from "@earendil-works/pi-tui";
11
+ import type { Theme } from "@earendil-works/pi-coding-agent";
12
12
  import { sendNtfyNotification } from "../platforms/ntfy.js";
13
13
  import { loadNtfyConfig, saveNtfyConfig, getNtfyConfigScope } from "../ntfy-config.js";
14
14
 
@@ -5,9 +5,9 @@
5
5
  * Uses the project-wide cached model list from ~/.unipi/config/models-cache.json.
6
6
  */
7
7
 
8
- import type { Component } from "@mariozechner/pi-tui";
9
- import { truncateToWidth, visibleWidth } from "@mariozechner/pi-tui";
10
- import type { Theme } from "@mariozechner/pi-coding-agent";
8
+ import type { Component } from "@earendil-works/pi-tui";
9
+ import { truncateToWidth, visibleWidth } from "@earendil-works/pi-tui";
10
+ import type { Theme } from "@earendil-works/pi-coding-agent";
11
11
  import { readModelCache, type CachedModel } from "@pi-unipi/core";
12
12
  import { loadConfig, saveConfig } from "../settings.js";
13
13
 
@@ -5,9 +5,9 @@
5
5
  * Allows toggling platforms, configuring credentials, and per-event settings.
6
6
  */
7
7
 
8
- import type { Component } from "@mariozechner/pi-tui";
9
- import { truncateToWidth, visibleWidth } from "@mariozechner/pi-tui";
10
- import type { Theme } from "@mariozechner/pi-coding-agent";
8
+ import type { Component } from "@earendil-works/pi-tui";
9
+ import { truncateToWidth, visibleWidth } from "@earendil-works/pi-tui";
10
+ import type { Theme } from "@earendil-works/pi-coding-agent";
11
11
  import {
12
12
  loadConfig,
13
13
  saveConfig,
@@ -5,9 +5,9 @@
5
5
  * Guides user through BotFather flow and auto-detects chat ID.
6
6
  */
7
7
 
8
- import type { Component } from "@mariozechner/pi-tui";
9
- import { truncateToWidth, visibleWidth } from "@mariozechner/pi-tui";
10
- import type { Theme } from "@mariozechner/pi-coding-agent";
8
+ import type { Component } from "@earendil-works/pi-tui";
9
+ import { truncateToWidth, visibleWidth } from "@earendil-works/pi-tui";
10
+ import type { Theme } from "@earendil-works/pi-coding-agent";
11
11
  import { pollForChatId } from "../platforms/telegram.js";
12
12
  import { updateConfig } from "../settings.js";
13
13