T3 Code 非官方中文翻译不是官方产品,也不是 T3 Tools 官方文档。源提交 d2c25950b4d9中文译文GitHub 源文件
Skip to content

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 ​

SubpathResponsibility
authorizationBearer and DPoP authorization plus token persistence contracts
connectionTargets, catalog, supervision, retries, registry, and onboarding
environmentEnvironment identity, descriptors, endpoints, and scoped keys
errorsShared client error inspection
operationsMulti-step application workflows
operations/projectsMulti-step project creation workflows
platformPlatform capability and persistence service contracts
relayManaged relay API and environment discovery
rpcHTTP/RPC clients, protocol, sessions, and subscriptions
state/<domain>Focused shared state, retention, reducers, and Atom constructors
voice-inputRecording 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.

非官方译文 · 源提交 d2c25950b4d9 · 不代表 T3 Tools