Files
deepseek-harness/packages/context
sjw1231 e2f1208bcf Merge origin/master into feat/apply-patch
Regenerate config/tool/module/event catalogs, Cordis API and client slot catalogs; re-record reviewed bilingual hashes instead of merging generated bytes.

Accept deleted filesystem invariant companions. Master has no replacement event-invariant registration; keep delete-intent in typed events, policy guards, and behavior tests.

Adopt master workspace-changes intent waterfalls and tool-execution recorder association, add a prepended delete-intent listener that delegates before capture, remove argument parsing and the fs-patch dependency, and retain the real-tool Review matrix.

Keep master filesystem mutation-result metadata and tool switches alongside opt-in apply_patch. Await current-directory resolution in plan and no-follow preflight; store patch diffs as processPath. Adapt native/PTC fixtures to the supported modes.

Preserve client patch diffs and stopped states with master partial arguments and absolute navigation. Use master's rewritten ProviderEditor, including its remaining repeated model validation.

Regenerate the lockfile with pnpm install and align the new fs-patch package version. Clean retired package build outputs. Update exact rescope exceptions for verified preset and event identifiers from master; old package names remain rejected.
2026-10-16 11:51:43 +08:00
..
2026-10-15 20:00:58 +08:00
2026-10-15 20:00:58 +08:00

description, kind
description kind
The context group map: request-context plugins that add durable, model-visible context without defining tools, for users and maintainers navigating the group. package-group

context/ — Request-context plugins

English | 中文

Summary

The context group provides plugins that add model-visible context to each request without defining any tool: workspace instruction files become guidance, @file mentions offer path completion, other sessions can be referenced as bounded snapshots, and the model can see the current time and the agent's tmux location. Only agent-instructions (dsh-base) ships mounted by default; the rest are opt-in. Context is durable: injected instructions and references enter session history as user-role messages, so they persist, replay, and compact like other conversation content. This page maps the group; each package README owns the per-package contract.

Table of Contents


Packages

Package Role ctx key
agent-instructions/ Loads AGENTS.md/CLAUDE.md workspace instructions into context and refreshes them after file edits —
session-reference/ References other sessions: mention one and its bounded read-only snapshot becomes context ctx.sessionReferenceResolver
file-reference/ @file mention discovery and the shared mention grammar for host-backed UIs ctx.fileReferences
file-reference-local/ Local-workspace completion provider for @file mentions —
time-context/ Current time, browser zone, and elapsed time per step —
tmux-context/ The agent's tmux session, window, and pane location —
harness-dev-context/ The harness checkout and Web GUI URL as runtime context, keeping the system prompt stable across processes —


Dev Note

Working context for maintainers — click to expand

None.