Skip to content

Commit f60c47e

Browse files
committed
Updates all MCP install scenarios
- allows MCP setup when extension bundling is supported - auto install now has complete telemetry - splits mcp setup logic into `setupMCPCore` - mcp install from deeplink now notifies when auto setup
1 parent 4f8ad95 commit f60c47e

File tree

2 files changed

+274
-163
lines changed

2 files changed

+274
-163
lines changed

src/constants.storage.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export type GlobalStorage = {
8383
// Value based on `currentOnboardingVersion` in composer's protocol
8484
'composer:onboarding:dismissed': string;
8585
'composer:onboarding:stepReached': number;
86-
'gk:cli:install': { status: 'attempted' | 'unsupported' | 'completed'; attempts: number; version?: string };
86+
'gk:cli:install': StoredGkCLIInstallInfo;
8787
'gk:cli:corePath': string;
8888
'gk:cli:path': string;
8989
'home:sections:collapsed': string[];
@@ -119,6 +119,12 @@ export type GlobalStorage = {
119119
[key in `bitbucket:${string}:workspaces`]: Stored<StoredBitbucketWorkspace[] | undefined>;
120120
} & { [key in `bitbucket-server:${string}:account`]: Stored<StoredBitbucketAccount | undefined> };
121121

122+
export interface StoredGkCLIInstallInfo {
123+
status: 'attempted' | 'unsupported' | 'completed';
124+
attempts: number;
125+
version?: string;
126+
}
127+
122128
export type StoredIntegrationConfigurations = Record<
123129
IntegrationIds,
124130
StoredConfiguredIntegrationDescriptor[] | undefined

0 commit comments

Comments
 (0)