rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:WuweiRE/dsh-composer-suggest
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Composer suggestions for the DeepSeek Harness Web UI.
/ command or @ reference).data-input-scroll) and removes it when the suggestion goes away. If
a Harness update renames that element, the suggestion still shows but may cover the
toolbar until the selector in client.js is updated.@ references is left alone and the status says why: the only way to
write the result back turns the draft into plain text.Every suggestion and every tidy is one model call and uses tokens. It is not written to the Session log and does not show in the token meter.
Context the Harness adds for the agent (workspace instructions, runtime and time snapshots, the skill catalog, reminders, background-job and teammate notices) is left out, as is the agent's narration between tool calls.
Tidying sends the draft and nothing else: no conversation, no tool calls, no images. A draft of up to 4000 characters is sent whole; a longer one is refused.
The candidates are asked to be different moves, not three wordings of one: for example approving, picking the other option, reporting what happened when you tried it, or asking about one claim. The prompts were tuned on deepseek-flash by replaying real sessions and comparing against what was actually typed next.
Read it before you send it. On 22 long, run-on messages from real sessions, tidied by deepseek-flash at low effort and graded by a second model, 20 kept everything, one lost a word ("just now") and one gained a detail that was not in the original; none became harder to follow. The line under the composer compares only concrete tokens (paths, dotted names, numbers of two or more digits, and Latin words inside Chinese or Japanese text), so it would not have caught either of those two. It is there for the cheaper mistake of a dropped file name or a changed number.
The Host refuses a result that was cut off by the output limit, is empty, is more than three times the draft's length (an answer, not a rewrite) or less than a quarter of it.
From a checkout:
git clone https://github.com/WuweiRE/dsh-composer-suggest.git
dsh plugin --profile <name> add ./dsh-composer-suggest
Not yet published to npm. The registry has no dsh-composer-suggest package yet
(npm view dsh-composer-suggest returns 404), so install from the checkout above. This
paragraph becomes the one-line registry install once the first release is published:
dsh plugin --profile <name> add dsh-composer-suggest
Restart the Harness afterwards, then refresh the Web page. Developed and tested against
DeepSeek Harness 0.2.2-rc.1 and 0.2.2-rc.3. It needs a Harness that provides
conversation.input.overlay, settings.general.item, connection.admit(), ctx.llm and
session.deriveMessages(). Tidy additionally uses the conversation.input.right and
conversation.composer.dock slots, inputActions.setDraft() and the occurrences and
phase fields of the composer's input state.
Images additionally use the attachments service (saveImages) and the composer's
attachment thumbnails, which the Host renders as <img> elements with blob: sources
inside the composer card. Without them a continuation still works from text alone.
By default a suggestion is answered by the model the Session already uses, at that model's lowest reasoning effort, with no temperature set.
To use another model, type its id (for example claude-sonnet-5-5) in
Settings → General → Model for suggestions and press Enter. Leave it empty to follow
the Session again. It is saved in the browser you typed it in, and the status line under
it reports which route answered last or why a request failed.
To set the model for every browser instead, override the row in your profile's
cordis.patch.yml. Any option you leave out keeps its default, and a model typed in
Settings wins over this:
- id: composer-suggest
name: dsh-composer-suggest
config:
model: claude-sonnet-5-5
Without a provider, the model is looked up among the providers mounted in your
profile, trying the Session's provider first. If none offers it, the request fails with
model-unavailable instead of silently using another model. Set provider and model
together in the configuration to name the route exactly. See cordis.patch.yml for every
option.
This plugin is a combination of ideas and code from two MIT-licensed DeepSeek Harness plugins. Their license texts are kept in this repository, and THIRD_PARTY_NOTICES.md lists what comes from where.
| Project | Author | License | Used here |
|---|---|---|---|
| dsh-composer-predictions | Stijnus | MIT, LICENSE.stijnus | Code adapted: the streaming Host endpoint and owner check, prompt construction, candidate normalization, caret measurement, ghost positioning, SSE parsing and the keyboard handling. |
| dsh-composer-prediction | Amir Bazylkhanov | MIT, LICENSE.bazylkhanov | Behaviour reimplemented from its documentation and source: withdrawing a dismissed offer for the rest of the turn, IME handling, reporting a failed request in Settings, and using the model's cheapest advertised reasoning effort. |
What this project adds: continuation is triggered by Tab instead of running on every typing pause, a visible "Continuing…" state with cancel, separate switches for each feature, a model setting that follows the Session or names a model, a status line in Settings, short on-screen notices for empty or failed continuations, and tidying a draft in place with restore.
This project is released under the MIT License, Copyright (c) 2026 WuweiRE, see LICENSE. It is not affiliated with DeepSeek or with the authors above.
node --test CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。