supbuddy 3.2.9 → 3.2.10

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.9".trim() || "0.0.0-dev";
19810
+ return "3.2.10".trim() || "0.0.0-dev";
19811
19811
  }
19812
19812
  function isDevBuild(env3) {
19813
19813
  return cliBuildKind(env3) === "dev";
@@ -44969,6 +44969,10 @@ async function daemonSyncStart(projectId, authority) {
44969
44969
  const m = await __vitePreload(() => Promise.resolve().then(() => projectSync), false ? __VITE_PRELOAD__ : void 0);
44970
44970
  return m.syncStart(syncDeps(), { projectId, authority });
44971
44971
  }
44972
+ async function daemonDetectGithubRepo(projectId) {
44973
+ const project = useStore.getState().getProject(projectId);
44974
+ return { githubRepo: await detectGithubRepo(project?.path) ?? null };
44975
+ }
44972
44976
  async function daemonSyncReattach() {
44973
44977
  const m = await __vitePreload(() => Promise.resolve().then(() => projectSync), false ? __VITE_PRELOAD__ : void 0);
44974
44978
  const known = useStore.getState().projects.filter((p) => p.cloud?.stackId && p.path).map((p) => ({
@@ -54485,6 +54489,17 @@ process.on("message", async (message) => {
54485
54489
  }
54486
54490
  break;
54487
54491
  }
54492
+ case "cloud:detect-repo": {
54493
+ try {
54494
+ const projectId = message.data?.projectId;
54495
+ if (typeof projectId !== "string" || !projectId) throw new Error("cloud:detect-repo requires a projectId");
54496
+ const data = await daemonDetectGithubRepo(projectId);
54497
+ process.send({ type: "cloud:detect-repo:response", _rid: message._rid, data });
54498
+ } catch (e) {
54499
+ process.send({ type: "cloud:detect-repo:response", _rid: message._rid, error: e.message });
54500
+ }
54501
+ break;
54502
+ }
54488
54503
  case "cloud:sign-in": {
54489
54504
  try {
54490
54505
  const state = await daemonCloudSignIn(message.data.email, message.data.password);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "supbuddy",
3
- "version": "3.2.9",
3
+ "version": "3.2.10",
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",