Repository navigation
Expand file tree
/
Copy path.gitignore
More file actions
348 lines (286 loc) · 7.12 KB
/
Copy path.gitignore
File metadata and controls
348 lines (286 loc) · 7.12 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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
# =========================
# Python / Django
# =========================
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
*.egg
MANIFEST
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
# Translations
*.mo
*.pot
# Django stuff
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
# Flask stuff
instance/
.webassets-cache
# Scrapy stuff
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# Celery
celerybeat-schedule
celerybeat.pid
# Environments
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
# pytype static type analyzer
.pytype/
# Ruff
.ruff_cache/
# =========================
# Node.js / Vue.js
# =========================
# Dependencies
node_modules/
jspm_packages/
# Build outputs
frontend/dist/
src/twicc/static/frontend/
src/twicc/static/artifact-broker/
src/twicc/static/artifact-shell/
src/twicc/static/artifact-theme/
src/twicc/static/browser-companion/
src/twicc/static/share-session/
src/twicc/staticfiles/
# Logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Coverage
coverage/
*.lcov
.nyc_output
# TypeScript cache
*.tsbuildinfo
# Optional npm cache
.npm
# Optional eslint cache
.eslintcache
# Optional stylelint cache
.stylelintcache
# Vite
*.local
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
# =========================
# Environment / Secrets
# =========================
.env
.env.local
.env.*.local
.env.development
.env.test
.env.production
*.pem
# =========================
# IDE / Editors
# =========================
# JetBrains (PyCharm, WebStorm, etc.)
.idea/
# VS Code
.vscode/
*.code-workspace
# Vim
*.sw[op]
*~
# Emacs
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
# Sublime Text
*.sublime-workspace
*.sublime-project
# =========================
# OS generated files
# =========================
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# =========================
# Project specific
# =========================
# Data directory (database, search index, SDK logs) — used in worktrees
/db/
# tmux reaper sentinel, written at the data dir root (the worktree root in worktree mode)
.tmux-reaper-grandfathered
search-index/
cache/
# Session artifacts, scratch space and artifact-share snapshots — data-dir
# subdirectories that surface at the worktree root when the data dir is the
# worktree itself. Anchored to the root (like /.worktrees/ below) so they only
# match there, never a source directory that happens to share the name. No
# trailing slash: in worktree mode devctl symlinks artifacts/scratch to the main
# data dir, and git treats a symlink as a file — a dir-only pattern (trailing /)
# would NOT ignore the link. (shares/ and uploads/ — the upload staging area —
# are real per-worktree dirs, not symlinked, but follow the same anchoring rule.)
/artifacts
/scratch
/shares
/uploads
/composer-attachments
# Another data-dir subdirectory surfacing at the worktree root when the data dir
# is the worktree itself: the project icon files (a real per-worktree dir, never
# symlinked — devctl copies it from the main data dir and icon discovery writes
# into it). Root-anchored for the same reason as above.
/project-icons/
# Same for the dated versions of the data dir root files (twicc/data_backups.py):
# a real per-worktree dir holding copies of .env and secret-key, which must never
# be committed. Root-anchored for the same reason as above.
/backups/
# The worktree's own Claude Code / Codex homes, created by
# `devctl start --fresh-providers`. Root-anchored like the dirs above.
/provider-homes/
# Same story for a data-dir file: the anonymous telemetry state. Root-anchored
# for the same reason as above.
/telemetry.json
# SQLite database (legacy location, kept for safety)
data.sqlite
data.sqlite-wal
data.sqlite-shm
*.sqlite3
*.sqlite3-wal
*.sqlite3-shm
# JSONL data files (if generated locally)
*.jsonl
!tests/fixtures/codex_goal_0_169_multi.jsonl
!tests/fixtures/codex_goal_0_169_edit_clear.jsonl
# SDK debug logs
logs/
# Development process controller runtime data
.devctl/
# CLI drop-request runtime files (live in <data_dir>):
# - twicc.heartbeat: touched every 5s by the live server, read by the CLI
# to fail-fast when the server is down (see src/twicc/heartbeat.py).
# - drop-requests/: drop-files written by the TwiCC CLI commands and
# status files written back by DropRequestsWatcher
# (see src/twicc/drop_requests_watcher.py).
twicc.heartbeat
drop-requests/
# Hybrid CLI mode runtime files (live in <data_dir>; anchored to the repo
# root so the src/twicc/providers/claude_code/agent/hybrid/ package — and
# any other source dir named "hybrid" — is NOT matched):
# - /hybrid/: per-session runtime dir (addendum file, attachments)
# - /hybrid-hooks/: drop directory for hybrid CLI hook event files
# (see src/twicc/providers/claude_code/agent/hybrid/).
/hybrid/
/hybrid-hooks/
# Git worktrees — anchored to repo root only. An un-anchored `.worktrees/`
# would match any segment of the path, including the worktree's own root
# (`.../.worktrees/<name>/`), which trips up hatchling's sdist exclusion
# logic: hatchling drops every gitignore pattern when it detects the project
# root itself is gitignored.
/.worktrees/
# Per-port .env values devctl pre-fills a worktree with (`devctl help`, DEV
# HOSTNAME): a password hash and tunnel hostnames, so never committed.
# Root-anchored for the same hatchling reason as above.
/.worktrees-env/
# TwiCC config files (synced settings, stored in data dir — appear in worktrees)
settings.json
terminal-config.json
message-snippets.json
tts.json
workspaces.json
layouts.json
seen-tips.json
seen-help.json
providers-status.json
# RPC API token store (SHA-256 digests; lives in the data dir, appears in worktrees).
api-tokens.json
# Per-install SECRET_KEY (twicc.secret_key) + per-session Claude MCP config
# files (bearer tokens); both live in the data dir and appear at the worktree
# root.
secret-key
mcp-configs/
# Per-provider agent settings presets (one file per provider, see
# BaseProviderHelpers.get_settings_presets_path).
*-settings-presets.json
# Single-instance lock (flock anchor) + sidecar info file written by main(),
# both live in <data_dir>.
twicc.lock
twicc.info.json
# Advisory flock anchors (atomic_json.py) for read-modify-write config files —
# empty 0-byte sidecars created next to the data-dir JSON files (and so appear
# in worktrees). Created once, never deleted; their presence is not a held lock.
*.json.lock
# Agent local files
CLAUDE.local.md
AGENTS.local.md
/.claude/
.superpowers/
.codex