소스 검색

added chunking

Tobi Lutke 5 달 전
부모
커밋
ceb534a30b
2개의 변경된 파일538개의 추가작업 그리고 150개의 파일을 삭제
  1. 12 0
      CLAUDE.md
  2. 526 150
      qmd.ts

+ 12 - 0
CLAUDE.md

@@ -27,3 +27,15 @@ bun link               # Install globally as 'qmd'
 - sqlite-vec for vector similarity search
 - Ollama for embeddings (embeddinggemma) and reranking (qwen3-reranker)
 - Reciprocal Rank Fusion (RRF) for combining results
+
+## Important: Do NOT run automatically
+
+- Never run `qmd add`, `qmd add-context`, `qmd embed`, or `qmd update-all` automatically
+- Never modify the SQLite database directly
+- Write out example commands for the user to run manually
+- Index is stored at `~/.cache/qmd/index.sqlite`
+
+## Do NOT compile
+
+- Never run `bun build --compile` - it overwrites the shell wrapper and breaks sqlite-vec
+- The `qmd` file is a shell script that runs `bun qmd.ts` - do not replace it

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 526 - 150
qmd.ts


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.