opencode-plugin-apprise 1.2.8 → 1.2.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.
|
@@ -286,7 +286,7 @@ function createIdleHook(ctx, config, dedup, delayMs = 30000) {
|
|
|
286
286
|
todoStatus = formatTodoStatus(todosResponse.data);
|
|
287
287
|
}
|
|
288
288
|
} catch {}
|
|
289
|
-
const payload = createPayload("idle", "
|
|
289
|
+
const payload = createPayload("idle", "OpenCode Attention Required", {
|
|
290
290
|
sessionTitle,
|
|
291
291
|
userRequest,
|
|
292
292
|
agentResponse,
|
|
@@ -321,7 +321,7 @@ function createPermissionHooks(ctx, config, dedup) {
|
|
|
321
321
|
sessionTitle = sessionInfo.title || undefined;
|
|
322
322
|
} catch {}
|
|
323
323
|
}
|
|
324
|
-
const payload = createPayload("permission", "
|
|
324
|
+
const payload = createPayload("permission", "OpenCode Permission Required", {
|
|
325
325
|
sessionTitle,
|
|
326
326
|
toolName: title,
|
|
327
327
|
action
|
|
@@ -346,7 +346,7 @@ function createPermissionHooks(ctx, config, dedup) {
|
|
|
346
346
|
sessionTitle = sessionInfo.title || undefined;
|
|
347
347
|
} catch {}
|
|
348
348
|
}
|
|
349
|
-
const payload = createPayload("permission", "
|
|
349
|
+
const payload = createPayload("permission", "OpenCode Permission Required", {
|
|
350
350
|
sessionTitle,
|
|
351
351
|
toolName: props.permission ?? "Unknown",
|
|
352
352
|
action: props.patterns?.join(", ") ?? "Unknown"
|
|
@@ -388,7 +388,7 @@ function createQuestionHook(ctx, config, dedup, delayMs = 30000) {
|
|
|
388
388
|
const sessionInfo = sessionResponse.data;
|
|
389
389
|
sessionTitle = sessionInfo.title || undefined;
|
|
390
390
|
} catch {}
|
|
391
|
-
const payload = createPayload("question", "
|
|
391
|
+
const payload = createPayload("question", "OpenCode Question", {
|
|
392
392
|
sessionTitle,
|
|
393
393
|
question,
|
|
394
394
|
options: options.length > 0 ? options : undefined
|
package/package.json
CHANGED