From 3b57bae580c02f05709fde926e2bd80beb091aa2 Mon Sep 17 00:00:00 2001 From: Sarita Iyer <66540150+saritai@users.noreply.github.com> Date: Fri, 14 Nov 2025 11:37:18 -0500 Subject: [PATCH 1/4] Updates for VS Code custom agents (#58483) Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Jenni C <97056108+dihydroJenoxide@users.noreply.github.com> --- .../agents/coding-agent/about-custom-agents.md | 4 ++-- .../coding-agent/create-custom-agents.md | 16 +++++++++------- .../reference/custom-agents-configuration.md | 12 +++++++----- .../custom-agents/your-first-custom-agent.md | 2 +- .../copilot/custom-agents-example-profiles.md | 2 +- .../copilot/custom-agents-examples-note.md | 2 +- 6 files changed, 21 insertions(+), 17 deletions(-) diff --git a/content/copilot/concepts/agents/coding-agent/about-custom-agents.md b/content/copilot/concepts/agents/coding-agent/about-custom-agents.md index d81af5a8c82e..1adaa2a47c5e 100644 --- a/content/copilot/concepts/agents/coding-agent/about-custom-agents.md +++ b/content/copilot/concepts/agents/coding-agent/about-custom-agents.md @@ -53,9 +53,9 @@ You can define {% data variables.copilot.agent_profiles %} at the repository lev ## Where you can use {% data variables.copilot.custom_agents_short %} -Once created, your {% data variables.copilot.custom_agents_short %} are available wherever you can use {% data variables.copilot.copilot_coding_agent %}, including {% data variables.product.prodname_dotcom_the_website %} (the agents tab and panel, issue assignment, pull requests), the {% data variables.copilot.copilot_cli %}, and {% data variables.product.prodname_vscode %} (as chat modes). Each interaction maintains consistency based on the agent's defined profile, ensuring targeted support tailored to your specific needs. +Once created, your {% data variables.copilot.custom_agents_short %} are available wherever you can use {% data variables.copilot.copilot_coding_agent %}, including {% data variables.product.prodname_dotcom_the_website %} (the agents tab and panel, issue assignment, pull requests), the {% data variables.copilot.copilot_cli %}, and {% data variables.product.prodname_vscode %}. Each interaction maintains consistency based on the agent's defined profile, ensuring targeted support tailored to your specific needs. -{% data variables.copilot.agent_profiles_caps %} can be used directly in {% data variables.product.prodname_vscode %} as chat modes, though some properties may differ between the two environments. For more information on chat modes, see [Use chat modes in {% data variables.product.prodname_vscode_shortname %}](https://code.visualstudio.com/docs/copilot/customization/custom-chat-modes?utm_source=docs-vscode-custom-agents&utm_medium=docs&utm_campaign=universe25post). +{% data variables.copilot.agent_profiles_caps %} can be used directly in {% data variables.product.prodname_vscode %}, though some properties may function differently or be ignored between the {% data variables.product.prodname_dotcom_the_website %} and {% data variables.product.prodname_vscode_shortname %} environments. See [{% data variables.copilot.custom_agents_caps_short %} in {% data variables.product.prodname_vscode_shortname %}](https://code.visualstudio.com/docs/copilot/customization/custom-agents?utm_source=docs-signup-custom-agents&utm_medium=docs&utm_campaign=universe25post) in the {% data variables.product.prodname_vscode_shortname %} documentation. ## Next steps diff --git a/content/copilot/how-tos/use-copilot-agents/coding-agent/create-custom-agents.md b/content/copilot/how-tos/use-copilot-agents/coding-agent/create-custom-agents.md index 24b377966510..6f48d74a01a8 100644 --- a/content/copilot/how-tos/use-copilot-agents/coding-agent/create-custom-agents.md +++ b/content/copilot/how-tos/use-copilot-agents/coding-agent/create-custom-agents.md @@ -22,9 +22,10 @@ topics: > Organization and enterprise owners can create organization and enterprise-level {% data variables.copilot.custom_agents_short %} in a `.github-private` repository that are available across all repositories within their organization or enterprise. For more information, see [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/prepare-for-custom-agents) and [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-organization/prepare-for-custom-agents). 1. Optionally, select the branch you want to create the {% data variables.copilot.agent_profile %} in. The default is the main branch. -1. Click {% octicon "copilot" aria-label="Select a custom agent" %}, then click **{% octicon "plus" aria-label="Plus button" %} Create an agent**. This will open a template agent profile called `my-agent.md` in the `.github/agents` directory of your target repository. +1. Click {% octicon "copilot" aria-label="Select a custom agent" %}, then click **{% octicon "plus" aria-label="Plus button" %} Create an agent**. This will open a template agent profile called `my-agent.agent.md` in the `.github/agents` directory of your target repository. 1. If you are creating an organization or enterprise-level custom agent, delete the `.github/` portion of the file path to move your template to the root `agents` directory. -1. Edit the filename and configure the {% data variables.copilot.agent_profile %}, including the name, description, tools, and prompts. For more information on what the {% data variables.copilot.agent_profile %} can include, see the section below. +1. Edit the filename (the text before `.agent.md`), selecting a unique, descriptive name that identifies the agent's purpose. Note that the filename may only contain the following characters: `.`, `-`, `_`, `a-z`, `A-Z`, `0-9`. +1. Configure the {% data variables.copilot.agent_profile %}, including the name, description, tools, and prompts. For more information on what the {% data variables.copilot.agent_profile %} can include, see the section below. 1. Commit the file to the repository and merge it into the default branch. Go back to the agents tab and refresh the page if needed. Your custom agent will now appear in the dropdown when you click {% octicon "copilot" aria-hidden="true" aria-label="copilot" %} in the prompt box. ## Configuring an {% data variables.copilot.agent_profile %} @@ -35,10 +36,11 @@ For detailed configuration information about YAML properties, tools, MCP server To configure your {% data variables.copilot.agent_profile %}: -1. Choose a `name` for your {% data variables.copilot.copilot_custom_agent_short %}. Select a unique, descriptive name that identifies the agent's purpose. -1. Write a brief `description` explaining what your agent does and its specific capabilities or domain expertise. +1. Optionally, write a `name` for your {% data variables.copilot.copilot_custom_agent_short %}. If unset, the name will default to the filename (without the `.md` or `.agent.md` suffix). +1. Write a brief `description` (required) explaining what your agent does and its specific capabilities or domain expertise. 1. In the `tools` property, define which tools the agent can use. This is a list of tool names or aliases, including tools from MCP servers configured in the repository settings or the {% data variables.copilot.agent_profile %} (for example, `tools: ["read", "edit", "search", "some-mcp-server/tool-1"]`). If you omit this property, the agent will have access to all available tools. 1. If creating an organization or enterprise level agent, you can use the `mcp-servers` property to optionally configure MCP servers that will be available only to this agent to extend its capabilities. +1. Optionally, set the `target` property to `vscode` or `github-copilot` if you want to only use the agent in a specific environment. The agent will be available in both environments if you omit the property. 1. Write the agent's prompt. Define the agent's behavior, expertise, and instructions in the Markdown content below the YAML frontmatter. ## Example {% data variables.copilot.agent_profiles %} @@ -57,11 +59,11 @@ When {% data variables.product.prodname_copilot_short %} opens pull requests, it For more information on using {% data variables.copilot.copilot_coding_agent %}, see [AUTOTITLE](/copilot/how-tos/use-copilot-agents/coding-agent/create-a-pr). -### Using {% data variables.copilot.custom_agents_short %} as {% data variables.product.prodname_vscode_shortname %} chat modes +### Using {% data variables.copilot.custom_agents_short %} in {% data variables.product.prodname_vscode_shortname %} -You can also use your custom {% data variables.copilot.agent_profiles %} directly in {% data variables.product.prodname_vscode %} as chat modes. In {% data variables.product.prodname_vscode_shortname %}, you switch between chat modes using the mode dropdown in the Chat view, allowing you to access specialized configurations for different tasks like planning, code editing, or research. For more information, see [Use chat modes in {% data variables.product.prodname_vscode_shortname %}](https://code.visualstudio.com/docs/copilot/customization/custom-chat-modes&utm_source=docs-vscode-custom-agents&utm_medium=docs&utm_campaign=universe25post). +You can also use your custom {% data variables.copilot.agent_profiles %} directly in {% data variables.product.prodname_vscode %}. In {% data variables.product.prodname_vscode_shortname %}, you switch between {% data variables.copilot.custom_agents_short %} using the mode dropdown in the Chat view, allowing you to access specialized configurations for different tasks like planning, code editing, or research. For more information, see [{% data variables.copilot.custom_agents_caps_short %} in {% data variables.product.prodname_vscode_shortname %}](https://code.visualstudio.com/docs/copilot/customization/custom-agents). -Note that some properties may function differently between the {% data variables.product.prodname_dotcom_the_website %} and {% data variables.product.prodname_vscode_shortname %} environments. For more information, see [AUTOTITLE](/copilot/reference/custom-agents-configuration). +Note that some properties may function differently, or be ignored, between the {% data variables.product.prodname_dotcom_the_website %} and {% data variables.product.prodname_vscode_shortname %} environments. For more information on supported properties, see [AUTOTITLE](/copilot/reference/custom-agents-configuration#yaml-frontmatter-properties). ## Next steps diff --git a/content/copilot/reference/custom-agents-configuration.md b/content/copilot/reference/custom-agents-configuration.md index 40ff07c0159d..55debdb400ba 100644 --- a/content/copilot/reference/custom-agents-configuration.md +++ b/content/copilot/reference/custom-agents-configuration.md @@ -13,21 +13,23 @@ This reference article provides detailed configuration information for {% data v ## YAML frontmatter properties -The following table outlines the properties that are supported in repository-level {% data variables.copilot.agent_profiles %}, organization or enterprise level {% data variables.copilot.agent_profiles %}, and in {% data variables.product.prodname_vscode_shortname %} chat modes. +The following table outlines the properties that are supported in repository-level {% data variables.copilot.agent_profiles %}, organization or enterprise level {% data variables.copilot.agent_profiles %}, and in {% data variables.product.prodname_vscode_shortname %}. {% rowheaders %} -| Property | Type | Purpose | Repository | Organization / enterprise | {% data variables.product.prodname_vscode_shortname %} chat modes | +| Property | Type | Purpose | Repository | Organization / enterprise | {% data variables.product.prodname_vscode_shortname %} | | ------------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | ------------------------- | ------------------ | -| `name` | **Required** string | Unique name for the {% data variables.copilot.copilot_custom_agent_short %}.
Lowest level configuration takes precedence when there is a naming conflict. | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | -| `description` | **Required** string | Description of the {% data variables.copilot.copilot_custom_agent_short %}'s purpose purpose and capabilities | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | +| `name` | string | Unique name for the {% data variables.copilot.copilot_custom_agent_short %}. Optional, if unset defaults to the filename (without `.md` or `.agent.md` suffix).
Lowest level configuration takes precedence when there is a naming conflict. | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | +| `description` | **Required** string | Description of the {% data variables.copilot.copilot_custom_agent_short %}'s purpose and capabilities | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | +| `target` | string | Target environment or context for the {% data variables.copilot.copilot_custom_agent_short %} (`vscode` or `github-copilot`). If unset, defaults to both environments. | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | | `tools` | list of strings, string | List of tool names the {% data variables.copilot.copilot_custom_agent_short %} can use. Supports both a comma separated string and yaml string array. If unset, defaults to all tools. See [Tools](#tools). | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | | `mcp-servers` | object | Additional MCP servers and tools that should be used by the {% data variables.copilot.copilot_custom_agent_short %}. | {% octicon "x" aria-label="Not supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="Not supported" %} | +| `metadata` | object consisting of a name and value pair, both strings | Allows annotation of the agent with useful data | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="Not supported" %} | {% endrowheaders %} > [!NOTE] -> The `model` property from {% data variables.product.prodname_vscode_shortname %} chat modes is not supported for {% data variables.copilot.copilot_coding_agent %}. It is ignored to ensure compatibility. +> The `model`, `argument-hint`, and `handoffs` properties from {% data variables.product.prodname_vscode_shortname %} {% data variables.copilot.custom_agents_short %} are currently not supported for {% data variables.copilot.copilot_coding_agent %} on {% data variables.product.prodname_dotcom_the_website %}. They are ignored to ensure compatibility. For more information on {% data variables.copilot.copilot_custom_agent_short %} file structure in {% data variables.product.prodname_vscode_shortname %}, see [{% data variables.copilot.custom_agents_caps_short %} in {% data variables.product.prodname_vscode_shortname %}](https://code.visualstudio.com/docs/copilot/customization/custom-agents#_custom-agent-file-structure) in the {% data variables.product.prodname_vscode_shortname %} documentation. ## Tools diff --git a/content/copilot/tutorials/customization-library/custom-agents/your-first-custom-agent.md b/content/copilot/tutorials/customization-library/custom-agents/your-first-custom-agent.md index 103a7315380c..4d9a86d80edd 100644 --- a/content/copilot/tutorials/customization-library/custom-agents/your-first-custom-agent.md +++ b/content/copilot/tutorials/customization-library/custom-agents/your-first-custom-agent.md @@ -75,7 +75,7 @@ Test this agent by giving it a task to complete: 1. Go to the agents tab at [https://github.com/copilot/agents](https://github.com/copilot/agents?ref_product=copilot&ref_type=engagement&ref_style=text&utm_source=docs-web-copilot-custom-agent&utm_medium=docs&utm_campaign=universe25post). 1. Using the dropdown menus in the text box, select the repository and branch you're comfortable testing with (ideally one with a minimal or outdated README). 1. Click {% octicon "copilot" aria-hidden="true" aria-label="copilot" %}, then click **{% octicon "plus" aria-label="Plus button" %} Create an agent**. -1. An {% data variables.copilot.agent_profile %} template called `my-agent.md` will open in the `.github/agents` directory, in the repository you chose. Name the file `readme-specialist.md` and paste in the example {% data variables.copilot.agent_profile %}. +1. An {% data variables.copilot.agent_profile %} template called `my-agent.agent.md` will open in the `.github/agents` directory, in the repository you chose. Name the file `readme-specialist.agent.md` and paste in the example {% data variables.copilot.agent_profile %}. 1. Commit and merge this file into your repository's default branch. Go back to the agents tab (you may need to refresh the page), and in the text box, select your "readme-specialist" agent from the dropdown. 1. In the text box, enter a task for the agent (such as the example below) and click **{% octicon "paper-airplane" aria-label="Start task" %} Start task** or press Return. diff --git a/data/reusables/copilot/custom-agents-example-profiles.md b/data/reusables/copilot/custom-agents-example-profiles.md index eefa55511c1f..b3ed7c745703 100644 --- a/data/reusables/copilot/custom-agents-example-profiles.md +++ b/data/reusables/copilot/custom-agents-example-profiles.md @@ -1,4 +1,4 @@ -The following examples demonstrate what an {% data variables.copilot.agent_profile %} could look like for the common tasks of writing tests or planning the implementation of a project. For additional inspiration, see the [{% data variables.copilot.custom_agents_caps_short %}](/copilot/tutorials/customization-library/custom-agents) examples in the customization library. You can also find examples in the [awesome-copilot](https://github.com/github/awesome-copilot/tree/main/agents) community collection, though note that the community examples are designed for {% data variables.product.prodname_vscode_shortname %} chat modes, so the syntax may differ slightly from the {% data variables.copilot.custom_agents_short %} syntax. +The following examples demonstrate what an {% data variables.copilot.agent_profile %} could look like for the common tasks of writing tests or planning the implementation of a project. For additional inspiration, see the [{% data variables.copilot.custom_agents_caps_short %}](/copilot/tutorials/customization-library/custom-agents) examples in the customization library. You can also find more specific examples in the [awesome-copilot](https://github.com/github/awesome-copilot/tree/main/agents) community collection. ### Testing specialist diff --git a/data/reusables/copilot/custom-agents-examples-note.md b/data/reusables/copilot/custom-agents-examples-note.md index 4284f4eb8d41..2ba22f8cfd60 100644 --- a/data/reusables/copilot/custom-agents-examples-note.md +++ b/data/reusables/copilot/custom-agents-examples-note.md @@ -1,4 +1,4 @@ > [!NOTE] > > * The examples in this library are intended for inspiration—you are encouraged to adjust them to be more specific to your projects, languages, and team processes. -> * For community-contributed examples for specific languages and scenarios, see the [Awesome GitHub Copilot Customizations](https://github.com/github/awesome-copilot/tree/main/chatmodes?utm_source=docs-web-copilot-coding-agent&utm_medium=docs&utm_campaign=universe25post) repository. Note that the community examples are designed for {% data variables.product.prodname_vscode_shortname %} chat modes and the syntax may slightly differ from {% data variables.copilot.custom_agents_short %} syntax. +> * For community-contributed examples for specific languages and scenarios, see the [Awesome GitHub Copilot Customizations](https://github.com/github/awesome-copilot/tree/main/agents?utm_source=docs-web-copilot-coding-agent&utm_medium=docs&utm_campaign=universe25post) repository. From cc1597729a01e9af2eadada7e149a897b1d9c2f3 Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Fri, 14 Nov 2025 08:40:19 -0800 Subject: [PATCH 2/4] GraphQL schema update (#58496) Co-authored-by: heiskr <1221423+heiskr@users.noreply.github.com> --- src/graphql/data/fpt/changelog.json | 17 +++++++ src/graphql/data/fpt/schema.docs.graphql | 37 +++++++++++++- src/graphql/data/fpt/schema.json | 62 +++++++++++++++++++++++ src/graphql/data/ghec/schema.docs.graphql | 37 +++++++++++++- src/graphql/data/ghec/schema.json | 62 +++++++++++++++++++++++ 5 files changed, 213 insertions(+), 2 deletions(-) diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index 1225f5b97860..0ae892d0365e 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,21 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Type Agentic was added

", + "

User object implements Agentic interface

", + "

Field viewerCopilotAgentCreatesChannel was added to object type User

", + "

Field viewerCopilotAgentLogUpdatesChannel was added to object type User

", + "

Field viewerCopilotAgentUpdatesChannel was added to object type User

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2025-11-14" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index e7d8ecc029fd..efc9fd3e3a62 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -1416,6 +1416,26 @@ type AddedToProjectV2Event implements Node & ProjectV2Event { wasAutomated: Boolean! } +""" +Copilot Agentic fields in context of the current viewer. +""" +interface Agentic { + """ + Channel value for subscribing to live updates for session creations. + """ + viewerCopilotAgentCreatesChannel: String + + """ + Channel value for subscribing to live updates for session log updates. + """ + viewerCopilotAgentLogUpdatesChannel: String + + """ + Channel value for subscribing to live updates for session updates. + """ + viewerCopilotAgentUpdatesChannel: String +} + """ An announcement banner for an enterprise or organization. """ @@ -67344,7 +67364,7 @@ type UpdateUserListsForItemPayload { """ A user is an individual's account on GitHub that owns repositories and can make new content. """ -type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable { +type User implements Actor & Agentic & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable { """ Determine if this repository owner has any items that can be pinned to their profile. """ @@ -68951,6 +68971,21 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & """ viewerCanSponsor: Boolean! + """ + Channel value for subscribing to live updates for session creations. + """ + viewerCopilotAgentCreatesChannel: String + + """ + Channel value for subscribing to live updates for session log updates. + """ + viewerCopilotAgentLogUpdatesChannel: String + + """ + Channel value for subscribing to live updates for session updates. + """ + viewerCopilotAgentUpdatesChannel: String + """ Whether or not this user is followed by the viewer. Inverse of isFollowingViewer. """ diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index f3cbc94697b9..2ca2d2969a00 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -79823,6 +79823,11 @@ "id": "actor", "href": "/graphql/reference/interfaces#actor" }, + { + "name": "Agentic", + "id": "agentic", + "href": "/graphql/reference/interfaces#agentic" + }, { "name": "Node", "id": "node", @@ -82952,6 +82957,30 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "viewerCopilotAgentCreatesChannel", + "description": "

Channel value for subscribing to live updates for session creations.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "viewerCopilotAgentLogUpdatesChannel", + "description": "

Channel value for subscribing to live updates for session log updates.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "viewerCopilotAgentUpdatesChannel", + "description": "

Channel value for subscribing to live updates for session updates.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, { "name": "viewerIsFollowing", "description": "

Whether or not this user is followed by the viewer. Inverse of isFollowingViewer.

", @@ -84846,6 +84875,39 @@ } ] }, + { + "name": "Agentic", + "kind": "interfaces", + "id": "agentic", + "href": "/graphql/reference/interfaces#agentic", + "description": "

Copilot Agentic fields in context of the current viewer.

", + "fields": [ + { + "name": "viewerCopilotAgentCreatesChannel", + "description": "

Channel value for subscribing to live updates for session creations.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "viewerCopilotAgentLogUpdatesChannel", + "description": "

Channel value for subscribing to live updates for session log updates.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "viewerCopilotAgentUpdatesChannel", + "description": "

Channel value for subscribing to live updates for session updates.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "Assignable", "kind": "interfaces", diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index e7d8ecc029fd..efc9fd3e3a62 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -1416,6 +1416,26 @@ type AddedToProjectV2Event implements Node & ProjectV2Event { wasAutomated: Boolean! } +""" +Copilot Agentic fields in context of the current viewer. +""" +interface Agentic { + """ + Channel value for subscribing to live updates for session creations. + """ + viewerCopilotAgentCreatesChannel: String + + """ + Channel value for subscribing to live updates for session log updates. + """ + viewerCopilotAgentLogUpdatesChannel: String + + """ + Channel value for subscribing to live updates for session updates. + """ + viewerCopilotAgentUpdatesChannel: String +} + """ An announcement banner for an enterprise or organization. """ @@ -67344,7 +67364,7 @@ type UpdateUserListsForItemPayload { """ A user is an individual's account on GitHub that owns repositories and can make new content. """ -type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable { +type User implements Actor & Agentic & Node & PackageOwner & ProfileOwner & ProjectOwner & ProjectV2Owner & ProjectV2Recent & RepositoryDiscussionAuthor & RepositoryDiscussionCommentAuthor & RepositoryOwner & Sponsorable & UniformResourceLocatable { """ Determine if this repository owner has any items that can be pinned to their profile. """ @@ -68951,6 +68971,21 @@ type User implements Actor & Node & PackageOwner & ProfileOwner & ProjectOwner & """ viewerCanSponsor: Boolean! + """ + Channel value for subscribing to live updates for session creations. + """ + viewerCopilotAgentCreatesChannel: String + + """ + Channel value for subscribing to live updates for session log updates. + """ + viewerCopilotAgentLogUpdatesChannel: String + + """ + Channel value for subscribing to live updates for session updates. + """ + viewerCopilotAgentUpdatesChannel: String + """ Whether or not this user is followed by the viewer. Inverse of isFollowingViewer. """ diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index f3cbc94697b9..2ca2d2969a00 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -79823,6 +79823,11 @@ "id": "actor", "href": "/graphql/reference/interfaces#actor" }, + { + "name": "Agentic", + "id": "agentic", + "href": "/graphql/reference/interfaces#agentic" + }, { "name": "Node", "id": "node", @@ -82952,6 +82957,30 @@ "kind": "scalars", "href": "/graphql/reference/scalars#boolean" }, + { + "name": "viewerCopilotAgentCreatesChannel", + "description": "

Channel value for subscribing to live updates for session creations.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "viewerCopilotAgentLogUpdatesChannel", + "description": "

Channel value for subscribing to live updates for session log updates.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "viewerCopilotAgentUpdatesChannel", + "description": "

Channel value for subscribing to live updates for session updates.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, { "name": "viewerIsFollowing", "description": "

Whether or not this user is followed by the viewer. Inverse of isFollowingViewer.

", @@ -84846,6 +84875,39 @@ } ] }, + { + "name": "Agentic", + "kind": "interfaces", + "id": "agentic", + "href": "/graphql/reference/interfaces#agentic", + "description": "

Copilot Agentic fields in context of the current viewer.

", + "fields": [ + { + "name": "viewerCopilotAgentCreatesChannel", + "description": "

Channel value for subscribing to live updates for session creations.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "viewerCopilotAgentLogUpdatesChannel", + "description": "

Channel value for subscribing to live updates for session log updates.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "viewerCopilotAgentUpdatesChannel", + "description": "

Channel value for subscribing to live updates for session updates.

", + "type": "String", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "Assignable", "kind": "interfaces", From 18cf2072d3fe065ca097f9abb5b261d88a46918d Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Fri, 14 Nov 2025 09:16:26 -0800 Subject: [PATCH 3/4] Sync secret scanning data (#58495) Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com> --- src/secret-scanning/data/public-docs.yml | 50 ++++++++++++++++++++++++ src/secret-scanning/lib/config.json | 4 +- 2 files changed, 52 insertions(+), 2 deletions(-) diff --git a/src/secret-scanning/data/public-docs.yml b/src/secret-scanning/data/public-docs.yml index 5da4967c25bb..0d327da84367 100644 --- a/src/secret-scanning/data/public-docs.yml +++ b/src/secret-scanning/data/public-docs.yml @@ -4330,6 +4330,54 @@ hasValidityCheck: false base64Supported: false isduplicate: false +- provider: Paddle + supportedSecret: Paddle API Key + secretType: paddle_api_key + versions: + fpt: '*' + ghec: '*' + isPublic: true + isPrivateWithGhas: false + hasPushProtection: false + hasValidityCheck: false + base64Supported: false + isduplicate: false +- provider: Paddle + supportedSecret: Paddle Development API Key + secretType: paddle_development_api_key + versions: + fpt: '*' + ghec: '*' + isPublic: true + isPrivateWithGhas: false + hasPushProtection: false + hasValidityCheck: false + base64Supported: false + isduplicate: false +- provider: Paddle + supportedSecret: Paddle Sandbox API Key + secretType: paddle_sandbox_api_key + versions: + fpt: '*' + ghec: '*' + isPublic: true + isPrivateWithGhas: false + hasPushProtection: false + hasValidityCheck: false + base64Supported: false + isduplicate: false +- provider: Paddle + supportedSecret: Paddle Staging API Key + secretType: paddle_staging_api_key + versions: + fpt: '*' + ghec: '*' + isPublic: true + isPrivateWithGhas: false + hasPushProtection: false + hasValidityCheck: false + base64Supported: false + isduplicate: false - provider: PagerDuty supportedSecret: PagerDuty OAuth Secret secretType: pagerduty_oauth_secret @@ -5096,6 +5144,7 @@ versions: fpt: '*' ghec: '*' + ghes: '>=3.16' isPublic: false isPrivateWithGhas: true hasPushProtection: true @@ -5108,6 +5157,7 @@ versions: fpt: '*' ghec: '*' + ghes: '>=3.16' isPublic: false isPrivateWithGhas: true hasPushProtection: true diff --git a/src/secret-scanning/lib/config.json b/src/secret-scanning/lib/config.json index d5d94eaa733e..a7d751cd2d21 100644 --- a/src/secret-scanning/lib/config.json +++ b/src/secret-scanning/lib/config.json @@ -1,5 +1,5 @@ { - "sha": "8ff4c12fe79e4cd591f8464df62701bd700c77fa", - "blob-sha": "63a23e861c756122353370d3c0cd77875be4274c", + "sha": "b2e76ee1382a1b4a5514ca4219cf18e3b8574eb8", + "blob-sha": "c57a6a7221e0d5d9834d7500fbe0f19871267f6d", "targetFilename": "code-security/secret-scanning/introduction/supported-secret-scanning-patterns" } \ No newline at end of file From 2566b0ed087b978ca325e26973655fa79094f7cb Mon Sep 17 00:00:00 2001 From: Sharra-writes Date: Fri, 14 Nov 2025 09:33:32 -0800 Subject: [PATCH 4/4] Outdated Dependabot reusable removal (#58492) --- .../about-dependabot-security-updates.md | 2 -- .../about-dependabot-version-updates.md | 2 -- .../managing-dependabot-on-self-hosted-runners.md | 2 -- .../about-dependabot-on-github-actions-runners.md | 2 -- 4 files changed, 8 deletions(-) diff --git a/content/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates.md b/content/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates.md index db580ef30c88..641be85859d0 100644 --- a/content/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates.md +++ b/content/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates.md @@ -58,8 +58,6 @@ If you enable _{% data variables.product.prodname_dependabot_security_updates %} {% data reusables.dependabot.dependabot-updates-prs-and-actions %} -{% ifversion dependabot-on-actions-opt-in %}{% data reusables.dependabot.dependabot-updates-and-actions %} For more information, see [AUTOTITLE](/code-security/dependabot/working-with-dependabot/about-dependabot-on-github-actions-runners).{% endif %} - {% data reusables.dependabot.dependabot-actions-support %} ## About pull requests for security updates diff --git a/content/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates.md b/content/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates.md index ecccfa69faab..32dc812632ee 100644 --- a/content/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates.md +++ b/content/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates.md @@ -44,8 +44,6 @@ If you enable _security updates_, {% data variables.product.prodname_dependabot {% data reusables.dependabot.dependabot-updates-prs-and-actions %} -{% ifversion dependabot-on-actions-opt-in %}{% data reusables.dependabot.dependabot-updates-and-actions %} For more information, see [AUTOTITLE](/code-security/dependabot/working-with-dependabot/about-dependabot-on-github-actions-runners).{% endif %} - {% data reusables.dependabot.dependabot-tos %} ## Frequency of {% data variables.product.prodname_dependabot %} pull requests diff --git a/content/code-security/dependabot/maintain-dependencies/managing-dependabot-on-self-hosted-runners.md b/content/code-security/dependabot/maintain-dependencies/managing-dependabot-on-self-hosted-runners.md index 789f9a7d0317..9d70bce5f508 100644 --- a/content/code-security/dependabot/maintain-dependencies/managing-dependabot-on-self-hosted-runners.md +++ b/content/code-security/dependabot/maintain-dependencies/managing-dependabot-on-self-hosted-runners.md @@ -19,8 +19,6 @@ redirect_from: ## About {% data variables.product.prodname_dependabot %} on {% data variables.product.prodname_actions %} self-hosted runners -{% data reusables.dependabot.dependabot-updates-and-actions %} For more information, see [AUTOTITLE](/code-security/dependabot/working-with-dependabot/about-dependabot-on-github-actions-runners). - {% data reusables.dependabot.dependabot-on-actions-future-note %} You can help users of your organization and repositories to create and maintain secure code by setting up {% data variables.product.prodname_dependabot %} security and version updates. With {% data variables.product.prodname_dependabot_updates %}, developers can configure repositories so that their dependencies are updated and kept secure automatically. Running {% data variables.product.prodname_dependabot %} on {% data variables.product.prodname_actions %} allows for better performance, and increased visibility and control of {% data variables.product.prodname_dependabot %} jobs. diff --git a/content/code-security/dependabot/working-with-dependabot/about-dependabot-on-github-actions-runners.md b/content/code-security/dependabot/working-with-dependabot/about-dependabot-on-github-actions-runners.md index cd13e1540fa9..471bc7b97b84 100644 --- a/content/code-security/dependabot/working-with-dependabot/about-dependabot-on-github-actions-runners.md +++ b/content/code-security/dependabot/working-with-dependabot/about-dependabot-on-github-actions-runners.md @@ -20,8 +20,6 @@ topics: > [!IMPORTANT] > If {% data variables.product.prodname_dependabot %} is enabled for a repository, it will always run on {% data variables.product.prodname_actions %}, **bypassing both Actions policy checks and disablement at the repository or organization level**. This ensures that security and version update workflows always run when Dependabot is enabled. -{% data reusables.dependabot.dependabot-updates-and-actions %} - {% data reusables.dependabot.dependabot-on-actions-future-note %} Using {% data variables.product.prodname_actions %} runners allows you to more easily identify {% data variables.product.prodname_dependabot %} job errors and manually detect and troubleshoot failed runs. You can also integrate {% data variables.product.prodname_dependabot %} into your CI/CD pipelines by using {% data variables.product.prodname_actions %} APIs and webhooks to detect {% data variables.product.prodname_dependabot %} job status such as failed runs, and perform downstream processing. For more information, see [AUTOTITLE](/rest/actions) and [AUTOTITLE](/webhooks/webhook-events-and-payloads).