dsh-codebase-chat 0.25.5 → 0.27.0

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/README.md CHANGED
@@ -28,9 +28,9 @@
28
28
  npx dsh-codebase-chat-mcp setup
29
29
  ```
30
30
 
31
- The wizard detects **Claude, Cursor, Windsurf, VS Code, Zed, Gemini CLI, Kiro, Cline and Roo Code**, asks how you want answers (host model, API key, or offline local model), writes the MCP config, done.
31
+ The wizard detects **Claude, Cursor, Windsurf, VS Code, Zed, Gemini CLI, Kiro, Cline and Roo Code**, asks how you want answers (host model or API key), writes the MCP config, done.
32
32
  No JSON to edit — and **no API key**: in `promptOnly` mode your host model does the thinking,
33
- or go **fully offline** with the embedded local model (`localLlm`) — no key, no host, no cloud.
33
+ or get a **fully offline** answer with the deterministic report (`--no-llm`) — no model, no key, no cloud.
34
34
 
35
35
  Other paths — DeepSeek Harness plugin · CLI · from source · manual config: **[Reference](#reference)**.
36
36
 
@@ -98,7 +98,7 @@ Every answer from `codebase_chat` arrives with `[source: file:line]` receipts yo
98
98
  | Code stays on your machine | ❌ | ❌ | ✅ |
99
99
  | Inside Claude / Cursor / Windsurf | ❌ | ~ | ✅ |
100
100
  | Deterministic health score, no LLM | ❌ | ❌ | ✅ |
101
- | Answers fully offline (embedded LLM) | ❌ | ❌ | ✅ |
101
+ | Deterministic report, zero model (`--no-llm`) | ❌ | ❌ | ✅ |
102
102
  | Free — no API key, no account | ~ | ❌ | ✅ |
103
103
 
104
104
  ## How it works
@@ -119,7 +119,7 @@ Every answer from `codebase_chat` arrives with `[source: file:line]` receipts yo
119
119
  | `codebase_health` | `codebase_ceo` | | |
120
120
  | `codebase_impact` | | | |
121
121
 
122
- Same engine, three surfaces: **MCP tools** in your IDE, **slash commands** in DeepSeek Harness, **CLI flags** anywhere. Every tool takes `lang` (`fr`/`en`), `embed`, `promptOnly`, `localLlm`, `maxTokens`.
122
+ Same engine, three surfaces: **MCP tools** in your IDE, **slash commands** in DeepSeek Harness, **CLI flags** anywhere. Every tool takes `lang` (`fr`/`en`), `embed`, `promptOnly`, `maxTokens`.
123
123
 
124
124
  ## Reference
125
125
 
@@ -143,6 +143,9 @@ npx dsh-codebase-chat --project C:\my-app --health # offline, no LLM
143
143
  npx dsh-codebase-chat --project C:\my-app --health --diff main # only what changed
144
144
  npx dsh-codebase-chat --project C:\my-app --watch # index stays hot while you code
145
145
  npx dsh-codebase-chat --project C:\my-app --prompt intelligence # same banner brief the IDE gets — pipe to any LLM
146
+ npx dsh-codebase-chat --project C:\my-app --prompt intelligence --call # DeepSeek/OpenAI answers directly (API key)
147
+ npx dsh-codebase-chat --project C:\my-app --prompt intelligence --no-llm # deterministic report — zero model, zero key
148
+ npx dsh-codebase-chat --project C:\my-app --prompt intelligence --no-llm # deterministic report — zero LLM, zero key
146
149
  ```
147
150
 
148
151
  **From source**
@@ -226,7 +229,6 @@ dsh --profile headless '/codebase-git --project C:\my-app'
226
229
  | `DEEPSEEK_API_KEY` / `OPENAI_API_KEY` | — | Direct-LLM mode only |
227
230
  | `DEEPSEEK_BASE_URL` / `OPENAI_BASE_URL` | `https://api.deepseek.com/v1` | Custom endpoint |
228
231
  | `CODEBASE_MODEL` | `deepseek-chat` | Model for direct-LLM mode |
229
- | `CODEBASE_LOCAL_LLM` | — | `1` enables the embedded local model (offline answers); `hf:owner/repo:QUANT` or a `.gguf` path picks another model |
230
232
 
231
233
  </details>
232
234
 
@@ -270,10 +272,10 @@ pnpm install && pnpm build && pnpm test && pnpm typecheck
270
272
  <br>
271
273
 
272
274
  **Does it send my code to the cloud?**
273
- Indexing, retrieval, and prompt building all run on your machine. In prompt-only mode the server makes no network calls itself — the assembled context is read by your host model (cloud or local, your choice). For zero-network answers end to end, enable the embedded local model (`localLlm`).
275
+ Indexing, retrieval, and prompt building all run on your machine. In prompt-only mode the server makes no network calls itself — the assembled context is read by your host model (cloud or local, your choice). For zero-network output end to end, use `--no-llm`: a deterministic report computed from your code only.
274
276
 
275
277
  **Do I need an API key?**
276
- No — three ways to get answers: the host model (`promptOnly`, best quality), a DeepSeek/OpenAI key, or the embedded local model (`localLlm`, fully offline). The local model is small great for quick lookups, prefer a hosted model for full reports. Inside DeepSeek Harness, the plugin uses your configured model.
278
+ No — three ways to get output: the host model (`promptOnly`, best quality pipe it to a local model like Ollama for offline answers), a DeepSeek/OpenAI key (`--call`), or the deterministic report (`--no-llm`, no model at all). Inside DeepSeek Harness, the plugin uses your configured model.
277
279
 
278
280
  **Which languages are supported?**
279
281
  French and English via `lang` on every tool. Source-side, AST covers JS/TS, Python, Go, Rust, Java, C#, PHP — the rest is indexed line by line.
@@ -295,7 +297,7 @@ Then restart `dsh --profile web`.
295
297
 
296
298
  | | |
297
299
  | --- | --- |
298
- | **Shipped** | tree-sitter AST (7 languages), deterministic health score, MCP setup wizard, `.codebase-chat.json`, `--diff` scoping, `--watch` mode, embedded local LLM |
300
+ | **Shipped** | tree-sitter AST (7 languages), deterministic health score + `--no-llm` report, MCP setup wizard, `.codebase-chat.json`, `--diff` scoping, `--watch` mode |
299
301
  | **Next** | GitHub Issues export from TASKS.md, prompt language packs (ES/DE/PT) |
300
302
  | **Planned** | VS Code extension, HTTP/SSE transport, PR review mode, report export |
301
303
  | **Exploring** | multi-repo workspaces, shared team index cache, CI bot |