ThoughtDAG

v0.2.2
io.github.chenxiachan/thoughtdag Checked 2 hours ago Published 2 months ago

Search local AI conversations by file or phrase and recall source turns.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

why_check

Cheap first question before editing a file: does this artifact have any history in local agent sessions? One line; history true/false.

ParameterTypeDescription
path *stringfile path (absolute or relative to cwd), URL, or arxiv:<id>

why_file

The turns across local Claude Code, Codex, DeepSeek Harness, Pi and ThoughtDAG sessions that touched a file, URL or paper: when, what changed (Δ, observed), what was asked, what the answer said about it (≈, a candidate explanation, not a verified reason). Each hit carries a deep link.

ParameterTypeDescription
path *string
include_readbooleanalso list turns that only read it (default false)
limitnumbermax hits (default 10)

find

Where these exact words were asked (Q), answered (A) or attached (M) across local sessions, canvases and the memories Claude Code and Codex keep for themselves. Exact, case-insensitive match; every hit is a verbatim snippet with a pointer.

ParameterTypeDescription
phrase *string
instring
limitnumber

recall_turn

One turn in full — the question, the answer, the tool calls with their diffs — by session id (or prefix) and turn number as shown by why_file.

ParameterTypeDescription
session *string
turn *number