Skip to content

Commit 92e6a42

Browse files
Add artifacts for v7.0.0
1 parent e5392b9 commit 92e6a42

93 files changed

Lines changed: 3776 additions & 967 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

TAG

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

gql/agentic_batch_changes.graphql

Lines changed: 188 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,188 @@
1+
"""
2+
A workflow definition for agentic batch changes.
3+
4+
EXPERIMENTAL: This API is experimental and subject to change.
5+
"""
6+
type AgenticWorkflow implements Node {
7+
"""
8+
The unique ID of the workflow.
9+
"""
10+
id: ID!
11+
12+
"""
13+
The name of the workflow.
14+
"""
15+
name: String!
16+
17+
"""
18+
The JSON definition of the workflow.
19+
"""
20+
definition: String!
21+
22+
"""
23+
The instances of this workflow. Returns at most 1000 instances.
24+
"""
25+
instances(first: Int, after: String): AgenticWorkflowInstanceConnection!
26+
}
27+
28+
"""
29+
A list of agentic workflows.
30+
31+
EXPERIMENTAL: This API is experimental and subject to change.
32+
"""
33+
type AgenticWorkflowConnection {
34+
"""
35+
A list of workflows.
36+
"""
37+
nodes: [AgenticWorkflow!]!
38+
39+
"""
40+
The total count of workflows in the connection.
41+
"""
42+
totalCount: Int!
43+
44+
"""
45+
Pagination information.
46+
"""
47+
pageInfo: PageInfo!
48+
}
49+
50+
"""
51+
The status of a workflow instance.
52+
53+
EXPERIMENTAL: This API is experimental and subject to change.
54+
"""
55+
enum AgenticWorkflowInstanceStatus {
56+
"""
57+
The instance is queued and waiting to run.
58+
"""
59+
QUEUED
60+
61+
"""
62+
The instance is currently running.
63+
"""
64+
RUNNING
65+
66+
"""
67+
The instance completed successfully.
68+
"""
69+
COMPLETE
70+
71+
"""
72+
The instance failed.
73+
"""
74+
FAILED
75+
}
76+
77+
"""
78+
An instance of an agentic workflow.
79+
80+
EXPERIMENTAL: This API is experimental and subject to change.
81+
"""
82+
type AgenticWorkflowInstance implements Node {
83+
"""
84+
The unique ID of the instance.
85+
"""
86+
id: ID!
87+
88+
"""
89+
The workflow this instance belongs to.
90+
"""
91+
workflow: AgenticWorkflow!
92+
93+
"""
94+
The JSON definition of the workflow at the time the instance was created.
95+
"""
96+
definition: String!
97+
98+
"""
99+
The input provided to this instance.
100+
"""
101+
input: String
102+
103+
"""
104+
The current status of the instance.
105+
"""
106+
status: AgenticWorkflowInstanceStatus!
107+
}
108+
109+
"""
110+
A list of workflow instances.
111+
112+
EXPERIMENTAL: This API is experimental and subject to change.
113+
"""
114+
type AgenticWorkflowInstanceConnection {
115+
"""
116+
A list of instances.
117+
"""
118+
nodes: [AgenticWorkflowInstance!]!
119+
120+
"""
121+
The total count of instances in the connection.
122+
"""
123+
totalCount: Int!
124+
125+
"""
126+
Pagination information.
127+
"""
128+
pageInfo: PageInfo!
129+
}
130+
131+
extend type Query {
132+
"""
133+
List all agentic workflows.
134+
135+
EXPERIMENTAL: This API is experimental and subject to change.
136+
"""
137+
agenticWorkflows(first: Int, after: String): AgenticWorkflowConnection!
138+
139+
"""
140+
Get a specific agentic workflow by ID.
141+
142+
EXPERIMENTAL: This API is experimental and subject to change.
143+
"""
144+
agenticWorkflow(id: ID!): AgenticWorkflow
145+
146+
"""
147+
Get the JSON schema for workflow definitions.
148+
149+
EXPERIMENTAL: This API is experimental and subject to change.
150+
"""
151+
agenticWorkflowSchema: String!
152+
}
153+
154+
extend type Mutation {
155+
"""
156+
Create a new agentic workflow.
157+
158+
EXPERIMENTAL: This API is experimental and subject to change.
159+
"""
160+
createAgenticWorkflow(
161+
"""
162+
The name of the workflow.
163+
"""
164+
name: String!
165+
166+
"""
167+
The JSON definition of the workflow.
168+
"""
169+
definition: String!
170+
): AgenticWorkflow!
171+
172+
"""
173+
Start an instance of a workflow.
174+
175+
EXPERIMENTAL: This API is experimental and subject to change.
176+
"""
177+
startAgenticWorkflowInstance(
178+
"""
179+
The ID of the workflow to start.
180+
"""
181+
workflowID: ID!
182+
183+
"""
184+
Optional input for the instance.
185+
"""
186+
input: String
187+
): AgenticWorkflowInstance!
188+
}

gql/auth_validation.graphql

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
extend type Query {
2+
"""
3+
Fetches the result of an authentication provider validation.
4+
Results are one-time fetch only - calling twice returns null.
5+
Only site admins can access this.
6+
"""
7+
authProviderValidationResult(validationID: String!): AuthProviderValidationResult
8+
}
9+
10+
"""
11+
The result of validating an authentication provider configuration.
12+
"""
13+
type AuthProviderValidationResult {
14+
"""
15+
Whether authentication succeeded.
16+
"""
17+
success: Boolean!
18+
19+
"""
20+
Error message if authentication failed.
21+
"""
22+
errorMessage: String
23+
24+
"""
25+
The unique identifier from the IdP (e.g., SAML NameID, OIDC sub).
26+
"""
27+
subject: String
28+
29+
"""
30+
The email address extracted from the auth response.
31+
"""
32+
email: String
33+
34+
"""
35+
The username that would be used/created.
36+
"""
37+
username: String
38+
39+
"""
40+
The display name from the auth response.
41+
"""
42+
displayName: String
43+
44+
"""
45+
The groups the user belongs to (if group sync is configured).
46+
"""
47+
groups: [String!]
48+
}

gql/codeintel.autoindexing.graphql

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ extend type Query {
2929
"""
3030
indexerKey: String
3131

32+
"""
33+
If supplied, only precise indexes of the given source are returned.
34+
"""
35+
indexSource: PreciseIndexSource
36+
3237
"""
3338
If supplied, only precise indexes that are a dependency of the specified index are returned.
3439
"""
@@ -357,6 +362,15 @@ type PreciseIndex implements Node {
357362
auditLogs: [LSIFUploadAuditLog!]
358363
}
359364

365+
"""
366+
The source of a PreciseIndex record, indicating whether it originated from
367+
a user upload or from an auto-indexing job.
368+
"""
369+
enum PreciseIndexSource {
370+
AUTO_INDEX
371+
UPLOAD
372+
}
373+
360374
"""
361375
Possible states for PreciseIndexes.
362376

gql/codeintel.codenav.graphql

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,6 +1062,13 @@ type Hover {
10621062
The range to highlight.
10631063
"""
10641064
range: Range!
1065+
1066+
"""
1067+
A generated summary providing context about how this symbol is used across the codebase.
1068+
Includes information about callers/references and dependencies/callees.
1069+
Lazy-loaded - only computed when requested. Returns null if summary cannot be generated.
1070+
"""
1071+
summary: Markdown
10651072
}
10661073

10671074
"""

gql/deepsearch.graphql

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
extend type Query {
2+
"""
3+
Returns the current Deep Search quota usage for the authenticated user.
4+
Returns null if quota tracking is not available or the user is not authenticated.
5+
"""
6+
deepSearchQuotaUsage: DeepSearchQuotaUsage
7+
}
8+
9+
"""
10+
DeepSearchQuotaUsage represents quota usage information for Deep Search functionality.
11+
"""
12+
type DeepSearchQuotaUsage {
13+
"""
14+
The limit value for this entitlement.
15+
"""
16+
limit: BigInt!
17+
18+
"""
19+
The amount consumed in the current window.
20+
"""
21+
consumed: BigInt!
22+
23+
"""
24+
When the quota period resets and totalQuota returns to 0.
25+
Null if not applicable.
26+
"""
27+
resetTime: DateTime
28+
}

gql/entitlements.graphql

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,20 @@ extend type Mutation {
9191
"""
9292
userIDs: [ID!]!
9393
): EmptyResponse!
94+
95+
"""
96+
Resets entitlement usage for a user. Site-admin only.
97+
"""
98+
resetEntitlementUsage(
99+
"""
100+
The type of the entitlement.
101+
"""
102+
type: EntitlementType!
103+
"""
104+
The ID of the user whose usage should be reset.
105+
"""
106+
userID: ID!
107+
): UserEntitlement!
94108
}
95109

96110
extend type Query {
@@ -292,6 +306,7 @@ type EntitlementGrantUsage {
292306
EntitlementWindow represents the available time periods for entitlement enforcement.
293307
"""
294308
enum EntitlementWindow {
309+
ONE_HOUR
295310
ONE_DAY
296311
SEVEN_DAYS
297312
}

gql/externalapi.graphql

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
extend type Query {
2+
"""
3+
External API queries for managing and introspecting external API services.
4+
"""
5+
externalAPI: ExternalAPIQuery!
6+
}
7+
8+
"""
9+
Queries for external API management.
10+
"""
11+
type ExternalAPIQuery {
12+
"""
13+
List all registered external API services.
14+
"""
15+
services: [ExternalAPIService!]!
16+
17+
"""
18+
Generate an OpenAPI schema for the specified services.
19+
If no services are specified, returns the schema for all registered services.
20+
"""
21+
openAPISchema(
22+
"""
23+
List of service names to include in the schema.
24+
If not provided, all registered services are included.
25+
"""
26+
services: [String!]
27+
): String!
28+
}
29+
30+
"""
31+
A registered external API service.
32+
"""
33+
type ExternalAPIService {
34+
"""
35+
The fully qualified name of the service.
36+
"""
37+
name: String!
38+
}

gql/githubapps.graphql

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ extend type Mutation {
1919
🚨 SECURITY: Requires site-admin.
2020
"""
2121
createGitHubApp(gitHubURL: String!, clientID: String!, privateKey: String!): GitHubApp
22+
23+
"""
24+
Adds a GitHub App as an authentication provider in the site configuration.
25+
This appends a new GitHub auth provider entry (using the app's clientID, clientSecret, and baseURL)
26+
to the "auth.providers" list in site config. If a matching provider already exists, this is a no-op.
27+
🚨 SECURITY: Requires site-admin.
28+
"""
29+
addGitHubAppAuthProvider(gitHubApp: ID!): EmptyResponse
2230
}
2331

2432
extend type Query {

0 commit comments

Comments
 (0)