@authorbot/domain 0.1.32 → 0.1.33

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/CHANGELOG.md +24 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -9,6 +9,30 @@ Every published package shares this version. A tag builds, tests, and publishes
9
9
  all of them together, so `@authorbot/cli@0.1.15` and `@authorbot/api@0.1.15` are
10
10
  always the same commit.
11
11
 
12
+ ## 0.1.33
13
+
14
+ - **Collaboration state now stays coherent across the whole site.** Account,
15
+ chapter, annotation, reply, vote, Work, operation, and lease state share one
16
+ lazily loaded browser store. Writes update the page immediately, reconcile
17
+ against authoritative responses and events, and roll back honestly when a
18
+ request fails.
19
+ - **New Work claims can recover without persisting lease secrets.** A client
20
+ that loses an in-memory lease token can rotate it through a new
21
+ credential-bound recovery endpoint. Only the exact browser session or agent
22
+ token that made the claim can recover it, and recovery cannot renew or revive
23
+ an expired lease. Claims already live when a book upgrades have no credential
24
+ binding; release and claim them again before relying on recovery.
25
+ - **Live collaboration uses fewer requests and exposes less state.** Concurrent
26
+ reads are coalesced, event streams restart when authorization changes, and
27
+ anonymous or signed-in nonmember event polling receives only explicitly
28
+ reviewed public event types and payload fields.
29
+ - Background synchronization no longer tears down a sign-in form or editor
30
+ while someone is using it. Optimistic voting, replies, notes, drafts, and
31
+ Work actions retain focus and settle against the same shared state.
32
+ - The collaborator skill documents lost-token recovery and safe retry behavior.
33
+ No book-format migration or D1 database migration is required for this
34
+ release.
35
+
12
36
  ## 0.1.32
13
37
 
14
38
  - **Chapter navigation shows the work around each chapter.** Signed-in
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authorbot/domain",
3
- "version": "0.1.32",
3
+ "version": "0.1.33",
4
4
  "description": "Pure domain logic for Authorbot: role/scope authorization, annotation and Git-operation state machines, command validators, and token/session value rules (Phase 2 contract section 3)",
5
5
  "keywords": [
6
6
  "authorbot",
@@ -40,7 +40,7 @@
40
40
  ],
41
41
  "dependencies": {
42
42
  "zod": "^4.0.0",
43
- "@authorbot/schemas": "0.1.32"
43
+ "@authorbot/schemas": "0.1.33"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/node": "^22.0.0",