From ee34be134b84041ddbe6576f1f8635bbf9546648 Mon Sep 17 00:00:00 2001 From: "jdelorey@cloudflare.com" Date: Thu, 24 Apr 2025 14:45:04 -0500 Subject: [PATCH 1/2] fix: set account id issue and add debugger config --- .vscode/launch.json | 15 +++++++++++++++ apps/workers-bindings/src/index.ts | 4 ---- apps/workers-observability/src/index.ts | 4 ---- 3 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..8db3df97 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + "configurations": [ + { + "name": "Wrangler", + "type": "node", + "request": "attach", + "port": 9229, + "cwd": "/", + "resolveSourceMapLocations": null, + "attachExistingChildren": false, + "autoAttachChildProcesses": false, + "sourceMaps": true // works with or without this line + } + ] +} \ No newline at end of file diff --git a/apps/workers-bindings/src/index.ts b/apps/workers-bindings/src/index.ts index 781c239a..fe58b9f1 100644 --- a/apps/workers-bindings/src/index.ts +++ b/apps/workers-bindings/src/index.ts @@ -31,10 +31,6 @@ export class WorkersBindingsMCP extends McpAgent { version: '1.0.0', }) - initialState: State = { - activeAccountId: null, - } - async init() { registerAccountTools(this) From 0903c5f60d62ae5662dfa80809f412fbfc3ff948 Mon Sep 17 00:00:00 2001 From: "jdelorey@cloudflare.com" Date: Thu, 24 Apr 2025 14:48:51 -0500 Subject: [PATCH 2/2] chore: fix formatting --- .vscode/launch.json | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 8db3df97..54ebd676 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,15 +1,15 @@ { - "configurations": [ - { - "name": "Wrangler", - "type": "node", - "request": "attach", - "port": 9229, - "cwd": "/", - "resolveSourceMapLocations": null, - "attachExistingChildren": false, - "autoAttachChildProcesses": false, - "sourceMaps": true // works with or without this line - } - ] -} \ No newline at end of file + "configurations": [ + { + "name": "Wrangler", + "type": "node", + "request": "attach", + "port": 9229, + "cwd": "/", + "resolveSourceMapLocations": null, + "attachExistingChildren": false, + "autoAttachChildProcesses": false, + "sourceMaps": true // works with or without this line + } + ] +}