axon prepare

Regenerate type declarations and the agent manifest for the current agent.

axon prepare

Produces three files:

FileWhat it is
axon.manifest.jsonModule manifest — lists installed modules and their capabilities
axon.d.tsDeclares the auto-injected globals (axon, args, defineArgs)
.agent/tools.d.tsTool 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