Skip to content

ai_session_tools v0.3.1

Latest

Choose a tag to compare

@ahundt ahundt released this 19 Mar 19:15

ai_session_tools v0.3.1 (2026-03-18)

Patch release: Edit tool tracking in file recovery, new --include-result flag, and bug fixes.

demo


Install / Upgrade

Already installed?

uv tool upgrade ai_session_tools

New install:

uv tool install git+https://github.com/ahundt/ai_session_tools

What's New

Edit tool tracking in files search/history/extract

aise files history now shows Edit tool calls as separate versions alongside Write calls.
Previously only Write calls appeared. Each Edit becomes a numbered version with a diff
summary (+lines/-lines), timestamp, and session ID.

aise files search shows per-tool counts: how many Write, Edit, and NotebookEdit calls
touched each file across sessions.

--include-result flag

aise messages get --include-result and aise messages search --include-result include
tool result content alongside tool use messages. Previously tool results were filtered out.

tool_use_only filter

aise messages get --tool-use-only shows only tool call messages (Write, Edit, Bash, etc.),
filtering out conversational messages.


Bug Fixes

  • aise messages search "a|b" with regex pipe returned zero results; regex was compiled
    with the raw pipe as a literal character instead of alternation. Fixed regex parsing
    in cli.py.
  • aise messages search "multi word query" returned zero results when query contained
    spaces; query was split on whitespace before matching. Fixed to pass full query string.
  • aise files search and aise messages corrections crashed with Rich MarkupError on
    content containing bracket-like text (e.g. [tag]). Fixed by escaping Rich markup
    in output formatting.
  • aise list and aise files search defaulted to table format even when stdout was
    piped (non-TTY). Fixed to default to plain format when not a TTY.
  • engine.py: Fixed F821 ruff lint error (missing Callable import from typing).

Internal

  • Config resolution for org_dir, claude_dir, gemini_dir moved from scattered inline
    logic to config.py functions. No behavior change.
  • Demo recording infrastructure: added Post B (file recovery) and Post D (compaction)
    demo modes, improved version ordering in fixtures, reduced banner hold time.

Full changelog |
GitHub |
Issues