codeburn/src/sync
iamtoruk 6d69803817 feat(desktop): plugin manager, install flow, sharing consent center, and dormant Team tab (plugin era D1-D3)
Part 1: Add --json output flags to three CLI commands for machine-readable output
- codeburn plugin list --json: array of plugin objects with status and capabilities
- codeburn plugin info <name> --json: manifest with dir and onDiskSections
- codeburn sync auto status --json: status object with configured, accepted, killed, receipts

Part 2: Implement Electron bridge with read and mutation handlers
- Read handlers: pluginList, pluginInfo, syncAutoStatus (return parsed JSON)
- Mutation handlers: pluginAdd, pluginRemove, pluginVerify, syncAutoEnable, syncAutoDisable
- All handlers follow existing Envelope pattern with proper error handling
- Special case: syncAutoEnable captures disclosure text when accept=false

Part 3: Renderer UI components (minimal implementation D1-D3 shell)
- Add Plugins section to nav rail at bottom (quiet entry, plugin icon)
- Implement PluginsSection component with list rendering for loaded/rejected plugins
- Update Section type and routing to include plugins navigation
- Add test coverage for Plugins panel row states
- Implemented as dormant Team tab registry placeholder for future plugin sections

Tests: All CLI tests (3839 passed), app tests (613 passed), E2E gates all passing
- CLI: tsc clean, vitest passes with 26 pre-existing jsdom errors
- App: typecheck clean, npm test green, npm run build succeeds
2026-08-28 06:58:55 -07:00
..
auth.ts chore(sync): HTML-escape callback page inputs 2026-07-26 07:05:44 -07:00
cli.ts feat(desktop): plugin manager, install flow, sharing consent center, and dormant Team tab (plugin era D1-D3) 2026-08-28 06:58:55 -07:00
config.ts fix(sync): honest 7-day scope and stored work-matching choice in acceptance; shared push helper 2026-08-28 01:00:54 -07:00
consent.ts fix(sync): fresh-machine schedule install, work-matching disclosure line, named drift causes 2026-08-28 01:26:48 -07:00
credentials.ts fix(sync): address PR review — https enforcement, keychain test isolation, golden ID pins 2026-07-13 16:45:39 +00:00
discovery.ts fix(sync): address PR review — https enforcement, keychain test isolation, golden ID pins 2026-07-13 16:45:39 +00:00
index.ts fix(sync): address PR review — https enforcement, keychain test isolation, golden ID pins 2026-07-13 16:45:39 +00:00
ledger.ts fix(desktop): close cache and lifecycle review gaps 2026-08-12 20:31:17 +03:00
otlp.ts feat(plugins): sync exporter seam - per-call attributes and declared extra spans, wire-guarded (10B) 2026-08-28 02:23:29 -07:00
push.ts feat(plugins): sync exporter seam - per-call attributes and declared extra spans, wire-guarded (10B) 2026-08-28 02:23:29 -07:00
schedule-installer.ts fix(sync): schedule invokes runtime plus script explicitly; damaged acceptance reported plainly 2026-08-28 06:21:06 -07:00