unsloth/studio
Roland Tannous a3ad6015bc Studio: fix tsc errors in Phase 4 frontend
Two errors surfaced by the frontend build (`tsc -b`) after the Phase 4
commit c74fc13eb landed:

  src/features/chat/chat-settings-sheet.tsx(449,9): TS2451 — cannot
  redeclare block-scoped 'activeThreadId'.
  src/features/rag/stores/rag-store.ts(326,9): TS2774 — condition will
  always return true since this function is always defined.

Fixes
- chat-settings-sheet.tsx: an `activeThreadId` declaration already
  existed near the code-exec section (line 636). Phase 2B's RAG
  retrieval-section block introduced a second declaration at line 449.
  The earlier one is needed for the Retrieval block; drop the later
  redeclaration — downstream code still resolves it via lexical scope.
- rag-store.ts subscribeJob: `get().jobUnsubscribers[jobId]` indexes a
  `Record<string, () => void>`. Without `noUncheckedIndexedAccess` TS
  infers the result as the function type (never undefined), so
  `if (existing)` is always-truthy. Replace with `if (jobId in
  get().jobUnsubscribers) return;` — same semantics, satisfies TS.
2026-05-24 13:47:34 +04:00
..
backend Studio: RAG-as-tool composer button (Phase 4) 2026-05-24 13:41:45 +04:00
frontend Studio: fix tsc errors in Phase 4 frontend 2026-05-24 13:47:34 +04:00
src-tauri Fix Windows workflow issues(#5694) 2026-05-22 05:32:30 -07:00
__init__.py Final cleanup 2026-03-12 18:28:04 +00:00
install_llama_prebuilt.py ci: unblock Studio Windows + Linux + Mac smoke (#5741) 2026-05-23 06:59:16 -07:00
install_python_stack.py ci: unblock Studio Windows + Linux + Mac smoke (#5741) 2026-05-23 06:59:16 -07:00
LICENSE.AGPL-3.0 Add AGPL-3.0 license to studio folder 2026-03-09 19:36:25 +00:00
package-lock.json ci: advisory lockfile supply-chain audit (no install-script changes) (#5604) 2026-05-19 05:56:56 -07:00
package.json ci: advisory lockfile supply-chain audit (no install-script changes) (#5604) 2026-05-19 05:56:56 -07:00
setup.bat Final cleanup 2026-03-12 18:28:04 +00:00
setup.ps1 studio: regenerate desktop launcher on unsloth studio update (macOS + Linux + Windows) (#5577) 2026-05-19 05:49:10 -07:00
setup.sh Route CPU-only Linux x86_64 to ggml-org/llama.cpp prebuilts (#5302) 2026-05-05 23:22:22 -07:00
Unsloth_Studio_Colab.ipynb studio: add --local to setup.sh + overlay unsloth-zoo from git main (#5252) 2026-05-02 08:51:56 +04:00