backstep 0.1.22 → 0.1.23

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/check.js CHANGED
@@ -84,7 +84,8 @@ export function check(dir, opts = {}) {
84
84
  // do with undo (ones that are broken, or need signing in) aren't Backstep's to list.
85
85
  export function printCheck(c, bs = "backstep") {
86
86
  const cols = width() - 6;
87
- const undoable = [...new Set(c.items.filter((i) => i.level === "undoable").map((i) => i.name))];
87
+ // Supabase is said once, in the databases line below.
88
+ const undoable = [...new Set(c.items.filter((i) => i.level === "undoable" && !SUPABASE.test(i.name)).map((i) => i.name))];
88
89
  const soon = [...new Set(c.items.filter((i) => i.level === "connect" && FIREBASE.test(i.name)).map((i) => i.name))];
89
90
  const supabase = c.items.find((i) => SUPABASE.test(i.name));
90
91
  const supabaseLeft = supabase?.level === "connect" || c.suggest.some((s) => s.title === "Connect Supabase");
@@ -92,6 +93,7 @@ export function printCheck(c, bs = "backstep") {
92
93
  console.log(`\n ${white(`What ${(undoKeys().length ? undoKeys() : [DEFAULT_KEY]).map(keyLabel).join(" or ")} can undo`)}`);
93
94
  console.log(` ${pink("✓")} Files Claude edits and commands it runs`);
94
95
  console.log(` ${pink("✓")} Code Claude pushes to GitHub ${dim("(automatic, nothing to connect)")}`);
96
+ console.log(` ${pink("✓")} Supabase and other databases ${dim(supabase?.level === "undoable" ? "(Supabase is connected)" : "(Backstep asks when you open a project that uses one)")}`);
95
97
  for (const n of undoable)
96
98
  console.log(` ${pink("✓")} ${n}`);
97
99
  for (const n of soon)
@@ -103,10 +105,6 @@ export function printCheck(c, bs = "backstep") {
103
105
  console.log(` ${pink("→")} Or just ask Claude: ${white('"connect Backstep to Supabase"')}`);
104
106
  console.log("");
105
107
  }
106
- else if (!supabase || supabase.level !== "undoable") {
107
- console.log(` ${dim(wrap("Use Supabase? Open your project in Claude Code and Backstep will check for it and offer to connect.", cols, 2))}`);
108
- console.log("");
109
- }
110
108
  if (c.suggest.some((s) => s.title === "Add Firebase")) {
111
109
  console.log(` ${white("Your project uses Firebase")}`);
112
110
  console.log(` ${pink("→")} Ask Claude: ${white('"connect Backstep to Firebase"')}`);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backstep",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
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.22",
3
+ "version": "0.1.23",
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": {