Browse documentation

Technical documentation / Reference

magi-code 0.96.0

New features

Separate Code Mode tool permissions

Control tool access independently for direct calls and Code Mode batches.

How to use: Open /settings → Tools → Code Mode → Manage Code Mode tools. Enable or disable built-in and approved MCP tools for global or project scope, then save and restart. Direct-call exclusions remain separate. A project capabilities.tools.code_mode.disabled list of [] overrides global exclusions. Existing approval and agent restrictions still apply.

Code Mode budget inspection

Code Mode scripts can check remaining call, result-byte, runtime, memory, and history allowances with tools.budget().

How to use: Call tools.budget() before starting another work unit and reserve calls for saving progress. Execution budgets reset with each batch; session-history space remains shared. After batch-history exhaustion, split remaining work into another call. After session-history exhaustion, compact before continuing. Completed actions remain applied after interruption.

Fixes

Other changes

Edit this page on GitHub ↗