supbuddy 3.1.8 → 3.1.9
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 +1 -1
- package/dist/daemon/worker.cjs +10 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -43540,7 +43540,7 @@ function cliBuildKind(env3 = process.env) {
|
|
|
43540
43540
|
return raw === "host" || raw === "npm" ? raw : "dev";
|
|
43541
43541
|
}
|
|
43542
43542
|
function cliVersion(env3 = process.env) {
|
|
43543
|
-
return "3.1.
|
|
43543
|
+
return "3.1.9".trim() || "0.0.0-dev";
|
|
43544
43544
|
}
|
|
43545
43545
|
function isDevBuild(env3) {
|
|
43546
43546
|
return cliBuildKind(env3) === "dev";
|
package/dist/daemon/worker.cjs
CHANGED
|
@@ -51544,7 +51544,16 @@ async function handleStartProxy() {
|
|
|
51544
51544
|
if (!alreadyRunning) {
|
|
51545
51545
|
await startCaddyServer();
|
|
51546
51546
|
}
|
|
51547
|
-
|
|
51547
|
+
const pfWanted = store2.proxyState.portForwardingEnabled === true;
|
|
51548
|
+
const redirectOkNow = !pfWanted || await probe443().catch(() => false);
|
|
51549
|
+
const servingNow = await probePort(store2.settings.httpsPort).catch(() => false);
|
|
51550
|
+
const privilegedFailureMatters = !!privilegedFailure && !(servingNow && redirectOkNow);
|
|
51551
|
+
if (privilegedFailure && !privilegedFailureMatters) {
|
|
51552
|
+
console.warn(
|
|
51553
|
+
`[Proxy] privileged setup could not run (${privilegedFailure}) — but the proxy is serving and the redirect is enforced, so nothing is broken. Not reporting a fault.`
|
|
51554
|
+
);
|
|
51555
|
+
}
|
|
51556
|
+
if (privilegedFailureMatters) {
|
|
51548
51557
|
lastPrivilegedError = privilegedFailure;
|
|
51549
51558
|
store2.setProxyFields({ networkingDegraded: true, needsPrivilegedRepair: true });
|
|
51550
51559
|
const httpsAlive = await probePort(store2.settings.httpsPort).catch(() => false);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supbuddy",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.9",
|
|
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",
|