Skip to content

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

pseudodiff

Caution

This project is experimental and vibe-coded.

Built on top of Pi, reusing its agent runtime, model providers, and login credentials.

LLM-generated behavioral diffs for code changes.

Pseudodiff analyzes the current Git checkout against its default branch and asks a read-only Pi agent to explain the behavioral change.

Requirements

  • Node.js 22.19 or newer

Development additionally requires pnpm 11.

Usage

npx pseudodiff

The default model is openai-codex/gpt-5.6-sol. Override it with --model:

npx pseudodiff --model anthropic/claude-haiku-4-5

Development

pnpm install
pnpm dev

By default, Pseudodiff compares the merge-base of the inferred default branch and HEAD to the current working tree. This includes committed branch changes, staged and unstaged edits, and non-ignored untracked files. Override branch inference with --base <ref>. Pseudodiff never fetches or mutates the checkout. If the checkout changes while analysis is running, Pseudodiff discards the result and asks you to rerun it rather than presenting an inconsistent explanation.

Pseudodiff respects provider API-key environment variables such as ANTHROPIC_API_KEY and OPENAI_API_KEY. It also reuses credentials created by Pi's /login, including supported subscription authentication.

Build and run the packaged executable locally:

pnpm build
node dist/cli.js

Run every verification step:

pnpm check

License

MIT

Third-party software

The development toolchain includes the commit-pinned anti-slop Oxlint plugin under its MIT License. See THIRD_PARTY_NOTICES.md for provenance and attribution.

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages