@farmslot/review-dispatch 0.21.1 → 0.21.2

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/CHANGELOG.md CHANGED
@@ -2,20 +2,18 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
- - Share fleet workspace rows, safe bulk release, discard confirmation and recovery progress between both operator apps.
5
+ - Active-development baseline; add user-facing changes here before release or package publication.
6
6
 
7
- - Share plain CI-watch check counts, failing names, next poll and timeout countdown between both clients.
7
+ ## 0.21.2 - 2026-10-29
8
8
 
9
+ - The sign-out confirmation states how many unsaved edits on this device it deletes.
10
+ - Share fleet workspace rows, safe bulk release, discard confirmation and recovery progress between both operator apps.
11
+ - Share plain CI-watch check counts, failing names, next poll and timeout countdown between both clients.
9
12
  - Show completed checklist durations and live current-step elapsed time in both operator apps.
10
-
11
13
  - Share publication blocking while a review refresh is pending or failed.
12
-
13
14
  - Share current-checklist counts, item labels and attempt identity for run progress in both clients.
14
-
15
15
  - Show original and derived acceptance, source links, inherited proof, pending instructions and exclusions consistently in both clients.
16
16
 
17
- - Active-development baseline; add user-facing changes here before release or package publication.
18
-
19
17
  ## 0.21.1 - 2026-10-28
20
18
 
21
19
  - Update open fleet recovery views when background observations finish, retaining connection and release guards.
@@ -1,6 +1,8 @@
1
- export declare function accountSignOutConfirmation(app: string): {
1
+ /** `unsavedDrafts`: edits on this device that signing out deletes (ADR-009 Amendment 1). */
2
+ export declare function accountSignOutConfirmation(app: string, unsavedDrafts?: number): {
2
3
  readonly title: `Sign out of ${string}?`;
3
4
  readonly message: "You'll need your token to sign back in.";
5
+ readonly drafts: string;
4
6
  readonly cancel: "Cancel";
5
7
  readonly confirm: "Sign out";
6
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"account-session.d.ts","sourceRoot":"","sources":["../src/account-session.ts"],"names":[],"mappings":"AAAA,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,MAAM;;;;;EAOrD;AAED,wBAAsB,qBAAqB,CACzC,OAAO,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,EAC/B,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAC3B,OAAO,CAAC,IAAI,CAAC,CAEf"}
1
+ {"version":3,"file":"account-session.d.ts","sourceRoot":"","sources":["../src/account-session.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,SAAI;;;;;;EAWxE;AAED,wBAAsB,qBAAqB,CACzC,OAAO,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,EAC/B,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAC3B,OAAO,CAAC,IAAI,CAAC,CAEf"}
@@ -1,7 +1,11 @@
1
- export function accountSignOutConfirmation(app) {
1
+ /** `unsavedDrafts`: edits on this device that signing out deletes (ADR-009 Amendment 1). */
2
+ export function accountSignOutConfirmation(app, unsavedDrafts = 0) {
2
3
  return {
3
4
  title: `Sign out of ${app}?`,
4
5
  message: "You'll need your token to sign back in.",
6
+ drafts: unsavedDrafts > 0
7
+ ? `${unsavedDrafts} unsaved ${unsavedDrafts === 1 ? 'edit' : 'edits'} on this device will be deleted.`
8
+ : '',
5
9
  cancel: 'Cancel',
6
10
  confirm: 'Sign out',
7
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"account-session.js","sourceRoot":"","sources":["../src/account-session.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,0BAA0B,CAAC,GAAW;IACpD,OAAO;QACL,KAAK,EAAE,eAAe,GAAG,GAAG;QAC5B,OAAO,EAAE,yCAAyC;QAClD,MAAM,EAAE,QAAQ;QAChB,OAAO,EAAE,UAAU;KACX,CAAC;AACb,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,qBAAqB,CACzC,OAA+B,EAC/B,OAA4B;IAE5B,IAAI,MAAM,OAAO,EAAE;QAAE,MAAM,OAAO,EAAE,CAAC;AACvC,CAAC"}
1
+ {"version":3,"file":"account-session.js","sourceRoot":"","sources":["../src/account-session.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,MAAM,UAAU,0BAA0B,CAAC,GAAW,EAAE,aAAa,GAAG,CAAC;IACvE,OAAO;QACL,KAAK,EAAE,eAAe,GAAG,GAAG;QAC5B,OAAO,EAAE,yCAAyC;QAClD,MAAM,EACJ,aAAa,GAAG,CAAC;YACf,CAAC,CAAC,GAAG,aAAa,YAAY,aAAa,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,kCAAkC;YACtG,CAAC,CAAC,EAAE;QACR,MAAM,EAAE,QAAQ;QAChB,OAAO,EAAE,UAAU;KACX,CAAC;AACb,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,qBAAqB,CACzC,OAA+B,EAC/B,OAA4B;IAE5B,IAAI,MAAM,OAAO,EAAE;QAAE,MAAM,OAAO,EAAE,CAAC;AACvC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farmslot/review-dispatch",
3
- "version": "0.21.1",
3
+ "version": "0.21.2",
4
4
  "description": "Shared review and dispatch selection, validation, and view model",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -32,8 +32,8 @@
32
32
  "prepublishOnly": "node ../../scripts/quality/check-farmslot-package-readiness.mjs --publish --packages @farmslot/review-dispatch"
33
33
  },
34
34
  "dependencies": {
35
- "@farmslot/adapter-sdk": "0.25.1",
36
- "@farmslot/protocol": "0.73.1"
35
+ "@farmslot/adapter-sdk": "0.25.2",
36
+ "@farmslot/protocol": "0.74.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/node": "^22.0.0",