fix(cli): stop agents command from being unrecognized (#16267) (#16293)

Merged via /review-pr -> /prepare-pr -> /merge-pr.

Prepared head SHA: d7288f57fada313b3f474f28d9fc62075025ae81
Co-authored-by: yinghaosang <261132136+yinghaosang@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
This commit is contained in:
yinghaosang
2026-02-15 02:01:47 +08:00
committed by GitHub
parent f5a4a202e5
commit 8852250192
2 changed files with 38 additions and 1 deletions

View File

@@ -78,7 +78,10 @@ const coreEntries: CoreCliEntry[] = [
},
},
{
commands: [{ name: "agent", description: "Agent commands" }],
commands: [
{ name: "agent", description: "Agent commands" },
{ name: "agents", description: "Manage isolated agents" },
],
register: async ({ program, ctx }) => {
const mod = await import("./register.agent.js");
mod.registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });