Added a full ctx-level TCP connector path for telnet:
packages/bare-os-booter/index.js Added ctx.bareOsTelnetConnect(host, port, opts) that prefers ctx.bare.bareTcp.createConnection, then new bareTcp.Socket(), with explicit diagnostics if unavailable. packages/bare-os-coreutils/src/telnet.js already preferred ctx.bareOsTelnetConnect, so it now uses this richer path first automatically. Added missing ssh command: New file: packages/bare-os-coreutils/src/ssh.js Supports -h/--help Delegates to ctx.bareOsRunSshCli when present Emits explicit nonzero unavailable/runtime diagnostics when absent Registered command: packages/bare-os-coreutils/lib/commands.mjs Hardened HDMS create mount visibility: packages/bare-os-booter/lib/hdms-manager.js hdms create now verifies mount visibility via getMountMap().has(label) and errors non-silently if missing. Success message now includes mount path (mounted=/mnt/<label>). Fixed parser/semantics and explicit failures: packages/bare-os-coreutils/src/kill.js -1 is now treated as a target (not misparsed as signal shorthand), so kill -TERM -1 is explicit/non-silent. packages/bare-os-coreutils/src/test.js Numeric test comparisons now emit diagnostic + exit 2 for empty integer operand cases (keeps existing non-decimal behavior stable). packages/bare-os-coreutils/src/crontab.js Explicitly rejects stdin/fd-style installs (-, /dev/fd/*, /proc/self/fd/*) with nonzero error. Updated ctx typings: packages/bare-os-booter/lib/bare-os-ctx.d.ts Added bareOsRunSshCli? Added bareOsTelnetConnect?
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user