Add session resuming

This commit is contained in:
Samuel Aubertin
2025-11-14 11:21:14 +01:00
parent 67fd0cd9c9
commit 698ca67677
5 changed files with 71 additions and 6 deletions

View File

@@ -107,6 +107,7 @@ Targets are supplied after the code directory (or via `default_targets` in the m
| `build-if-missing` | No-op when the image already exists; otherwise delegates to `build`. |
| `rebuild` | Rebuild the image from scratch (`--no-cache`). |
| `run` | Default goal. Runs the container with Codex as entrypoint and passes `codex_args`. |
| `resume <session-id>` | Continues a Codex session by running `codex resume <session-id>` inside the container (builds if needed). |
| `login` | Starts Codex in login mode to bootstrap `${HOME}/.codex`. |
| `shell` | Launches `/bin/bash` inside the container for debugging. |
| `stop` | Best-effort stop of the running container (if any). |