Upgrade agent native

From BuilderIO/agent-native · View interactive version

Upgrade agent native is an AI agent skill from the GitHub repository BuilderIO/agent-native. Bring an older Agent-Native app or workspace current. Use when updating @agent-native/core, fixing a broken upgrade, or when tempted to patch or override core/dispatch packages to make an old branch run.

How to use this skill

Skill file

Upgrade Agent-Native

Rule

When an older Agent-Native app/branch needs to run on current packages, use

agent-native upgrade. Never "fix" upgrade breakage with

pnpm.overrides, patchedDependencies, resolutions, local patches, or

edits under node_modules/@agent-native/* — especially not against

@agent-native/core or @agent-native/dispatch.

Why

Agents often respond to a failed core bump by inventing framework patches and

dispatch behavior overrides. That hides the real app-level break, drifts from

upstream, and makes the next upgrade worse. The supported path is bump →

install → refresh scaffold skills → verify, then fix app code only.

How

  1. Doctor first (optional but recommended)

```bash

npx @agent-native/core@latest upgrade check

```

This reports framework overrides/patches and pending @agent-native/*

bumps. If overrides/patches are present, remove them before continuing.

  1. Run the upgrade

```bash

npx @agent-native/core@latest upgrade

```

Or from an already-installed CLI: pnpm exec agent-native upgrade /

agent-native upgrade.

What it does:

  1. If upgrade or typecheck fails
  1. Dry-run / partial runs

```bash

agent-native upgrade --dry-run

agent-native upgrade --skip-verify

agent-native upgrade --skip-install # package.json bumps only

```

Don't

patchedDependencies for any @agent-native/* package

node_modules/@agent-native/dispatch

upgrade command does this for you)

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.