backstep 0.1.21 → 0.1.22

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/dist/setup.js CHANGED
@@ -13,7 +13,7 @@ import { sendInstall, telemetryOn } from "./telemetry.js";
13
13
  const ROOT = join(dirname(fileURLToPath(import.meta.url)), "..");
14
14
  function run(cmd, args) {
15
15
  const r = spawnSync(cmd, args, { encoding: "utf8" });
16
- return { ok: r.status === 0, out: `${r.stdout ?? ""}${r.stderr ?? ""}`.trim(), missing: r.error !== undefined };
16
+ return { ok: r.status === 0, out: `${r.stdout ?? ""}${r.stderr ?? ""}`.trim(), missing: Boolean(r.error) };
17
17
  }
18
18
  // npx runs us from a cache that gets cleaned, so the mod needs a lasting copy.
19
19
  // A global install also puts `backstep` on the PATH; where npm's global folder
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backstep",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "Press ctrl+z to rewind everything Claude did in its last turn: file edits, shell commands, and database and tool changes.",
5
5
  "types": "./types/index.d.ts",
6
6
  "userConfig": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backstep",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "Undo for everything your agents touch: an MCP proxy that makes agent actions reversible.",
5
5
  "homepage": "https://getbackstep.com",
6
6
  "scripts": {