@cloudflare/sandbox 0.12.12 → 0.12.13
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/Dockerfile
CHANGED
|
@@ -4,7 +4,7 @@ ARG BUN_VERSION=1
|
|
|
4
4
|
ARG NODE_VERSION=24
|
|
5
5
|
# cloudflared release — shared across glibc and musl image variants.
|
|
6
6
|
# Bump this together with the architecture-specific checksums below.
|
|
7
|
-
ARG CLOUDFLARED_VERSION=2026.
|
|
7
|
+
ARG CLOUDFLARED_VERSION=2026.10.2
|
|
8
8
|
# fuse-overlayfs release — backs the copy-on-write layer of restored backups.
|
|
9
9
|
# Pinned upstream because Ubuntu 22.04 ships 1.7.1, which returns EEXIST when
|
|
10
10
|
# a restored directory is deleted, recreated and listed before files are
|
|
@@ -42,8 +42,8 @@ FROM release-downloader AS cloudflared-binary
|
|
|
42
42
|
|
|
43
43
|
ARG TARGETARCH
|
|
44
44
|
ARG CLOUDFLARED_VERSION
|
|
45
|
-
ARG CLOUDFLARED_SHA256_AMD64=
|
|
46
|
-
ARG CLOUDFLARED_SHA256_ARM64=
|
|
45
|
+
ARG CLOUDFLARED_SHA256_AMD64=35fbdd2beb378436c7da377d7358cea8e33f9c94a6705d1d8036bf9b0d6d8005
|
|
46
|
+
ARG CLOUDFLARED_SHA256_ARM64=b7e55b4d9702c2ab5f8348f780bb1db044527fc555367714c78e0595750a4665
|
|
47
47
|
|
|
48
48
|
RUN set -eux; \
|
|
49
49
|
arch="${TARGETARCH:-}"; \
|
|
@@ -286,8 +286,12 @@ RUN ln -s /usr/local/python/bin/python3.11 /usr/local/bin/python3.11 && \
|
|
|
286
286
|
# Set Python 3.11 as default python3
|
|
287
287
|
RUN update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.11 1
|
|
288
288
|
|
|
289
|
-
# Install Python packages for data science and code interpreter
|
|
289
|
+
# Install Python packages for data science and code interpreter.
|
|
290
|
+
# pip trusts its vendored certifi bundle on top of the system store, so the pip
|
|
291
|
+
# that ships with python-build-standalone is upgraded first. 26.2.2 is the
|
|
292
|
+
# first release whose bundle rejects the compromised eMudhra intermediates.
|
|
290
293
|
RUN --mount=type=cache,target=/root/.cache/pip \
|
|
294
|
+
pip3 install --no-cache-dir --upgrade 'pip>=26.2.2' && \
|
|
291
295
|
pip3 install --no-cache-dir matplotlib numpy pandas ipython
|
|
292
296
|
|
|
293
297
|
# Copy Python executor
|
package/dist/bridge/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../dist-CqPJfREN.js";
|
|
2
2
|
import "../errors-CHhwDJNh.js";
|
|
3
|
-
import { S as validateTunnelName, r as getSandbox, w as streamFile, x as validatePort, y as SandboxSecurityError } from "../sandbox-
|
|
3
|
+
import { S as validateTunnelName, r as getSandbox, w as streamFile, x as validatePort, y as SandboxSecurityError } from "../sandbox-BGDk-c1Y.js";
|
|
4
4
|
import { DurableObject, env, tracing } from "cloudflare:workers";
|
|
5
5
|
import { Hono } from "hono";
|
|
6
6
|
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as isProcessStatus, d as createLogger, o as isExecResult, p as TraceContext, s as isProcess } from "./dist-CqPJfREN.js";
|
|
2
2
|
import "./errors-CHhwDJNh.js";
|
|
3
|
-
import { A as PortClient, B as InvalidBackupConfigError, C as collectFile, D as SandboxClient, E as isPlatformTransientError, F as BackupCreateError, G as SessionTerminatedError, H as ProcessExitedBeforeReadyError, I as BackupExpiredError, L as BackupNotFoundError, M as FileClient, N as CommandClient, O as UtilityClient, P as BackupClient, R as BackupRestoreError, T as isDurableObjectCodeUpdateReset, U as ProcessReadyTimeoutError, V as OperationInterruptedError, W as RPCTransportError, _ as responseToAsyncIterable, a as PREVIEW_PROXY_HEADER, b as sanitizeSandboxId, c as PREVIEW_PROXY_SANDBOX_ID_HEADER, d as BucketUnmountError, f as InvalidMountConfigError, g as parseSSEStream, h as asyncIterableToSSEStream, i as proxyTerminal, j as GitClient, k as ProcessClient, l as PREVIEW_PROXY_TOKEN_HEADER, m as S3FSMountError, n as Sandbox, o as PREVIEW_PROXY_HEADERS, p as MissingCredentialsError, r as getSandbox, s as PREVIEW_PROXY_PORT_HEADER, t as ContainerProxy, u as BucketMountError, v as CodeInterpreter, w as streamFile, x as validatePort, z as ContainerUnavailableError } from "./sandbox-
|
|
3
|
+
import { A as PortClient, B as InvalidBackupConfigError, C as collectFile, D as SandboxClient, E as isPlatformTransientError, F as BackupCreateError, G as SessionTerminatedError, H as ProcessExitedBeforeReadyError, I as BackupExpiredError, L as BackupNotFoundError, M as FileClient, N as CommandClient, O as UtilityClient, P as BackupClient, R as BackupRestoreError, T as isDurableObjectCodeUpdateReset, U as ProcessReadyTimeoutError, V as OperationInterruptedError, W as RPCTransportError, _ as responseToAsyncIterable, a as PREVIEW_PROXY_HEADER, b as sanitizeSandboxId, c as PREVIEW_PROXY_SANDBOX_ID_HEADER, d as BucketUnmountError, f as InvalidMountConfigError, g as parseSSEStream, h as asyncIterableToSSEStream, i as proxyTerminal, j as GitClient, k as ProcessClient, l as PREVIEW_PROXY_TOKEN_HEADER, m as S3FSMountError, n as Sandbox, o as PREVIEW_PROXY_HEADERS, p as MissingCredentialsError, r as getSandbox, s as PREVIEW_PROXY_PORT_HEADER, t as ContainerProxy, u as BucketMountError, v as CodeInterpreter, w as streamFile, x as validatePort, z as ContainerUnavailableError } from "./sandbox-BGDk-c1Y.js";
|
|
4
4
|
|
|
5
5
|
//#region src/request-handler.ts
|
|
6
6
|
function createProxyLogger(request) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/opencode/types.ts","../../src/opencode/opencode.ts"],"sourcesContent":[],"mappings":";;;;;;;;;AAOiB,UAAA,eAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/opencode/types.ts","../../src/opencode/opencode.ts"],"sourcesContent":[],"mappings":";;;;;;;;;AAOiB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@@ -7399,7 +7399,7 @@ function createTunnelsHandler(host) {
|
|
|
7399
7399
|
* This file is auto-updated by .github/changeset-version.ts during releases
|
|
7400
7400
|
* DO NOT EDIT MANUALLY - Changes will be overwritten on the next version bump
|
|
7401
7401
|
*/
|
|
7402
|
-
const SDK_VERSION = "0.12.
|
|
7402
|
+
const SDK_VERSION = "0.12.13";
|
|
7403
7403
|
|
|
7404
7404
|
//#endregion
|
|
7405
7405
|
//#region src/sandbox.ts
|
|
@@ -11886,4 +11886,4 @@ var Sandbox = class Sandbox extends Container {
|
|
|
11886
11886
|
|
|
11887
11887
|
//#endregion
|
|
11888
11888
|
export { PortClient as A, InvalidBackupConfigError as B, collectFile as C, SandboxClient as D, isPlatformTransientError as E, BackupCreateError as F, SessionTerminatedError as G, ProcessExitedBeforeReadyError as H, BackupExpiredError as I, BackupNotFoundError as L, FileClient as M, CommandClient as N, UtilityClient as O, BackupClient as P, BackupRestoreError as R, validateTunnelName as S, isDurableObjectCodeUpdateReset as T, ProcessReadyTimeoutError as U, OperationInterruptedError as V, RPCTransportError as W, responseToAsyncIterable as _, PREVIEW_PROXY_HEADER as a, sanitizeSandboxId as b, PREVIEW_PROXY_SANDBOX_ID_HEADER as c, BucketUnmountError as d, InvalidMountConfigError as f, parseSSEStream as g, asyncIterableToSSEStream as h, proxyTerminal as i, GitClient as j, ProcessClient as k, PREVIEW_PROXY_TOKEN_HEADER as l, S3FSMountError as m, Sandbox as n, PREVIEW_PROXY_HEADERS as o, MissingCredentialsError as p, getSandbox as r, PREVIEW_PROXY_PORT_HEADER as s, ContainerProxy$1 as t, BucketMountError as u, CodeInterpreter as v, streamFile as w, validatePort as x, SandboxSecurityError as y, ContainerUnavailableError as z };
|
|
11889
|
-
//# sourceMappingURL=sandbox-
|
|
11889
|
+
//# sourceMappingURL=sandbox-BGDk-c1Y.js.map
|