aboutsummaryrefslogtreecommitdiff
path: root/modules/core/module-fs.js
Commit message (Collapse)AuthorAgeFilesLines
* fix(newos4): coreutils flags + loop-guard arg key, both found by the agent's ↵Agando2026-10-221-19/+84
| | | | | | | | | | | | | | | | | | | | live run (v4.6.49) Agent session surfaced two real defects: 1. The A4 prompt told it to use grep -n / sed -n 'N,Mp' / wc -l / head -N — none of those flags parsed: grep treated '-n' as the pattern (6/6 variants failed), wc read '-l' as a filename, head looked for a file named '-2', sed had no range parser. Fixed the tools, not just the text: grep now accepts -n/-i/-c/-v/-l (line numbers were already printed), wc accepts -l/-w/-c, head accepts -N and -n N, sed accepts Np and N,Mp, tail no longer prints a blank line for a trailing newline. Prompt re-ranked to the working forms. 2. Loop guard keyed calls by tool name plus the raw arguments field. When arguments was already an object (parsed upstream), the key became 'run_command:[object Object]', collapsing distinct batched commands into one signature and producing false "called 3x" warnings. Now the key is JSON.stringify(arguments) whenever it is not a string (3 sites: sig, _sigR, _sigD). Verified live v4.6.49: grep -n/-c, wc -l, head -2, sed -n '2,3p', tail -n 1 all correct.
* fix(newos4): download link uses the user's space; WebDAV share copies ↵Agando2026-10-211-1/+9
| | | | | | | | | | | | verified file links; preview fullscreen+share; files->WebDAV upload button (v4.6.45) - download: URL built from _resolveSpaceName() (config url = logged-in user), not the page space - WebDAV browser 🔗: shares selected FILES only, URL-encoded, HEAD-verified (200) before claiming success; folders offer a tar fallback instead of a guaranteed-403 link - file manager preview: ⛶ fullscreen + 🔗 copy-link toolbar (was none) - file manager toolbar: ☁ WebDAV publishes selected/current file via webdav-push - modules/test/test-download-url.js: 4 PASS - rebuild bundles, bump v4.6.44 -> v4.6.45 (loader + 3 script tags)
* newOS4 v4.6.15: reentrant print-capture stack, AI tail -f block, read-only ↵Agando2026-09-291-0/+4
| | | | sed in safeRead, security test harness (21 checks)
* newOS4: sed command (s///, /pat/d, Nd, -i, -n, pipe input) + help entriesAgando2026-09-291-1/+92
|
* newOS4: tail -n/-N flags + live follow mode (-f) with test harnessAgando2026-09-291-4/+45
|
* auto: 2026-06-18_18:00 changesAgando2026-06-181-0/+17
|
* auto: 2026-06-17_06:01 changesAgando2026-06-171-20/+54
|
* auto: 2026-06-09_06:00 changesAgando2026-06-091-1/+5
|
* auto: 2026-06-06_06:00 changesAgando2026-06-061-1/+51
|
* auto: 2026-06-03_06:00 changesAgando2026-06-031-37/+51
|
* auto: 2026-06-02_18:00 changesAgando2026-06-021-4/+30
|
* auto: 2026-06-02_06:00 changesAgando2026-06-021-24/+4
|
* auto: 2026-06-01_18:00 changesAgando2026-06-011-1/+1
|
* auto: 2026-05-27_06:00 changesAgando2026-05-271-3/+46
|
* auto: 2026-05-25_18:02 changesAgando2026-05-251-0/+445