@zenera/sandbox 1.3.48 → 1.3.49
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.
- package/dist/base.js +17 -1
- package/package.json +1 -1
package/dist/base.js
CHANGED
|
@@ -125,11 +125,27 @@ RUN pip install --no-cache-dir \\
|
|
|
125
125
|
&& npm install -g "axios@^1"
|
|
126
126
|
ENV NODE_PATH=/usr/local/lib/node_modules
|
|
127
127
|
|
|
128
|
+
# The data stack agents install most (analysis, charts, images, HTML/XML). Installed at run time
|
|
129
|
+
# it lands in the container's own filesystem, which is thrown away, so every turn fetched it again.
|
|
130
|
+
RUN pip install --no-cache-dir \\
|
|
131
|
+
"numpy>=2,<3" \\
|
|
132
|
+
"pandas>=3.1,<4" \\
|
|
133
|
+
"scipy>=1.14,<2" \\
|
|
134
|
+
"matplotlib>=3.9,<4" \\
|
|
135
|
+
"pillow>=11,<14" \\
|
|
136
|
+
"lxml>=5,<7" \\
|
|
137
|
+
&& python -c "import numpy, pandas, scipy, matplotlib, PIL, lxml"
|
|
138
|
+
|
|
139
|
+
# Package caches go to /tmp, never HOME: a session's sandbox HOME is kept with the chat, and a
|
|
140
|
+
# download cache there (hundreds of MB after one npm install) counts against the user's storage.
|
|
141
|
+
ENV npm_config_cache=/tmp/.npm PIP_NO_CACHE_DIR=1
|
|
142
|
+
|
|
128
143
|
# The zen of this release, so the tools in the container are the ones the session
|
|
129
144
|
# outside it was built by. Declared here: an ARG invalidates the cache of every RUN after it.
|
|
130
145
|
ARG ZEN_VERSION
|
|
131
146
|
RUN test -n "$ZEN_VERSION" \\
|
|
132
|
-
&& npm install -g "@zenera/cli@$ZEN_VERSION" "@zenera/rag@$ZEN_VERSION"
|
|
147
|
+
&& npm install -g "@zenera/cli@$ZEN_VERSION" "@zenera/rag@$ZEN_VERSION" \\
|
|
148
|
+
&& rm -rf /tmp/.npm
|
|
133
149
|
|
|
134
150
|
LABEL zenera.sandbox-base=1 zenera.version=$ZEN_VERSION \\
|
|
135
151
|
org.opencontainers.image.source=https://github.com/zenera-ai/ZeneraNeo
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenera/sandbox",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.49",
|
|
4
4
|
"description": "Where an agent's commands run and the files they see: the Sandbox contract, podman and bubblewrap implementations, filesystem drivers and a contract test suite for other implementations.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sandbox",
|