kimi-code/packages/agent-core/test/harness
Haozhe 101c4d1997
feat(agent-core-v2): remove Agent and AgentSwarm from builtin profile tool lists (#2837)
* feat(agent-core-v2): remove Agent and AgentSwarm from builtin profile tool lists

The builtin agent and coder profiles no longer expose the Agent and
AgentSwarm tools, so sessions on the v2 engine do not offer subagent
delegation by default. The tools themselves remain registered; profiles
that list them explicitly can still opt in.

* feat(agent-core): remove Agent and AgentSwarm from builtin profile tool lists

Align the v1 builtin agent/coder profiles with the v2 change: the
default profiles no longer offer subagent delegation, while the tools
stay registered for profiles that list them explicitly.

The parity projection drops v1's inactive Agent/AgentSwarm roster
entries: v1 reports registered-but-inactive builtin tools where v2 only
registers the tools a profile lists, so an inactive entry has no v2
counterpart. Active entries still compare in full.

* fix: keep Agent and AgentSwarm in the builtin agent profile

Scope the removal to the coder subagent profile on both engines: the
main agent keeps Agent/AgentSwarm so default sessions can still
delegate, while coder subagents no longer spawn nested subagents by
default. Snapshots and token counts shift only for the embedded coder
tool list; the v1 parity projection needs no change since the main
agent rosters match again.
2026-08-12 11:41:02 +08:00
..
coder-subagent-tools.test.ts feat(agent-core-v2): remove Agent and AgentSwarm from builtin profile tool lists (#2837) 2026-08-12 11:41:02 +08:00
goal-session.test.ts fix(agent-core): continue goal pursuit when a goal turn hits the per-turn step limit (#2210) 2026-07-27 00:30:33 +08:00
model-alias-session.test.ts fix: consume the model metadata declared by the models.dev catalog (#2015) 2026-07-22 01:23:31 +08:00
plan-mode-session.test.ts ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
runtime-provider.test.ts fix(kosong): fail fast on quota-exhausted 429 instead of retrying (#1857) 2026-07-28 14:35:12 +08:00
runtime.test.ts feat: support plugin-contributed custom agents (#2365) 2026-07-29 21:59:48 +08:00
skill-session.test.ts feat(telemetry): emit turn_id and agent_id on turn and tool events (#1675) 2026-07-21 14:48:09 +08:00