Skip to content

ContextPulse 0.1.4: auto-context for Claude Code, and voice dictation in beta

Latest

Choose a tag to compare

@junkyard-rules junkyard-rules released this 01 Dec 05:14
· 1 commit to main since this release

ContextPulse 0.1.4 adds auto-context, so Claude Code starts each prompt knowing what you were
just looking at. It also ships streaming voice dictation as a free beta, and fixes the problems a
new clean-machine install test found in 0.1.3's build process.

New

  • Auto-context for Claude Code (free, on by default). The installer adds a Claude Code hook
    unless you untick "Tell Claude Code sessions what you are working on". When a session starts,
    the hook adds up to 8 distilled facts about the project you are in. With each prompt it adds
    the window you were last in (other than the agent's terminal), with up to 700 characters of
    its on-screen text if it was captured in the last 10 minutes, and window titles, dictations
    and copies from the last 15 minutes that name the project. It is capped at 600 tokens (plus
    450 for facts at session start), skips any line it already sent in the same session, and runs
    everything through redaction and the privacy blocklist first. If it takes more than 1.5
    seconds, your prompt goes through without it. The note is sent to Anthropic with your prompt,
    like anything you type, and every note sent is logged on your PC. To turn it off:

    "%LOCALAPPDATA%\Programs\ContextPulse\ContextPulseCLI.exe" -m contextpulse_core.auto_context uninstall
    

    Later upgrades respect that, and uninstalling ContextPulse removes the hook. status,
    show -n 3, off and on work the same way. A silent install with
    /MERGETASKS="!autocontext" leaves it out. See packages/core/AUTO_CONTEXT.md.

  • Seven core MCP tools by default. The MCP server now serves facts_about, context_at,
    search_history, get_screen_text, get_screenshot, memory_store and memory_recall.
    Set tool_profile to full (in config.json, or CONTEXTPULSE_TOOL_PROFILE=full) for all 37,
    as every earlier release served. search_history now also searches clipboard copies,
    dictations and typing corrections.

  • Streaming voice dictation (beta). While you hold the hotkey (Ctrl+Space), each phrase is
    transcribed in the background. At release only the last phrase is left to transcribe, so the
    text pastes sooner. In one 28-second test recording on our machine, the text arrived about
    half a second after release. Your CPU decides your speed. Speech is transcribed on your PC
    by Whisper (small by default). The text still pastes once, on release. Set
    voice_streaming to false to transcribe the whole clip after release instead.

  • AI cleanup on by default, no API key needed. Cleanup removes filler words and false
    starts and fixes punctuation. It runs through the Claude Code CLI whenever one is on your PATH,
    on your own Claude plan. If that CLI is signed out or cannot run, the call fails and nothing is
    sent; it does not fall back to an API key. With no CLI on the PATH it uses your Anthropic API
    key if one is set. With neither, rule-based cleanup runs on your PC. Cleanup sends the dictated text (not audio) to Claude, and never sends a
    dictation that matches a secret pattern. Turn it off in Settings or with
    voice_always_use_llm: false.

  • Voice edit (beta). Select text, hold Ctrl+Alt+Shift+Space, say what to change ("make
    this shorter"), let go. The rewrite replaces the selection. In a terminal it is typed at the
    cursor, and Enter is never sent. It sends the selection and your instruction to Claude by the
    same route as cleanup. It is free for everyone while dictation is in beta.

  • Fix-last can be turned off. Clearing the Fix-last hotkey in Settings (or setting
    voice_fix_hotkey to "") now turns it off; before, Settings put the default back.

  • ContextPulseCLI.exe --transcribe <file.wav> transcribes a WAV with the local model, so you
    can check voice without a microphone.

Fixed: fresh installs

A new install test on a clean Windows machine found that a fresh build could ship broken in ways
our development machine hid.

  • Facts reach a Claude Code session even when the activity store is missing or broken, as it is
    on a fresh install before the daemon's first write.
  • A build missing its Tcl/Tk data is now refused at build time. One built on a newer Python
    installed cleanly and then could not start.
  • Dictation on a fresh install loaded the model and never transcribed, because a newer PyAV
    release dropped an argument the transcriber passed. Dictation audio is now decoded
    in-process.
  • Uninstalling ContextPulse removes the auto-context hook. Before, Claude Code would try to run
    the deleted program on every prompt.
  • The installed app no longer flashes a console window at launch.
  • On first run, capture, the MCP server and the tray icon now start before the welcome dialog,
    and the dialog says how to pause capture (Ctrl+Shift+P, or tray icon > Pause Capture) or stop
    everything (tray icon > Quit). On the first voice start, a tray notice says the voice model is
    downloading, and another says when dictation is ready. Before, the first dictation looked dead
    while the model downloaded.

Fixed: voice

  • Learned vocabulary entries that rewrote ordinary dictations wrongly are dropped.
  • Consecutive dictations into one field get one space between them.
  • Repeated phrases that Whisper split with an ellipsis or full stop are removed.
  • The vocabulary prompt is no longer pasted back as dictated text.
  • A cached Whisper model loads without contacting huggingface.co.
  • The spoken language is detected once and reused, not on every clip.
  • Kept audio samples (voice_keep_audio) no longer overwrite each other when two land within
    one clock tick.

Fixed: privacy

  • Keys that appear in window titles are now redacted before storage.
  • The privacy blocklist checks the app's process name and the text read off the screen, not
    only the window title. A password manager open in a browser tab, or in a window titled with
    the vault name, is no longer captured.
  • Whole tokens are redacted before rules that match part of one.

Installer

ContextPulseSetup-0.1.4.exe installs per user and does not need administrator rights. It
installs over 0.1.3 in place. Before it installs, it shows a page saying what ContextPulse
captures (your screen, clipboard, keyboard/mouse activity and voice dictation, stored on this PC), that it adds
the auto-context hook to Claude Code by default and how to turn it off, what else leaves the PC
(model downloads, and the six features that send text to Claude: AI cleanup, Fix-last, voice
brief, voice edit, the vocabulary learner and the fact consolidator), that dictation is beta,
and how to pause capture or quit. The welcome dialog on first run lists the same, says whether
the hook is on, and gives the command to change it.

  • Size: 124,928,447 bytes
  • SHA-256: 37f6960470cad3293a81e0c0c3abe5f19cb4a50b3a322193ed1d89f22d5a8764
  • The installer is not code-signed yet, so Windows SmartScreen may warn you first. Choose
    More info, then Run anyway.
  • The first time voice starts, it downloads its Whisper model (about 460 MB) from
    huggingface.co. Semantic memory downloads the two files of its embedding model the first time a
    memory is stored or searched. Neither download carries data of yours.

Known limits

  • Windows 10/11 only.
  • Voice dictation and voice edit are beta: they work, and we are still tuning accuracy and
    speed. Please report misheard words in an issue.
  • Redaction is pattern matching, so it can miss things.

Full Changelog: v0.1.3...v0.1.4