Commit Graph

91 Commits

Author SHA1 Message Date
Butterfly Dev
a72369f656 docs: progress.md v3.6 — system service installation (Linux systemd + Windows Service) 2026-04-07 05:58:28 +00:00
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
eae74e9d7d agent: Cargo.toml — add windows-service 0.7 dependency (cfg windows) 2026-04-07 05:31:47 +00:00
Butterfly Dev
2d7a8e47d9 docs: progress.md v3.5 — low-latency H.264 pipeline complete, latency comparison table 2026-04-07 05:03:27 +00:00
Butterfly Dev
60b23bc51d fix: Uint8Array to Blob cast for TS compatibility 2026-04-07 05:02:06 +00:00
Butterfly Dev
63e45130ca frontend: WebCodes H.264 decoder, binary WS frames, 13-byte header parsing, JPEG fallback, AVCC description builder 2026-04-07 05:01:31 +00:00
Butterfly Dev
05cfe9e479 server: ws/handler.rs — binary frame relay (zero-copy), text JSON for control; update api/sessions.rs for new WsOutMessage 2026-04-07 05:00:34 +00:00
Butterfly Dev
31a862b75b server: state.rs — binary FrameBuffer, WsOutMessage enum (Binary|Text), broadcast_binary_frame zero-copy path 2026-04-07 04:59:38 +00:00
Butterfly Dev
081cb0d69e agent: Cargo.toml v0.2.0 — openh264 optional feature, cfg_if, base64 removed, release optimizations 2026-04-07 04:58:50 +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
1468097c1b docs: update progress.md — Phase 3 VM Agent complete with full remote control 2026-04-07 04:39:10 +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
Butterfly Dev
50e5df07c0 agent: create Cargo.toml — scrap, enigo, tokio-tungstenite, image, base64, clap 2026-04-07 04:33:56 +00:00
Butterfly Dev
cbc02d444b docs: update progress.md — Phase 1.5 relay fix and Phase 2.5 bug fixes complete 2026-04-07 04:04:38 +00:00
Butterfly Dev
dd70696b13 api: add connected_viewers to HealthInfo interface (matching backend) 2026-04-07 04:03:56 +00:00
Butterfly Dev
fb2323f160 fix: remove signal type annotation for safeUrl (TS2749) 2026-04-07 04:03:27 +00:00
Butterfly Dev
6f07a1b652 fix: move sanitizer call to constructor (was used before init) 2026-04-07 04:03:10 +00:00
Butterfly Dev
d096d20a02 cleanup: remove unused currentTime computed, RouterModule import from desktop component 2026-04-07 04:02:33 +00:00
Butterfly Dev
cecca9f90f fix: browser uses DomSanitizer for iframe, key-based reload instead of URL hack 2026-04-07 04:01:56 +00:00
Butterfly Dev
ef1b8dfa4e fix: remote display now uses per-instance WebSocket (was shared singleton — broke multi-session) 2026-04-07 04:01:35 +00:00
Butterfly Dev
b7d6c950cf fix: terminal now auto-scrolls on output (was missing AfterViewChecked) 2026-04-07 04:00:51 +00:00
Butterfly Dev
f3da41da01 fix: taskbar clock now updates every second (was computed signal that never changed) 2026-04-07 04:00:30 +00:00
Butterfly Dev
5ea4cdfa0d cargo: remove unused rand and tokio-stream dependencies 2026-04-07 03:58:46 +00:00
Butterfly Dev
4bc5e099cc api: wire up real agent channel for HUD commands, add connected_viewers to health 2026-04-07 03:58:33 +00:00
Butterfly Dev
2344060d73 ws/handler: implement real bidirectional relay — mpsc channels, viewer catch-up, select! loop 2026-04-07 03:57:45 +00:00
Butterfly Dev
29eda76675 state: add viewer/agent channel registries, broadcast/forward methods, fix stats() 2026-04-07 03:57:00 +00:00
Butterfly Dev
fc15cadf6a docs: update progress.md — Phase 2 Angular frontend complete, both backend and frontend build successfully 2026-04-07 03:46:48 +00:00
Butterfly Dev
dcfaceb395 desktop: production build works (328KB, 85KB gzip), configure outputPath dist/browser, update .gitignore 2026-04-07 03:45:21 +00:00
Butterfly Dev
f4b7e2542e desktop: fix build errors — FormsModule for settings, nativeWindow alias, move provideHttpClient to appConfig 2026-04-07 03:44:31 +00:00
Butterfly Dev
b792b36eae desktop: global styles (scrollbar, reset, animations), update index.html with Butterfly branding 2026-04-07 03:41:11 +00:00
Butterfly Dev
8a9429c946 desktop: components/desktop — main shell: window rendering, app launcher, session picker dialog, animated gradient background 2026-04-07 03:40:11 +00:00
Butterfly Dev
eea8197ece desktop: components/apps/browser — simple web browser with URL bar, navigation, iframe sandbox 2026-04-07 03:38:14 +00:00
Butterfly Dev
6beb93b16f desktop: components/apps/settings — settings panel with display/audio/network/about sections 2026-04-07 03:37:09 +00:00
Butterfly Dev
0048eabb60 desktop: components/apps/file-explorer — dual-pane file browser with navigation, icons, selection, status bar 2026-04-07 03:35:30 +00:00
Butterfly Dev
283e53d1dc desktop: components/apps/text-editor — code editor with toolbar, cursor position, dark theme 2026-04-07 03:34:27 +00:00
Butterfly Dev
7496fbeced desktop: components/apps/terminal — basic terminal emulator with command history, help/clear/echo/date/uptime/whoami 2026-04-07 03:33:40 +00:00
Butterfly Dev
6b4c6419ce desktop: components/remote-display — canvas-based display viewer, mouse/keyboard HUD forwarding, FPS counter, connection status overlays 2026-04-07 03:32:23 +00:00