Skip to content

chore(agent-core): move tool services type - #206

Merged
kermanx merged 1 commit into
mainfrom
xtr/move-tool-services
May 29, 2026
Merged

chore(agent-core): move tool services type#206
kermanx merged 1 commit into
mainfrom
xtr/move-tool-services

Conversation

@kermanx

@kermanx kermanx commented May 29, 2026

Copy link
Copy Markdown
Collaborator

Related Issue

No linked issue.

Problem

The shared tool service typing lived in a root-level runtime types module even though it is only used to wire built-in tool support through agent, session, and RPC paths. Moving it under tool support keeps the type near the code that owns those services while preserving the root public export.

What changed

Updated agent-core imports and the root type export to read shared tool service typing from the tool support layer, removed the old runtime types module, and updated the agent test harness import. Added a patch changeset for agent-core and the CLI bundle.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • Existing agent-core tests cover this internal type relocation; no new behavior test is needed.
  • Ran gen-changesets skill and added .changeset/tool-support-services.md.
  • This PR needs no doc update because it does not affect CLI behavior or user documentation.

@changeset-bot

changeset-bot Bot commented May 29, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 5b6f6f6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@moonshot-ai/agent-core Patch
@moonshot-ai/kimi-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented May 29, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@5b6f6f6
npx https://pkg.pr.new/@moonshot-ai/kimi-code@5b6f6f6

commit: 5b6f6f6

@kermanx
kermanx merged commit 07d51e4 into main May 29, 2026
7 checks passed
@kermanx
kermanx deleted the xtr/move-tool-services branch May 29, 2026 09:21
@github-actions github-actions Bot mentioned this pull request May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant