feat(context): add dsh executor and headroom active loopback probe

Wire DeepSeek Harness as an optional fourth code executor (default off)
and add a loopback observation script that compares prompt tokens through
headroom proxy with OPENAI_TARGET_API_URL pointed at the compat proxy.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-09-09 21:32:57 +08:00
parent 40e4a527fe
commit fc4ac98e9f
13 changed files with 525 additions and 8 deletions
+7
View File
@@ -28,7 +28,14 @@ MEMORY_CANDIDATE_ENABLED=0
# MEMIND_HEADROOM_MODE=off
# MEMIND_HEADROOM_PROXY_BASE_URL=http://127.0.0.1:8787/v1
# MEMIND_HEADROOM_UPSTREAM_BASE_URL=http://127.0.0.1:18036/v1
# OPENAI_TARGET_API_URL=http://127.0.0.1:18036/v1
# HEADROOM_OUTPUT_SHAPER=0
# MEMIND_HEADROOM_OBS_MODEL=deepseek-chat
# DeepSeek Harness code executor (developer preview, default off)
# MEMIND_TOOL_GATEWAY_DSH_ENABLED=0
# MEMIND_TOOL_GATEWAY_DSH_TASK_TYPES=repo_refactor,multi_file
# MEMIND_DSH_BIN=dsh
# Context injection budget (Phase 2, default off — does not open memory injection)
# MEMIND_CONTEXT_BUDGET_MODE=off