harbor run -t openthoughts/tasktrove-exp-rpt-stack-jest-v2-stack-jest-0358harbor download openthoughts/tasktrove-exp-rpt-stack-jest-v2-stack-jest-0358Task: Implement a small text layout utility with per-id styling and word-wrapping in /app/
Goal Create a CommonJS module that exports two functions, text and textWith, that format a given string into fixed-width lines according to a style object. The behavior must satisfy the tests provided (wrapping, defaults, and per-id style overrides).
What to implement
File location
API
Style handling details
Wrapping and output format specifics (derived from tests)
Example behavior (based on tests)
Acceptance criteria
Notes
This task description describes exactly what functionality to implement, the required behaviors, edge cases, and how the solution will be validated by the provided tests.