Repository navigation
Releases
v0.49.0
Added
- The serve page's Recent runs can be searched. The box beside the heading
keeps the finished runs holding every word typed, in their headline,
question or file name, as/resumedoes. The server searches the whole
reports directory (GET /api/runs?q=…), so a run older than the 50
listed is found too./goes to the box, Enter opens the top match and
Esc clears it.
v0.48.0
Added
- A released drsh says when a newer release exists, in one line with no
prompt:drsh vX is available (you have vY): run drsh update, at the
bottom of a baredrsh's start screen and indrsh serve's banner. The
line comes from a check cached for a day in the user cache directory. A
stale cache is refreshed in the background with a five-second limit, so
startup never waits on the network; a failed check shows nothing and
waits a day, and launches that start together make one request. There is no line and no request under-p,--silent,
--jsonl, a pipe, or for a source build.update_check: false(or
DEEP_RESEARCH_UPDATE_CHECK=false) turns it off. - A
harnesskey (DEEP_RESEARCH_HARNESS) names the program drsh runs
inside when it answers drsh's model calls on its own local endpoint. The
Pi extension sets it toPi, and a report then names its model as
Pi <id> (<provider>), the provider taken from the model's first segment.
The.jsonrecords it asharness.
Changed
drsh updateprints a short "What's new": the newest three releases,
up to five entries each on one line marked added, changed or fixed, and a
link to the full changelog, instead of every release's changelog in full.
On a terminal a spinner names the step under way (checking, reading the
changelog, downloading, installing), and the result line is coloured;
drsh update --no-color,NO_COLORand non-terminal output stay plain.
Fixed
- A run through the Pi extension's bridge, or any endpoint on a loopback
address, named that address as its provider: reports said
via 127.0.0.1. A loopback host now names no provider, and serve's banner
and page and setup's summary show the same line as the report. With
provider: claudethe harness is ignored, since such a run never goes
through it.
v0.47.0
Changed
- Fact-checking now separates cited-source verification from cross-source
contradiction detection: the analyzer receives[source.block]passage
tags and may recordrefsper claim; support calls cluster claims by
cited pages and read only those pages at higher resolution (pinning cited
blocks and adjacent caveat blocks), while a parallel cross-source
contradiction sweep inspects uncited pages for direct factual conflicts. - Fact-checker replies now emit evidence before reasoning and status, asking
for short contiguous body quotes; when a supported claim fails verbatim
quote locating, one focused rescue call re-checks only the missed claim(s)
against their cited pages under the same strict quote check. - Figures absent from both cited claims and the question remain blocked in
code (and revisions are pre-filtered before recheck); figures echoed from
the question are flagged explicitly for the inference check rather than
blindly blocking gap statements or valid range coverage.
Fixed
- Malformed fact-check replies with code fences, leading prose, or multiple
broken verdict separators are recovered, intact verdicts can be salvaged
from mid-array damage, repairs are logged, and unreadable replies keep
more context. - Concurrent fact-check calls queued behind an actively streaming sibling
on a serializing model server no longer trip the silence timeout and burn
retry attempts.
v0.46.1
Fixed
- A misplaced bracket between fact-check verdicts could discard a whole
batch of judgments. drsh now recovers that separator when the entire
corrected reply is valid JSON, then checks each verdict against its sources.
Changed
- Pi's result card shows supported claims first and breaks down insufficient
claims by cause. Expand the card for all claims and the saved reason
beneath each unconfirmed claim.
v0.46.0
Added
- A plan can be refined in words before it runs:
pin the terminal's brief,
"refine plan" on the serve page, "Refine…" in Pi, and--plan FILE --refine "cover night trains too"for scripts. The planner changes the plan as asked,
keeps the sub-topics the change does not touch, and the report is written
for the change too.
Changed
- The planner reads the answers to the clarifying questions after the search
results, and is told that one which does not answer its question says what
to cover. Before the results, an answer such as "include ferries as well"
got a sub-topic in name, filled with what the results listed. - An entry of
--answerswith noquestionis taken as such an instruction;
it was dropped. - The README's run diagram, demo and plan review show refining a plan.
v0.45.0
Changed
- The fact-check's parallel calls have a row each, in the terminal, on the
serve page and in Pi: which claims, recommendations or conclusions the
call judges, and whether it is waiting, thinking, writing (with a count),
stalled, being retried, done or failed. They shared one status line and
took it in turn several times a second, which read as one call starting
over.--jsonlcarries their states ascallevents. - The fact-check's calls are named for what they judge: "conclusions k2-k4"
and "recommendations r1-r2, conclusion k1", wherepartwas "inferences
k2-k4" and "inferences r1-k1". demo.gifis recorded again, with the fact-check's rows.
Fixed
- A retry's notice names the call it retries and says what its next attempt
is allowed ("retrying fact_checker claims c1-c6 (attempt 2 of 3, allowed 4m
of silence)"), with a pause only when there is one. "retrying fact_checker
in 4m0s" read as a four-minute pause, and two calls of one fact-check
printed the same line twice. - The token total moves through the analysis, the fact-check and the report.
It stood still from the research to the end of a run: the checkpoint's
recorder did not pass it on. - A retried call reports its own attempt: its wait, its count and its
reasoning start over. They carried on from the failed attempt, so the wait
included it and the new answer could read "no new output".
v0.44.1
Changed
- The README's run diagram and the Pi extension's cover are drawn in darker
colours, with pages as sheets in place of rings on the lines.
Fixed
- The skill searches the saved runs before a new run, then checks for the
same question, and asks when one covers it. It only checked, which misses
a question worded differently. drsh kb checkcounted every file it passed over as one that could not be
read, so beside files that are not runs a new question was never just "not
researched before". Files that cannot be a run no longer count. The
--jsonofsearchandcheckgives the count asunread, and a run
drsh cannot read (one with a question and a report, but of another version
or with another field missing or mistyped) is now skipped as
unsupported_runrather thannot_a_run.
v0.44.0
Added
drsh kb, a knowledge base of your saved research.drsh kb search "<query>"finds the sources saved runs kept, by
full-text search (SQLite FTS5, BM25 ranking, title matches weighing most), across
the reports directory and its immediate subdirectories (Pi's and the
skill's run folders), grouped by page with each run's date;drsh kb show <capture-id>shows one with its saved text and the fact-check's
quotes, verdicts and claim statuses. Offline: no key, search engine or
network.--jsonprints one versioned document for programs. A run's
.jsonchanged since the search makes its old capture IDs stale rather
than silently pointing at the new contents. The index lives in the user's cache
folder, private to them, and can be deleted while no search runs.--revisit IDreads again, live, a page an earlier run saved, chosen
by its capture ID fromdrsh kb search(repeatable, up to 10;--kb DIRsays where to look them up, default--reports). Only the page's
address goes into the run: none of what the earlier run kept of it
reaches a model, and the page as read now is a source like any other,
checked with the rest. The pages share the run's page budget, are read
before the sub-topics search by the built-in reader (never a hosted one,
which may answer from its cache), and are held to--domainsat every
redirect. Each one's outcome (read, gone, refused, out of scope, …) is an
infoevent'srevisitfield and is in the run's.jsonunder
revisits. Plans, checkpoints and traces keep the choice, so--plan
runs without the knowledge base,--resumereads again only what failed
for a passing reason, and--replayfetches nothing. The brief lists
the pages. The footer's source total counts them apart ("1 revisited +
5 planned"), on the serve page too. The bundled skill offers it when
the user wants current evidence on pages a search found.- A revisited page's text is compared with the text the earlier run saved:
the outcome'stextissameordifferswhen one version of the
built-in reader extracted both, elsenot_comparablewith the reason
(a saved snippet, a reader unrecorded or hosted, another reader version,
…). It compares the extracted text, not the page. Each run's.jsonnow
records what extracted each page's text (readeron its citations,
direct/1for the built-in reader at its version), andkb showreturns
it in itsreaderfield, which was alwaysnull. drsh kb check "<question>"says whether this same question was
researched before: its saved runs, newest first, each complete, failed
or stopped (a checkpoint to resume). The same question means equal but
for case and spacing, so a question with one word changed is another;
reworded ones arekb search's. It reads only the head of each file, so
it answers in about 0.3 s for 312 runs. The bundled skill runs it before
starting a run and tells you what it found; the run still researches
afresh, with nothing of the earlier runs in it.
Changed
-
Asking the same question again into one reports directory no longer
writes over the earlier run and deletes its chat log and report edits.
The earlier run keeps its files and name, so links to it, its downloads
and its kb capture IDs keep working, and the new run is saved as
<name>-2,-3and so on, with its trace beside it./resumeand the
serve page's list number the runs of a question run more than once
("· run 2"), so they can be told apart.--replaystill
replaces the saved replay of the same question underreports/replay.
A resumed run is saved the same way, beside any report of that question
already saved. -
The README's picture of a run is redrawn in the serve page's dark
palette: sub-topics as threads of pages, the fact-check as the gate they
pass, and the knowledge base. The README has a section ondrsh kband
--revisit. -
The README's demo is recorded again on today's screens, in 39 seconds
instead of 71, and ends ondrsh kb search. -
The README's serve page screenshots are taken again on today's page.
Fixed
- Mutually exclusive flags now end a
--jsonlinvocation with one failed
doneevent carrying the validation error. - An edits lock left by a crash that could not be removed (a directory in
its way) made a save or report edit retry forever; it now fails with the
error. - The built-in reader took a page with a title and no text (an app's
empty shell, which a browser fills in) for a page, its title alone the
evidence. It is now a page that could not be read. --resumegiven a finished run's.trace.jsontook it as the
checkpoint, wrote the run's progress over it and deleted it at the end;
it now takes only a checkpoint (.partial.json) and points to
--replayfor a trace.- A run's charts are saved before the run appears on the serve page, which
could show its report with charts missing. - A new run no longer takes the name of an earlier run whose edited exports
were left behind, whose download link then served the new run's text.
v0.43.0
Changed
install.shwithDEEP_RESEARCH_MODIFY_PATH=1adds~/.local/binto
PATHin the shell's startup files (bash's~/.bashrcand login file,
~/.zshrcor fish'sconf.d/drsh.fish), once however often it runs;
without it, or for another shell, it still only says how. A drsh installed off
PATHran from Pi but no terminal found it.- Pi extension: where drsh's folder is not on
PATH, the install offer
adds "Install drsh and add it to PATH", and after installing shows what
the installer said aboutPATH, where it showed only what it installed. drsh setup searchandsetup scrapersay when an OpenAI-compatible
model has no API key yet, and namedrsh setupas the next step: the summary listed the
model beside two passing checks and suggested a run, which then failed.- docs/services.md: search alone is sections 1 and 2 (SearXNG, then
pointing drsh at it); Firecrawl is section 3, optional, and ends with
drsh setup scraper. "Before you start" tells Docker that is missing
from a daemon you may not use yet, and how to use adockergroup added
since login without sudo. Theconfig.yamlcomment onfirecrawl_url
said pages without it are snippets; the built-in reader fetches them. - Pi extension: the local-search request asks the agent to check search
alone (the full doctor's search line for a drsh that names no release
of 0.42.0 or later), says drsh needs no key for runs on Pi's model,
tells it not to touch credentials, and points at the installed drsh's
guide; the first call with no drsh, once the user accepts the install,
runs its question rather than asking to be called again.
v0.42.0
Changed
-
docs/services.md published SearXNG on every interface (
-p 8888:8080),
open to anyone on the network; it binds it to127.0.0.1now. -
Pi extension: where search has nothing of its own, the first run of a
session offers to have the agent set up a local SearXNG, following
docs/services.md. Search off or public instances are read from drsh's
configuration, so the offer shows at once; before a run, only a
configured SearXNG is checked (one search, shown as a spinner Esc
skips), and a hosted engine is neither checked nor offered. -
drsh settingsprintssearch_source(off,public_searxng,
configured_searxng,hostedorinvalid): where a run's searches go,
read from the configuration without a request. -
drsh doctor --only searchruns the search check alone, without the
model and scraper checks. -
Pi extension: the settings screen shows the model that answers the run,
marked· agentwhen the agent named one, and lets you pick another for
that run; a model Pi has no sign-in for is refused before anything runs
instead of failing in the first call with the bridge's 502. -
Pi extension: with drsh not installed,
/research,/research-doctor
and the agent's firstdeep_researchcall offer to run drsh's
installer ("Not now" first, naming the command and where drsh goes), and
find the drsh it installs even off Pi'sPATH. The first run stopped on
an error with the install command. -
Pi extension: a research the agent starts goes as
/researchdoes when
Pi has a UI: the settings screen, with the agent's question editable and
its choices marked· agent, then the plan review (review_plan: false
skips it), the view above the prompt,/research-stop, and one run at a
time across both. Asked in chat, a run went on the agent's wording and
settings with no plan to check./research's screen shows the question
too, and a run the user cancelled tells the agent not to retry. -
Pi extension:
/research-modelfilters its list as you type, keeping
the models whose name holds every word typed, as drsh's own picker does.
The list of every model Pi knows ran to hundreds of rows, read ten at a
time with the arrows.
Fixed
- Pi extension: a resumed run's card was titled "resume" and its
checkpoint's path instead of its question. A report with no links in
its body showed "0 cited" for sources it lists as its citations; the
count is left out then, as drsh's own export lists them all. - Pi extension (0.3.3): the package ships a
CHANGELOG.mdof its own, so
Pi's "Extension Updates" notice lists what each release changed. It had
none, and Pi said nothing about an update. The notice starts with the
release after 0.3.3, the first version Pi records. - Pi extension: a sub-agent's row in the live view ran past a narrow
terminal and wrapped, its search continuing mid-word on a line of its
own. The view's rows are now cut to the terminal's width. - Pi extension: a run's card, and the text the agent gets, listed every
blocked recommendation and conclusion in the.json, including the
originals an approved revision had replaced in the report. They now name
only what the report names as not established, as drsh picks it.