@agora-build/atem 0.4.99 → 0.4.102

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.
Files changed (2) hide show
  1. package/README.md +5 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -79,6 +79,9 @@ atem serv rtc --background # Run as background daemon
79
79
  atem serv diagrams # Host diagrams from SQLite (HTTP)
80
80
  atem serv diagrams --port 9000
81
81
  atem serv diagrams --background
82
+ atem serv webhooks # Receive Agora webhooks locally (auto-tunneled via ngrok)
83
+ atem serv webhooks --no-tunnel # Local listener only — bring your own tunnel
84
+ atem serv webhooks --background # Run as background daemon
82
85
  atem serv list # List running background servers (#, ID, PID, STATUS)
83
86
  atem serv kill <ID|#> # Kill a server (POSTs /leave for convo)
84
87
  atem serv killall # Kill all background servers
@@ -100,6 +103,8 @@ done
100
103
 
101
104
  **`serv diagrams`** — SQLite-backed HTTP server for hosting AI-generated HTML diagrams.
102
105
 
106
+ **`serv webhooks`** — local receiver for Agora webhook events (ConvoAI: `agent_joined`, `agent_left`, `agent_history`, `agent_error`, `agent_metrics`, …; RTC NCS events). Validates `Agora-Signature-V2` (HMAC-SHA256) when a `secret` is configured in `webhooks.toml`; accepts unsigned events otherwise with a warning. Live web console at `http://127.0.0.1:9090/` shows incoming events; each event also prints a one-line summary to stdout. Default tunnel provider is **ngrok**; set `tunnel_provider = "cloudflared"` for zero-auth quick tunnels. Use `--no-tunnel` if you're running cloudflared / ngrok separately for stable URLs across atem restarts.
107
+
103
108
  **Channel placeholders** — `--channel` accepts `{appid}` (first 12 chars of the active app id) and `{ts}` (unix epoch seconds at startup). Useful in for-loops to match the auto-gen channel format.
104
109
 
105
110
  ### AI Agents (WIP)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agora-build/atem",
3
- "version": "0.4.99",
3
+ "version": "0.4.102",
4
4
  "description": "A terminal that connects people, Agora platform, and AI agents.",
5
5
  "bin": {
6
6
  "atem": "bin/atem"