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-23 23:08:04 -08:00
2025-12-04 11:21:43 -08:00
2025-12-27 16:02:15 -08:00
2025-11-23 20:58:11 -08:00
2025-12-30 15:56:52 -08:00
2025-11-21 14:40:22 -05:00
2025-12-30 06:59:51 -08:00
2025-10-21 22:44:45 -07:00
2025-12-19 17:50:14 -08:00
2025-12-04 11:21:43 -08:00
2025-11-02 09:56:42 -08:00
2025-11-02 09:56:42 -08:00
2025-10-20 21:08:49 -07:00
2026-01-02 18:03:27 -08:00
2025-12-04 11:21:43 -08:00
2025-11-07 14:21:14 -08:00
2025-12-29 23:42:20 -08:00
2025-12-31 11:45:52 -08:00
2025-12-17 01:15:40 -08:00
2026-01-07 21:31:40 -08:00
2026-01-08 14:36:07 -08:00
2026-01-08 14:36:07 -08:00
2025-11-20 08:13:06 -08:00
2025-12-30 18:09:34 -08:00
2025-12-30 06:59:51 -08:00
2025-11-06 19:51:16 -08:00
2025-10-20 21:08:49 -07:00
2025-10-20 21:08:49 -07:00
2025-12-22 18:47:18 -05:00
2025-12-19 17:50:14 -08:00
2025-10-20 21:08:49 -07:00
2025-10-20 21:08:49 -07:00
2025-12-04 11:21:43 -08:00
2025-12-24 00:06:41 -08:00