Two phases
| Phase | Purpose | Available behavior |
|---|---|---|
| Manifest discovery | Compile declarations before deployment | registerTool(), on() |
| Hosted execution | Run declared behavior in the sandbox | Tools, hooks, setModel(), setActiveTools() |
Understand how customer extension code participates in the model loop without running in the trusted worker.
| Phase | Purpose | Available behavior |
|---|---|---|
| Manifest discovery | Compile declarations before deployment | registerTool(), on() |
| Hosted execution | Run declared behavior in the sandbox | Tools, hooks, setModel(), setActiveTools() |