feat(agents): add structured JSON error logging to all tools

↗ view on GitHub · Jason Lee · 2026-05-12 · a1cef7a5

Add logger.ts helper to both main and tabular agents. Wraps console.log/error
with JSON output (level, tool, message, error, stack). All tool callbacks now
catch exceptions and log full stack traces to CloudWatch via stderr.
Repository dropthejase/louis
Author Jason Lee <12leeejk2@gmail.com>
Authored
Parents efb0290f
Stats 12 files changed , +175 , -87
Part of Edit/replicate/generate-docx tool fixes and citation/error surfacing

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-a1cef7a5.md from inside the repo you want the change in.

⬇ Download capture-commit-a1cef7a5.md