Files
HomeAgent/go.mod
JianFeeeee fe1c4f6984 chore(go): Go 1.25 → 1.27.1(1.25 存在安全风险,用户要求升级)
## 范围

- 主仓 go.mod:1.25.0 → 1.27.1
- SDK 仓 go.mod:1.21.0 → 1.27.1
- SDK 25 个 example/*/go.mod:1.25.0 → 1.27.1
- SDK CI 四处 `go-version: '1.25'` → `'1.27.1'`
  (原先钉死是因为根 go.mod 写 1.21 而 example 要求 1.25,
   无法用 go-version-file;现在版本统一了,钉死值也随之更新)
- internal/plugin/proc/e2e_template_test.go 里现场生成的插件工程
  `go 1.25` → `go 1.27.1`(否则真实模板编译报
  "updates to go.mod needed",8 个 E2E 用例连锁失败)

## 验证

go build ./... / go vet ./... / go test -p 1 ./... / -race 全通过。
2026-10-25 18:25:28 +08:00

55 lines
2.1 KiB
Modula-2
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

module github.com/JianFeeeee/HologramAgent
go 1.27.1
require (
github.com/mattn/go-sqlite3 v1.14.49
github.com/yuin/gopher-lua v1.1.2
gopkg.in/yaml.v3 v3.0.1
)
require github.com/yanyiwu/gojieba v1.4.7
require github.com/yalue/onnxruntime_go v1.13.0
require (
github.com/JianFeeeee/hologramagentsdk v0.9.2
github.com/charmbracelet/bubbles v1.0.0
github.com/charmbracelet/bubbletea v1.3.10
github.com/charmbracelet/lipgloss v1.1.0
golang.org/x/sys v0.38.0
golang.org/x/text v0.23.0
)
require (
github.com/atotto/clipboard v0.1.4 // indirect
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
github.com/charmbracelet/colorprofile v0.4.1 // indirect
github.com/charmbracelet/x/ansi v0.11.6 // indirect
github.com/charmbracelet/x/cellbuf v0.0.15 // indirect
github.com/charmbracelet/x/term v0.2.2 // indirect
github.com/clipperhouse/displaywidth v0.9.0 // indirect
github.com/clipperhouse/stringish v0.1.1 // indirect
github.com/clipperhouse/uax29/v2 v2.5.0 // indirect
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
github.com/lucasb-eyer/go-colorful v1.3.0 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-localereader v0.0.1 // indirect
github.com/mattn/go-runewidth v0.0.19 // indirect
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
github.com/muesli/cancelreader v0.2.2 // indirect
github.com/muesli/termenv v0.16.0 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
golang.org/x/image v0.25.0 // indirect
)
// SDK 仓 module 已改名为 hologramagentsdk(与 GitHub 仓名一致)。
//
// replace 指向本地源码副本,使主仓改动与 SDK 改动可在同一工作树内联调。
// ★ 只能有这一条:Go 不允许同一目录被两个 module 路径 replace
// (报 `used for two different module paths`)。所以主仓**所有** import 都已
// 统一改为新名,旧的 homeagentsdk 路径不再保留。
replace github.com/JianFeeeee/hologramagentsdk => ./third_party/homeagent-sdk