Commit graph

6 commits

Author SHA1 Message Date
aa886b346e Add seeded task workspace creation
Current persistent tasks started with an empty workspace, which blocked the first useful host-to-task workflow in the task roadmap. This change lets task creation start from a host directory or tar archive without changing the one-shot VM surfaces.

Expose source_path on task create across the CLI, SDK, and MCP, add safe archive upload and extraction support for guest and host-compat backends, persist workspace_seed metadata, and patch the per-task rootfs with the bundled guest agent before boot so seeded guest tasks work without republishing environments. Also switch post--- command reconstruction to shlex.join() so documented sh -lc task examples preserve argument boundaries.

Validation:
- uv lock
- UV_CACHE_DIR=.uv-cache uv run pytest --no-cov tests/test_vm_guest.py tests/test_vm_manager.py tests/test_cli.py tests/test_api.py tests/test_server.py tests/test_public_contract.py
- UV_CACHE_DIR=.uv-cache make check
- UV_CACHE_DIR=.uv-cache make dist-check
- real guest-backed smoke: task create --source-path, task exec -- cat note.txt, task delete
2026-03-11 21:45:38 -03:00
0c4ac17b82 Stabilize kernel materialization parallelism 2026-03-08 20:43:51 -03:00
5d5243df23 Refactor public API around environments 2026-03-08 16:02:02 -03:00
1b19bff7b6 Finalize guest boot and exec runtime updates 2026-03-07 17:09:21 -03:00
b01efa6452 Enable real guest networking and make demos network-first 2026-03-06 22:47:16 -03:00
c43c718c83 Add real runtime materialization pipeline and bundle artifacts 2026-03-06 19:26:29 -03:00