Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions src/graphql/data/fpt/changelog.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
[
{
"schemaChanges": [
{
"title": "The GraphQL schema includes these changes:",
"changes": [
"<p>Type <code>AgentAssignmentInput</code> was added</p>",
"<p>Input field <code>baseRef</code> of type <code>String</code> was added to input object type <code>AgentAssignmentInput</code></p>",
"<p>Input field <code>customAgent</code> of type <code>String</code> was added to input object type <code>AgentAssignmentInput</code></p>",
"<p>Input field <code>customInstructions</code> of type <code>String</code> was added to input object type <code>AgentAssignmentInput</code></p>",
"<p>Input field <code>targetRepositoryId</code> of type <code>ID</code> was added to input object type <code>AgentAssignmentInput</code></p>",
"<p>Input field <code>agentAssignment</code> of type <code>AgentAssignmentInput</code> was added to input object type <code>AddAssigneesToAssignableInput</code></p>",
"<p>Input field <code>agentAssignment</code> of type <code>AgentAssignmentInput</code> was added to input object type <code>CreateIssueInput</code></p>",
"<p>Input field <code>agentAssignment</code> of type <code>AgentAssignmentInput</code> was added to input object type <code>ReplaceActorsForAssignableInput</code></p>",
"<p>Input field <code>agentAssignment</code> of type <code>AgentAssignmentInput</code> was added to input object type <code>UpdateIssueInput</code></p>"
]
}
],
"previewChanges": [],
"upcomingChanges": [],
"date": "2026-02-07"
},
{
"schemaChanges": [
{
Expand Down
45 changes: 45 additions & 0 deletions src/graphql/data/fpt/schema.docs.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,11 @@ enum ActorType {
Autogenerated input type of AddAssigneesToAssignable
"""
input AddAssigneesToAssignableInput {
"""
Configuration for assigning Copilot to this issue.
"""
agentAssignment: AgentAssignmentInput

"""
The id of the assignable object to add assignees to.
"""
Expand Down Expand Up @@ -1418,6 +1423,31 @@ type AddedToProjectV2Event implements Node & ProjectV2Event {
wasAutomated: Boolean!
}

"""
Represents configuration for assigning Copilot to an issue (public variant)
"""
input AgentAssignmentInput {
"""
The base ref/branch for the repository. Defaults to the default branch if not provided.
"""
baseRef: String

"""
Custom agent for Copilot.
"""
customAgent: String

"""
Custom instructions for Copilot.
"""
customInstructions: String

"""
The Node ID of the target repository where Copilot should work. Defaults to the issue's repository if not provided.
"""
targetRepositoryId: ID @possibleTypes(concreteTypes: ["Repository"])
}

"""
Copilot Agentic fields in context of the current viewer.
"""
Expand Down Expand Up @@ -8139,6 +8169,11 @@ type CreateIpAllowListEntryPayload {
Autogenerated input type of CreateIssue
"""
input CreateIssueInput {
"""
Configuration for assigning Copilot to this issue.
"""
agentAssignment: AgentAssignmentInput

"""
The Node ID of assignees for this issue.
"""
Expand Down Expand Up @@ -46681,6 +46716,11 @@ input ReplaceActorsForAssignableInput {
"""
actorLogins: [String!]

"""
Configuration for assigning an AI agent to this issue.
"""
agentAssignment: AgentAssignmentInput

"""
The id of the assignable object to replace the assignees for.
"""
Expand Down Expand Up @@ -65414,6 +65454,11 @@ type UpdateIssueCommentPayload {
Autogenerated input type of UpdateIssue
"""
input UpdateIssueInput {
"""
Configuration for assigning an AI agent to this issue.
"""
agentAssignment: AgentAssignmentInput

"""
An array of Node IDs of users or bots for this issue.
"""
Expand Down
74 changes: 74 additions & 0 deletions src/graphql/data/fpt/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -97653,6 +97653,14 @@
"href": "/graphql/reference/input-objects#addassigneestoassignableinput",
"description": "<p>Autogenerated input type of AddAssigneesToAssignable.</p>",
"inputFields": [
{
"name": "agentAssignment",
"description": "<p>Configuration for assigning Copilot to this issue.</p>",
"type": "AgentAssignmentInput",
"id": "agentassignmentinput",
"kind": "input-objects",
"href": "/graphql/reference/input-objects#agentassignmentinput"
},
{
"name": "assignableId",
"description": "<p>The id of the assignable object to add assignees to.</p>",
Expand Down Expand Up @@ -98549,6 +98557,48 @@
}
]
},
{
"name": "AgentAssignmentInput",
"kind": "inputObjects",
"id": "agentassignmentinput",
"href": "/graphql/reference/input-objects#agentassignmentinput",
"description": "<p>Represents configuration for assigning Copilot to an issue (public variant).</p>",
"inputFields": [
{
"name": "baseRef",
"description": "<p>The base ref/branch for the repository. Defaults to the default branch if not provided.</p>",
"type": "String",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "customAgent",
"description": "<p>Custom agent for Copilot.</p>",
"type": "String",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "customInstructions",
"description": "<p>Custom instructions for Copilot.</p>",
"type": "String",
"id": "string",
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "targetRepositoryId",
"description": "<p>The Node ID of the target repository where Copilot should work. Defaults to the issue's repository if not provided.</p>",
"type": "ID",
"id": "id",
"kind": "scalars",
"href": "/graphql/reference/scalars#id",
"isDeprecated": false
}
]
},
{
"name": "ApproveDeploymentsInput",
"kind": "inputObjects",
Expand Down Expand Up @@ -100884,6 +100934,14 @@
"href": "/graphql/reference/input-objects#createissueinput",
"description": "<p>Autogenerated input type of CreateIssue.</p>",
"inputFields": [
{
"name": "agentAssignment",
"description": "<p>Configuration for assigning Copilot to this issue.</p>",
"type": "AgentAssignmentInput",
"id": "agentassignmentinput",
"kind": "input-objects",
"href": "/graphql/reference/input-objects#agentassignmentinput"
},
{
"name": "assigneeIds",
"description": "<p>The Node ID of assignees for this issue.</p>",
Expand Down Expand Up @@ -106572,6 +106630,14 @@
"kind": "scalars",
"href": "/graphql/reference/scalars#string"
},
{
"name": "agentAssignment",
"description": "<p>Configuration for assigning an AI agent to this issue.</p>",
"type": "AgentAssignmentInput",
"id": "agentassignmentinput",
"kind": "input-objects",
"href": "/graphql/reference/input-objects#agentassignmentinput"
},
{
"name": "assignableId",
"description": "<p>The id of the assignable object to replace the assignees for.</p>",
Expand Down Expand Up @@ -110360,6 +110426,14 @@
"href": "/graphql/reference/input-objects#updateissueinput",
"description": "<p>Autogenerated input type of UpdateIssue.</p>",
"inputFields": [
{
"name": "agentAssignment",
"description": "<p>Configuration for assigning an AI agent to this issue.</p>",
"type": "AgentAssignmentInput",
"id": "agentassignmentinput",
"kind": "input-objects",
"href": "/graphql/reference/input-objects#agentassignmentinput"
},
{
"name": "assigneeIds",
"description": "<p>An array of Node IDs of users or bots for this issue.</p>",
Expand Down
45 changes: 45 additions & 0 deletions src/graphql/data/ghec/schema.docs.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,11 @@ enum ActorType {
Autogenerated input type of AddAssigneesToAssignable
"""
input AddAssigneesToAssignableInput {
"""
Configuration for assigning Copilot to this issue.
"""
agentAssignment: AgentAssignmentInput

"""
The id of the assignable object to add assignees to.
"""
Expand Down Expand Up @@ -1418,6 +1423,31 @@ type AddedToProjectV2Event implements Node & ProjectV2Event {
wasAutomated: Boolean!
}

"""
Represents configuration for assigning Copilot to an issue (public variant)
"""
input AgentAssignmentInput {
"""
The base ref/branch for the repository. Defaults to the default branch if not provided.
"""
baseRef: String

"""
Custom agent for Copilot.
"""
customAgent: String

"""
Custom instructions for Copilot.
"""
customInstructions: String

"""
The Node ID of the target repository where Copilot should work. Defaults to the issue's repository if not provided.
"""
targetRepositoryId: ID @possibleTypes(concreteTypes: ["Repository"])
}

"""
Copilot Agentic fields in context of the current viewer.
"""
Expand Down Expand Up @@ -8139,6 +8169,11 @@ type CreateIpAllowListEntryPayload {
Autogenerated input type of CreateIssue
"""
input CreateIssueInput {
"""
Configuration for assigning Copilot to this issue.
"""
agentAssignment: AgentAssignmentInput

"""
The Node ID of assignees for this issue.
"""
Expand Down Expand Up @@ -46681,6 +46716,11 @@ input ReplaceActorsForAssignableInput {
"""
actorLogins: [String!]

"""
Configuration for assigning an AI agent to this issue.
"""
agentAssignment: AgentAssignmentInput

"""
The id of the assignable object to replace the assignees for.
"""
Expand Down Expand Up @@ -65414,6 +65454,11 @@ type UpdateIssueCommentPayload {
Autogenerated input type of UpdateIssue
"""
input UpdateIssueInput {
"""
Configuration for assigning an AI agent to this issue.
"""
agentAssignment: AgentAssignmentInput

"""
An array of Node IDs of users or bots for this issue.
"""
Expand Down
Loading