Skip to content

Add the Bublik AI assistant interface - #606

Open
okt-limonikas wants to merge 8 commits into
ts-factory:mainfrom
okt-limonikas:ai-chat
Open

Add the Bublik AI assistant interface#606
okt-limonikas wants to merge 8 commits into
ts-factory:mainfrom
okt-limonikas:ai-chat

Conversation

@okt-limonikas

@okt-limonikas okt-limonikas commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add an Assistant section with persistent chat threads, model and reasoning
selection, rich streamed responses, cancellation, background-run recovery,
context usage, and generated-file downloads.

Related

Changes

  • Add /chat and /chat/:threadId routes and Assistant sidebar navigation.
  • Add model/provider selection with stale-selection recovery.
  • Render Markdown, highlighted code, reasoning, tool calls, and structured output.
  • Add user thread creation, rename, archive, restore, deletion, and Markdown export.
  • Continue displaying server-side runs after navigation or reload.
  • Support cancellation and prevent duplicate submission while a run is active.
  • Display compaction notifications and model context usage.
  • Render and download files produced by the assistant.
  • Restrict creation of the global ai configuration to No Project (Default).
  • Add unit tests for API schemas, context usage, reasoning grouping, tool state,
    Markdown export, and AI configuration behavior.

Backend Contract

This interface requires the AI chat backend endpoints for models, threads,
streaming generation, cancellation, and generated-file downloads. It also
expects active-run and context-usage fields in thread responses.

Signed-off-by: Danil Kostromin <danil.kostromin@icloud.com>
Signed-off-by: Danil Kostromin <danil.kostromin@icloud.com>
Signed-off-by: Danil Kostromin <danil.kostromin@icloud.com>
Signed-off-by: Danil Kostromin <danil.kostromin@icloud.com>
@okt-limonikas okt-limonikas self-assigned this Jul 20, 2026
Signed-off-by: Danil Kostromin <danil.kostromin@icloud.com>
Signed-off-by: Danil Kostromin <danil.kostromin@icloud.com>
Signed-off-by: Danil Kostromin <danil.kostromin@icloud.com>
Signed-off-by: Danil Kostromin <danil.kostromin@icloud.com>
@okt-limonikas
okt-limonikas force-pushed the ai-chat branch 3 times, most recently from ff8ae25 to e38d140 Compare July 21, 2026 09:15
@okt-limonikas
okt-limonikas marked this pull request as ready for review July 21, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant