This page documents all TypeScript types exported by the nono SDK.Documentation Index
Fetch the complete documentation index at: https://nono.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
AccessMode
Enum representing the level of filesystem access to grant.Values
| Value | Description |
|---|---|
Read | Read-only access to files and directories |
Write | Write-only access (create, modify, delete) |
ReadWrite | Full read and write access |
Usage
FsCapabilityInfo
Information about a filesystem capability.Properties
The path as originally specified when adding the capability.
The canonicalized absolute path after symlink resolution.
Access level string:
"read", "write", or "read+write".true if this is a single-file capability, false for directories.How the capability was added (e.g.,
"api", "config").Example
SupportInfoResult
Information about sandbox support on the current platform.Properties
Whether sandboxing is available on this platform.
Platform identifier. One of:
"linux"— Linux with Landlock support"macos"— macOS with Seatbelt support"unsupported"— Platform not supported
Human-readable description of the sandbox backend, version, and any limitations.
Example
QueryResultInfo
Result of a permission query.Properties
Result status:
"allowed" or "denied".Reason for the result:Allowed reasons:
"granted_path"— A filesystem capability grants access"network_allowed"— Network access is not blocked
"path_not_granted"— No capability covers the path"insufficient_access"— Path covered but with lower access level"network_blocked"— Network has been blocked
For
granted_path results, the path of the granting capability.For
granted_path results, the access level granted.For
insufficient_access results, the access level that was granted.For
insufficient_access results, the access level that was requested.