Commit Graph

5 Commits

Author SHA1 Message Date
Alex 8207d6f012 Potential fix for code scanning alert no. 75: Cleartext logging of sensitive information
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-03-19 18:58:19 +08:00
AlexZ 99f3c36717 [packages/actionbook-rs]feat: add multi-session support (-S flag) for parallel tab operations
Enables multiple independent sessions per profile, each bound to its own
browser tab. Sessions share the same Chrome process and cookies but operate
independently with isolated snapshot caches and tab routing.

Key changes:
- CLI: -S/--session flag with strict name validation (alphanumeric, dash, underscore)
- Session files: {profile}@{session}.json naming with legacy auto-migration
- Daemon: per-session routing table with lazy attach and maybe-reattach
- Session commands: browser session list/active/destroy
- Fork mechanism: new sessions inherit CDP info from first alive session
- README: multi-session architecture, commands, and comparison table

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 18:06:41 +08:00
AlexZ 5662e46c3a [packages/actionbook-rs]chore: suppress dead_code warnings for Camoufox integration
Add #[allow(dead_code)] attributes to:
- Camoufox WebDriver driver unused fields and methods
- Camoufox REST API client unused imports
- Browser router helper methods (as_cdp, as_camofox, etc.)
- Fingerprint generator module (Phase 2 - not yet integrated)
- Human behavior simulation module (Phase 3 - not yet integrated)
- Enhanced stealth module (Phase 1 - not yet integrated)

These are preparatory implementations for future Camoufox backend
integration. Suppressing warnings keeps build output clean while
preserving the code for upcoming CLI integration.

Modified files:
- src/browser/camofox/mod.rs
- src/browser/camofox_webdriver/driver.rs
- src/browser/fingerprint_generator.rs
- src/browser/human_behavior.rs
- src/browser/mod.rs
- src/browser/router.rs
- src/browser/stealth_enhanced.rs
2026-02-13 08:46:08 +08:00
AlexZhang af9b0eb383 [packages/actionbook-rs]feat: migrate to new text-based API
- Replace old JSON API with new text-based API using area_id format
- Add get_action_by_area_id method to API client
- Update search_actions with new parameters (domain, url, page, page_size)
- Remove JSON output for search/get commands (output is now plain text)
- Update CLI tests and integration tests
- Update README and examples

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 17:34:18 +08:00
AlexZhang 4e065f503e feat: add actionbook-rs 2026-02-04 17:16:34 +08:00