mirror of
https://github.com/morluto/rea.git
synced 2026-12-07 01:14:28 +08:00
* fix(setup): name the analysis tool to add when none is ready When no native analysis tool is ready, setup names the one to add for this operating system and links its guide, and automatic provider selection says so plainly. Its recovery lists only providers this host can run, explains each, asks the agent to get the person's agreement before setting one up, and says what REA can still do without one. Fixes #17292 * fix(providers): explain missing tools and ask before setting them up Each external tool's repair for a missing installation now starts with what the tool is and what setting it up installs, from one domain table, and tells the agent to ask the person before installing it. The no-ready-provider recovery skips providers this host refuses or that refused the target, Kuna reports an unsupported host before its unset command, and IDA's repair carries its description in remediationAction. AGENTS.md notes that agents are the primary users, with a person behind them who may not know what is missing. * fix(android): keep JADX release metadata loadable from source Pre-install fixture scripts import JadxRelease.ts directly, so it stays dependency-free. JadxConfiguration adds the tool description where it reports a missing JAR. * fix(pcap): keep the tool refusal reason in the repair action pcapToolUnavailable had set remediationAction to the shared tshark setup text alone, so the projected action dropped the refusal reason while the message kept only the bare steps. adb and apktool still project both as `${reason}. ${toolSetupRemediation(...)}` through providerConfigurationRefusal. The helper now puts that same combined text in userMessage and leaves remediationAction unset, so the projection copies it into the action. The pcap CLI tests assert the reason, the Wireshark steps, and the tshark setup prefix in both fields. * fix(pcap): carry the tool-setup repair on the refusal itself The recovery guide requires each refusal to carry its remediation; shared projection formats those facts and must not fill them in. pcapToolUnavailable had left remediationAction unset so the action was copied from the message. The helper now sets remediationAction to PCAP_TOOL_REMEDIATION and keeps the reason in userMessage. providerConfigurationRefusal, which adb and apktool use, does the same with the configuration's own repair. CLI tests check the reason and the repair separately. * test(android): expect the tool repair in remediation, not the message