Files
deepseek-harness/packages/client/ui-session
creatixchu 98da332260 feat(session-controller): 客户端本地提交回显与 rpcId 关联
beginSubmission 在 prompt 之前同步把本地提交回显写入 SessionSnapshot.pendingSubmissions;
durable user/message(source.rpcId)或队列投影(SessionQueuedItem.rpcId)到达后延迟一帧退休,
prompt 失败与放弃立即退休并回调 onRetire。fixture 的 prompt 同步回显 requestId。
2026-08-26 11:48:33 +08:00
..

description, kind
description kind
React and Slot adapters for Session Controller lists, interaction state, and per-session context. package-reference

@deepseek-ai/dsh-client-ui-session

English | 中文

Summary

React and Slot adapter for Session Controller state. It contributes Session list and pending-interaction hooks at root scope, materializes per-Session hooks and props, and owns the standard SessionProvider rendering behavior without taking ownership of Session transport or lifecycle state. Use it when a browser feature needs Session state through standard React props and hooks.

Table of Contents


Model Experience

None, as this package adapts browser-side Session state and registers nothing model-facing.

KV Cache effect

None; Session selectors and Slot scopes do not assemble model requests.

Known Limitations and Deferred Work

  • Pending interactions are process-local projections — the owning Remote waterfall must replay an outstanding request after a browser reconnect.

Dev Note

Working context for maintainers — click to expand

None.