stack/apps/backend/src
aadesh18 8aa80ceb2c
AI in Stack Companion (#1297)
This PR puts the ask ai functionality into the ai stack companion, along
with persistent history.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* "Ask AI" chat sidebar with streaming assistant responses, progressive
word-by-word reveal, auto-scroll, Enter-to-send and Arrow-key
navigation, "Thinking…" and error indicators
* Chat UI primitives: inline/code blocks, smart links, copy-to-clipboard
for code/URLs, and expandable tool-result cards with copyable outputs

* **Bug Fixes**
* Prevented button/menu clicks inside list items from bubbling to parent
row handlers

* **Refactor**
* Chat rendering, streaming, parsing, and UI helpers consolidated into a
shared module and integrated into the sidebar widget
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2026-04-13 18:40:32 +00:00
..
app AI in Stack Companion (#1297) 2026-04-13 18:40:32 +00:00
auto-migrations Migration tests 2026-02-17 15:58:06 -08:00
lib Custom Dashboards bug fix (#1299) 2026-04-12 18:11:12 -07:00
oauth Better error message when user info fetching fails 2026-04-13 11:10:32 -07:00
private rework weights for same name signups (#1298) 2026-04-12 23:30:55 +00:00
route-handlers clickhouse new syncs and verify-data (#1304) 2026-04-08 14:43:22 -07:00
utils Backend fallback (cloud run) (#1306) 2026-04-11 00:57:37 +00:00
analytics.tsx Fix event capture 2024-08-14 12:49:35 -07:00
globals.d.ts Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
instrumentation.ts Onboarding app & restricted users (#1069) 2026-01-11 17:22:14 -08:00
polyfills.tsx Onboarding app & restricted users (#1069) 2026-01-11 17:22:14 -08:00
prisma-client.tsx Backend fallback (cloud run) (#1306) 2026-04-11 00:57:37 +00:00
proxy.tsx External db sync (#1036) 2026-02-05 12:04:31 -08:00
s3.tsx session replays (#1187) 2026-02-16 14:15:17 -08:00
smart-router.tsx Move /api/v1 to /api/latest 2025-02-05 17:24:43 -08:00
stack.tsx Email outbox backend (#1030) 2025-12-12 10:26:38 -08:00