WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit babf890

Browse files
committed
chore: update dependencies and raise Go version for compatibility
- Update Go version requirement from 1.24.0 to 1.24.2 - Upgrade multiple dependencies to newer versions, including bubbletea, viper, cobra, go-openai, genai, and others - Add new indirect dependencies: clipperhouse/displaywidth, clipperhouse/stringish, clipperhouse/uax29/v2, go.yaml.in/yaml/v3 - Remove some outdated indirect dependencies and replace them with updated versions - Improve dependency compatibility and ensure the use of the latest releases Signed-off-by: appleboy <[email protected]>
1 parent 5d191af commit babf890

File tree

2 files changed

+109
-101
lines changed

2 files changed

+109
-101
lines changed

go.mod

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,39 @@
11
module github.com/appleboy/CodeGPT
22

3-
go 1.24.0
3+
go 1.24.2
44

55
require (
6-
github.com/appleboy/com v1.1.0
6+
github.com/appleboy/com v1.1.1
77
github.com/appleboy/graceful v1.2.1
88
github.com/charmbracelet/bubbles v0.21.0
9-
github.com/charmbracelet/bubbletea v1.3.6
9+
github.com/charmbracelet/bubbletea v1.3.10
1010
github.com/erikgeiser/promptkit v0.9.0
1111
github.com/fatih/color v1.18.0
1212
github.com/joho/godotenv v1.5.1
13-
github.com/liushuangls/go-anthropic/v2 v2.15.2
13+
github.com/liushuangls/go-anthropic/v2 v2.16.2
1414
github.com/rodaine/table v1.3.0
15-
github.com/sashabaranov/go-openai v1.41.1
16-
github.com/spf13/cobra v1.9.1
17-
github.com/spf13/viper v1.20.1
15+
github.com/sashabaranov/go-openai v1.41.2
16+
github.com/spf13/cobra v1.10.1
17+
github.com/spf13/viper v1.21.0
1818
github.com/yassinebenaid/godump v0.11.1
1919
golang.org/x/net v0.47.0
20-
google.golang.org/genai v1.21.0
20+
google.golang.org/genai v1.36.0
2121
)
2222

2323
require (
24-
cloud.google.com/go v0.121.6 // indirect
25-
cloud.google.com/go/auth v0.16.5 // indirect
26-
cloud.google.com/go/compute/metadata v0.8.0 // indirect
24+
cloud.google.com/go v0.123.0 // indirect
25+
cloud.google.com/go/auth v0.17.0 // indirect
26+
cloud.google.com/go/compute/metadata v0.9.0 // indirect
2727
github.com/atotto/clipboard v0.1.4 // indirect
2828
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
29-
github.com/charmbracelet/colorprofile v0.3.2 // indirect
29+
github.com/charmbracelet/colorprofile v0.3.3 // indirect
3030
github.com/charmbracelet/lipgloss v1.1.0 // indirect
31-
github.com/charmbracelet/x/ansi v0.10.1 // indirect
32-
github.com/charmbracelet/x/cellbuf v0.0.13 // indirect
33-
github.com/charmbracelet/x/term v0.2.1 // indirect
31+
github.com/charmbracelet/x/ansi v0.11.2 // indirect
32+
github.com/charmbracelet/x/cellbuf v0.0.14 // indirect
33+
github.com/charmbracelet/x/term v0.2.2 // indirect
34+
github.com/clipperhouse/displaywidth v0.6.0 // indirect
35+
github.com/clipperhouse/stringish v0.1.1 // indirect
36+
github.com/clipperhouse/uax29/v2 v2.3.0 // indirect
3437
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
3538
github.com/felixge/httpsnoop v1.0.4 // indirect
3639
github.com/fsnotify/fsnotify v1.9.0 // indirect
@@ -39,40 +42,38 @@ require (
3942
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
4043
github.com/google/go-cmp v0.7.0 // indirect
4144
github.com/google/s2a-go v0.1.9 // indirect
42-
github.com/googleapis/enterprise-certificate-proxy v0.3.6 // indirect
45+
github.com/googleapis/enterprise-certificate-proxy v0.3.7 // indirect
4346
github.com/googleapis/gax-go/v2 v2.15.0 // indirect
4447
github.com/gorilla/websocket v1.5.3 // indirect
4548
github.com/inconshreveable/mousetrap v1.1.0 // indirect
46-
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
49+
github.com/lucasb-eyer/go-colorful v1.3.0 // indirect
4750
github.com/mattn/go-colorable v0.1.14 // indirect
4851
github.com/mattn/go-isatty v0.0.20 // indirect
4952
github.com/mattn/go-localereader v0.0.1 // indirect
50-
github.com/mattn/go-runewidth v0.0.16 // indirect
53+
github.com/mattn/go-runewidth v0.0.19 // indirect
5154
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
5255
github.com/muesli/cancelreader v0.2.2 // indirect
5356
github.com/muesli/reflow v0.3.0 // indirect
5457
github.com/muesli/termenv v0.16.0 // indirect
5558
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
5659
github.com/rivo/uniseg v0.4.7 // indirect
57-
github.com/sagikazarmark/locafero v0.10.0 // indirect
58-
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect
59-
github.com/spf13/afero v1.14.0 // indirect
60-
github.com/spf13/cast v1.9.2 // indirect
61-
github.com/spf13/pflag v1.0.7 // indirect
60+
github.com/sagikazarmark/locafero v0.12.0 // indirect
61+
github.com/spf13/afero v1.15.0 // indirect
62+
github.com/spf13/cast v1.10.0 // indirect
63+
github.com/spf13/pflag v1.0.10 // indirect
6264
github.com/subosito/gotenv v1.6.0 // indirect
6365
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
64-
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
65-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.62.0 // indirect
66-
go.opentelemetry.io/otel v1.37.0 // indirect
67-
go.opentelemetry.io/otel/metric v1.37.0 // indirect
68-
go.opentelemetry.io/otel/trace v1.37.0 // indirect
66+
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
67+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0 // indirect
68+
go.opentelemetry.io/otel v1.38.0 // indirect
69+
go.opentelemetry.io/otel/metric v1.38.0 // indirect
70+
go.opentelemetry.io/otel/trace v1.38.0 // indirect
71+
go.yaml.in/yaml/v3 v3.0.4 // indirect
6972
golang.org/x/crypto v0.45.0 // indirect
7073
golang.org/x/exp v0.0.0-20250506013437-ce4c2cf36ca6 // indirect
71-
golang.org/x/sync v0.18.0 // indirect
7274
golang.org/x/sys v0.38.0 // indirect
7375
golang.org/x/text v0.31.0 // indirect
74-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250825161204-c5933d9347a5 // indirect
75-
google.golang.org/grpc v1.75.0 // indirect
76-
google.golang.org/protobuf v1.36.8 // indirect
77-
gopkg.in/yaml.v3 v3.0.1 // indirect
76+
google.golang.org/genproto/googleapis/rpc v0.0.0-20251124214823-79d6a2a48846 // indirect
77+
google.golang.org/grpc v1.77.0 // indirect
78+
google.golang.org/protobuf v1.36.10 // indirect
7879
)

0 commit comments

Comments
 (0)