Skip to content

feat: Smart Bag deposit session engine & Vercel deploy fix (SOL2-04) - #4

Merged
EKF0 merged 1 commit into
mainfrom
sol2-04/smart-bag-deposit-session-engine
May 16, 2026
Merged

feat: Smart Bag deposit session engine & Vercel deploy fix (SOL2-04)#4
EKF0 merged 1 commit into
mainfrom
sol2-04/smart-bag-deposit-session-engine

Conversation

@EKF0

@EKF0 EKF0 commented May 16, 2026

Copy link
Copy Markdown
Owner

Changes

Smart Bag Session Engine

  • Created lib/smart-bags/session-engine.ts with typed deposit sessions, base-unit decimal parsing, allocation splitting, quote snapshots, and local receipt storage
  • Created lib/smart-bags/catalog.ts with 3 Solana-native Smart Bag templates (Solana Core, Liquidity Leaders, Stable Reserve)
  • Reworked deposit modal into full session flow: prepare → quote → simulate → sign → confirm

Vercel Deploy Fix

  • Removed @next/swc-darwin-arm64 from dependencies (macOS-only package broke Vercel Linux builds with EBADPLATFORM)
  • Fixed vercel.json: removed redundant npm install from buildCommand that deleted typescript before next.config.ts loaded

Verification

  • npm install --legacy-peer-deps
  • npm run lint ✅ (0 errors, 2 pre-existing warnings)
  • npm run build
  • Vercel preview deployment reached READY

- Created lib/smart-bags/session-engine.ts with typed deposit sessions,
  base-unit decimal parsing, allocation splitting, quote snapshots,
  and local receipt storage
- Created lib/smart-bags/catalog.ts with Solana-native Smart Bag
  templates (Solana Core, Liquidity Leaders, Stable Reserve)
- Reworked deposit modal into session flow: prepare → quote → simulate
  → sign → confirm with per-swap slippage caps
- Removed @next/swc-darwin-arm64 from dependencies (macOS-only, broke
  Vercel Linux builds with EBADPLATFORM)
- Fixed vercel.json: removed redundant npm install from buildCommand
  that was deleting typescript before next.config.ts loaded
- Updated bags page and card to use Solana-native catalog metadata
- Added gitnexus skill files for code intelligence
@vercel

vercel Bot commented May 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
bagfi Ready Ready Preview, Comment May 16, 2026 2:50pm

@EKF0
EKF0 merged commit a66b917 into main May 16, 2026
2 of 3 checks passed
@EKF0
EKF0 deleted the sol2-04/smart-bag-deposit-session-engine branch May 16, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant