mirror of
https://github.com/hanzoai/ai.git
synced 2026-11-20 14:13:23 +00:00
* fix(sqlite): use github.com/hanzoai/sqlite, never modernc directly object/adapter.go and the two cmd/ tools blank-imported modernc.org/sqlite to register the database/sql "sqlite" driver. That is the ONLY direct modernc importer in ai — and when ai is linked into a binary that also links github.com/hanzoai/sqlite (hanzoai/cloud, via #96), a CGO_ENABLED=1 build registers "sqlite" twice (mattn in the fork + modernc here) and panics at init. Route all three through the ONE Hanzo driver, github.com/hanzoai/sqlite, which registers "sqlite" exactly once per build (cgo→SQLCipher, !cgo→modernc). No behavior change: ai ships CGO_ENABLED=0, where the fork IS modernc. * style(split): gofumpt -w split/code.go (v0.10.0 map alignment) Pre-existing gofumpt v0.10.0 alignment drift unrelated to the sqlite change; required Go-Linter check flags it. Pure formatting, no logic change.