unsloth/studio/frontend/src
Wasim Yousef Said 858ba9ba20
Fix Studio chat history and attachments with newer assistant-ui (#5296)
Pass Studio history, dictation, and attachment adapters directly into useLocalRuntime instead of relying on assistant-ui's unstable_Provider ordering, which fixes blank chat threads on reload and broken image upload / drag-drop on fresh PyPI and curl installs that resolved @assistant-ui/react to the newer _RuntimeBinder path.

Also pins @assistant-ui/react, @assistant-ui/react-markdown, @assistant-ui/react-streamdown, and assistant-stream to exact versions in package.json so future installs cannot silently re-float onto a newer pre-1.0 release. The lockfile alone only fixes resolution for the install that consumes it -- a future bun add / npm install <other-pkg> rewrites the lockfile and is free to drift carets within their range, which is exactly the path that pulled @assistant-ui/react from 0.12.19 to 0.12.28 and broke 2026.5.1.

Adds studio/frontend/package-lock.json so npm fallback / fresh installs have deterministic resolution.

Tests:
- bun run typecheck
- npm ci on a clean tree (1083 packages)
- npm run build (bundle no longer contains the unstable_Provider Studio call site; only assistant-ui internals reference unstable_Provider)
2026-05-05 17:22:11 -07:00
..
app Add native GGUF intake to Studio (#5246) 2026-05-04 11:46:18 +02:00
assets Final cleanup 2026-03-12 18:28:04 +00:00
components Studio: help svg replacement and Unsloth sidebar text (#5282) 2026-05-05 16:19:56 +04:00
config Add tauri (#5144) 2026-04-23 04:50:10 -07:00
features Fix Studio chat history and attachments with newer assistant-ui (#5296) 2026-05-05 17:22:11 -07:00
hooks Fix Studio desktop tray installer and titlebar and bux fixes (#5179) 2026-04-30 08:40:39 -07:00
lib Add Tauri native notifications (#5273) 2026-05-05 00:09:48 -07:00
shared Update license headers 2026-03-12 17:23:10 +00:00
stores Update license headers 2026-03-12 17:23:10 +00:00
types Update license headers 2026-03-12 17:23:10 +00:00
utils Update license headers 2026-03-12 17:23:10 +00:00
index.css Studio: Replace assistant UI shared autoscroll with per-panel scrolling (#5127) 2026-04-22 18:57:19 +04:00
main.tsx chat only with gguf for mac devices (#4300) 2026-03-15 23:20:48 +04:00
speech-recognition.d.ts Update license headers 2026-03-12 17:23:10 +00:00