mirror of
https://github.com/morluto/rea.git
synced 2026-11-19 21:23:45 +00:00
fix(cli): deliver complete TOON beyond the string limit (#12074)
* fix(cli): deliver complete TOON beyond the string limit * fix(cli): own cancellation through TOON delivery * test(cli): await TOON stage acknowledgements * fix(cli): build TOON cancellations through domain factory --------- Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com> Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
This commit is contained in:
10 files changed
+1019
-60
No files matched your search
@@ -1488,7 +1488,20 @@ descendants in other process groups that inherited its run token. If that
|
||||
cleanup cannot be confirmed, the report keeps its earlier checks and adds a
|
||||
failed `cleanup` check with the reason and retained run identifier.
|
||||
|
||||
The default terminal format is TOON. Use `--json` when saving results for a
|
||||
The default terminal format is TOON. Complete TOON results are validated
|
||||
before stdout receives the document. Large results use a private file in the
|
||||
system temporary directory until delivery finishes and need free space there.
|
||||
If closing or removing that stage fails, CLI shutdown retains and retries its
|
||||
cleanup in order. The reported cleanup failure preserves any original formatting
|
||||
or temporary-storage refusal. SIGINT/SIGTERM remain owned through staging,
|
||||
delivery and cleanup: pending I/O settles before further writes stop and the
|
||||
stage is removed.
|
||||
A document can exceed the runtime's string limit when each encoded line fits.
|
||||
Staging limits the encoded text kept in memory. The TOON encoder still
|
||||
normalizes the input tree before yielding lines, so working memory also
|
||||
depends on the size of the input and the longest encoded line.
|
||||
Token counting and token windows still require a complete formatted string.
|
||||
Use `--json` to stream the result without TOON staging or to save it for a
|
||||
JSON consumer. Valued output flags (`--format`, `--filter-output`,
|
||||
`--token-limit`, `--token-offset`) accept `--flag value` or `--flag=value`; a
|
||||
missing value fails with `MISSING_OUTPUT_VALUE` before the command runs.
|
||||
|
||||
Reference in new issue
Block a user