596 Commits

Author SHA1 Message Date
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
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
2a58699398 chore: plan update 2026-03-01 12:35:43 +01:00
Georg Bauer
f21dc74113 Merge pull request #26 from rfc1437/feature/sse-streaming
feat: SSE streaming for chat providers
2026-03-01 12:14:51 +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
1d2eba8114 chore: agent instructions 2026-03-01 11:53:19 +01:00
90f541cc84 fix: iterator cleanup, abort listener leak, token guard, tool parse errors 2026-03-01 11:51:36 +01:00
5ea55f407d chore: agent settings 2026-03-01 11:42:20 +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
5267ff77df chore: updated agents stuff 2026-03-01 10:26:50 +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
5938aa9642 chore: added local AI plan 2026-03-01 09:58:33 +01:00
65ff7502ed chore: updates to plan 2026-03-01 09:41:59 +01:00
d65272054f chore: another plan update 2026-03-01 09:18:42 +01:00
608205adcd chore: updated plan 2026-03-01 09:14:35 +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
583c37473a chore: that plan is done 2026-03-01 07:05:25 +01:00
46cdadbaca feat: agents use stdio now and vibe added 2026-02-28 23:02:58 +01:00
Georg Bauer
97f51d565d Merge pull request #25 from rfc1437/feature/mcp-standalone-cli
Feature/mcp standalone cli
2026-02-28 22:39:15 +01:00