Reference

Look things up rather than read end to end:

  • Configuration — every key, every environment variable, and the precedence rules.
  • Tools — every built-in tool id and its arguments.
  • HTTP API — authentication, the WebSocket protocol, and the JSON endpoints.
  • Events — the session event vocabulary shared by the loop, the log, the REPL, and the UI.
  • Plugin hooks — the full hook contract.
  • Namespaces — a map of the source tree and the functions worth knowing.