Skip to content

Commit eca780a

Browse files
Add artifacts for v5.9.17785
1 parent ae15478 commit eca780a

13 files changed

Lines changed: 815 additions & 1407 deletions

File tree

TAG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v6.0.0
1+
v5.9.17785

gql/authz.graphql

Lines changed: 21 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -259,15 +259,15 @@ extend type Repository {
259259
The permissions information of the repository for the authenticated user.
260260
It is null when there is no permissions data stored for the repository.
261261
"""
262-
permissionsInfo: RepositoryPermissionsInfo
262+
permissionsInfo: PermissionsInfo
263263
}
264264

265265
extend type User {
266266
"""
267267
The permissions information of the user over repositories.
268268
It is null when there is no permissions data stored for the user.
269269
"""
270-
permissionsInfo: UserPermissionsInfo
270+
permissionsInfo: PermissionsInfo
271271
}
272272

273273
"""
@@ -352,9 +352,9 @@ enum PermissionSource {
352352
}
353353

354354
"""
355-
Permissions information of a repository.
355+
Permissions information of a repository or a user.
356356
"""
357-
type RepositoryPermissionsInfo {
357+
type PermissionsInfo {
358358
"""
359359
The permission levels that a user has on the repository.
360360
"""
@@ -370,20 +370,25 @@ type RepositoryPermissionsInfo {
370370
"""
371371
updatedAt: DateTime
372372
"""
373+
What was the source of the last permission update. The value is updated whenever different source last touched the database row (i.e. permission sync or explicit permissions update)
374+
"""
375+
source: PermissionSource
376+
"""
373377
If true for a repo, it indicates access to the repo is allowed for all users.
374378
It will always be false for users.
375379
"""
376380
unrestricted: Boolean!
381+
377382
"""
378-
The connection for users who have access to the repository.
383+
The connection for repository permissions accessible to the user.
379384
"""
380-
users(
385+
repositories(
381386
"""
382-
Number of nodes returned during forward pagination. Maximum number of returned nodes is 100.
387+
Number of nodes returned during forward pagination. Maximum number of returned nodes is 100. Up to 20 nodes are returned by default.
383388
"""
384389
first: Int
385390
"""
386-
Number of nodes returned during backward pagination. Maximum number of returned nodes is 100.
391+
Number of nodes returned during backward pagination. Maximum number of returned nodes is 100. Up to 20 nodes are returned by default.
387392
"""
388393
last: Int
389394
"""
@@ -395,49 +400,20 @@ type RepositoryPermissionsInfo {
395400
"""
396401
before: String
397402
"""
398-
Search query to filter users based on username or display name.
403+
Search query to filter repositories based on name.
399404
"""
400405
query: String
401-
): PermissionsInfoUsersConnection
402-
}
403-
404-
"""
405-
Permissions information of a user.
406-
"""
407-
type UserPermissionsInfo {
408-
"""
409-
The permission levels that a user has on the repository.
410-
"""
411-
permissions: [RepositoryPermission!]!
412-
"""
413-
The last complete synced time, the value is updated only after a user- or repo-
414-
centric sync of permissions. It is null when the complete sync never happened.
415-
"""
416-
syncedAt: DateTime
417-
"""
418-
The last updated time of permissions, the value is updated whenever there is a
419-
change to the database row (i.e. incremental update).
420-
"""
421-
updatedAt: DateTime
422-
"""
423-
What was the source of the last permission update. The value is updated whenever different source last touched the database row (i.e. permission sync or explicit permissions update)
424-
"""
425-
source: PermissionSource
426-
"""
427-
If true for a repo, it indicates access to the repo is allowed for all users.
428-
It will always be false for users.
429-
"""
430-
unrestricted: Boolean!
406+
): PermissionsInfoRepositoriesConnection
431407
"""
432-
The connection for repository permissions accessible to the user.
408+
The connection for users who have access to the repository.
433409
"""
434-
repositories(
410+
users(
435411
"""
436-
Number of nodes returned during forward pagination. Maximum number of returned nodes is 100. Up to 20 nodes are returned by default.
412+
Number of nodes returned during forward pagination. Maximum number of returned nodes is 100.
437413
"""
438414
first: Int
439415
"""
440-
Number of nodes returned during backward pagination. Maximum number of returned nodes is 100. Up to 20 nodes are returned by default.
416+
Number of nodes returned during backward pagination. Maximum number of returned nodes is 100.
441417
"""
442418
last: Int
443419
"""
@@ -449,10 +425,10 @@ type UserPermissionsInfo {
449425
"""
450426
before: String
451427
"""
452-
Search query to filter repositories based on name.
428+
Search query to filter users based on username or display name.
453429
"""
454430
query: String
455-
): PermissionsInfoRepositoriesConnection
431+
): PermissionsInfoUsersConnection
456432
}
457433

458434
"""

gql/codeintel.autoindexing.graphql

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ extend type Query {
1313
repository name, commit, root, and indexer fields will be returned..
1414
"""
1515
query: String
16-
# We should probably provide a more precise definition here, and have
17-
# similar searching syntax as the top-level search bar for more
18-
# consistent UX. However, that requires first _defining_ the syntax;
19-
# see FIXME(id: ad-hoc-upload-filtering-syntax). Once we define the
20-
# syntax properly, we should mention it in the web UI.
2116

2217
"""
2318
If supplied, only precise indexes in one of the provided states are returned.

gql/codeintel.policies.graphql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ extend type Mutation {
128128
# reasonable defaults instead.
129129
updateCodeIntelligenceConfigurationPolicy(
130130
id: ID!
131-
# There is no repo: argument here, see NOTE(id: no-repo-id-policy-update)
132131
repositoryPatterns: [String!]
133132
name: String!
134133
type: GitObjectType!

gql/cody_context.graphql

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,14 @@ type ChatIntentResponse {
171171
"""
172172
score: Float!
173173
"""
174+
Confidence score assigned by the "code search" intent detection model (the higher the score, the more likely it is that the query is about code search).
175+
"""
176+
searchScore: Float!
177+
"""
178+
Confidence score assigned by the "edit" intent detection model (the higher the score, the more likely it is that the query is about an edit command).
179+
"""
180+
editScore: Float!
181+
"""
174182
All intents and scores computed by the intent detection model
175183
"""
176184
allScores: [IntentScore!]!

gql/githubapps.graphql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@ extend type Mutation {
22
"""
33
Delete a GitHub App. The GitHub App, along with all of its associated code host connections and
44
authentication provider, will be deleted.
5-
🚨 SECURITY: Requires site-admin.
65
"""
76
deleteGitHubApp(gitHubApp: ID!): EmptyResponse
87

98
"""
109
Refresh a GitHub App. This fetches information about the GitHub app and updates all installations
1110
associated with it.
12-
🚨 SECURITY: Requires site-admin.
1311
"""
1412
refreshGitHubApp(gitHubApp: ID!): EmptyResponse
1513
}
1614

1715
extend type Query {
1816
"""
1917
All configured GitHub Apps, optionally filtered by the domain in which they are used.
20-
🚨 SECURITY: Requires site-admin.
2118
"""
2219
gitHubApps(domain: GitHubAppDomain): GitHubAppConnection!
2320
"""
21+
Looks up a GitHub App by its ID.
22+
"""
23+
gitHubApp(id: ID!): GitHubApp
24+
"""
2425
Looks up a GitHub App by its AppID and BaseURL.
25-
🚨 SECURITY: Requires site-admin.
2626
"""
2727
gitHubAppByAppID(appID: Int!, baseURL: String!): GitHubApp
2828
}

gql/prompts.graphql

Lines changed: 1 addition & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,6 @@ extend type Query {
6060
"""
6161
recommendedOnly: Boolean
6262

63-
"""
64-
Whether to include only builtin prompts.
65-
"""
66-
builtinOnly: Boolean = false
67-
68-
"""
69-
Whether to include builtin prompts.
70-
"""
71-
includeBuiltin: Boolean = false
72-
7363
"""
7464
Whether to include draft prompts owned by the viewer.
7565
"""
@@ -104,16 +94,6 @@ extend type Query {
10494
The field to sort by multiple fields.
10595
"""
10696
orderByMultiple: [PromptsOrderBy!]
107-
108-
"""
109-
Filter by tag IDs.
110-
"""
111-
tags: [ID!]
112-
113-
"""
114-
List of prompt IDs to exclude.
115-
"""
116-
exclude: [ID!]
11797
): PromptsConnection!
11898
}
11999

@@ -165,11 +145,6 @@ input PromptInput {
165145
Whether the prompt is recommended.
166146
"""
167147
recommended: Boolean
168-
169-
"""
170-
The tags for the prompt.
171-
"""
172-
tags: [ID!]
173148
}
174149

175150
"""
@@ -228,11 +203,6 @@ input PromptUpdateInput {
228203
Whether the prompt is recommended.
229204
"""
230205
recommended: Boolean
231-
232-
"""
233-
The new tags delete and override any existing tags.
234-
"""
235-
tags: [ID!]
236206
}
237207

238208
"""
@@ -311,9 +281,8 @@ type Prompt implements Node {
311281

312282
"""
313283
The owner of the prompt, either a user or organization.
314-
The owner is null for builtin prompts.
315284
"""
316-
owner: Namespace
285+
owner: Namespace!
317286

318287
"""
319288
The visibility state of the prompt.
@@ -370,56 +339,6 @@ type Prompt implements Node {
370339
Whether the prompt is recommended.
371340
"""
372341
recommended: Boolean!
373-
374-
"""
375-
Whether the prompt is built-in prompt. Built-in prompts are not editable.
376-
"""
377-
builtin: Boolean!
378-
379-
"""
380-
Tags associated with this prompt.
381-
"""
382-
tags(
383-
"""
384-
The limit argument for forward pagination.
385-
"""
386-
first: Int
387-
388-
"""
389-
The limit argument for backward pagination.
390-
"""
391-
last: Int
392-
393-
"""
394-
The cursor argument for forward pagination.
395-
"""
396-
after: String
397-
398-
"""
399-
The cursor argument for backward pagination.
400-
"""
401-
before: String
402-
): PromptToTagsConnection!
403-
}
404-
405-
"""
406-
A paginated connection for prompt tags.
407-
"""
408-
type PromptToTagsConnection implements Connection {
409-
"""
410-
A list of prompt tags.
411-
"""
412-
nodes: [PromptTag!]!
413-
414-
"""
415-
The total number of prompt tags in the connection.
416-
"""
417-
totalCount: Int!
418-
419-
"""
420-
Pagination information.
421-
"""
422-
pageInfo: ConnectionPageInfo!
423342
}
424343

425344
"""

0 commit comments

Comments
 (0)