impeccable 4.8.1 → 4.9.0

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 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.1",
3
+ "version": "4.9.0",
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.19",
88
- "@impeccable/cli-darwin-x64": "0.1.19",
89
- "@impeccable/cli-linux-x64": "0.1.19",
90
- "@impeccable/cli-linux-arm64": "0.1.19",
91
- "@impeccable/cli-windows-x64": "0.1.19"
87
+ "@impeccable/cli-darwin-arm64": "0.1.23",
88
+ "@impeccable/cli-darwin-x64": "0.1.23",
89
+ "@impeccable/cli-linux-x64": "0.1.23",
90
+ "@impeccable/cli-linux-arm64": "0.1.23",
91
+ "@impeccable/cli-windows-x64": "0.1.23"
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.19 impeccable-darwin-arm64 c35d0b0b250afceb5ab6ee7edfe190a04d76d25c56bac01935a7a1b06d0df818
6
- 0.1.19 impeccable-darwin-x64 df7c2b9cec89df54d1d9722a35aecc48b965dfad190c4ec2e766ce3f7743a544
7
- 0.1.19 impeccable-linux-x64 07b763dc00012e9acf219fe2d2e8980f0810fb8af2e4a41c090107a8351d412f
8
- 0.1.19 impeccable-linux-arm64 73b5662e42f060aba716016c34a7274cc49a998cd0d5da8b84a95d9e4edea729
9
- 0.1.19 impeccable-windows-x64.exe 30427e0cfea383a0adbc5cc554481c3f18337eeabcc4eaf7d9bb48ad2e8b5676
5
+ 0.1.23 impeccable-darwin-arm64 b10fccb5746fab4c6c5c0867a0ea51182ea0c8dbdfb292ac3d159adcbb2fa868
6
+ 0.1.23 impeccable-darwin-x64 9a025767a15e59312bcb5053c2b0533adbe3ff711c6c23ef0688d18924f98ec8
7
+ 0.1.23 impeccable-linux-x64 58cac6504fe29707bbf401fddaf2551b0690d278e845db4b9aaab416556f6ad7
8
+ 0.1.23 impeccable-linux-arm64 65f175146a808d5bc73363e7e129d13edc999d8f305440ea207bec921b26a391
9
+ 0.1.23 impeccable-windows-x64.exe e1364f415a838e080f394604f496bfa7dcc178c9bce62af673d54f2b5cbcd33c