Demonstrates ARCP v1.1's progress job event kind. The agent emits
{ current, total, units, message } periodically; the client
renders a simple text progress bar. The protocol does not act on
progress events — they're purely advisory.
In one terminal:
pnpm tsx examples/progress/server.tsIn a second terminal:
pnpm tsx examples/progress/client.tsOn a TTY you'll see the bar update in place; piping to a file prints one line per update.
- §8.2.1
progressevent kind and body shape. - Runtime emits it as a
job.eventlike any other reserved kind.
| Env var | Default | Used by |
|---|---|---|
ARCP_DEMO_PORT |
7892 |
server |
ARCP_DEMO_URL |
ws://127.0.0.1:7892/arcp |
client |
ARCP_DEMO_TOKEN |
demo-token |
both |