chore(local-agent): 從 git 移除誤 commit 的 wails build binary(10MB Mach-O)

3f0175f commit local-agent/ 時連帶把 wails build 出的執行檔
local-agent/visiona-agent/visiona-agent(10MB Mach-O 64-bit x86_64)
一起進 git,違反「build artifact 不進 git」原則:

- 可重新產生:source 已在 git,clone 後 wails build 即可
- 平台特定:x86_64 macOS 執行檔對其他平台無用
- repo 變胖:git history 永遠保留這 10MB

修法:
- git rm --cached(保留磁碟上檔案,下次 wails build 還會用)
- local-agent/.gitignore 補 /visiona-agent/visiona-agent 防再犯

注意:3f0175f 的 history 仍含此 binary,徹底清除需 git filter-repo
(local-only repo、未 push、暫不處理)。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
jim800121chen 2026-05-01 18:29:22 +08:00
parent d9d8f03fba
commit 72672972c8
2 changed files with 4 additions and 0 deletions

View File

@ -78,3 +78,7 @@ desktop.ini
*.pem
*.key
# 直接在 visiona-agent/ 下 go build 出的 binary沒進 build/bin/ 的情況)
# 這是平台特定的 executable10MBsource code 已在 git需要時自己 wails build 即可
/visiona-agent/visiona-agent