27 commits from main, including the ⌘P file picker / ⇧⌘F content search (#4855), thread content search (#4959), sidebar title regeneration (#4810), image-paste compression (#4967), and the docs restructure (#4807). Notable resolutions beyond keep-both: - Thread content search is ported to the v2 surface: searchThreads joins ORCHESTRATION_V2_WS_METHODS/rpc/auth scopes, and the SQL now UNIONs orchestration_v2_projection_messages so current threads are searchable, not just legacy-projected ones. - Title regeneration's server half lived in the v1 ProviderCommandReactor this branch deletes, so the capability is deliberately not advertised: clients hide the action, the contract/UI code stays intact, and the input field is accepted as a documented no-op. TODO(orchestration-v2): port regeneration to the v2 runtime. - Main's 035_ProjectionThreadTitleRegeneration migration collided with this branch's 035-043 range; renumbered to 044. - Mobile activity grouping keeps this branch's runId/prominence semantics while adopting main's O(1) trailing-group optimization (prominence tracked in a flag instead of a per-append scan). - v1-only startup tests from main (heartbeat/auto-bootstrap against the deleted reactor-era services) are dropped; their v2 equivalents already cover the ordered startup phases. 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.