@ampcode/plugin 0.0.0-20260611025527-ge01a364 → 0.0.0-20260612025159-g6d2b3bd

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 +11 -7
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -167,11 +167,15 @@ declare module '@ampcode/plugin' {
167
167
  threads: PluginThreads
168
168
  }
169
169
 
170
- /** Reasoning effort levels supported by custom plugin agents. */
171
- export type AgentReasoningEffort = 'none' | 'minimal' | 'low' | 'medium' | 'high'
172
-
173
- /** Reasoning effort levels supported by built-in agent modes. */
174
- export type BuiltinAgentReasoningEffort = AgentReasoningEffort | 'xhigh' | 'max'
170
+ /** Reasoning effort levels supported by plugin agents, for models that support them. */
171
+ export type AgentReasoningEffort =
172
+ | 'none'
173
+ | 'minimal'
174
+ | 'low'
175
+ | 'medium'
176
+ | 'high'
177
+ | 'xhigh'
178
+ | 'max'
175
179
 
176
180
  /** Amp built-in agent modes available to plugins. */
177
181
  export type BuiltinAgentMode = 'smart' | 'deep' | 'rush'
@@ -232,14 +236,14 @@ declare module '@ampcode/plugin' {
232
236
  readonly kind: 'builtin-agent'
233
237
  mode: BuiltinAgentMode
234
238
  /** Reasoning effort pinned on threads spawned from this agent. */
235
- reasoningEffort?: BuiltinAgentReasoningEffort
239
+ reasoningEffort?: AgentReasoningEffort
236
240
  }
237
241
 
238
242
  export type AgentDefinition = CustomAgentDefinition | BuiltinAgentDefinition
239
243
 
240
244
  export interface GetBuiltinAgentOptions {
241
245
  /** Reasoning effort pinned on threads spawned from this agent. */
242
- reasoningEffort?: BuiltinAgentReasoningEffort
246
+ reasoningEffort?: AgentReasoningEffort
243
247
  }
244
248
 
245
249
  export interface RunAgentOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampcode/plugin",
3
- "version": "0.0.0-20260611025527-ge01a364",
3
+ "version": "0.0.0-20260612025159-g6d2b3bd",
4
4
  "description": "Amp Plugin API",
5
5
  "homepage": "https://ampcode.com/manual/plugin-api",
6
6
  "author": {