axon prepare
Regenerate type declarations and the agent manifest for the current agent.
axon prepare
Produces three files:
| File | What it is |
|---|---|
axon.manifest.json | Module manifest — lists installed modules and their capabilities |
axon.d.ts | Declares the auto-injected globals (axon, args, defineArgs) |
.agent/tools.d.ts | Tool type declarations for all installed modules — makes axon.tools.* fully typed |
Runs automatically when you open an agent in the TUI or run axon --agent <name>. Call
it explicitly after installing or removing modules mid-session to get updated types without
reopening.
axon install @acme/github # install a module
axon prepare # refresh types immediately