Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .agents/resume
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail

cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.."

# Dependencies are restored with the orb; waking must not reinstall them.
node --version
bun --version
if [[ ! -x node_modules/.bin/next ]]; then
echo "Dependencies are missing; run .agents/setup to restore them." >&2
exit 1
fi
14 changes: 14 additions & 0 deletions .agents/setup
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -euo pipefail

cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.."

# Amp's base image provides Node.js and Bun; no additional system packages are needed.
echo "Checking the orb toolchain..."
node --version
node -e 'if (Number(process.versions.node.split(".")[0]) < 24) throw new Error("Node.js >=24 is required");'
bun --version

# Keep dependencies and Bun's cache in the snapshot. Bun cheaply checks warm installs.
echo "Installing locked dependencies (including development tools)..."
time NODE_ENV=development bun install --frozen-lockfile
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ yarn-error.log*
# vercel
.vercel

# Amp orb portal metadata
/.amp/portals/*

# typescript
*.tsbuildinfo
next-env.d.ts
Expand Down
Loading