From 23705042ee50be3e0f81d4835e2da153877901a9 Mon Sep 17 00:00:00 2001 From: JianFeeeee Date: Sun, 30 Aug 2026 08:06:49 +0800 Subject: [PATCH] chore: ignore local agent state, clean packaged installers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .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. --- .gitignore | 4 ++++ .../ses_fcda7f5e1ffe9g78A7lVoLMxn7.json | 10 ---------- Makefile | 3 ++- 3 files changed, 6 insertions(+), 11 deletions(-) delete mode 100644 .omo/run-continuation/ses_fcda7f5e1ffe9g78A7lVoLMxn7.json diff --git a/.gitignore b/.gitignore index 94104b3..18613c1 100644 --- a/.gitignore +++ b/.gitignore @@ -16,8 +16,12 @@ cmd/gui/*.log .pi/ .pi-glla/ .codegraph/ +.omo/ /build/ # local ops scripts (machine-specific, not for sharing) scripts/ cmd/gui/dist/ + +# local design/working notes (not part of the shipped repo) +/plan.md diff --git a/.omo/run-continuation/ses_fcda7f5e1ffe9g78A7lVoLMxn7.json b/.omo/run-continuation/ses_fcda7f5e1ffe9g78A7lVoLMxn7.json deleted file mode 100644 index d86ef64..0000000 --- a/.omo/run-continuation/ses_fcda7f5e1ffe9g78A7lVoLMxn7.json +++ /dev/null @@ -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" - } - } -} \ No newline at end of file diff --git a/Makefile b/Makefile index 545fcb7..dc77b8c 100644 --- a/Makefile +++ b/Makefile @@ -56,7 +56,7 @@ test: go test ./... 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: @echo "Targets:" @@ -68,3 +68,4 @@ help: @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 test run go tests" + @echo " make clean remove build dirs and packaged installers (build/, cmd/build/, cmd/gui/dist/)"