Skip to content

Add Rust CLI port#321

Open
etbyrd wants to merge 1 commit into
mainfrom
rust-cli-port
Open

Add Rust CLI port#321
etbyrd wants to merge 1 commit into
mainfrom
rust-cli-port

Conversation

@etbyrd

@etbyrd etbyrd commented Jul 18, 2026

Copy link
Copy Markdown
Member

Summary

  • Add an optional Rust CLI port with generated operation manifest, friendly command routing, auth/config handling, payloads, payments, functions, wake, routes, search, and mail behavior.
  • Add Rust packaging and install scripts for local release artifacts.
  • Add parity harnesses for command surface, generated request coverage, help copy/flag comparison, black-box Node-vs-Rust fixtures, archive parity, and live smoke testing.
  • Keep the rollout separate from the root npm package path.

Validation

  • make rust-cli-full-check
  • Post-rebase make rust-cli-check
  • Post-rebase make cli-parity (340 black-box cases, 119/119 generated operations covered, 58/58 generated aliases covered)
  • node scripts/run-cli-help-sweep.mjs --compare-flags --node-bin "node cli-node/bin/run.js" --rust-bin "./cli-rust/target/debug/primitive" (1130 Node-accepted command spellings checked)
  • pnpm --dir cli-node exec biome check ../scripts/run-rust-cli-live-smoke.mjs ../scripts/run-cli-help-sweep.mjs
  • Live production API smoke using a local key: 20 no-key cases, 30 authenticated read-only cases, and 1 real email send-and-wait case passed
  • git diff --check

@greptile-apps

greptile-apps Bot commented Jul 18, 2026

Copy link
Copy Markdown

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.
  • The reviewed follow-up areas now handle saved OAuth refresh and Windows archive shape as expected.

Important Files Changed

Filename Overview
cli-rust/src/config.rs Adds Rust CLI config, credential loading, OAuth refresh, and environment handling.
cli-rust/src/payloads.rs Adds Rust payload push and pull support with encryption, upload, download, and CLI auth wiring.
scripts/package-rust-cli.mjs Adds cross-platform Rust CLI archive packaging and checksum generation.
scripts/install-rust-cli.ps1 Adds the Windows installer path for Rust CLI release archives.

Reviews (13): Last reviewed commit: "Add Rust CLI port" | Re-trigger Greptile

Comment thread cli-rust/src/config.rs
Comment thread scripts/package-rust-cli.mjs
@etbyrd
etbyrd force-pushed the rust-cli-port branch 4 times, most recently from 81b73ad to e0973ad Compare July 18, 2026 19:20
Comment thread cli-rust/src/config.rs
Comment thread cli-rust/src/config.rs
@etbyrd
etbyrd force-pushed the rust-cli-port branch 2 times, most recently from 1552609 to 5af14f6 Compare July 18, 2026 20:46
Comment thread cli-rust/src/payloads.rs Outdated
Comment thread cli-rust/src/payloads.rs Outdated
@etbyrd
etbyrd force-pushed the rust-cli-port branch 2 times, most recently from 18e9f0c to d2c28cb Compare July 19, 2026 17:35
Comment thread cli-rust/src/payloads.rs
@etbyrd
etbyrd force-pushed the rust-cli-port branch 2 times, most recently from 4e19b50 to 9fc3e83 Compare July 19, 2026 23:41
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