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.
Files changed (120) hide show
  1. {strands_shell-0.3.3 → strands_shell-0.5.0}/Cargo.lock +66 -66
  2. {strands_shell-0.3.3 → strands_shell-0.5.0}/Cargo.toml +2 -2
  3. {strands_shell-0.3.3 → strands_shell-0.5.0}/PKG-INFO +6 -3
  4. {strands_shell-0.3.3 → strands_shell-0.5.0}/README.md +5 -2
  5. {strands_shell-0.3.3 → strands_shell-0.5.0}/package.json +1 -1
  6. {strands_shell-0.3.3 → strands_shell-0.5.0}/pyproject.toml +1 -1
  7. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/curl.rs +300 -25
  8. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/grep.rs +186 -67
  9. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/head.rs +13 -3
  10. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/mv.rs +6 -2
  11. {strands_shell-0.3.3 → strands_shell-0.5.0}/strands-shell-macros/Cargo.toml +1 -1
  12. {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/curl_integration.rs +388 -2
  13. {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/shell_integration.rs +377 -0
  14. {strands_shell-0.3.3 → strands_shell-0.5.0}/.cargo/config.toml +0 -0
  15. {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/CODEOWNERS +0 -0
  16. {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  17. {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  18. {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  19. {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  20. {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/actions/stamp-version/action.yml +0 -0
  21. {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/dependabot.yml +0 -0
  22. {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/scripts/group-release-notes.py +0 -0
  23. {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/workflows/ci.yml +0 -0
  24. {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/workflows/pr-title.yml +0 -0
  25. {strands_shell-0.3.3 → strands_shell-0.5.0}/.github/workflows/release.yml +0 -0
  26. {strands_shell-0.3.3 → strands_shell-0.5.0}/.gitignore +0 -0
  27. {strands_shell-0.3.3 → strands_shell-0.5.0}/AGENTS.md +0 -0
  28. {strands_shell-0.3.3 → strands_shell-0.5.0}/CODE_OF_CONDUCT.md +0 -0
  29. {strands_shell-0.3.3 → strands_shell-0.5.0}/CONTRIBUTING.md +0 -0
  30. {strands_shell-0.3.3 → strands_shell-0.5.0}/LICENSE +0 -0
  31. {strands_shell-0.3.3 → strands_shell-0.5.0}/NOTICE +0 -0
  32. {strands_shell-0.3.3 → strands_shell-0.5.0}/SECURITY.md +0 -0
  33. {strands_shell-0.3.3 → strands_shell-0.5.0}/build.rs +0 -0
  34. {strands_shell-0.3.3 → strands_shell-0.5.0}/index.d.ts +0 -0
  35. {strands_shell-0.3.3 → strands_shell-0.5.0}/index.js +0 -0
  36. {strands_shell-0.3.3 → strands_shell-0.5.0}/python/strands_shell/__init__.py +0 -0
  37. {strands_shell-0.3.3 → strands_shell-0.5.0}/scripts/build-wasm.sh +0 -0
  38. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/alias.rs +0 -0
  39. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/cd.rs +0 -0
  40. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/colon.rs +0 -0
  41. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/echo.rs +0 -0
  42. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/export.rs +0 -0
  43. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/find.rs +0 -0
  44. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/getopts.rs +0 -0
  45. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/hash.rs +0 -0
  46. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/local.rs +0 -0
  47. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/lua.rs +0 -0
  48. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/mod.rs +0 -0
  49. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/printf.rs +0 -0
  50. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/pwd.rs +0 -0
  51. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/read.rs +0 -0
  52. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/set.rs +0 -0
  53. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/shift.rs +0 -0
  54. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/test.rs +0 -0
  55. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/trap.rs +0 -0
  56. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/type_cmd.rs +0 -0
  57. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/umask.rs +0 -0
  58. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/unset.rs +0 -0
  59. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/wait.rs +0 -0
  60. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/builtins/xargs.rs +0 -0
  61. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/cli.rs +0 -0
  62. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/basename.rs +0 -0
  63. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/cat.rs +0 -0
  64. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/chmod.rs +0 -0
  65. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/cp.rs +0 -0
  66. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/cut.rs +0 -0
  67. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/date.rs +0 -0
  68. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/dirname.rs +0 -0
  69. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/echo.rs +0 -0
  70. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/env.rs +0 -0
  71. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/false.rs +0 -0
  72. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/jq.rs +0 -0
  73. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/ln.rs +0 -0
  74. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/ls.rs +0 -0
  75. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/mkdir.rs +0 -0
  76. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/mktemp.rs +0 -0
  77. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/mod.rs +0 -0
  78. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/pwd.rs +0 -0
  79. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/readlink.rs +0 -0
  80. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/rm.rs +0 -0
  81. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/rmdir.rs +0 -0
  82. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/sed.rs +0 -0
  83. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/sleep.rs +0 -0
  84. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/sort.rs +0 -0
  85. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/tail.rs +0 -0
  86. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/tee.rs +0 -0
  87. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/touch.rs +0 -0
  88. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/tr.rs +0 -0
  89. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/true.rs +0 -0
  90. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/uniq.rs +0 -0
  91. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/commands/wc.rs +0 -0
  92. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/exec.rs +0 -0
  93. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/io.rs +0 -0
  94. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/js.rs +0 -0
  95. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/lib.rs +0 -0
  96. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/main.rs +0 -0
  97. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/mcp.rs +0 -0
  98. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/mcp_client.rs +0 -0
  99. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/os.rs +0 -0
  100. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/parser.rs +0 -0
  101. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/prelude.rs +0 -0
  102. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/python.rs +0 -0
  103. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/shell.rs +0 -0
  104. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/vfs.rs +0 -0
  105. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/vfs_config.rs +0 -0
  106. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/vfs_kernel.rs +0 -0
  107. {strands_shell-0.3.3 → strands_shell-0.5.0}/src/wasm_main.rs +0 -0
  108. {strands_shell-0.3.3 → strands_shell-0.5.0}/strands-shell-macros/src/lib.rs +0 -0
  109. {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/config.rs +0 -0
  110. {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/js/test_bindings.mjs +0 -0
  111. {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/js/test_builder.mjs +0 -0
  112. {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/js/test_config.mjs +0 -0
  113. {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/lua_integration.rs +0 -0
  114. {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/mcp_integration.rs +0 -0
  115. {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/python/test_bindings.py +0 -0
  116. {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/python/test_builder.py +0 -0
  117. {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/python/test_config.py +0 -0
  118. {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/ts/api.types.ts +0 -0
  119. {strands_shell-0.3.3 → strands_shell-0.5.0}/tests/vfs_unit.rs +0 -0
  120. {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.91"
75
+ version = "0.1.92"
76
76
  source = "registry+https://github.com/rust-lang/crates.io-index"
77
- checksum = "ae36dc4177970ef04fde5178d3e2429882def40e57a451f919c098f72baa6cec"
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.5"
217
+ version = "4.6.7"
218
218
  source = "registry+https://github.com/rust-lang/crates.io-index"
219
- checksum = "301b56658598e48f3648647ac6fc887be7e7108eddfa4e9b63fcf3ec58c0cadf"
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.5"
227
+ version = "4.6.7"
228
228
  source = "registry+https://github.com/rust-lang/crates.io-index"
229
- checksum = "94a65403d1a1bd28f7dc68eb8506e8874808ee5eecb59298de588e2e1407a078"
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.4"
239
+ version = "4.6.7"
240
240
  source = "registry+https://github.com/rust-lang/crates.io-index"
241
- checksum = "d012d2b9d65aca7f18f4d9878a045bc17899bba951561ba5ec3c2ba1eed9a061"
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.11.0"
272
+ version = "0.12.0"
273
273
  source = "registry+https://github.com/rust-lang/crates.io-index"
274
- checksum = "affbf0190ed2caf063e3def54ff444b449371d55c58e513a95ab98eca50adb49"
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.117",
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.117",
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 = "550.0.0"
883
+ version = "551.0.2"
884
884
  source = "registry+https://github.com/rust-lang/crates.io-index"
885
- checksum = "e836dc8ae16806c9bdcf42003a88da27d163433e3f9684c52f0301258004a4fb"
885
+ checksum = "d400ffef0e3d4d29287092bdc5a276d0bf468b2c69709d5bab0d469312d9f947"
886
886
  dependencies = [
887
887
  "cc",
888
888
  ]
889
889
 
890
890
  [[package]]
891
891
  name = "luajit-src"
892
- version = "210.6.6+707c12b"
892
+ version = "210.7.3+1ee778a"
893
893
  source = "registry+https://github.com/rust-lang/crates.io-index"
894
- checksum = "a86cc925d4053d0526ae7f5bc765dbd0d7a5d1a63d43974f4966cb349ca63295"
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.11.6"
931
+ version = "0.12.2"
932
932
  source = "registry+https://github.com/rust-lang/crates.io-index"
933
- checksum = "ccd36acfa49ce6ee56d1307a061dd302c564eee757e6e4cd67eb4f7204846fab"
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.10.0"
947
+ version = "0.13.0"
949
948
  source = "registry+https://github.com/rust-lang/crates.io-index"
950
- checksum = "0f1c3a7fc7580227ece249fd90aa2fa3b39eb2b49d3aec5e103b3e85f2c3dfc8"
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.12.0"
961
+ version = "3.14.2"
963
962
  source = "registry+https://github.com/rust-lang/crates.io-index"
964
- checksum = "6f71d6bc097c4a6eb853c3f24991ab8c9f50f57d1f719e305175541482217e36"
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.4.0"
978
+ version = "2.6.0"
979
979
  source = "registry+https://github.com/rust-lang/crates.io-index"
980
- checksum = "5282704fbe8d49b0cf8b08e3f33233416a528658f205c7e5ace63b582de0b11c"
980
+ checksum = "b899b545d3aa6dca985939059f258c5488d34e4ecf39c274e20009748f4b846d"
981
981
 
982
982
  [[package]]
983
983
  name = "napi-derive"
984
- version = "3.6.2"
984
+ version = "3.6.11"
985
985
  source = "registry+https://github.com/rust-lang/crates.io-index"
986
- checksum = "6d9002b2940f0184444754546e0fcd15182f56948e6f381968b019d549387c42"
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 2.0.117",
993
+ "syn 3.0.2",
994
994
  ]
995
995
 
996
996
  [[package]]
997
997
  name = "napi-derive-backend"
998
- version = "6.1.1"
998
+ version = "6.1.5"
999
999
  source = "registry+https://github.com/rust-lang/crates.io-index"
1000
- checksum = "d60b5d773ad46c698c8cc2cd9fde0b283d39cbb7f71c04bee633c7bdba4423bd"
1000
+ checksum = "fae2444f4ba7333754bb73414ff8059dec2cb23b83a95bd1a0bf08169eed1be0"
1001
1001
  dependencies = [
1002
1002
  "convert_case",
1003
1003
  "proc-macro2",
1004
1004
  "quote",
1005
1005
  "semver",
1006
- "syn 2.0.117",
1006
+ "syn 3.0.2",
1007
1007
  ]
1008
1008
 
1009
1009
  [[package]]
1010
1010
  name = "napi-sys"
1011
- version = "3.3.0"
1011
+ version = "3.4.0"
1012
1012
  source = "registry+https://github.com/rust-lang/crates.io-index"
1013
- checksum = "85fbf1fa9f1babfe396d74bbbf52b3643770243e8f5b0b46715d4caf7f0dfc9a"
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.0"
1142
+ version = "0.29.2"
1143
1143
  source = "registry+https://github.com/rust-lang/crates.io-index"
1144
- checksum = "cd274650b21d4bfc26a0a47587962c1edb425f69287324355cd040c3ea66071c"
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.0"
1156
+ version = "0.29.2"
1157
1157
  source = "registry+https://github.com/rust-lang/crates.io-index"
1158
- checksum = "c5e2a7d2f0d013342f295c048ad19237add5154a55b1c5a254c0ec93d4109078"
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.0"
1165
+ version = "0.29.2"
1166
1166
  source = "registry+https://github.com/rust-lang/crates.io-index"
1167
- checksum = "ca85c467da1bbc8d866eea5deff9cf29ea5f7785054a17da36e65bda9c05845b"
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.0"
1175
+ version = "0.29.2"
1176
1176
  source = "registry+https://github.com/rust-lang/crates.io-index"
1177
- checksum = "9ac53762fd065daa3194dd09337a38bd793a188100fd1a9304c4ab312d901771"
1177
+ checksum = "73225868fc1cd84eef2c3c230ddb91273bf1de46aeb8a4248da76d32a0924a1c"
1178
1178
  dependencies = [
1179
1179
  "proc-macro2",
1180
1180
  "pyo3-macros-backend",
1181
1181
  "quote",
1182
- "syn 2.0.117",
1182
+ "syn 2.0.119",
1183
1183
  ]
1184
1184
 
1185
1185
  [[package]]
1186
1186
  name = "pyo3-macros-backend"
1187
- version = "0.29.0"
1187
+ version = "0.29.2"
1188
1188
  source = "registry+https://github.com/rust-lang/crates.io-index"
1189
- checksum = "4ca3a1557399783172dc5bf39cfca835157732532cba56b71d2292161e53b362"
1189
+ checksum = "571575aa3749fa6216757dd47d2a3e7ef360f329a40f0666a9fbd14889024952"
1190
1190
  dependencies = [
1191
1191
  "heck",
1192
1192
  "proc-macro2",
1193
1193
  "quote",
1194
- "syn 2.0.117",
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.228"
1490
+ version = "1.0.229"
1491
1491
  source = "registry+https://github.com/rust-lang/crates.io-index"
1492
- checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
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.228"
1500
+ version = "1.0.229"
1501
1501
  source = "registry+https://github.com/rust-lang/crates.io-index"
1502
- checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
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.228"
1509
+ version = "1.0.229"
1510
1510
  source = "registry+https://github.com/rust-lang/crates.io-index"
1511
- checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
1511
+ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
1512
1512
  dependencies = [
1513
1513
  "proc-macro2",
1514
1514
  "quote",
1515
- "syn 2.0.117",
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.3.3"
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 2.0.117",
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.117"
1660
+ version = "2.0.119"
1661
1661
  source = "registry+https://github.com/rust-lang/crates.io-index"
1662
- checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
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.117",
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.117",
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.117",
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.117",
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.117",
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.117",
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.117",
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.117",
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.117",
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.117",
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.3.3"
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.11.6"
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.3
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
- <img src="https://strandsagents.com/latest/assets/logo-github.svg" alt="Strands Agents" width="55px" height="105px">
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
- - **Set timeouts.** The default has no per-command timeout. Set `timeout` to bound runaway commands (30s is reasonable for most agent loops).
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
- <img src="https://strandsagents.com/latest/assets/logo-github.svg" alt="Strands Agents" width="55px" height="105px">
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
- - **Set timeouts.** The default has no per-command timeout. Set `timeout` to bound runaway commands (30s is reasonable for most agent loops).
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strands-agents/shell",
3
- "version": "0.3.3",
3
+ "version": "0.5.0",
4
4
  "description": "Strands Shell — a virtual shell sandbox for AI agents (Node.js bindings)",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -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.3.3"
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"