KeepLost/harniverse--packages-client-ui-reference ↗★ 1

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

统一的 Web 端 @文件与 @会话引用来源,供输入框选择引用目标。 适合在 Web 会话中通过 @ 快速引用文件或会话的用户;文件与会话候选并发请求,失败可独立降级。

套件
@deepseek-ai/dsh-client-ui-reference
相容性
待驗證
Harness 依賴範圍
workspace:^
Cordis 依賴範圍
workspace:^
版本
0.1.0-rc.5
授權
BSD-3-Clause
最近更新
2026年9月25日

同名套件的其他儲存庫

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗

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

English | 中文

The Web @ source concurrently requests path-only file candidates and metadata-only session candidates. Files are rendered first under a file section, followed by sessions under a session section. Quoted @"path with spaces queries keep session discovery out of the file flow, and each domain failure degrades independently.

File picks insert ordinary @path or @"path with spaces" text; directories keep the menu open for continuation. Session picks retain the canonical @[label](https://github.com/KeepLost/harniverse/blob/31393bd3136b3332c95e9229ae7da987430080f0/...) mention as the atomic reference identity. The existing input placeholder and transaction model owns session occurrence lifetime and serializes the canonical mention at submission; this package never reads or attaches file contents.

Model Experience

File and session selection

What the model sees

File picks become ordinary path text, while session picks become the canonical atomic mention that Host preparation turns into a bounded untrusted snapshot. The browser source itself never reads or attaches a file.

Token effect

File selection adds only the chosen path. A session selection adds the canonical mention and later contributes the bounded snapshot bytes assembled by dsh-session-reference.

KV Cache effect

The mention is a small user-message suffix; session snapshot contents are appended at the agent pre-step and do not invalidate earlier target history.

Known Limitations and Deferred Work

  • One global source — per-session source shadowing is not part of the current trigger registry contract.
  • Display labels are metadata — file names and session titles are not evidence that contents were inspected.