MkaliezZ/dsh-context-pack

MkaliezZ★ 0TypeScript最后同步: 2026-08-15

在 GitHub 打开

Deterministic, privacy-aware repository context packs for DeepSeek Harness context injection.

README 摘要

dsh-context-pack Deterministic, privacy-aware repository context packs for DeepSeek Harness (DSH). The DSH-native /context-pack [repository path] command performs an explicit, read-only scan, builds a bounded pack, then queues that pack through agent.inject() for the next model step. It does not wake an idle agent, modify source files, or silently include files that exceed privacy/size rules. Why DSH makes model-visible context part of the agent/session lifecycle. A repository context plugin should therefore be bounded and inspectable rather than silently dumping an entire repository into every prompt. v0.1 behavior - human-initiated /context-pack command; no model-directed autonomous scan; - deterministic path ordering; - fixed noisy-directory exclusions; - fail-closed sensitive-path exclusions ( .env , common credential/secret names, SSH private-key names); - text-extension allowlist; - per-file, total-byte, file-count, and final injection budgets; - full-file inclusion only — no silent truncation; - SHA-256 per-file identity and whole-pack digest; - lightweight stack detection; - no network and no source mutation; - context is queued via the documented DSH agent.inject() seam an…

在 GitHub 查看完整 README →
Agent/智能体agent-toolingcontextdeepseek-harnessdeveloper-toolsdsh-plugintypescriptagent

分类