The architecture is simple and very Unix-y: it's basically the macOS API as a CLI. Any executable can talk to it over stdin/stdout and draw native UI using a plain-text protocol (or something fancier using custom SwiftUI views). Permissions, logs and all the tools live in a single place, and each tool can be shared via one signed file.
Every shared spot is signed with Nostr keys, so you can always verify who made it. We chose Nostr because we don't want to control what people are allowed to share.
All the spots are run in yolo mode by default, so they get the same permissions as Openspot, but you can always ask your agent to verify the code if necessary. We plan to add a sandboxing mechanism in the near future.
Interesting project. How does the caffeinate spot keep the Mac awake with the lid closed? As far as I know, caffeinate on its own doesn’t stop sleep when the lid is closed without an external display. Do you use pmset disablesleep, and how do you get normal sleep back if the app crashes?
A few words about the architecture.
The architecture is simple and very Unix-y: it's basically the macOS API as a CLI. Any executable can talk to it over stdin/stdout and draw native UI using a plain-text protocol (or something fancier using custom SwiftUI views). Permissions, logs and all the tools live in a single place, and each tool can be shared via one signed file.
Every shared spot is signed with Nostr keys, so you can always verify who made it. We chose Nostr because we don't want to control what people are allowed to share.
All the spots are run in yolo mode by default, so they get the same permissions as Openspot, but you can always ask your agent to verify the code if necessary. We plan to add a sandboxing mechanism in the near future.
Interesting project. How does the caffeinate spot keep the Mac awake with the lid closed? As far as I know, caffeinate on its own doesn’t stop sleep when the lid is closed without an external display. Do you use pmset disablesleep, and how do you get normal sleep back if the app crashes?
[flagged]
Like it - nifty little thing