Skip to content

feat!: rewrite in Rust (generic Android user agent) - #13

Merged
ifthenelse merged 7 commits into
mainfrom
feat/rust-port
Nov 28, 2026
Merged

ifthenelse merged 7 commits into
mainfrom
feat/rust-port

Conversation

@ifthenelse

Copy link
Copy Markdown
Owner

Ports hinge-cli from TypeScript/Node to Rust with the same commands, flags, env vars, secret schemes and output formats (doctor, tier, limits, auth import|status|logout, inspect, secret, --json).

  • clap + tokio + reqwest (rustls) + serde; Appium via the W3C WebDriver HTTP protocol.
  • All HTTP requests send a generic Android phone user agent; the session's own user-agent is no longer stored.
  • Unit tests ported (10 passing), plus a local-server test that asserts the Android UA header.
  • CI, Security (cargo audit, CodeQL for Rust), Dependabot (cargo), docs, AGENTS.md, demo tape and GIF updated.
  • Version 0.2.0; Cargo.toml is now the single version source.

Heads-up: the other captured x-device-* headers (iOS) are still sent, so they will not match the Android user agent.

scripts/verify (fmt, clippy -D warnings, test) green locally.

🤖 Generated with Claude Code

ifthenelse and others added 7 commits November 24, 2026 11:39
Replaces TODO placeholders in intent.md, README.md, CONTRIBUTING.md,
SECURITY.md and docs/{architecture,deployment,testing,security/threat-model}.md
with real content matching the current single-maintainer, read-only,
bring-your-own-session CLI. Scopes intent.md to manual (not automated)
profile read/edit and future swipe actions.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@ifthenelse
ifthenelse merged commit aa95171 into main Nov 28, 2026
5 checks passed
@ifthenelse
ifthenelse deleted the feat/rust-port branch November 28, 2026 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant