Skip to content

refactor(core): move devtools ai tool definition types to primitives#69471

Open
csmick wants to merge 1 commit into
angular:mainfrom
csmick:chrome-mcp-tool-types
Open

refactor(core): move devtools ai tool definition types to primitives#69471
csmick wants to merge 1 commit into
angular:mainfrom
csmick:chrome-mcp-tool-types

Conversation

@csmick

@csmick csmick commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Extract the AI tool definition interfaces from the core debug module to the devtools primitives module. This relocates ToolDefinition, ToolGroup, and DevtoolsToolDiscoveryEvent to the primitives folder, exposing them cleanly via "export type" in the devtools entry point, improving module organization and readability.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.dev application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

These types are part of Angular Core.

Issue Number: N/A

What is the new behavior?

These types are part of Angular Primitives.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Extract the AI tool definition interfaces from the core debug module to the devtools primitives module. This relocates ToolDefinition, ToolGroup, and DevtoolsToolDiscoveryEvent to the primitives folder, exposing them cleanly via "export type" in the devtools entry point, improving module organization and readability.
@pullapprove pullapprove Bot requested review from atscott and kirjs June 22, 2026 23:00
@angular-robot angular-robot Bot added area: core Issues related to the framework runtime requires: TGP This PR requires a passing TGP before merging is allowed labels Jun 22, 2026
@ngbot ngbot Bot added this to the Backlog milestone Jun 22, 2026
@csmick csmick requested a review from dgp1130 June 22, 2026 23:01
@csmick csmick added the target: patch This PR is targeted for the next patch release label Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Issues related to the framework runtime requires: TGP This PR requires a passing TGP before merging is allowed target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant