@githits/mcp 0.25.1 → 0.27.0
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/README.md +33 -0
- package/dist/client.d.ts +135 -29
- package/dist/client.js +1 -1
- package/dist/index.d.ts +277 -69
- package/dist/index.js +59 -40
- package/dist/shared/chunk-7tz3wz0p.js +24 -0
- package/dist/shared/chunk-p5khgrbg.js +1528 -0
- package/dist/shared/chunk-t8y1be33.js +352 -0
- package/dist/smoke-test.d.ts +5 -2
- package/dist/smoke-test.js +5 -4
- package/dist/tools.d.ts +108 -5
- package/dist/tools.js +1 -1
- package/package.json +1 -1
- package/dist/shared/chunk-ge2panr3.js +0 -1778
- package/dist/shared/chunk-q07qg1z9.js +0 -2
- package/dist/shared/chunk-wsqppssk.js +0 -16
package/README.md
CHANGED
|
@@ -18,6 +18,39 @@ update and deployment rather than through a parallel implementation.
|
|
|
18
18
|
> filesystem access, authentication implementation or storage, configuration
|
|
19
19
|
> discovery, or any other host behavior.
|
|
20
20
|
|
|
21
|
+
## Stable Target Resolution
|
|
22
|
+
|
|
23
|
+
The public inventory includes `resolve_target` by default. It ranks fuzzy public
|
|
24
|
+
package, repository and documentation-site names using the existing backend
|
|
25
|
+
resolver. Canonical targets go directly to the next tool; confidence, ambiguity
|
|
26
|
+
and malicious-content status govern continuation. This does not establish
|
|
27
|
+
vulnerability-free or upgrade-safe status.
|
|
28
|
+
|
|
29
|
+
Providers must now supply `resolveTargetService: ResolveTargetService`. Import
|
|
30
|
+
`ResolveTargetServiceImpl` and its service/request/result contracts from
|
|
31
|
+
`@githits/mcp/client`; construct it with the existing OSS endpoint and the
|
|
32
|
+
request's token provider, headers and optional diagnostics. The browser-callable
|
|
33
|
+
factory and `ResolveTargetMcpArgs` are exported from `@githits/mcp/tools`.
|
|
34
|
+
No private core or workspace-internal imports are needed. Hosted MCP must adopt
|
|
35
|
+
and deploy the released package before its clients receive the tool.
|
|
36
|
+
|
|
37
|
+
## Stable Source Diff
|
|
38
|
+
|
|
39
|
+
The public tool inventory includes `code_diff` by default. It compares raw
|
|
40
|
+
repository trees across exact package versions or public repository refs;
|
|
41
|
+
package addressing does not filter to a package subdirectory. Defaults are
|
|
42
|
+
bounded name-status inventory and text, with scoped stats/patches available.
|
|
43
|
+
Truncation and content-safety limits remain evidence limits; a diff does not
|
|
44
|
+
establish upgrade compatibility.
|
|
45
|
+
|
|
46
|
+
Custom service providers must supply `codeNavigationService` implementing both
|
|
47
|
+
`CodeNavigationService` and `CodeDiffService`. Import those contracts from
|
|
48
|
+
`@githits/mcp/client`; the built-in `CodeNavigationServiceImpl` already
|
|
49
|
+
implements both. Providers implementing only navigation must add `codeDiff`
|
|
50
|
+
before adopting this package version. The standalone `CodeNavigationService`
|
|
51
|
+
interface remains unchanged. The separate hosted server must adopt and deploy
|
|
52
|
+
the released package before hosted clients receive the tool.
|
|
53
|
+
|
|
21
54
|
## API
|
|
22
55
|
|
|
23
56
|
- `createMcpServer(options)` creates an MCP server with GitHits tools registered.
|
package/dist/client.d.ts
CHANGED
|
@@ -96,6 +96,22 @@ declare function toPkgseerRegistry(registry: PkgseerRegistryArg): PkgseerRegistr
|
|
|
96
96
|
* lowering a response field for user display.
|
|
97
97
|
*/
|
|
98
98
|
declare function toPkgseerRegistryLowercase(registry: PkgseerRegistry): PkgseerRegistryArg;
|
|
99
|
+
interface IndexingDurationEstimate {
|
|
100
|
+
lowerSeconds?: number;
|
|
101
|
+
upperSeconds?: number;
|
|
102
|
+
elapsedSeconds?: number;
|
|
103
|
+
sampleCount?: number;
|
|
104
|
+
source?: string;
|
|
105
|
+
}
|
|
106
|
+
/** Pending preparation evidence; total execution seconds, never a search ETA. */
|
|
107
|
+
interface DiscoveryIndexingEstimate {
|
|
108
|
+
kind: "REPOSITORY" | "DOCUMENTATION";
|
|
109
|
+
targets: string[];
|
|
110
|
+
repositoryUrl?: string;
|
|
111
|
+
commitSha?: string;
|
|
112
|
+
estimate?: IndexingDurationEstimate;
|
|
113
|
+
unavailableReason?: "NO_HISTORY" | "UNSUPPORTED_WORK";
|
|
114
|
+
}
|
|
99
115
|
/** A backend-selected address for a code or documentation read. */
|
|
100
116
|
interface ReadTarget {
|
|
101
117
|
target: string;
|
|
@@ -155,6 +171,8 @@ interface TargetResolutionIdentity {
|
|
|
155
171
|
repoUrl?: string;
|
|
156
172
|
gitRef?: string;
|
|
157
173
|
commitSha?: string;
|
|
174
|
+
/** Verified UTC committer time for this exact repository commit, not freshness. */
|
|
175
|
+
committedAt?: string;
|
|
158
176
|
site?: string;
|
|
159
177
|
}
|
|
160
178
|
type AvailableRef = AvailableVersion;
|
|
@@ -439,15 +457,6 @@ interface UnifiedSearchResult {
|
|
|
439
457
|
sourceStatus: UnifiedSearchSourceStatus[];
|
|
440
458
|
evidenceNotice?: string;
|
|
441
459
|
}
|
|
442
|
-
/** Pending preparation evidence; total execution seconds, never a search ETA. */
|
|
443
|
-
interface DiscoveryIndexingEstimate {
|
|
444
|
-
kind: "REPOSITORY" | "DOCUMENTATION";
|
|
445
|
-
targets: string[];
|
|
446
|
-
repositoryUrl?: string;
|
|
447
|
-
commitSha?: string;
|
|
448
|
-
estimate?: IndexingDurationEstimate;
|
|
449
|
-
unavailableReason?: "NO_HISTORY" | "UNSUPPORTED_WORK";
|
|
450
|
-
}
|
|
451
460
|
interface UnifiedSearchProgress {
|
|
452
461
|
searchRef: string;
|
|
453
462
|
status: UnifiedSearchSessionStatus;
|
|
@@ -486,13 +495,6 @@ interface AvailableVersion {
|
|
|
486
495
|
version?: string;
|
|
487
496
|
ref: string;
|
|
488
497
|
}
|
|
489
|
-
interface IndexingDurationEstimate {
|
|
490
|
-
lowerSeconds?: number;
|
|
491
|
-
upperSeconds?: number;
|
|
492
|
-
elapsedSeconds?: number;
|
|
493
|
-
sampleCount?: number;
|
|
494
|
-
source?: string;
|
|
495
|
-
}
|
|
496
498
|
/**
|
|
497
499
|
* Input for {@link CodeNavigationService.listFiles}.
|
|
498
500
|
*/
|
|
@@ -520,6 +522,7 @@ interface RepoFileEntry {
|
|
|
520
522
|
byteSize?: number;
|
|
521
523
|
}
|
|
522
524
|
interface ListFilesResult {
|
|
525
|
+
indexingEstimates?: DiscoveryIndexingEstimate[];
|
|
523
526
|
files: RepoFileEntry[];
|
|
524
527
|
total: number;
|
|
525
528
|
hasMore: boolean;
|
|
@@ -539,6 +542,7 @@ interface ReadFileParams {
|
|
|
539
542
|
waitTimeoutMs?: number;
|
|
540
543
|
}
|
|
541
544
|
interface ReadFileResult {
|
|
545
|
+
indexingEstimates?: DiscoveryIndexingEstimate[];
|
|
542
546
|
/** Served action selected by unified read; legacy readers may omit it. */
|
|
543
547
|
readTarget?: ReadTarget | null;
|
|
544
548
|
filePath?: string;
|
|
@@ -762,6 +766,7 @@ interface GrepRepoMatch {
|
|
|
762
766
|
type GrepRouteTaken = "SINGLE_FILE" | "CONTENT_INDEX";
|
|
763
767
|
type GrepTruncatedReason = "NONE" | "MAX_MATCHES" | "MAX_MATCHES_PER_FILE" | "DEADLINE";
|
|
764
768
|
interface GrepRepoResult {
|
|
769
|
+
indexingEstimates?: DiscoveryIndexingEstimate[];
|
|
765
770
|
matches: GrepRepoMatch[];
|
|
766
771
|
nextCursor?: string;
|
|
767
772
|
hasMore: boolean;
|
|
@@ -1025,6 +1030,7 @@ interface GrepUnavailableTarget {
|
|
|
1025
1030
|
suggestedSiteTargets: string[] | null;
|
|
1026
1031
|
}
|
|
1027
1032
|
interface GrepResult {
|
|
1033
|
+
indexingEstimates?: DiscoveryIndexingEstimate[];
|
|
1028
1034
|
hits: GrepHit[];
|
|
1029
1035
|
targets: GrepTargetStatus[];
|
|
1030
1036
|
unavailableTargets: GrepUnavailableTarget[];
|
|
@@ -1085,12 +1091,13 @@ interface ListParams {
|
|
|
1085
1091
|
after?: string;
|
|
1086
1092
|
waitTimeoutMs?: number;
|
|
1087
1093
|
includeDetailedFields: boolean;
|
|
1094
|
+
includeTargetProvenance?: boolean;
|
|
1088
1095
|
/** Select exact read actions for compact site text; detailed fields always include them. */
|
|
1089
1096
|
includeReadActions?: boolean;
|
|
1090
1097
|
}
|
|
1091
1098
|
type ListInventoryKind = "SOURCE" | "SITE";
|
|
1092
1099
|
type ListEntryKind = "FILE" | "PAGE" | "DIRECTORY";
|
|
1093
|
-
type ListSiteWaitOutcome = "COMPLETED" | "DISCARDED" | "CANCELLED" | "TIMEOUT";
|
|
1100
|
+
type ListSiteWaitOutcome = "COMPLETED" | "DISCARDED" | "CANCELLED" | "TIMEOUT" | "FAILED" | "SUPERSEDED";
|
|
1094
1101
|
interface ListReadAction {
|
|
1095
1102
|
target: string;
|
|
1096
1103
|
path: string | null;
|
|
@@ -1124,13 +1131,14 @@ interface ListResolution {
|
|
|
1124
1131
|
commitSha: string | null;
|
|
1125
1132
|
}
|
|
1126
1133
|
interface ListTargetIdentity {
|
|
1127
|
-
kind
|
|
1128
|
-
registry
|
|
1129
|
-
packageName
|
|
1130
|
-
version
|
|
1131
|
-
repoUrl
|
|
1134
|
+
kind?: string | null;
|
|
1135
|
+
registry?: string | null;
|
|
1136
|
+
packageName?: string | null;
|
|
1137
|
+
version?: string | null;
|
|
1138
|
+
repoUrl?: string | null;
|
|
1132
1139
|
gitRef: string | null;
|
|
1133
|
-
commitSha
|
|
1140
|
+
commitSha?: string | null;
|
|
1141
|
+
committedAt?: string | null;
|
|
1134
1142
|
}
|
|
1135
1143
|
interface ListTargetResolution {
|
|
1136
1144
|
requested: ListTargetIdentity | null;
|
|
@@ -1138,10 +1146,10 @@ interface ListTargetResolution {
|
|
|
1138
1146
|
served: ListTargetIdentity | null;
|
|
1139
1147
|
freshness: string | null;
|
|
1140
1148
|
freshnessReason: string | null;
|
|
1141
|
-
indexingRef
|
|
1142
|
-
availableVersions
|
|
1143
|
-
availableRefs
|
|
1144
|
-
suggestedRefs
|
|
1149
|
+
indexingRef?: string | null;
|
|
1150
|
+
availableVersions?: ListAvailableVersion[] | null;
|
|
1151
|
+
availableRefs?: ListAvailableVersion[] | null;
|
|
1152
|
+
suggestedRefs?: ListAvailableVersion[] | null;
|
|
1145
1153
|
}
|
|
1146
1154
|
interface ListIndexingEstimate {
|
|
1147
1155
|
lowerSeconds: number | null;
|
|
@@ -1165,6 +1173,7 @@ interface ListSitePreparation {
|
|
|
1165
1173
|
awaited: ListSiteWait[];
|
|
1166
1174
|
}
|
|
1167
1175
|
interface ListResult {
|
|
1176
|
+
indexingEstimates?: DiscoveryIndexingEstimate[];
|
|
1168
1177
|
inventoryKind: ListInventoryKind;
|
|
1169
1178
|
requestedTarget: string;
|
|
1170
1179
|
canonicalTarget: string | null;
|
|
@@ -1197,6 +1206,11 @@ interface ListServiceRuntime {
|
|
|
1197
1206
|
declare class ListAccessError extends Error {
|
|
1198
1207
|
constructor(message: string);
|
|
1199
1208
|
}
|
|
1209
|
+
interface ListIndexingErrorMetadata {
|
|
1210
|
+
indexingEstimate?: IndexingDurationEstimate;
|
|
1211
|
+
availableVersions?: AvailableVersion[];
|
|
1212
|
+
package?: string;
|
|
1213
|
+
}
|
|
1200
1214
|
declare class ListGraphQLError extends Error {
|
|
1201
1215
|
readonly code?: string | undefined;
|
|
1202
1216
|
readonly retryable?: boolean | undefined;
|
|
@@ -1204,7 +1218,8 @@ declare class ListGraphQLError extends Error {
|
|
|
1204
1218
|
readonly commitSha?: string | undefined;
|
|
1205
1219
|
readonly indexingRef?: string | undefined;
|
|
1206
1220
|
readonly hint?: string | undefined;
|
|
1207
|
-
|
|
1221
|
+
readonly indexingMetadata: ListIndexingErrorMetadata | undefined;
|
|
1222
|
+
constructor(message: string, code?: string | undefined, retryable?: boolean | undefined, repoUrl?: string | undefined, commitSha?: string | undefined, indexingRef?: string | undefined, hint?: string | undefined, indexingMetadata?: ListIndexingErrorMetadata | undefined);
|
|
1208
1223
|
}
|
|
1209
1224
|
declare class ListBackendError extends Error {
|
|
1210
1225
|
readonly status?: number | undefined;
|
|
@@ -1843,6 +1858,7 @@ interface PackageDocsPageInfo {
|
|
|
1843
1858
|
totalCount?: number;
|
|
1844
1859
|
}
|
|
1845
1860
|
interface PackageDocsList {
|
|
1861
|
+
indexingEstimates?: DiscoveryIndexingEstimate[];
|
|
1846
1862
|
registry?: string;
|
|
1847
1863
|
packageName?: string;
|
|
1848
1864
|
version?: string;
|
|
@@ -2039,4 +2055,94 @@ declare class RefreshingGitHitsService implements GitHitsService {
|
|
|
2039
2055
|
*/
|
|
2040
2056
|
private withTokenRefresh;
|
|
2041
2057
|
}
|
|
2042
|
-
|
|
2058
|
+
type ResolveTargetKind = "PACKAGE" | "REPOSITORY" | "SITE";
|
|
2059
|
+
type KnownLatestVersionMaliciousStatus = "NOT_APPLICABLE" | "CLEAR" | "AFFECTED" | "UNKNOWN";
|
|
2060
|
+
/**
|
|
2061
|
+
* Backend-owned malicious-content decision for the displayed latest version.
|
|
2062
|
+
* Future values remain readable and are interpreted conservatively by clients.
|
|
2063
|
+
*/
|
|
2064
|
+
type LatestVersionMaliciousStatus = KnownLatestVersionMaliciousStatus | (string & {});
|
|
2065
|
+
type KnownMaliciousAdvisoryClassificationReason = "AFFECTED_VERSION_RANGE_MATCH" | "MISSING_DISPLAYED_VERSION" | "INVALID_DISPLAYED_VERSION" | "MISSING_AFFECTED_RANGES" | "EMPTY_AFFECTED_RANGES" | "INVALID_AFFECTED_RANGE";
|
|
2066
|
+
type MaliciousAdvisoryClassificationReason = KnownMaliciousAdvisoryClassificationReason | (string & {});
|
|
2067
|
+
interface ResolveTargetLatestVersionMaliciousAdvisory {
|
|
2068
|
+
osvId: string;
|
|
2069
|
+
classificationReasons: MaliciousAdvisoryClassificationReason[];
|
|
2070
|
+
}
|
|
2071
|
+
interface ResolveTargetLatestVersionMaliciousEvidence {
|
|
2072
|
+
advisories: ResolveTargetLatestVersionMaliciousAdvisory[];
|
|
2073
|
+
totalCount: number;
|
|
2074
|
+
truncated: boolean;
|
|
2075
|
+
}
|
|
2076
|
+
interface ResolveTargetParams {
|
|
2077
|
+
name: string;
|
|
2078
|
+
query?: string;
|
|
2079
|
+
registries?: PkgseerRegistry[];
|
|
2080
|
+
preferredKinds?: ResolveTargetKind[];
|
|
2081
|
+
intentHints?: string[];
|
|
2082
|
+
limit: number;
|
|
2083
|
+
includeDetailedFields: boolean;
|
|
2084
|
+
includeNameSimilarity: boolean;
|
|
2085
|
+
}
|
|
2086
|
+
interface ResolveTargetReference {
|
|
2087
|
+
kind: string;
|
|
2088
|
+
canonicalKey: string;
|
|
2089
|
+
confidence: string;
|
|
2090
|
+
}
|
|
2091
|
+
interface ResolveTargetMatch {
|
|
2092
|
+
confidence: string;
|
|
2093
|
+
nameSimilarity?: number;
|
|
2094
|
+
matchedAliases?: string[];
|
|
2095
|
+
matchTier?: number;
|
|
2096
|
+
score?: number;
|
|
2097
|
+
}
|
|
2098
|
+
interface ResolveTargetTarget {
|
|
2099
|
+
kind: string;
|
|
2100
|
+
canonicalKey: string;
|
|
2101
|
+
displayName?: string;
|
|
2102
|
+
description?: string;
|
|
2103
|
+
registry?: string;
|
|
2104
|
+
packageName?: string;
|
|
2105
|
+
latestVersion?: string;
|
|
2106
|
+
latestVersionMaliciousStatus: LatestVersionMaliciousStatus;
|
|
2107
|
+
latestVersionMaliciousEvidence?: ResolveTargetLatestVersionMaliciousEvidence;
|
|
2108
|
+
repositoryUrl?: string;
|
|
2109
|
+
repositoryOwner?: string;
|
|
2110
|
+
repositoryName?: string;
|
|
2111
|
+
stars?: number;
|
|
2112
|
+
downloadsLastMonth?: number;
|
|
2113
|
+
downloadsTotal?: number;
|
|
2114
|
+
documentationUrl?: string;
|
|
2115
|
+
docsAvailable: boolean;
|
|
2116
|
+
codeAvailable: boolean;
|
|
2117
|
+
groupKey?: string;
|
|
2118
|
+
match?: ResolveTargetMatch;
|
|
2119
|
+
docsPageCount?: number;
|
|
2120
|
+
codeFileCount?: number;
|
|
2121
|
+
license?: string;
|
|
2122
|
+
}
|
|
2123
|
+
interface ResolveTargetResult {
|
|
2124
|
+
best?: ResolveTargetReference;
|
|
2125
|
+
protectedMatches: ResolveTargetReference[];
|
|
2126
|
+
targets: ResolveTargetTarget[];
|
|
2127
|
+
targetsTruncated: boolean;
|
|
2128
|
+
ambiguous: boolean;
|
|
2129
|
+
ambiguousReason: string;
|
|
2130
|
+
}
|
|
2131
|
+
interface ResolveTargetService {
|
|
2132
|
+
resolveTarget(params: ResolveTargetParams): Promise<ResolveTargetResult>;
|
|
2133
|
+
}
|
|
2134
|
+
declare class ResolveTargetServiceImpl implements ResolveTargetService {
|
|
2135
|
+
private readonly endpointUrl;
|
|
2136
|
+
private readonly tokenProvider;
|
|
2137
|
+
private readonly fetchFn;
|
|
2138
|
+
private readonly runtime;
|
|
2139
|
+
constructor(endpointUrl: string, tokenProvider: TokenProvider, fetchFn?: typeof fetch, runtime?: {
|
|
2140
|
+
clientHeaders?: ClientHeaderBuilder;
|
|
2141
|
+
userAgent?: string;
|
|
2142
|
+
clientVersion?: string;
|
|
2143
|
+
diagnostics?: ServiceDiagnostics;
|
|
2144
|
+
});
|
|
2145
|
+
resolveTarget(params: ResolveTargetParams): Promise<ResolveTargetResult>;
|
|
2146
|
+
private executeResolveTarget;
|
|
2147
|
+
}
|
|
2148
|
+
export { AgentInfo, CodeDiffError, CodeDiffErrorDetails, CodeDiffErrorRef, CodeDiffMode, CodeDiffOptions, CodeDiffPackageInfo, CodeDiffPackageTarget, CodeDiffParams, CodeDiffPartialResult, CodeDiffRefKind, CodeDiffRefResolution, CodeDiffRepositoryTarget, CodeDiffResult, CodeDiffService, CodeDiffTarget, CodeDiffVersionSource, CodeNavigationService, CodeNavigationServiceImpl, CodeSymbolCandidate, CodeSymbolResolution, CodeSymbolSuggestion, ContentModification, ContentSafety, DEFAULT_API_URL, DEFAULT_CODE_NAV_URL, DEFAULT_MCP_URL, DiscoveryIndexingEstimate, GitHitsService, GitHitsServiceImpl, GrepAccessError, GrepBackendError, GrepContentSafety, GrepCorpus, GrepFileIssue, GrepGraphQLError, GrepHit, GrepLineSlice, GrepNetworkError, GrepParams, GrepPathSelector, GrepReadAction, GrepReadiness, GrepRepositoryHit, GrepResult, GrepService, GrepServiceImpl, GrepSiteHit, GrepTarget, GrepTargetStatus, GrepTraversal, GrepUnavailableTarget, IndexingDurationEstimate, KnownLatestVersionMaliciousStatus, KnownMaliciousAdvisoryClassificationReason, LatestVersionMaliciousStatus, ListAccessError, ListAction, ListAvailableVersion, ListBackendError, ListBrowseAction, ListEntry, ListEntryKind, ListFileIntent, ListGraphQLError, ListIndexingEstimate, ListInventoryKind, ListNetworkError, ListParams, ListReadAction, ListResolution, ListResult, ListService, ListServiceImpl, ListSiteJob, ListSitePreparation, ListSiteWait, ListSiteWaitOutcome, ListTargetIdentity, ListTargetResolution, MalformedGrepResponseError, MalformedListResponseError, MaliciousAdvisoryClassificationReason, PKGSEER_REGISTRY_LIST, PackageIntelligenceService, PackageIntelligenceServiceImpl, RawCodeDiff, RawCodeDiffContentCoverage, RawCodeDiffContentFailure, RawCodeDiffFile, RawCodeDiffFileContentStatus, RawCodeDiffFileStatus, RawCodeDiffPathEncoding, RawCodeDiffScope, RawCodeDiffScopeStatus, RawCodeDiffSummary, ReadCodeResult, ReadDocsResult, ReadParams, ReadResult, ReadService, ReadServiceImpl, ReadSymbolResolutionResult, ReadTarget, RefreshingGitHitsService, ResolveTargetKind, ResolveTargetLatestVersionMaliciousAdvisory, ResolveTargetLatestVersionMaliciousEvidence, ResolveTargetMatch, ResolveTargetParams, ResolveTargetReference, ResolveTargetResult, ResolveTargetService, ResolveTargetServiceImpl, ResolveTargetTarget, ServiceDiagnostics, SessionIdConfigError, TokenProvider, createClientHeaderBuilder, createStaticTokenProvider, getApiUrl, getCodeNavigationUrl, getEnvApiToken, getEnvSessionId, getMcpUrl, toPkgseerRegistry, toPkgseerRegistryLowercase };
|
package/dist/client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{GrepGraphQLError2,GrepBackendError2,GrepAccessError2,GrepNetworkError2,MalformedGrepResponseError2,GrepServiceImpl2,ListAccessError2,ListGraphQLError2,ListBackendError2,ListNetworkError2,MalformedListResponseError2,ListServiceImpl2,ReadServiceImpl2,RefreshingGitHitsService2,ResolveTargetServiceImpl2,createStaticTokenProvider2,SessionIdConfigError2,getEnvSessionId2,createClientHeaderBuilder2}from"./shared/chunk-t8y1be33.js";import{DEFAULT_MCP_URL2,DEFAULT_API_URL2,DEFAULT_CODE_NAV_URL2,getMcpUrl2,getApiUrl2,getCodeNavigationUrl2,getEnvApiToken2,PKGSEER_REGISTRY_LIST2,toPkgseerRegistry2,toPkgseerRegistryLowercase2,GitHitsServiceImpl2,CodeDiffError2,CodeNavigationServiceImpl2,PackageIntelligenceServiceImpl2}from"./shared/chunk-p5khgrbg.js";export{CodeDiffError2 as CodeDiffError,CodeNavigationServiceImpl2 as CodeNavigationServiceImpl,DEFAULT_API_URL2 as DEFAULT_API_URL,DEFAULT_CODE_NAV_URL2 as DEFAULT_CODE_NAV_URL,DEFAULT_MCP_URL2 as DEFAULT_MCP_URL,GitHitsServiceImpl2 as GitHitsServiceImpl,GrepAccessError2 as GrepAccessError,GrepBackendError2 as GrepBackendError,GrepGraphQLError2 as GrepGraphQLError,GrepNetworkError2 as GrepNetworkError,GrepServiceImpl2 as GrepServiceImpl,ListAccessError2 as ListAccessError,ListBackendError2 as ListBackendError,ListGraphQLError2 as ListGraphQLError,ListNetworkError2 as ListNetworkError,ListServiceImpl2 as ListServiceImpl,MalformedGrepResponseError2 as MalformedGrepResponseError,MalformedListResponseError2 as MalformedListResponseError,PKGSEER_REGISTRY_LIST2 as PKGSEER_REGISTRY_LIST,PackageIntelligenceServiceImpl2 as PackageIntelligenceServiceImpl,ReadServiceImpl2 as ReadServiceImpl,RefreshingGitHitsService2 as RefreshingGitHitsService,ResolveTargetServiceImpl2 as ResolveTargetServiceImpl,SessionIdConfigError2 as SessionIdConfigError,createClientHeaderBuilder2 as createClientHeaderBuilder,createStaticTokenProvider2 as createStaticTokenProvider,getApiUrl2 as getApiUrl,getCodeNavigationUrl2 as getCodeNavigationUrl,getEnvApiToken2 as getEnvApiToken,getEnvSessionId2 as getEnvSessionId,getMcpUrl2 as getMcpUrl,toPkgseerRegistry2 as toPkgseerRegistry,toPkgseerRegistryLowercase2 as toPkgseerRegistryLowercase};
|