Skip to content

Commit 619c0eb

Browse files
committed
chore: drop GitHub issue URLs from pre-handshake guard log messages
The runtime console.error/warn strings in App._assertInitialized and AppBridge.replaceRequestHandler linked to a tracking issue. Issue URLs in runtime logs are brittle and send developers to a discussion thread rather than actionable docs; the message itself already says what to do. JSDoc @see links retained.
1 parent 926dcb4 commit 619c0eb

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/app-bridge.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,7 @@ export class AppBridge extends ProtocolWithEvents<
336336
`[ext-apps] AppBridge received '${request.method}' before ` +
337337
`ui/notifications/initialized. The View is calling host ` +
338338
`methods before completing the handshake; it should await ` +
339-
`app.connect() first. See ` +
340-
`https://github.com/anthropics/claude-ai-mcp/issues/149`,
339+
`app.connect() first.`,
341340
);
342341
}
343342
return handler(request, extra);

src/app.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,7 @@ export class App extends ProtocolWithEvents<
280280
const msg =
281281
`[ext-apps] App.${method}() called before connect() completed the ` +
282282
`ui/initialize handshake. Await app.connect() before calling this ` +
283-
`method, or move data loading to an ontoolresult handler. ` +
284-
`See https://github.com/anthropics/claude-ai-mcp/issues/149`;
283+
`method, or move data loading to an ontoolresult handler.`;
285284
if (this.options?.strict) {
286285
throw new Error(msg);
287286
}

0 commit comments

Comments
 (0)