-
|
I run each of my coding agents in separate sandboxes, and in some cases I've recently been giving them a throwaway Linux VM (via Lima) so it has its own docker compose, ports, and databases. I recently got this working under nono and wanted to share the process and ask for feedback about next steps. Starting a VM with Lima's (allow mach-lookup (global-name "com.apple.Virtualization.VirtualMachine"))
(allow mach-task-name)
(allow generic-issue-extension
(extension-class "com.apple.virtualization.extension.fuse")
(extension-class "com.apple.virtualization.extension.rosetta-directory-share"))(plus easy nono file access to With those, the VM boots to This raises a few things that might be worth separate issues. I wanted to ask here first in case any are already covered, or I've missed an existing mechanism.
If there's a good way to package this up so it is reusable, I'd be glad to do it, but I don't see a "right" way to do it. Either way, happy to file any of these as separate issues. Let me know which are useful. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hi @burnto , this is really cool and pleased you asked. The best approach is to ship it on the registry. If you take a look at https://github.com/always-further/nono-packs you will see how we configure packages. Each package has its own dedicated policy.json, so you can just add your existing policy there with the unsafe sandbox rules. Example https://github.com/always-further/nono-packs/blob/main/claude/policy.json From there create a package.json: https://github.com/always-further/nono-packs/blob/main/claude/package.json The package json allows you to move files into place you need for lima (if there are any) or add json , yaml values: Once you're happy with it, head over to the registry.nono.sh and sign up for a user account, go to pushlish a package and get your package setup there. This will give you an example github action. Grab that, head back to the repo, add it as a workflow, and run it against a tag - we then just approve it and is available for anyone Users from there on can do this:
You are then in full control of making changes, shipping releases and the registry acts as a secure mirror to make your package available to More details here: https://nono.sh/docs/cli/features/package-publishing Please just message me in discord if you get stuck, I am more then willing to roll up sleeves and help you get it working. |
Beta Was this translation helpful? Give feedback.
Hi @burnto , this is really cool and pleased you asked.
The best approach is to ship it on the registry.
If you take a look at https://github.com/always-further/nono-packs you will see how we configure packages. Each package has its own dedicated policy.json, so you can just add your existing policy there with the unsafe sandbox rules. Example https://github.com/always-further/nono-packs/blob/main/claude/policy.json
From there create a package.json: https://github.com/always-further/nono-packs/blob/main/claude/package.json
The package json allows you to move files into place you need for lima (if there are any) or add json , yaml values: