@davmash/bygone 0.8.3 → 0.8.5

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,6 +2,16 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.8.5
6
+
7
+ - Fixed Homebrew cask `bygone` CLI launch on Apple Silicon by routing through a bundle-aware launcher script inside the app
8
+ - Documented the macOS **“app is damaged”** workaround for unsigned desktop downloads (README, releasing docs, PR Tour Guide skill)
9
+
10
+ ## 0.8.4
11
+
12
+ - Clarified PR Tour Guide skill install commands for project scope and agent-specific global installs
13
+ - Documented PromptScript-safe installation (`-y` without bare `-g`) to avoid spurious global-install failures from the skills CLI
14
+
5
15
  ## 0.8.3
6
16
 
7
17
  - Fixed tour anchor gutter markers so active and persistent anchors are visibly rendered by Monaco, including after switching files in stacked tours
package/README.md CHANGED
@@ -119,10 +119,14 @@ Packaged macOS builds register `.bygone` with the desktop app, so Finder can ope
119
119
 
120
120
  Agents can validate anchors and structure with `bygone tour validate <file.bygone> --json`, compile a portable manifest with `bygone tour compile`, and retrieve the authoring contract with `bygone tour schema`. See [Generating change tours with an LLM](./docs/generating-change-tours.md).
121
121
 
122
- Install the agent skill (Cursor, Codex, Claude Code, and other supported agents):
122
+ Install the agent skill:
123
123
 
124
124
  ```bash
125
- npx skills add davidmashburn/bygone -s pr-tour-guide -g -y
125
+ # project scope (PromptScript-safe; committed with the repo if you run it here)
126
+ npx skills add davidmashburn/bygone -s pr-tour-guide -y
127
+
128
+ # global scope — name agents to avoid PromptScript global-install noise
129
+ npx skills add davidmashburn/bygone -s pr-tour-guide -g -y -a cursor codex claude-code
126
130
  ```
127
131
 
128
132
  The skill includes Bygone install instructions for macOS Homebrew, npm, and source checkouts. It also ships inside the `@davmash/bygone` npm package under `skills/pr-tour-guide/`. Source: [`pr-tour-guide` skill](./skills/pr-tour-guide/SKILL.md).
@@ -133,6 +137,19 @@ Contributors should consult the internal [product surface overview](./docs/produ
133
137
 
134
138
  The desktop app also includes `Help -> Install Command Line Tools...` for non-npm installs. Homebrew cask installs can provide the `bygone` command automatically.
135
139
 
140
+ ### macOS says the app is damaged
141
+
142
+ Downloads from GitHub or Homebrew are **unsigned** (no Apple Developer ID signature yet). macOS Gatekeeper then shows a misleading **“damaged”** dialog.
143
+
144
+ **Workaround (unsigned desktop builds):**
145
+
146
+ ```bash
147
+ xattr -cr /Applications/Bygone.app
148
+ open /Applications/Bygone.app
149
+ ```
150
+
151
+ Or right-click the app → **Open** once, or allow it under **System Settings → Privacy & Security**.
152
+
136
153
  ## Package For External Use
137
154
 
138
155
  This repo is set up for local/private packaging. A typical release flow is:
@@ -7,7 +7,11 @@ For agents that support repository skills, use the agent-agnostic [`pr-tour-guid
7
7
  Install it with the skills CLI:
8
8
 
9
9
  ```sh
10
- npx skills add davidmashburn/bygone -s pr-tour-guide -g -y
10
+ # project scope (works with PromptScript)
11
+ npx skills add davidmashburn/bygone -s pr-tour-guide -y
12
+
13
+ # global scope — pass -a so PromptScript is not included
14
+ npx skills add davidmashburn/bygone -s pr-tour-guide -g -y -a cursor codex claude-code
11
15
  ```
12
16
 
13
17
  The skill documents how to install Bygone itself when the CLI is missing.
package/docs/releasing.md CHANGED
@@ -190,6 +190,34 @@ That path must point at a local git checkout of the tap repo. The script writes:
190
190
 
191
191
  and then commits and pushes that tap repo.
192
192
 
193
+ ## macOS Unsigned Desktop Builds
194
+
195
+ Published macOS desktop builds are currently **unsigned and not notarized**. After download, Gatekeeper often shows a misleading **“Bygone is damaged”** dialog.
196
+
197
+ ### End-user workaround
198
+
199
+ ```bash
200
+ xattr -cr /Applications/Bygone.app
201
+ open /Applications/Bygone.app
202
+ ```
203
+
204
+ Or right-click the app → **Open** once, or allow it under **System Settings → Privacy & Security**.
205
+
206
+ Document this for users in release notes when shipping desktop updates.
207
+
208
+ ### Future signing (not enabled)
209
+
210
+ Signing helpers are shelved until Apple Developer Program membership is active. They are **not** wired into `release:publish` today.
211
+
212
+ When ready to enable:
213
+
214
+ - Config: `packaging/macos/electron-builder.signing.json`
215
+ - Optional manual builds: `npm run package:desktop:mac:release`
216
+ - Verification: `npm run release:verify-macos` or `node scripts/verify-macos-signing.mjs`
217
+ - Re-enable checks in `scripts/release.mjs` (see git history)
218
+
219
+ Credentials needed later: Developer ID Application cert (`CSC_NAME` / `CSC_LINK`) plus notarization (`APPLE_API_KEY` trio, or `APPLE_ID` + app-specific password + team ID).
220
+
193
221
  ## Recommended Release Flow
194
222
 
195
223
  ### Step 1. Confirm the version
@@ -223,7 +251,6 @@ This builds:
223
251
  - macOS desktop artifacts
224
252
  - Linux AppImage
225
253
  - Windows artifacts
226
- - Homebrew style validation, if `brew` is available
227
254
 
228
255
  If local packaging is partially unavailable, use the lower-level script:
229
256
 
@@ -312,6 +339,10 @@ node ./scripts/release.mjs --skip-dmg
312
339
 
313
340
  Then fix the local DMG toolchain before attempting a full publish.
314
341
 
342
+ ### macOS says the app is damaged after install
343
+
344
+ This is expected for unsigned desktop builds. See [macOS Unsigned Desktop Builds](#macos-unsigned-desktop-builds).
345
+
315
346
  ### Windows packaging fails locally
316
347
 
317
348
  Use:
@@ -8798,7 +8798,7 @@ var require_package = __commonJS({
8798
8798
  displayName: "Bygone",
8799
8799
  desktopName: "com.davidmashburn.bygone.desktop",
8800
8800
  description: "See how change happened. Visual diff and file history for VS Code.",
8801
- version: "0.8.3",
8801
+ version: "0.8.5",
8802
8802
  author: "David Mashburn",
8803
8803
  license: "MIT",
8804
8804
  private: false,
@@ -8991,7 +8991,9 @@ var require_package = __commonJS({
8991
8991
  "web:start": "npm run compile && node ./scripts/web-server.mjs",
8992
8992
  "package:desktop": "npm run package:desktop:mac",
8993
8993
  "package:desktop:mac": "npm run compile && electron-builder --mac dmg --publish never",
8994
+ "package:desktop:mac:release": "npm run compile && electron-builder --mac dmg --publish never --config packaging/macos/electron-builder.signing.json",
8994
8995
  "package:desktop:mac:zip": "npm run compile && electron-builder --mac zip --publish never",
8996
+ "package:desktop:mac:zip:release": "npm run compile && electron-builder --mac zip --publish never --config packaging/macos/electron-builder.signing.json",
8995
8997
  "package:desktop:linux": "npm run compile && electron-builder --linux AppImage --publish never",
8996
8998
  "package:desktop:win": "npm run compile && electron-builder --win --publish never",
8997
8999
  "package:desktop:all": "npm run compile && electron-builder --mac --win --linux AppImage --publish never",
@@ -9007,6 +9009,7 @@ var require_package = __commonJS({
9007
9009
  "release:check": "npm run security:audit && npm test && npm run bundle:check && npm run lint && npm run package:vsix && npm run package:npm && npm run package:npm:dry-run",
9008
9010
  "release:build": "node ./scripts/release.mjs",
9009
9011
  "release:publish": "node ./scripts/release.mjs --publish",
9012
+ "release:verify-macos": "node ./scripts/verify-macos-signing.mjs --require-notarized",
9010
9013
  lint: "eslint . --max-warnings=0",
9011
9014
  "lint:fix": "eslint . --fix",
9012
9015
  watch: "tsc -watch -p ./",
@@ -9036,6 +9039,10 @@ var require_package = __commonJS({
9036
9039
  {
9037
9040
  from: "completions",
9038
9041
  to: "completions"
9042
+ },
9043
+ {
9044
+ from: "packaging/homebrew/bygone-launcher.sh",
9045
+ to: "bygone-launcher.sh"
9039
9046
  }
9040
9047
  ],
9041
9048
  extraMetadata: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@davmash/bygone",
3
- "version": "0.8.3",
3
+ "version": "0.8.5",
4
4
  "description": "See how change happened. Visual diff and file history.",
5
5
  "author": "David Mashburn",
6
6
  "license": "MIT",
@@ -9,10 +9,28 @@ Use Bygone as the deterministic evidence and rendering layer. Treat the language
9
9
 
10
10
  ## Install this skill
11
11
 
12
- For Cursor, Codex, Claude Code, and other agents supported by the skills CLI:
12
+ Install with the [skills CLI](https://skills.sh). Prefer **project** scope (default) or name agents explicitly on **global** installs — bare `-g` fans out to every detected host, and PromptScript only supports project-level skills, which produces a spurious failure line.
13
+
14
+ **This repo / PromptScript / team-shared (project scope):**
15
+
16
+ ```sh
17
+ npx skills add davidmashburn/bygone -s pr-tour-guide -y
18
+ ```
19
+
20
+ Installs to `.agents/skills/pr-tour-guide` (or your agent's project skills directory).
21
+
22
+ **Global, all projects (pick your agents):**
13
23
 
14
24
  ```sh
15
- npx skills add davidmashburn/bygone -s pr-tour-guide -g -y
25
+ npx skills add davidmashburn/bygone -s pr-tour-guide -g -y -a cursor codex claude-code
26
+ ```
27
+
28
+ Add or remove agent names for the tools you use. Omit `-a` only if you accept PromptScript possibly printing `does not support global skill installation` even when other agents succeeded.
29
+
30
+ **PromptScript only:**
31
+
32
+ ```sh
33
+ npx skills add davidmashburn/bygone -s pr-tour-guide -y -a promptscript
16
34
  ```
17
35
 
18
36
  List without installing:
@@ -24,7 +42,7 @@ npx skills add davidmashburn/bygone --list
24
42
  From a Bygone source checkout, install the local copy instead:
25
43
 
26
44
  ```sh
27
- npx skills add ./skills/pr-tour-guide -g -y
45
+ npx skills add ./skills/pr-tour-guide -y
28
46
  ```
29
47
 
30
48
  ## Install Bygone
@@ -48,6 +66,13 @@ npm install -g @davmash/bygone
48
66
 
49
67
  **macOS without Homebrew:** download the DMG from [GitHub Releases](https://github.com/davidmashburn/bygone/releases), then choose **Help → Install Command Line Tools…** in the app.
50
68
 
69
+ If macOS reports the app is **damaged**, the build is likely unsigned. Clear quarantine and open once:
70
+
71
+ ```sh
72
+ xattr -cr /Applications/Bygone.app
73
+ open /Applications/Bygone.app
74
+ ```
75
+
51
76
  **From a Bygone source checkout:**
52
77
 
53
78
  ```sh