v0.14.0 — in-process opencode notifier replaces the forwarder service #35

Merged
kamilkrzywda merged 3 commits from feat/opencode-notifier into main 2026-09-25 16:17:39 +02:00
Owner

Ports ops/forwarder (standalone Python HTTPServer, flaky) into the NestJS app as an in-process OpencodeService:

  • RX text on MESH_NOTIFY_CHANNEL → bot calls the opencode API directly (workspace resolve → session pin/discovery → message POST), same wrapper text, Basic auth, 15 s timeouts, retry backoff 2s/10s/30s ×4
  • Preserved semantics: read timeout on the final message POST = DELIVERED (opencode holds the response until the agent turn finishes) → success, no duplicate injection
  • MESH_NOTIFY_URL webhook removed (its only consumer was the forwarder); channel gate + self-echo filter kept
  • compose: forwarder service deleted; bot gains OPENCODE_API/WORKSPACE_PATH/SESSION/USER/PASS env
  • tests 80 → 88, build + oxlint clean

Closes the "forwarder is very unstable" issue — one less process to babysit.

Ports `ops/forwarder` (standalone Python HTTPServer, flaky) into the NestJS app as an in-process `OpencodeService`: - RX text on `MESH_NOTIFY_CHANNEL` → bot calls the opencode API directly (workspace resolve → session pin/discovery → message POST), same wrapper text, Basic auth, 15 s timeouts, retry backoff 2s/10s/30s ×4 - Preserved semantics: read timeout on the final message POST = DELIVERED (opencode holds the response until the agent turn finishes) → success, no duplicate injection - `MESH_NOTIFY_URL` webhook removed (its only consumer was the forwarder); channel gate + self-echo filter kept - compose: forwarder service deleted; bot gains `OPENCODE_API/WORKSPACE_PATH/SESSION/USER/PASS` env - tests 80 → 88, build + oxlint clean Closes the "forwarder is very unstable" issue — one less process to babysit.
kamilkrzywda added 3 commits 2026-09-25 16:17:33 +02:00
kamilkrzywda merged commit b677c05681 into main 2026-09-25 16:17:39 +02:00
kamilkrzywda deleted branch feat/opencode-notifier 2026-09-25 16:17:39 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: OpenCode/MeshBot#35