strands-shell 0.3.3__tar.gz → 0.5.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {strands_shell-0.3.3 → strands_shell-0.5.0}/Cargo.lock +66 -66
- {strands_shell-0.3.3 → strands_shell-0.5.0}/Cargo.toml +2 -2
- {strands_shell-0.3.3 → strands_shell-0.5.0}/PKG-INFO +6 -3
- {strands_shell-0.3.3 → strands_shell-0.5.0}/README.md +5 -2
- {strands_shell-0.3.3 → strands_shell-0.5.0}/package.json +1 -1
- {strands_shell-0.3.3 → strands_shell-0.5.0}/pyproject.toml +1 -1
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/curl.rs +300 -25
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/grep.rs +186 -67
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/head.rs +13 -3
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/mv.rs +6 -2
- {strands_shell-0.3.3 → strands_shell-0.5.0}/strands-shell-macros/Cargo.toml +1 -1
- {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/curl_integration.rs +388 -2
- {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/shell_integration.rs +377 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/.cargo/config.toml +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/CODEOWNERS +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/actions/stamp-version/action.yml +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/dependabot.yml +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/scripts/group-release-notes.py +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/workflows/ci.yml +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/workflows/pr-title.yml +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/workflows/release.yml +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/.gitignore +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/AGENTS.md +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/CODE_OF_CONDUCT.md +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/CONTRIBUTING.md +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/LICENSE +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/NOTICE +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/SECURITY.md +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/build.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/index.d.ts +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/index.js +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/python/strands_shell/__init__.py +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/scripts/build-wasm.sh +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/alias.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/cd.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/colon.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/echo.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/export.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/find.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/getopts.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/hash.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/local.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/lua.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/mod.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/printf.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/pwd.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/read.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/set.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/shift.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/test.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/trap.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/type_cmd.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/umask.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/unset.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/wait.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/xargs.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/cli.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/basename.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/cat.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/chmod.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/cp.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/cut.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/date.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/dirname.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/echo.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/env.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/false.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/jq.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/ln.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/ls.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/mkdir.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/mktemp.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/mod.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/pwd.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/readlink.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/rm.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/rmdir.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/sed.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/sleep.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/sort.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/tail.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/tee.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/touch.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/tr.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/true.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/uniq.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/wc.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/exec.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/io.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/js.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/lib.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/main.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/mcp.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/mcp_client.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/os.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/parser.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/prelude.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/python.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/shell.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/vfs.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/vfs_config.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/vfs_kernel.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/src/wasm_main.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/strands-shell-macros/src/lib.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/config.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/js/test_bindings.mjs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/js/test_builder.mjs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/js/test_config.mjs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/lua_integration.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/mcp_integration.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/python/test_bindings.py +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/python/test_builder.py +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/python/test_config.py +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/ts/api.types.ts +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/vfs_unit.rs +0 -0
- {strands_shell-0.3.3 → strands_shell-0.5.0}/tsconfig.json +0 -0
|
@@ -72,9 +72,9 @@ dependencies = [
|
|
|
72
72
|
|
|
73
73
|
[[package]]
|
|
74
74
|
name = "async-trait"
|
|
75
|
-
version = "0.1.
|
|
75
|
+
version = "0.1.92"
|
|
76
76
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
77
|
-
checksum = "
|
|
77
|
+
checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667"
|
|
78
78
|
dependencies = [
|
|
79
79
|
"proc-macro2",
|
|
80
80
|
"quote",
|
|
@@ -214,9 +214,9 @@ dependencies = [
|
|
|
214
214
|
|
|
215
215
|
[[package]]
|
|
216
216
|
name = "clap"
|
|
217
|
-
version = "4.6.
|
|
217
|
+
version = "4.6.7"
|
|
218
218
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
219
|
-
checksum = "
|
|
219
|
+
checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946"
|
|
220
220
|
dependencies = [
|
|
221
221
|
"clap_builder",
|
|
222
222
|
"clap_derive",
|
|
@@ -224,9 +224,9 @@ dependencies = [
|
|
|
224
224
|
|
|
225
225
|
[[package]]
|
|
226
226
|
name = "clap_builder"
|
|
227
|
-
version = "4.6.
|
|
227
|
+
version = "4.6.7"
|
|
228
228
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
229
|
-
checksum = "
|
|
229
|
+
checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d"
|
|
230
230
|
dependencies = [
|
|
231
231
|
"anstream",
|
|
232
232
|
"anstyle",
|
|
@@ -236,9 +236,9 @@ dependencies = [
|
|
|
236
236
|
|
|
237
237
|
[[package]]
|
|
238
238
|
name = "clap_derive"
|
|
239
|
-
version = "4.6.
|
|
239
|
+
version = "4.6.7"
|
|
240
240
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
241
|
-
checksum = "
|
|
241
|
+
checksum = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0"
|
|
242
242
|
dependencies = [
|
|
243
243
|
"heck",
|
|
244
244
|
"proc-macro2",
|
|
@@ -269,9 +269,9 @@ checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
|
|
|
269
269
|
|
|
270
270
|
[[package]]
|
|
271
271
|
name = "convert_case"
|
|
272
|
-
version = "0.
|
|
272
|
+
version = "0.12.0"
|
|
273
273
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
274
|
-
checksum = "
|
|
274
|
+
checksum = "1af709f1f33454bf52eadfc8c78b3b9ef9cb26fb54d16dc9cd9a7299f899fd1b"
|
|
275
275
|
dependencies = [
|
|
276
276
|
"unicode-segmentation",
|
|
277
277
|
]
|
|
@@ -296,7 +296,7 @@ checksum = "1ac70aa55017e108007fbaf5aa0f54b021c98f92ff8af59d42eda9da96e3dd4f"
|
|
|
296
296
|
dependencies = [
|
|
297
297
|
"proc-macro2",
|
|
298
298
|
"quote",
|
|
299
|
-
"syn 2.0.
|
|
299
|
+
"syn 2.0.119",
|
|
300
300
|
]
|
|
301
301
|
|
|
302
302
|
[[package]]
|
|
@@ -416,7 +416,7 @@ checksum = "e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b"
|
|
|
416
416
|
dependencies = [
|
|
417
417
|
"proc-macro2",
|
|
418
418
|
"quote",
|
|
419
|
-
"syn 2.0.
|
|
419
|
+
"syn 2.0.119",
|
|
420
420
|
]
|
|
421
421
|
|
|
422
422
|
[[package]]
|
|
@@ -880,18 +880,18 @@ checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154"
|
|
|
880
880
|
|
|
881
881
|
[[package]]
|
|
882
882
|
name = "lua-src"
|
|
883
|
-
version = "
|
|
883
|
+
version = "551.0.2"
|
|
884
884
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
885
|
-
checksum = "
|
|
885
|
+
checksum = "d400ffef0e3d4d29287092bdc5a276d0bf468b2c69709d5bab0d469312d9f947"
|
|
886
886
|
dependencies = [
|
|
887
887
|
"cc",
|
|
888
888
|
]
|
|
889
889
|
|
|
890
890
|
[[package]]
|
|
891
891
|
name = "luajit-src"
|
|
892
|
-
version = "210.
|
|
892
|
+
version = "210.7.3+1ee778a"
|
|
893
893
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
894
|
-
checksum = "
|
|
894
|
+
checksum = "869665372263eb337b14f480cfb864b89f12eade4eb42cb415f71517b4a67572"
|
|
895
895
|
dependencies = [
|
|
896
896
|
"cc",
|
|
897
897
|
"which",
|
|
@@ -928,9 +928,9 @@ dependencies = [
|
|
|
928
928
|
|
|
929
929
|
[[package]]
|
|
930
930
|
name = "mlua"
|
|
931
|
-
version = "0.
|
|
931
|
+
version = "0.12.2"
|
|
932
932
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
933
|
-
checksum = "
|
|
933
|
+
checksum = "7a7ae6b65bf54b7fdd4cf5b6f44f60862350ebf3fe3779b3a9cc005e7fa14f81"
|
|
934
934
|
dependencies = [
|
|
935
935
|
"bstr",
|
|
936
936
|
"either",
|
|
@@ -940,14 +940,13 @@ dependencies = [
|
|
|
940
940
|
"num-traits",
|
|
941
941
|
"parking_lot",
|
|
942
942
|
"rustc-hash",
|
|
943
|
-
"rustversion",
|
|
944
943
|
]
|
|
945
944
|
|
|
946
945
|
[[package]]
|
|
947
946
|
name = "mlua-sys"
|
|
948
|
-
version = "0.
|
|
947
|
+
version = "0.13.0"
|
|
949
948
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
950
|
-
checksum = "
|
|
949
|
+
checksum = "1631cda17bd6486410ab751d91f5fd4484f441589278cdad879eb3afc721a285"
|
|
951
950
|
dependencies = [
|
|
952
951
|
"cc",
|
|
953
952
|
"cfg-if",
|
|
@@ -959,13 +958,14 @@ dependencies = [
|
|
|
959
958
|
|
|
960
959
|
[[package]]
|
|
961
960
|
name = "napi"
|
|
962
|
-
version = "3.
|
|
961
|
+
version = "3.14.2"
|
|
963
962
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
964
|
-
checksum = "
|
|
963
|
+
checksum = "a4e2cf85c02d9b057898c485b824c3c416b65193689e2b7f517efc94b86ed24c"
|
|
965
964
|
dependencies = [
|
|
966
965
|
"bitflags",
|
|
967
966
|
"ctor",
|
|
968
967
|
"futures",
|
|
968
|
+
"libc",
|
|
969
969
|
"napi-build",
|
|
970
970
|
"napi-sys",
|
|
971
971
|
"nohash-hasher",
|
|
@@ -975,42 +975,42 @@ dependencies = [
|
|
|
975
975
|
|
|
976
976
|
[[package]]
|
|
977
977
|
name = "napi-build"
|
|
978
|
-
version = "2.
|
|
978
|
+
version = "2.6.0"
|
|
979
979
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
980
|
-
checksum = "
|
|
980
|
+
checksum = "b899b545d3aa6dca985939059f258c5488d34e4ecf39c274e20009748f4b846d"
|
|
981
981
|
|
|
982
982
|
[[package]]
|
|
983
983
|
name = "napi-derive"
|
|
984
|
-
version = "3.6.
|
|
984
|
+
version = "3.6.11"
|
|
985
985
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
986
|
-
checksum = "
|
|
986
|
+
checksum = "903796e3a3f79eb7e52b1548c11f1817cddec62b0e347a3e97af88b1bd76fd53"
|
|
987
987
|
dependencies = [
|
|
988
988
|
"convert_case",
|
|
989
989
|
"ctor",
|
|
990
990
|
"napi-derive-backend",
|
|
991
991
|
"proc-macro2",
|
|
992
992
|
"quote",
|
|
993
|
-
"syn
|
|
993
|
+
"syn 3.0.2",
|
|
994
994
|
]
|
|
995
995
|
|
|
996
996
|
[[package]]
|
|
997
997
|
name = "napi-derive-backend"
|
|
998
|
-
version = "6.1.
|
|
998
|
+
version = "6.1.5"
|
|
999
999
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1000
|
-
checksum = "
|
|
1000
|
+
checksum = "fae2444f4ba7333754bb73414ff8059dec2cb23b83a95bd1a0bf08169eed1be0"
|
|
1001
1001
|
dependencies = [
|
|
1002
1002
|
"convert_case",
|
|
1003
1003
|
"proc-macro2",
|
|
1004
1004
|
"quote",
|
|
1005
1005
|
"semver",
|
|
1006
|
-
"syn
|
|
1006
|
+
"syn 3.0.2",
|
|
1007
1007
|
]
|
|
1008
1008
|
|
|
1009
1009
|
[[package]]
|
|
1010
1010
|
name = "napi-sys"
|
|
1011
|
-
version = "3.
|
|
1011
|
+
version = "3.4.0"
|
|
1012
1012
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1013
|
-
checksum = "
|
|
1013
|
+
checksum = "e22a4f25c16a5c5411d987cd6fbd48313522ae1789ade2d6dd3efdc6d40a0fc8"
|
|
1014
1014
|
dependencies = [
|
|
1015
1015
|
"libloading",
|
|
1016
1016
|
]
|
|
@@ -1139,9 +1139,9 @@ dependencies = [
|
|
|
1139
1139
|
|
|
1140
1140
|
[[package]]
|
|
1141
1141
|
name = "pyo3"
|
|
1142
|
-
version = "0.29.
|
|
1142
|
+
version = "0.29.2"
|
|
1143
1143
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1144
|
-
checksum = "
|
|
1144
|
+
checksum = "4688ddedf473e32662b9b067670129a8afb8c18e351482c70d62ba4a88171e8b"
|
|
1145
1145
|
dependencies = [
|
|
1146
1146
|
"libc",
|
|
1147
1147
|
"once_cell",
|
|
@@ -1153,18 +1153,18 @@ dependencies = [
|
|
|
1153
1153
|
|
|
1154
1154
|
[[package]]
|
|
1155
1155
|
name = "pyo3-build-config"
|
|
1156
|
-
version = "0.29.
|
|
1156
|
+
version = "0.29.2"
|
|
1157
1157
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1158
|
-
checksum = "
|
|
1158
|
+
checksum = "f41027e41b4bd03f6e60f9f417fe24a6341a6bb744edd62b6f709f2a52ea30e9"
|
|
1159
1159
|
dependencies = [
|
|
1160
1160
|
"target-lexicon",
|
|
1161
1161
|
]
|
|
1162
1162
|
|
|
1163
1163
|
[[package]]
|
|
1164
1164
|
name = "pyo3-ffi"
|
|
1165
|
-
version = "0.29.
|
|
1165
|
+
version = "0.29.2"
|
|
1166
1166
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1167
|
-
checksum = "
|
|
1167
|
+
checksum = "e591a95526fead067432c3b3a33fc74770b87b1e04e73671090d9c2055a2b327"
|
|
1168
1168
|
dependencies = [
|
|
1169
1169
|
"libc",
|
|
1170
1170
|
"pyo3-build-config",
|
|
@@ -1172,26 +1172,26 @@ dependencies = [
|
|
|
1172
1172
|
|
|
1173
1173
|
[[package]]
|
|
1174
1174
|
name = "pyo3-macros"
|
|
1175
|
-
version = "0.29.
|
|
1175
|
+
version = "0.29.2"
|
|
1176
1176
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1177
|
-
checksum = "
|
|
1177
|
+
checksum = "73225868fc1cd84eef2c3c230ddb91273bf1de46aeb8a4248da76d32a0924a1c"
|
|
1178
1178
|
dependencies = [
|
|
1179
1179
|
"proc-macro2",
|
|
1180
1180
|
"pyo3-macros-backend",
|
|
1181
1181
|
"quote",
|
|
1182
|
-
"syn 2.0.
|
|
1182
|
+
"syn 2.0.119",
|
|
1183
1183
|
]
|
|
1184
1184
|
|
|
1185
1185
|
[[package]]
|
|
1186
1186
|
name = "pyo3-macros-backend"
|
|
1187
|
-
version = "0.29.
|
|
1187
|
+
version = "0.29.2"
|
|
1188
1188
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1189
|
-
checksum = "
|
|
1189
|
+
checksum = "571575aa3749fa6216757dd47d2a3e7ef360f329a40f0666a9fbd14889024952"
|
|
1190
1190
|
dependencies = [
|
|
1191
1191
|
"heck",
|
|
1192
1192
|
"proc-macro2",
|
|
1193
1193
|
"quote",
|
|
1194
|
-
"syn 2.0.
|
|
1194
|
+
"syn 2.0.119",
|
|
1195
1195
|
]
|
|
1196
1196
|
|
|
1197
1197
|
[[package]]
|
|
@@ -1487,9 +1487,9 @@ checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
|
|
|
1487
1487
|
|
|
1488
1488
|
[[package]]
|
|
1489
1489
|
name = "serde"
|
|
1490
|
-
version = "1.0.
|
|
1490
|
+
version = "1.0.229"
|
|
1491
1491
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1492
|
-
checksum = "
|
|
1492
|
+
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
1493
1493
|
dependencies = [
|
|
1494
1494
|
"serde_core",
|
|
1495
1495
|
"serde_derive",
|
|
@@ -1497,22 +1497,22 @@ dependencies = [
|
|
|
1497
1497
|
|
|
1498
1498
|
[[package]]
|
|
1499
1499
|
name = "serde_core"
|
|
1500
|
-
version = "1.0.
|
|
1500
|
+
version = "1.0.229"
|
|
1501
1501
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1502
|
-
checksum = "
|
|
1502
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
1503
1503
|
dependencies = [
|
|
1504
1504
|
"serde_derive",
|
|
1505
1505
|
]
|
|
1506
1506
|
|
|
1507
1507
|
[[package]]
|
|
1508
1508
|
name = "serde_derive"
|
|
1509
|
-
version = "1.0.
|
|
1509
|
+
version = "1.0.229"
|
|
1510
1510
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1511
|
-
checksum = "
|
|
1511
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
1512
1512
|
dependencies = [
|
|
1513
1513
|
"proc-macro2",
|
|
1514
1514
|
"quote",
|
|
1515
|
-
"syn
|
|
1515
|
+
"syn 3.0.2",
|
|
1516
1516
|
]
|
|
1517
1517
|
|
|
1518
1518
|
[[package]]
|
|
@@ -1606,7 +1606,7 @@ checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
|
|
|
1606
1606
|
|
|
1607
1607
|
[[package]]
|
|
1608
1608
|
name = "strands-shell"
|
|
1609
|
-
version = "0.
|
|
1609
|
+
version = "0.5.0"
|
|
1610
1610
|
dependencies = [
|
|
1611
1611
|
"async-trait",
|
|
1612
1612
|
"axum",
|
|
@@ -1640,7 +1640,7 @@ version = "0.1.0"
|
|
|
1640
1640
|
dependencies = [
|
|
1641
1641
|
"proc-macro2",
|
|
1642
1642
|
"quote",
|
|
1643
|
-
"syn
|
|
1643
|
+
"syn 3.0.2",
|
|
1644
1644
|
]
|
|
1645
1645
|
|
|
1646
1646
|
[[package]]
|
|
@@ -1657,9 +1657,9 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
|
|
|
1657
1657
|
|
|
1658
1658
|
[[package]]
|
|
1659
1659
|
name = "syn"
|
|
1660
|
-
version = "2.0.
|
|
1660
|
+
version = "2.0.119"
|
|
1661
1661
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1662
|
-
checksum = "
|
|
1662
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
1663
1663
|
dependencies = [
|
|
1664
1664
|
"proc-macro2",
|
|
1665
1665
|
"quote",
|
|
@@ -1694,7 +1694,7 @@ checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
|
|
|
1694
1694
|
dependencies = [
|
|
1695
1695
|
"proc-macro2",
|
|
1696
1696
|
"quote",
|
|
1697
|
-
"syn 2.0.
|
|
1697
|
+
"syn 2.0.119",
|
|
1698
1698
|
]
|
|
1699
1699
|
|
|
1700
1700
|
[[package]]
|
|
@@ -1720,7 +1720,7 @@ checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5"
|
|
|
1720
1720
|
dependencies = [
|
|
1721
1721
|
"proc-macro2",
|
|
1722
1722
|
"quote",
|
|
1723
|
-
"syn 2.0.
|
|
1723
|
+
"syn 2.0.119",
|
|
1724
1724
|
]
|
|
1725
1725
|
|
|
1726
1726
|
[[package]]
|
|
@@ -1772,7 +1772,7 @@ checksum = "385a6cb71ab9ab790c5fe8d67f1645e6c450a7ce006a33de03daa956cf70a496"
|
|
|
1772
1772
|
dependencies = [
|
|
1773
1773
|
"proc-macro2",
|
|
1774
1774
|
"quote",
|
|
1775
|
-
"syn 2.0.
|
|
1775
|
+
"syn 2.0.119",
|
|
1776
1776
|
]
|
|
1777
1777
|
|
|
1778
1778
|
[[package]]
|
|
@@ -2031,7 +2031,7 @@ dependencies = [
|
|
|
2031
2031
|
"bumpalo",
|
|
2032
2032
|
"proc-macro2",
|
|
2033
2033
|
"quote",
|
|
2034
|
-
"syn 2.0.
|
|
2034
|
+
"syn 2.0.119",
|
|
2035
2035
|
"wasm-bindgen-shared",
|
|
2036
2036
|
]
|
|
2037
2037
|
|
|
@@ -2103,7 +2103,7 @@ checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf"
|
|
|
2103
2103
|
dependencies = [
|
|
2104
2104
|
"proc-macro2",
|
|
2105
2105
|
"quote",
|
|
2106
|
-
"syn 2.0.
|
|
2106
|
+
"syn 2.0.119",
|
|
2107
2107
|
]
|
|
2108
2108
|
|
|
2109
2109
|
[[package]]
|
|
@@ -2114,7 +2114,7 @@ checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358"
|
|
|
2114
2114
|
dependencies = [
|
|
2115
2115
|
"proc-macro2",
|
|
2116
2116
|
"quote",
|
|
2117
|
-
"syn 2.0.
|
|
2117
|
+
"syn 2.0.119",
|
|
2118
2118
|
]
|
|
2119
2119
|
|
|
2120
2120
|
[[package]]
|
|
@@ -2341,7 +2341,7 @@ checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e"
|
|
|
2341
2341
|
dependencies = [
|
|
2342
2342
|
"proc-macro2",
|
|
2343
2343
|
"quote",
|
|
2344
|
-
"syn 2.0.
|
|
2344
|
+
"syn 2.0.119",
|
|
2345
2345
|
"synstructure",
|
|
2346
2346
|
]
|
|
2347
2347
|
|
|
@@ -2362,7 +2362,7 @@ checksum = "1ae7f38b72ec2a254e2b87ef277cf2cd4fb97cbebf944faa6f33354da0867930"
|
|
|
2362
2362
|
dependencies = [
|
|
2363
2363
|
"proc-macro2",
|
|
2364
2364
|
"quote",
|
|
2365
|
-
"syn 2.0.
|
|
2365
|
+
"syn 2.0.119",
|
|
2366
2366
|
]
|
|
2367
2367
|
|
|
2368
2368
|
[[package]]
|
|
@@ -2382,7 +2382,7 @@ checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1"
|
|
|
2382
2382
|
dependencies = [
|
|
2383
2383
|
"proc-macro2",
|
|
2384
2384
|
"quote",
|
|
2385
|
-
"syn 2.0.
|
|
2385
|
+
"syn 2.0.119",
|
|
2386
2386
|
"synstructure",
|
|
2387
2387
|
]
|
|
2388
2388
|
|
|
@@ -2422,7 +2422,7 @@ checksum = "625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555"
|
|
|
2422
2422
|
dependencies = [
|
|
2423
2423
|
"proc-macro2",
|
|
2424
2424
|
"quote",
|
|
2425
|
-
"syn 2.0.
|
|
2425
|
+
"syn 2.0.119",
|
|
2426
2426
|
]
|
|
2427
2427
|
|
|
2428
2428
|
[[package]]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name = "strands-shell"
|
|
3
3
|
# Placeholder — the real version comes from the release git tag, stamped at
|
|
4
4
|
# build time by .github/actions/stamp-version. Do not bump this by hand.
|
|
5
|
-
version = "0.
|
|
5
|
+
version = "0.5.0"
|
|
6
6
|
edition = "2024"
|
|
7
7
|
description = "A virtual shell sandbox for AI agents"
|
|
8
8
|
license = "Apache-2.0"
|
|
@@ -61,7 +61,7 @@ wasi = "0.14"
|
|
|
61
61
|
|
|
62
62
|
# ----- Cross-platform (native + WASM) -----
|
|
63
63
|
[dependencies.mlua]
|
|
64
|
-
version = "0.
|
|
64
|
+
version = "0.12.1"
|
|
65
65
|
features = ["lua54", "async", "vendored"]
|
|
66
66
|
|
|
67
67
|
[workspace]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: strands-shell
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.0
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
License-File: LICENSE
|
|
@@ -17,7 +17,10 @@ Project-URL: Repository, https://github.com/strands-agents/shell
|
|
|
17
17
|
<div align="center">
|
|
18
18
|
<div>
|
|
19
19
|
<a href="https://strandsagents.com">
|
|
20
|
-
<
|
|
20
|
+
<picture>
|
|
21
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://strandsagents.com/latest/assets/wordmark-github-dark.svg">
|
|
22
|
+
<img src="https://strandsagents.com/latest/assets/wordmark-github-light.svg" alt="Strands" width="320">
|
|
23
|
+
</picture>
|
|
21
24
|
</a>
|
|
22
25
|
</div>
|
|
23
26
|
|
|
@@ -257,7 +260,7 @@ Out of the box, the shell is an empty sandbox — no files, no network, no crede
|
|
|
257
260
|
- **Prefer `mode: "copy"` over `mode: "direct"` for source code.** Copy-on-create isolates the agent from your live files. Use `direct` only for output directories where the agent needs to persist results.
|
|
258
261
|
- **Scope binds narrowly.** Bind `/my/project/src` rather than `/my/project` or `/`. The agent doesn't need your `.git/`, `.env`, or `node_modules/`.
|
|
259
262
|
- **Allowlist URLs explicitly.** Don't use `allowed_urls: ["https://"]` — this disables SSRF protection entirely. List the specific API endpoints the agent needs.
|
|
260
|
-
- **
|
|
263
|
+
- **Rely on adjustable timeouts.** Commands run under an adjustable per-command timeout, defaulting to 30 seconds, which bounds runaway commands out of the box. Set `timeout` to raise or lower it for your agent loop.
|
|
261
264
|
- **Use limits.** Set `max_output` to prevent agents from filling memory with unbounded command output (1MB is a good default).
|
|
262
265
|
|
|
263
266
|
## Commands
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<div>
|
|
3
3
|
<a href="https://strandsagents.com">
|
|
4
|
-
<
|
|
4
|
+
<picture>
|
|
5
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://strandsagents.com/latest/assets/wordmark-github-dark.svg">
|
|
6
|
+
<img src="https://strandsagents.com/latest/assets/wordmark-github-light.svg" alt="Strands" width="320">
|
|
7
|
+
</picture>
|
|
5
8
|
</a>
|
|
6
9
|
</div>
|
|
7
10
|
|
|
@@ -241,7 +244,7 @@ Out of the box, the shell is an empty sandbox — no files, no network, no crede
|
|
|
241
244
|
- **Prefer `mode: "copy"` over `mode: "direct"` for source code.** Copy-on-create isolates the agent from your live files. Use `direct` only for output directories where the agent needs to persist results.
|
|
242
245
|
- **Scope binds narrowly.** Bind `/my/project/src` rather than `/my/project` or `/`. The agent doesn't need your `.git/`, `.env`, or `node_modules/`.
|
|
243
246
|
- **Allowlist URLs explicitly.** Don't use `allowed_urls: ["https://"]` — this disables SSRF protection entirely. List the specific API endpoints the agent needs.
|
|
244
|
-
- **
|
|
247
|
+
- **Rely on adjustable timeouts.** Commands run under an adjustable per-command timeout, defaulting to 30 seconds, which bounds runaway commands out of the box. Set `timeout` to raise or lower it for your agent loop.
|
|
245
248
|
- **Use limits.** Set `max_output` to prevent agents from filling memory with unbounded command output (1MB is a good default).
|
|
246
249
|
|
|
247
250
|
## Commands
|
|
@@ -6,7 +6,7 @@ build-backend = "maturin"
|
|
|
6
6
|
name = "strands-shell"
|
|
7
7
|
# Placeholder — the real version comes from the release git tag, stamped at
|
|
8
8
|
# build time by .github/actions/stamp-version. Do not bump this by hand.
|
|
9
|
-
version = "0.
|
|
9
|
+
version = "0.5.0"
|
|
10
10
|
description = "A virtual shell for AI agents"
|
|
11
11
|
readme = "README.md"
|
|
12
12
|
requires-python = ">=3.10"
|