@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.
- package/index.d.ts +11 -7
- 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
|
|
171
|
-
export type AgentReasoningEffort =
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
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?:
|
|
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?:
|
|
246
|
+
reasoningEffort?: AgentReasoningEffort
|
|
243
247
|
}
|
|
244
248
|
|
|
245
249
|
export interface RunAgentOptions {
|