Skip to content

feat: add character mode to GadgetOutputViewer#592

Merged
zbigniewsobiecki merged 2 commits intodevfrom
codex/gadget-output-viewer-character-mode
May 4, 2026
Merged

feat: add character mode to GadgetOutputViewer#592
zbigniewsobiecki merged 2 commits intodevfrom
codex/gadget-output-viewer-character-mode

Conversation

@zbigniewsobiecki
Copy link
Copy Markdown
Owner

@zbigniewsobiecki zbigniewsobiecki commented May 4, 2026

Summary

  • add line and character browsing modes to GadgetOutputViewer
  • improve dense-output guidance and truncation handling for oversized single-line results
  • make markdown renderer color tests deterministic when NO_COLOR is set in the environment

Testing

  • npm test -- packages/llmist/src/gadgets/output-viewer.test.ts packages/llmist/src/agent/output-limit-manager.test.ts
  • npm run typecheck --workspace=llmist
  • ./node_modules/.bin/biome check packages/llmist/src/agent/gadget-output-store.ts packages/llmist/src/agent/output-limit-manager.ts packages/llmist/src/agent/output-limit-manager.test.ts packages/llmist/src/gadgets/output-viewer.ts packages/llmist/src/gadgets/output-viewer.test.ts
  • npx vitest run packages/cli/src/ui/markdown-renderer.test.ts
  • npm test

@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 90.32258% with 18 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
packages/llmist/src/gadgets/output-viewer.ts 90.58% 16 Missing ⚠️
packages/llmist/src/agent/output-limit-manager.ts 83.33% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@zbigniewsobiecki zbigniewsobiecki merged commit ca29faf into dev May 4, 2026
4 checks passed
@zbigniewsobiecki zbigniewsobiecki deleted the codex/gadget-output-viewer-character-mode branch May 4, 2026 12:44
zbigniewsobiecki pushed a commit that referenced this pull request May 4, 2026
## [17.3.0](v17.2.1...v17.3.0) (2026-05-04)

### Features

* add character mode to GadgetOutputViewer ([#592](#592)) ([ca29faf](ca29faf))

### Bug Fixes

* **docs:** fix broken internal doc links ([#583](#583)) ([47c5149](47c5149))
* **docs:** replace .throwsError() with .throws() and update mock import pattern ([#582](#582)) ([08f2654](08f2654))
* **docs:** sync model alias documentation with model-shortcuts.ts source ([#584](#584)) ([a34f32e](a34f32e))
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