visionA/local-agent/.gitignore
jim800121chen 72672972c8 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>
2026-05-01 18:29:22 +08:00

85 lines
1.7 KiB
Plaintext
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.

# Autoflow Agent由 autoflow-agent init 自動產生)
.claude/
.autoflow/CLAUDE.md.backup.*
.autoflow/.backups/
# ── 第三方依賴(由 make vendor-sync 下載,不進 git第三輪決策 Q-D=D2 ──
/vendor/**
!/vendor/.gitkeep
!/vendor/README.md
# R5-6bmacOS LGPL ffmpeg binary 進 git沒有現成 LGPL binary 來源,自 build 成本高,
# commit 後開發者 clone 即可用,不必每次重 build ~15 分鐘)
!/vendor/ffmpeg/
!/vendor/ffmpeg/macos/
!/vendor/ffmpeg/macos/**
# ── 建置產出 ──
/dist/
/visiona-agent/build/bin/
/visiona-agent/build/darwin/Resources/
# M8-3頂層 build/ffmpeg-macos/ 是 ffmpeg self-build 中間產物source + obj + install~180MB不進 git
/build/
/visiona-agent/payload/
!/visiona-agent/payload/.gitkeep
# M1-11頂層 payload/ 是 build 產物,不進 git除了 .gitkeep
/payload/**
!/payload/.gitkeep
/payload/*.tar.gz
/payload/*.zip
# ── Go ──
*.exe
*.exe~
*.dll
*.so
*.dylib
*.test
*.out
go.work.sum
# ── Node / Next.js / pnpm ──
node_modules/
.pnpm-store/
.next/
out/
*.tsbuildinfo
.npm
.pnpm-debug.log*
# ── Pythondev 時可能出現的 venv / cache ──
__pycache__/
*.py[cod]
*$py.class
.venv/
venv/
*.egg-info/
# ── Editor / IDE ──
.vscode/
.idea/
*.swp
*.swo
# ── OS ──
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
desktop.ini
# ── Env / Secrets ──
.env
.env.local
.env.*.local
*.pem
*.key
# 直接在 visiona-agent/ 下 go build 出的 binary沒進 build/bin/ 的情況)
# 這是平台特定的 executable10MBsource code 已在 git需要時自己 wails build 即可
/visiona-agent/visiona-agent