**Motivations:** - Seed AnythingLLM workspace from cloned repo using gitignore-style filters **Root causes:** - N/A **Correctifs:** - N/A **Evolutions:** - Template 4nkaiignore.default; server copies after clone; extension uploads via POST /api/v1/document/upload - New commands /workspace-sync; settings initialSync*; dependency ignore **Pages affectées:** - extensions/anythingllm-workspaces/* - services/repos-devtools-server/* - docs/features/initial-rag-sync-4nkaiignore.md
55 lines
755 B
Plaintext
55 lines
755 B
Plaintext
# .4nkaiignore — same rules as .gitignore (see gitignore(5))
|
|
# Used by the AnythingLLM Workspaces extension to filter the initial document upload
|
|
# after clone or /repos-load-sync. Copy or rename to `.4nkaiignore` at the repo root.
|
|
|
|
# VCS
|
|
.git/
|
|
|
|
# Dependencies & build outputs
|
|
node_modules/
|
|
**/node_modules/
|
|
dist/
|
|
out/
|
|
build/
|
|
.next/
|
|
.turbo/
|
|
coverage/
|
|
.nyc_output/
|
|
target/
|
|
|
|
# IDE / OS
|
|
.idea/
|
|
.vscode/
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Secrets & local env (never embed)
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
|
|
# Large or binary artifacts (remove a line if your project should embed that type)
|
|
*.png
|
|
*.jpg
|
|
*.jpeg
|
|
*.gif
|
|
*.webp
|
|
*.ico
|
|
*.pdf
|
|
*.zip
|
|
*.tar
|
|
*.gz
|
|
*.7z
|
|
*.wasm
|
|
*.so
|
|
*.dylib
|
|
*.dll
|
|
*.exe
|
|
*.mp4
|
|
*.mp3
|
|
|
|
# Minified bundles (often redundant with sources)
|
|
*.min.js
|
|
*.min.css
|
|
*.map
|