Sanity Library Reference Docs
    Preparing search index...
    • The execution-environment user properties a process shell (CLI, MCP server) attaches to its store — the sanity CLI's precedent set, joined to events by sessionId downstream. The surface marker is what lets intake data slice per shell; user identity is deliberately absent (the intake service resolves the sender from the authenticated session on every event).

      Type Parameters

      • Surface extends "cli" | "mcp"

      Parameters

      Returns {
          cpuArchitecture: string;
          machinePlatform: string;
          runtime: string;
          runtimeVersion: string;
          surface: Surface;
      }