Repository navigation
v0.10.0
First release of JetCompact, a fork of fast-jev-compaction based on
QuanticPotatoes 0.8.0. The plugin id is jetcompact; its markers, data folder
(~/.claude/jetcompact/) and qmd index (jetcompact-sessions) carry the name.
Added
recall(default on): the model gets arecalltool
(mcp__jetcompact__recall) over the session transcript, withquery(BM25 or
regex),expand(by#Nor tool_use_id, the uncut result, saved large
outputs included),rangeandtouched(files changed, or every call on a
file), in answers of at most 48k characters;agentruns a request on
subagent transcripts,sessionssearches past sessions of this project,
another or all (project), andsessionruns a request on one of them; with
qmd installed that search uses a qmd index of the sessions
(sessionIndex: auto, default;offalways scans). Cut notes name the recall
call instead of "re-run the tool" (recallNotesin the library)./recall-index: shows the session index, builds it now for all projects or
the ones named by name part, path, folder or., takes projects out of it, or
removes it.- A cross-session search that covers this session's project ends with how many
matches this session holds, since its hits leave this session out. - Recall guidance: the recall tool is kept in the prompt's tool list instead of
behind ToolSearch; a digest or summary header says recall reads its turns
back; and a compaction that cut anything opens the history with one
[jetcompact note]saying what it cut and to use recall before re-running a
tool, replaced by the next compaction (recallNotesin the library;
withoutCompactionNotestrips it). tools/node.cmd: a pinned Node.js, downloaded from nodejs.org and checked by
SHA-256 on first use, which runs the recall tool; CI checks the line endings
of the.cmdfiles and runs the wrapper on Linux, macOS and Windows.- Each compaction outcome, and each
/compactqueued in a headless session, is
appended as one line to
<CLAUDE_CONFIG_DIR or ~/.claude>/jetcompact/compactions.log(newest 200
lines). - Hidden content (skill bodies, prompts typed while a tool ran, attachments,
images and ToolSearch-loaded tools) is read from the conversation's API form
and folded back as text into the handle-stripped rows; images and deferred
tools become placeholders. The session context and the reminders the host
re-sends or that describe a past moment (token countdown, output style,
task-tool nudge, deferred tool list, MCP instructions, editor diagnostics,
file-changed notes) are skipped, and removed from rows an earlier compaction
folded them into. maxConcurrentRequests(default 4); a 429 or 5xx is retried once after 1 s;
no further request starts after a 401, 403 or no answer; the calls of a
request that still failed are kept and counted instats.requestsFailed./compact <instructions>reach Jev's goal (instructionsoption, capped at
2000 characters).provider: "openai": OpenAI's Decisions API (gpt-6-luna, key from
OPENAI_API_KEY) instead of Jev. Jev stays the default.
Changed
- Releases are made by pushing a version tag (
v0.10.0); a push tomainno
longer releases. The Release workflow checks that the tag matches every
declared version, then publishes the library to npm asjetcompact(trusted
publishing, with provenance) and the GitHub release. - Diagnostics (outcome line, per-call decisions, redaction count, skipped
auto-compacts) go to the debug log only; the user sees one short toast. - Type reference from Claude Code 2.1.292.
- Marketplace renamed to
crazycoder. - Adaptive prose digest: with
oldProseunset, each compaction keeps old prose
verbatim while that clears the size guards; when it would be refused, it
digests old prose instead (truncateHeadChars100 unless set), within the
samecompactionTimeoutMs, and later compactions start with the digest while
it is in the conversation. Long sessions no longer climb until every
compaction is refused, and short ones keep their prose verbatim.oldProse
andtruncateHeadCharsno longer have manifest defaults: if your saved plugin
options holdoldProse: "keep"ortruncateHeadChars: 300only because an
earlier install stored the defaults, remove them to get the adaptive default.
Fixed
oldProse: summarizealways fell back to the digest on Claude Code 2.1.292+,
where$.model.completereturns a result object instead of a string.