chore(deps): bump @sentry/starlight-theme to 0.6.0 and add sentryAgentMarkdown plugin#348
Conversation
Co-authored-by: David Cramer <dcramer@gmail.com>
Co-authored-by: David Cramer <dcramer@gmail.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2ea29dc. Configure here.
| markdown: { | ||
| shikiConfig: { | ||
| theme: monochromeCodeTheme, | ||
| sentryAgentMarkdown, |
There was a problem hiding this comment.
Stray sentryAgentMarkdown inside shikiConfig object
Medium Severity
sentryAgentMarkdown (a function) is placed as a shorthand property inside the shikiConfig object, where it doesn't belong. The valid shikiConfig properties are things like theme, themes, langs, transformers, etc. This line injects sentryAgentMarkdown: <function> into Shiki's config, which is almost certainly an accidental leftover from editing. It's already correctly used as a plugin on line 108 via sentryAgentMarkdown(). This stray reference will either be silently ignored (meaning intended functionality is missing) or could cause unexpected behavior depending on how Astro handles unknown shikiConfig properties.
Reviewed by Cursor Bugbot for commit 2ea29dc. Configure here.
Removes the spurious `sentryAgentMarkdown` shorthand property accidentally placed inside the `shikiConfig` object. It has no effect there and `shikiConfig` doesn't accept it. The correct usages — the import and the Starlight plugin call — are already in place. Introduced by #348, previous fix attempt (#349) was broken by a `sed` pattern that also deleted the import line. Action taken on behalf of David Cramer. --- [View Session in Sentry](https://sentry.sentry.io/traces/?project=4510944073809921&query=gen_ai.conversation.id%3A%22slack%3AC0B595QDZLL%3A1779409935.211219%22) Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: David Cramer <dcramer@gmail.com>


Bumps
@sentry/starlight-themefrom^0.5.0to^0.6.0inpackages/docs/package.jsonand adds the newsentryAgentMarkdown()plugin toastro.config.mjs.The plugin generates static
.mdversions of docs pages for LLM/agent clients and adds a copy-to-clipboard Markdown action in the right sidebar.Updated
pnpm-lock.yamlaccordingly.Action taken on behalf of David Cramer.
View Session in Sentry