@octocodeai/octocode-tools-core 18.1.2 → 18.2.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 +113 -162
- package/dist/cacheMaintenance.d.ts +8 -0
- package/dist/direct.js +41 -51
- package/dist/github/client.d.ts +1 -1
- package/dist/github/codeSearch.d.ts +2 -2
- package/dist/github/commit.d.ts +48 -0
- package/dist/github/compare.d.ts +2 -2
- package/dist/github/directoryFetch/fetchDirectoryContents.d.ts +1 -1
- package/dist/github/directoryFetch/fetchFileContentToDisk.d.ts +1 -1
- package/dist/github/directoryFetch/refResolution.d.ts +6 -0
- package/dist/github/fileContent.d.ts +1 -1
- package/dist/github/fileContentRaw/fetch.d.ts +2 -2
- package/dist/github/githubAPI.d.ts +1 -2
- package/dist/github/history/commitFiles.d.ts +5 -0
- package/dist/github/history.d.ts +1 -1
- package/dist/github/issues/fetchers.d.ts +1 -1
- package/dist/github/issues/orchestrator.d.ts +1 -1
- package/dist/github/issues/types.d.ts +5 -0
- package/dist/github/prByNumber.d.ts +1 -1
- package/dist/github/prContentFetcher/commits.d.ts +1 -1
- package/dist/github/prContentFetcher/transform.d.ts +1 -1
- package/dist/github/pullRequestSearch.d.ts +1 -1
- package/dist/github/queryBuilders/codeAndRepo.d.ts +1 -1
- package/dist/github/repoSearch.d.ts +2 -2
- package/dist/github/repoStructure/contentResolution.d.ts +1 -1
- package/dist/github/repoStructure/fetchOrchestration.d.ts +2 -2
- package/dist/github/repoStructurePagination.d.ts +1 -1
- package/dist/graph/advancedOperations.d.ts +22 -0
- package/dist/{tools/local_dead_code/graphBuilder.d.ts → graph/buildFileGraph.d.ts} +6 -5
- package/dist/graph/cycleOperations.d.ts +12 -0
- package/dist/{tools/local_dead_code → graph}/importResolver.d.ts +1 -1
- package/dist/graph/operations.d.ts +7 -0
- package/dist/{tools/local_dead_code → graph}/reachability.d.ts +1 -1
- package/dist/{tools/local_dead_code → graph}/types.d.ts +11 -0
- package/dist/graph/workspacePackageResolver.d.ts +2 -0
- package/dist/index.d.ts +11 -30
- package/dist/index.js +45 -55
- package/dist/providers/github/githubContent.d.ts +1 -1
- package/dist/providers/github/githubPullRequests.d.ts +1 -1
- package/dist/providers/github/githubSearch.d.ts +1 -1
- package/dist/providers/github/githubStructure.d.ts +1 -1
- package/dist/providers/github/paginationMetadata.d.ts +4 -5
- package/dist/providers/providerQueries.d.ts +1 -3
- package/dist/providers/providerResults.d.ts +4 -0
- package/dist/providers/types.d.ts +1 -1
- package/dist/responses.d.ts +1 -1
- package/dist/schema.d.ts +2 -0
- package/dist/schema.js +13 -1
- package/dist/scheme/conditionalSchemas.d.ts +12 -0
- package/dist/scheme/fields.d.ts +2 -1
- package/dist/security/bridge.d.ts +7 -10
- package/dist/shared/credentials/index.js +2 -2
- package/dist/shared/paths.d.ts +1 -0
- package/dist/shared/paths.js +1 -1
- package/dist/shared/session/index.js +1 -1
- package/dist/toolContract/descriptions.d.ts +14 -0
- package/dist/toolContract/input/resources/global.d.ts +15 -0
- package/dist/toolContract/input/resources/toolRelations.d.ts +1 -0
- package/dist/toolContract/input/resources/toolVariants.d.ts +9 -0
- package/dist/toolContract/input/resources/tools/_toolkit.d.ts +75 -0
- package/dist/toolContract/input/resources/tools/ghCloneRepo.d.ts +12 -0
- package/dist/toolContract/input/resources/tools/ghGetFileContent.d.ts +30 -0
- package/dist/toolContract/input/resources/tools/ghSearch.d.ts +76 -0
- package/dist/toolContract/input/resources/tools/githubCodeOperation.d.ts +29 -0
- package/dist/toolContract/input/resources/tools/githubHistorySchema.d.ts +114 -0
- package/dist/toolContract/input/resources/tools/githubRepositoriesOperation.d.ts +54 -0
- package/dist/toolContract/input/resources/tools/githubTreeOperation.d.ts +26 -0
- package/dist/toolContract/input/resources/tools/historyCommitInput.d.ts +21 -0
- package/dist/toolContract/input/resources/tools/historyIssueInput.d.ts +59 -0
- package/dist/toolContract/input/resources/tools/historyPullRequestInput.d.ts +98 -0
- package/dist/toolContract/input/resources/tools/localAnalyzeGraph.d.ts +75 -0
- package/dist/toolContract/input/resources/tools/localFilesOperation.d.ts +70 -0
- package/dist/toolContract/input/resources/tools/localGetFileContent.d.ts +22 -0
- package/dist/toolContract/input/resources/tools/localSearch.d.ts +258 -0
- package/dist/toolContract/input/resources/tools/localTextOperation.d.ts +113 -0
- package/dist/toolContract/input/resources/tools/localTreeOperation.d.ts +44 -0
- package/dist/toolContract/input/resources/tools/lspGetSemantics.d.ts +37 -0
- package/dist/toolContract/input/resources/tools/npmSearch.d.ts +10 -0
- package/dist/toolContract/input/types/index.d.ts +24 -0
- package/dist/toolContract/metadata.d.ts +11 -0
- package/dist/toolContract/runtime.d.ts +11 -0
- package/dist/toolContract/schemas.d.ts +31 -0
- package/dist/toolContract/types.d.ts +11 -0
- package/dist/tools/directToolCatalog/toolCatalogDefinitions.d.ts +6 -16
- package/dist/tools/directToolCatalog/toolCatalogFormatters.d.ts +1 -1
- package/dist/tools/directToolCatalog/toolCommandPatternUnifiedSearchQueries.d.ts +6 -0
- package/dist/tools/directToolCatalog/toolInputPreparation.d.ts +2 -2
- package/dist/tools/directToolCatalog/toolSchemaIntrospection.d.ts +10 -0
- package/dist/tools/directToolCatalog/toolSchemaRelations.d.ts +9 -0
- package/dist/tools/directToolCatalog/toolSpecifications.d.ts +13 -0
- package/dist/tools/directToolCatalog.exec.d.ts +1 -1
- package/dist/tools/directToolCatalog.meta.d.ts +1 -0
- package/dist/tools/executionGuard.d.ts +1 -2
- package/dist/tools/github_clone_repo/cache.d.ts +1 -2
- package/dist/tools/github_clone_repo/cacheArtifacts.d.ts +3 -0
- package/dist/tools/github_clone_repo/cachePaths.d.ts +1 -1
- package/dist/tools/github_clone_repo/cloneRepo.d.ts +1 -1
- package/dist/tools/github_clone_repo/execution.d.ts +1 -1
- package/dist/tools/github_clone_repo/scheme.d.ts +24 -24
- package/dist/tools/github_fetch_content/execution.d.ts +1 -1
- package/dist/tools/github_fetch_content/finalizer/types.d.ts +19 -16
- package/dist/tools/github_fetch_content/scheme.d.ts +19 -16
- package/dist/tools/github_fetch_content/types.d.ts +4 -3
- package/dist/tools/github_search/execution.d.ts +4 -0
- package/dist/tools/github_search/finalizer.d.ts +3 -0
- package/dist/tools/github_search/scheme.d.ts +79 -0
- package/dist/tools/github_search_code/execution.d.ts +4 -2
- package/dist/tools/github_search_code/finalizer/groups.d.ts +3 -3
- package/dist/tools/github_search_code/finalizer/ranking.d.ts +1 -2
- package/dist/tools/github_search_code/scheme.d.ts +10 -16
- package/dist/tools/github_search_pull_requests/contentRequest.d.ts +1 -4
- package/dist/tools/github_search_pull_requests/contentResponse/commentsShaping.d.ts +8 -4
- package/dist/tools/github_search_pull_requests/contentResponse/fileSurfaces.d.ts +13 -10
- package/dist/tools/github_search_pull_requests/contentResponse/nextCalls.d.ts +3 -2
- package/dist/tools/github_search_pull_requests/contentResponse/pagination.d.ts +10 -3
- package/dist/tools/github_search_pull_requests/execution/commitsMode.d.ts +2 -2
- package/dist/tools/github_search_pull_requests/execution/issuesMode.d.ts +2 -2
- package/dist/tools/github_search_pull_requests/execution/pullRequestsMode.d.ts +1 -1
- package/dist/tools/github_search_pull_requests/execution.d.ts +1 -1
- package/dist/tools/github_search_pull_requests/historyContinuations.d.ts +15 -0
- package/dist/tools/github_search_pull_requests/historyExecutions.d.ts +6 -0
- package/dist/tools/github_search_pull_requests/historyPartialContinuations.d.ts +5 -0
- package/dist/tools/github_search_pull_requests/historySchemes.d.ts +58 -0
- package/dist/tools/github_search_pull_requests/historySearchPagination.d.ts +3 -0
- package/dist/tools/github_search_pull_requests/scheme.d.ts +14 -30
- package/dist/tools/github_search_pull_requests/splitExecutions.d.ts +1 -2
- package/dist/tools/github_search_pull_requests/splitSchemes.d.ts +197 -181
- package/dist/tools/github_search_repos/execution/pagination.d.ts +4 -4
- package/dist/tools/github_search_repos/execution/queryVariants.d.ts +3 -1
- package/dist/tools/github_search_repos/execution.d.ts +3 -1
- package/dist/tools/github_search_repos/scheme.d.ts +5 -7
- package/dist/tools/github_view_repo_structure/execution.d.ts +4 -2
- package/dist/tools/github_view_repo_structure/scheme.d.ts +2 -4
- package/dist/tools/github_view_repo_structure/types.d.ts +3 -0
- package/dist/tools/local_analyze_graph/analysisTypes.d.ts +46 -0
- package/dist/tools/local_analyze_graph/analyzeGraph.d.ts +3 -0
- package/dist/tools/{local_dead_code → local_analyze_graph}/deadCodeScan.d.ts +2 -1
- package/dist/tools/{local_dead_code → local_analyze_graph}/entrypoints.d.ts +1 -0
- package/dist/tools/local_analyze_graph/execution.d.ts +4 -0
- package/dist/tools/local_analyze_graph/pagination.d.ts +3 -0
- package/dist/tools/{local_dead_code → local_analyze_graph}/retention.d.ts +1 -1
- package/dist/tools/{local_dead_code → local_analyze_graph}/scheme.d.ts +31 -15
- package/dist/tools/local_fetch_content/execution.d.ts +1 -1
- package/dist/tools/local_fetch_content/scheme.d.ts +2 -4
- package/dist/tools/local_find_files/execution.d.ts +1 -1
- package/dist/tools/local_find_files/findFiles.d.ts +1 -1
- package/dist/tools/local_find_files/findFilesNext.d.ts +3 -3
- package/dist/tools/local_find_files/scheme.d.ts +6 -2
- package/dist/tools/local_ripgrep/captureBudget.d.ts +1 -0
- package/dist/tools/local_ripgrep/execution.d.ts +1 -1
- package/dist/tools/local_ripgrep/rankingProfile/rankingLexical.d.ts +20 -0
- package/dist/tools/local_ripgrep/rankingProfile/rankingResults.d.ts +1 -18
- package/dist/tools/local_ripgrep/rankingProfile.d.ts +5 -4
- package/dist/tools/local_ripgrep/ripgrepResultBuilder/searchNext.d.ts +4 -1
- package/dist/tools/local_ripgrep/scheme.d.ts +9 -7
- package/dist/tools/local_ripgrep/structuralSearch.d.ts +1 -1
- package/dist/tools/local_search/execution.d.ts +5 -0
- package/dist/tools/local_search/scheme.d.ts +260 -0
- package/dist/tools/local_view_structure/execution.d.ts +1 -1
- package/dist/tools/local_view_structure/scheme.d.ts +8 -5
- package/dist/tools/local_view_structure/viewStructureNext.d.ts +3 -3
- package/dist/tools/lsp/semantic_content/execution.d.ts +1 -1
- package/dist/tools/lsp/semantic_content/scheme.d.ts +4 -42
- package/dist/tools/lsp/semantic_content/semanticEnvelopes/envelopeHelpers.d.ts +1 -1
- package/dist/tools/lsp/semantic_content/semanticFileOps/anchor.d.ts +1 -1
- package/dist/tools/lsp/semantic_content/semanticPresentation.d.ts +0 -1
- package/dist/tools/lsp/shared/semanticTypes.d.ts +6 -3
- package/dist/tools/package_search/execution.d.ts +6 -13
- package/dist/tools/package_search/pagination.d.ts +21 -0
- package/dist/tools/package_search/queryHelpers.d.ts +3 -5
- package/dist/tools/package_search/scheme.d.ts +12 -7
- package/dist/tools/providerExecution.d.ts +3 -4
- package/dist/tools/providerMappers/codeSearch.d.ts +3 -4
- package/dist/tools/providerMappers/fileContent.d.ts +1 -2
- package/dist/tools/providerMappers/pullRequests.d.ts +6 -6
- package/dist/tools/providerMappers/repoSearch.d.ts +7 -4
- package/dist/tools/providerMappers/repoStructure.d.ts +2 -3
- package/dist/tools/toolCatalogFactory.d.ts +5 -6
- package/dist/tools/toolConfig.d.ts +6 -17
- package/dist/tools/toolMetadata/baseSchema.d.ts +1 -2
- package/dist/tools/toolMetadata/descriptions.d.ts +1 -1
- package/dist/tools/toolMetadata/names.d.ts +18 -2
- package/dist/tools/toolMetadata/state.d.ts +3 -3
- package/dist/tools/toolMetadata/types.d.ts +1 -1
- package/dist/tools/toolNames.d.ts +16 -3
- package/dist/tools/toolSchemaImports.d.ts +5 -4
- package/dist/tools/utils.d.ts +3 -6
- package/dist/types/bulk.d.ts +11 -1
- package/dist/types/execution.d.ts +6 -1
- package/dist/types/server.d.ts +0 -2
- package/dist/types/toolOutput.d.ts +10 -9
- package/dist/types/toolResults.d.ts +17 -1
- package/dist/utils/contextUtils.d.ts +4 -2
- package/dist/utils/file/toolHelpers.d.ts +1 -1
- package/dist/utils/http/cache/conditional.d.ts +9 -4
- package/dist/utils/http/cache/dataCache.d.ts +7 -2
- package/dist/utils/http/cache/diskStore.d.ts +30 -0
- package/dist/utils/http/cache/management.d.ts +5 -0
- package/dist/utils/http/cache/store.d.ts +1 -0
- package/dist/utils/http/cache/trace.d.ts +10 -0
- package/dist/utils/http/cache.d.ts +1 -0
- package/dist/utils/package/types.d.ts +5 -2
- package/dist/utils/pagination/charLimit.d.ts +0 -2
- package/dist/utils/response/bulk/pagination.d.ts +2 -1
- package/dist/utils/response/bulk/paginationDiagnostics.d.ts +2 -0
- package/dist/utils/response/bulk/queries.d.ts +0 -9
- package/dist/utils/response/bulk/response.d.ts +3 -2
- package/dist/utils/response/bulk.d.ts +1 -1
- package/dist/utils/response/callToolResult.d.ts +1 -1
- package/dist/utils/response/error.d.ts +3 -4
- package/dist/utils/response/groupedFinalizer.d.ts +2 -6
- package/dist/utils/response/normalizedError.d.ts +6 -0
- package/dist/utils/response/responseChannels.d.ts +4 -0
- package/package.json +7 -6
- package/dist/github/discussions.d.ts +0 -45
- package/dist/github/releases.d.ts +0 -45
- package/dist/scheme/responseEnvelope.d.ts +0 -88
- package/dist/tools/github_search_discussions/execution.d.ts +0 -15
- package/dist/tools/github_search_discussions/scheme.d.ts +0 -16
- package/dist/tools/github_search_pull_requests/execution/releasesMode.d.ts +0 -4
- package/dist/tools/local_dead_code/execution.d.ts +0 -4
- package/dist/tools/local_dead_code/local_dead_code.d.ts +0 -5
- package/dist/tools/local_find_files/pathPatternBraces.d.ts +0 -20
- package/dist/tools/toolMetadata/gateway.d.ts +0 -7
|
@@ -1,219 +1,235 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const SearchPullRequestsLocalSchema: z.ZodObject<{
|
|
3
|
+
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4
|
+
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
6
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
7
|
+
concise: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
8
9
|
open: "open";
|
|
9
10
|
closed: "closed";
|
|
10
11
|
merged: "merged";
|
|
11
12
|
}>>;
|
|
12
|
-
assignee:
|
|
13
|
-
author:
|
|
14
|
-
commenter:
|
|
15
|
-
mentions:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
label:
|
|
19
|
-
checks:
|
|
13
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
14
|
+
author: z.ZodOptional<z.ZodString>;
|
|
15
|
+
commenter: z.ZodOptional<z.ZodString>;
|
|
16
|
+
mentions: z.ZodOptional<z.ZodString>;
|
|
17
|
+
'review-requested': z.ZodOptional<z.ZodString>;
|
|
18
|
+
'reviewed-by': z.ZodOptional<z.ZodString>;
|
|
19
|
+
label: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20
|
+
checks: z.ZodOptional<z.ZodEnum<{
|
|
20
21
|
success: "success";
|
|
21
|
-
failure: "failure";
|
|
22
22
|
pending: "pending";
|
|
23
|
+
failure: "failure";
|
|
23
24
|
}>>;
|
|
24
|
-
review:
|
|
25
|
+
review: z.ZodOptional<z.ZodEnum<{
|
|
25
26
|
none: "none";
|
|
27
|
+
required: "required";
|
|
26
28
|
approved: "approved";
|
|
27
29
|
changes_requested: "changes_requested";
|
|
28
|
-
required: "required";
|
|
29
30
|
}>>;
|
|
30
|
-
head:
|
|
31
|
-
base:
|
|
32
|
-
created:
|
|
33
|
-
updated:
|
|
34
|
-
closed:
|
|
35
|
-
|
|
36
|
-
comments:
|
|
37
|
-
reactions:
|
|
38
|
-
draft:
|
|
39
|
-
match:
|
|
40
|
-
comments: "comments";
|
|
41
|
-
title: "title";
|
|
31
|
+
head: z.ZodOptional<z.ZodString>;
|
|
32
|
+
base: z.ZodOptional<z.ZodString>;
|
|
33
|
+
created: z.ZodOptional<z.ZodString>;
|
|
34
|
+
updated: z.ZodOptional<z.ZodString>;
|
|
35
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
36
|
+
'merged-at': z.ZodOptional<z.ZodString>;
|
|
37
|
+
comments: z.ZodOptional<z.ZodString>;
|
|
38
|
+
reactions: z.ZodOptional<z.ZodString>;
|
|
39
|
+
draft: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
+
match: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
42
41
|
body: "body";
|
|
42
|
+
title: "title";
|
|
43
|
+
comments: "comments";
|
|
43
44
|
}>>>;
|
|
44
|
-
sort:
|
|
45
|
-
updated: "updated";
|
|
46
|
-
created: "created";
|
|
47
|
-
"best-match": "best-match";
|
|
45
|
+
sort: z.ZodOptional<z.ZodEnum<{
|
|
48
46
|
comments: "comments";
|
|
49
47
|
reactions: "reactions";
|
|
48
|
+
created: "created";
|
|
49
|
+
updated: "updated";
|
|
50
|
+
"best-match": "best-match";
|
|
50
51
|
}>>;
|
|
51
|
-
order:
|
|
52
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
52
53
|
asc: "asc";
|
|
53
54
|
desc: "desc";
|
|
54
55
|
}>>;
|
|
55
|
-
|
|
56
|
-
page:
|
|
57
|
-
archived:
|
|
58
|
-
filePage:
|
|
59
|
-
commentPage:
|
|
60
|
-
commitPage:
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
changedFiles: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
67
|
-
patches: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
68
|
-
mode: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
69
|
-
none: "none";
|
|
56
|
+
pageSize: z.ZodDefault<z.ZodNumber>;
|
|
57
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
58
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
59
|
+
filePage: z.ZodOptional<z.ZodNumber>;
|
|
60
|
+
commentPage: z.ZodOptional<z.ZodNumber>;
|
|
61
|
+
commitPage: z.ZodOptional<z.ZodNumber>;
|
|
62
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
63
|
+
body: z.ZodOptional<z.ZodLiteral<true>>;
|
|
64
|
+
changedFiles: z.ZodOptional<z.ZodLiteral<true>>;
|
|
65
|
+
patches: z.ZodOptional<z.ZodObject<{
|
|
66
|
+
mode: z.ZodEnum<{
|
|
70
67
|
selected: "selected";
|
|
71
68
|
all: "all";
|
|
72
|
-
}
|
|
73
|
-
files:
|
|
74
|
-
ranges:
|
|
75
|
-
file:
|
|
76
|
-
additions:
|
|
77
|
-
deletions:
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
comments:
|
|
81
|
-
discussion:
|
|
82
|
-
reviewInline:
|
|
83
|
-
includeBots:
|
|
84
|
-
file:
|
|
85
|
-
},
|
|
86
|
-
reviews:
|
|
87
|
-
commits:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
minify: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
69
|
+
}>;
|
|
70
|
+
files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
71
|
+
ranges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
72
|
+
file: z.ZodString;
|
|
73
|
+
additions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
74
|
+
deletions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
75
|
+
}, z.core.$strip>>>;
|
|
76
|
+
}, z.core.$strip>>;
|
|
77
|
+
comments: z.ZodOptional<z.ZodObject<{
|
|
78
|
+
discussion: z.ZodOptional<z.ZodLiteral<true>>;
|
|
79
|
+
reviewInline: z.ZodOptional<z.ZodLiteral<true>>;
|
|
80
|
+
includeBots: z.ZodOptional<z.ZodLiteral<true>>;
|
|
81
|
+
file: z.ZodOptional<z.ZodString>;
|
|
82
|
+
}, z.core.$strip>>;
|
|
83
|
+
reviews: z.ZodOptional<z.ZodLiteral<true>>;
|
|
84
|
+
commits: z.ZodOptional<z.ZodObject<{
|
|
85
|
+
includeFiles: z.ZodOptional<z.ZodLiteral<true>>;
|
|
86
|
+
}, z.core.$strip>>;
|
|
87
|
+
}, z.core.$strip>>;
|
|
88
|
+
matchString: z.ZodOptional<z.ZodString>;
|
|
89
|
+
commentBodyOffset: z.ZodOptional<z.ZodNumber>;
|
|
90
|
+
charOffset: z.ZodOptional<z.ZodNumber>;
|
|
91
|
+
charLength: z.ZodOptional<z.ZodNumber>;
|
|
92
|
+
minify: z.ZodDefault<z.ZodEnum<{
|
|
97
93
|
none: "none";
|
|
98
94
|
standard: "standard";
|
|
99
95
|
}>>;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
96
|
+
goal: z.ZodOptional<z.ZodString>;
|
|
97
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
98
|
+
}, z.core.$strip>;
|
|
99
|
+
export declare const PullRequestListQueryShape: z.ZodObject<{
|
|
100
|
+
readonly [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
101
|
+
readonly [x: number]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
102
|
+
}, z.core.$strip>;
|
|
103
|
+
export declare const PullRequestDetailQueryShape: z.ZodObject<{
|
|
104
|
+
readonly [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
105
|
+
readonly [x: number]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
106
|
+
owner: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
107
|
+
repo: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
108
|
+
prNumber: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
109
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
110
|
+
readonly [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
111
|
+
patches: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
112
|
+
mode: z.ZodLiteral<"selected">;
|
|
113
|
+
files: z.ZodArray<z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
114
|
+
ranges: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
115
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
116
|
+
mode: z.ZodLiteral<"selected">;
|
|
117
|
+
files: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
118
|
+
ranges: z.ZodArray<z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
119
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
120
|
+
mode: z.ZodLiteral<"all">;
|
|
121
|
+
}, z.core.$strict>]>>;
|
|
122
|
+
}, z.core.$strip>>;
|
|
123
|
+
}, z.core.$strip>;
|
|
124
|
+
export declare const SearchPullRequestsBulkLocalSchema: z.ZodObject<{
|
|
125
|
+
responseCharOffset: z.ZodOptional<z.ZodPreprocess<z.ZodNumber>>;
|
|
126
|
+
responseCharLength: z.ZodOptional<z.ZodPreprocess<z.ZodNumber>>;
|
|
127
|
+
queries: z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
128
|
+
}, z.core.$strict>;
|
|
129
|
+
export declare const SearchIssuesLocalSchema: z.ZodObject<{
|
|
130
|
+
owner: z.ZodString;
|
|
131
|
+
repo: z.ZodString;
|
|
132
|
+
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
133
|
+
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
134
|
+
concise: z.ZodOptional<z.ZodBoolean>;
|
|
135
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
117
136
|
open: "open";
|
|
118
137
|
closed: "closed";
|
|
119
138
|
}>>;
|
|
120
|
-
assignee:
|
|
121
|
-
author:
|
|
122
|
-
commenter:
|
|
123
|
-
mentions:
|
|
124
|
-
label:
|
|
125
|
-
created:
|
|
126
|
-
updated:
|
|
127
|
-
closed:
|
|
128
|
-
comments:
|
|
129
|
-
reactions:
|
|
130
|
-
match:
|
|
131
|
-
comments: "comments";
|
|
132
|
-
title: "title";
|
|
139
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
140
|
+
author: z.ZodOptional<z.ZodString>;
|
|
141
|
+
commenter: z.ZodOptional<z.ZodString>;
|
|
142
|
+
mentions: z.ZodOptional<z.ZodString>;
|
|
143
|
+
label: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
144
|
+
created: z.ZodOptional<z.ZodString>;
|
|
145
|
+
updated: z.ZodOptional<z.ZodString>;
|
|
146
|
+
closed: z.ZodOptional<z.ZodString>;
|
|
147
|
+
comments: z.ZodOptional<z.ZodString>;
|
|
148
|
+
reactions: z.ZodOptional<z.ZodString>;
|
|
149
|
+
match: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
133
150
|
body: "body";
|
|
151
|
+
title: "title";
|
|
152
|
+
comments: "comments";
|
|
134
153
|
}>>>;
|
|
135
|
-
sort:
|
|
136
|
-
updated: "updated";
|
|
137
|
-
created: "created";
|
|
138
|
-
"best-match": "best-match";
|
|
154
|
+
sort: z.ZodOptional<z.ZodEnum<{
|
|
139
155
|
comments: "comments";
|
|
140
156
|
reactions: "reactions";
|
|
157
|
+
created: "created";
|
|
158
|
+
updated: "updated";
|
|
159
|
+
"best-match": "best-match";
|
|
141
160
|
}>>;
|
|
142
|
-
order:
|
|
161
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
143
162
|
asc: "asc";
|
|
144
163
|
desc: "desc";
|
|
145
164
|
}>>;
|
|
146
|
-
|
|
147
|
-
page:
|
|
148
|
-
archived:
|
|
149
|
-
commentPage:
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
charLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
163
|
-
minify: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
165
|
+
pageSize: z.ZodDefault<z.ZodNumber>;
|
|
166
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
167
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
168
|
+
commentPage: z.ZodOptional<z.ZodNumber>;
|
|
169
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
170
|
+
body: z.ZodOptional<z.ZodLiteral<true>>;
|
|
171
|
+
comments: z.ZodOptional<z.ZodObject<{
|
|
172
|
+
discussion: z.ZodOptional<z.ZodLiteral<true>>;
|
|
173
|
+
includeBots: z.ZodOptional<z.ZodLiteral<true>>;
|
|
174
|
+
}, z.core.$strip>>;
|
|
175
|
+
}, z.core.$strip>>;
|
|
176
|
+
matchString: z.ZodOptional<z.ZodString>;
|
|
177
|
+
commentBodyOffset: z.ZodOptional<z.ZodNumber>;
|
|
178
|
+
charOffset: z.ZodOptional<z.ZodNumber>;
|
|
179
|
+
charLength: z.ZodOptional<z.ZodNumber>;
|
|
180
|
+
minify: z.ZodDefault<z.ZodEnum<{
|
|
164
181
|
none: "none";
|
|
165
182
|
standard: "standard";
|
|
166
183
|
}>>;
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
},
|
|
204
|
-
export declare const
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
}, import("zod/v4/core").$strip>;
|
|
184
|
+
goal: z.ZodOptional<z.ZodString>;
|
|
185
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
186
|
+
}, z.core.$strip>;
|
|
187
|
+
export declare const IssueListQueryShape: z.ZodObject<{
|
|
188
|
+
readonly [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
189
|
+
readonly [x: number]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
190
|
+
}, z.core.$strip>;
|
|
191
|
+
export declare const IssueDetailQueryShape: z.ZodObject<{
|
|
192
|
+
readonly [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
193
|
+
readonly [x: number]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
194
|
+
issueNumber: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
195
|
+
}, z.core.$strip>;
|
|
196
|
+
export declare const SearchIssuesBulkLocalSchema: z.ZodObject<{
|
|
197
|
+
responseCharOffset: z.ZodOptional<z.ZodPreprocess<z.ZodNumber>>;
|
|
198
|
+
responseCharLength: z.ZodOptional<z.ZodPreprocess<z.ZodNumber>>;
|
|
199
|
+
queries: z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
200
|
+
}, z.core.$strict>;
|
|
201
|
+
export declare const SearchCommitsLocalSchema: z.ZodObject<{
|
|
202
|
+
owner: z.ZodString;
|
|
203
|
+
repo: z.ZodString;
|
|
204
|
+
path: z.ZodOptional<z.ZodString>;
|
|
205
|
+
since: z.ZodOptional<z.ZodString>;
|
|
206
|
+
until: z.ZodOptional<z.ZodString>;
|
|
207
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
208
|
+
author: z.ZodOptional<z.ZodString>;
|
|
209
|
+
committer: z.ZodOptional<z.ZodString>;
|
|
210
|
+
base: z.ZodOptional<z.ZodString>;
|
|
211
|
+
head: z.ZodOptional<z.ZodString>;
|
|
212
|
+
pageSize: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
213
|
+
includeDiff: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
214
|
+
page: z.ZodDefault<z.ZodNumber>;
|
|
215
|
+
filePage: z.ZodOptional<z.ZodNumber>;
|
|
216
|
+
charOffset: z.ZodOptional<z.ZodNumber>;
|
|
217
|
+
charLength: z.ZodOptional<z.ZodNumber>;
|
|
218
|
+
goal: z.ZodOptional<z.ZodString>;
|
|
219
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
220
|
+
}, z.core.$strip>;
|
|
221
|
+
export declare const CommitHistoryQueryShape: z.ZodObject<{
|
|
222
|
+
readonly [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
223
|
+
readonly [x: number]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
224
|
+
}, z.core.$strip>;
|
|
225
|
+
export declare const CommitCompareQueryShape: z.ZodObject<{
|
|
226
|
+
readonly [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
227
|
+
readonly [x: number]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
228
|
+
base: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
229
|
+
head: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
230
|
+
}, z.core.$strip>;
|
|
231
|
+
export declare const SearchCommitsBulkLocalSchema: z.ZodObject<{
|
|
232
|
+
responseCharOffset: z.ZodOptional<z.ZodPreprocess<z.ZodNumber>>;
|
|
233
|
+
responseCharLength: z.ZodOptional<z.ZodPreprocess<z.ZodNumber>>;
|
|
234
|
+
queries: z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
235
|
+
}, z.core.$strict>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { RepoSearchVariantExecution, RepoSearchVariantLabel, SuccessfulRepoSearchVariant } from './queryVariants.js';
|
|
2
2
|
export declare function buildResultPagination(pagination: {
|
|
3
3
|
currentPage: number;
|
|
4
|
-
totalPages
|
|
4
|
+
totalPages?: number;
|
|
5
5
|
hasMore: boolean;
|
|
6
6
|
entriesPerPage?: number;
|
|
7
7
|
totalMatches?: number;
|
|
@@ -17,13 +17,13 @@ export declare function buildResultPagination(pagination: {
|
|
|
17
17
|
reachableTotalMatches?: number;
|
|
18
18
|
reportedTotalMatches?: number;
|
|
19
19
|
totalMatches?: number;
|
|
20
|
-
currentPage: number;
|
|
21
|
-
totalPages: number;
|
|
22
20
|
perPage: number;
|
|
21
|
+
totalPages?: number;
|
|
22
|
+
currentPage: number;
|
|
23
23
|
};
|
|
24
24
|
export type EffectivePagination = {
|
|
25
25
|
currentPage: number;
|
|
26
|
-
totalPages
|
|
26
|
+
totalPages?: number;
|
|
27
27
|
hasMore: boolean;
|
|
28
28
|
entriesPerPage?: number;
|
|
29
29
|
totalMatches?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { z } from 'zod';
|
|
2
|
-
import type { GitHubReposSearchSingleQuerySchema } from '
|
|
2
|
+
import type { GitHubReposSearchSingleQuerySchema } from '../../../toolContract/schemas.js';
|
|
3
3
|
import type { RepoSearchResult as ProviderRepoSearchResult } from '../../../providers/types.js';
|
|
4
4
|
import type { ProviderOperationResult } from '../../providerExecution.js';
|
|
5
5
|
import type { WithOptionalMeta } from '../../../types/execution.js';
|
|
@@ -10,6 +10,8 @@ export type RepositorySearchExtraFields = {
|
|
|
10
10
|
forks?: string;
|
|
11
11
|
license?: string;
|
|
12
12
|
goodFirstIssues?: string;
|
|
13
|
+
created?: string;
|
|
14
|
+
size?: string;
|
|
13
15
|
};
|
|
14
16
|
export type PartialReposSearchQuery = WithOptionalMeta<GitHubReposSearchSingleQuery> & RepositorySearchExtraFields;
|
|
15
17
|
export type RepoSearchVariantLabel = 'combined' | 'topics' | 'keywords';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CallToolResult } from '@modelcontextprotocol/server';
|
|
2
2
|
import type { ToolExecutionArgs } from '../../types/execution.js';
|
|
3
|
+
import type { ProcessedBulkResult } from '../../types/toolResults.js';
|
|
3
4
|
import { type PartialReposSearchQuery } from './execution/queryVariants.js';
|
|
4
5
|
export { buildMergedPagination, buildPartialFailureWarnings, buildResultPagination, } from './execution/pagination.js';
|
|
6
|
+
export declare function searchGitHubRepos(query: PartialReposSearchQuery, args: ToolExecutionArgs<PartialReposSearchQuery>, getProviderContext?: () => import("../providerExecution.js").ProviderExecutionContext): Promise<ProcessedBulkResult>;
|
|
5
7
|
export declare function searchMultipleGitHubRepos(args: ToolExecutionArgs<PartialReposSearchQuery>): Promise<CallToolResult>;
|
|
@@ -13,16 +13,16 @@ export declare const GitHubReposSearchSingleQueryLocalSchema: z.ZodObject<{
|
|
|
13
13
|
created: z.ZodOptional<z.ZodString>;
|
|
14
14
|
size: z.ZodOptional<z.ZodString>;
|
|
15
15
|
match: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
16
|
-
description: "description";
|
|
17
16
|
name: "name";
|
|
17
|
+
description: "description";
|
|
18
18
|
readme: "readme";
|
|
19
19
|
}>>>;
|
|
20
20
|
sort: z.ZodDefault<z.ZodEnum<{
|
|
21
|
+
updated: "updated";
|
|
22
|
+
"best-match": "best-match";
|
|
21
23
|
stars: "stars";
|
|
22
24
|
forks: "forks";
|
|
23
|
-
updated: "updated";
|
|
24
25
|
"help-wanted-issues": "help-wanted-issues";
|
|
25
|
-
"best-match": "best-match";
|
|
26
26
|
}>>;
|
|
27
27
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
28
28
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -33,16 +33,14 @@ export declare const GitHubReposSearchSingleQueryLocalSchema: z.ZodObject<{
|
|
|
33
33
|
}>>;
|
|
34
34
|
license: z.ZodOptional<z.ZodString>;
|
|
35
35
|
concise: z.ZodOptional<z.ZodBoolean>;
|
|
36
|
-
|
|
37
|
-
mainResearchGoal: z.ZodOptional<z.ZodString>;
|
|
38
|
-
researchGoal: z.ZodOptional<z.ZodString>;
|
|
36
|
+
goal: z.ZodOptional<z.ZodString>;
|
|
39
37
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
40
38
|
}, z.core.$strip>;
|
|
41
39
|
export declare const GitHubReposSearchBulkQueryLocalSchema: z.ZodObject<{
|
|
42
40
|
responseCharOffset: z.ZodOptional<z.ZodPreprocess<z.ZodNumber>>;
|
|
43
41
|
responseCharLength: z.ZodOptional<z.ZodPreprocess<z.ZodNumber>>;
|
|
44
42
|
queries: z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
45
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$strict>;
|
|
46
44
|
export interface LocalRepositoryDetail {
|
|
47
45
|
owner: string;
|
|
48
46
|
repo: string;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CallToolResult } from '@modelcontextprotocol/server';
|
|
2
2
|
import type { z } from 'zod';
|
|
3
|
-
import type { GitHubViewRepoStructureQuerySchema } from '
|
|
3
|
+
import type { GitHubViewRepoStructureQuerySchema } from '../../toolContract/schemas.js';
|
|
4
4
|
import type { GitHubRepoStructureDirectoryEntry } from '@octocodeai/octocode-core/extra-types';
|
|
5
5
|
type GitHubViewRepoStructureQuery = z.infer<typeof GitHubViewRepoStructureQuerySchema>;
|
|
6
6
|
import type { WithOptionalMeta } from '../../types/execution.js';
|
|
7
7
|
type PartialRepoStructureQuery = WithOptionalMeta<GitHubViewRepoStructureQuery>;
|
|
8
8
|
import type { ToolExecutionArgs } from '../../types/execution.js';
|
|
9
|
+
import type { ProcessedBulkResult } from '../../types/toolResults.js';
|
|
9
10
|
export declare function filterStructure(structure: Record<string, GitHubRepoStructureDirectoryEntry>): Record<string, GitHubRepoStructureDirectoryEntry>;
|
|
11
|
+
export declare function exploreRepositoryStructure(query: PartialRepoStructureQuery, args: ToolExecutionArgs<PartialRepoStructureQuery>, getProviderContext?: () => import("../providerExecution.js").ProviderExecutionContext): Promise<ProcessedBulkResult>;
|
|
10
12
|
export declare function exploreMultipleRepositoryStructures(args: ToolExecutionArgs<PartialRepoStructureQuery>): Promise<CallToolResult>;
|
|
11
13
|
export {};
|
|
@@ -15,16 +15,14 @@ export declare const GitHubViewRepoStructureQueryLocalSchema: import("zod").ZodO
|
|
|
15
15
|
branches: "branches";
|
|
16
16
|
tags: "tags";
|
|
17
17
|
}>>>;
|
|
18
|
-
|
|
19
|
-
mainResearchGoal: import("zod").ZodOptional<import("zod").ZodString>;
|
|
20
|
-
researchGoal: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18
|
+
goal: import("zod").ZodOptional<import("zod").ZodString>;
|
|
21
19
|
reasoning: import("zod").ZodOptional<import("zod").ZodString>;
|
|
22
20
|
}, import("zod/v4/core").$strip>;
|
|
23
21
|
export declare const GitHubViewRepoStructureBulkQueryLocalSchema: import("zod").ZodObject<{
|
|
24
22
|
responseCharOffset: import("zod").ZodOptional<import("zod").ZodPreprocess<import("zod").ZodNumber>>;
|
|
25
23
|
responseCharLength: import("zod").ZodOptional<import("zod").ZodPreprocess<import("zod").ZodNumber>>;
|
|
26
24
|
queries: import("zod").ZodArray<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>;
|
|
27
|
-
}, import("zod/v4/core").$
|
|
25
|
+
}, import("zod/v4/core").$strict>;
|
|
28
26
|
export interface StructureDirEntry {
|
|
29
27
|
dir?: string;
|
|
30
28
|
files?: string[];
|
|
@@ -28,6 +28,9 @@ export interface GitHubRepositoryStructureResult {
|
|
|
28
28
|
}[];
|
|
29
29
|
_cachedFileSizeMap?: Record<string, Record<string, number>>;
|
|
30
30
|
rawResponseChars?: number;
|
|
31
|
+
isPartial?: boolean;
|
|
32
|
+
terminalLimit?: boolean;
|
|
33
|
+
partialReasons?: Array<'providerTreeTruncated' | 'partialTreeFailures'>;
|
|
31
34
|
}
|
|
32
35
|
export interface GitHubRepositoryStructureError {
|
|
33
36
|
error: string;
|