@mulmoclaude/core 7.8.0 → 7.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.
@@ -1060,9 +1060,12 @@ shipped builders produce, and asserts `handlePermission` comes back over the MCP
1060
1060
 
1061
1061
  ### Cause
1062
1062
 
1063
- The image freezes whichever CLI was current when it was built, and
1064
- `ensureSandboxImage()` (`packages/mulmoclaude/server/system/docker.ts`) rebuilds only when the **Dockerfile's SHA**
1065
- changes. A new CLI release upstream doesn't change that SHA, so nothing retriggers the build.
1063
+ The image freezes whichever CLI was current when it was built. `ensureSandboxImage()`
1064
+ (`packages/mulmoclaude/server/system/docker.ts`) rebuilds at start, blocking, only when the
1065
+ **Dockerfile's SHA** changes. Since #3728 it also rebuilds a **stale** image (past 30 days) in the
1066
+ background when npm has a newer CLI: the server starts on the old image, and the next turn after the
1067
+ rebuild uses the new one. That refresh needs npm reachable, so an offline machine, or one whose image
1068
+ is younger than the stale limit, keeps the old CLI.
1066
1069
 
1067
1070
  ### Fix
1068
1071
 
@@ -1082,7 +1085,15 @@ about what is inside:
1082
1085
  docker run --rm --entrypoint claude mulmoclaude-sandbox --version
1083
1086
  ```
1084
1087
 
1085
- If it's behind, drop the image and let the next run rebuild:
1088
+ Look for the background refresh in the boot log:
1089
+
1090
+ ```
1091
+ INFO [sandbox] rebuilding the stale sandbox image in the background from=2.1.232 to=2.1.334
1092
+ INFO [sandbox] sandbox image refreshed; the next agent turn uses it claudeCodeVersion=2.1.334
1093
+ ```
1094
+
1095
+ `background refresh of the sandbox image failed` keeps the old image; the warn carries the reason.
1096
+ If it's behind and no refresh ran (young image, npm unreachable), drop the image and let the next run rebuild:
1086
1097
 
1087
1098
  ```bash
1088
1099
  yarn sandbox:remove # docker rmi mulmoclaude-sandbox
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mulmoclaude/core",
3
- "version": "7.8.0",
3
+ "version": "7.8.1",
4
4
  "description": "Shared server-side core for MulmoClaude and MulmoTerminal — the always-shipped-together subsystems consolidated behind subpath exports so the two hosts can't drift. Server-only except the browser-safe ./artifacts, ./whisper/client, ./workspace-setup/slug, ./translation/client, ./remote-view, ./remote-host and ./plugin-vue entries. All host specifics are injected.",
5
5
  "repository": {
6
6
  "type": "git",