Skip to content

Commit 9d1809b

Browse files
Add artifacts for v7.1.0
1 parent d2170e4 commit 9d1809b

77 files changed

Lines changed: 993 additions & 324 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-
v7.0.2852
1+
v7.1.0

gql/agentic_batch_changes.graphql

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ enum AgenticWorkflowInstanceStatus {
6363
"""
6464
RUNNING
6565

66+
"""
67+
The instance is paused and will not make progress until unpaused.
68+
Asynchronous nodes may continue to run, but progress will not be tracked until the instance is resumed.
69+
"""
70+
PAUSED
71+
6672
"""
6773
The instance completed successfully.
6874
"""
@@ -104,6 +110,54 @@ type AgenticWorkflowInstance implements Node {
104110
The current status of the instance.
105111
"""
106112
status: AgenticWorkflowInstanceStatus!
113+
114+
"""
115+
EXPERIMENTAL: The current variable state of the instance as a JSON object.
116+
Secrets are redacted. Updated as nodes complete.
117+
"""
118+
variables: String!
119+
120+
"""
121+
The historical node states for this instance, ordered by creation time.
122+
"""
123+
nodeStates: [AgenticWorkflowInstanceNodeState!]!
124+
}
125+
126+
"""
127+
A snapshot of a node's state within a workflow instance. A new snapshot is added each time the node's lifecycle phase changes.
128+
129+
EXPERIMENTAL: This API is experimental and subject to change.
130+
"""
131+
type AgenticWorkflowInstanceNodeState {
132+
"""
133+
The ID of the node spec this state belongs to.
134+
"""
135+
nodeSpecID: String!
136+
137+
"""
138+
The type of the node (e.g. decision, wait).
139+
"""
140+
nodeType: String!
141+
142+
"""
143+
The lifecycle phase of the node.
144+
"""
145+
lifecyclePhase: AgenticWorkflowInstanceStatus!
146+
147+
"""
148+
The output produced by the node, if any.
149+
"""
150+
output: String!
151+
152+
"""
153+
The recorded error for this node state, if any.
154+
"""
155+
error: String
156+
157+
"""
158+
When this state snapshot was created.
159+
"""
160+
createdAt: DateTime!
107161
}
108162

109163
"""
@@ -185,4 +239,28 @@ extend type Mutation {
185239
"""
186240
input: String
187241
): AgenticWorkflowInstance!
242+
243+
"""
244+
Pause a running workflow instance. Only running instances can be paused.
245+
246+
EXPERIMENTAL: This API is experimental and subject to change.
247+
"""
248+
pauseAgenticWorkflowInstance(
249+
"""
250+
The ID of the instance to pause.
251+
"""
252+
instanceID: ID!
253+
): AgenticWorkflowInstance!
254+
255+
"""
256+
Unpause a paused workflow instance, resuming execution.
257+
258+
EXPERIMENTAL: This API is experimental and subject to change.
259+
"""
260+
unpauseAgenticWorkflowInstance(
261+
"""
262+
The ID of the instance to unpause.
263+
"""
264+
instanceID: ID!
265+
): AgenticWorkflowInstance!
188266
}

gql/codeintel.autoindexing.graphql

Lines changed: 6 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -130,41 +130,6 @@ extend type Mutation {
130130
repository: ID
131131
): EmptyResponse
132132

133-
"""
134-
Marks a precise index as replaceable by auto-indexing.
135-
"""
136-
reindexPreciseIndex(id: ID!): EmptyResponse
137-
138-
"""
139-
Marks precise indexes by filter criteria as replaceable by auto-indexing.
140-
"""
141-
reindexPreciseIndexes(
142-
"""
143-
An (optional) search query that filters the state, repository name, commit, root, and indexer properties.
144-
"""
145-
query: String
146-
147-
"""
148-
The index state.
149-
"""
150-
states: [PreciseIndexState!]
151-
152-
"""
153-
If supplied, only precise indexes created by an indexer with the given key are modified.
154-
"""
155-
indexerKey: String
156-
157-
"""
158-
When specified, only modifies indexes that are latest for the given repository.
159-
"""
160-
isLatestForRepo: Boolean
161-
162-
"""
163-
The repository.
164-
"""
165-
repository: ID
166-
): EmptyResponse
167-
168133
"""
169134
Queues the index jobs for a repository for execution. An optional resolvable revhash
170135
(commit, branch name, or tag name) can be specified; by default the tip of the default
@@ -668,6 +633,12 @@ type CodeIntelSummary {
668633
that is returned.
669634
"""
670635
after: String
636+
637+
"""
638+
Maximum age in days. When specified, only records newer than
639+
this many days are included. When not specified, all records are included.
640+
"""
641+
maxAge: Int
671642
): CodeIntelRepositoryWithErrorConnection!
672643

673644
"""

gql/codeintel.codenav.graphql

Lines changed: 1 addition & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,3 @@
1-
extend interface TreeEntry {
2-
"""
3-
LSIF data for this tree entry.
4-
"""
5-
lsif(
6-
"""
7-
An optional filter for the name of the tool that produced the upload data.
8-
"""
9-
toolName: String
10-
): TreeEntryLSIFData
11-
}
12-
13-
extend type GitTree {
14-
"""
15-
LSIF data for this tree entry.
16-
"""
17-
lsif(
18-
"""
19-
An optional filter for the name of the tool that produced the upload data.
20-
"""
21-
toolName: String
22-
): GitTreeLSIFData
23-
}
24-
251
extend type GitBlob {
262
"""
273
A wrapper around LSIF query methods. If no LSIF upload can be used to answer code
@@ -336,33 +312,11 @@ enum SymbolRole {
336312
FORWARD_DEFINITION
337313
}
338314

339-
"""
340-
LSIF data available for a tree entry (file OR directory, see GitBlobLSIFData for file-specific
341-
resolvers and GitTreeLSIFData for directory-specific resolvers.)
342-
"""
343-
interface TreeEntryLSIFData {
344-
"""
345-
Code diagnostics provided through LSIF.
346-
"""
347-
diagnostics(first: Int): DiagnosticConnection!
348-
}
349-
350-
"""
351-
A wrapper object around LSIF query methods for a particular git-tree-at-revision. When this node is
352-
null, no LSIF data is available for the git tree in question.
353-
"""
354-
type GitTreeLSIFData implements TreeEntryLSIFData {
355-
"""
356-
Code diagnostics provided through LSIF.
357-
"""
358-
diagnostics(first: Int): DiagnosticConnection!
359-
}
360-
361315
"""
362316
A wrapper object around LSIF query methods for a particular git-blob-at-revision. When this node is
363317
null, no LSIF data is available for the git blob in question.
364318
"""
365-
type GitBlobLSIFData implements TreeEntryLSIFData {
319+
type GitBlobLSIFData {
366320
"""
367321
Return a flat list of all ranges in the document that have code intelligence.
368322
"""
@@ -518,11 +472,6 @@ type GitBlobLSIFData implements TreeEntryLSIFData {
518472
character: Int!
519473
): Hover
520474

521-
"""
522-
Code diagnostics provided through LSIF.
523-
"""
524-
diagnostics(first: Int): DiagnosticConnection!
525-
526475
"""
527476
The indexes that could provide precise code intelligence for the current blob.
528477
"""
@@ -1071,67 +1020,6 @@ type Hover {
10711020
summary: Markdown
10721021
}
10731022

1074-
"""
1075-
A list of diagnostics.
1076-
"""
1077-
type DiagnosticConnection {
1078-
"""
1079-
A list of diagnostics.
1080-
"""
1081-
nodes: [Diagnostic!]!
1082-
1083-
"""
1084-
The total count of diagnostics (which may be larger than nodes.length if the connection is paginated).
1085-
"""
1086-
totalCount: Int
1087-
1088-
"""
1089-
Pagination information.
1090-
"""
1091-
pageInfo: PageInfo!
1092-
}
1093-
1094-
"""
1095-
Represents a diagnostic, such as a compiler error or warning.
1096-
"""
1097-
type Diagnostic {
1098-
"""
1099-
The location at which the message applies.
1100-
"""
1101-
location: Location!
1102-
1103-
"""
1104-
The diagnostic's severity.
1105-
"""
1106-
severity: DiagnosticSeverity
1107-
1108-
"""
1109-
The diagnostic's code as provided by the tool.
1110-
"""
1111-
code: String
1112-
1113-
"""
1114-
A human-readable string describing the source of this
1115-
diagnostic, e.g. "typescript" or "super lint".
1116-
"""
1117-
source: String
1118-
1119-
"""
1120-
The diagnostic's message.
1121-
"""
1122-
message: String
1123-
}
1124-
1125-
"""
1126-
Represents the severity level of a diagnostic.
1127-
"""
1128-
enum DiagnosticSeverity {
1129-
ERROR
1130-
WARNING
1131-
INFORMATION
1132-
HINT
1133-
}
1134-
11351023
"""
11361024
SymbolInfo contains hover and definition methods. It's returned by GitBlob.symbolInfo(line, character).
11371025
"""

gql/entitlements.graphql

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ Entitlement defines configurable limits for LLM credit consumption by users
166166
or other principals. It allows site admins to control and distribute LLM spend
167167
by setting quotas with specific time windows.
168168
"""
169-
type Entitlement {
169+
type Entitlement implements Node {
170170
"""
171171
The ID of the entitlement.
172172
"""
@@ -257,18 +257,14 @@ type EntitlementConnection {
257257
UserEntitlement maps a user to an entitlement.
258258
"""
259259
type UserEntitlement {
260-
"""
261-
The ID of the entitlement.
262-
"""
263-
entitlementID: ID!
264260
"""
265261
The entitlement that was granted.
266262
"""
267263
entitlement: Entitlement!
268264
"""
269-
The ID of the user.
265+
The user who has this entitlement.
270266
"""
271-
userID: ID!
267+
user: User!
272268
"""
273269
Whether this is a default entitlement (true when the user has no explicit grant for this type).
274270
"""

gql/repo_activity_graph.graphql

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
"""
2+
Granularity of an activity graph data point.
3+
"""
4+
enum RepoActivityGraphGranularity {
5+
DAY
6+
WEEK
7+
MONTH
8+
}
9+
10+
"""
11+
A single data point in the repository activity graph.
12+
"""
13+
type RepoActivityGraphPoint {
14+
"""
15+
The start of the time bucket (midnight UTC).
16+
"""
17+
date: DateTime!
18+
19+
"""
20+
The number of commits in this time bucket.
21+
"""
22+
commitCount: Int!
23+
24+
"""
25+
The granularity of this data point.
26+
"""
27+
granularity: RepoActivityGraphGranularity!
28+
}
29+
30+
"""
31+
The activity graph for a repository, showing commit activity over time.
32+
"""
33+
type RepoActivityGraph {
34+
"""
35+
The data points, ordered by date ascending. Combines daily, weekly, and monthly points.
36+
"""
37+
points: [RepoActivityGraphPoint!]!
38+
39+
"""
40+
When the activity data was last updated, or null if never processed.
41+
"""
42+
lastUpdatedAt: DateTime
43+
}
44+
45+
extend type Repository {
46+
"""
47+
The activity graph for this repository, showing commit counts over time.
48+
Returns null if activity data has not been computed yet.
49+
"""
50+
activityGraph: RepoActivityGraph
51+
}

0 commit comments

Comments
 (0)