mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
* Captures on Linux: portal, PipeWire and VA-API behind the engine's platform seam; capture compiled into macOS and Linux builds The capture engine's OS adapter gains capture/linux.rs: the screen-cast portal (zbus) picks the screen (remembered with its restore token) or a window, libpipewire and libva are loaded at run time, frames are imported as DMA-BUFs and scaled and H.264-encoded on the GPU, and ffmpeg muxes and reads movies back. Software x264 is the fallback. capture_host, the capsule, the pane, routing and the CLI are shared; the Linux listener feeds a ListenerTimeline, its portal or X11 grabs bind the capture shortcut, and the summary goes through Hex's Linux clipboard. The capture feature flag is gone: macOS and Linux always compile the experiment, off by default. * Docs: captures on Linux, the experiment in every macOS and Linux build; token path from Hex * Capture portal: register Hex's app id so the desktop keeps its screen choice * Fix macOS test build after the capture seam * Linux: size X11 shortcut state for the capture shortcut; keep macOS-layout capsule tests on macOS * Windows: the capture word timestamps field is Linux's
56 lines
1.5 KiB
Rust
56 lines
1.5 KiB
Rust
pub use scrawl_router::{
|
|
Action, AutoSend, Decision, DeliverRequest, Delivered, DeliveryMode, OfferRule, Router,
|
|
RouterConfig, RouterDirs, RuleKind, Sent, Target as RouterTarget, UndoReport, Undone, bundle,
|
|
delivery, model, router_config_from_scrawl, routing,
|
|
};
|
|
|
|
pub mod agent_context;
|
|
pub mod audio;
|
|
pub mod autocrop;
|
|
pub mod autocrop_lab;
|
|
// Windows looks elements up through UI Automation (`win/uia.rs`); other systems have no lookup.
|
|
#[cfg_attr(
|
|
not(any(target_os = "macos", target_os = "windows")),
|
|
path = "ax_other.rs"
|
|
)]
|
|
pub mod ax;
|
|
pub mod capture;
|
|
pub mod command_transcriber;
|
|
pub mod export;
|
|
pub mod handoff;
|
|
#[cfg_attr(target_os = "windows", path = "win/helper.rs")]
|
|
#[cfg_attr(target_os = "linux", path = "linux/helper.rs")]
|
|
pub mod helper;
|
|
#[cfg(feature = "hex-client")]
|
|
pub mod hex;
|
|
pub mod hosted_input;
|
|
pub mod ingest_http;
|
|
pub mod keyframes;
|
|
#[cfg(target_os = "linux")]
|
|
pub mod linux;
|
|
pub mod live_transcribe;
|
|
pub mod log;
|
|
pub mod mic;
|
|
pub mod page;
|
|
pub mod permissions;
|
|
pub mod phone;
|
|
pub mod pipeline;
|
|
pub mod recover;
|
|
pub mod render;
|
|
pub mod retention;
|
|
pub mod screens;
|
|
pub mod sketch;
|
|
pub mod speech_model;
|
|
pub mod transcribe;
|
|
pub mod web;
|
|
#[cfg(target_os = "windows")]
|
|
pub mod win;
|
|
pub mod window_log;
|
|
pub use window_log as windows;
|
|
pub mod zoom;
|
|
|
|
pub use handoff::{
|
|
EngineConfig, enable_scrawl_host_defaults, engine_config_from_scrawl, parse_scrawl_config,
|
|
};
|
|
pub use log::{Sink, enable_file_log, scrawl_log, set_sink, set_sink_if_unset, start_metric};
|
|
pub use mic::Choice as MicChoice;
|