Skip to content

Pipes on JDK 22+, doc categories, --sandbox help, README status - #69

Merged
david-Darkcollective merged 1 commit into
developfrom
fix/consistency
Nov 5, 2026
Merged

david-Darkcollective merged 1 commit into
developfrom
fix/consistency

Conversation

@david-Darkcollective

@david-Darkcollective david-Darkcollective commented Nov 5, 2026 •

Copy link
Copy Markdown
Member
  • Pipes on JDK 22 and later: System.console() is non-null for piped input there, so the start scripts from installDist and the zip treated a pipe as a terminal (ANSI codes in --help | cat, exit 2 on printf … | relix). Host.terminal asks Console.isTerminal() when the JVM has it and falls back to "a console exists" on 21; HostTest covers the three cases.
  • relix doc --function <category>: matches the categories of the installed function libraries, case-insensitively, so a category an engine adds (such as json) works. The new test runs every category the engine reports.
  • --sandbox: the help text and the command page describe the file (JSON with optional declarations and limits) and say that where it and a --max-* option or --timeout both set a limit, the smaller applies.
  • README: the status and install sections describe the 0.1.x releases and the 1.0.0 release candidates, which are GitHub pre-releases and so come from the archive download rather than Homebrew or Scoop.
  • Development version: 1.0.0-SNAPSHOT rather than 0.1.0-SNAPSHOT, which sorted below released versions.

… categories, --sandbox help, README status, development version

- Host asks Console.isTerminal() when the JVM has it, so a pipe is not a terminal on 22+.
- relix doc --function CATEGORY lists the category's functions (categories from the engine's libraries).
- --sandbox help and the command page describe the file and how it combines with the limits.
- README status and install section reflect the 0.1.x and 1.0.0-rc releases.
- Development builds report 1.0.0-SNAPSHOT rather than 0.1.0-SNAPSHOT.
@david-Darkcollective
david-Darkcollective merged commit 0ca5e70 into develop Nov 5, 2026
3 checks passed
@david-Darkcollective
david-Darkcollective deleted the fix/consistency branch November 5, 2026 20:08
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.

1 participant