Files
deepseek-harness/packages/context/README.zh.md
T

15 lines
1.0 KiB
Markdown
Raw Normal View History

# context/ — 请求上下文扩展
2026-07-26 05:03:53 +08:00
[English](README.md) | 中文
2026-08-13 00:36:22 +08:00
在不定义工具的情况下添加模型可见的请求上下文的产品插件。`agent-instructions` 包含在默认 `dsh-agent-spine-demo` 组合包中,可通过组合包配置禁用;`time-context``tmux-context``session-reference` 需主动启用。
2026-07-26 05:03:53 +08:00
| 包 | 职责 | ctx key |
|---|---|---|
2026-08-13 00:36:22 +08:00
| [`session-reference/`](session-reference/README.md) | 其他会话的有界快照 | `ctx.sessionReferenceResolver` |
| [`time-context/`](time-context/README.md) | 当前时间与耗时上下文 | — |
2026-08-04 00:54:19 +08:00
| [`tmux-context/`](tmux-context/README.md) | tmux 位置上下文 | — |
2026-08-13 00:36:22 +08:00
| [`agent-instructions/`](agent-instructions/README.md) | 工作区指令上下文 | — |
2026-07-26 05:03:53 +08:00
2026-08-13 00:36:22 +08:00
会话引用见 [docs/subsystems/session-reference.md](../../docs/subsystems/session-reference.md)[`agent-instructions` 决策记录](../../.agents/notes/implemented/feature/2026-06-24-workspace-context.md)规定了其按 agent(智能体)/会话隔离与生命周期拆分。