opencode-plugin-apprise 1.2.4 → 1.2.5
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.
|
@@ -77,13 +77,13 @@ function formatNotification(payload) {
|
|
|
77
77
|
case "idle": {
|
|
78
78
|
const parts = [];
|
|
79
79
|
if (context.sessionTitle)
|
|
80
|
-
parts.push(`\uD83D\uDCCC
|
|
80
|
+
parts.push(`\uD83D\uDCCC TITLE: ${context.sessionTitle}`);
|
|
81
81
|
if (context.userRequest)
|
|
82
|
-
parts.push(`\uD83D\uDCDD
|
|
82
|
+
parts.push(`\uD83D\uDCDD REQUEST: ${context.userRequest}`);
|
|
83
83
|
if (context.agentResponse)
|
|
84
|
-
parts.push(`\uD83E\uDD16
|
|
84
|
+
parts.push(`\uD83E\uDD16 RESPONSE: ${context.agentResponse}`);
|
|
85
85
|
if (context.todoStatus)
|
|
86
|
-
parts.push(`\uD83D\uDCCB
|
|
86
|
+
parts.push(`\uD83D\uDCCB TODO: ${context.todoStatus}`);
|
|
87
87
|
body = parts.join(`
|
|
88
88
|
|
|
89
89
|
`);
|
|
@@ -92,11 +92,11 @@ function formatNotification(payload) {
|
|
|
92
92
|
case "question": {
|
|
93
93
|
const parts = [];
|
|
94
94
|
if (context.sessionTitle)
|
|
95
|
-
parts.push(`\uD83D\uDCCC
|
|
95
|
+
parts.push(`\uD83D\uDCCC TITLE: ${context.sessionTitle}`);
|
|
96
96
|
if (context.question)
|
|
97
|
-
parts.push(`❓
|
|
97
|
+
parts.push(`❓ QUESTION: ${context.question}`);
|
|
98
98
|
if (context.options && context.options.length > 0) {
|
|
99
|
-
parts.push(
|
|
99
|
+
parts.push(`OPTIONS:
|
|
100
100
|
${context.options.map((option, index) => ` ${index + 1}. ${option}`).join(`
|
|
101
101
|
`)}`);
|
|
102
102
|
}
|
|
@@ -108,9 +108,9 @@ ${context.options.map((option, index) => ` ${index + 1}. ${option}`).join(`
|
|
|
108
108
|
case "permission": {
|
|
109
109
|
const parts = [];
|
|
110
110
|
if (context.toolName)
|
|
111
|
-
parts.push(`\uD83D\uDD27
|
|
111
|
+
parts.push(`\uD83D\uDD27 TOOL: ${context.toolName}`);
|
|
112
112
|
if (context.action)
|
|
113
|
-
parts.push(`⚡
|
|
113
|
+
parts.push(`⚡ ACTION: ${context.action}`);
|
|
114
114
|
body = parts.join(`
|
|
115
115
|
|
|
116
116
|
`);
|
package/package.json
CHANGED