mirror of
https://github.com/9prodhi/camoufox-rs.git
synced 2026-08-18 08:00:58 +00:00
aad0c54bfb
Grow the CLI from 12 primitives to a full browsing/scraping surface. Every new command is a thin CLI/IPC wrapper over the existing `api` layer (no new protocol plumbing), and `output.rs` is refactored into a pure, testable `render()`: - Reading: text, html, links, data (og/jsonld/meta), url - Navigation/waiting: wait, reload, back, forward - Cookies/headers: cookie, header - Interaction: click (selector or x,y trusted event), fill, type, press, hover, select, scroll - Tabs: tabs, close-tab - screenshot --selector / --clip, and a viewport-origin default clip Public-release preparation and review hardening: - Add MIT LICENSE and repository metadata to Cargo.toml - Make the camoufox-browse plugin portable: discover the binary via $CAMOUFOX_BIN / PATH / ./target/release instead of hardcoded container paths (SKILL.md and hook.json) - Sanitize internal client references from docs and code comments - CHANGELOG: list the new commands under Added (not Changed) - wait_for_selector fails fast on invalid selectors instead of burning the full timeout under the daemon lock - Correct punctuation keyCodes in key_descriptor (`press .` no longer collides with Delete's keyCode) - Add --timeout to the tabs command - Document the daemon's serial-execution behavior in README - Add integration tests: trusted click, reading, interaction, screenshot scroll-offset regression, and wait fail-fast Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>