AgentOS Extensions API - v1.0.3
    Preparing search index...

    Shell service for executing commands

    Index

    Constructors

    Methods

    • Dynamically grant read access to an additional root directory. Used by the runtime when folder access is approved at the guardrails layer.

      Parameters

      • rootPath: string

      Returns void

    • Dynamically grant write access to an additional root directory. Used by the runtime when folder access is approved at the guardrails layer.

      Parameters

      • rootPath: string

      Returns void

    • Read a file as a raw Buffer (for binary document formats). Enforces the same filesystem security policy as readFile.

      Parameters

      • filePath: string

      Returns Promise<{ buffer: Buffer; path: string; size: number }>