Commit Graph
3 Commits
Author SHA1 Message Date
rogee 090f8b6e7a fix: align gateway agent URL and JSON payload contracts 2026-10-09 10:25:39 +08:00
rogee d9e57c4900 feat(gateway)!: drop HTTP listener, run outbound agent only
- delete GatewayHTTPServer/GatewayHandler, create_server, /healthz and
  /v1/channel; event_channel module removed
- load_config now requires CREATOR_PLATFORM_URL + CREATOR_GATEWAY_KEY
- run() wires Gateway into OutboundAgent; SIGINT/SIGTERM stop the agent
- deploy env example, install script, systemd unit docs and deployment
  docs updated to the outbound model; NATIVE_GATEWAY_ENDPOINT dead dev
  config removed
2026-10-09 08:25:27 +08:00
rogee 469b283ac2 feat(gateway): outbound agent with task dispatch and event bridge
- OutboundAgent dials /v1/agent with bearer access key, blocking recv
- heartbeat thread reports version; backoff reconnect on failure
- task frames dispatch through shared route_gateway_request with
  duplicate-id idempotent rejection (409) and explicit error mapping
- event bridge pushes SubscriptionManager pending deliveries, honors
  event_ack/event_nack, repushes unconfirmed batches after reconnect
2026-10-09 07:34:50 +08:00