Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

730 B
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * agent_harness_service
 * OpenAPI spec version: 0.1.0
 */
import type { PermissionAnswer } from './permissionAnswer';

/**
 * A user's answer to the agent's `session/request_permission`.

Unlike every other action this is not a new request but the reply to one
the agent made, so it carries the agent's own request id rather than
receiving a server-minted one.
 */
export interface AgentPermissionAction {
  /** What the user decided. */
  answer: PermissionAnswer;
  /** The agent's JSON-RPC request id, echoed verbatim from the folded
permission part. A string or a number on the wire; agents mint both,
and `7` does not answer `"7"`. */
  requestId: unknown;
}