Summary
Land a TypeScript counterpart to examples/triggers-demo/ and add a Go-flavored section to the skill reference so the agentfield-multi-reasoner-builder skill emits correct TS scaffolds.
Part of the epic #507. Depends on the public surface and dispatch path from the sibling issues.
Scope
New Files
| File |
Purpose |
examples/triggers-demo-ts/agent.ts |
Three deterministic reasoners — handle_payment (Stripe), handle_pr (GitHub), handle_tick (cron). Same shape and memory-write semantics as examples/triggers-demo/agent.py |
examples/triggers-demo-ts/Dockerfile |
Build the TS agent into a container |
examples/triggers-demo-ts/docker-compose.yml |
Control plane + TS agent + shared demo secrets — drop-in replacement for the Python demo |
examples/triggers-demo-ts/README.md |
Quick-start + UI tour |
examples/triggers-demo-ts/scripts/fire-events.sh |
Symlink or copy of examples/triggers-demo/scripts/fire-events.sh — same script, same signed payloads |
Modified Files
| File |
Change |
skills/agentfield-multi-reasoner-builder/references/triggers.md |
Add a TS-flavored section showing the same trigger declarations in TS so the skill produces correct TS scaffolds |
Acceptance
References
Summary
Land a TypeScript counterpart to
examples/triggers-demo/and add a Go-flavored section to the skill reference so theagentfield-multi-reasoner-builderskill emits correct TS scaffolds.Part of the epic #507. Depends on the public surface and dispatch path from the sibling issues.
Scope
New Files
examples/triggers-demo-ts/agent.tshandle_payment(Stripe),handle_pr(GitHub),handle_tick(cron). Same shape and memory-write semantics asexamples/triggers-demo/agent.pyexamples/triggers-demo-ts/Dockerfileexamples/triggers-demo-ts/docker-compose.ymlexamples/triggers-demo-ts/README.mdexamples/triggers-demo-ts/scripts/fire-events.shexamples/triggers-demo/scripts/fire-events.sh— same script, same signed payloadsModified Files
skills/agentfield-multi-reasoner-builder/references/triggers.mdAcceptance
cd examples/triggers-demo-ts && docker compose upbrings up control-plane + ts-agent./scripts/fire-events.sh(the existing script, unmodified) fires Stripe + GitHub events that dispatch successfullylocalhost:8080/ui/triggersshows three triggers, all enabled, withsignature: validon dispatched eventsReferences
examples/triggers-demo/skills/agentfield-multi-reasoner-builder/references/triggers.md