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.

1.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 { AgentActionId } from './agentActionId';
import type { TurnSummaryActor } from './turnSummaryActor';
import type { TurnSummaryAnnouncementMessageId } from './turnSummaryAnnouncementMessageId';
import type { TurnSummaryExcerpt } from './turnSummaryExcerpt';

/**
 * A turn the runtime answered.
 */
export interface TurnSummary {
  /** The action that opened the turn. */
  action_id: AgentActionId;
  actor?: TurnSummaryActor;
  /** The magic-chip message posted for this turn, when one was. */
  announcement_message_id?: TurnSummaryAnnouncementMessageId;
  /** The agent's last text in the turn, whole; what the magic chip shows
once the turn ends. `None` when the turn produced no prose. */
  excerpt?: TurnSummaryExcerpt;
  /** The ACP stop reason, or `"error"` when the runtime refused the prompt. */
  stop_reason: string;
  /**
   * Position in the session's log.
   * @minimum 0
   */
  turn: number;
}