@authorbot/schemas 0.1.31 → 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 +48 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -9,6 +9,54 @@ 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
+
36
+ ## 0.1.32
37
+
38
+ - **Chapter navigation shows the work around each chapter.** Signed-in
39
+ collaborators now see separate, accessible counts for open suggestions,
40
+ block or range comments, whole-chapter comments, replies, and active Work on
41
+ the chapter list, current chapter, previous and next links, and Draft rows.
42
+ The counts come from one indexed database read instead of one request per
43
+ chapter.
44
+ - **Any open note can become Work with one click.** Maintainers can promote
45
+ suggestions and comments at chapter, block, or range scope without entering
46
+ a reason. Accepted cards settle into a compact green state, and Previous and
47
+ Next controls move through a chapter's notes without manual scrolling.
48
+ - **Upgrades repair their own lockfile.** `authorbot upgrade` now aligns the CLI
49
+ and API packages, refreshes `package-lock.json` with scripts disabled, checks
50
+ the resolved versions, and fails before changing the repository if npm cannot
51
+ produce a safe lockfile.
52
+ - The collaboration UI now has its first project-scoped `zustand/vanilla`
53
+ store for shared session and chapter-summary reads. Optimistic mutation and
54
+ event reconciliation remain explicitly staged as the next Phase 11
55
+ increment.
56
+ - This release includes database migration `0009_chapter_activity.sql`, which
57
+ adds indexes for the chapter activity aggregate. No book-format migration is
58
+ required.
59
+
12
60
  ## 0.1.31
13
61
 
14
62
  - **Suggestion cards take you back to the prose they reference.** Clicking a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authorbot/schemas",
3
- "version": "0.1.31",
3
+ "version": "0.1.33",
4
4
  "description": "Zod v4 schemas, inferred TypeScript types, and generated JSON Schemas for Authorbot book-repository artifacts (Phase 0 contract section 4)",
5
5
  "keywords": [
6
6
  "authorbot",