@pi-unipi/notify 0.1.11 → 2.0.1

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.
Files changed (2) hide show
  1. package/commands.ts +5 -5
  2. package/package.json +1 -1
package/commands.ts CHANGED
@@ -35,7 +35,7 @@ export function registerNotifyCommands(pi: ExtensionAPI): void {
35
35
  }
36
36
 
37
37
  ctx.ui.custom(
38
- (tui: any, theme: any, _keybindings: any, done: any) => {
38
+ (tui, theme, _keybindings, done) => {
39
39
  const overlay = new NotifySettingsOverlay();
40
40
  overlay.setTheme(theme);
41
41
  overlay.onClose = () => done(undefined);
@@ -103,7 +103,7 @@ export function registerNotifyCommands(pi: ExtensionAPI): void {
103
103
  }
104
104
 
105
105
  ctx.ui.custom(
106
- (tui: any, theme: any, _keybindings: any, done: any) => {
106
+ (tui, theme, _keybindings, done) => {
107
107
  const overlay = new RecapModelSelectorOverlay();
108
108
  overlay.setTheme(theme);
109
109
  overlay.onClose = () => done(undefined);
@@ -143,7 +143,7 @@ export function registerNotifyCommands(pi: ExtensionAPI): void {
143
143
  }
144
144
 
145
145
  ctx.ui.custom(
146
- (tui: any, theme: any, _keybindings: any, done: any) => {
146
+ (tui, theme, _keybindings, done) => {
147
147
  const overlay = new GotifySetupOverlay();
148
148
  overlay.setTheme(theme);
149
149
  overlay.onClose = () => done(undefined);
@@ -183,7 +183,7 @@ export function registerNotifyCommands(pi: ExtensionAPI): void {
183
183
  }
184
184
 
185
185
  ctx.ui.custom(
186
- (tui: any, theme: any, _keybindings: any, done: any) => {
186
+ (tui, theme, _keybindings, done) => {
187
187
  const overlay = new TelegramSetupOverlay();
188
188
  overlay.setTheme(theme);
189
189
  overlay.onClose = () => done(undefined);
@@ -223,7 +223,7 @@ export function registerNotifyCommands(pi: ExtensionAPI): void {
223
223
  }
224
224
 
225
225
  ctx.ui.custom(
226
- (tui: any, theme: any, _keybindings: any, done: any) => {
226
+ (tui, theme, _keybindings, done) => {
227
227
  const overlay = new NtfySetupOverlay();
228
228
  overlay.setTheme(theme);
229
229
  overlay.onClose = () => done(undefined);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-unipi/notify",
3
- "version": "0.1.11",
3
+ "version": "2.0.1",
4
4
  "description": "Cross-platform notification extension for Pi — native OS, Gotify, and Telegram notifications for agent lifecycle events",
5
5
  "type": "module",
6
6
  "license": "MIT",