staysfixed 0.1.0 → 0.1.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/CHANGELOG.md +1 -1
- package/README.md +11 -11
- package/package.json +1 -1
- package/src/cli/init.js +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -48,7 +48,7 @@ not been used by many people yet.
|
|
|
48
48
|
|
|
49
49
|
### Known limits
|
|
50
50
|
|
|
51
|
-
- Not published to npm yet. Run it from GitHub: `npx
|
|
51
|
+
- Not published to npm yet. Run it from GitHub: `npx staysfixed`.
|
|
52
52
|
- Approved pictures are tied to the operating system that took them. A picture
|
|
53
53
|
approved on macOS will not match on Linux.
|
|
54
54
|
- Untested on Windows.
|
package/README.md
CHANGED
|
@@ -28,13 +28,14 @@ can check. Only a human can approve.**
|
|
|
28
28
|
|
|
29
29
|
## Install and first run
|
|
30
30
|
|
|
31
|
-
**It is not on npm yet.** Run it from GitHub — that is the way to use it today:
|
|
32
|
-
|
|
33
31
|
```
|
|
34
|
-
npx
|
|
35
|
-
npx
|
|
32
|
+
npx staysfixed init
|
|
33
|
+
npx staysfixed check
|
|
36
34
|
```
|
|
37
35
|
|
|
36
|
+
No install, no account, no sign-up. It works in any project, in any language —
|
|
37
|
+
it only needs to be able to open your app.
|
|
38
|
+
|
|
38
39
|
`init` asks what your app is, writes a `staysfixed.config.js` you can read, makes
|
|
39
40
|
the `.staysfixed/` folder and adds the two lines to your `.gitignore` that keep
|
|
40
41
|
the throwaway results out of git.
|
|
@@ -44,15 +45,15 @@ nobody has approved any of them yet. Look at them, and approve the ones that are
|
|
|
44
45
|
right:
|
|
45
46
|
|
|
46
47
|
```
|
|
47
|
-
npx
|
|
48
|
+
npx staysfixed approve --all
|
|
48
49
|
```
|
|
49
50
|
|
|
50
51
|
From then on, `check` is silent unless something actually moved.
|
|
51
52
|
|
|
52
53
|
Requirements: **Node 22 or newer**, and a Chromium-based browser on the machine
|
|
53
54
|
(Chrome, Chromium, Edge or Brave — or, for a desktop app, the Chromium already
|
|
54
|
-
inside your Electron build). `npx
|
|
55
|
-
|
|
55
|
+
inside your Electron build). `npx staysfixed doctor` tells you what it
|
|
56
|
+
found and what it is missing.
|
|
56
57
|
|
|
57
58
|
Two runtime dependencies, `pngjs` and `pixelmatch`. No build step: the JavaScript
|
|
58
59
|
in the repository is the JavaScript that runs.
|
|
@@ -270,7 +271,7 @@ wired in, it can check before it tells you it is done.
|
|
|
270
271
|
Claude Code:
|
|
271
272
|
|
|
272
273
|
```
|
|
273
|
-
claude mcp add staysfixed -- npx -y
|
|
274
|
+
claude mcp add staysfixed -- npx -y staysfixed mcp
|
|
274
275
|
```
|
|
275
276
|
|
|
276
277
|
Cursor, Gemini CLI, and most other clients take the same block —
|
|
@@ -281,7 +282,7 @@ Cursor, Gemini CLI, and most other clients take the same block —
|
|
|
281
282
|
"mcpServers": {
|
|
282
283
|
"staysfixed": {
|
|
283
284
|
"command": "npx",
|
|
284
|
-
"args": ["-y", "
|
|
285
|
+
"args": ["-y", "staysfixed", "mcp"],
|
|
285
286
|
"cwd": "/absolute/path/to/your/project"
|
|
286
287
|
}
|
|
287
288
|
}
|
|
@@ -293,7 +294,7 @@ Codex keeps the same fields in TOML, in `~/.codex/config.toml`:
|
|
|
293
294
|
```toml
|
|
294
295
|
[mcp_servers.staysfixed]
|
|
295
296
|
command = "npx"
|
|
296
|
-
args = ["-y", "
|
|
297
|
+
args = ["-y", "staysfixed", "mcp"]
|
|
297
298
|
cwd = "/absolute/path/to/your/project"
|
|
298
299
|
```
|
|
299
300
|
|
|
@@ -501,7 +502,6 @@ That rule applies to the tool's own checks too.
|
|
|
501
502
|
|
|
502
503
|
Honestly, so you know before you invest an afternoon:
|
|
503
504
|
|
|
504
|
-
- **Not on npm yet.** Run it from GitHub: `npx github:asadev/staysfixed`.
|
|
505
505
|
- **No hosted service, no dashboard, no accounts, no teams, nothing paid.** It is
|
|
506
506
|
a command and a folder of files in your repository. There is no server
|
|
507
507
|
anywhere, and nothing is uploaded.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "staysfixed",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Prove that what already worked still works after an agent changed the code. Picture checks, guards for fixed bugs, a pre-release walkthrough, and known-good markers — as a CLI and as an MCP server.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
package/src/cli/init.js
CHANGED
|
@@ -298,8 +298,10 @@ function snippetFor(root, pkg) {
|
|
|
298
298
|
command = 'npx';
|
|
299
299
|
args = ['staysfixed', 'mcp'];
|
|
300
300
|
} else if (bin.includes(`${path.sep}_npx${path.sep}`)) {
|
|
301
|
+
// Run through npx and it was almost certainly fetched from npm, so tell people the
|
|
302
|
+
// short form rather than the path of a temporary folder that will not exist tomorrow.
|
|
301
303
|
command = 'npx';
|
|
302
|
-
args = ['
|
|
304
|
+
args = ['staysfixed', 'mcp'];
|
|
303
305
|
}
|
|
304
306
|
return mcpConfigSnippet({ command, args, cwd: root });
|
|
305
307
|
}
|