5.3 KiB
Changelog — bare-os-coreutils
Unreleased
-
summon: Text web browser (ctx.tui, cell buffer). HTML/CSS engine plus page JS viactx.bare.bareVm(bare-vm/bare-realm) or a Function sandbox.--no-js/J. HTTP viactx.httpFetch. See summon.md. -
irc: Room browser (/rooms, Ctrl+L), featured Libera channels,LISTfilter, self-JOIN switches buffer. Full slash table (/query//msgprint usage when args are missing). RandomosXXXXXnick when USER looks like a container id. TLS prefersctx.bareOsTlsConnectand falls back toctx.bare.bareTls. -
dhttop/swarmmap/routeview/holepunch-view/swarmtop/chat/edit/nano: TTY mode prefersctx.tui.run(TEA;edit/nanousebuffer: 'cell'so help and prompts overlay). The pre-SDK key loop remains whenBARE_OS_TUI=0. -
agent: interactive setup prefersctx.tui.form(identity + backend). Line wizard remains when the SDK is off. -
baretop/btop: TTY dashboard is actx.tui.runTEA app (buffer: 'cell'). Title, tab strip, viewport/table body, and footer are a fixed-height frame (no terminal scroll). Help is an overlay. The pre-SDK draw loop remains whenBARE_OS_TUI=0. -
Coreutils hardening: shared runtime helpers (strict ints, path identity, portable Base64/hex, env lookup). Closed data-loss paths (
mv/cpself,touchon directories,truncateunread files,rm -isilently deleting,installonto a directory). Missing-file exits now fail (head/tail/wc/ls/du/cmp/diff). Bare-only decode no longer requires NodeBuffer.seq/dd/cut/nlare bounded.find -depthno longer eats the next argument.grep -m 0,exprzero-result status,hostnameset,sleepoperands,chmodsymbolic modes,chownowner-only, and dashedunlink -- -nameoperands are POSIX-shaped. -
Agent skills: new
kernel-program-extensionskill (governed Batch C / kernel program work, roadmap-first workflow, verification_hints integration). Seeded viaBARE_AGENT_SKILL_SEED_REL. -
Time command: comment hygiene (removed "placeholder" phrasing to keep audit baseline clean).
-
baretop/btop**:**BARE_TOP_FETCH_EWMA=1lowers parallel/procbatch concurrency when the previous fetch-time EWMA is high;BARE_TOP_SCROLL_REGION=1sets an experimental DECSTBM region around the process list (reset each frame). Sample fixturebaretop-sample-metrics.jsonincludesnetSummaryNestedExamplefor nested net UI tests. -
baretop/btop**: Network tab formats nestednet_summary.json(replicationQueue,peerFirewallStats,bsdSocketGuestBridge) without[object Object]; optionalBARE_TOP_NET_FILTERapplies/on that tab; wide two-column merge when**BARE_TOP_LAYOUT=even**and cols ≥ 100; net byte-delta spark from iface counters. Overview gains nethealth, diskstats, syscalls summary, delegate_red, security_posture, boot_budget_summary, peer health, capabilities diff, extensions, git deltas (withd+ prev snap), larger kernel counter sample, IPC backpressure line from proc JSON, session wall spark, worker/sandbox hints, readErrPaths listing, MemUsed bar + swap line + logical CPU count in HUD; process columns NI/PRI**/**CPU%** when present, **BARE_TOP_CMD_ELLIPSIS_MIDDLE**, extended sort keys, tree ancestor dimming + ASCII+--, **x** toggles initd raw JSON, features flattened table, catalog version line, pear pack depth **8**, host-tab worker/sandbox one-liners, mouse click-scroll on list tabs **2–9**. Snapshot batch adds **security_posture.json**; **readErrPaths** on failed **readFile`** paths. -
baretop/btop**: Health score no longer penalizes operationalreplicationLive.stallHintvalues (no_peers**,length_unavailable,ok); delegate inflight penalties use active (count > 0) kinds with a combined cap; optionalreplicationStall: trueforces the stall penalty.bareOsReadBareTopSnapshotmay returnmetricsLiveText(same payload asmetrics_live.json) to avoid an extra read when the booter builds both.BARE_TOP_INCREMENTAL=2experimental CSI line-diff redraws;BARE_TOP_LAYOUT_AUTO, F2 setup overlay, F3**/**F4** process row jump, **F10** quit; overview **limits** / **p2p** sections, network tab interface sort, tab intro lines, filter-match row highlight,layoutVersionbaretop-ui-3. Default **BARE_TOP_FETCH_CONCURRENCY\*\* **8**. QA script **scripts/qa-baretop-health.mjs`. -
baretop/btop**(prior): Scrollable overview tab with pinned HUD (activity sparklines, session summary, delegate histogram); compactmetrics_livepanels (replication, kernel counters with delta mode, warm cache, IPC, boot budget, swarm lifecycle, initd readiness, worker hints, protomux collaboration); capped flatten and delegate inflight table; health score breakdown (BARE_TOP_HEALTH_DETAIL); optional lite snapshot batch (BARE_TOP_SNAPSHOT_LITE**); export metadata +BARE_TOP_EXPORT_REDACT; process tab TIME column, **F6**/**S** sort, **V** tree view, state-based row color, optional mouse wheel/click; many layout/telemetry env toggles documented in **src/baretop.js** and **man baretop`**.