@githits/mcp 0.6.4 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -424,7 +424,7 @@ interface GrepRepoResult {
424
424
  }
425
425
  interface CodeNavigationService {
426
426
  search(params: UnifiedSearchParams): Promise<UnifiedSearchOutcome>;
427
- searchStatus(searchRef: string): Promise<UnifiedSearchOutcome>;
427
+ searchStatus(searchRef: string, waitTimeoutMs?: number): Promise<UnifiedSearchOutcome>;
428
428
  listFiles(params: ListFilesParams): Promise<ListFilesResult>;
429
429
  readFile(params: ReadFileParams): Promise<ReadFileResult>;
430
430
  grepRepo(params: GrepRepoParams): Promise<GrepRepoResult>;
@@ -441,13 +441,12 @@ declare class CodeNavigationServiceImpl implements CodeNavigationService {
441
441
  });
442
442
  private postGraphqlWithTargetResolutionFallback;
443
443
  search(params: UnifiedSearchParams): Promise<UnifiedSearchOutcome>;
444
- searchStatus(searchRef: string): Promise<UnifiedSearchOutcome>;
444
+ searchStatus(searchRef: string, waitTimeoutMs?: number): Promise<UnifiedSearchOutcome>;
445
445
  private executeUnifiedSearch;
446
446
  private executeUnifiedSearchStatus;
447
447
  private createHttpError;
448
448
  private createTransportError;
449
449
  private createGraphQLError;
450
- private createIndexingMessage;
451
450
  private normaliseUnifiedSearchOutcome;
452
451
  private normaliseUnifiedSearchResult;
453
452
  private normaliseUnifiedSearchProgress;
package/dist/client.js CHANGED
@@ -1 +1 @@
1
- import{CodeNavigationServiceImpl,DEFAULT_API_URL,DEFAULT_CODE_NAV_URL,DEFAULT_MCP_URL,GitHitsServiceImpl,PKGSEER_REGISTRY_LIST,PackageIntelligenceServiceImpl,RefreshingGitHitsService,createClientHeaderBuilder,createStaticTokenProvider,endTelemetrySpan,flushTelemetry,getApiUrl,getCodeNavigationUrl,getEnvApiToken,getMcpUrl,startTelemetrySpan,toPkgseerRegistry,toPkgseerRegistryLowercase,withTelemetrySpan}from"./shared/chunk-179kkbsr.js";export{withTelemetrySpan,toPkgseerRegistryLowercase,toPkgseerRegistry,startTelemetrySpan,getMcpUrl,getEnvApiToken,getCodeNavigationUrl,getApiUrl,flushTelemetry,endTelemetrySpan,createStaticTokenProvider,createClientHeaderBuilder,RefreshingGitHitsService,PackageIntelligenceServiceImpl,PKGSEER_REGISTRY_LIST,GitHitsServiceImpl,DEFAULT_MCP_URL,DEFAULT_CODE_NAV_URL,DEFAULT_API_URL,CodeNavigationServiceImpl};
1
+ import{CodeNavigationServiceImpl,DEFAULT_API_URL,DEFAULT_CODE_NAV_URL,DEFAULT_MCP_URL,GitHitsServiceImpl,PKGSEER_REGISTRY_LIST,PackageIntelligenceServiceImpl,RefreshingGitHitsService,createClientHeaderBuilder,createStaticTokenProvider,endTelemetrySpan,flushTelemetry,getApiUrl,getCodeNavigationUrl,getEnvApiToken,getMcpUrl,startTelemetrySpan,toPkgseerRegistry,toPkgseerRegistryLowercase,withTelemetrySpan}from"./shared/chunk-xd3b13qj.js";export{withTelemetrySpan,toPkgseerRegistryLowercase,toPkgseerRegistry,startTelemetrySpan,getMcpUrl,getEnvApiToken,getCodeNavigationUrl,getApiUrl,flushTelemetry,endTelemetrySpan,createStaticTokenProvider,createClientHeaderBuilder,RefreshingGitHitsService,PackageIntelligenceServiceImpl,PKGSEER_REGISTRY_LIST,GitHitsServiceImpl,DEFAULT_MCP_URL,DEFAULT_CODE_NAV_URL,DEFAULT_API_URL,CodeNavigationServiceImpl};
package/dist/index.d.ts CHANGED
@@ -398,7 +398,7 @@ interface GrepRepoResult {
398
398
  }
399
399
  interface CodeNavigationService {
400
400
  search(params: UnifiedSearchParams): Promise<UnifiedSearchOutcome>;
401
- searchStatus(searchRef: string): Promise<UnifiedSearchOutcome>;
401
+ searchStatus(searchRef: string, waitTimeoutMs?: number): Promise<UnifiedSearchOutcome>;
402
402
  listFiles(params: ListFilesParams): Promise<ListFilesResult>;
403
403
  readFile(params: ReadFileParams): Promise<ReadFileResult>;
404
404
  grepRepo(params: GrepRepoParams): Promise<GrepRepoResult>;