Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

feat(settings): Core vs Pro comparison with live remote-access meter

enesbf1326321661
diff --git a/src/renderer/components/UpgradeDialog.tsx b/src/renderer/components/UpgradeDialog.tsx
index b8f94ab5a..9d3310460 100644
--- a/src/renderer/components/UpgradeDialog.tsx
+++ b/src/renderer/components/UpgradeDialog.tsx
@@ -16,8 +16,9 @@ export function UpgradeDialog() {
<div className="confirm" onClick={(e) => e.stopPropagation()}>
<p className="confirm__msg">{feature} is a Pro feature</p>
<p className="confirm__msg">
- Unlock remote SSH terminals and other Pro features. Complete your purchase in the
- browser — Pro unlocks here automatically.
+ Pro unlocks unlimited remote access from your phone (free plan: 5 connections/month),
+ Team Access, and nodeterm mobile Pro. Complete your purchase in the browser — Pro
+ unlocks here automatically.
</p>
<div className="confirm__actions">
<button className="confirm__btn" onClick={hide}>
diff --git a/src/renderer/components/settings/sections/LicenseSection.tsx b/src/renderer/components/settings/sections/LicenseSection.tsx
index a852124dd..3fff071e6 100644
--- a/src/renderer/components/settings/sections/LicenseSection.tsx
+++ b/src/renderer/components/settings/sections/LicenseSection.tsx
@@ -3,13 +3,25 @@ import { useEntitlement } from '../../../state/entitlement'
import { SettingsSection } from '../SettingsSection'
import { SearchableRow } from '../SearchableRow'
import { FieldRow } from '../FieldRow'
+import { ProCompare } from './ProCompare'
import { Button } from '@renderer/ui/Button'
import { Input } from '@renderer/ui/Input'
const ROWS = {
license: {
title: 'License',
- keywords: ['pro', 'upgrade', 'license', 'key', 'subscription', 'activate']
+ keywords: [
+ 'pro',
+ 'upgrade',
+ 'license',
+ 'key',
+ 'subscription',
+ 'activate',
+ 'compare',
+ 'core',
+ 'remote access',
+ 'quota'
+ ]
}
}
const ENTRIES = Object.values(ROWS)
@@ -29,6 +41,7 @@ export function LicenseSection({ isActive }: { isActive: boolean }): React.JSX.E
<SearchableRow {...ROWS.license}>
{ent.isPremium ? (
<div className="space-y-3">
+ <ProCompare />
<p className="text-sm text-muted">
Pro — active
{ent.status.expiresAt
@@ -40,6 +53,7 @@ export function LicenseSection({ isActive }: { isActive: boolean }): React.JSX.E
</div>
) : (
<div className="space-y-3">
+ <ProCompare />
<Button
variant="primary"
onClick={() => {
diff --git a/src/renderer/components/settings/sections/ProCompare.tsx b/src/renderer/components/settings/sections/ProCompare.tsx
new file mode 100644
index 000000000..b4836e590
--- /dev/null
+++ b/src/renderer/components/settings/sections/ProCompare.tsx
@@ -0,0 +1,53 @@
+import { useEffect } from 'react'
+import { useRelayQuota } from '../../../state/relayQuota'
+
+const CORE = [
+ 'Unlimited local terminals & canvas',
+ 'Unlimited SSH projects',
+ 'Groups, worktrees, git & diff',
+ 'Agent nodes (Claude / Codex / Gemini)',
+ 'QR phone pairing on your LAN'
+]
+const PRO = [
+ 'Unlimited remote access from your phone',
+ 'Standing phone host (reachable anywhere)',
+ 'nodeterm mobile Pro included',
+ 'Team Access seats'
+]
+
+/** Core vs Pro comparison + the live free-tier remote-access meter. */
+export function ProCompare(): React.JSX.Element {
+ const status = useRelayQuota((s) => s.status)
+ const hydrate = useRelayQuota((s) => s.hydrate)
+ useEffect(() => {
+ void hydrate()
+ }, [hydrate])
+ return (
+ <div className="grid grid-cols-2 gap-4 text-sm">
+ <div className="space-y-2">
+ <h4 className="text-[13px] font-medium text-muted">Core — free forever</h4>
+ {CORE.map((f) => (
+ <p key={f} className="text-text">
+ ✓ {f}
+ </p>
+ ))}
+ {status && !status.unlimited ? (
+ <p className="text-muted">
+ ✓ Remote access — {status.used}/{status.limit} used this month
+ </p>
+ ) : null}
+ </div>
+ <div className="space-y-2">
+ <h4 className="text-[13px] font-medium" style={{ color: 'var(--accent)' }}>
+ Pro
+ </h4>
+ <p className="text-text">✓ Everything in Core</p>
+ {PRO.map((f) => (
+ <p key={f} className="text-text">
+ ✓ {f}
+ </p>
+ ))}
+ </div>
+ </div>
+ )
+}