dsh-codebase-chat 0.16.0 → 0.16.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.
Files changed (2) hide show
  1. package/README.md +72 -60
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,26 +1,37 @@
1
- # dsh-codebase-chat
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/shinzarou-eng/dsh-codebase-chat/main/docs/assets/logo.svg" width="120" height="120" alt="dsh-codebase-chat logo">
3
+ </p>
4
+
5
+ <h1 align="center">dsh-codebase-chat</h1>
2
6
 
3
- [![Release](https://img.shields.io/github/v/release/shinzarou-eng/dsh-codebase-chat?logo=github)](https://github.com/shinzarou-eng/dsh-codebase-chat/releases)
4
- [![License](https://img.shields.io/github/license/shinzarou-eng/dsh-codebase-chat?color=blue)](./LICENSE)
5
- [![Node](https://img.shields.io/badge/node-%3E%3D20-brightgreen?logo=nodedotjs)](https://nodejs.org)
6
- [![MCP](https://img.shields.io/badge/MCP-Compatible-purple)](https://modelcontextprotocol.io)
7
+ <p align="center">
8
+ <strong>Multi-language codebase intelligence for DeepSeek Harness and any MCP IDE.</strong><br>
9
+ Chat, search, explain, refactor, audit, and generate board-ready reports from local code.
10
+ </p>
7
11
 
8
- > A powerful, multi-language codebase intelligence engine for **DeepSeek Harness** and any **MCP-compatible** IDE (Windsurf, Cursor, Claude, etc.).
9
- > Chat, search, explain, refactor, audit, and generate board-ready reports from a local codebase — without leaking data to third-party services.
12
+ <p align="center">
13
+ <a href="https://www.npmjs.com/package/dsh-codebase-chat"><img src="https://img.shields.io/npm/v/dsh-codebase-chat?logo=npm&color=blue" alt="npm"></a>
14
+ <a href="https://www.npmjs.com/package/dsh-codebase-chat-mcp"><img src="https://img.shields.io/npm/v/dsh-codebase-chat-mcp?logo=npm&color=purple" alt="npm mcp"></a>
15
+ <a href="https://github.com/shinzarou-eng/dsh-codebase-chat/releases"><img src="https://img.shields.io/github/v/release/shinzarou-eng/dsh-codebase-chat?logo=github" alt="release"></a>
16
+ <a href="./LICENSE"><img src="https://img.shields.io/github/license/shinzarou-eng/dsh-codebase-chat?color=blue" alt="license"></a>
17
+ <a href="https://nodejs.org"><img src="https://img.shields.io/badge/node-%3E%3D20-brightgreen?logo=nodedotjs" alt="node"></a>
18
+ <a href="https://modelcontextprotocol.io"><img src="https://img.shields.io/badge/MCP-Compatible-purple" alt="mcp"></a>
19
+ </p>
10
20
 
11
21
  <p align="center">
22
+ <a href="https://shinzarou-eng.github.io/dsh-codebase-chat">Website</a> ·
12
23
  <a href="https://github.com/shinzarou-eng/dsh-codebase-chat/releases">Releases</a> ·
13
24
  <a href="#install">Install</a> ·
14
- <a href="#mcp-server">MCP</a> ·
25
+ <a href="#mcp">MCP</a> ·
15
26
  <a href="#commands">Commands</a> ·
16
- <a href="#github-pages-docs">Docs</a>
27
+ <a href="#faq">FAQ</a>
17
28
  </p>
18
29
 
19
30
  ---
20
31
 
21
32
  ## Why dsh-codebase-chat?
22
33
 
23
- Most codebase assistants are slow, paywalled, or force you to upload source code to the cloud. **dsh-codebase-chat** runs locally, reads only the files you point at, and turns raw code into structured intelligence:
34
+ Most codebase assistants are **slow, paywalled, or force you to upload source code to the cloud**. **dsh-codebase-chat** runs **locally**, reads only the files you point at, and turns raw code into structured intelligence — with **source citations, confidence scores, and severity labels**.
24
35
 
25
36
  | Capability | What it gives you |
26
37
  | --- | --- |
@@ -35,8 +46,6 @@ Most codebase assistants are slow, paywalled, or force you to upload source code
35
46
  | **Player Brief** | UX / playthrough analysis from a real user perspective. |
36
47
  | **Crea** | Slogans, taglines, and feature ideas inspired by the code. |
37
48
 
38
- Every output is **grounded in real source files** with file and line citations. No guesswork, no cloud, no data leakage.
39
-
40
49
  ---
41
50
 
42
51
  ## Quick start
@@ -44,10 +53,9 @@ Every output is **grounded in real source files** with file and line citations.
44
53
  ### 1. DeepSeek Harness plugin
45
54
 
46
55
  ```powershell
47
- # Install in any profile
48
- pnpm add "file:C:/path/to/dsh-codebase-chat"
56
+ pnpm add dsh-codebase-chat
49
57
  # or
50
- npm install "file:C:/path/to/dsh-codebase-chat"
58
+ npm install dsh-codebase-chat
51
59
  ```
52
60
 
53
61
  Then open `http://127.0.0.1:3080` and click the **Codebase Pro** button in the sidebar.
@@ -94,13 +102,13 @@ pnpm install
94
102
  ## Commands
95
103
 
96
104
  ```powershell
97
- # Ask a question (auto-detect project from current directory)
105
+ # Ask a question
98
106
  dsh --profile headless '/codebase "how is auth handled?"'
99
107
 
100
108
  # Ask with explicit project
101
109
  dsh --profile headless '/codebase "how is auth handled?" --project C:\my-app'
102
110
 
103
- # Append a creative idea at the end
111
+ # Append a creative idea
104
112
  dsh --profile headless '/codebase "how does storage work?" --project C:\my-app --crea --crea-theme "slogan"'
105
113
 
106
114
  # Search, explain, refactor
@@ -127,7 +135,7 @@ dsh --profile headless '/codebase-git --project C:\my-app'
127
135
 
128
136
  ---
129
137
 
130
- ## Architecture
138
+ ## How it works
131
139
 
132
140
  ```mermaid
133
141
  graph LR
@@ -140,53 +148,21 @@ graph LR
140
148
  G --> H[Structured response with citations]
141
149
  ```
142
150
 
143
- 1. **Context collector** reads package.json, source files, tests, config, git, build output.
151
+ 1. **Context collector** reads `package.json`, source files, tests, config, git, build output.
144
152
  2. **Module graph** maps who calls who.
145
- 3. **Debt scanner** flags TODO/FIXME/HACK/console.log/any/etc.
153
+ 3. **Debt scanner** flags `TODO` / `FIXME` / `HACK` / `console.log` / `any` / `debugger`.
146
154
  4. **Prompt builder** assembles a language-aware, evidence-based prompt.
147
155
  5. **LLM** returns a response that includes source citations, confidence scores, and severity badges.
148
156
 
149
157
  ---
150
158
 
151
- ## Web UI
152
-
153
- When installed in the **web** profile, the plugin adds a **Codebase Pro** button in the sidebar footer:
154
-
155
- <p align="center">
156
- <img src="https://raw.githubusercontent.com/shinzarou-eng/dsh-codebase-chat/main/docs/assets/codebase-pro-button.svg" alt="Codebase Pro button" width="240">
157
- </p>
158
-
159
- One click opens the brief selector and launches the chosen mode in the user's language.
160
-
161
- ---
162
-
163
- ## Tools exposed
164
-
165
- - `codebase_chat`
166
- - `codebase_search`
167
- - `codebase_explain`
168
- - `codebase_refactor`
169
- - `codebase_crea`
170
- - `codebase_intelligence`
171
- - `codebase_audit`
172
- - `codebase_report`
173
- - `codebase_tasks`
174
- - `codebase_apply_tasks`
175
- - `codebase_ceo`
176
- - `codebase_build`
177
- - `codebase_git`
178
- - `codebase_apply`
179
- - `codebase_player`
180
-
181
- ---
182
-
183
159
  ## Evidence & scoring
184
160
 
185
- Every professional brief now requires the model to:
161
+ Every technical claim, risk, and opportunity is marked with:
186
162
 
187
- - Cite sources as `[source: relative/path/file.ts:line]`
188
- - Mark recommendations with `[Confidence: X%]`
189
- - Mark risks and issues with `[Severity: Critical/High/Medium/Low]`
163
+ - `[source: relative/path/file.ts:line]`
164
+ - `[Confidence: X%]`
165
+ - `[Severity: Critical/High/Medium/Low]`
190
166
 
191
167
  No fabricated citations, no hand-waving.
192
168
 
@@ -194,7 +170,7 @@ No fabricated citations, no hand-waving.
194
170
 
195
171
  ## Multi-language
196
172
 
197
- The plugin detects the user's language and generates the entire prompt in that language. Supported locales:
173
+ The plugin detects the user's language and generates the entire prompt in that language.
198
174
 
199
175
  - `fr` — French
200
176
  - `en` — English
@@ -203,13 +179,43 @@ More languages can be added by extending the `build*Prompt` functions.
203
179
 
204
180
  ---
205
181
 
182
+ ## Web UI
183
+
184
+ When installed in the **web** profile, the plugin adds a **Codebase Pro** button in the sidebar footer:
185
+
186
+ <p align="center">
187
+ <img src="https://raw.githubusercontent.com/shinzarou-eng/dsh-codebase-chat/main/docs/assets/codebase-pro-button.svg" alt="Codebase Pro button" width="240">
188
+ </p>
189
+
190
+ One click opens the brief selector and launches the chosen mode in the user's language.
191
+
192
+ ---
193
+
206
194
  ## Install as a DSH plugin
207
195
 
208
196
  ```powershell
209
- dsh plugin --profile headless add "file:C:/Users/YOU/dsh-codebase-chat"
210
- dsh plugin --profile web add "file:C:/Users/YOU/dsh-codebase-chat"
197
+ dsh plugin --profile headless add dsh-codebase-chat
198
+ dsh plugin --profile web add dsh-codebase-chat
211
199
  ```
212
200
 
201
+ For a local development build, use the `file:` path to your clone.
202
+
203
+ ---
204
+
205
+ ## FAQ
206
+
207
+ **Does it send my code to the cloud?**
208
+ No. All context collection and prompt building run on your machine. Only the final prompt is sent to the LLM you configure.
209
+
210
+ **Can I use it with Claude, Cursor, or Windsurf?**
211
+ Yes. Install `dsh-codebase-chat-mcp` and add it to your MCP server config.
212
+
213
+ **Does it work without DeepSeek Harness?**
214
+ Yes. The `dsh-codebase-chat-mcp` package is fully standalone.
215
+
216
+ **Which languages are supported?**
217
+ French and English out of the box. The prompt builders are designed to be extended.
218
+
213
219
  ---
214
220
 
215
221
  ## Troubleshooting
@@ -244,6 +250,12 @@ See [CONTRIBUTING.md](./CONTRIBUTING.md) for details.
244
250
 
245
251
  ---
246
252
 
253
+ ## Support
254
+
255
+ Open an issue on [GitHub](https://github.com/shinzarou-eng/dsh-codebase-chat/issues).
256
+
257
+ ---
258
+
247
259
  ## License
248
260
 
249
- [MIT](./LICENSE) — Built and maintained by [shinzarou-eng](https://github.com/shinzarou-eng).
261
+ [MIT](https://github.com/shinzarou-eng/dsh-codebase-chat/blob/main/LICENSE) — Built and maintained by [shinzarou-eng](https://github.com/shinzarou-eng).
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "dsh-codebase-chat",
3
- "version": "0.16.0",
3
+ "version": "0.16.2",
4
4
  "description": "Multi-language codebase intelligence for DeepSeek Harness and MCP-compatible IDEs: chat, search, audit, refactor, and board-ready reports from local code.",
5
5
  "homepage": "https://shinzarou-eng.github.io/dsh-codebase-chat",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/shinzarou-eng/dsh-codebase-chat.git"
8
+ "url": "git+https://github.com/shinzarou-eng/dsh-codebase-chat.git"
9
9
  },
10
10
  "bugs": {
11
11
  "url": "https://github.com/shinzarou-eng/dsh-codebase-chat/issues"