Skip to content

feat: connect dashboard chat to Hermes Luca + identity fixes#213

Merged
danbuildss merged 2 commits into
mainfrom
claude/luca-unified-identity
Jul 25, 2026
Merged

feat: connect dashboard chat to Hermes Luca + identity fixes#213
danbuildss merged 2 commits into
mainfrom
claude/luca-unified-identity

Conversation

@danbuildss

Copy link
Copy Markdown
Owner

Summary

  • Dashboard chat now routes to Hermes-hosted Luca — replaces the standalone OpenAI implementation. Every message from the dashboard goes to the real Luca agent (same one as @AskLucaBot on Telegram), with per-user session isolation via X-Hermes-Session-Key: zetta-dashboard:<userId>
  • Telegram bot username corrected to @AskLucaBot across src/app/luca/page.tsx, src/app/dashboard/luca/page.tsx, and src/lib/telegram-bot.ts — the previous session had incorrectly set these to @asklucaai (the community group)
  • Shared LUCA_CORE_PROMPT in src/lib/luca-core-prompt.ts — single source of truth for Luca's identity used by both Telegram and dashboard surfaces
  • Billing page hidden/dashboard/billing now redirects to /dashboard since the page is not yet built

Env vars required on Vercel

HERMES_API_URL=http://167.172.59.234:8642
HERMES_API_KEY=<the key set in Hermes config>

Test plan

  • Open dashboard chat → send a message → confirm Luca responds (not an error)
  • Ask Luca the same question on Telegram (@AskLucaBot) and dashboard — responses should be consistent
  • Confirm @AskLucaBot link in the chat topbar opens the correct Telegram bot
  • Visit /dashboard/billing — should redirect to /dashboard

Generated by Claude Code

claude added 2 commits July 25, 2026 22:04
Co-Authored-By: Claude <noreply@anthropic.com>
Replaces the standalone OpenAI implementation with a proxy to the
Hermes gateway running the real Luca agent. Uses the OpenAI-compatible
/v1/chat/completions endpoint with X-Hermes-Session-Key for per-user
context isolation.

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 25, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
zetta Ready Ready Preview, Comment Jul 25, 2026 10:40pm

@danbuildss
danbuildss merged commit abce7c2 into main Jul 25, 2026
3 checks passed
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.

2 participants