add file_read/file_write tools, sandbox tests, CI improvements (#239)

* migrate to flags

* init

* iterate on file write lockdown tests

* improve ci

* fix lockfile

* fix typecheck

* fix lint

* improve pushRestricted

* ok

* fix more

* ok

* remove process.env spreading rule

Co-authored-by: Cursor <cursoragent@cursor.com>

* enhanced fs rw tools

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Colin McDonnell <colinmcd94@gmail.com>
This commit is contained in:
David Blass
2026-02-10 06:35:47 +00:00
committed by pullfrog[bot]
parent 23df8bf967
commit 19df8372cd
30 changed files with 1801 additions and 648 deletions
+18 -7
View File
@@ -92,7 +92,10 @@ importers:
version: 5.9.3
vitest:
specifier: ^4.0.17
version: 4.0.17(@types/node@24.7.2)
version: 4.0.17(@types/node@24.7.2)(yaml@2.8.2)
yaml:
specifier: ^2.8.2
version: 2.8.2
packages:
@@ -1618,6 +1621,11 @@ packages:
resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==}
engines: {node: '>=10'}
yaml@2.8.2:
resolution: {integrity: sha512-mplynKqc1C2hTVYxd0PU2xQAc22TI1vShAYGksCCfxbn/dFwnHTNi1bvYsBTkhdUNtGIf5xNOg938rrSSYvS9A==}
engines: {node: '>= 14.6'}
hasBin: true
yargs-parser@22.0.0:
resolution: {integrity: sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==}
engines: {node: ^20.19.0 || ^22.12.0 || >=23}
@@ -2126,13 +2134,13 @@ snapshots:
chai: 6.2.2
tinyrainbow: 3.0.3
'@vitest/mocker@4.0.17(vite@7.3.1(@types/node@24.7.2))':
'@vitest/mocker@4.0.17(vite@7.3.1(@types/node@24.7.2)(yaml@2.8.2))':
dependencies:
'@vitest/spy': 4.0.17
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
vite: 7.3.1(@types/node@24.7.2)
vite: 7.3.1(@types/node@24.7.2)(yaml@2.8.2)
'@vitest/pretty-format@4.0.17':
dependencies:
@@ -2899,7 +2907,7 @@ snapshots:
vary@1.1.2: {}
vite@7.3.1(@types/node@24.7.2):
vite@7.3.1(@types/node@24.7.2)(yaml@2.8.2):
dependencies:
esbuild: 0.27.2
fdir: 6.5.0(picomatch@4.0.3)
@@ -2910,11 +2918,12 @@ snapshots:
optionalDependencies:
'@types/node': 24.7.2
fsevents: 2.3.3
yaml: 2.8.2
vitest@4.0.17(@types/node@24.7.2):
vitest@4.0.17(@types/node@24.7.2)(yaml@2.8.2):
dependencies:
'@vitest/expect': 4.0.17
'@vitest/mocker': 4.0.17(vite@7.3.1(@types/node@24.7.2))
'@vitest/mocker': 4.0.17(vite@7.3.1(@types/node@24.7.2)(yaml@2.8.2))
'@vitest/pretty-format': 4.0.17
'@vitest/runner': 4.0.17
'@vitest/snapshot': 4.0.17
@@ -2931,7 +2940,7 @@ snapshots:
tinyexec: 1.0.2
tinyglobby: 0.2.15
tinyrainbow: 3.0.3
vite: 7.3.1(@types/node@24.7.2)
vite: 7.3.1(@types/node@24.7.2)(yaml@2.8.2)
why-is-node-running: 2.3.0
optionalDependencies:
'@types/node': 24.7.2
@@ -2973,6 +2982,8 @@ snapshots:
y18n@5.0.8: {}
yaml@2.8.2: {}
yargs-parser@22.0.0: {}
yargs@18.0.0: