I love this plugin, and I wanted to customize what would come to my ntfy notification via the config file. I tried this based on the README and it stopped ntfy from happening at all:
{
"backend": {
"topic": "topic-name",
"title": {
"session.idle": { "value": "{project}: Done" },
"session.error": { "value": "{project}: Error" },
"session.ask": { "value": "{project}: Permission Required" }
},
"message": {
"session.error": { "value": "{project}: Error occurred: {error}" },
"session.idle": { "value": "{project}: Task is done" },
"session.ask": { "value": "{project}: Agent needs your permission to proceed" }
}
}
It does work with a simpler one though:
{
"backend": {
"topic": "topic-name"
}
}
I love this plugin, and I wanted to customize what would come to my ntfy notification via the config file. I tried this based on the README and it stopped ntfy from happening at all:
{ "backend": { "topic": "topic-name", "title": { "session.idle": { "value": "{project}: Done" }, "session.error": { "value": "{project}: Error" }, "session.ask": { "value": "{project}: Permission Required" } }, "message": { "session.error": { "value": "{project}: Error occurred: {error}" }, "session.idle": { "value": "{project}: Task is done" }, "session.ask": { "value": "{project}: Agent needs your permission to proceed" } } }It does work with a simpler one though:
{ "backend": { "topic": "topic-name" } }