Peter Chanthamynavong
65214b7693
fix(rpc): return JSON data for dep add/remove in daemon mode (#961)
* test(rpc): add failing tests for dep add/remove JSON output (GH#952)
- Add TestDepAdd_JSONOutput: verify Response.Data contains JSON
- Add TestDepRemove_JSONOutput: verify Response.Data contains JSON
Tests prove bug exists: handlers return Response{Success: true}
without populating Data field.
* fix(rpc): return JSON data for dep add/remove in daemon mode (GH#952)
Problem:
- bd dep add/remove --json returned empty output in daemon mode
- handleDepAdd() and handleSimpleStoreOp() didn't populate Response.Data
Solution:
- handleDepAdd: add Data field with JSON result
- handleSimpleStoreOp: add optional responseData callback parameter
- handleDepRemove: provide response data callback
- Label handlers: pass nil (maintain current behavior)
2026-01-08 14:36:07 -08:00
..
2025-12-20 03:24:51 -08:00
2025-12-31 13:14:15 -08:00
2025-12-29 16:01:11 -08:00
2026-01-04 10:42:22 -08:00
2026-01-04 15:21:36 -08:00
2025-12-18 17:45:49 -05:00
2025-12-18 17:45:49 -05:00
2026-01-02 13:45:10 -08:00
2026-01-04 16:11:37 -08:00
2025-12-27 16:02:15 -08:00
2025-12-19 18:13:56 -08:00
2026-01-04 10:41:57 -08:00
2026-01-07 20:45:00 -08:00
2025-12-31 13:03:49 -08:00
2026-01-04 11:33:32 -08:00
2025-12-30 14:13:32 -08:00
2026-01-05 22:06:52 -08:00
2025-12-30 14:13:32 -08:00
2026-01-08 14:36:07 -08:00
2026-01-07 20:45:58 -08:00
2026-01-07 17:40:09 -08:00
2026-01-01 20:06:13 -08:00
2026-01-06 22:18:37 -08:00
2026-01-06 22:18:37 -08:00
2026-01-01 18:17:12 -08:00
2026-01-04 13:54:07 -08:00
2026-01-06 22:18:37 -08:00