Closes bd-149 The version mismatch warning was using string comparison (Version < dbVersion) which incorrectly compared v0.9.10 < v0.9.9 as true (lexicographically '1' < '9'). Now uses golang.org/x/mod/semver.Compare for proper semantic versioning: - v0.9.10 > v0.9.9 correctly returns 1 (binary is NEWER) - v0.9.9 < v0.9.10 correctly returns -1 (binary is OUTDATED) Amp-Thread-ID: https://ampcode.com/threads/T-4e1ac6f1-7465-442a-a385-adaa98b539ad Co-authored-by: Amp <amp@ampcode.com>
34 lines
1.1 KiB
Modula-2
34 lines
1.1 KiB
Modula-2
module github.com/steveyegge/beads
|
|
|
|
go 1.24.0
|
|
|
|
require (
|
|
github.com/anthropics/anthropic-sdk-go v1.14.0
|
|
github.com/fatih/color v1.18.0
|
|
github.com/spf13/cobra v1.10.1
|
|
modernc.org/sqlite v1.38.2
|
|
rsc.io/script v0.0.2
|
|
)
|
|
|
|
require (
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/ncruces/go-strftime v0.1.9 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/spf13/pflag v1.0.10 // indirect
|
|
github.com/tidwall/gjson v1.18.0 // indirect
|
|
github.com/tidwall/match v1.1.1 // indirect
|
|
github.com/tidwall/pretty v1.2.1 // indirect
|
|
github.com/tidwall/sjson v1.2.5 // indirect
|
|
golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b // indirect
|
|
golang.org/x/mod v0.29.0 // indirect
|
|
golang.org/x/sys v0.36.0 // indirect
|
|
golang.org/x/tools v0.37.0 // indirect
|
|
modernc.org/libc v1.66.3 // indirect
|
|
modernc.org/mathutil v1.7.1 // indirect
|
|
modernc.org/memory v1.11.0 // indirect
|
|
)
|