magi-code 0.63.4

Repository-aware CLI coding agent for terminal work
Documentation
### Browser Tool
**Tool Name**: `browser`
**Tool Description**: Control a real chrome browser using the dev-browser CLI in headless/headed/connect modes. Useful to do real browser use and validation.
**Tool Arguments**:
- `command`: required, string, commands: `open`, `snapshot`, `click`, `fill`, `type`, `select`, `press`, `scroll`, `get`, `wait`, `screenshot`, `close`, example: `open https://google.com`, `scroll down 500`, `click @e12`
- `mode`: optional, string, enum: `headless`, `headed`, `connect`
- `connectUrl`: optional, string
- `ignoreHttpsErrors`: optional, boolean
**Examples For Command Argument**:
- command: `open https://example.com`: Open a URL in the default headless managed browser, then print the page URL and title.
- command: `snapshot`: Capture the current accessibility snapshot; use returned refs such as @e12 for later actions.
- command: `click @e12`: Click an element by a ref returned from snapshot.
- command: `fill @e12 "Ada Lovelace"`: Replace an input or textarea value by ref.
- command: `type @e12 " more text"`: Type text into an element by ref without clearing the existing value.
- command: `select @e12 "United States"`: Select a native option by label or value.
- command: `press Enter`: Press a keyboard key on the current page.
- command: `scroll down 500`: Scroll the page in a direction by pixels; pixels default to 500 when omitted.
- command: `get text @e12`: Read text from a referenced element; use `get text` for full body text, or `get url`/`get title` for page state.
- command: `wait @e12`: Wait for a referenced element to become visible; use `wait 1000` to wait milliseconds.
- command: `screenshot --full`: Save a full-page screenshot for visual evidence; omit `--full` for viewport only.
- command: `open https://localhost:3000`: Use `ignoreHttpsErrors` only with managed headless/headed browser modes, not connect mode.
- command: `snapshot` with `mode: headed`: Use headed mode only when a visible managed browser is needed, a "real browser".
- command: `snapshot` with `mode: connect` and `connectUrl: http://localhost:9222`: Use connect mode only when explicitly attaching to an already-running CDP browser.
- command: `close`: Close the managed browser page when validation is complete.