openpencil/packages
Danila Poyarkov 2ec382fc9d Fix RPC bridge review issues: centralize colors, ports, remove non-null assertions
- Use colorToHex/colorDistance from color.ts instead of hand-rolled hex math
  in rpc/commands.ts (removes toHex, hexToRgb, colorDistance duplicates)
- Extract AUTOMATION_HTTP_PORT/AUTOMATION_WS_PORT to core constants, import
  in bridge.ts, server.ts, app-client.ts instead of duplicating magic numbers
- Add requireFile() helper in app-client.ts, replace all file! non-null
  assertions across 12 CLI command files
- Document same-machine trust security model in bridge.ts header comment
- Replace (globalThis as any).Bun with typed isBunRuntime() helper
- Add changelog entry for CLI-to-app RPC bridge feature
2026-03-07 15:11:31 +03:00
..
acp Release v0.7.0 2026-03-05 10:32:35 +03:00
cli Fix RPC bridge review issues: centralize colors, ports, remove non-null assertions 2026-03-07 15:11:31 +03:00
core Fix RPC bridge review issues: centralize colors, ports, remove non-null assertions 2026-03-07 15:11:31 +03:00
demos feat: mobile layout, PWA support (#27) (#27) 2026-03-05 19:51:51 +03:00
docs Move demo to /demo route, add @unhead/vue for title management 2026-03-06 20:54:48 +03:00
mcp Eliminate as Record<string, unknown> casts 2026-03-06 21:43:32 +03:00