Add SQLiteStore using modernc.org/sqlite (pure Go, zero CGo) with: - WAL journal mode for concurrent read/write on embedded devices - Single-connection serialization to prevent write conflicts - Transactional message insert with auto-incrementing sequence - ToolCalls stored as JSON column (always read/written with message) - Auto-creation of session rows on first message Connection tuned for embedded use: 512KB cache, NORMAL synchronous mode, 5s busy timeout, foreign keys enabled for cascade deletes.
64 lines
2.4 KiB
Modula-2
64 lines
2.4 KiB
Modula-2
module github.com/sipeed/picoclaw
|
|
|
|
go 1.25.7
|
|
|
|
require (
|
|
github.com/adhocore/gronx v1.19.6
|
|
github.com/anthropics/anthropic-sdk-go v1.22.1
|
|
github.com/bwmarrin/discordgo v0.29.0
|
|
github.com/caarlos0/env/v11 v11.3.1
|
|
github.com/chzyer/readline v1.5.1
|
|
github.com/google/uuid v1.6.0
|
|
github.com/gorilla/websocket v1.5.3
|
|
github.com/larksuite/oapi-sdk-go/v3 v3.5.3
|
|
github.com/mymmrac/telego v1.6.0
|
|
github.com/open-dingtalk/dingtalk-stream-sdk-go v0.9.1
|
|
github.com/openai/openai-go/v3 v3.22.0
|
|
github.com/slack-go/slack v0.17.3
|
|
github.com/stretchr/testify v1.11.1
|
|
github.com/tencent-connect/botgo v0.2.1
|
|
golang.org/x/oauth2 v0.35.0
|
|
modernc.org/sqlite v1.46.1
|
|
)
|
|
|
|
require (
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/ncruces/go-strftime v1.0.0 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
golang.org/x/exp v0.0.0-20251023183803-a4bb9ffd2546 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
modernc.org/libc v1.67.6 // indirect
|
|
modernc.org/mathutil v1.7.1 // indirect
|
|
modernc.org/memory v1.11.0 // indirect
|
|
)
|
|
|
|
require (
|
|
github.com/andybalholm/brotli v1.2.0 // indirect
|
|
github.com/bytedance/gopkg v0.1.3 // indirect
|
|
github.com/bytedance/sonic v1.15.0 // indirect
|
|
github.com/bytedance/sonic/loader v0.5.0 // indirect
|
|
github.com/cloudwego/base64x v0.1.6 // indirect
|
|
github.com/github/copilot-sdk/go v0.1.23
|
|
github.com/go-resty/resty/v2 v2.17.1 // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/google/jsonschema-go v0.4.2 // indirect
|
|
github.com/grbit/go-json v0.11.0 // indirect
|
|
github.com/klauspost/compress v1.18.4 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
|
|
github.com/tidwall/gjson v1.18.0 // indirect
|
|
github.com/tidwall/match v1.2.0 // indirect
|
|
github.com/tidwall/pretty v1.2.1 // indirect
|
|
github.com/tidwall/sjson v1.2.5 // indirect
|
|
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
|
|
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
|
github.com/valyala/fasthttp v1.69.0 // indirect
|
|
github.com/valyala/fastjson v1.6.7 // indirect
|
|
golang.org/x/arch v0.24.0 // indirect
|
|
golang.org/x/crypto v0.48.0 // indirect
|
|
golang.org/x/net v0.50.0 // indirect
|
|
golang.org/x/sync v0.19.0 // indirect
|
|
golang.org/x/sys v0.41.0 // indirect
|
|
)
|