Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
fd9a4fa
ci: Fix Release Version Resolution for Untagged and Resumed Runs (#233)
lia-by-librechat[bot] Sep 18, 2026
54aca92
feat: Route GitHub App credentials per repository (#236)
danny-avila Sep 19, 2026
dc48249
fix: Authenticate GitHub App bot identity lookup (#237)
danny-avila Sep 19, 2026
277fa77
feat: Advertise Workspace Command Timeout Ceiling (#238)
danny-avila Sep 19, 2026
95ebbd3
🌳 feat: Provision Conversation-Scoped Code Worktrees (#239)
danny-avila Sep 20, 2026
c8b3e14
fix: Close native scratch directory streams (#240)
danny-avila Sep 20, 2026
67d75d8
feat(code): route trusted VM GitHub App tokens by checkout (#248)
danny-avila Sep 23, 2026
cf0e668
🧹 fix: Await Job Cleanup and Measure Retained Resources (#249)
lia-by-librechat[bot] Sep 25, 2026
b03582a
feat: Allow Installation-Scoped GitHub Tokens for Trusted Workers (#263)
danny-avila Sep 27, 2026
6732988
⏳ fix: Let BYOM Workspace Calls Queue Past Thirty Seconds (#264)
lia-by-librechat[bot] Sep 27, 2026
2a31002
🔐 feat: Recover Code API Machine Credentials After Outages (#260)
lia-by-librechat[bot] Sep 28, 2026
337ddd6
⏳ fix: Honor Workspace Queue Budgets Per Request (#265)
danny-avila Sep 28, 2026
5b71e8c
fix: deduplicate files by destination before sandbox validation (#247)
proseer-lars Sep 28, 2026
1634027
🛤️ feat: Schedule Linked Worktrees as Their Own Workspace Lanes (#270)
danny-avila Sep 29, 2026
dbb8477
🛡️ fix: Guard Linked-Worktree Lanes Against Accidental Git Pruning (#…
lia-by-librechat[bot] Sep 29, 2026
3189cfd
🔓 fix: Let Linked-Worktree Lanes Commit When the Checkout Lives in th…
danny-avila Sep 29, 2026
1e683ce
🎯 feat: Diagnose Every Failing Workspace Edit and Negotiate Tolerant …
danny-avila Sep 30, 2026
836d001
🛡️ fix: Deny a Non-Lane Root's Own Git Metadata in the Native SRT San…
danny-avila Sep 30, 2026
05bad85
🧷 test: Retain the Contention Lock Owner Through Garbage Collection (…
lia-by-librechat[bot] Oct 2, 2026
e46fca4
🪟 feat: Preserve Command Output Heads and Tails (#275)
lia-by-librechat[bot] Oct 2, 2026
3db2584
♻️ feat: Reuse Verified Environment Preparation (#286)
danny-avila Oct 2, 2026
42a7fcd
🧰 feat: Share Explicit Environment Tool Resources (#287)
danny-avila Oct 2, 2026
cdb457d
📦 feat: Restore Isolated Dependency Snapshots (#288)
danny-avila Oct 2, 2026
572ccba
feat: Bound Managed Environment Storage (#289)
danny-avila Oct 2, 2026
a9528bc
🔬 feat: Begin the OpenShell Backend Evaluation Track (#282)
lia-by-librechat[bot] Oct 2, 2026
032a93f
feat: Retire Stale Linked Worktrees Automatically (#299)
danny-avila Oct 3, 2026
d6ac1b6
fix: Report Missing Workspace Paths as NOT_FOUND and Create Missing P…
danny-avila Oct 3, 2026
893ad36
feat: Quote the Current Text Where a Missing Workspace Edit Belongs (…
danny-avila Oct 3, 2026
961777e
feat: Persist Workspace Admission Across API Restarts (#302)
lia-by-librechat[bot] Oct 4, 2026
192f61c
📖 feat: Stream Bounded Workspace File Reads (#303)
lia-by-librechat[bot] Oct 4, 2026
e829f75
🗂️ fix: Guard Lane Worktree Registration (#304)
lia-by-librechat[bot] Oct 4, 2026
829992a
🛡️ fix: Harden Sandbox Startup and Internal Transports (#305)
lia-by-librechat[bot] Oct 4, 2026
e68fae8
🐳 ci: Publish Code API Images to GHCR (#307)
danny-avila Oct 5, 2026
4b2b8e1
fix: block sandbox descriptor passing into unix socket gc (#309)
danny-avila Oct 5, 2026
2318ba0
feat: replace tool-call sockets with anonymous pipes (#310)
danny-avila Oct 5, 2026
4401420
🧵 fix: Replace Runtime Socketpairs With Anonymous Pipes (#312)
danny-avila Oct 5, 2026
26d1ab8
🌿 feat: Report Lane Git Branch And Head On Command Results (#311)
berry-13 Oct 5, 2026
68c9f93
fix: Relay Loopback Resolvers Into KVM Guests (#314)
danny-avila Oct 5, 2026
a62d69e
🔒 Harden Runner Supervisors with Anonymous Pipes (#315)
danny-avila Oct 6, 2026
c854ab5
test: check parent-side nsjail startup failure (#318)
danny-avila Oct 6, 2026
58a023d
fix: resolve packaged pipe addon inside guests (#336)
dustinhealy Oct 17, 2026
1d3955c
🧭 feat: Add Guided Worker Setup And Saved Profiles (#339)
lia-by-librechat[bot] Oct 21, 2026
9ac42e4
🔑 feat: Recover Enrolled Worker Credentials On Startup (#341)
lia-by-librechat[bot] Oct 21, 2026
a3207a7
🪪 feat: Add Key-Bound Browser Enrollment And Resumable Setup (#342)
lia-by-librechat[bot] Oct 22, 2026
0eb6c2d
📑 feat: Add Standalone File Extraction Service (#306)
lia-by-librechat[bot] Oct 22, 2026
6140638
🩺 fix: Diagnose Unavailable Worker Commands Safely (#349)
danny-avila Oct 23, 2026
71ef714
🧹 test: Handle Descendant Adoption Races In Orphan Cleanup (#352)
danny-avila Oct 23, 2026
6c5491c
📥 feat: Import Chat Uploads Into Attached Workspaces (#348)
danny-avila Oct 23, 2026
c93a454
🔗 fix: Update Node Runtimes And Preserve Restored Modules (#347)
lia-by-librechat[bot] Oct 23, 2026
77bcd2e
fix(codeapi): pin proxy-addr to 2.0.8 (#4534) (#338)
github-actions[bot] Oct 23, 2026
82222d7
🔐 fix: Harden Extraction Network And Credential Boundaries (#359)
lia-by-librechat[bot] Oct 23, 2026
1eaa52b
🪜 fix: Create Missing Parents on Pathname-Only Roots So Imports Land …
danny-avila Oct 23, 2026
aaef081
🔒 fix: Refuse a Pathname Root That Changes Before It Is Held (#361)
danny-avila Oct 24, 2026
2fa9f0d
chore(codeapi): import 🔒 fix: Refuse a Pathname Root That Changes Bef…
github-actions[bot] Oct 24, 2026
03bcaed
Merge upstream/main (2fa9f0d) into fork
ThabangLenonyana Nov 6, 2026
a77d50a
fix: accept bounded large egress grant headers
jacksonriding Oct 12, 2026
4735136
test(package-init): include fork-required pdfplumber and pypdfium2 in…
ThabangLenonyana Nov 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,22 +93,22 @@ jobs:

- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.4.2
bun-version: 1.4.4

- name: Cache Bun packages
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-codeapi-api-bun-1.4.2-${{ hashFiles('api/bun.lock') }}
key: ${{ runner.os }}-codeapi-api-bun-1.4.4-${{ hashFiles('api/bun.lock') }}
restore-keys: |
${{ runner.os }}-codeapi-api-bun-1.4.2-
${{ runner.os }}-codeapi-api-bun-1.4.4-

- name: Install dependencies
run: bun ci

- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
with:
node-version: 22
node-version: 22.23.4

- name: Compile anonymous-pipe addon
run: |
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
--workdir /work/api \
--env SANDBOX_CLEANUP_TMPFS_TEST=1 \
--env SANDBOX_LOG_LEVEL=error \
oven/bun:1.4.2-debian \
oven/bun:1.4.4-debian \
bun test src/cleanup.integration.test.ts

nsjail-ipc-tests:
Expand All @@ -164,7 +164,7 @@ jobs:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.4.2
bun-version: 1.4.4
- name: Render native sandbox policy
working-directory: api
run: |
Expand Down Expand Up @@ -271,15 +271,15 @@ jobs:

- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.4.2
bun-version: 1.4.4

- name: Cache Bun packages
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-codeapi-service-bun-1.4.2-${{ hashFiles('service/bun.lock') }}
key: ${{ runner.os }}-codeapi-service-bun-1.4.4-${{ hashFiles('service/bun.lock') }}
restore-keys: |
${{ runner.os }}-codeapi-service-bun-1.4.2-
${{ runner.os }}-codeapi-service-bun-1.4.4-

- name: Install dependencies
run: bun ci
Expand All @@ -306,7 +306,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: ['22.21.0', '24.16.0']
node-version: ['22.23.4', '24.22.1']
defaults:
run:
working-directory: packages/code
Expand Down Expand Up @@ -343,7 +343,7 @@ jobs:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
with:
node-version: 24.16.0
node-version: 24.22.1
- run: npm ci
- run: npm run build
- name: Selected project root containment tests
Expand All @@ -370,7 +370,7 @@ jobs:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
with:
node-version: 24.16.0
node-version: 24.22.1
- name: Install bubblewrap
run: |
sudo apt-get update -qq
Expand All @@ -395,7 +395,7 @@ jobs:

- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.4.2
bun-version: 1.4.4

- name: Install service dependencies
working-directory: service
Expand Down Expand Up @@ -467,7 +467,7 @@ jobs:
docker buildx inspect --bootstrap

- name: Build Lambda MicroVM runner image
# The target pins Bun 1.4.2 and installs api/bun.lock frozen. Building
# The target pins Bun 1.4.4 and installs api/bun.lock frozen. Building
# natively catches architecture-specific package and Docker layer
# failures without retaining a second multi-gigabyte image copy.
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/extraction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38
with:
node-version: 24.16.0
node-version: 24.22.1
cache: npm
cache-dependency-path: packages/extraction/package-lock.json
- run: npm ci --ignore-scripts
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ on:
- javascript-packages.txt
- launcher/**
- packages/code/src/**
- packages/extraction/**
- service/**
- shared/**
pull_request:
Expand Down Expand Up @@ -70,6 +71,8 @@ jobs:
run: |
images=$(jq -c . <<'JSON'
[
{"image": "code-interpreter-extraction", "dockerfile": "packages/extraction/Dockerfile", "target": "runtime",
"description": "Authenticated isolated PDF/DOCX extraction service", "timeout": 15},
{"image": "code-interpreter-api", "dockerfile": "service/Dockerfile", "target": "api",
"description": "Code API HTTP server (Compose service api)", "timeout": 30},
{"image": "code-interpreter-worker", "dockerfile": "service/Dockerfile", "target": "worker",
Expand Down
12 changes: 6 additions & 6 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ COPY api/src/spec-guard.c /tmp/spec-guard.c
COPY api/src/tool-call-pipe-bridge.c /tmp/tool-call-pipe-bridge.c
COPY api/src/anonymous-pipes.c /tmp/anonymous-pipes.c
COPY api/src/supervisor-policy.c /tmp/supervisor-policy.c
COPY --from=node:22-slim /usr/local/include/node /usr/local/include/node
COPY --from=node:22.23.4-slim /usr/local/include/node /usr/local/include/node
COPY docker/rootfs-setup.c /tmp/rootfs-setup.c
RUN gcc -shared -fPIC -O2 -Wall -Wextra -Werror -I/usr/local/include/node -o /usr/local/lib/anonymous-pipes.node /tmp/anonymous-pipes.c \
&& gcc -O2 -static -Wall -Wextra -Werror -o /usr/local/bin/sandbox-supervisor-policy /tmp/supervisor-policy.c \
Expand All @@ -49,8 +49,8 @@ FROM nsjail-builder AS nsjail-ipc-test
ENV SANDBOX_PIPE_ADDON=/usr/local/lib/anonymous-pipes.node
COPY docker/python-runtime /python-runtime
RUN python3 /python-runtime/install.py
COPY --from=node:22-slim /usr/local/bin/node /usr/local/bin/node
COPY --from=oven/bun:1.4.2-debian /usr/local/bin/bun /usr/local/bin/bun
COPY --from=node:22.23.4-slim /usr/local/bin/node /usr/local/bin/node
COPY --from=oven/bun:1.4.4-debian /usr/local/bin/bun /usr/local/bin/bun

# ============================================================================
# Stage 1b: Build language runtime packages (only consumed by sandbox-runner-baked)
Expand All @@ -64,7 +64,7 @@ FROM buildpack-deps:bookworm AS package-builder

ENV DEBIAN_FRONTEND=noninteractive
ENV PYTHON_VERSION=3.14.4
ENV BUN_VERSION=1.4.2
ENV BUN_VERSION=1.4.4

COPY docker/apt-install.sh /usr/local/bin/apt-install
RUN chmod +x /usr/local/bin/apt-install
Expand All @@ -87,7 +87,7 @@ RUN chmod +x /package-init.sh && FORCE_REBUILD=true /package-init.sh
# ============================================================================
# Stage 2: Build sandbox rootfs
# ============================================================================
FROM oven/bun:1.4.2-debian AS sandbox-build
FROM oven/bun:1.4.4-debian AS sandbox-build

ENV DEBIAN_FRONTEND=noninteractive

Expand Down Expand Up @@ -170,7 +170,7 @@ RUN chmod +x /usr/sbin/nsjail
# The per-invocation broker starts Node after restore, so its OpenSSL process
# state is not captured in the MicroVM snapshot. Pulling the Node binary
# is ~30 MB and avoids inheriting npm/node_modules from a full apt install.
COPY --from=node:22-slim /usr/local/bin/node /usr/local/bin/node
COPY --from=node:22.23.4-slim /usr/local/bin/node /usr/local/bin/node

WORKDIR /sandbox_api

Expand Down
5 changes: 4 additions & 1 deletion api/bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 12 additions & 7 deletions api/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,8 @@
"@types/semver": "^7.5.8",
"typescript": "^5.7.3"
},
"license": "Apache-2.0"
"license": "Apache-2.0",
"overrides": {
"proxy-addr": "2.0.8"
}
}
1 change: 1 addition & 0 deletions api/src/api/session-inputs.routes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ let baseUrl: string;
const savedSessionWorkspaceEnabled = config.session_workspace_enabled;

beforeAll(async () => {
await fsp.rm(SESSION_INPUT_CACHE_DIR, { recursive: true, force: true });
config.session_workspace_enabled = true;
const app = express();
/* Mirror index.ts: no global JSON parser, router mounted under /api/v2. */
Expand Down
7 changes: 5 additions & 2 deletions api/src/job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,11 @@ export function ensureNodeModulesSymlink(
if (!nodeModulesPath) return;
const linkPath = path.join(submissionDir, 'node_modules');
try {
fs.lstatSync(linkPath);
return;
if (!fs.lstatSync(linkPath).isSymbolicLink()) return;
const target = path.resolve(submissionDir, fs.readlinkSync(linkPath));
const packageRoot = `${path.resolve(config.packages_directory)}${path.sep}`;
if (!target.startsWith(packageRoot) || target === path.resolve(nodeModulesPath)) return;
fs.unlinkSync(linkPath);
} catch (err) {
if (errorCode(err) !== 'ENOENT') throw err;
}
Expand Down
Loading
Loading