Repository navigation
v1.24.1
Fixes in embedded-agents
This release fixes findings that v1.24.0's review listed instead of fixing.
The MCP discovery scripts work from a plugin install. discover-mcp-tools-messages-api.mjs and discover-mcp-tools-agent-sdk.mjs now load their SDK from your app, the folder you run them in. Before, they looked in the skill's own folder, which has no node_modules when the skill comes from a plugin, so they failed with ERR_MODULE_NOT_FOUND. If the app lacks the package, they now name the install command.
Managed Agents: a consultation stops when the lead's turn ends. Before, a specialist still running when the lead timed out kept going and could propose an action after the page's last confirm cards arrived. A specialist tool that was already running can still finish.
Agent SDK: listing Agent or Task in allowedTools is now an error. The wrapper used to drop both silently, so native subagents vanished without a word. The error names askSpecialist, the supported way for one agent to consult another.
Smaller corrections in the references:
- Messages API and Agent SDK: the picker bullet says the route leaves out a specialist only agents talk to.
- Managed Agents: reloading the transcript doesn't redraw links or cards the app drew.
What to do:
- Installed as packs: update as usual. In Claude Code, use
/plugin→ Marketplaces → Update marketplace. In Codex, runcodex plugin marketplace upgrade product-engineering, then start a new session. - Your app copied the Managed Agents or Agent SDK wrapper: compare your
src/lib/agent.tsandtests/unit/agent.test.tswith the skill's templates, and take the changes. On the Agent SDK, removeAgentorTaskfrom any agent'sallowedToolsfirst, or that agent now refuses to start.
Reviewed in rounds 208 and 209.