chore: ignore local agent state, clean packaged installers

.gitignore: add .omo/ (an AI-assisted-coding local state dir that was being
tracked — .omo/run-continuation/*.json is session scratch, not source) and
/plan.md (local working notes).

make clean: also remove cmd/build/ and cmd/gui/dist/. Those hold the packaged
installers (1.8 GB and 386 MB on this machine) and were never cleaned, so
`make clean` left almost all of the build output behind.
This commit is contained in:
JianFeeeee
2026-08-30 08:06:49 +08:00
parent 02cb8c0e33
commit 23705042ee
3 changed files with 6 additions and 11 deletions

4
.gitignore vendored
View File

@ -16,8 +16,12 @@ cmd/gui/*.log
.pi/ .pi/
.pi-glla/ .pi-glla/
.codegraph/ .codegraph/
.omo/
/build/ /build/
# local ops scripts (machine-specific, not for sharing) # local ops scripts (machine-specific, not for sharing)
scripts/ scripts/
cmd/gui/dist/ cmd/gui/dist/
# local design/working notes (not part of the shipped repo)
/plan.md

View File

@ -1,10 +0,0 @@
{
"sessionID": "ses_fcda7f5e1ffe9g78A7lVoLMxn7",
"updatedAt": "2026-08-24T11:19:43.949Z",
"sources": {
"background-task": {
"state": "idle",
"updatedAt": "2026-08-24T11:19:43.949Z"
}
}
}

View File

@ -56,7 +56,7 @@ test:
go test ./... go test ./...
clean: clean:
rm -rf $(BUILD_DIR) cmd/gui/build/gui-dist cmd/gui/bin rm -rf $(BUILD_DIR) cmd/build cmd/gui/dist cmd/gui/build/gui-dist cmd/gui/bin
help: help:
@echo "Targets:" @echo "Targets:"
@ -68,3 +68,4 @@ help:
@echo " make gui-win build Windows nsis (needs host mingw + wine)" @echo " make gui-win build Windows nsis (needs host mingw + wine)"
@echo " make gui-win-docker build Windows nsis all-in-docker (no host mingw needed)" @echo " make gui-win-docker build Windows nsis all-in-docker (no host mingw needed)"
@echo " make test run go tests" @echo " make test run go tests"
@echo " make clean remove build dirs and packaged installers (build/, cmd/build/, cmd/gui/dist/)"