Skip to content

v3.6.1: Trace, Code Block, theme reveal + Vue overlay and border fixes

Latest

Choose a tag to compare

@ANIBIT14 ANIBIT14 released this 19 Nov 19:03
· 1 commit to main since this release

Two new components for agent interfaces, a theme switch that wipes in from where you click, and a Vue fix you'll want: uncontrolled Dialogs, Sheets, Popovers, Collapsibles and Dropdown Menus never opened. Everything ships for React and Vue.

✨ New

Trace. Show what an agent did inside a turn: reasoning, tool calls, sources, plans. Each step is a line with an icon, a title and an optional description. Running steps fill with your accent color and shimmer, pending steps go dashed, failed steps go red. Lines expand into detail on a thick rail, and they nest.

npx shadcn@latest add https://boldkit.dev/r/trace.json
npx shadcn-vue@latest add https://boldkit.dev/r/vue/trace.json

Code Block. Code, terminal output, logs and diffs in a bordered slab with a hard shadow. Header with title and actions, a copy button that flashes green when it copies, line numbers, wrapping, and added / removed / highlighted lines. A small size fits tool output inside a Trace.

npx shadcn@latest add https://boldkit.dev/r/code-block.json
npx shadcn-vue@latest add https://boldkit.dev/r/vue/code-block.json

Theme reveal. setTheme(theme, { origin }) grows the new theme in as a circle from the button you clicked. It lives in the existing use-theme item, needs no extra stylesheet, and falls back to an instant swap on older browsers, with reduced motion, and during SSR.

Bubble typing and streaming. Hopping dots before a reply starts, and a blinking block caret while tokens arrive. Both are announced to screen readers and both stand still under reduced motion.

🐛 Fixed

Vue overlays that wouldn't open. Dialog, Sheet, Popover, Collapsible, DropdownMenu, ContextMenu, HoverCard, Select, Accordion, Tabs, RadioGroup and ToggleGroup passed Vue's default false for props you never set. A trigger with no v-model:open did nothing, and Reka defaults such as keyboard loop were switched off. They now forward only the props you pass.

Vue Input ignored its props. placeholder, disabled, name, id, required, maxlength and friends never reached the <input>. Questionnaire's "Other" field lost its placeholder because of it.

Colored borders now show. The global border reset sat outside a CSS layer, so it beat every border color utility. border-transparent, border-destructive, border-success and border-primary all rendered black (ghost buttons kept a border they shouldn't have). If you installed globals.css from BoldKit, move * { @apply border-border; } inside @layer base { }, or reinstall the base item.

use-theme no longer throws when localStorage is blocked (private mode, sandboxed iframes).

MCP: the boldkit base item now installs with shadcn init instead of add.

🩹 Upgrading

Everyone: wrap the * { @apply border-border; } rule in your globals.css with @layer base { } (see above).

Vue users: reinstall the fixed components to pick up the overlay and Input fixes.

npx shadcn-vue@latest add https://boldkit.dev/r/vue/dialog.json https://boldkit.dev/r/vue/popover.json https://boldkit.dev/r/vue/input.json

The @boldkit/mcp server (0.2.0) and boldkit CLI (0.1.5) now know about Chat, Toast, Questionnaire, Number Field, Trace, Code Block, the theme presets, fonts and the base item.

Internals

  • Regression tests pin both Vue fixes (each one fails against the old code).
  • Docs site floors raised to radix-ui ^1.8.1 and recharts ^3.11.0.
  • Docs site route changes use the hard-wipe view transition.

Full diff: v3.6.0...v3.6.1