Skip to content

v0.1.0 · Local image audit preview

Pre-release
Pre-release

Choose a tag to compare

@LydiaTools LydiaTools released this 01 Nov 00:11
08e5526

Claude Session Image Audit v0.1.0 · Early preview

A local, read-only CLI for finding embedded image data in Claude Code session JSONL files. It counts image blocks, tool-result images, repeated payloads, and malformed JSON lines. Optional --check-images checks base64, media type, and common image signatures and identifies affected session files.

Install the wheel with Python 3.10+:

python3 -m pip install claude_session_image_audit-0.1.0-py3-none-any.whl
claude-session-image-audit /path/to/session.jsonl --check-images

The structural check does not fully decode an image, call a model provider, determine the cause of an API error, or repair a session. It covers image blocks with base64 sources, not raw strings or other image shapes. The tool does not print image payloads or modify the session.

The wheel was installed and checked against synthetic data on macOS with Python 3.10 and 3.11. Source tests passed in GitHub Actions on Linux with Python 3.10 and 3.12. SHA256SUMS.txt covers the wheel; GitHub-generated source archives are separate.

中文

本地只读查看 Claude Code 会话文件中的图片数据,可选检查 Base64、媒体类型及常见图片文件标识,并列出受影响的会话。不会显示图片内容或修改会话文件。

这是预览版:结构检查不等于完整图片解码,不会调用模型,也不能确定 API 错误原因或修复会话。安装包在 macOS 的 Python 3.10、3.11 上使用虚构样本验证;源码测试在 Linux 的 Python 3.10、3.12 上通过。