opencode-plugin-apprise 1.2.5 → 1.2.6

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.
@@ -51,6 +51,11 @@ function createDedupChecker() {
51
51
  }
52
52
 
53
53
  // src/formatter.ts
54
+ var SEPARATOR = `
55
+
56
+ ────────────────────
57
+
58
+ `;
54
59
  var TYPE_MAP = {
55
60
  idle: "info",
56
61
  question: "warning",
@@ -84,9 +89,7 @@ function formatNotification(payload) {
84
89
  parts.push(`\uD83E\uDD16 RESPONSE: ${context.agentResponse}`);
85
90
  if (context.todoStatus)
86
91
  parts.push(`\uD83D\uDCCB TODO: ${context.todoStatus}`);
87
- body = parts.join(`
88
-
89
- `);
92
+ body = parts.join(SEPARATOR);
90
93
  break;
91
94
  }
92
95
  case "question": {
@@ -100,9 +103,7 @@ function formatNotification(payload) {
100
103
  ${context.options.map((option, index) => ` ${index + 1}. ${option}`).join(`
101
104
  `)}`);
102
105
  }
103
- body = parts.join(`
104
-
105
- `);
106
+ body = parts.join(SEPARATOR);
106
107
  break;
107
108
  }
108
109
  case "permission": {
@@ -111,9 +112,7 @@ ${context.options.map((option, index) => ` ${index + 1}. ${option}`).join(`
111
112
  parts.push(`\uD83D\uDD27 TOOL: ${context.toolName}`);
112
113
  if (context.action)
113
114
  parts.push(`⚡ ACTION: ${context.action}`);
114
- body = parts.join(`
115
-
116
- `);
115
+ body = parts.join(SEPARATOR);
117
116
  break;
118
117
  }
119
118
  default:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-plugin-apprise",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "OpenCode plugin that sends rich notifications via Apprise CLI when the agent needs your attention",
5
5
  "type": "module",
6
6
  "main": "dist/opencode-plugin-apprise.js",