Commit Graph
177 Commits
Author SHA1 Message Date
Raven Scott 2151550f3a Updates 2026-04-22 04:58:18 -04:00
Raven Scott 6b8f28bdfd Updates 2026-04-22 04:41:19 -04:00
Raven Scott eebf6a0e23 Holesail URL Persist 2026-04-22 04:21:32 -04:00
Raven Scott 1b7381c137 http server updates and docs 2026-04-22 04:12:27 -04:00
Raven Scott 9200780e21 hdms and holesail skills 2026-04-22 03:30:37 -04:00
Raven Scott 5731445ab4 Developer Skill 2026-04-22 03:15:00 -04:00
Raven Scott cb6f643273 Further updates to configure 2026-04-22 03:07:28 -04:00
Raven Scott 5eb559c554 Agent Workspace Mount After Config 2026-04-22 02:57:42 -04:00
Raven Scott 6ee7cfcb57 TUI CONFIG 2026-04-22 02:51:45 -04:00
Raven Scott bc737094ca Attempts at agent skills 2026-04-22 02:45:44 -04:00
Raven Scott 5b12254fe1 Add agent workspace 2026-04-22 02:28:25 -04:00
Raven Scott 2cfd2a8ab3 Update docs about agent and chat 2026-04-22 02:11:27 -04:00
Raven Scott 4fc94cebaa Further updates to web_fetch 2026-04-22 01:50:59 -04:00
Raven Scott b0165c0157 web_fetch fixes 2026-04-22 01:46:29 -04:00
Raven Scott dd24b61400 web_fetch fix 2026-04-22 01:38:49 -04:00
Raven Scott 5e457f5bea web_fetch updates 2026-04-22 01:30:47 -04:00
Raven Scott 596b7962a4 Agent white text 2026-04-22 00:14:12 -04:00
Raven Scott 64106b7ac5 agent plain text 2026-04-22 00:07:17 -04:00
Raven Scott 09433707a7 Agent Updates 2026-04-21 23:28:22 -04:00
Raven Scott d9bf332f07 Agent Fixes 2026-04-21 22:54:52 -04:00
Raven Scott 3548ae9f65 Update proc 2026-04-21 22:45:50 -04:00
Raven Scott c549569aaa Agent Updates 2026-04-21 22:33:34 -04:00
Raven Scott 932c841e06 Agent Updates 2026-04-21 22:18:41 -04:00
Raven Scott c24c518135 Resolve Agent Running Scripts 2026-04-21 22:08:22 -04:00
Raven Scott b5087a1caa Updates to Agent 2026-04-21 22:00:08 -04:00
Raven Scott 52fec92c2c Further updates to Agent 2026-04-21 21:56:24 -04:00
Raven Scott 7f6e6507e1 Attempt at beginning a ralph agent 2026-04-21 21:51:31 -04:00
Raven Scott ad9590aa46 Chat Fixes 2026-04-21 21:20:18 -04:00
Raven Scott ecd01cea50 Chat TUI 2026-04-21 20:17:19 -04:00
Raven Scott 17af3ac65f chat-v1 2026-04-21 20:05:57 -04:00
Raven Scott 064c2a9338 rename cow files to bare files 2026-04-21 19:44:12 -04:00
Raven Scott cc757e44fc Fix Bear 2026-04-21 19:36:45 -04:00
Raven Scott be6ca4a40c Add cowsay-style /bin/baresay and identical /bin/say (say maps to baresay
source via build.mjs). Ship lib/baresay-engine.js for wrapping, balloons,
and cowfile parsing; default character is bear under /share/baresay/.cow.

Register commands, man pages, rebuild man/completion/posix index, sync
kernel to seeder, bump Tier-1 command count in docs to 155, and add a
test that say and baresay bundles match.
2026-04-21 19:28:55 -04:00
Raven Scott ca77803198 Replace single-line truncation with bareTopWrapLine for scalars and
bareTopFlattenLimited (multi-line, wider budget) for object/array values.
Narrow key column slightly to give more width to values; regenerate bundles.
2026-04-21 19:13:38 -04:00
Raven Scott 1d1e5c487e Replace Enter-key process detail pretty-print with flattened/summary/fd/env
views; gate legacy JSON with BARE_TOP_PROC_DETAIL_JSON.

Render nested snapshot fields via bareTopFormatNestedBrief instead of compact
JSON snippets (features, net helpers, overview).

Retitle help/initd copy and soften catalog quotas hint; document new env in
-h and F2 setup. Regenerate kernel baretop/btop bundles.

Shallow object lines format *Bytes and *Ms with existing formatters.
2026-04-21 19:01:42 -04:00
Raven Scott ef0301f435 fix(edit,nano): bracketed paste + bounded prompts so Save-as cannot flood
Enable xterm bracketed paste (?2004h/?2004l), parse ESC[200~…201~ as a single
paste event, insert paste in the buffer with one undo step, and replace
prompt input with first-line sanitized text capped by BARE_EDIT_MAX_PROMPT.
Cap typed prompt length for terminals without bracketed paste. Extend tests and
rebuild kernel /bin edit and nano bundles.
2026-04-21 18:45:55 -04:00
Raven Scott 36492de3d9 bare-ssh2 parses SFTP handles via bufferSlice/safer-buffer — handles are often
Uint8Array views that fail Buffer.isBuffer; READ/CLOSE/FSTAT/WRITE/READDIR were
rejecting every request with SSH_FX_FAILURE. Add sftpHandleId() using DataView.

OPEN: fix inner try indentation. CHANGELOG: note handle decoding + earlier SFTP
hardening (vfs normalize, enqueueSftpReply, Protocol/SFTP DATA coerce).
2026-04-21 18:22:32 -04:00
Raven Scott ac699f308e SFTP shim: coerce vfs.readFile via normalizeVfsBytesForSftp before storing
handles; use f.buf == null instead of !f.buf so empty buffers/strings do not
force SSH_FX_FAILURE on READ. READ accepts Buffer, typed views, or string after
WRITE.

Earlier in this branch: enqueueSftpReply(reqid) + FAILURE on errors; REQUEST.READ
validation in vendor bare-ssh2; coerce typed arrays to Buffer in SFTP.data and
Protocol.channelData/channelExtData. CHANGELOG notes.
2026-04-21 18:12:56 -04:00
Raven Scott baae7b3482 VFS readFile often returns Uint8Array; SFTP DATA and CHANNEL_DATA assumed
Buffer.isBuffer or treated payloads as UTF-8, corrupting packets and risking
native aborts (bad_optional_access). Normalize ArrayBuffer views in
SFTP.prototype.data and Protocol channelData/channelExtData; align READ shim.

Also includes earlier SFTP hardening: REQUEST.READ/WRITE/FSETSTAT guards,
enqueueSftpReply(reqid) + FAILURE on handler error, CHANGELOG.
2026-04-21 18:06:22 -04:00
Raven Scott 0359129a72 - SFTP.js: validate handle/offset/len on REQUEST.READ; guard WRITE/FSETSTAT
handle access like other handlers (avoid throwing before doFatalSFTPError).
- bare-openssh-sftp: enqueueSftpReply(reqid, fn) sends SSH_FX_FAILURE on
  handler throw/reject; defensive READ path (buffer/finite offsets).
- Document regression (bad_optional_access / -fno-exceptions) in comments;
  add packages/bare-os-openssh/CHANGELOG.md Unreleased entry.
2026-04-21 18:01:34 -04:00
Raven Scott 98dd91020e feat(shell): job-aware kill, disown, jobs/set flags, fallback REPL history
- Document interactive shell vs /bin/sh in bare-os-shell man, handbook §9,
  kill(1), and shell-completion guide
- Resolve kill %n and %% to synthetic PIDs via shellBackgroundJobs
- Add disown builtin; jobs -p (pgid-only) and -l (pid column); set -o/+o to
  print errexit/nounset/pipefail/noglob
- Expand completion-engine fallback flags for common utilities
- Persist lines to /.bare/repl_history_<USER> when BARE_OS_REPL_HISTORY=1
  and Fish REPL is off (repl-session + cli-readline)
- Tests: kill job specs, set -o output, jobs -p
2026-04-21 17:26:41 -04:00
Raven Scott c8c877f688 Holesail Service Daemon + Bin Client 2026-04-09 20:42:54 -04:00
Raven Scott 28323589a8 Update 2026-04-08 22:37:38 -04:00
Raven Scott 710859eaa4 Tests 2026-04-08 22:28:59 -04:00
Raven Scott d51ed58189 Fix imports 2026-04-08 21:53:33 -04:00
Raven Scott dfeb925776 Closer SSH 2026-04-08 21:43:08 -04:00
Raven Scott 7739b21043 SSH Updates 2026-04-08 21:24:04 -04:00
Raven Scott 385fc80894 Updates 2026-04-08 20:53:38 -04:00
Raven Scott dc9be9eaff Updates 2026-04-08 20:42:56 -04:00
Raven Scott 2d851dbaf2 updates 2026-04-08 20:27:25 -04:00