supbuddy 3.2.7 → 3.2.8

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/bin.js CHANGED
@@ -19807,7 +19807,7 @@ function cliBuildKind(env3 = process.env) {
19807
19807
  return raw === "host" || raw === "npm" ? raw : "dev";
19808
19808
  }
19809
19809
  function cliVersion(env3 = process.env) {
19810
- return "3.2.7".trim() || "0.0.0-dev";
19810
+ return "3.2.8".trim() || "0.0.0-dev";
19811
19811
  }
19812
19812
  function isDevBuild(env3) {
19813
19813
  return cliBuildKind(env3) === "dev";
@@ -44970,7 +44970,7 @@ async function daemonSyncStart(projectId, authority) {
44970
44970
  return m.syncStart(syncDeps(), { projectId, authority });
44971
44971
  }
44972
44972
  async function daemonSyncReattach() {
44973
- const m = await __vitePreload(() => Promise.resolve().then(() => daemonSync), false ? __VITE_PRELOAD__ : void 0);
44973
+ const m = await __vitePreload(() => Promise.resolve().then(() => projectSync), false ? __VITE_PRELOAD__ : void 0);
44974
44974
  const known = useStore.getState().projects.filter((p) => p.cloud?.stackId && p.path).map((p) => ({
44975
44975
  projectId: p.id,
44976
44976
  stackId: p.cloud.stackId,
@@ -44979,7 +44979,7 @@ async function daemonSyncReattach() {
44979
44979
  authority: "cloud"
44980
44980
  }));
44981
44981
  if (known.length === 0) return [];
44982
- return m.reattachSessions(syncDeps(), known);
44982
+ return m.syncReattach(syncDeps(), known);
44983
44983
  }
44984
44984
  async function daemonSyncStatus(projectId) {
44985
44985
  const m = await __vitePreload(() => Promise.resolve().then(() => projectSync), false ? __VITE_PRELOAD__ : void 0);
@@ -57370,17 +57370,6 @@ async function reattachSessions(deps, known) {
57370
57370
  }
57371
57371
  return reattached;
57372
57372
  }
57373
- function __resetSessionsForTest() {
57374
- sessions.clear();
57375
- }
57376
- const daemonSync = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
57377
- __proto__: null,
57378
- __resetSessionsForTest,
57379
- projectSyncStatus,
57380
- reattachSessions,
57381
- startProjectSync,
57382
- stopProjectSync
57383
- }, Symbol.toStringTag, { value: "Module" }));
57384
57373
  function syncDataDir() {
57385
57374
  const override = nodeProcess.env.SUPBUDDY_STATE_DIR;
57386
57375
  if (override) return override;
@@ -57403,6 +57392,9 @@ const toDaemonDeps = (d) => ({
57403
57392
  fetchTailnetKey: d.fetchTailnetKey,
57404
57393
  runMutagen: d.runMutagen
57405
57394
  });
57395
+ async function syncReattach(deps, known) {
57396
+ return reattachSessions(toDaemonDeps(deps), known);
57397
+ }
57406
57398
  async function syncStart(deps, args) {
57407
57399
  const ctx = await deps.resolveProject(args.projectId);
57408
57400
  return startProjectSync(toDaemonDeps(deps), {
@@ -57423,6 +57415,7 @@ const projectSync = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
57423
57415
  __proto__: null,
57424
57416
  clientHostname,
57425
57417
  syncDataDir,
57418
+ syncReattach,
57426
57419
  syncStart,
57427
57420
  syncStatus,
57428
57421
  syncStop
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "supbuddy",
3
- "version": "3.2.7",
3
+ "version": "3.2.8",
4
4
  "description": "Run multiple Supabase projects at once on custom local domains with HTTPS. A headless CLI and daemon (proxy, DNS, Supabase/Compose lifecycle, MCP) for macOS and Linux.",
5
5
  "keywords": [
6
6
  "supabase",