You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: improve MCP tool descriptions and dynamic version from package.json
- All breakpoint/watch tools now document session-independence
- session_status lists all possible states (idle/running/paused/exited)
- start_session clarifies pre-set breakpoints activate automatically
- Server description explains tool group semantics upfront
- MCP client version now read from package.json at runtime
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
description: 'Set a breakpoint at a specific file and line. Optionally add a condition.',
72
+
description: 'Set a breakpoint at a specific file and line. Can be called before or during a session — breakpoints persist and activate automatically when a session starts. Optionally add a condition.',
70
73
inputSchema: {
71
74
type: 'object',
72
75
properties: {
@@ -79,12 +82,12 @@ const TOOLS: Tool[] = [
79
82
},
80
83
{
81
84
name: 'list_breakpoints',
82
-
description: 'List all currently set breakpoints.',
85
+
description: 'List all currently set breakpoints, including those set before any session started.',
83
86
inputSchema: {type: 'object',properties: {}},
84
87
},
85
88
{
86
89
name: 'clear_breakpoint',
87
-
description: 'Remove a breakpoint by its ID.',
90
+
description: 'Remove a breakpoint by its ID. Works whether or not a session is active.',
88
91
inputSchema: {
89
92
type: 'object',
90
93
properties: {id: {type: 'string',description: 'Breakpoint ID from list_breakpoints'}},
@@ -93,13 +96,13 @@ const TOOLS: Tool[] = [
93
96
},
94
97
{
95
98
name: 'clear_all_breakpoints',
96
-
description: 'Remove all breakpoints.',
99
+
description: 'Remove all breakpoints. Works whether or not a session is active.',
description: 'Register an expression to watch (display on every stop).',
196
+
description: 'Register an expression to watch (displayed on every stop). Can be set before or during a session — watches activate automatically when a session starts.',
194
197
inputSchema: {
195
198
type: 'object',
196
199
properties: {expression: {type: 'string',description: 'Expression to watch'}},
@@ -199,7 +202,7 @@ const TOOLS: Tool[] = [
199
202
},
200
203
{
201
204
name: 'unwatch',
202
-
description: 'Remove a watched expression. Omit expression to clear all watches.',
205
+
description: 'Remove a watched expression. Works whether or not a session is active. Omit expression to clear all watches.',
203
206
inputSchema: {
204
207
type: 'object',
205
208
properties: {expression: {type: 'string',description: 'Expression to remove (omit to clear all)'}},
// ── MCP server ───────────────────────────────────────────────────────────────
250
253
251
254
constserver=newServer(
252
-
{name: 'debuggingai',version: '0.1.0'},
255
+
{
256
+
name: 'debuggingai',
257
+
version: VERSION,
258
+
description: 'Breakpoint and watch tools work independently of session state — call them any time. Session tools (start, stop, restart, continue, step, etc.) require an active session.',
0 commit comments