Skip to content

feat(capture): recognize more agent tool names in the category taxonomy - #177

Merged
mikehasa merged 2 commits into
mainfrom
feat/taxonomy-more-tool-names
Aug 30, 2026
Merged

feat(capture): recognize more agent tool names in the category taxonomy#177
mikehasa merged 2 commits into
mainfrom
feat/taxonomy-more-tool-names

Conversation

@mikehasa

Copy link
Copy Markdown
Owner

The name-only tool-category map recognized the Claude Code, Codex, and Hermes tool names but bucketed everything else as other. This adds real, verified names that were falling through:

  • opencode: list→search, patch→edit, todoread→plan (the ones not already shared with Claude/Codex names).
  • Anthropic text-editor tool: str_replace_based_edit_tool / str_replace_editor / text_editor → edit.
  • Cross-agent snake_case (Cursor/Windsurf/MCP servers): read_file, write_file, edit_file, list_dir, codebase_search, run_terminal_cmd, web_search.

Purely additive to the name→category dict; still name-only (never inspects arguments/paths). Improves the Actions category breakdown for non-Claude agents. Test extended.

Adds opencode (list/patch/todoread), Anthropic's text-editor tool
(str_replace_based_edit_tool / str_replace_editor / text_editor), and common
cross-agent snake_case names (read_file/write_file/edit_file/list_dir/
codebase_search/run_terminal_cmd/web_search) to the name-only category map.
Each previously fell through to 'other', making those agents' Actions
category breakdown less informative. Name-only, additive, no argument
inspection.
read_file is now a recognized name (this branch maps it to 'read'), so it can
no longer stand in for the unknown -> 'other' path in
test_tool_activity_from_calls_aggregates_all_signals. Swap it for
some_unknown_tool so that assertion still exercises 'other'.
@mikehasa
mikehasa merged commit 2443cc3 into main Aug 30, 2026
4 checks passed
@mikehasa
mikehasa deleted the feat/taxonomy-more-tool-names branch August 30, 2026 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant