Commit Graph

16 Commits

Author SHA1 Message Date
Butterfly Dev
16f3f7ae3f fix: CLI dispatch, clap env feature, base64 dep, stray attribute cleanup 2026-04-07 05:54:46 +00:00
Butterfly Dev
fdd1dcbed0 fix: resolve compilation errors from crate version mismatches
- encoder.rs: update openh264 API (Encoder::new → with_api_config + EncoderConfig),
  use YUVSlices instead of YUVBuffer, use bitstream.frame_type() for keyframe
  detection, use force_intra_frame() for request_keyframe, fix ImageBuffer
  type params for image v0.25, add mut to JpegEncoder, remove unused base64 import
- capture.rs: fix ImageBuffer type params for image v0.25, add mut to JpegEncoder
- input.rs: update enigo 0.2 API - add Keyboard/Mouse trait imports, replace
  scroll_y/scroll_x with scroll(axis), fix Key variant names (UpArrow, DownArrow,
  Numlock, Print), replace Windows-only Numpad* keys with Unicode fallbacks
- service.rs: add type annotation to Vec::new()
- main.rs: add missing clap::Parser import
2026-04-07 05:48:29 +00:00
Butterfly Dev
84f559c1a7 agent: main.rs — subcommand CLI dispatch, shutdown signal (Ctrl+C + Windows SCM), graceful WebSocket close 2026-04-07 05:36:17 +00:00
Butterfly Dev
d0e8bf5569 agent: service.rs — Linux systemd + Windows service management (install/uninstall/start/stop/status/restart) 2026-04-07 05:34:56 +00:00
Butterfly Dev
920ea0ee9e agent: cli.rs — subcommand CLI (run, service install/uninstall/start/stop/status/restart) 2026-04-07 05:33:05 +00:00
Butterfly Dev
7a44809a41 agent: config.rs — rename AgentConfig to RunOptions, add Clone, windows_service field, to_service_args() 2026-04-07 05:32:32 +00:00
Butterfly Dev
86f0e4e7f2 agent: main.rs — binary WS frames for video, JSON text for control, encoder pipeline, 60fps default 2026-04-07 04:58:32 +00:00
Butterfly Dev
b690b0700d agent: config.rs — add --encoder h264|jpeg flag, bump default FPS to 60 2026-04-07 04:57:45 +00:00
Butterfly Dev
cf617d0d1e agent: capture.rs — raw BGRA output (no encoding here), encoder handles the rest 2026-04-07 04:57:24 +00:00
Butterfly Dev
b7c254a2c0 agent: encoder.rs — H.264 (openh264) and JPEG encoder abstraction, BGRA→I420 conversion, binary frame output 2026-04-07 04:56:57 +00:00
Butterfly Dev
a97ebed88b agent: protocol.rs — binary video frame format (13-byte header), JSON control messages separate 2026-04-07 04:55:16 +00:00
Butterfly Dev
0961634ce2 agent: main.rs — entry point, WebSocket client, capture loop, input dispatch, auto-reconnect, REST session creation 2026-04-07 04:38:33 +00:00
Butterfly Dev
e1e6442ff5 agent: input.rs — full remote control: mouse move/click/dblclick/scroll, keyboard with 60+ key mappings 2026-04-07 04:36:29 +00:00
Butterfly Dev
4c93b47a5d agent: capture.rs — screen capture (scrap), BGRA→RGB, JPEG encoding, base64 2026-04-07 04:35:39 +00:00
Butterfly Dev
5a26c7c60e agent: config.rs — CLI args (server, session, fps, quality, display, audio, heartbeat, reconnect) 2026-04-07 04:34:53 +00:00
Butterfly Dev
56f6e88389 agent: protocol.rs — WsMessage types matching server, builder helpers 2026-04-07 04:34:33 +00:00