fix(trigger): recover interrupted deliveries

This commit is contained in:
chengyongru authored and Xubin Ren committed 2026-07-02 13:32:46 +08:00
1 parent 55b550ee01
commit 1ed2c9a213
7 files changed
+133 -14

No files matched your search

+4 -1
View File
@@ -147,7 +147,10 @@ External triggers are also session-bound, but they do not have their own
schedule. Create one from the target chat with `/trigger <name>`, then call
`nanobot trigger <id> "<message>"` when a local script or external service wants
nanobot to respond in that session. Webhook servers, third-party auth, and
event-to-message formatting stay outside nanobot.
event-to-message formatting stay outside nanobot. Trigger deliveries are stored
in the workspace until the gateway consumes them and are requeued on gateway
restart if processing was interrupted. Delivery is at-least-once, so external
systems should tolerate repeated trigger messages.
## Where to Go Next