@lazyingart/agintiflow 0.8.0 → 0.8.1

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.
@@ -21,6 +21,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
21
21
  python3 \
22
22
  ripgrep \
23
23
  sed \
24
+ sudo \
24
25
  texlive-fonts-recommended \
25
26
  texlive-latex-base \
26
27
  texlive-latex-extra \
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lazyingart/agintiflow",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "type": "module",
5
5
  "description": "AgInTiFlow is a resumable Playwright website-control agent with OpenAI-compatible tool calling.",
6
6
  "license": "Apache-2.0",
@@ -219,6 +219,7 @@ function dockerCommand(command, policy) {
219
219
  `export PYTHONUSERBASE=${DOCKER_ENV}/python-user`,
220
220
  `export PATH=${DOCKER_ENV}/python/bin:${DOCKER_ENV}/python-user/bin:${DOCKER_ENV}/miniforge/bin:${DOCKER_ENV}/bin:$PATH`,
221
221
  `cd ${DOCKER_WORKSPACE}`,
222
+ `if ! command -v sudo >/dev/null 2>&1; then sudo() { "$@"; }; export -f sudo; fi`,
222
223
  ];
223
224
 
224
225
  if (!policy.requiresDockerRoot) {