* feat(firmware): propose CPU, endianness, and load-base candidates for firmware blobs
* fix(firmware): preserve MCP caller inputs, x32 decoder width, and bounded ELF tallies
* fix(firmware): leave M-profile variant and PPC width unresolved and report observed file size
* chore(firmware): remove unused exported types flagged by knip
* fix(firmware): recognize x86_64 leave;ret functions, keep uImage ppc width unknown, and preserve MIPS ELF flags
* fix(firmware): preserve MIPS/ARM decoder uncertainty and partial scan stages
* fix(firmware): preserve MIPS16 and microMIPS ELF ASE mode declarations
* fix(firmware): admit Cortex-M vector tables with filled reserved slots
The Raspberry Pi Pico SDK fills reserved vector slots with its default
handler. The detector required them to be zero, so it missed the vector
table and load base of the MicroPython 1.24.1 RP2040 image and offered only
an instruction-census guess. Reserved slots may now hold a Thumb handler in
the Reset region; any other value still rejects the table.
Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
* feat(firmware): identify ESP-IDF images from their header chip_id
The detectors found no candidate for the MicroPython 1.24.1 ESP32 image.
They have no Xtensa signature, and the chip is named in the image header.
A new esp-image-header detector recognizes the ESP-IDF header at offset 0
or a ROM bootloader offset, and takes the ISA from the existing ESP-IDF chip
table. The chip_id field now has one reader shared with the ESP image
parser. ESP32 images report Xtensa and ESP32-C3 images RISC-V.
Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
---------
Co-authored-by: gensokyo-dev <gensokyo-dev@users.noreply.github.com>
Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
* feat(build): add non-turbo source-build path for freebsd
* test(build): keep direct-build coverage runnable without turbo and reap build children
* test(build): use processTest fixture and long-running tag for build tests
---------
Co-authored-by: Ysopwnable <161784452+N0zoM1z0@users.noreply.github.com>
* feat(setup): register Mistral Vibe CLI client
* fix(setup): preserve inline Vibe entry order and reject non-boolean enable_mcp on read
* fix(setup): report duplicate Vibe registrations in doctor and preserve separated subtables
* docs(setup): record the Mistral Vibe 3.2.0 registration check
Mistral Vibe 3.2.0 on Linux loaded the setup registration through its
configuration schema and discovered REA's tools over stdio. After its own
`vibe mcp add` rewrote the file, setup made no change and uninstall removed
only the REA entry.
Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
---------
Co-authored-by: gensokyo-dev <gensokyo-dev@users.noreply.github.com>
Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
A relative REA_WABT_BIN_DIRECTORY in the environment made the whole REA
configuration invalid, disabling unrelated tools, instead of returning the
WASM provider's directory_not_absolute diagnostic. Validate the saved value
in the user configuration owner beside REA_JADX_MCP_JAR, which follows the
same rule.
Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
A plugin install has no `rea setup` registration to carry a WABT
tool directory, so the only way to enable inspect_wasm_artifact was a
client-wide environment variable, even though #3016 persisted the other
host-stable tool paths.
Add REA_WABT_BIN_DIRECTORY to PERSISTED_SETTINGS and the environment
schema as an absolute path, so `rea config --set`,
`rea config --get --json` and startup precedence (env > config > auto)
behave like REA_ILSPY_CMD_PATH and HOPPER_LAUNCHER_PATH. The value is
merged into the effective environment before the WASM provider reads it,
so no provider change is needed. Setup still leaves saved values in the
file rather than copying them into a client registration.