You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(init): show AI-generated feature blurbs in setup summary (#982)
## Summary
Ends the wizard with a \"Here's what we set up\" two-column table — one
row per enabled feature with a sentence specific to the project that was
just instrumented. The blurbs come from a new server-side agent that
uses the tech-stack description already captured during platform
detection (e.g. \"Next.js 14 with Drizzle ORM and Cloudflare D1\") to
produce context-aware copy rather than generic marketing text.
Depends on getsentry/cli-init-api#156 for the server-side agent.
## Changes
- `WizardSummary` and `WizardOutput` gain an optional `featureBlurbs`
field
- `buildSummary()` populates it from the workflow output and suppresses
the plain \"Features\" row when blurbs are present (the table makes it
redundant)
- Both `ink-report.ts` (post-dispose chalk output) and `logging-ui.ts`
render the blurbs as a proper two-column table via `renderTextTable` —
same renderer used by `sentry issue list` / `sentry project list`, so
wrapping and column fitting are handled automatically
- `SummaryPanel` in `ink-app.tsx` renders the live Ink variant with flex
layout
- Removed \"Nice, setup made it through.\" preamble so the feedback
prompt follows the summary directly
## Test Plan
- Start `bun run dev` in `cli-init-api`, then run
`MASTRA_API_URL=http://localhost:8787 bun run src/bin.ts init` against a
real project
- Confirm the blurbs table appears after the key/value fields and before
changed files
- Run with `--no-tui` and confirm the plain-text table renders the same
content
- If the blurb agent fails, wizard completes normally with no blurbs
shown (try/catch in `open-sentry-ui.ts`)
---------
Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
0 commit comments