@ampcode/plugin 0.0.0-20260907001852-gf348fed → 0.0.0-20260909001753-g82ca44d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +9 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -369,6 +369,15 @@ declare module '@ampcode/plugin' {
369
369
  * Tools available to this agent. Use 'all' for its provider-appropriate built-in tools
370
370
  * plus plugin, MCP, and remote tools available in its runtime.
371
371
  *
372
+ * An array or an explicit `include` array replaces the default tool list, including
373
+ * delegation tools. Use `add` to extend the default list; `exclude` always wins.
374
+ * Loading a skill does not grant tools omitted from an explicit list.
375
+ *
376
+ * Include `create_thread` for persistent child threads with a selected `agent_mode`,
377
+ * and the coordination tools your workflow needs: `list_agent_modes`, `get_thread_status`,
378
+ * `send_thread_message`, and `wait_for_threads`. `Task` runs a scoped subagent instead
379
+ * and does not accept a per-call agent mode.
380
+ *
372
381
  * Explicit tool lists (arrays and `include`/`exclude` entries) match tool names as
373
382
  * glob patterns: `mcp__*` matches all MCP tools (named `mcp__<server>__<tool>`), and
374
383
  * `plugin__*` matches all plugin tools (also matched as `plugin__<pluginName>__<toolName>`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampcode/plugin",
3
- "version": "0.0.0-20260907001852-gf348fed",
3
+ "version": "0.0.0-20260909001753-g82ca44d",
4
4
  "description": "Amp Plugin API",
5
5
  "homepage": "https://ampcode.com/docs/plugin-api",
6
6
  "author": {