@orquentra/codebuddy 2.5.0 → 2.6.2
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.
- package/CLAUDE_CODEX.md +6 -4
- package/README.md +8 -0
- package/WORKFLOW.md +5 -5
- package/dist/{chunk-JDZ3VK26.js → chunk-2XDPKFUW.js} +114 -823
- package/dist/chunk-2XDPKFUW.js.map +1 -0
- package/dist/{chunk-QDBDYCM2.js → chunk-5FW3PMNP.js} +2 -2
- package/dist/{chunk-776EQXDV.js → chunk-5KZY6OTG.js} +82 -5
- package/dist/chunk-5KZY6OTG.js.map +1 -0
- package/dist/{chunk-UFZD3JAA.js → chunk-5MQOE4J6.js} +3 -3
- package/dist/chunk-5UH3BEQR.js +32 -0
- package/dist/chunk-5UH3BEQR.js.map +1 -0
- package/dist/{chunk-ROQTT5ZO.js → chunk-B6CO63SQ.js} +8 -7
- package/dist/chunk-B6CO63SQ.js.map +1 -0
- package/dist/chunk-CSRD5OQA.js +79 -0
- package/dist/chunk-CSRD5OQA.js.map +1 -0
- package/dist/{chunk-PYLH4MH5.js → chunk-FJOTP632.js} +1 -1
- package/dist/{chunk-3XYQGFPB.js → chunk-IBLJOHJL.js} +16 -3
- package/dist/chunk-IBLJOHJL.js.map +1 -0
- package/dist/chunk-IMFUYEZA.js +1607 -0
- package/dist/chunk-IMFUYEZA.js.map +1 -0
- package/dist/{chunk-CQPCHMBS.js → chunk-J2EAZ4MA.js} +21 -8
- package/dist/chunk-J2EAZ4MA.js.map +1 -0
- package/dist/{chunk-KYK6RPAJ.js → chunk-JFDRBPYF.js} +2 -2
- package/dist/{chunk-JMWJ7V6Y.js → chunk-JPHJBCZB.js} +2 -2
- package/dist/{chunk-JMWJ7V6Y.js.map → chunk-JPHJBCZB.js.map} +1 -1
- package/dist/{chunk-L5AYZC3F.js → chunk-NERKZSSE.js} +7 -7
- package/dist/{chunk-PCE4STAY.js → chunk-OWWCDRXW.js} +5 -5
- package/dist/{chunk-WHZSVY2L.js → chunk-QBDJXGG5.js} +2 -2
- package/dist/{chunk-Z5QB367W.js → chunk-R7CD6EXS.js} +367 -1798
- package/dist/chunk-R7CD6EXS.js.map +1 -0
- package/dist/{chunk-6MKEIDX5.js → chunk-RAJJSCIP.js} +2 -2
- package/dist/chunk-S6VEG4S2.js +991 -0
- package/dist/chunk-S6VEG4S2.js.map +1 -0
- package/dist/{chunk-4BYGTEJT.js → chunk-XBJQKCLU.js} +2 -2
- package/dist/cli/index.js +14 -3
- package/dist/cli/index.js.map +1 -1
- package/dist/{cloud-GP6G3EAK.js → cloud-7WM3YLI4.js} +3 -3
- package/dist/{codebuddy-DM-i0Fu5.d.ts → codebuddy-B_pCaQrV.d.ts} +22 -2
- package/dist/{config-KFEHLV6W.js → config-DEVHUDIU.js} +3 -3
- package/dist/docker-autostart-KDME7TVC.js +12 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +22 -18
- package/dist/langgraph/index.d.ts +1 -1
- package/dist/lean-command-HTQCPH76.js +15 -0
- package/dist/local-5MZURLCZ.js +17 -0
- package/dist/{main-BDVQAGAS.js → main-MTBQZGJV.js} +333 -219
- package/dist/main-MTBQZGJV.js.map +1 -0
- package/dist/{memory-4RGVLPKG.js → memory-KIC5FJVW.js} +4 -4
- package/dist/{operations-EQGOFCBD.js → operations-POCHY3WR.js} +8 -7
- package/dist/postgres-docker-QQZQ2ABK.js +16 -0
- package/dist/{pretool-command-MQQ2UNQM.js → pretool-command-AX6JXP25.js} +3 -3
- package/dist/{rerank-3P3C2UHN.js → rerank-5QZ3PNUW.js} +4 -4
- package/dist/runtime-CUBOOPZO.js +43 -0
- package/dist/runtime-CUBOOPZO.js.map +1 -0
- package/dist/stdio-HOV4P3DQ.js +12 -0
- package/dist/stdio-HOV4P3DQ.js.map +1 -0
- package/dist/{summaries-ZBV5IN7Y.js → summaries-SB5L2TSW.js} +6 -6
- package/dist/summaries-SB5L2TSW.js.map +1 -0
- package/dist/{zvec-MAPSJQSR.js → zvec-MSRKT7IV.js} +3 -3
- package/dist/zvec-MSRKT7IV.js.map +1 -0
- package/package.json +7 -10
- package/dist/chunk-3XYQGFPB.js.map +0 -1
- package/dist/chunk-776EQXDV.js.map +0 -1
- package/dist/chunk-CQPCHMBS.js.map +0 -1
- package/dist/chunk-JDZ3VK26.js.map +0 -1
- package/dist/chunk-ROQTT5ZO.js.map +0 -1
- package/dist/chunk-Z5QB367W.js.map +0 -1
- package/dist/lean-command-DA4ZNKG3.js +0 -15
- package/dist/local-3NGNESNB.js +0 -13
- package/dist/main-BDVQAGAS.js.map +0 -1
- /package/dist/{chunk-QDBDYCM2.js.map → chunk-5FW3PMNP.js.map} +0 -0
- /package/dist/{chunk-UFZD3JAA.js.map → chunk-5MQOE4J6.js.map} +0 -0
- /package/dist/{chunk-PYLH4MH5.js.map → chunk-FJOTP632.js.map} +0 -0
- /package/dist/{chunk-KYK6RPAJ.js.map → chunk-JFDRBPYF.js.map} +0 -0
- /package/dist/{chunk-L5AYZC3F.js.map → chunk-NERKZSSE.js.map} +0 -0
- /package/dist/{chunk-PCE4STAY.js.map → chunk-OWWCDRXW.js.map} +0 -0
- /package/dist/{chunk-WHZSVY2L.js.map → chunk-QBDJXGG5.js.map} +0 -0
- /package/dist/{chunk-6MKEIDX5.js.map → chunk-RAJJSCIP.js.map} +0 -0
- /package/dist/{chunk-4BYGTEJT.js.map → chunk-XBJQKCLU.js.map} +0 -0
- /package/dist/{cloud-GP6G3EAK.js.map → cloud-7WM3YLI4.js.map} +0 -0
- /package/dist/{config-KFEHLV6W.js.map → config-DEVHUDIU.js.map} +0 -0
- /package/dist/{lean-command-DA4ZNKG3.js.map → docker-autostart-KDME7TVC.js.map} +0 -0
- /package/dist/{local-3NGNESNB.js.map → lean-command-HTQCPH76.js.map} +0 -0
- /package/dist/{operations-EQGOFCBD.js.map → local-5MZURLCZ.js.map} +0 -0
- /package/dist/{memory-4RGVLPKG.js.map → memory-KIC5FJVW.js.map} +0 -0
- /package/dist/{pretool-command-MQQ2UNQM.js.map → operations-POCHY3WR.js.map} +0 -0
- /package/dist/{summaries-ZBV5IN7Y.js.map → postgres-docker-QQZQ2ABK.js.map} +0 -0
- /package/dist/{zvec-MAPSJQSR.js.map → pretool-command-AX6JXP25.js.map} +0 -0
- /package/dist/{rerank-3P3C2UHN.js.map → rerank-5QZ3PNUW.js.map} +0 -0
package/CLAUDE_CODEX.md
CHANGED
|
@@ -266,8 +266,8 @@ Create `.mcp.json`:
|
|
|
266
266
|
"args": ["serve"],
|
|
267
267
|
"env": {
|
|
268
268
|
"DATABASE_URL": "postgres://codebuddy:codebuddy@localhost:5432/codebuddy",
|
|
269
|
-
"
|
|
270
|
-
"
|
|
269
|
+
"CODEBUDDY_NAMESPACE": "your-project",
|
|
270
|
+
"CODEBUDDY_PROJECT_ROOT": "/absolute/path/to/your-project"
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
273
|
}
|
|
@@ -338,7 +338,7 @@ args = ["serve"]
|
|
|
338
338
|
[mcp_servers."codebuddy-your-project".env]
|
|
339
339
|
CODEBUDDY_NAMESPACE = "your-project"
|
|
340
340
|
DATABASE_URL = "postgres://codebuddy:codebuddy@localhost:5432/codebuddy"
|
|
341
|
-
|
|
341
|
+
CODEBUDDY_PROJECT_ROOT = "/absolute/path/to/your-project"
|
|
342
342
|
```
|
|
343
343
|
|
|
344
344
|
Restart Codex after installing or changing an MCP entry.
|
|
@@ -413,7 +413,9 @@ codebuddy migrate
|
|
|
413
413
|
If Claude Code does not show CodeBuddy tools:
|
|
414
414
|
|
|
415
415
|
- confirm `.mcp.json` is in the project root
|
|
416
|
-
- confirm `
|
|
416
|
+
- confirm `DATABASE_URL`, `CODEBUDDY_NAMESPACE`, and that the server starts in (or
|
|
417
|
+
`CODEBUDDY_PROJECT_ROOT` points to) a folder with `.codebuddy/config.json`.
|
|
418
|
+
`HF_TOKEN` is needed only for `provider.type: "huggingface"`.
|
|
417
419
|
- restart Claude Code
|
|
418
420
|
|
|
419
421
|
If Codex does not show CodeBuddy tools:
|
package/README.md
CHANGED
|
@@ -20,6 +20,14 @@ The setup wizard configures the project and agent integration. Project context
|
|
|
20
20
|
works without a database; semantic memory recall optionally uses PostgreSQL
|
|
21
21
|
with pgvector and a local Hugging Face embedding model (no token needed).
|
|
22
22
|
|
|
23
|
+
Run setup inside the project you want CodeBuddy to read. Claude Desktop
|
|
24
|
+
registration saves that folder's absolute path, so restarting the desktop app
|
|
25
|
+
does not change which project is indexed. `serve` requires an initialized
|
|
26
|
+
project (`.codebuddy/config.json`) and refuses filesystem roots and home folders.
|
|
27
|
+
Older desktop registrations without a project path can be repaired by running
|
|
28
|
+
`codebuddy claude install` from the initialized project folder, then restarting
|
|
29
|
+
Claude Desktop.
|
|
30
|
+
|
|
23
31
|
## What it does
|
|
24
32
|
|
|
25
33
|
- **Task context:** relevant files, symbols, code excerpts, nearby dependencies,
|
package/WORKFLOW.md
CHANGED
|
@@ -12,7 +12,7 @@ CodeBuddy is a shared notebook for AI agents.
|
|
|
12
12
|
- Embeddings are prepared in the background so related memories can be found later.
|
|
13
13
|
- When an agent asks a question, CodeBuddy picks the most useful memories that fit inside the token budget.
|
|
14
14
|
- Agents can share facts with other agents through namespaces.
|
|
15
|
-
- The CLI helps you see whether the database,
|
|
15
|
+
- The CLI helps you see whether the database, the embedding model (local by default), and memory index are healthy (`codebuddy doctor`, `codebuddy models`).
|
|
16
16
|
|
|
17
17
|
## Graphical Flow
|
|
18
18
|
|
|
@@ -38,7 +38,7 @@ CodeBuddy Core
|
|
|
38
38
|
|
|
|
39
39
|
+--> In-process embedding worker
|
|
40
40
|
| |
|
|
41
|
-
| +--> Hugging Face
|
|
41
|
+
| +--> embedding provider (local model by default; Hugging Face or OpenRouter optional)
|
|
42
42
|
| | |
|
|
43
43
|
| | +--> retry/backoff
|
|
44
44
|
| | +--> cold-start wait
|
|
@@ -71,7 +71,7 @@ Planner packs best items under token budget
|
|
|
71
71
|
5. In one transaction, it writes the memory row and creates an embedding row with `status=pending`.
|
|
72
72
|
6. For facts and summaries, it also writes a Markdown file.
|
|
73
73
|
7. If the same content or idempotency key already exists, it returns the original ID with `deduplicated: true`.
|
|
74
|
-
8. After the transaction, the in-process worker asks
|
|
74
|
+
8. After the transaction, the in-process worker asks the embedding provider (the local model by default) for embeddings.
|
|
75
75
|
9. The embedding row becomes `ready` or `failed`.
|
|
76
76
|
|
|
77
77
|
## Migration And Recovery Flow
|
|
@@ -130,7 +130,7 @@ source delete ---> B remains
|
|
|
130
130
|
- database connection
|
|
131
131
|
- `pgvector` extension
|
|
132
132
|
- vector index health
|
|
133
|
-
-
|
|
133
|
+
- embedding model readiness (`codebuddy models`)
|
|
134
134
|
- gated model errors
|
|
135
135
|
- cold vs warm model state
|
|
136
136
|
- rate-limit pressure
|
|
@@ -140,7 +140,7 @@ source delete ---> B remains
|
|
|
140
140
|
|
|
141
141
|
## Why Async Embeddings Matter
|
|
142
142
|
|
|
143
|
-
|
|
143
|
+
A hosted embedding API can be cold or rate-limited, and the local model downloads once on first use. CodeBuddy should not block a memory write just because a model needs time to wake up. It stores the memory first, marks the embedding as pending, and lets recall use recency until vectors are ready.
|
|
144
144
|
|
|
145
145
|
## What The User Sees
|
|
146
146
|
|