Upgrading
0.5.x → 0.6.x
The agentfile.yaml schema changed in 0.6. The top-level image, packages,
and agents keys moved under a sandbox section:
# before
image:
repository: fedora
tag: latest
packages:
- curl
agents:
- opencode
# after
sandbox:
image:
repository: fedora
tag: latest
packages:
- curl
agents:
- opencode
Run the migration command in each directory that has an agentfile.yaml:
agentfile 0.6migrate
This rewrites the file in place. Comments in the original file are not preserved.