Commit Graph

8 Commits

Author SHA1 Message Date
Yejun Su 37dc2b2f1e
feat(ui): add stop/abort button to web remote control
When the agent is streaming, the send button becomes a red stop button
that sends a { type: "stop" } WebSocket message. The server handles this
by calling ctx.abort() to cancel the current agent operation.
2026-03-19 13:55:08 +08:00
Yejun Su 4bc4cfa630
feat(html): add markdown table rendering to inline renderer 2026-03-19 13:29:14 +08:00
Yejun Su 98642b5b5a
fix(ui): update HTML title to "π - remote-control" 2026-03-19 13:02:26 +08:00
Yejun Su 824ae6a203
fix: replace qrencode system dependency with pure-JS qrcode package
Use the 'qrcode' npm package instead of shelling out to the 'qrencode'
binary. Load via createRequire for ESM/CJS interop. Use margin: 2 to
avoid the utf8 renderer's invalid array length bug with odd margins.
2026-03-19 12:59:05 +08:00
Yejun Su be2c015b72
refactor: extract index.ts into config, auth, messages, html, and server modules 2026-03-19 12:43:31 +08:00
Yejun Su 7080cdc34f
feat(ui): replace subcommands with interactive menu
/remote-control now opens a select menu with Turn on/off,
Configure URL, and Status instead of relying on subcommands.
Adds ability to stop the server. Shows current URL in the
Configure URL menu item and in the input dialog title.
2026-03-19 12:32:26 +08:00
Yejun Su ee3341d20c
feat: add --remote-control flag, status indicator, and fix config check ordering 2026-03-19 12:10:39 +08:00
Yejun Su 18f49a6828
chore: initial commit 2026-03-19 10:41:11 +08:00