rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:ZumiKua/dsh-junie-subagent
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
Delegates one task to the JetBrains Junie CLI over the Agent Client Protocol and returns Junie's final answer as a subagent result.
DSH >= 0.2.1-rc.2;
the JetBrains Junie CLI installed and signed in. The provider looks for it in this order:
command config;JUNIE_PATH;~/.local/share/junie/current pointer —
<version>/junie/junie.exe on Windows, <version>/bin/junie elsewhere;junie.exe / junie on PATH, skipping a .bat shim.When none of them resolves, the run fails with every path it tried, and the settings page says so instead of showing an empty model list.
Open the Plugins page in the DSH Web UI and install @zumikua/dsh-junie-subagent
from the catalog; the plugin manager installs the package and selects its bundle
in one step. The bundle patch inserts one provider and one dsh-tool-subagent
instance named junie.
Restart DSH once after installing: the browser half (client.js) enters the
page's module table at startup. Then open Settings → Junie and pick a model
and thinking depth.
spawn <junie.exe> --acp=true --skip-update-check
→ initialize
→ session/new { cwd, mcpServers: [] }
→ session/set_config_option (model / effort / brave_mode, when configured)
→ session/prompt { prompt: [{ type: "text", text }] }
← session/update … agent_message_chunk text …
← result { stopReason }
→ dispose (session/cancel, stdin EOF, terminate, wait for exit)
Each run owns its own process and session: the subagent seam has no continuation surface for out-of-process children, so a run accepts no follow-up message.
The child is spawned through ctx.subprocess without a sandbox policy. It
therefore runs as the signed-in user with that user's full file access — which
is what lets Junie persist sessions under ~/.junie. Confinement is Junie's own
permission model: brave_mode, the action allowlist, and
session/request_permission, which this provider answers from permission.
| Key | Default | Meaning |
|---|---|---|
providerName |
junie |
Name on ctx.subagents |
command |
auto-detected | Explicit launcher path; a missing file is reported instead of falling back |
args |
["--acp=true"] |
Extra arguments; --acp=true and --skip-update-check are always ensured |
model |
mix.normal |
Fallback model when the settings page has stored none |
effort |
high |
Fallback effort when the settings page has stored none |
braveMode |
brave-auto |
brave-auto / on / off |
permission |
reject |
Auto-answer session/request_permission with reject (default) or the first allow option |
timeoutMs |
900000 |
Whole-run bound |
graceMs |
3000 |
Subprocess teardown grace |
The bundle registers exactly one provider (junie) and one model-facing tool
(junie). The model and the thinking depth are chosen on the settings page and
stored by the Host; the model / effort keys above are only the fallback used
before anything is stored.
Per-call model selection through the shared provider / model /
reasoning_effort tool fields is not available: dsh-tool-subagent
validates those against the Host's LLM catalog (llm.resolveCallConfig), and
Junie model ids are not LLM routes — which is also why the official Codex,
Claude Code, and ACP providers advertise no agentOptions capability.
auto / on / off).GET/PUT /junie-subagent/config — and stored in ~/.dsh/junie-settings.json.configOptions of Junie's own ACP
session/new (rendered by group, cached for ten minutes, costs no credits).400 with the
values that model accepts, and the option list in the page is left untouched.brave-auto allows safe work and rejects
the rest, off rejects everything that would need approval, and on runs everything.CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: model、deepseek。