Skip to content

Commit ee34be1

Browse files
committed
fix: set account id issue and add debugger config
1 parent 2d76979 commit ee34be1

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

.vscode/launch.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "Wrangler",
5+
"type": "node",
6+
"request": "attach",
7+
"port": 9229,
8+
"cwd": "/",
9+
"resolveSourceMapLocations": null,
10+
"attachExistingChildren": false,
11+
"autoAttachChildProcesses": false,
12+
"sourceMaps": true // works with or without this line
13+
}
14+
]
15+
}

apps/workers-bindings/src/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ export class WorkersBindingsMCP extends McpAgent
3131
version: '1.0.0',
3232
})
3333

34-
initialState: WorkersBindingsMCPState = {
35-
activeAccountId: null,
36-
}
37-
3834
async init() {
3935
registerAccountTools(this)
4036
registerKVTools(this)

apps/workers-observability/src/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ export class ObservabilityMCP extends McpAgent {
3030
version: '1.0.0',
3131
})
3232

33-
initialState: State = {
34-
activeAccountId: null,
35-
}
36-
3733
async init() {
3834
registerAccountTools(this)
3935

0 commit comments

Comments
 (0)