@narumitw/pi-retry 0.1.17 → 0.1.19

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/README.md CHANGED
@@ -38,7 +38,7 @@ pi -e ./extensions/pi-retry
38
38
 
39
39
  When an assistant message ends with `stopReason: "error"` and the error message matches `Unknown error (no error details in response)`, the extension appends Pi's retryable-provider-error hint so Pi's built-in retry path can continue the turn.
40
40
 
41
- The extension does not keep a permanent statusline entry. It briefly shows `unknown-error retry: retrying` only when it has matched the error and asked Pi to retry.
41
+ The extension does not keep a permanent statusline entry. It briefly shows `🔁 retrying` only when it has matched the error and asked Pi to retry.
42
42
 
43
43
  ## 🧠 Use cases
44
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narumitw/pi-retry",
3
- "version": "0.1.17",
3
+ "version": "0.1.19",
4
4
  "description": "Public pi extension that retries empty-detail provider unknown errors.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -19,7 +19,7 @@ export default function unknownErrorRetry(pi: ExtensionAPI) {
19
19
  ui: { setStatus: (key: string, value: string | undefined) => void };
20
20
  }) => {
21
21
  if (clearStatusTimer) clearTimeout(clearStatusTimer);
22
- ctx.ui.setStatus(STATUS_KEY, "unknown-error retry: retrying");
22
+ ctx.ui.setStatus(STATUS_KEY, "🔁 retrying");
23
23
  clearStatusTimer = setTimeout(() => {
24
24
  clearStatusTimer = undefined;
25
25
  ctx.ui.setStatus(STATUS_KEY, undefined);