@ampcode/plugin 0.0.0-20260914001942-g2c4dce3 → 0.0.0-20260915001808-g793ad3d
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 +2 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1140,7 +1140,8 @@ declare module '@ampcode/plugin' {
|
|
|
1140
1140
|
* - `idle`: the agent is not working; the last turn (if any) has finished.
|
|
1141
1141
|
* - `running`: the agent is working (inference or tool execution in progress).
|
|
1142
1142
|
* - `awaiting-approval`: the agent is blocked waiting for a tool approval.
|
|
1143
|
-
* - `error`: the
|
|
1143
|
+
* - `error`: the turn stopped with an error that Amp will not retry on its own. A failed
|
|
1144
|
+
* inference turn with an automatic retry pending is reported as `running`.
|
|
1144
1145
|
*/
|
|
1145
1146
|
export type ThreadState = 'idle' | 'running' | 'awaiting-approval' | 'error'
|
|
1146
1147
|
|