Commit Graph

571 Commits

Author SHA1 Message Date
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
72b21ddba7 Override dompurify to >=3.3.2 to fix vulnerability (#39)
Co-authored-by: hugo <hugoms@me.com>
2026-03-07 08:06:39 +01:00
dependabot[bot]
a5430df491 chore(deps): bump express-rate-limit (#38)
Bumps the npm_and_yarn group with 1 update in the / directory: [express-rate-limit](https://github.com/express-rate-limit/express-rate-limit).


Updates `express-rate-limit` from 8.2.1 to 8.3.0
- [Release notes](https://github.com/express-rate-limit/express-rate-limit/releases)
- [Commits](https://github.com/express-rate-limit/express-rate-limit/compare/v8.2.1...v8.3.0)

---
updated-dependencies:
- dependency-name: express-rate-limit
  dependency-version: 8.3.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-06 21:55:43 +01:00
dependabot[bot]
fd530d6379 chore(deps): bump tar in the npm_and_yarn group across 1 directory (#37)
Bumps the npm_and_yarn group with 1 update in the / directory: [tar](https://github.com/isaacs/node-tar).


Updates `tar` from 7.5.9 to 7.5.10
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.9...v7.5.10)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.10
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-06 07:34:05 +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
8ac8305e01 Claude/update beds documentation jdk5 y (#35)
* docs: update BDS_SEMANTIC_SIMILARITY.md for current app state

* docs: add duplication analysis feature to semantic similarity spec

* docs: add tag suggestion and duplicate check via Blog menu to similarity spec

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-03-04 23:07:54 +01:00
dependabot[bot]
cd7cd1a1d0 chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates (#33)
Bumps the npm_and_yarn group with 2 updates in the / directory: [@hono/node-server](https://github.com/honojs/node-server) and [hono](https://github.com/honojs/hono).


Updates `@hono/node-server` from 1.19.9 to 1.19.10
- [Release notes](https://github.com/honojs/node-server/releases)
- [Commits](https://github.com/honojs/node-server/compare/v1.19.9...v1.19.10)

Updates `hono` from 4.12.3 to 4.12.5
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.12.3...v4.12.5)

---
updated-dependencies:
- dependency-name: "@hono/node-server"
  dependency-version: 1.19.10
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: hono
  dependency-version: 4.12.5
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-04 22:39:56 +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
08ef72a802 fix: unified handling of editor reloading (#32)
Co-authored-by: hugo <hugoms@me.com>
2026-03-04 09:28:20 +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
4b4a9c1c8b chore: updated plan for similarity index 2026-03-01 23:10:44 +01:00
ff8756425f feat: add directed arrowheads to mindmap links 2026-03-01 22:32:06 +01:00
6a0dbb6511 refactor: switch mindmap layout from d3-hierarchy to dagre with word wrapping 2026-03-01 22:29:49 +01:00
78aa59e0a3 fix: center and balance mindmap layout with left/right splitting 2026-03-01 22:15:08 +01:00
71d05a0fa5 feat: add render_mindmap a2ui tool with d3-hierarchy layout 2026-03-01 22:09:17 +01:00
3addd92728 chore: cleaning up todo 2026-03-01 21:53:15 +01:00
02c92e865a chore: updated documentation 2026-03-01 21:46:53 +01:00
9fdbccc687 feat: ollama support 2026-03-01 21:31:33 +01:00
4daa5f450b chore: unneeded todos 2026-03-01 20:59:13 +01:00
Georg Bauer
b03a730d23 Merge pull request #29 from rfc1437/feat/ai-sdk-rewrite
Feat/ai sdk rewrite
2026-03-01 20:57:39 +01:00
32aae7b694 fix: use unixepoch modifier in count_posts SQL for integer timestamps 2026-03-01 20:54:14 +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
a508981400 Block external images in chat markdown renderer (CSP compliance) 2026-03-01 20:10:25 +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
0a79c40468 Resolve all 3 open questions in refactoring plan 2026-03-01 19:11:29 +01:00
fe394a02b8 Phase 0: validate AI SDK v6 with Zen gateway — 31 tests, all green 2026-03-01 19:08:48 +01:00
161f6b7ce5 chore: updated local ai plan with reference to AI SDK 2026-03-01 19:05:49 +01:00
7cc50e35ee feat: some better helps for AI assistants 2026-03-01 17:29:45 +01:00
Georg Bauer
c8d72486f1 Merge pull request #28 from rfc1437/feat/mistral-integration
feat: Add Mistral AI as first-class alternative provider (PR 3)
2026-03-01 17:14:13 +01:00
84a5e0b64a chore: closed plan that is implemented 2026-03-01 17:11:58 +01:00
c02ddc6d7a fix: better handling of empty model catalog 2026-03-01 17:09:29 +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
886083ebc9 chore: agent instructions 2026-03-01 14:20:09 +01:00
028d79dad9 chore: updated plan 2026-03-01 14:06:03 +01:00
1dd520f770 feat: integration of models.dev and proper handling of outpout tokens 2026-03-01 14:04:23 +01:00
Georg Bauer
6891613943 Merge pull request #27 from rfc1437/feat/keychain-migration
feat: migrate API key storage to Electron safeStorage (OS keychain)
2026-03-01 13:22:39 +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