Skip to content

v1.24.1

Choose a tag to compare

@phuryn phuryn released this 26 Nov 14:19
· 13 commits to main since this release

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, run codex 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.ts and tests/unit/agent.test.ts with the skill's templates, and take the changes. On the Agent SDK, remove Agent or Task from any agent's allowedTools first, or that agent now refuses to start.

Reviewed in rounds 208 and 209.