67de0f0c84
fix(vector): re-sync a note's vectors by replacing them; roll back a failed insert ( #68 )
...
The vectors table is a vec0 virtual table, where INSERT OR REPLACE does not replace, so syncing a note that already had vectors failed with a UNIQUE constraint error and the edit never reached the index. AddDocuments also shadowed err inside its loop, so a failed insert left the write transaction open and later writes failed with 'database is locked'.
Add Client.ReplaceDocuments (delete and insert in one transaction) and use it from SyncObservation and SyncSummary. The shared write function has a named result, so every failed return rolls back. Fixes #66 .
Co-authored-by: Claude Sonnet 5.5 <[email protected] >
v0.21.99
2026-10-04 23:15:46 +01:00
github-actions[bot]
eba3136fff
chore: update marketplace for v0.21.95
2026-10-04 10:23:27 +00:00
github-actions[bot] and GitHub
17f7bffef5
chore(deps): update dependencies
...
Automated dependency update. All tests passed.
v0.21.95
2026-10-04 10:18:01 +00:00
github-actions[bot]
0d75b867e6
chore: update marketplace for v0.21.91
2026-10-04 09:21:00 +00:00
lukaszraczylo
a8e9d0f256
fix(deps): update @types/node to 26 with synced lockfile
...
The Renovate branch changed ui/package.json only, so npm ci failed on a stale lockfile.
This commit updates package.json, package.json.tpl and package-lock.json together.
v0.21.91
2026-10-04 10:14:20 +01:00
lukaszraczylo
8857cc9c72
ci(deps): update dependencies with Renovate [skip ci]
2026-10-03 18:44:24 +01:00
github-actions[bot]
096490a2d3
chore: update marketplace for v0.21.85
2026-10-03 11:07:45 +00:00
lukaszraczylo
eaf7c4ddca
fix(worker): key rate limiter on peer IP, not forged headers
...
The rate limiter trusted X-Real-IP, so a client could dodge its limit by
sending a new header value on each request. It must key on the connection
peer address. The key also strips the port, so one client shares one bucket.
v0.21.85
2026-10-03 12:02:17 +01:00
github-actions[bot]
2d1f52cdf4
chore: update marketplace for v0.21.81
2026-10-03 04:05:45 +00:00
lukaszraczylo
9d7959f98f
fix(lint): clear the staticcheck findings
...
Drop the RealIP middleware: the worker listens on 127.0.0.1 only, and RealIP is deprecated because a client can set its own address. Log the restart error directly, since Restart only returns on failure. Remove an unused slice in a test and pass a real context instead of nil. staticcheck now reports nothing.
v0.21.81
2026-10-03 05:00:27 +01:00
github-actions[bot]
daa9959961
chore: update marketplace for v0.21.77
2026-10-03 03:28:30 +00:00
lukaszraczylo and GitHub
f8e5b08de7
Update go.mod and go.sum ( #63 )
v0.21.77
2026-10-03 04:19:45 +01:00
github-actions[bot]
ad718f9292
chore: update marketplace for v0.21.73
2026-09-30 03:19:52 +00:00
lukaszraczylo and GitHub
1cfe6936de
Update go.mod and go.sum ( #62 )
v0.21.73
2026-09-30 04:11:59 +01:00
github-actions[bot]
2b2bc47fe5
chore: update marketplace for v0.21.69
2026-09-30 01:03:42 +00:00
lukaszraczylo
88d316b3ec
fix(deps): bundle ONNX Runtime 1.30.0 and bump onnxruntime_go to v1.36.0
v0.21.69
2026-09-30 01:55:28 +01:00
github-actions[bot]
4cef2eb792
chore: update marketplace for v0.21.65
2026-09-30 00:47:22 +00:00
lukaszraczylo
c3cad756f9
fix(ci): make ONNX lib compression safe under set -e
v0.21.65
2026-09-30 01:39:31 +01:00
lukaszraczylo
c3fdfed512
style(eval): annotate loopback request for gosec
2026-09-30 01:37:28 +01:00
lukaszraczylo
7cb0dfbc13
docs: record accuracy campaign
2026-09-30 01:36:47 +01:00
lukaszraczylo
9e5bcc64a8
fix(embedding): L2-normalise embeddings so vector similarity is valid; add search eval harness
2026-09-30 01:36:14 +01:00
lukaszraczylo
0bbba6c078
perf(hooks): satisfy fieldalignment, annotate embedded gunzip; docs: journal experiments
2026-09-30 01:29:07 +01:00
lukaszraczylo
da1d96dab4
fix(embedding): extract ONNX runtime atomically via temp file and rename
2026-09-30 01:27:50 +01:00
lukaszraczylo
443f557000
perf(embedding): embed gzipped ONNX runtime, gunzip at first use
2026-09-30 01:26:12 +01:00
lukaszraczylo
affdd4fab0
perf(statusline): use shared minimal client, drop net/http
2026-09-30 01:24:52 +01:00
lukaszraczylo
41b774f973
perf(hooks): replace net/http with minimal HTTP/1.0 client to shrink hook binaries
2026-09-30 01:24:34 +01:00
lukaszraczylo
ee285441e4
fix(mcp): derive project from CLAUDE_PROJECT_DIR or cwd, drop invalid CLAUDE_PROJECT arg
2026-09-30 01:18:12 +01:00
lukaszraczylo
2658694839
fix(plugin): quote plugin root in hook commands, add command frontmatter
2026-09-30 01:18:12 +01:00
lukaszraczylo
e71d34912e
chore(ui): bump dashboard dependencies within semver ranges
2026-09-30 01:18:12 +01:00
lukaszraczylo
9c832f9ac0
chore(deps): bump go-json to v0.11.1
2026-09-30 01:16:48 +01:00
lukaszraczylo
7d55a6a493
chore(deps): bump chi, gormigrate, sqlite3, testify and x/* modules
2026-09-30 01:16:38 +01:00
github-actions[bot]
8995781628
chore: update marketplace for v0.21.39
2026-07-30 05:44:37 +00:00
lukaszraczylo and GitHub
10ab2a6d41
Update go.mod and go.sum ( #61 )
v0.21.39
2026-07-30 06:35:57 +01:00
github-actions[bot]
052fef0af8
chore: update marketplace for v0.21.35
2026-07-24 05:56:28 +00:00
lukaszraczylo and GitHub
3384bc1d5f
Update go.mod and go.sum ( #60 )
v0.21.35
2026-07-24 06:46:56 +01:00
github-actions[bot]
3caf83b7ea
chore: update marketplace for v0.21.31
2026-07-17 05:44:33 +00:00
lukaszraczylo and GitHub
93b19d5402
Update go.mod and go.sum ( #59 )
v0.21.31
2026-07-17 06:36:33 +01:00
github-actions[bot]
6a819918f6
chore: update marketplace for v0.21.27
2026-07-13 06:20:10 +00:00
lukaszraczylo and GitHub
98ab1cd3e9
Update go.mod and go.sum ( #58 )
v0.21.27
2026-07-13 07:11:30 +01:00
github-actions[bot]
55ba09e0c6
chore: update marketplace for v0.21.23
2026-07-09 04:31:25 +00:00
lukaszraczylo and GitHub
a369a421aa
Update go.mod and go.sum ( #57 )
v0.21.23
2026-07-09 05:22:28 +01:00
github-actions[bot]
76f31e97ae
chore: update marketplace for v0.21.19
2026-07-07 04:30:42 +00:00
lukaszraczylo and GitHub
132666a190
Update go.mod and go.sum ( #56 )
v0.21.19
2026-07-07 05:23:16 +01:00
github-actions[bot]
3a8e3667b3
chore: update marketplace for v0.21.15
2026-06-26 04:38:40 +00:00
lukaszraczylo and GitHub
3ea3904875
Update go.mod and go.sum ( #55 )
v0.21.15
2026-06-26 05:31:00 +01:00
github-actions[bot]
8a8814968e
chore: update marketplace for v0.21.11
2026-06-22 04:42:22 +00:00
lukaszraczylo and GitHub
6b8ecdd2ec
Update go.mod and go.sum ( #54 )
v0.21.11
2026-06-22 05:34:37 +01:00
github-actions[bot]
aae542565e
chore: update marketplace for v0.21.7
2026-06-19 23:43:36 +00:00
lukaszraczylo
1fcb8722c4
ci: bump actions/checkout to v5
...
Resolves the Node 20 deprecation warning (checkout@v4 was being force-run on Node 24).
v0.21.7
2026-06-20 00:38:56 +01:00
github-actions[bot]
d64a384e92
chore: update marketplace for v0.21.4
2026-06-19 13:38:19 +00:00