Skip to content
Open
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
18 changes: 10 additions & 8 deletions src/env/node/gk/cli/integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,16 @@ export class GkCliIntegrationProvider implements Disposable {
if (result.usingExtensionRegistration) {
const learnMore = { title: 'Learn More' };
const confirm = { title: 'OK', isCloseAffordance: true };
const userResult = await window.showInformationMessage(
'GitKraken MCP is active in your AI chat, leveraging Git and your integrations to provide context and perform actions.',
learnMore,
confirm,
);
if (userResult === learnMore) {
void openUrl(urls.helpCenterMCP);
}
void (async () => {
const userResult = await window.showInformationMessage(
'GitKraken MCP is active in your AI chat, leveraging Git and your integrations to provide context and perform actions.',
learnMore,
confirm,
);
if (userResult === learnMore) {
void openUrl(urls.helpCenterMCP);
}
})();
}
} catch (ex) {
if (ex instanceof McpSetupError) {
Expand Down
Loading