Skip to content

Releases

v0.15.0

Choose a tag to compare

@github-actions github-actions released this 04 Nov 04:06
v0.15.0
c2be9ca

Changed

  • A missing key no longer stops a compaction or sends it to the built-in
    summary: it runs by the rules of algorithmic, and its log line and toast say
    so. The size guards apply as usual.
  • Repeated hidden content longer than a placeholder, such as the body of a skill
    that a loop runs on every turn, goes back whole once, at the copy placed
    lowest: each other copy becomes a placeholder that points to it. A session
    that ran one skill many times compacts again.

Fixed

  • The reduction counts hidden content on both sides. It was added to the size
    after compaction but not to the size before, so a session with large skill
    bodies showed a negative reduction (-836%) and was never compacted.

v0.14.2

Choose a tag to compare

@github-actions github-actions released this 31 Oct 23:13
v0.14.2
2422586

Added

  • recall takes who: "user", "assistant" or "tools", which limits a
    query to what that side wrote.

Changed

  • recall search puts entries holding the exact phrase first, and ranks a word
    above the same letters inside another word, so hold no longer rates
    threshold as high. Such matches are still found.
  • Russian function words such as как, что and почему no longer count in a
    search. A query of stopwords alone gets Too broad in the current session
    too.

v0.14.1

Choose a tag to compare

@github-actions github-actions released this 31 Oct 22:47
v0.14.1
624d911

Added

  • takeMidTurnPrompts and withPromptRows in the library: they turn prompts
    typed mid-turn into user rows ahead of a compaction.

Fixed

  • A prompt typed while the assistant works is the user's message everywhere.
    recall and the session index read it, and a compaction gives it a row of its
    own, so it enters the digest, the goal and recentTurns instead of being lost
    with the turn it was typed in.
  • The digest boundary no longer passes a call still waiting for its result, so a
    pending call stays in the history.

v0.14.0

Choose a tag to compare

@github-actions github-actions released this 31 Oct 21:05
v0.14.0
6d0c466

Added

  • askHeadChars, a library option: the head that decides which sides get a
    question. The harder cut uses it to ask the first pass's questions, so it
    reuses those answers.

Changed

  • The decision model is asked only what can change the result. A side of a call
    too short to cut gets no question, and a call with no such side gets none at
    all. In 39 real sessions this drops 62% of the questions, and a compaction
    with nothing to decide sends no request. The keep budgets are spent only on
    what a cut can change, so small calls no longer use them up.

Removed

  • The cutIds and headChars options of foldHiddenContent. Hidden content
    goes back whole: nearly all of it is skill bodies, prompts typed mid-turn and
    hook context, which recall cannot read.

Fixed

  • The calls of a failed request, and a call no window can fit, are scored from
    the transcript and compete for the keep budgets, so they are no longer sure to
    stay. A blanket score of 1 put them above every call the model answered for,
    while a call too big for the budget was cut all the same.
  • An input that an earlier compaction cut to a stub is left as it is, and not
    cut again at each compaction.
  • recall search skips long base64-like runs that mix digits and both cases. A
    short word such as max matched inside base64 by chance, and that entry
    ranked first.
  • <side-sessions-event>, <ci-monitor-event> and a stopped turn's
    [Request interrupted by user] count as host text. They no longer become user
    turns in the digest, take up recentTurns or enter the goal.
  • A digest's Referenced list holds a URL once, not its path as well.

v0.13.0

Choose a tag to compare

@github-actions github-actions released this 13 Oct 17:58
v0.13.0
31236c6

Added

  • The compaction note names the documents (Markdown and plain text) that the
    conversation read and the compaction cut, and tells the model to read again
    any that holds instructions for the current work. A file of rules or
    preferences is cheap to re-read, but once its text is gone the model does not
    know it should.
  • oldProse: summarize shows the summarizing model which files each turn read,
    not only how many tool calls it made.

Changed

  • The decision model is told that the assistant will not re-read instructions it
    was following. Its result criteria count such instructions as worth keeping,
    and a document consulted once for a fact as safe to drop.

v0.12.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 15:16
v0.12.0
1f36c5b

Changed

  • Compactions cut harder by default. Prose older than the last 4 user turns
    (recentTurns, was 8) becomes a digest at every compaction, instead of only
    when verbatim prose would be refused; keepResultTokens is 6000 (was 12000)
    and keepCallTokens 2000 (was 4000). In a replay of 30 large real sessions, a
    compaction kept 36% of the context instead of 70%, and the share of cut
    results needed again later went from 2.2% to 3.1%; recall reads them back.
    Set oldProse: "keep", recentTurns and the budgets to keep more. Why these
    values: README, "How hard a compaction cuts"; numbers in docs/evals.md.
  • targetPercent is a goal, not a reason to give up. An automatic compaction
    that misses it after the harder cut, but frees minReductionRatio, applies
    its own result; the built-in summary runs only when JetCompact cannot free
    that much or the decision model fails. In 0.11.0, at a small compaction
    window, most compactions went to the built-in summary and took about 25 s; now
    they take under 2 s at the same cost.
  • The harder cut (half budgets, 100-character heads) is only the second attempt
    of a compaction; it no longer applies to every compaction once the session
    holds an earlier cut.

Added

  • tools/replay takes --options <json> to replay sessions with other
    compaction options, such as the keep budgets or decider: "algorithmic".

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 13:28
v0.11.0
b64c5e0

Added

  • Evals: A/B runs against Claude Code's built-in summary on
    nine coding tasks, with a cost model of compacting harder or lighter. The
    harness is jetcompact-eval.
  • provider: "algorithmic" (library decider: 'algorithmic'): compaction with
    no decision model and no key. Calls are scored from the transcript alone,
    after pi-vcc's ranking and pi-blackhole's error tracking: superseded reads,
    repeated calls and older todo lists near 0, resolved errors low, open errors
    kept, search output lower, test and build output higher.
  • ageCutResults (default off): a result an earlier compaction cut to a head
    keeps only its cut note at the next compaction.
  • questionCriteria (default off): each decision question gets true/false
    criteria for what is worth keeping.

Changed

  • Before an automatic compaction falls back to the built-in summary, a harder
    cut is tried: the keep budgets halve and heads shrink to 100 characters.
    Identical Jev requests within one compaction are sent once; an error status is
    asked again.
  • Once a session holds a cut from an earlier compaction, every compaction cuts
    that hard from its first attempt, so a long session keeps less context per
    compaction and compacts less often. The first compaction stays light.
  • A /compact you type is applied whenever it frees anything; the size guards
    hold back only automatic compactions. The /compact the plugin queues in a
    headless session carries automatic, from jetcompact and stays automatic.
    (ferrisworks bd4a01d)
  • When Claude Code moves on (Esc, another hook settling first), the in-flight
    request is abandoned and nothing is returned or delegated. When the hook runs
    over Claude Code's time budget, or Claude Code refuses its result, that is
    logged and the built-in summary runs where builtinFallback allows it.
    (k-metehan 18f69f8, 0f4ca22)
  • When the built-in summary fails after a fallback, the plugin installs its own
    result if that freed anything. (deadczarvc a45402e)

Fixed

  • compactAtPercent and targetPercent count against the window Claude Code
    compacts at (CLAUDE_CODE_AUTO_COMPACT_WINDOW or a setting when set), not the
    model's whole window. With a smaller compaction window, or on a 1M model, the
    plugin asked for compaction late and the size target never applied.
  • The estimate of the context after a compaction keeps the system prompt, tools
    and memory files as they are; it shrank them with the messages, so it came out
    low.
  • A stubbed call's input is cut on a code point boundary, so an emoji is never
    split. (k-metehan 11bd2be)

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 10 Oct 23:24
v0.10.0
7da27af

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 a recall tool
    (mcp__jetcompact__recall) over the session transcript, with query (BM25 or
    regex), expand (by #N or tool_use_id, the uncut result, saved large
    outputs included), range and touched (files changed, or every call on a
    file), in answers of at most 48k characters; agent runs a request on
    subagent transcripts, sessions searches past sessions of this project,
    another or all (project), and session runs a request on one of them; with
    qmd installed that search uses a qmd index of the sessions
    (sessionIndex: auto, default; off always scans). Cut notes name the recall
    call instead of "re-run the tool" (recallNotes in 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 (recallNotes in the library;
    withoutCompactionNote strips 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 .cmd files and runs the wrapper on Linux, macOS and Windows.
  • Each compaction outcome, and each /compact queued 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 in stats.requestsFailed.
  • /compact <instructions> reach Jev's goal (instructions option, 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 to main no
    longer releases. The Release workflow checks that the tag matches every
    declared version, then publishes the library to npm as jetcompact (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 oldProse unset, each compaction keeps old prose
    verbatim while that clears the size guards; when it would be refused, it
    digests old prose instead (truncateHeadChars 100 unless set), within the
    same compactionTimeoutMs, 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
    and truncateHeadChars no longer have manifest defaults: if your saved plugin
    options hold oldProse: "keep" or truncateHeadChars: 300 only because an
    earlier install stored the defaults, remove them to get the adaptive default.

Fixed

  • oldProse: summarize always fell back to the digest on Claude Code 2.1.292+,
    where $.model.complete returns a result object instead of a string.