Skip to content

Restore custom Kapa chat with trigger-based support handoff - #466

Draft
dannyneira wants to merge 23 commits into
mainfrom
danny/kapa-custom-chat-handoff-v2
Draft

Restore custom Kapa chat with trigger-based support handoff#466
dannyneira wants to merge 23 commits into
mainfrom
danny/kapa-custom-chat-handoff-v2

Conversation

@dannyneira

Copy link
Copy Markdown
Member

Summary

  • restores the custom React-based Ask AI chat experience
  • adds trigger-based Create ticket handoff in the custom UI (conversation length >= 3, downvote, uncertainty)
  • stores and reuses Kapa thread IDs and builds a direct Kapa conversation link in the ticket draft
  • opens a prefilled mailto: handoff draft instead of relying on the prior server endpoint
  • re-enables required React/Kapa dependencies and adds PUBLIC_KAPA_PROJECT_ID env support

Validation

  • npm run typecheck
  • npm run build

Co-Authored-By: Warp Agent agent@warp.dev

dannyneira and others added 23 commits July 23, 2026 17:30
Adds an always-on Create ticket action in the Kapa chat UI, includes transcript context in submissions, and provides a preview/webhook backend endpoint for handoff testing.

Co-Authored-By: Oz <oz-agent@warp.dev>
Set the handoff endpoint to non-prerendered so static/SSR build inputs resolve correctly in CI and Vercel.

Co-Authored-By: Oz <oz-agent@warp.dev>
Move the custom handoff POST route to /kapa-handoff and remove the stale /api/kapa-handoff file to avoid CI/Vercel SSR rollup conflicts with the /api docs page.

Co-Authored-By: Oz <oz-agent@warp.dev>
Co-authored-by: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Warp Agent <agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label Aug 4, 2026
@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview Aug 4, 2026 3:09pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant