- iOS Widgets (AskHanzo, HanzoBrief, AgentActivity, SubscriptionUsage): - Pure #000000 black background matching the Hanzo icon across all widgets - Support .systemSmall, .systemMedium, and .systemLarge (plus Lock Screen families) - Sync real Hanzo data (account, Hanzo Cloud status & active model, linked desktop machines count/names/online status, recent chat threads) via App Group UserDefaults bridge in HanzoNativeControlsModule + HanzoWidgetSyncCoordinator - Interactive Link deep links (hanzo://chat/new, hanzo://chat/voice, hanzo://chat/thread/<id>, hanzo://chat?prompt=...&send=1) + iOS 17+ Button(intent:) AppIntents (RefreshHanzoWidgetIntent, RefreshHanzoBriefIntent) - Register hanzo:// URL scheme alongside variant scheme in app.config.ts and handle new/voice/thread/autoSend actions in ChatLandingComposer - Environments & Hanzo Cloud: - Fix startup /v1/sources discovery when already signed in (AccountAutoLinkCoordinator + SettingsEnvironmentsRouteScreen + foreground refresh) - Make /v1/sources parser resilient to API response variants (sources/data/array, state/status/online, kind aliases, zap_url/url) - Surface Hanzo Cloud as a first-class interactive environment (Open Cloud Chat, Cloud Sandbox, Models) and fix Environments badge count so it never reads 0 when signed in - Show accurate online/offline state for /v1/sources machines in CloudEnvironmentRows and merge all discovered/connected machines in DevMacsList - Full Mobile Settings Parity: - Expose Account & Connections, AI & Models (Cloud & Local AI, Models & Providers always accessible, Usage & Quotas), Preferences, Agents & Code, and Advanced (Maintenance, Diagnostics, Client Storage, Labs, Archive, About) - Add Home Screen Widgets sync section to Notifications & Widgets settings - Keep native Back/Done navigation controls intact Co-authored-by: Hanzo Dev <[email protected]>
Client Runtime
Shared client behavior for web and mobile. Public APIs are organized by package subpath. The package intentionally has no root export.
Public subpaths
| Subpath | Responsibility |
|---|---|
authorization |
Bearer and DPoP authorization plus token persistence contracts |
connection |
Targets, catalog, supervision, retries, registry, and onboarding |
environment |
Environment identity, descriptors, endpoints, and scoped keys |
errors |
Shared client error inspection |
operations |
Multi-step application workflows |
operations/projects |
Multi-step project creation workflows |
platform |
Platform capability and persistence service contracts |
relay |
Managed relay API and environment discovery |
rpc |
HTTP/RPC clients, protocol, sessions, and subscriptions |
state/<domain> |
Focused shared state, retention, reducers, and Atom constructors |
voice-input |
Recording lifecycle, transcription contracts, and draft insertion |
Dependency direction
Platform applications provide platform services. connection composes those
capabilities with authorization, relay, and rpc to supervise environment
sessions. Independent state modules consume the connection registry and expose
focused state or Atom constructors to application-owned runtimes.
The voice-input controller accepts capture callbacks and a selected VoiceTranscriber.
Preparation binds transcription to its implementation and resolved locale; one cancellation
signal covers both operations. Applications provide recorder events, permissions, native
transcription implementations, and presentation.
Applications should import the narrowest relevant subpath. There is no broad
state export: use domain paths such as state/shell, state/threads,
state/terminal, or state/vcs. Subpath indices and explicitly exported domain
files are public API boundaries; all other files remain implementation details.