@plannotator/pi-extension 0.28.34 → 0.28.35

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.
@@ -228,6 +228,14 @@ export interface UpdateState {
228
228
  * Inbox writes it; nothing here fetches an image.
229
229
  */
230
230
  releaseImagesFetch?: Record<string, { attemptedAt: number; failedAt?: number; error?: string }>;
231
+ /**
232
+ * Safe updates: installs of `version` whose download did not match the
233
+ * checksum Plannotator fetched (install.sh exit 113), counted once each.
234
+ * Background auto-update waits 1, then 3, then 7 days (and 7 after that)
235
+ * from the last one before trying that version again; a newer release is
236
+ * tried at once, and Update now / `plannotator update` always try.
237
+ */
238
+ mismatchBackoff?: { version: string; attempts: number; lastAttemptAt: number };
231
239
  }
232
240
 
233
241
  export function updateCheckPaths(dataDir: string = getPlannotatorDataDir()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plannotator/pi-extension",
3
- "version": "0.28.34",
3
+ "version": "0.28.35",
4
4
  "type": "module",
5
5
  "description": "Plannotator Pi extension - interactive plan review with annotations, annotate agent messages, and review code/PRs",
6
6
  "author": "backnotprop",