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>
85 lines
1.7 KiB
Plaintext
85 lines
1.7 KiB
Plaintext
|
||
# 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-6b:macOS 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*
|
||
|
||
# ── Python(dev 時可能出現的 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/ 的情況)
|
||
# 這是平台特定的 executable(10MB);source code 已在 git,需要時自己 wails build 即可
|
||
/visiona-agent/visiona-agent
|