You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix publish: bump pyproject.toml to 0.8.0, wire version from __init__.py (#14)
pyproject.toml had version = 0.5.0 while __init__.py was bumped to 0.8.0.
uv build reads pyproject.toml, so the published wheel was 0.5.0 which
already exists on PyPI — causing the 400 rejection.
- Set dynamic = ["version"] and [tool.hatch.version] path so hatchling
reads the version from src/agent_trace/__init__.py. Single source of
truth; version drift between the two files is no longer possible.
README:
- Add explain to quick start snippet
- Deduplicate explain in CLI reference table
- Add CI one-liner to audit section (exits 1 on violations)
- Clarify event number source in why section
- Add motivation sentence to diff section
Co-authored-by: Ona <no-reply@ona.com>
agent-strace replay --expand-subagents Inline subagent sessions under parent tool_call
110
111
agent-strace replay --tree Show session hierarchy without full replay
111
112
agent-strace list List all sessions
113
+
agent-strace explain [session-id] Explain a session in plain English
112
114
agent-strace stats [session-id] Show tool call frequency and timing
113
115
agent-strace stats --include-subagents Roll up stats across the full subagent tree
114
116
agent-strace inspect <session-id> Dump full session as JSON
115
117
agent-strace export <session-id> Export as JSON, CSV, NDJSON, or OTLP
116
118
agent-strace import <session.jsonl> Import a Claude Code JSONL session log
117
-
agent-strace explain [session-id] Explain a session in plain English
118
119
agent-strace cost [session-id] Estimate token cost for a session
119
120
agent-strace diff <session-a> <session-b> Compare two sessions structurally
120
121
agent-strace why [session-id] <event-number> Trace the causal chain for an event
@@ -424,7 +425,7 @@ Subagent sessions are linked via `parent_session_id` and `parent_event_id` in se
424
425
425
426
### Session diff
426
427
427
-
Compare two sessions structurally. Phases are aligned by label using LCS, then per-phase differences in files touched, commands run, and outcomes are reported:
428
+
Compare two sessions structurally. Useful for understanding why the same prompt produces different results across runs, or comparing a broken session against a known-good one. Phases are aligned by label using LCS, then per-phase differences in files touched, commands run, and outcomes are reported:
428
429
429
430
```bash
430
431
agent-strace diff abc123 def456
@@ -445,7 +446,7 @@ Diverged at phase 2:
445
446
446
447
### Causal chain (why)
447
448
448
-
Trace backwards from any event to find what caused it. Event numbers match the output of `agent-strace replay`:
449
+
Trace backwards from any event to find what caused it. Run `agent-strace replay <session-id>` first — the `#N`numbers in the left column are the event numbers:
449
450
450
451
```bash
451
452
agent-strace why abc123 4
@@ -474,6 +475,9 @@ Check every tool call in a session against a policy file. Auto-flags sensitive f
474
475
```bash
475
476
agent-strace audit # latest session, no policy required
0 commit comments