8d6552e928
feat(config): persist provider settings in a user config file ( #3023 )
...
* feat(config): persist provider settings in a user config file
Providers currently rediscover install paths from scratch in every
process, so a path set once (for example GHIDRA_INSTALL_DIR) silently
reverts on the next run. Introduce ~/.config/rea/rea.json as the
user-owned persistence layer and merge it into the environment
snapshot before configuration parsing, keeping env > config file >
auto-detect precedence on both the CLI and MCP entry points.
Add a rea config command (list/get/set/unset) as the write surface,
reporting the effective value and where it came from.
* fix(config): address review findings on persistence safety and CLI surface
- stage config writes beside the file and rename into place so an
interrupted write cannot leave partial JSON (greptile #4 , codex #11 )
- convert unreadable config files into configuration errors on the CLI
seam instead of escaping raw filesystem errors (greptile #5 , codex #15 )
- keep injected runtimes without a config root isolated from the host
account's rea.json (codex #18 )
- surface the config file error on stderr when doctor falls back to the
raw environment (greptile #3 , codex #16 )
- route the config command through logCliCommand and return documents so
--json stays parseable and failures exit non-zero (greptile #2 ,
codex #10 )
- reject empty --set values, unknown --set/--unset/--get names, and --get
combined with mutations (greptile #1/#7, codex #9/#12/#13/#17)
- cover the new behavior in the boundary tests and stop leaking one
temporary home per run (greptile #8 )
* fix(config): validate and back up persisted provider settings
* fix(config): keep saved provider defaults out of client registrations
* fix(config): preserve provider discovery and budgets for saved settings
* fix(config): check only settings needed by the IDA deadline lookup
* fix(config): share effective provider settings and verify config file reads
* fix(doctor): share selected settings with Hopper and ILSpy probes
* fix(config): resolve the destination of first-time saves
* fix(doctor): preserve unresolved provider location inputs
* fix(doctor): honor inherited IDA deadline overrides
* fix(config): show empty environment overrides
* fix(setup): preserve client-selected saved configuration roots
---------
Co-authored-by: Jackzigen <zigenhan@gmail.com >
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com >
2026-11-21 22:02:35 +00:00
..
2026-11-14 05:27:07 +08:00
2026-11-19 20:47:04 -05:00
2026-11-16 21:13:43 -05:00
2026-11-16 21:13:43 -05:00
2026-11-16 21:13:43 -05:00
2026-11-20 22:24:25 +00:00
2026-11-17 18:48:24 -05:00
2026-11-17 18:48:24 -05:00
2026-10-24 04:08:59 +08:00
2026-10-24 02:50:03 +08:00
2026-11-16 13:56:34 +00:00
2026-11-18 20:40:21 -05:00
2026-11-12 22:05:32 -05:00
2026-11-20 13:54:53 +00:00
2026-11-19 20:47:04 -05:00
2026-11-20 13:54:53 +00:00
2026-11-14 05:27:07 +08:00
2026-10-28 13:28:03 +08:00
2026-11-08 00:01:18 +08:00
2026-11-16 13:56:34 +00:00
2026-10-23 02:29:48 +08:00
2026-11-16 06:28:01 +08:00
2026-11-15 21:51:18 +08:00
2026-11-16 07:12:16 +08:00
2026-11-15 20:54:31 -05:00
2026-11-20 18:08:39 -05:00
2026-11-16 03:22:24 +08:00
2026-11-16 03:22:24 +08:00
2026-11-16 03:22:24 +08:00
2026-11-21 08:02:26 -05:00
2026-11-13 06:07:58 -08:00
2026-11-21 17:25:33 +00:00
2026-11-21 12:20:56 -05:00
2026-11-14 05:27:07 +08:00
2026-11-19 06:15:41 -05:00
2026-11-19 03:30:41 +00:00
2026-11-16 06:43:33 +08:00
2026-11-16 13:56:34 +00:00
2026-11-17 18:48:24 -05:00
2026-11-17 18:48:24 -05:00
2026-11-20 16:56:08 -05:00
2026-11-16 03:22:24 +08:00
2026-11-20 16:56:08 -05:00
2026-11-21 22:02:35 +00:00
2026-11-18 09:11:20 -05:00
2026-11-18 09:11:20 -05:00
2026-11-15 22:23:49 +08:00
2026-11-16 13:56:34 +00:00
2026-11-21 20:27:10 +01:00
2026-11-14 13:21:13 +08:00
2026-11-17 19:58:40 +08:00
2026-11-17 18:48:24 -05:00
2026-11-16 13:56:34 +00:00
2026-11-08 01:42:28 +08:00
2026-11-18 09:15:24 -05:00
2026-11-14 14:28:08 +08:00
2026-11-18 07:30:45 +08:00
2026-11-19 23:22:53 -05:00
2026-11-18 07:31:37 +08:00
2026-11-17 18:48:24 -05:00
2026-11-14 14:28:08 +08:00
2026-11-16 13:56:34 +00:00
2026-11-18 23:54:56 -05:00
2026-11-18 18:29:31 -05:00
2026-11-18 07:30:45 +08:00
2026-11-17 14:57:30 -05:00
2026-11-17 18:48:24 -05:00
2026-11-18 07:17:37 +08:00
2026-11-11 17:20:37 +08:00
2026-11-14 14:28:08 +08:00
2026-11-20 15:47:34 +00:00
2026-11-15 21:53:53 -05:00
2026-11-19 03:59:09 +00:00
2026-11-17 18:48:24 -05:00
2026-11-17 18:48:24 -05:00
2026-11-16 13:56:34 +00:00
2026-11-18 10:09:11 -05:00
2026-11-16 10:35:14 +08:00
2026-11-15 10:22:40 -05:00
2026-11-17 18:48:24 -05:00
2026-11-18 08:54:35 -05:00
2026-11-18 10:57:01 -05:00
2026-11-15 21:52:17 -05:00
2026-11-17 18:48:24 -05:00
2026-11-17 18:48:24 -05:00
2026-11-18 22:33:07 +08:00
2026-11-17 18:48:24 -05:00
2026-11-16 13:56:34 +00:00
2026-11-18 07:45:34 +08:00
2026-11-19 23:22:53 -05:00
2026-11-08 00:25:43 +08:00
2026-11-20 17:39:07 -05:00
2026-11-15 17:01:45 +08:00
2026-11-17 08:19:52 +00:00
2026-11-17 19:58:40 +08:00
2026-11-04 19:10:35 +08:00
2026-11-09 20:28:29 +08:00
2026-11-14 13:21:13 +08:00
2026-11-18 13:07:56 -05:00
2026-11-14 14:16:39 +01:00
2026-11-18 07:00:09 +08:00
2026-11-16 13:56:34 +00:00
2026-11-19 03:59:09 +00:00
2026-11-14 14:51:30 -05:00
2026-11-14 13:21:13 +08:00
2026-11-18 16:06:51 -05:00
2026-11-15 17:25:31 +08:00
2026-11-20 01:47:07 +00:00
2026-11-16 03:22:24 +08:00
2026-11-16 06:28:01 +08:00
2026-11-20 22:32:13 -08:00
2026-11-17 19:58:40 +08:00
2026-11-04 16:47:46 +08:00
2026-11-08 01:42:28 +08:00
2026-11-14 05:36:32 +01:00
2026-11-16 13:56:34 +00:00
2026-11-18 11:14:13 +08:00
2026-11-14 14:59:49 +01:00
2026-11-18 10:39:58 +08:00
2026-11-18 10:52:03 +08:00
2026-11-14 13:21:13 +08:00
2026-11-18 10:00:19 +08:00
2026-11-14 13:21:13 +08:00
2026-11-21 08:32:56 +00:00
2026-11-17 18:48:24 -05:00
2026-11-08 00:01:18 +08:00
2026-11-16 13:56:34 +00:00
2026-11-16 13:56:34 +00:00
2026-11-15 20:06:47 +08:00
2026-11-16 03:56:10 +08:00
2026-11-13 04:45:16 -05:00
2026-11-16 06:28:01 +08:00
2026-11-16 13:56:34 +00:00
2026-11-19 23:22:53 -05:00
2026-11-16 06:28:01 +08:00
2026-11-16 13:56:34 +00:00
2026-11-20 14:35:04 -05:00
2026-11-18 16:06:51 -05:00
2026-11-08 16:39:20 +00:00
2026-11-14 13:21:13 +08:00
2026-11-07 01:28:12 +08:00
2026-11-18 06:59:02 +08:00
2026-11-21 21:47:27 +00:00
2026-11-16 10:59:18 +08:00
2026-11-21 20:10:41 +00:00
2026-11-16 08:08:38 +08:00
2026-11-14 13:21:13 +08:00
2026-11-14 13:21:13 +08:00
2026-11-09 14:58:35 +08:00
2026-11-14 14:28:08 +08:00
2026-11-15 19:55:43 +08:00
2026-10-25 07:31:42 +08:00
2026-11-16 06:28:01 +08:00
2026-11-20 22:32:29 -08:00
2026-11-16 03:22:24 +08:00
2026-11-16 13:56:34 +00:00
2026-10-24 04:14:51 +08:00
2026-11-14 14:28:08 +08:00
2026-11-09 13:21:24 +08:00
2026-11-19 21:24:20 -05:00
2026-11-17 08:19:52 +00:00
2026-10-25 05:25:54 -07:00
2026-11-15 21:05:27 +08:00
2026-11-21 22:29:49 +01:00
2026-11-17 23:02:01 -05:00
2026-10-25 05:32:29 -07:00
2026-10-24 18:00:43 +08:00
2026-11-17 17:53:28 -05:00
2026-11-16 13:56:34 +00:00
2026-11-21 04:03:19 -05:00
2026-11-17 18:38:16 -05:00
2026-11-21 04:03:19 -05:00
2026-11-16 13:56:34 +00:00
2026-11-17 18:48:24 -05:00
2026-11-14 14:28:08 +08:00
2026-10-27 06:43:07 +08:00
2026-10-24 00:30:34 +08:00
2026-11-19 12:51:06 +00:00
2026-11-15 10:12:08 -05:00
2026-11-15 10:12:08 -05:00
2026-11-16 05:31:37 +08:00
2026-11-16 07:12:16 +08:00
2026-11-16 06:28:01 +08:00
2026-11-17 18:48:24 -05:00
2026-11-16 06:28:01 +08:00
2026-11-21 20:27:10 +01:00
2026-11-17 18:48:24 -05:00
2026-11-16 13:56:34 +00:00
2026-11-19 11:18:43 +08:00
2026-11-17 18:48:24 -05:00
2026-11-17 19:58:40 +08:00
2026-11-15 15:43:55 +08:00
2026-11-18 10:56:53 -05:00
2026-11-14 13:21:13 +08:00
2026-11-16 07:12:16 +08:00
2026-11-06 19:09:18 +00:00
2026-11-16 06:28:01 +08:00
2026-11-16 13:56:34 +00:00
2026-11-16 13:56:34 +00:00
2026-11-16 06:28:01 +08:00
2026-11-16 06:28:01 +08:00
2026-11-14 13:21:13 +08:00
2026-11-14 13:21:13 +08:00
2026-11-16 03:22:24 +08:00
2026-11-14 12:13:56 +01:00
2026-11-14 12:13:56 +01:00
2026-11-14 13:21:13 +08:00
2026-11-14 13:21:13 +08:00
2026-11-19 21:35:17 -05:00
2026-10-26 22:20:00 +08:00
2026-11-16 16:31:52 -05:00
2026-10-25 01:45:23 +08:00
2026-11-14 05:27:07 +08:00
2026-11-14 14:06:23 +01:00
2026-11-19 11:25:23 -05:00
2026-11-16 08:25:18 +08:00
2026-11-18 23:54:56 -05:00
2026-11-16 13:56:34 +00:00
2026-11-15 21:53:53 -05:00
2026-11-21 14:33:59 -05:00
2026-11-16 09:48:52 +08:00
2026-11-14 14:06:23 +01:00
2026-11-19 00:12:41 -05:00
2026-11-01 08:53:29 -08:00
2026-11-16 13:56:34 +00:00
2026-10-31 14:45:21 +00:00
2026-11-18 07:17:37 +08:00
2026-11-17 18:48:24 -05:00
2026-11-05 18:35:22 +08:00
2026-11-16 16:42:07 -05:00
2026-11-14 05:27:07 +08:00
2026-11-10 22:49:26 -05:00
2026-11-17 14:16:24 -05:00
2026-10-24 23:14:19 +09:00
2026-10-23 19:18:47 +08:00
2026-10-29 08:18:13 +08:00
2026-11-20 14:12:54 +00:00
2026-11-16 03:56:10 +08:00
2026-10-24 04:23:56 +08:00
2026-10-24 06:46:22 +08:00
2026-10-23 21:28:10 +08:00
2026-10-24 07:28:09 +08:00
2026-10-24 06:24:55 +08:00
2026-11-14 14:28:08 +08:00
2026-11-11 16:52:07 +08:00
2026-11-08 16:39:20 +00:00
2026-11-16 13:56:34 +00:00
2026-11-16 03:56:10 +08:00
2026-11-17 08:19:52 +00:00
2026-11-10 13:53:58 -05:00
2026-11-14 05:27:07 +08:00
2026-10-25 19:03:06 +08:00
2026-11-18 09:44:34 +08:00
2026-11-17 08:19:52 +00:00
2026-11-15 18:01:05 +08:00
2026-11-21 00:47:50 -08:00
2026-11-18 10:09:11 -05:00
2026-11-17 19:58:40 +08:00
2026-11-16 13:56:34 +00:00
2026-11-17 18:48:24 -05:00
2026-11-16 13:56:34 +00:00
2026-11-16 13:56:34 +00:00
2026-11-16 13:56:34 +00:00
2026-11-19 03:34:19 +00:00
2026-11-19 00:10:06 -05:00
2026-11-16 14:46:48 +08:00
2026-11-17 18:48:24 -05:00
2026-11-21 22:02:35 +00:00
2026-11-06 10:13:45 +08:00
2026-11-18 09:12:01 -05:00
2026-11-18 07:14:50 +08:00
2026-11-16 03:56:10 +08:00
2026-10-27 09:16:02 +08:00
2026-11-17 18:48:24 -05:00
2026-11-16 13:56:34 +00:00
2026-11-21 09:15:18 +00:00