13 Commits

Author SHA1 Message Date
evan188199-tech
a5ab4c6ea6 test(sandbox): use the active Python interpreter for argv fixtures (#2409) 2026-11-06 02:27:50 +08:00
RRFZ
83464cdf8e fix(sandbox): give executed code its home and temp folders on Windows
RestrictedSubprocessBackend passes HOME and TMPDIR through to model-run
code but not their Windows counterparts. On Windows HOME is normally
unset, so code run by the exec tool got no home folder: Path.home()
raised "Could not determine home directory", "~" stayed unexpanded
(libraries then create a literal "~" folder in the workspace), and
tempfile fell back to C:\Windows\Temp.

Also keep USERPROFILE, TEMP and TMP. They name folders, not secrets.
2026-10-31 21:49:02 -04:00
Bingxi Zhao (Frank)
e38a1f63a1 fix(video-lesson): isolate rendering without requiring Docker 2026-10-27 03:43:53 +08:00
Bingxi Zhao (Frank)
9237139fb8 fix(video-lesson): isolate render checks and clean up cancelled processes 2026-10-27 01:46:42 +08:00
Bingxi Zhao (Frank)
4ca5f7ba3d fix(sandbox): preserve network isolation during fallback 2026-09-21 10:35:22 +08:00
Frank_zhu
7e55583107 fix(runtime): tolerate bwrap loopback denial on modern Linux (#1516)
On Ubuntu 24.04+, bwrap --unshare-all can abort with
"loopback: Failed RTM_NEWADDR: Operation not permitted". Health checks
only inspected ExecResult.error, which stays empty on that exit, so
BwrapBackend was treated as healthy and partner file generation failed.

Retry with --share-net to keep mount isolation, treat a non-zero probe
exit as unhealthy, and fall back to RestrictedSubprocessBackend when
sandbox_allow_subprocess is enabled.
2026-09-21 10:27:19 +08:00
Bingxi Zhao (Frank)
04040a2c06 release: v1.6.5
Ship a content workspace you choose, one exec tool for every language,
Mastery Path modes that gate its tools, and Settings that grades
readiness instead of listing faults.

Release notes: assets/releases/ver1-6-5.md
2026-09-06 13:46:29 +08:00
XZH
7c62d604da test(sandbox): use current interpreter for output limit test 2026-08-31 06:51:53 -07:00
XZH
72ef3e0120 fix(sandbox): enforce local exec output and process limits (#1150) 2026-08-31 06:39:23 -07:00
zhou2030109-glitch
b342b63b7a fix: align Windows exec runtime and search readiness 2026-08-27 17:17:03 +08:00
Bingxi Zhao
0765085166 fix: expose active virtualenv inside bwrap (#887) 2026-08-17 01:41:52 +08:00
Bingxi Zhao (Frank)
740ec413a0 release: v1.5.7
Per-account MCP Services and CLI Apps — the two ways a deployment plugs in
tools DeepTutor never shipped — plus the isolation that makes them safe on a
shared install.

- MCP Services: a 45-entry curated store of hosted servers each account
  installs for itself, OAuth 2.1 (PKCE + dynamic client registration) for the
  servers that require it, static keys held by reference and resolved in memory
  at connect time, stdio refused for self-service. Settings no longer
  configures MCP; /settings/mcp redirects to the store.
- CLI Apps: 101 tools snapshotted from the two CLI-Anything registries.
  Installs are admin-only, the registry's install_cmd is parsed into an argv we
  build rather than executed, npm install scripts are forced off, and 66
  first-party entries are pinned to one reviewed commit. Apps land in
  data/cli-apps, one environment each, mounted read-only into the runner.
- Credentials that authorise a person move to data/system, the one branch the
  exec sandbox never mounts: Codex tokens relocate themselves on first use
  (refusing to follow a symlink), per-user MCP configs and keys land beside
  them.
- Grants gain a cli_apps whitelist with the same deny-by-default posture as
  MCP tools; a per-turn registry view keeps one owner's provider tools out of
  the process-global registry and refuses an unauthorised tool at execute, not
  just in the manifest.
- The composer reports what filled this turn's context window, a gutter rail
  jumps back through long conversations, and the workspace collapses to a
  drawer on small screens.
- The composer keeps focus after sending and across tab switches (#720);
  released images carry provenance and SBOM attestations (#722).

README prose, all ten translated READMEs, and the docs-site pages that named
Settings → MCP are updated to match. Release notes:
assets/releases/ver1-5-7.md
2026-07-31 00:25:48 +08:00
Bingxi Zhao (Frank)
46093e5e2b update msg 2026-06-11 20:03:34 +08:00