Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
address review: setup.sh anchor pwd + allow unsubscribe when sync off
Adam Eivy93df0892c524
diff --git a/client/src/components/sharing/SyncToPeerButton.jsx b/client/src/components/sharing/SyncToPeerButton.jsxindex 0cdc227137..ab8b27eb6d 100644--- a/client/src/components/sharing/SyncToPeerButton.jsx+++ b/client/src/components/sharing/SyncToPeerButton.jsx@@ -179,13 +179,22 @@ export default function SyncToPeerButton({? 'Peer is inbound-only': `${categoryLabel} sync off`)): null;+ // Allow UNSUBSCRIBE even when the peer can no longer receive+ // outbound pushes — the user may have a stranded subscription+ // from when sync was on, and disabling the row would leave+ // them unable to remove it. Subscribe-from-scratch still+ // requires canSync.+ const rowDisabled = busy || (!canSync && !subscribed);+ const titleHint = subscribed && !canSync+ ? `Unsubscribe — pushes are currently blocked (${disabledReason || 'sync disabled'}), but you can still remove the subscription.`+ : (disabledReason ? `${disabledReason}. Enable on the Instances page first.` : undefined);return (<li key={p.instanceId}><buttontype="button"onClick={() => handleToggle(p)}- disabled={busy || !canSync}- title={disabledReason ? `${disabledReason}. Enable on the Instances page first.` : undefined}+ disabled={rowDisabled}+ title={titleHint}className="w-full text-left px-3 py-2 hover:bg-port-bg disabled:opacity-50 disabled:cursor-not-allowed flex items-start gap-2"><span className="mt-0.5 shrink-0">diff --git a/setup.sh b/setup.shindex ebc36164c3..615e1ef93c 100755--- a/setup.sh+++ b/setup.sh@@ -1,6 +1,11 @@#!/bin/bashset -e+# Anchor to the script's own directory so relative paths (e.g. the+# `node -e import('./server/lib/tailscale.js')` detection below) work+# regardless of where the user invokes ./setup.sh from.+cd "$(dirname "$0")"+echo "==================================="echo " PortOS Setup"echo "==================================="