Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/app-bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,7 @@ export class AppBridge extends ProtocolWithEvents<
`[ext-apps] AppBridge received '${request.method}' before ` +
`ui/notifications/initialized. The View is calling host ` +
`methods before completing the handshake; it should await ` +
`app.connect() first. See ` +
`https://github.com/anthropics/claude-ai-mcp/issues/149`,
`app.connect() first.`,
);
}
return handler(request, extra);
Expand Down
3 changes: 1 addition & 2 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,7 @@ export class App extends ProtocolWithEvents<
const msg =
`[ext-apps] App.${method}() called before connect() completed the ` +
`ui/initialize handshake. Await app.connect() before calling this ` +
`method, or move data loading to an ontoolresult handler. ` +
`See https://github.com/anthropics/claude-ai-mcp/issues/149`;
`method, or move data loading to an ontoolresult handler.`;
if (this.options?.strict) {
throw new Error(msg);
}
Expand Down
Loading