[eric] merge free-trial + value-first onboarding (flag off, reorder gated so no-trial = today's flow)

# Conflicts:
#	frontend/src/app/pages/AgentChat/bubbles/MessageBubble.tsx
This commit is contained in:
ciregenz
2026-06-10 23:20:18 -07:00
24 changed files with 662 additions and 85 deletions
+5 -1
View File
@@ -57,9 +57,13 @@ export interface AppSettings {
dev_mode: boolean;
allow_experimental_updates: boolean;
/** Managed subscription state; surfaces only when user has subscribed via cloud. */
connection_mode?: 'own_key' | 'openswarm-pro';
connection_mode?: 'own_key' | 'openswarm-pro' | 'free-trial';
openswarm_bearer_token?: string | null;
openswarm_proxy_url?: string | null;
/** Zero-config free trial: server-owned, set by the cloud mint. remaining drives the onboarding "runs low" nudge. */
free_trial_token?: string | null;
free_trial_remaining?: number | null;
free_trial_runs_limit?: number | null;
openswarm_subscription_plan?: string | null;
openswarm_subscription_expires?: string | null;
openswarm_usage_cached?: SubscriptionUsage | null;