@ampcode/plugin 0.0.0-20260914001942-g2c4dce3 → 0.0.0-20260916001641-g161c83a

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 +2 -1
  2. 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 thread has an active error.
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampcode/plugin",
3
- "version": "0.0.0-20260914001942-g2c4dce3",
3
+ "version": "0.0.0-20260916001641-g161c83a",
4
4
  "description": "Amp Plugin API",
5
5
  "homepage": "https://ampcode.com/docs/plugin-api",
6
6
  "author": {