@mote-farm/sandbox 0.2.0-rc.3 → 0.2.0-rc.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,47 @@
1
1
  # Runtime releases
2
2
 
3
+ ## 0.2.0-rc.8
4
+
5
+ - Support shared Pi Durable sandbox subagents with turn-specific cancellation.
6
+ `POST /runs/:id/abort` requires `{turn}`; delayed cancellation of an earlier turn cannot
7
+ stop a later continuation. `/health` advertises `abort-turn` so the Worker refuses launches
8
+ on runtimes that cannot enforce this boundary. Pi core and the coding-agent package are unchanged.
9
+
10
+ ## 0.2.0-rc.7
11
+
12
+ - Leave installed packages out of a report's file list: hidden entries, `node_modules`,
13
+ `__pycache__` and Python virtual environments (a folder holding `pyvenv.cfg`) are skipped
14
+ without being walked. A run that ran `npm i playwright` in its folder listed 176 package files
15
+ and pushed its screenshot past the 50 listed files.
16
+ - Tell the sandbox agent that its brief comes from a channel agent that cannot see the machine:
17
+ tools or commands a brief suggests are hints unless a person asked for them, and installed
18
+ skills (agent-browser for web pages and screenshots) come before installing anything.
19
+
20
+ ## 0.2.0-rc.6
21
+
22
+ - Delete one channel's run (`DELETE /runs/:id?channel=<channel>`, ADR-005): stop its turn if one is
23
+ running, then remove its folder, journal and Pi session, answering `{removed}`. A run another
24
+ channel started is left alone (`removed: false`); a turn still starting answers 409. Older
25
+ runtimes answer 404, which the Worker reports as an incomplete deletion until the Sprite is
26
+ upgraded.
27
+ - Start Pi in the run's folder, with its session in `~/.mote-farm/sessions/<runId>/`
28
+ (`--session-dir`), so relative writes land in the run's folder and the session has a fixed place.
29
+ Sessions of earlier runs stay in Pi's shared session folder.
30
+
31
+ ## 0.2.0-rc.5
32
+
33
+ - Repair `/dev/fuse` before every FUSE mount. Sprites create it with mode 1232 (decimal 666
34
+ written as octal), so neither the files mount nor SSHFS machine folders could open it
35
+ ("failed to open /dev/fuse: Permission denied"). The device is recreated at boot, so the run
36
+ service restores mode 0666 with `sudo` each time it mounts.
37
+
38
+ ## 0.2.0-rc.4
39
+
40
+ - Mount the owner's uploaded files read-only at `/mnt/<org>/files` (`POST /files/mount`) with the
41
+ prefix-scoped R2 credentials the Worker sends; one rclone mount per org, kept while its
42
+ credentials have six hours left. Setup installs rclone v1.75.2, pinned by SHA-256, and `unzip`.
43
+ Older runtimes answer 404 and delegations proceed without the files folder.
44
+
3
45
  ## 0.2.0-rc.3
4
46
 
5
47
  - Read the control credential from `X-Mote-Farm-Control`. Sprite URLs are now private: the
package/README.md CHANGED
@@ -6,7 +6,7 @@ time. The service launches its own Pi dependency and uses tools exposed by setup
6
6
  under `~/.mote-farm/bin`; unrelated global installations do not select the toolchain.
7
7
 
8
8
  The Worker installs this package and explicitly runs `mote-farm-sandbox-setup` before
9
- starting the Sprite service. Setup installs/checks Tailscale, SSH/SSHFS and Chrome,
9
+ starting the Sprite service. Setup installs/checks Tailscale, SSH/SSHFS, rclone and Chrome,
10
10
  and copies the extension and browser skill into Pi's default directories. It keeps
11
11
  user files, session history and machine state outside the package. Node >=24 and
12
12
  npm 12 are prerequisites supplied by the Sprite image.