Skip to content

Commit 9d72bf0

Browse files
committed
Remove debugger tools from STOREFRONTNEXT toolset
1 parent a2028bd commit 9d72bf0

12 files changed

Lines changed: 11 additions & 12 deletions

packages/b2c-dx-mcp/src/tools/diagnostics/debug-capture-at-breakpoint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export function createDebugCaptureAtBreakpointTool(
7474
'Use trigger_url to have the tool fire the request itself (recommended) — this avoids needing to coordinate a separate request while the tool blocks. ' +
7575
'Without trigger_url, the tool BLOCKS until the breakpoint is hit or timeout expires and requires the user to trigger a request externally. ' +
7676
'For more control, use the non-blocking workflow: debug_set_breakpoints → trigger request → debug_list_sessions (check halted_threads) → debug_get_variables.',
77-
toolsets: ['CARTRIDGES', 'SCAPI', 'STOREFRONTNEXT'],
77+
toolsets: ['CARTRIDGES', 'SCAPI'],
7878
inputSchema: {
7979
session_id: z.string().describe('Session ID returned by debug_start_session.'),
8080
file: z.string().describe('Local file path or server script path for the breakpoint.'),

packages/b2c-dx-mcp/src/tools/diagnostics/debug-continue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export function createDebugContinueTool(
2929
name: 'debug_continue',
3030
description:
3131
'Resume execution of a halted thread. The thread continues until the next breakpoint or request completion.',
32-
toolsets: ['CARTRIDGES', 'SCAPI', 'STOREFRONTNEXT'],
32+
toolsets: ['CARTRIDGES', 'SCAPI'],
3333
inputSchema: {
3434
session_id: z.string().describe('Session ID returned by debug_start_session.'),
3535
thread_id: z.number().int().describe('Thread ID of the halted thread to resume.'),

packages/b2c-dx-mcp/src/tools/diagnostics/debug-end-session.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function createDebugEndSessionTool(
3131
'End a script debugger session. ' +
3232
'Disconnects from the SDAPI, stops polling, and cleans up resources. ' +
3333
'Optionally clears all breakpoints before disconnecting.',
34-
toolsets: ['CARTRIDGES', 'SCAPI', 'STOREFRONTNEXT'],
34+
toolsets: ['CARTRIDGES', 'SCAPI'],
3535
inputSchema: {
3636
session_id: z.string().describe('Session ID returned by debug_start_session.'),
3737
clear_breakpoints: z

packages/b2c-dx-mcp/src/tools/diagnostics/debug-evaluate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function createDebugEvaluateTool(
3333
'Evaluate an expression in the context of a halted thread and stack frame. ' +
3434
'WARNING: Expressions can have side effects (modify variables, call functions). ' +
3535
'Use with care on production-like instances.',
36-
toolsets: ['CARTRIDGES', 'SCAPI', 'STOREFRONTNEXT'],
36+
toolsets: ['CARTRIDGES', 'SCAPI'],
3737
inputSchema: {
3838
session_id: z.string().describe('Session ID returned by debug_start_session.'),
3939
thread_id: z.number().int().describe('Thread ID from debug_wait_for_stop.'),

packages/b2c-dx-mcp/src/tools/diagnostics/debug-get-stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function createDebugGetStackTool(
3636
description:
3737
'Get the call stack for a halted thread. ' +
3838
'Returns stack frames with mapped local file paths and server script paths.',
39-
toolsets: ['CARTRIDGES', 'SCAPI', 'STOREFRONTNEXT'],
39+
toolsets: ['CARTRIDGES', 'SCAPI'],
4040
inputSchema: {
4141
session_id: z.string().describe('Session ID returned by debug_start_session.'),
4242
thread_id: z.number().int().describe('Thread ID from debug_wait_for_stop.'),

packages/b2c-dx-mcp/src/tools/diagnostics/debug-get-variables.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export function createDebugGetVariablesTool(
4343
'By default returns top-frame local variables. ' +
4444
'Use scope to filter (local, closure, global). ' +
4545
'Use object_path to drill into nested objects.',
46-
toolsets: ['CARTRIDGES', 'SCAPI', 'STOREFRONTNEXT'],
46+
toolsets: ['CARTRIDGES', 'SCAPI'],
4747
inputSchema: {
4848
session_id: z.string().describe('Session ID returned by debug_start_session.'),
4949
thread_id: z.number().int().describe('Thread ID from debug_wait_for_stop.'),

packages/b2c-dx-mcp/src/tools/diagnostics/debug-list-sessions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export function createDebugListSessionsTool(
3737
'List all active script debugger sessions with their breakpoints and halted threads. ' +
3838
'Use this to check session state: whether breakpoints are armed, which threads are halted, and whether you need to call debug_get_variables or debug_continue. ' +
3939
'This is the recommended way to poll for halted threads in the non-blocking debug workflow.',
40-
toolsets: ['CARTRIDGES', 'SCAPI', 'STOREFRONTNEXT'],
40+
toolsets: ['CARTRIDGES', 'SCAPI'],
4141
inputSchema: {},
4242
async execute(_args, context) {
4343
const registry = context.serverContext?.debugSessions;

packages/b2c-dx-mcp/src/tools/diagnostics/debug-set-breakpoints.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function createDebugSetBreakpointsTool(
4141
'Set breakpoints in a debug session. Replaces all previously set breakpoints. ' +
4242
'Accepts local file paths (mapped to server paths via cartridge discovery), cartridge-prefixed paths (e.g. app_storefront/cartridge/controllers/Cart.js), or server paths starting with /. ' +
4343
'Check the "verified" field and "warnings" in the response — if a path could not be mapped to a known cartridge, it will be flagged.',
44-
toolsets: ['CARTRIDGES', 'SCAPI', 'STOREFRONTNEXT'],
44+
toolsets: ['CARTRIDGES', 'SCAPI'],
4545
inputSchema: {
4646
session_id: z.string().describe('Session ID returned by debug_start_session.'),
4747
breakpoints: z

packages/b2c-dx-mcp/src/tools/diagnostics/debug-start-session.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export function createDebugStartSessionTool(
4343
'WARNING: Debug sessions can halt remote request threads on the instance. ' +
4444
'Use debug_end_session to cleanly disconnect when done. ' +
4545
'Requires Basic auth credentials (username/password).',
46-
toolsets: ['CARTRIDGES', 'SCAPI', 'STOREFRONTNEXT'],
46+
toolsets: ['CARTRIDGES', 'SCAPI'],
4747
inputSchema: {
4848
cartridge_directory: z
4949
.string()

packages/b2c-dx-mcp/src/tools/diagnostics/debug-step.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function createStepTool(
3232
{
3333
name: `debug_${action}`,
3434
description: description + ' Follow with debug_wait_for_stop to see where execution landed.',
35-
toolsets: ['CARTRIDGES', 'SCAPI', 'STOREFRONTNEXT'],
35+
toolsets: ['CARTRIDGES', 'SCAPI'],
3636
inputSchema: {
3737
session_id: z.string().describe('Session ID returned by debug_start_session.'),
3838
thread_id: z.number().int().describe('Thread ID of the halted thread to step.'),

0 commit comments

Comments
 (0)