@reyemtech/stack-upgrade
v1.0.1
Published
CLI to launch Stack Upgrade Agents via Docker or Kubernetes
Readme
@reyemtech/stack-upgrade
CLI to launch Stack Upgrade Agents via Docker or Kubernetes. Auto-detects repos, Claude credentials, and runtime — then launches disposable containers that upgrade your stack autonomously using Claude Code.
Currently supports: Laravel. Coming soon: React, Rails, Django.
Quick Start
npx @reyemtech/stack-upgradeOr install globally:
npm i -g @reyemtech/stack-upgrade
stack-upgradePrerequisites
- Docker or kubectl in PATH
- GitHub CLI (
gh) authenticated — for repo discovery and PR creation - Claude credentials — Claude Max token or Anthropic API key
What It Does
- Scans your GitHub repos for supported stacks (Laravel via
composer.json) - Prompts for target version, push/PR preference, and branch suffix
- Supports queuing multiple upgrades to run in parallel
- Launches a disposable Docker container (or K8s pod) per upgrade
- Each container runs Claude Code autonomously through upgrade phases
- Pushes an upgrade branch and optionally opens a PR with a generated changelog
Supported Stacks
| Stack | Image | Status |
|-------|-------|--------|
| Laravel | ghcr.io/reyemtech/laravel-upgrade-agent | Available |
| React | — | Planned |
| Rails | — | Planned |
| Django | — | Planned |
Configuration
Config is persisted to ~/.stack-upgrade/config.json:
- Claude credentials (auto-detected from
~/.claude/.credentials.json, env vars, or manual input) - GitHub token
- Preferred run target (Docker or Kubernetes)
