Twenty commits of main, three conflicted files, all in the sidebar/composer chrome that main restyled (SidebarMenuButton sizing pass, ComposerControl extraction): - SidebarV2: main's restyled header (Search trigger + icon-size buttons) and scope menu win; the branch's agent-project behavior is re-applied on top — new-thread gate on projectGroups (agent-only users), agent marks on the scope trigger and menu rows, and the actions button hidden for an agent's synthetic project. - ProviderModelPicker: main's ComposerControl trigger and gap-1.5/size-4 trigger contents win; the branch's extracted triggerContents and the Home-thread static-label branch are kept, with the static chip's metrics updated to mirror ComposerControl (h-7, px-2.5) instead of the old Button size="sm" so Home stays pixel-identical to normal threads. - ProjectFavicon: both sides' imports (agent mark + cn) union cleanly. Co-Authored-By: Claude Fable 5 <[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 |
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.
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.