Files
deepseek-harness/packages/context/README.zh.md
T
Chinesezjc 41c29fa832 feat(schedule): ship the Schedule switch as an optional bundle
The shipped Web composition carries `time-context`, `schedule`, and
`ui-schedule` disabled. This adds
`@deepseek-ai/dsh-experimental-schedule-bundle`, whose patch sets
`disabled: false` on those three rows and inserts none, and names it in
`OPTIONAL_BUNDLES` with a runtime dependency of `apps/cli`, so every
installation ships it switched off and the Web Plugins page offers it in
the Official group.

The two Web suites and the built-Web Schedule Remote scenario enable the
rows through that bundle instead of a scenario-local fixture.
2026-09-24 21:03:26 +08:00

2.5 KiB
Raw Blame History

description, kind
description kind
context 组概览:不定义工具、为每次请求添加持久且模型可见上下文的插件,供浏览本组的用户与维护者阅读。 package-group

context/ — 请求上下文插件

English | 中文

概述

context 组提供不定义任何工具、为每次请求添加模型可见上下文的插件:工作区指令文件成为指引,@file 提及提供路径补全,其他会话可以作为有界快照被引用,模型还能看到当前时间与 agent(智能体)的 tmux 位置。默认只挂载 agent-instructions(dsh-base);其余全部需主动启用。上下文是持久的:注入的指令与引用以用户角色消息的形式进入会话历史,因此与其他对话内容一样持久保留、可回放、可压缩。本页概述本组;包级约定由各包 README 负责。

目录


包

包 职责 ctx key
agent-instructions/ 将 AGENTS.md、CLAUDE.md 工作区指令加载到上下文,并在文件编辑后刷新 —
session-reference/ 引用其他会话:提及一个会话,其有界只读快照即成为上下文 ctx.sessionReferenceResolver
file-reference/ 发现 @file 提及,并提供由宿主支持的 UI 共用的提及语法 ctx.fileReferences
file-reference-local/ @file 提及的本地工作区补全提供方 —
time-context/ 每个步骤的当前时间、浏览器时区与经过时长 —
tmux-context/ agent 所在的 tmux 会话、窗口与窗格位置 —

相关文档


开发备注

维护者的工作上下文——点击展开

无。