diff --git a/plugins/repo-dreamer/skills/repository-skill-forge/scripts/materialize-session-query.py b/plugins/repo-dreamer/skills/repository-skill-forge/scripts/materialize-session-query.py index 24e4f40..5eb0158 100755 --- a/plugins/repo-dreamer/skills/repository-skill-forge/scripts/materialize-session-query.py +++ b/plugins/repo-dreamer/skills/repository-skill-forge/scripts/materialize-session-query.py @@ -167,7 +167,7 @@ def parse_rows( ], "refs": ["session_id", "ref_type", "ref_value", "turn_index"], "files": ["session_id", "file_path", "tool_name", "turn_index"], - "tools": [ + "tool-calls": [ "session_id", "tool_call_id", "tool_name", @@ -223,7 +223,7 @@ def parse_rows( "turn_index": int(turn_index), } ) - elif kind == "tools": + elif kind == "tool-calls": session_id, tool_call_id, tool_name, remainder = row.split(" | ", 3) arguments_json, exit_code, completed_at = remainder.rsplit(" | ", 2) json.loads(arguments_json) diff --git a/plugins/repo-dreamer/skills/repository-skill-forge/tests/test_materialize_session_query.py b/plugins/repo-dreamer/skills/repository-skill-forge/tests/test_materialize_session_query.py index 98d0574..ec4e814 100644 --- a/plugins/repo-dreamer/skills/repository-skill-forge/tests/test_materialize_session_query.py +++ b/plugins/repo-dreamer/skills/repository-skill-forge/tests/test_materialize_session_query.py @@ -103,7 +103,7 @@ def test_materializes_spilled_tool_rows_with_pipes_and_newlines(self) -> None: "actions": [ { "actionId": "tools-1", - "kind": "tools", + "kind": "tool-calls", "sql": sql, "outputPath": str(output), }