Repository navigation
Expand file tree
/
Copy path.gitignore
More file actions
155 lines (133 loc) · 5.66 KB
/
Copy path.gitignore
File metadata and controls
155 lines (133 loc) · 5.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
node_modules
worktrees/
dist
dist-electron
dist-phone
out
# 根锚定:裸 `release` 会匹配任意深度下同名目录;要挡的只有 electron-builder 的根输出目录。
/release
build
# scripts/build 是构建脚本的源码目录,不是构建产物。
!scripts/build/
coverage
resources/bin/gugu
resources/bin/gugu.exe
.gugu-runtime-build/
# #7199 原生组件:SwiftPM 的编译目录,与 scripts/build/build-mac-native.mjs / build-win-native.mjs 的产物(打包时进 Resources/mac-native、resources/win-native)
.build/
/mac-native/
/win-native/
# @@@env-ignore (#2782) - 原先只挡 .env / .env.local / .env.*.local,`.env.production` 这类
# 「mode 文件」没被挡住,而 vite 生产构建恰好会加载它 —— 谁建了它就会连值一起提交。
# 一律挡住 .env*,只放行入库的模板。
.env
.env.*
!.env.example
# @@@one-file-per-env (#2782) - 一套环境一个文件的登记处。放子目录是刻意的:vite 会自动加载
# .env.<mode>(生产构建就是 .env.production),存储文件一旦落进它的 cascade 就等于被激活,
# 而且是叠加式激活 —— 没写全的键会静默落回 .env.local,凑出 URL 与密钥分属两库的半套错。
# 子目录 vite 从不扫,所以这里的三套是纯惰性存储,只有 GUGU_DB_TARGET 选中才整套生效。
# 装真实凭据的那几份(prod/shared-test/local)一律不入库;唯一入库的是 example.env ——
# 模板跟它服务的目录待在一起,别人 clone 下来 `cp .envs/example.env .envs/<target>.env` 就完事。
.envs/*
!.envs/example.env
*.local
# Playwright MCP logs
.playwright-mcp/
.playwright-cli/
# Playwright E2E output
test-results/
playwright-report/
# gugu-supabase 的检出(#6322:CI 的契约 job 与发版闸签到这里)
.gugu-supabase/
# Audit screenshots
*.png
!public/assets/**/*.png
# 打包输入要入库:托盘/菜单栏图标与 macOS 三态包图层(scripts/build/gen-tray-icons.py、gen-app-icons.py 生成,打包清单直接引用)和它们的源图
!build-resources/**/*.png
# 安卓通知小图标,同一脚本同源生成(capacitor.config.ts 的 LocalNotifications.smallIcon 引用)
!apps/mobile/android/app/src/main/res/drawable-*/ic_stat_gugu.png
# 安卓启动器图标三层(含 Android 13+ 的主题图标层),scripts/build/gen-app-icons.py 生成
!apps/mobile/android/app/src/main/res/mipmap-*/*.png
# 横幅出图的参考输入(scripts/imagegen/manifests/ 按 sha256 记账)
!scripts/imagegen/inputs/**/*.png
# 预装 App 的图片(manifest 的 icon 与页面用的图,随包装上)
!apps/desktop/preinstalled-apps/**/*.png
# 空态墨线插画(ui/illustration.css 当 mask 引用):2× 调色板 PNG,同尺寸下比无损 WebP 小一半以上
!apps/desktop/src/assets/illustrations/*.png
# 「在…中打开」那几个程序的图标(shared/openInApps.ts 的 ICON_PATHS 按文件名引用,随包装上)
!apps/desktop/src/session/assets/images/*.png
# 通用日志和 editor 备份
*.log
*.swp
*~
*.bak
*.bak-*
*.jks
*.keystore
# OS / IDE
.DS_Store
Thumbs.db
.idea/
.vscode/
# TS 编译产物(Desktop/Electron 源都是 .ts/.tsx)
apps/desktop/src/**/*.js
apps/desktop/electron/*.js
# superpowers 工具产物
.superpowers/
# Claude Code 本地 worktrees / scratch
.claude/
# 设计/生成预览临时产物
design/
!docs/design/
tmp/
output/
screenshots/
# generated by scripts/build/build-tmux-bundle.mjs (vendored tmux for Phase 2)
tmux-bundle/
# generated by scripts/build-psmux-bundle.mjs (vendored Windows psmux/tmux shim)
psmux-bundle/
# generated by scripts/build/fetch-acp-adapters.mjs (#1181 vendored codex-acp wrapper + platform native bin)
acp-bundle/
# gugu-im live smoke run outputs (#1076) — never commit (may contain tokens)
artifacts/
e2e-frames/
# design-sync 产物(那次一次性导出的脚手架已移除,踩坑记录见 design notes;
# 这几条留着,是因为按笔记重跑一次还会生成它们)
.ds-sync/
ds-bundle/
apps/desktop/src/styles/.ds-compiled.css
e2e-video-out*/
# python bytecode
__pycache__/
*.pyc
# Tier 2 personal local Supabase stack (scripts/local-dev-db.sh)
.local/gugu-dev-db/
.gugu-precheck.json
# @@@task-fusion (#2802) — 任务页开发库快照(tooling/db/dev.db):
# 内容是真机开发会话(PR、文件索引、safeStorage 密文 token),不该进咕咕的树。这条防它被提交(WAL 的 -shm/-wal 只要读一次就会生成)。
apps/desktop/session-tooling/db/
# @@@storybook-gate (#3526) — storybook build 的产物目录。CI 的 storybook job 用 `clean: false`
# 复用 slot,产物就留在 checkout 里;不忽略的话它们随时可能被顺手 commit 进来。
storybook-static/
storybook-static-chat/
# 本地取证/实验草稿目录(不入库)
.scratch/
# @@@5856 playwright-collection-guard 自检时在仓根建的一次性脚手架(随机后缀目录)。
# 它跑完就删,但 `git add -A` 会在那个窗口里把它逮进来 —— 2026-09-19 已经发生过一次。
.playwright-collection-guard-*/
# Pinned, platform-specific installer engine, materialized by build:mise.
/mise-bundle/
# generated by scripts/build/build-frpc-bundle.mjs (远程隧道的中转客户端)
/frpc-bundle/
# generated by scripts/build/build-cc-switch-bundle.mjs (local protocol conversion for custom models)
/cc-switch-bundle/
# generated by scripts/build/assistant-rules-seed.mts (#1931: the assistant App's rules at the pinned version)
/assistant-rules-seed/
# SQLite inspection sidecars are transient, including for checked-in fixtures.
apps/desktop/session-tooling/fixtures/*.db-wal
apps/desktop/session-tooling/fixtures/*.db-shm
# Restored by CI; paths stay relative across hosted and isolated runner checkouts.
/.ci-cache/
# Generated packaged iOS JavaScriptCore runtime and license inventory.
/apps/mobile/ios/App/App/HostRuntime/