Skip to content

Add terminal stdout/stderr output, cleanup code, add builtins, update documentation#1

Merged
nickesc merged 34 commits intomainfrom
dev
Feb 3, 2026
Merged

Add terminal stdout/stderr output, cleanup code, add builtins, update documentation#1
nickesc merged 34 commits intomainfrom
dev

Conversation

@nickesc
Copy link
Owner

@nickesc nickesc commented Feb 3, 2026

  • Introduces terminal stdout/stderr and an output manager so commands print output via the terminal API instead of console logging
    • Extends the command exit/result object to include stdout/stderr logs so command results carry their output
    • Adds a TermOutput component that subscribes to stdout/stderr events and renders to a DOM element
  • Improves command/builtin behavior and return values
  • Documents usage of the package and regenerates documentation
  • Adds/updates tests to cover changes
  • Applies formatting (Prettier) and general housekeeping (package bump, demos updated)

* feature/stdout:
  updated docs
  updated demo code
  added commands to builtins
  replaced calls to console with calls to stdout and stderr
  updated demo to use new output method
  export options type for public api documentation
  updated terminal construction in custom key tests
  implement stdout and stderr output methods
@nickesc nickesc self-assigned this Feb 3, 2026
@nickesc nickesc added documentation Improvements or additions to documentation enhancement New feature or request labels Feb 3, 2026
@nickesc nickesc merged commit 7b03c87 into main Feb 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant