Skip to content

fix: format crumb data on same line as message#17

Merged
ericallam merged 1 commit intomainfrom
fix/single-line-output
Mar 11, 2026
Merged

fix: format crumb data on same line as message#17
ericallam merged 1 commit intomainfrom
fix/single-line-output

Conversation

@ericallam
Copy link
Member

Summary

  • Data was printed on a separate line from the message, making log output noisy and harder to scan
  • Now prints inline: webapp:llm-pricing loaded models from db +353ms { count: 145 }
  • Set breakLength: Infinity on util.inspect to prevent Node from wrapping the data object
  • Fixed in both ConsoleSink (stderr output) and formatCrumbPretty (CLI tail/query output)

Test plan

  • pnpm build passes
  • Run a service with AGENTCRUMBS=1 and verify crumbs print on a single line
  • agentcrumbs tail and agentcrumbs query also show single-line output

Data was printed on a new line, making log output harder to scan.
Now prints on the same line with breakLength: Infinity to prevent
node inspect from wrapping.
@vercel
Copy link

vercel bot commented Mar 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agentcrumbs-docs Ready Ready Preview, Comment Mar 11, 2026 7:37am

Request Review

@ericallam ericallam marked this pull request as ready for review March 11, 2026 09:22
@ericallam ericallam merged commit 839404f into main Mar 11, 2026
2 checks passed
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.

2 participants