Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Then `cd` into this repo; `node`, `npm`, and `go` come from mise.
[tools]
node = "22"
go = "1.25.8"
go = "1.26.0"

[env]
_.file = ".env.local"
8 changes: 7 additions & 1 deletion skills/analyze-transcript/analyze-transcript.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import sys
from collections import Counter
from datetime import datetime
from typing import TypedDict

# Prevent BrokenPipeError when output is piped through head/tail.
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
Expand Down Expand Up @@ -243,8 +244,13 @@ def cmd_conversation(args):
print()


class ToolStats(TypedDict):
count: int
lines: list[int]


def cmd_tools(args):
tool_data = {}
tool_data: dict[str, ToolStats] = {}

for i, role, msg, _raw in iter_messages(args.file, args.line_range):
if role != "assistant":
Expand Down
Loading