Commit Graph

29 Commits

Author SHA1 Message Date
lukaszraczylo bd9e73096b Fix Windows linker conflict between go-sqlite3 and sqlite-vec
Both libraries embed their own copy of SQLite, causing duplicate
symbol errors on Windows. Add CGO_LDFLAGS to allow multiple definitions.
2025-12-19 02:19:46 +00:00
lukaszraczylo 4ca8ac2f41 Fix windows build. 2025-12-19 02:19:45 +00:00
lukaszraczylo 18699dfbb8 Add windows embeddings as well. 2025-12-19 02:19:45 +00:00
lukaszraczylo d9a6e6d2ea Add preparation workflow. 2025-12-19 02:19:44 +00:00
lukaszraczylo 6195260820 Dynamically download ONNX libraries from microshit's website. 2025-12-19 02:19:44 +00:00
lukaszraczylo a981842304 Release local embeddings and local sqlite-vec without need for chroma. 2025-12-19 02:19:43 +00:00
lukaszraczylo 2974ef811b Fix install / uninstall. 2025-12-19 02:19:43 +00:00
lukaszraczylo a68bc36102 Move from chroma to sqlitevec with local embedding 2025-12-19 02:19:42 +00:00
lukaszraczylo a208d447dd Additional abstractions for both sqlite and chroma. 2025-12-19 02:19:41 +00:00
lukaszraczylo c2904a31ad Dashboard and sdk processor improvements. 2025-12-19 02:19:41 +00:00
lukaszraczylo 7e96555375 Improvements to the queue processing. 2025-12-19 02:19:40 +00:00
lukaszraczylo edd76adabf Update documentation so uvx is uv ( and uvx is included ) 2025-12-19 02:19:40 +00:00
lukaszraczylo 5bc667a939 Move SDK processing to async queue. 2025-12-19 02:19:39 +00:00
lukaszraczylo 2542b15c6b Fixes installation scripts. 2025-12-19 02:19:39 +00:00
lukaszraczylo 61b8b8d23c Utilise semantic version for the dashboard as well. 2025-12-19 02:19:38 +00:00
lukaszraczylo 1f0ea7f75d Add the statusline. Fix the installation. 2025-12-19 02:19:38 +00:00
lukaszraczylo 772814dbc1 Fix the issue with hanging browser tab. 2025-12-19 02:19:37 +00:00
github-actions[bot] f9bbcd097e chore: update marketplace for v0.6.1 2025-12-19 02:19:37 +00:00
lukaszraczylo a81438cada HTTP and SSE dead client fix
Fix 1: HTTP Server timeouts (service.go)
  - Added IdleTimeout: 120s - closes idle keep-alive connections
  - Added ReadTimeout: 30s - prevents hung connections waiting for request data

  Fix 2: SSE dead client cleanup (broadcaster.go) - This was the real leak
  - Bug: When Write() failed on a disconnected client, it just logged and continued - the dead client stayed in the clients map forever
  - Effect: Dead clients accumulated and every Broadcast() call would try (and fail) to write to them
  - Fix: Now tracks failed writes and removes dead clients from the map

  The SSE bug was likely the main cause. Every time a browser tab closed or connection dropped, the client stayed registered. On each broadcast (processing status updates happen frequently), it would try to write to dead connections, fail, but never clean up.
2025-12-19 02:19:36 +00:00
github-actions[bot] c45852ab87 chore: update marketplace for v0.5.1 2025-12-19 02:19:36 +00:00
lukaszraczylo 0311ac26a3 Startup and update sequence
1. Version mismatch restart loop (pkg/hooks/worker.go):
    - Added versionsCompatible() and extractBaseVersion() functions
    - Hooks no longer restart worker when base versions match (e.g., v0.3.5-dirty ≈ v0.3.5-2-gca711a8-dirty)
2. Auto-update detection (internal/update/update.go):
    - isNewerVersion() now extracts base version before comparing
    - No longer always reports updates for dirty/dev builds
3. Non-blocking ChromaDB sync (internal/worker/handlers.go):
    - SyncUserPrompt now runs in a goroutine with 10-second timeout
    - /api/sessions/init responds immediately without waiting for ChromaDB
2025-12-19 02:19:35 +00:00
github-actions[bot] 2bc828c953 chore: update marketplace for v0.4.1 2025-12-19 02:19:35 +00:00
lukaszraczylo d799f6b447 Fix autoupdate, add healtcheck status to the dashboard 2025-12-19 02:19:34 +00:00
github-actions[bot] 1a4f015442 chore: update marketplace for v0.3.5 2025-12-19 02:19:34 +00:00
lukaszraczylo 3a09d76289 Hotfix: Auto update capability. 2025-12-19 02:19:33 +00:00
github-actions[bot] 72a2df32c8 chore: update marketplace for v0.3.1 2025-12-19 02:19:33 +00:00
lukaszraczylo 1937e8b2cf Add placeholder for the build to progress. 2025-12-19 02:19:32 +00:00
lukaszraczylo b13c3d40ac Release to the world. 2025-12-19 02:19:32 +00:00
lukaszraczylo 9c2a1a795a Initial commit 2025-12-19 02:19:31 +00:00