impeccable 4.8.2 → 4.9.1

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/README.repo.md CHANGED
@@ -204,6 +204,8 @@ The folders that hold decision-round state (`.impeccable/questions/`, `.impeccab
204
204
 
205
205
  **Build path.** For new landing pages and showcase surfaces, Impeccable can generate a full-fidelity comp first and build to match it (bolder, slower), or build straight in code (leaner, faster). App screens and documents are always built in code. `init` asks once and saves the answer as `buildPath` in `.impeccable/config.json`; the decision page lets you override it for one session. The choice only appears when your harness can generate images. [Image generation](https://impeccable.style/docs/image-generation) · [Configuration](https://impeccable.style/docs/config).
206
206
 
207
+ **Native apps.** Set `## Platform` in `PRODUCT.md` to `ios`, `android`, or `adaptive` (one Flutter or React Native codebase that follows each OS), and the design commands work from Apple's HIG or Material 3 instead of web conventions. `init` asks when it can't tell. `audit` and `adapt` switch to native versions, and the native audit reads SwiftUI, Compose, React Native, or Flutter source directly. The detector, live mode with its `generate` shortcut, and the edit hook stay web-only, because they work on HTML and CSS in a browser.
208
+
207
209
  **Hooks run outside model approval.** In Claude Code, installed command hooks run even when you deny the model's own commands, so the first edit can download the engine. Review installed hooks before unattended runs, or pass `--settings '{"disableAllHooks": true}'` to turn them off for a run. The installer leaves hook entries it didn't add alone.
208
210
 
209
211
  **Something broken?** `/impeccable doctor` finds stale context files, unused settings, and broken hooks. [Fix setup problems](https://impeccable.style/docs/doctor).
@@ -216,6 +218,12 @@ The folders that hold decision-round state (`.impeccable/questions/`, `.impeccab
216
218
  - [Changelog](https://impeccable.style/changelog) for what shipped.
217
219
  - Follow [@pbakaus](https://x.com/pbakaus) for release notes and new rules.
218
220
 
221
+ ## Sponsors
222
+
223
+ [![CI powered by Namespace](https://namespace.so/oss/badge.svg)](https://namespace.so/github-actions/?utm_source=oss&utm_campaign=impeccable)
224
+
225
+ Thanks to [Namespace](https://namespace.so) for sponsoring Impeccable's CI with fast Linux and Windows runners.
226
+
219
227
  ## License
220
228
 
221
229
  Apache 2.0. See [LICENSE](LICENSE). Impeccable started from Anthropic's [frontend-design](https://github.com/anthropics/skills/tree/main/skills/frontend-design) skill.
package/cli/bin/cli.js CHANGED
@@ -65,7 +65,18 @@ async function download() {
65
65
  throw new Error(`no checksum for engine ${VERSION} (${ASSET}) in ${MANIFEST}; refusing the unverified download`);
66
66
  }
67
67
  const res = await fetch(URL, { redirect: 'follow' });
68
- if (!res.ok) return null;
68
+ if (!res.ok) {
69
+ if (res.status >= 500 && res.status < 600) {
70
+ const host = new globalThis.URL(res.url).hostname;
71
+ const github = host === 'github.com' || host.endsWith('.github.com')
72
+ || host === 'githubusercontent.com' || host.endsWith('.githubusercontent.com');
73
+ const detail = github
74
+ ? `GitHub's downloads are failing right now (HTTP ${res.status} from ${host}). This is an outage on GitHub's side, not a problem with your setup or the CLI, so updating won't help. Check https://www.githubstatus.com and run the same command again once GitHub has recovered.`
75
+ : `${host} is failing right now (HTTP ${res.status}), a server error on ${host}'s side. Try again later.`;
76
+ process.stderr.write(`impeccable: could not download engine ${VERSION}: ${detail}\n`);
77
+ }
78
+ return null;
79
+ }
69
80
  const buf = Buffer.from(await res.arrayBuffer());
70
81
  if (createHash('sha256').update(buf).digest('hex') !== expected) {
71
82
  throw new Error(`checksum mismatch downloading ${URL}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impeccable",
3
- "version": "4.8.2",
3
+ "version": "4.9.1",
4
4
  "author": "Paul Bakaus",
5
5
  "description": "Design skills, commands, and anti-pattern detection for AI coding agents",
6
6
  "keywords": [
@@ -84,11 +84,11 @@
84
84
  "build:component-review": "bun scripts/build-component-review.mjs"
85
85
  },
86
86
  "optionalDependencies": {
87
- "@impeccable/cli-darwin-arm64": "0.1.21",
88
- "@impeccable/cli-darwin-x64": "0.1.21",
89
- "@impeccable/cli-linux-x64": "0.1.21",
90
- "@impeccable/cli-linux-arm64": "0.1.21",
91
- "@impeccable/cli-windows-x64": "0.1.21"
87
+ "@impeccable/cli-darwin-arm64": "0.1.24",
88
+ "@impeccable/cli-darwin-x64": "0.1.24",
89
+ "@impeccable/cli-linux-x64": "0.1.24",
90
+ "@impeccable/cli-linux-arm64": "0.1.24",
91
+ "@impeccable/cli-windows-x64": "0.1.24"
92
92
  },
93
93
  "devDependencies": {
94
94
  "@ai-sdk/anthropic": "^4.0.7",
@@ -2,8 +2,8 @@
2
2
  # The launchers, the npm shim, `impeccable install` and scripts/fetch-engine.mjs verify
3
3
  # every engine download against this file. Written by
4
4
  # `node scripts/check-engine-release.mjs --record` after each engine release.
5
- 0.1.21 impeccable-darwin-arm64 086fd22e54c445a0e792f66d2f168e35ec93f7c59054e1fde539d0d95b01ce41
6
- 0.1.21 impeccable-darwin-x64 bbcd4307b4dd7e0c8a3a264b880b5d73ae1971cc1d219677b6f7e044b9f05eb7
7
- 0.1.21 impeccable-linux-x64 579a0b6ff639ed28812ae632c556b6524a5b7d13fff4227cd3095a65554415b6
8
- 0.1.21 impeccable-linux-arm64 e2cda6ac3eefb1cdd51d147f6e897a19c773fe7bbfbdbd1361eef744d4137080
9
- 0.1.21 impeccable-windows-x64.exe 4cb1d921315e51ace39af5abbfd2e1be3c8624fcfc5074539f43ba894777fece
5
+ 0.1.24 impeccable-darwin-arm64 f5cc3923ac93fe9ec0a01449eb3b8f03859dae08a81959e4415333c042bc2f80
6
+ 0.1.24 impeccable-darwin-x64 970ce4d9fd38542b4f013acdcd8b4c5da36891a4c9e74c39915348fdaf601a1d
7
+ 0.1.24 impeccable-linux-x64 d317bd1be061fdc902c4dede7fdf1efd1f7744882fb511a1f962fcdc4eed5382
8
+ 0.1.24 impeccable-linux-arm64 34ef563966cb95c1b36c450ee626c727266763579fc5e95a9aef280b74875080
9
+ 0.1.24 impeccable-windows-x64.exe c4e71217677f53beaabec1cd4823a9bb2587355615f1170cf5508e69be4587bc