- USER.md/SOUL.md 문자캡 잘림 보완용 벡터 검색(Chroma, EmbeddingGemma) 신설 - 일별 대화로그 LLM 추출 파이프라인(user_facts/daily_extracts 컬렉션 분리) - 검증-강제 게이트(isFactualInfoRequest 등)를 prompt-gates.ts로 분리, 개인 인프라 별명(지서버/클로서버) 관련 불필요한 web_search 강제 호출 버그 수정 - Qwen3-Embedding-8B는 실측 결과 이미지생성 GPU와 자원 충돌 확인되어 폐기, EmbeddingGemma(경량+다국어)로 최종 선택 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
141 lines
3.2 KiB
Plaintext
141 lines
3.2 KiB
Plaintext
# ============================================================
|
|
# LocalClaw - .gitignore
|
|
# ============================================================
|
|
|
|
# --- DOCKER / ENV ---
|
|
.env
|
|
|
|
# --- SECRETS & CONFIG (NEVER COMMIT) ---
|
|
.localclaw/config.json
|
|
.localclaw/credentials/
|
|
.localclaw/vault/
|
|
.smallclaw/credentials/
|
|
.smallclaw/vault/
|
|
.smallclaw/*_api_key.txt
|
|
.smallclaw/*_api_token.txt
|
|
.smallclaw/*-key.txt
|
|
|
|
# --- SQLITE JOURNAL / BACKUP ---
|
|
.smallclaw/databases/*.db-shm
|
|
.smallclaw/databases/*.db-wal
|
|
.smallclaw/databases/*.db.bak.*
|
|
.smallclaw/databases/nohup.out
|
|
|
|
# --- PYTHON CACHE ---
|
|
scripts/__pycache__/
|
|
**/__pycache__/
|
|
|
|
# --- MISC ARTIFACTS ---
|
|
eng.traineddata
|
|
|
|
# --- LARGE BINARIES / INSTALLERS / MEDIA (keep out of git) ---
|
|
*.deb
|
|
web-ui/*.sf2
|
|
chatbot*.png
|
|
|
|
# --- DENTAL DICT PROJECT (.smallclaw/databases/) ---
|
|
.smallclaw/databases/dental_images/
|
|
.smallclaw/databases/__pycache__/
|
|
.smallclaw/databases/scratch/*
|
|
!.smallclaw/databases/scratch/README.md
|
|
|
|
# --- RUNTIME DATA ---
|
|
.localclaw/sessions/
|
|
.localclaw/logs/
|
|
.localclaw/memory/
|
|
.localclaw/facts.json
|
|
.localclaw/self_learning.json
|
|
.localclaw/jobs.db
|
|
.localclaw/update_state.json
|
|
.localclaw/tasks/
|
|
.localclaw/jobs/
|
|
.localclaw/ocr-cache/
|
|
.localclaw/heartbeat/
|
|
.localclaw/task-heartbeat.json
|
|
.localclaw/cron/runs/
|
|
.smallclaw/sessions/
|
|
.smallclaw/logs/
|
|
.smallclaw/memory/
|
|
.smallclaw/facts.json
|
|
.smallclaw/self_learning.json
|
|
.smallclaw/jobs.db
|
|
.smallclaw/update_state.json
|
|
.smallclaw/tasks/
|
|
.smallclaw/jobs/
|
|
.smallclaw/ocr-cache/
|
|
.smallclaw/heartbeat/runs/
|
|
.smallclaw/task-heartbeat.json
|
|
.smallclaw/cron/runs/
|
|
# .smallclaw/skills/
|
|
.smallclaw/workspace_state.json
|
|
.smallclaw/.migrated-from-localclaw
|
|
|
|
# --- PER-USER RUNTIME DATA ---
|
|
# Sessions, workspace runtime files, uploads are all user-specific runtime data.
|
|
# Keep: prompts/AGENTS.md, prompts/TOOLS.md, workspace/SOUL.md etc. (static templates)
|
|
.smallclaw/users/*/sessions/
|
|
.smallclaw/users/*/workspace/memory/
|
|
.smallclaw/users/*/workspace/uploads/
|
|
.smallclaw/users/*/workspace/attachments/
|
|
.smallclaw/users/*/workspace/pubmed/
|
|
.smallclaw/users/*/workspace/tool_audit.log
|
|
.smallclaw/users/*/workspace/HEARTBEAT.md
|
|
.smallclaw/users/*/workspace/note.txt
|
|
.smallclaw/users/*/workspace/*.html
|
|
.smallclaw/users/*/workspace/*.js
|
|
.smallclaw/users/*/workspace/*.css
|
|
.smallclaw/users/*/workspace/*.py
|
|
.smallclaw/users/*/workspace/*.sh
|
|
.smallclaw/users/*/workspace/*.bat
|
|
.smallclaw/users/*/workspace/*.txt
|
|
|
|
# --- ROOT WORKSPACE RUNTIME FILES ---
|
|
# Keep: SOUL.md, SELF.md, IDENTITY.md, USER.md, MEMORY.md, AGENTS.md, TOOLS.md, BOOT.md, README.md
|
|
# These are default templates that ship with SmallClaw — new users need them.
|
|
workspace/memory/
|
|
workspace/tool_audit.log
|
|
workspace/HEARTBEAT.md
|
|
workspace/note.txt
|
|
workspace/*.html
|
|
workspace/*.js
|
|
workspace/*.css
|
|
workspace/*.py
|
|
workspace/*.sh
|
|
workspace/*.bat
|
|
workspace/*.txt
|
|
|
|
# --- DASHBOARD RUNTIME STATE ---
|
|
ai-dashboard/dashboard-state.json
|
|
ai-dashboard/dashboard-requests.json
|
|
|
|
# --- LOGS ---
|
|
gateway.log
|
|
gateway.err.log
|
|
*.log
|
|
|
|
# --- TEMP FILES ---
|
|
tmp_payload.json
|
|
mnt/
|
|
.tmp_*
|
|
.tmp_*/
|
|
.tmp_openclaw_*/
|
|
.tmp_codex_*
|
|
|
|
# --- VECTOR MEMORY (Chroma venv + data, large binary) ---
|
|
.chroma/
|
|
|
|
# --- NODE ---
|
|
node_modules/
|
|
dist/
|
|
*.js.map
|
|
package/
|
|
*.tgz
|
|
|
|
# --- TEST ARTIFACTS ---
|
|
tests/.golden-progress.log
|
|
|
|
# --- OS ---
|
|
.DS_Store
|
|
Thumbs.db
|
|
desktop.ini
|