ylxmf2005/dsh-openai-server-compaction
ylxmf2005★ 0TypeScript最后同步: 2026-08-21
OpenAI Responses adapter with durable server-side compaction for DeepSeek Harness.
README 摘要
dsh-openai-server-compaction A native DeepSeek Harness plugin that adds Codex-style server compaction to OpenAI Responses routes managed by DSH's built-in llm-pi-ai plugin. It uses an API key. OAuth and the ChatGPT Codex backend are not implemented. 中文说明 How it works llm-pi-ai remains the single owner of provider connection and model data: - provider route name and display name - api: openai-responses - API base URL and credential reference - model IDs, context windows, output capabilities, and custom headers This plugin stores only per-route compaction policy. For each enabled, explicitly configured Responses route it: - handles normal model requests through POST /v1/responses - sends manual, token-pressure, and overflow compaction through Codex Remote Compaction V2: it appends { "type": "compaction trigger" } to a normal POST /v1/responses request and enables the remote compaction v2 feature - retains up to 64,000 tokens of recent real user messages together with the single opaque compaction item returned by the server, stores that native replacement history outside session JSONL, and restores it after restart - writes a portable text checkpoint into normal DSH history for other …
在 GitHub 查看完整 README →分类
DeepSeek Harness: Everything is a Plugin.
★ 182,325
amruthpillai/reactive-resumeA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
★ 41,477
anywhere-labs/deepseek-harness-desktop为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 17,784