@authorbot/schemas 0.1.19 → 0.1.21

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 +30 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -9,6 +9,36 @@ 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.21
13
+
14
+ - **Installing the GitHub App no longer lands you on a 404.** GitHub was asked
15
+ to run its OAuth flow during installation, which redirected to a callback
16
+ that cannot exist yet — the Worker's config needs the installation id that
17
+ installing is in the middle of producing. It now returns you to your book's
18
+ own site.
19
+ - **The agent stage stopped asking for a credential nobody has.** It wanted "a
20
+ maintainer token you already hold"; signing in gives you a session cookie and
21
+ nothing in Authorbot issues bearer tokens. It now prints a request you can
22
+ actually run from your signed-in site. (A create control on the settings page
23
+ is the real fix and is still to come.)
24
+ - Colour is drawn with chalk, so it adapts to what your terminal supports.
25
+
26
+ ## 0.1.20
27
+
28
+ - **The GitHub App key was stored in a format the Worker cannot read.** GitHub's
29
+ manifest hands back a PKCS#1 key; WebCrypto, which is all a Cloudflare Worker
30
+ has, can only import PKCS#8. So every book reported its integration as
31
+ `invalid` and did no Git work at all — chapters could not be saved, the
32
+ projection never ran, settings could not read `book.yml` — with all three
33
+ credentials present and correct. **Books set up before this release need
34
+ their GitHub App deleted and `collaborate` run again**, because the key was
35
+ stored once and cannot be re-read.
36
+ - The check meant to catch exactly that missed it: it listed the bad statuses
37
+ and `invalid` was not among them. It now accepts only `configured`.
38
+ - Pressing Esc at a prompt exits instead of hanging until Ctrl-C.
39
+ - `teardown` names the Cloudflare API token it cannot delete for you, and links
40
+ the GitHub App deletion straight to the page with the button on it.
41
+
12
42
  ## 0.1.19
13
43
 
14
44
  - Spinners with an elapsed timer on the steps that take minutes — installing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authorbot/schemas",
3
- "version": "0.1.19",
3
+ "version": "0.1.21",
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",