@ampcode/plugin 0.0.0-20260513003404-g32e421b → 0.0.0-20260515003227-g2c1f2a4
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.
- package/index.d.ts +3 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -48,6 +48,9 @@ declare module '@ampcode/plugin' {
|
|
|
48
48
|
isPluginUINotAvailableError: IsPluginUINotAvailableError
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
+
/** Platform UI capabilities */
|
|
52
|
+
ui: PluginUI
|
|
53
|
+
|
|
51
54
|
/**
|
|
52
55
|
* Register a handler for plugin events.
|
|
53
56
|
* For request events (e.g., tool.call), the handler must return a result.
|