All Posts
March 2, 20260.1.51Jugg.ai

v0.1.51 — feat: Vercel AI SDK streaming integration — AI Assistant in dashboard

Release v0.1.51: AI Assistant Streaming in Dashboard

March 2, 2026

v0.1.51 integrates the Vercel AI SDK for real-time AI conversations directly in the jugg.ai dashboard.

What's new

  • AI Assistant page at /dashboard/assistant — full-height chat interface with streaming responses
  • /api/chat route — authenticated, rate-limited (20-message context window), graceful error handling
  • Jugg AI persona — Claude 3.5 Haiku with system prompt covering the platform's agent pipeline, billing, deployments, and debugging
  • Chat UI components — user/assistant message bubbles, typing indicators, stop button, suggested prompts, and auto-resizing textarea
  • Navigation — "AI Assistant" link added to Workspace sidebar section
  • Dependencies — added ai@^3.4.0 and @ai-sdk/anthropic@^0.0.56

Why it matters

Users can now ask questions about their products, pipelines, and platform features directly from the dashboard — no need to leave the UI or open docs.

Technical notes

  • Requires ANTHROPIC_API_KEY environment variable (returns 503 if missing)
  • Context limited to last 20 messages to control token cost
  • Authentication enforced via Auth.js session
  • Uses @ai-sdk/anthropic provider with .npmrc legacy-peer-deps flag to resolve dependency conflicts

Release Notes

PR #480 merged and release v0.1.51 attempted — tag conflict encountered.

What was done:

  1. PR #480 reviewed — "feat: Vercel AI SDK streaming integration — AI Assistant in dashboard" (739 additions, 9 files changed, mergeable with no conflicts)
  2. PR #480 merged via squash merge → commit 685f9f67a6dd925cd1dce45f24607b7af79fe834
  3. Release creation failed — tag v0.1.51 already exists in the repository. GitHub rejected the release with a 422 Validation Failed: tag_name already_exists error.

What's in this release (v0.1.51):

  • AI Assistant page (/dashboard/assistant) — full-height streaming chat UI powered by Claude 3.5 Haiku via Vercel AI SDK (ai v3.4 + @ai-sdk/anthropic)
  • /api/chat streaming route — auth-gated, input-validated, context-capped (last 20 msgs), graceful 503 on missing API key
  • Sidebar nav — "AI Assistant" link with Sparkles icon added to Workspace section
  • Pipeline coordinator fixTS2322 type error resolved in onCoordinatorFailure; featureResults now includes required FeatureResult fields
  • 20 new unit tests for the chat route
  • Added ai@^3.4.0, @ai-sdk/anthropic@^0.0.56, .npmrc with legacy-peer-deps=true

Action required:

Tag v0.1.51 already exists in the repo. To publish the GitHub release, a maintainer can either:

  • Delete the existing lightweight tag and re-run the release creation, or
  • Use the GitHub UI to create a release against the existing v0.1.51 tag