Skip to content

Type Alias: Permission

ts
type Permission = "fs:read" | "fs:write" | "process" | "network";

Defined in: packages/sdk/src/permissions.ts:23

A capability an extension declares in its manifest (silo.permissions) to request access beyond the open workspace. With none declared, an extension's FileService / ProcessService access is confined to the workspace folder(s); each permission lifts one part of that confinement, and the user consents to the set at install.

  • fs:read — read files outside the workspace.
  • fs:write — write files outside the workspace.
  • process — run commands with a working directory outside the workspace.
  • network — make outbound network requests. Declarative consent only until sandboxed execution lands (in-process code can reach the network directly); declare it so the capability is reviewable and shown at install.