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.

2.0 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * document_storage_service
 * OpenAPI spec version: 0.1.0
 */

import type { AgentChannelScope } from './agentChannelScope';
import type { AgentMcpServers } from './agentMcpServers';
import type { CreateAgentRequestAutoAcceptPermissions } from './createAgentRequestAutoAcceptPermissions';
import type { CreateAgentRequestAvatarUrl } from './createAgentRequestAvatarUrl';
import type { CreateAgentRequestDescription } from './createAgentRequestDescription';
import type { CreateAgentRequestHarnessId } from './createAgentRequestHarnessId';
import type { CreateAgentRequestTeamId } from './createAgentRequestTeamId';

/**
 * Request to create a persisted AI agent.
 */
export interface CreateAgentRequest {
  /** Whether the agent's sessions approve ACP permission requests without
asking. Omit to always prompt. */
  auto_accept_permissions?: CreateAgentRequestAutoAcceptPermissions;
  /** Optional avatar URL or data URL. */
  avatar_url?: CreateAgentRequestAvatarUrl;
  /** Selected channels. Must be non-empty only for `selected` scope. */
  channel_ids?: string[];
  /** Whether the agent is global or channel-specific. */
  channel_scope: AgentChannelScope;
  /** Model selected specifically for this agent. */
  default_model: string;
  /** Optional description. */
  description?: CreateAgentRequestDescription;
  /** Stable `@` handle. */
  handle: string;
  /** Harness used to run the agent. */
  harness: string;
  harness_id?: CreateAgentRequestHarnessId;
  /** Instructions supplied to the agent at the start of a conversation. */
  instructions: string;
  /** Whether the agent is a coding agent: a mention is answered with a magic
chip into its live session (`true`) or a reply in the thread (`false`). */
  is_coding: boolean;
  /** Which MCP servers sessions of this agent are handed. */
  mcp?: AgentMcpServers;
  /** Display name. */
  name: string;
  /** Team owner. Omit for a private, user-owned agent. */
  team_id?: CreateAgentRequestTeamId;
}