You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f5454e1
Browse filesBrowse the repository at this point in the historyBrowse files
feat(plugin): add bounded scanLines to the sandbox filesystem (#55)
* feat(plugin): add bounded scanLines to the sandbox filesystem
Required on every backend: a window of a file's lines, bounded by maxBytes,
in one pass and without holding more than the window. LineScanner is the
streaming implementation the local VFS uses through positional reads; a
POSIX sh + awk script with the same rules runs inside remote sandboxes so
only the window crosses the network (Scan.viaShell). The scan is bounded by
the file size seen when it starts, so a growing file cannot extend it.
A shared corpus checks the scanner, the script and an independent reference
against each other, every local backend, and live remote sandboxes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(plugin): use private members in LineScanner
Match the rest of the codebase, which uses TypeScript `private` rather than
`#` fields; nothing outside the class reads them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments