24 Commits

Author SHA1 Message Date
b627c51f7d Enhance pick-paths functionality with options for filters and title 2026-04-17 12:59:37 +02:00
4857eee154 Add getChangelogPage to preload.cjs 2026-04-17 10:22:50 +02:00
6e9ae778f1 Add changelog retrieval functionality in electron/main.cjs 2026-04-17 10:21:58 +02:00
ecec4d09ea Add support for new models and settings in Electron app 2026-04-17 08:35:42 +02:00
a83486107c Add offWindowFocus method to electronAPI 2026-04-17 08:01:46 +02:00
48c35698cb auto-git:
[add] dist/assets/index-DifKT69O.js
 [change] backend/main.py
 [change] backend/schemas.py
 [change] backend/whisper_admin.py
 [change] dist/index.html
 [change] electron/main.cjs
 [change] src/App.jsx
 [change] src/GeneralSettings.jsx
 [change] src/audioInput.js
 [unlink] dist/assets/index-Dm7DZNSo.js
2026-04-17 04:43:29 +02:00
67d9f41f17 auto-git:
[add] dist/assets/index-BFOWWhCS.css
 [add] dist/assets/index-Dm7DZNSo.js
 [change] dist/index.html
 [change] electron/main.cjs
 [change] src/App.jsx
 [unlink] dist/assets/index-CQjkNPEp.js
 [unlink] dist/assets/index-CzQQplJ5.css
2026-04-17 04:22:37 +02:00
d5cdb85629 Add audio input settings to Electron main process 2026-04-16 22:06:10 +02:00
c5b2c17370 Add openDevToolsOnStartup setting and related functionality 2026-03-20 16:35:04 +01:00
5b45b29420 Add console logs for Electron window creation and loading 2026-03-20 16:09:22 +01:00
490c58f528 Add error handling for failed window loads in electron/main.cjs 2026-03-20 16:04:19 +01:00
6be438519c added embedding model selection 2026-03-20 12:00:44 +01:00
c4ee51d05d Update README and code to remove folder registration option 2026-03-20 10:18:35 +01:00
b5d4085a4b Enhance path picking functionality in Electron and LibraryManager 2026-03-20 09:50:03 +01:00
98fed0d7be Add functions to parse and format git status paths for update check 2026-03-20 09:22:24 +01:00
f76474280d Add script for running Electron in development mode and update package.json and main.cjs accordingly 2026-03-20 09:16:38 +01:00
228e75039f Check for up-to-date status before setting update 2026-03-20 08:48:49 +01:00
bc3532ce2c Add update check and auto-update functionality 2026-03-20 08:47:32 +01:00
27e9202e25 Ensure settings directory exists before saving and set default settings file path in run.sh 2026-03-20 08:17:07 +01:00
d24ea89ed1 Add app settings management and update API URL handling 2026-03-20 08:16:40 +01:00
795f4d272a auto-git:
[add] README.md
 [add] backend/libraries/punk/library.json
 [add] backend/libraries/punk/stage/19f1e5d2ceaab5fd1f1dc58ff07422388f156610d16dfdea2bdb35a5b9e70813--GeorgeJordac-TheVoiceOfHumanJustice.pdf
 [add] backend/libraries/punk/stage/85fce554ff7685f7bccb136aff5768e54b9ba8361672fe45dbce599598c4be4b--4_Strings_-_Take_Me_Away_Into_The_Night_Vocal_Radio_Mix_.mp3
 [add] backend/libraries/punk/stage/e816ca61aebd84159747d248fedd6d5ff318c471c36bcc31b1ac6bf9aebcd3c1--The_Evolution_of_Cooperation_Robert_Axelrod_liber3.pdf
 [add] backend/local_rag.py
 [add] backend/rag/__init__.py
 [add] backend/rag/corpus_builder.py
 [add] backend/rag/corpus_enricher.py
 [add] backend/rag/index_builder.py
 [add] backend/rag/unified_rag.py
 [add] dist/assets/index-Cc0DLWqA.css
 [add] dist/assets/index-DKAz6gtp.js
 [add] dist/index.html
 [add] src/LibraryManager.jsx
 [add] wheelcheck2117/pydantic-2.11.7-py3-none-any.whl
 [add] wheelcheck274/pydantic-2.7.4-py3-none-any.whl
 [change] backend/main.py
 [change] backend/requirements.txt
 [change] backend/schemas.py
 [change] electron/main.cjs
 [change] electron/preload.cjs
 [change] package.json
 [change] run.sh
 [change] src/App.jsx
 [change] src/InterfaceSettings.jsx
 [change] src/colorSchemes.js
 [change] src/main.jsx
 [change] src/styles.css
2026-03-19 21:07:22 +01:00
d28d88d1f2 feat(ui,markdown): add collapsible 'Thoughts' for <think>, sanitize titles, improve focus UX; refactor table/blockquote render & styles
Backend: HTML-unescape and strip <think>/<thinking> from generated titles; trim and return cleaned value; add debug logs.

Electron: send 'window-focused' from main; expose onWindowFocus in preload.

Frontend: stream-safe AssistantMessageContent with collapsible Thoughts; switch streaming render to React state updates; autofocus textarea on window focus/new chat and when clicking empty chat area; sanitize session title client-side.

Markdown: support blockquotes; allow '-' or '*' bullets; simplify <think> removal to handle streaming; drop table wrapper div (emit <table class='nice'>); theme-aware code block headers/borders.

CSS: rounded 'nice' tables with light inner grid; blockquote styling; Thoughts toggle/panel styles.

Color: brighten Grayscale --accent.

Follow-ups: add IPC listener cleanup; ensure single source of truth for colorSchemes.
2025-08-25 21:13:09 +02:00
41c69abe28 feat: Add streaming chat + scroll persistence; improve markdown & links
Backend
- /chat: support streaming via StreamingResponse; save full reply after stream ends. Non-stream path unchanged.
- ChatRequest: add stream flag (default false).
- GenerateTitleRequest: add model and use it instead of hardcoded llama3.
- ollama_client.chat_stream(): new async generator parsing Ollama streaming JSON (both formats).
- Remove response_model from /chat to allow streaming; non-stream still returns { reply }.

Electron
- Open external links in system browser (setWindowOpenHandler, shell.openExternal).
- New IPC: update-settings, open-external-link.
- Set minimum window size; preload exposes updateSettings and openExternalLink.

Frontend (React)
- Streaming UI with live chunking; sticky-bottom only when user at bottom.
- Per-session scroll persistence and robust restore.
- New message tip to jump to latest reply when scrolled up.
- Disable Send while sending; spinner.
- General Settings: stream output toggle; propagate model/stream changes.
- Apply color scheme at boot; extract colorSchemes helper.
- Sidebar UX tweaks and unread badges.

Markdown/rendering
- Code blocks: language title bar and wrapper.
- Tables: GitHub-style parsing, per-cell borders, rounded wrapper, spacing, alignment.
- Headings: remove blank line after h1-h4.
- <hr>: handle after tables; strip following whitespace.
- Links: target=_blank with icon and URL tooltip.

Styles
- Add styles for code/table wrappers, new-message tip, toggle, spinner; hover/active vars; narrower sidebar.

API notes / breaking changes
- /chat accepts stream=true and returns text/plain streamed chunks.
- generate-title now requires a model.
- Non-stream /chat response shape unchanged.
2025-08-23 16:45:46 +02:00
191fe98ac0 initial commit 2025-08-22 23:42:34 +02:00