@veewo/claw 0.1.31 → 0.1.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +20 -20
package/README.md CHANGED
@@ -35,11 +35,11 @@ claw context
35
35
  claw search index --refresh
36
36
  ```
37
37
 
38
- That first refresh creates the project-local sqlite recall store at `.claw/memory.sqlite`, downloads or reuses the local embedding cache under `.claw/models`, and writes the first vector index for searchable markdown docs.
38
+ That first refresh creates the project-local sqlite recall store at `.claw/memory.sqlite`, resolves the local embedding cache, and writes the first vector index for searchable markdown docs. By default claw uses a platform-global model cache directory (`%LOCALAPPDATA%\\claw\\models` on Windows, `~/Library/Caches/claw/models` on macOS, and `$XDG_CACHE_HOME/claw/models` or `~/.cache/claw/models` on Linux). Project-local `.claw/models` remains available as a fallback cache location instead of the default primary cache.
39
39
 
40
40
  `claw search index --refresh` incrementally syncs the current project's markdown recall index. Unchanged docs reuse existing sqlite rows and embeddings, changed docs are re-embedded, deleted docs are removed, and embedding config changes trigger a full vector refresh. On large projects, the refresh now defaults to processing at most 100 newly added or changed files per run so the backlog can advance across multiple refreshes.
41
41
 
42
- `claw search index --refresh` supports local semantic indexing with a GitNexus-style transformers backend when `.claw/project.json` sets `memory.embedding.provider` to `local`. Local embedding execution now batches inference inside a single worker/model session by default, and you can still force CPU rescue refreshes with `memory.embedding.local.device = cpu` or `CLAW_EMBEDDING_LOCAL_DEVICE=cpu`.
42
+ `claw search index --refresh` supports local semantic indexing with a GitNexus-style transformers backend when `.claw/project.json` sets `memory.embedding.provider` to `local`. Local embedding execution now batches inference inside a single worker/model session by default, and you can still force CPU rescue refreshes with `memory.embedding.local.device = cpu` or `CLAW_EMBEDDING_LOCAL_DEVICE=cpu`. If you explicitly set `memory.embedding.local.modelCacheDir`, claw first checks that local cache for the target model, then reuses the global cache when it already has the model, and only downloads into the configured local cache when neither location has it. Without an explicit local cache dir, claw downloads into the platform-global cache by default.
43
43
 
44
44
  `claw search ...` accepts either `claw search "topic"` or `claw search --query "topic"`, and expects that refreshed vector index to exist. If the project has no vector index yet, the command fails until you configure `memory.embedding` and run `claw search index --refresh`.
45
45
 
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
- {
2
- "name": "@veewo/claw",
3
- "version": "0.1.31",
4
- "type": "module",
1
+ {
2
+ "name": "@veewo/claw",
3
+ "version": "0.1.33",
4
+ "type": "module",
5
5
  "description": "Publishable claw CLI for .claw project startup recovery, planning, search, truth ingestion, and completion refresh.",
6
- "homepage": "https://github.com/chanyuenpang/claw-kit",
7
- "repository": {
8
- "type": "git",
9
- "url": "https://github.com/chanyuenpang/claw-kit.git",
10
- "directory": "packages/cli"
11
- },
12
- "license": "MIT",
13
- "publishConfig": {
14
- "access": "public"
15
- },
6
+ "homepage": "https://github.com/chanyuenpang/claw-kit",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/chanyuenpang/claw-kit.git",
10
+ "directory": "packages/cli"
11
+ },
12
+ "license": "MIT",
13
+ "publishConfig": {
14
+ "access": "public"
15
+ },
16
16
  "files": [
17
17
  "dist",
18
18
  "README.md"
@@ -20,12 +20,12 @@
20
20
  "bin": {
21
21
  "claw": "./dist/bin.js"
22
22
  },
23
- "dependencies": {
24
- "@veewo/claw-core": "0.1.31"
25
- },
26
- "scripts": {
27
- "build": "tsc -p tsconfig.json",
28
- "check": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit",
23
+ "dependencies": {
24
+ "@veewo/claw-core": "0.1.33"
25
+ },
26
+ "scripts": {
27
+ "build": "tsc -p tsconfig.json",
28
+ "check": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit",
29
29
  "test": "tsc -p tsconfig.test.json && node --test dist-test/**/*.test.js"
30
30
  }
31
31
  }