what you get

#142 amendr/octokit-rest-v21 Open

fix(octokit): migrate call sites to v21

amendr[bot] wants to merge 1 commit into main

package.json · src/api/client.ts

const octokit = new Octokit({});

-const issues = await octokit.issues.listForOrg({ org });

+const issues = await octokit.orgs.listIssues({ org });

  return issues.data.map((issue) => issue.html_url);

All checks passed · typecheck and tests are green

  • lint
  • typecheck
  • test · ubuntu
  • test · macos

the difference

Without Amendr

  • Dependabot bumps the version
  • Your build turns red
  • You read the changelog hunting for what changed
  • You fix it by hand, on a deadline

With Amendr

  • The breaking release is found and classified
  • Only the call sites that break are changed
  • Typecheck and tests run in your own CI
  • A green PR opens. Read it or close it.

a fix, end to end

From breaking release to green PR

 amendr/stripe-node-v17 All checks passed
package.json +1 −1

"dependencies": {

- "stripe": "^14.0.0",

+ "stripe": "^17.0.0",

"nothing-else-changes": true

src/stripe/client.ts +1 −1

const stripe = new Stripe(env.STRIPE_KEY, {

- apiVersion: '2023-10-16',

+ // apiVersion override removed in v17 (server pins the version)

});

typecheck passes test suite green changelog cited Illustrative sample
  • Bumps the dependency and leaves the rest alone
  • Fixes call sites where the library is actually used
  • Runs typecheck and tests in your CI
  • Cites the changelog entry the fix was based on

the guarantees

What we promise

A human always merges

Amendr never auto-merges and never pushes to your branches. Every PR waits for you to read it.

Ephemeral clones

Your repo is cloned into a temp directory that is deleted the moment the job ends. We keep nothing.

No training on your code

Your code exists for as long as the fix takes. Then it is gone. It never reaches a training set.

Minimal diffs

Only what the break requires. No refactors, no reformatting, no extra dependencies.

the watchlist

What we watch

A short list we picked by hand, and it grows over time. TypeScript and npm only. You cannot add your own packages, so when we flag something that turns out to be fine, that one is on us.

  • openai
  • stripe
  • @supabase/supabase-js
  • @octokit/rest

in your editor

Fix it without leaving your editor

The Amendr extension runs the same loop in a sidebar next to your code. Sign in and it lists the breaking releases that affect the repo you have open. Pick one and it runs.

  • Scoped to this repo

    It only offers packages your own manifests declare, so it will never ask you to fix a dependency you do not have.

  • One click to the fix

    Start a run from the sidebar, watch the job, and open the pull request without switching windows.

  • Reads almost nothing

    Git metadata and package manifests, enough to work out your repo and your dependencies. Never your source.

The Amendr pull request opened for a breaking dependency change, with typecheck and tests passing.The body of the Amendr pull request, citing the changelog entry behind the breaking change.The Amendr editor extension sign-in flow, entering a device code to authorise the editor.

Install it

Published as amendr.amendr, works on VS Code 1.90 and newer. Install it, run Amendr: Sign In, and you are done. The server URL and app client ID are already set.

You will need

  • A git repository with a GitHub remote
  • The Amendr GitHub App installed on it

Commands

  • Sign In / Sign Out
  • Refresh Status
  • Run Amendr for a detection
  • Open Pull Request

What it reads

Git metadata and package manifests, nothing else. Your token sits in VS Code SecretStorage. Usage counters are off unless you turn them on, and they never leave your machine.

We test on VS Code. The extension sticks to stable vscode APIs, so it should work in forks such as Cursor and Antigravity too, but we have not put those through our manual test matrix yet.

the answers

Questions

No. You review every PR and you are the one who merges it. That is the whole point.

You get a draft PR or an issue with the proposed diff and the exact typecheck and test errors. You still get the warning, just not a green build.

No. One branch, one dependency bump, and only the fix itself. Nothing else changes.

In your own GitHub Actions, using the workflows and secrets you already have. Nothing runs on our machines.

TypeScript projects on npm, to start.