@ampcode/plugin 0.0.0-20260318001856-g7101e3d → 0.0.0-20260320001809-g233ce5d

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 +3 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -422,15 +422,15 @@ declare module '@ampcode/plugin' {
422
422
  * Event payload for tool.call event.
423
423
  * This is a request that expects a response from the handler.
424
424
  */
425
- export interface ToolCallEvent<T = string, I = Record<string, unknown>> {
425
+ export interface ToolCallEvent {
426
426
  /** Unique identifier for this tool use (e.g., "toolu_xxx") */
427
427
  toolUseID: string
428
428
 
429
429
  /** Name of the tool that will be executed */
430
- tool: T
430
+ tool: string
431
431
 
432
432
  /** Input arguments that will be passed to the tool */
433
- input: I
433
+ input: Record<string, unknown>
434
434
  }
435
435
 
436
436
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampcode/plugin",
3
- "version": "0.0.0-20260318001856-g7101e3d",
3
+ "version": "0.0.0-20260320001809-g233ce5d",
4
4
  "description": "Amp Plugin API",
5
5
  "homepage": "https://ampcode.com/manual/plugin-api",
6
6
  "author": {