Commit Graph

251 Commits

Author SHA1 Message Date
Georg Bauer
72ff998537 fix: no more duplicates for already fully supported languages (#58)
Co-authored-by: hugo <hugoms@me.com>
2026-03-22 16:52:53 +01:00
Georg Bauer
1e7d60e63e Feat/pagefind search (#56)
* feat: pagefind search engine

* fix: search now works

* fixed layout

---------

Co-authored-by: hugo <hugoms@me.com>
2026-03-15 11:44:33 +01:00
Georg Bauer
914af9831d Feat/webworker for incremental render (#51)
* feat: web worker for incremental render

* feat: optimizing incremental render for date archives

* feat: more work on web worker

* fix: blogmark process handled defaulting wrong

---------

Co-authored-by: hugo <hugoms@me.com>
2026-03-13 13:27:45 +01:00
Georg Bauer
1b4ab08c37 Cleanup/code cleanup 2026 03 (#45)
* chore: cleanup of unused exports and stuff

* fix: media and languages was broken for english media

* fix: embedding model load was broken on standalone

---------

Co-authored-by: hugo <hugoms@me.com>
2026-03-10 19:54:38 +01:00
Georg Bauer
4f9be93c6d Feature/worker threads generation (#43)
* Add worker threads architecture plan for blog generation

* fix: tries to optimize rendering, still slow

* feat: moved site rendering into web worker

* fix: calendar grabs from central data source for calendar

* fix: feeds now use blog language content and not canonical content

---------

Co-authored-by: hugo <hugoms@me.com>
2026-03-09 22:49:25 +01:00
Georg Bauer
b855d61524 Feature/post media translations (#42)
* chore: updated todo with translation ideas

* feat: first take at the implementation of translations

* fix: small addition for the translation feature

* feat: support language switching in the editor and preview

* feat: better handling of long bodies by not running them through a json envelope

* fix: unknown macros have better fallback

* feat: api for python to get translations

* fix: strip dumb prefix of content in translation

* feat: extend meta diff for translations

* feat: hook up translations to rebuild-from-disk

* feat: generation of the website prefers project language, falling back to canonical language

* fix: crashes during rendering

* feat: translation validation report

* fix: made the translation validation actually work

* chore: reorganization of menu

* fix: some topics cleanup

* chore: updated doc

* feat: translations for media

* feat: more aligned in UI/UX

* feat: edit translations possible

* chore: added full multi-language todo

* chore: updated todo for clarity

* feat: implementation of full multi-linguality

* fix: page creation creates pages

* fix: flags on every page

* fix: better prompt

* feat: made MCP server aware of language content

* feat: python tools for translations

* fix: better fill-in-translations

* fix: better prompt for translation. maybe.

* fix: losing posts from search due to translation process

* fix: translation validation handles in-db content and fill-in of missing translations fixed to flush

* fix: faster scanning for infilling of missing translations

* chore: updated agent instructions

* feat: calendar and tag cloud respect current language now

* fix: retries going up

* fix: got metadata-diff and rebuild into sync

* fix: extended meta-diff for timestamps

* fix: made website validation look at translated content, too

* fix: multi-lingual search

* chore: refactor Editor.tsx into two separate editors

* feat: do language detection when no explicit language given

---------

Co-authored-by: hugo <hugoms@me.com>
2026-03-09 14:43:18 +01:00
Georg Bauer
f1c9038803 Fix/post list excerpt rendering (#41)
* feat: use excerpts in post lists

* chore: made testing less noisy

---------

Co-authored-by: hugo <hugoms@me.com>
2026-03-07 10:15:57 +01:00
Georg Bauer
9871cb827f Feature/ai post suggestions (#40)
* feat: first cut on ai suggestion system for title and summary

* feat: completion of titling/excerpt/slug-suggestion AI quick action

* feat: feeds use existing excerpts. also documentation.

---------

Co-authored-by: hugo <hugoms@me.com>
2026-03-07 09:54:13 +01:00
Georg Bauer
7e1e8981a3 Feature/semantic similarity (#36)
* fix: mixed up migrations

* feat: semantic similarity first take

* feat: semantic similarity first round of fixes

* feat: more work on making semantic similarity work properly

* feat: getPostBySlug for the AI

* feat: show similarity in post-link-insert-modal

* chore: remove done doc

---------

Co-authored-by: hugo <hugoms@me.com>
2026-03-05 22:05:32 +01:00
Georg Bauer
c4a032346c Feature/python api image discovery (#34)
* Expose chat.analyzeMediaImage in Python API for batch image metadata generation

* Fix updateMedia losing linkedPostIds by reading existing sidecar before overwriting

* Also preserve author from sidecar when DB value is null (data drift)

* Extend MetadataDiffEngine to cover media, scripts, and templates

* Redesign MetadataDiffPanel: item-first view with field pills, filtering, and per-item multi-field diffs

* Fix task:progress startsWith crash (taskId not id) and nested button violation in field pills

* Populate field diffs for file-missing items and show fileMissing badge in UI

* feat: extended meta diff

* feat: meta diff als reconstructs orphans

* chore: updated documentation

---------

Co-authored-by: hugo <hugoms@me.com>
2026-03-04 22:37:43 +01:00
Georg Bauer
32b66e1677 Feat/language detection (#31)
* feat: implementation of language detection

* run utility scripts in tasks

* fix: addiitonal fixes for background utilities

* feat: toast() also for utility scripts

---------

Co-authored-by: hugo <hugoms@me.com>
2026-03-03 14:36:15 +01:00
Georg Bauer
5747925503 Feature/lmstudio provider (#30)
* chore: just a plan update

* Add LM Studio as local AI provider (OpenAI-compatible, like Ollama)

* Convert WebP thumbnails to JPEG before image analysis for LM Studio compatibility

* Strengthen language enforcement in image analysis prompt for local models

* Use i18n localized prompts for image analysis instead of English instructions

* Add airplane mode (Flugmodus) with status bar toggle and offline model preferences

* Fix flightmode: persist model IDs, skip network when offline, airplane icon

* Auto-fallback to offline models in airplane mode for chat, title, and image analysis

* Auto-select first local model as offline fallback when no explicit offline model configured

* Block git fetch/pull/push and site upload in airplane mode

* fix: thumbnails optimized for AI

* fix: error handling in airplane mode

---------

Co-authored-by: hugo <hugoms@me.com>
2026-03-02 13:35:42 +01:00
71d05a0fa5 feat: add render_mindmap a2ui tool with d3-hierarchy layout 2026-03-01 22:09:17 +01:00
9fdbccc687 feat: ollama support 2026-03-01 21:31:33 +01:00
db84129a17 feat: add count_posts aggregation tool to AI SDK and MCP server 2026-03-01 20:46:44 +01:00
3074fe461c fix: some fixes for mcp server and ai tools 2026-03-01 20:40:36 +01:00
834d3524e1 Phase 3: delete OpenCodeManager + streaming, dedup MCPServer tools (-6,359 lines) 2026-03-01 20:03:59 +01:00
b2854cee34 Phase 2: providers + chat + tasks + IPC rewire 2026-03-01 19:56:39 +01:00
1c74e9807d Phase 1: shared blog-tools + a2ui-tools with AI SDK tool(), MCPServer dedup 2026-03-01 19:26:37 +01:00
fe394a02b8 Phase 0: validate AI SDK v6 with Zen gateway — 31 tests, all green 2026-03-01 19:08:48 +01:00
7cc50e35ee feat: some better helps for AI assistants 2026-03-01 17:29:45 +01:00
63674266f5 fix: better models.dev support 2026-03-01 17:03:50 +01:00
e2c46e94aa fix: second round of fixes 2026-03-01 15:24:15 +01:00
202ea1b7cc fix: first round of fixes of implementation 2026-03-01 15:11:33 +01:00
c911ec2354 feat: add Mistral AI as first-class alternative provider 2026-03-01 14:41:42 +01:00
1dd520f770 feat: integration of models.dev and proper handling of outpout tokens 2026-03-01 14:04:23 +01:00
4bd7e6cd99 fix: rollback in-memory key on store failure, add corrupted-data and rollback tests 2026-03-01 13:20:16 +01:00
226c9193d6 fix: isolate cleanup from key retrieval, add deleteSetting test 2026-03-01 13:14:15 +01:00
089ed70a62 fix: eliminate non-null assertions, fix broken test, add error-path coverage 2026-03-01 13:07:50 +01:00
0618c7c532 feat: migrate API key storage to Electron safeStorage (OS keychain)
- Add SecureKeyStore class using safeStorage encrypt/decrypt with base64 in SQLite
- Update chatHandlers to store/retrieve API keys via SecureKeyStore
- Delete old plain-text opencode_api_key on startup (no migration, re-enter key)
- Add deleteSetting() to ChatEngine
- Add 14 SecureKeyStore unit tests and 6 chatHandlers keychain integration tests
- Update existing chatHandlers test mocks for SecureKeyStore
- Update MISTRAL_PLAN.md: mark PR 1 done, remove legacy fallback from PR 2 scope
2026-03-01 12:36:35 +01:00
2ddaad422f fix: thinking signature capture, abort-aware retry delay, usage tracking 2026-03-01 12:13:14 +01:00
72410b2973 fix: thinking block support, roundText preservation, abort listener leak, typo 2026-03-01 12:02:57 +01:00
90f541cc84 fix: iterator cleanup, abort listener leak, token guard, tool parse errors 2026-03-01 11:51:36 +01:00
bae229a9a2 fix: scope retry to connection only, prevent onDelta double-emission 2026-03-01 11:42:07 +01:00
2dec5592c9 fix: SSE streaming review fixes round 2 2026-03-01 10:54:02 +01:00
781cedade5 fix: SSE streaming review fixes
- Fix OpenAI path using accumulatedText instead of round-specific text
  in assistant messages for multi-round tool conversations
- Guard JSON.parse in both SSE parsers against corrupted events
- Extract cacheReadTokens from OpenAI prompt_tokens_details when available
- Add tests for JSON parse resilience and cache token extraction (7 new tests)
2026-03-01 10:25:54 +01:00
78c2cb7bb7 feat: SSE streaming for chat providers 2026-03-01 10:10:54 +01:00
61bca755e0 feat: posts also get structured forward links 2026-03-01 08:24:24 +01:00
cabb1536c3 feat: agents get access to backlinks 2026-03-01 08:12:38 +01:00
24ca2d3317 feat: moved big css block out of pages into external css file 2026-03-01 07:43:46 +01:00
4c21b624f2 feat: backlinks on single posts 2026-03-01 07:26:49 +01:00
289535021a fix: slugify transliterates now much better 2026-03-01 07:12:38 +01:00
46cdadbaca feat: agents use stdio now and vibe added 2026-02-28 23:02:58 +01:00
ca258ea14d chore: added missing tests 2026-02-28 22:37:07 +01:00
61b6c904f4 fix: fixed a failing test file 2026-02-28 21:58:53 +01:00
c358e1b11c feat: first round of mcp standalone server 2026-02-28 21:23:22 +01:00
8af1063351 fix: just a fixed test 2026-02-28 14:54:56 +01:00
554c02e1d3 fix: MCP apps rendering now 2026-02-28 14:26:56 +01:00
46752068be feat: rework templates 2026-02-28 13:00:51 +01:00
6c22e69805 feat: more work on mcp server integration 2026-02-28 12:36:13 +01:00