@agenticmail/enterprise 0.5.189 → 0.5.190
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.
|
@@ -177,9 +177,9 @@ export function DomainStatusPage() {
|
|
|
177
177
|
),
|
|
178
178
|
|
|
179
179
|
// ═══════════════════════════════════════════════
|
|
180
|
-
//
|
|
180
|
+
// CLOUDFLARE TUNNEL MANAGEMENT
|
|
181
181
|
// ═══════════════════════════════════════════════
|
|
182
|
-
|
|
182
|
+
h(DeployToProduction, { toast: toast, isLocalhost: isLocalhost }),
|
|
183
183
|
|
|
184
184
|
// ═══════════════════════════════════════════════
|
|
185
185
|
// SECTION 1: Current Deployment
|
|
@@ -510,7 +510,7 @@ function cliRow(label, cmd) {
|
|
|
510
510
|
|
|
511
511
|
// ─── Deploy to Production Component ─────────────────────
|
|
512
512
|
|
|
513
|
-
function DeployToProduction({ toast }) {
|
|
513
|
+
function DeployToProduction({ toast, isLocalhost }) {
|
|
514
514
|
var [expanded, setExpanded] = useState(false);
|
|
515
515
|
var [selectedMethod, setSelectedMethod] = useState(null);
|
|
516
516
|
// Cloudflare Tunnel state
|
|
@@ -579,10 +579,10 @@ function DeployToProduction({ toast }) {
|
|
|
579
579
|
h('div', { style: { display: 'flex', alignItems: 'center', justifyContent: 'space-between', cursor: 'pointer' }, onClick: function() { setExpanded(!expanded); } },
|
|
580
580
|
h('div', null,
|
|
581
581
|
h('div', { style: { fontSize: 16, fontWeight: 700, marginBottom: 4, display: 'flex', alignItems: 'center', gap: 8 } },
|
|
582
|
-
'\uD83D\uDE80 Deploy to Production',
|
|
583
|
-
h('span', { style: { fontSize: 10, padding: '2px 8px', borderRadius: 99, background: 'rgba(245,158,11,0.15)', color: 'var(--warning)', fontWeight: 600 } }, 'LOCALHOST'),
|
|
582
|
+
isLocalhost ? '\uD83D\uDE80 Deploy to Production' : '\u2601\uFE0F Tunnel & Deployment',
|
|
583
|
+
isLocalhost && h('span', { style: { fontSize: 10, padding: '2px 8px', borderRadius: 99, background: 'rgba(245,158,11,0.15)', color: 'var(--warning)', fontWeight: 600 } }, 'LOCALHOST'),
|
|
584
584
|
),
|
|
585
|
-
h('div', { style: { fontSize: 13, color: 'var(--text-muted)' } }, 'You\'re running locally. Deploy to a domain so your agents can be reached from anywhere.'),
|
|
585
|
+
h('div', { style: { fontSize: 13, color: 'var(--text-muted)' } }, isLocalhost ? 'You\'re running locally. Deploy to a domain so your agents can be reached from anywhere.' : 'Manage your Cloudflare Tunnel and deployment configuration.'),
|
|
586
586
|
),
|
|
587
587
|
h('span', { style: { fontSize: 18, color: 'var(--text-muted)', transform: expanded ? 'rotate(180deg)' : 'none', transition: 'transform 0.2s' } }, '\u25BC'),
|
|
588
588
|
),
|
package/package.json
CHANGED
|
@@ -177,9 +177,9 @@ export function DomainStatusPage() {
|
|
|
177
177
|
),
|
|
178
178
|
|
|
179
179
|
// ═══════════════════════════════════════════════
|
|
180
|
-
//
|
|
180
|
+
// CLOUDFLARE TUNNEL MANAGEMENT
|
|
181
181
|
// ═══════════════════════════════════════════════
|
|
182
|
-
|
|
182
|
+
h(DeployToProduction, { toast: toast, isLocalhost: isLocalhost }),
|
|
183
183
|
|
|
184
184
|
// ═══════════════════════════════════════════════
|
|
185
185
|
// SECTION 1: Current Deployment
|
|
@@ -510,7 +510,7 @@ function cliRow(label, cmd) {
|
|
|
510
510
|
|
|
511
511
|
// ─── Deploy to Production Component ─────────────────────
|
|
512
512
|
|
|
513
|
-
function DeployToProduction({ toast }) {
|
|
513
|
+
function DeployToProduction({ toast, isLocalhost }) {
|
|
514
514
|
var [expanded, setExpanded] = useState(false);
|
|
515
515
|
var [selectedMethod, setSelectedMethod] = useState(null);
|
|
516
516
|
// Cloudflare Tunnel state
|
|
@@ -579,10 +579,10 @@ function DeployToProduction({ toast }) {
|
|
|
579
579
|
h('div', { style: { display: 'flex', alignItems: 'center', justifyContent: 'space-between', cursor: 'pointer' }, onClick: function() { setExpanded(!expanded); } },
|
|
580
580
|
h('div', null,
|
|
581
581
|
h('div', { style: { fontSize: 16, fontWeight: 700, marginBottom: 4, display: 'flex', alignItems: 'center', gap: 8 } },
|
|
582
|
-
'\uD83D\uDE80 Deploy to Production',
|
|
583
|
-
h('span', { style: { fontSize: 10, padding: '2px 8px', borderRadius: 99, background: 'rgba(245,158,11,0.15)', color: 'var(--warning)', fontWeight: 600 } }, 'LOCALHOST'),
|
|
582
|
+
isLocalhost ? '\uD83D\uDE80 Deploy to Production' : '\u2601\uFE0F Tunnel & Deployment',
|
|
583
|
+
isLocalhost && h('span', { style: { fontSize: 10, padding: '2px 8px', borderRadius: 99, background: 'rgba(245,158,11,0.15)', color: 'var(--warning)', fontWeight: 600 } }, 'LOCALHOST'),
|
|
584
584
|
),
|
|
585
|
-
h('div', { style: { fontSize: 13, color: 'var(--text-muted)' } }, 'You\'re running locally. Deploy to a domain so your agents can be reached from anywhere.'),
|
|
585
|
+
h('div', { style: { fontSize: 13, color: 'var(--text-muted)' } }, isLocalhost ? 'You\'re running locally. Deploy to a domain so your agents can be reached from anywhere.' : 'Manage your Cloudflare Tunnel and deployment configuration.'),
|
|
586
586
|
),
|
|
587
587
|
h('span', { style: { fontSize: 18, color: 'var(--text-muted)', transform: expanded ? 'rotate(180deg)' : 'none', transition: 'transform 0.2s' } }, '\u25BC'),
|
|
588
588
|
),
|