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.1 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * agent_harness_service
 * OpenAPI spec version: 0.1.0
 */
import type { AgentActionId } from './agentActionId';
import type { PromptAttachment } from './promptAttachment';
import type { QueuedActionDtoActorUserId } from './queuedActionDtoActorUserId';
import type { QueuedActionDtoPrompt } from './queuedActionDtoPrompt';

/**
 * One action waiting in a session's queue.

Clients deserialize this, so both derives are used.
 */
export interface QueuedActionDto {
  /** The id the action was accepted under. */
  actionId: AgentActionId;
  /** The user who queued it, absent when a bot acted on nobody's behalf. */
  actorUserId?: QueuedActionDtoActorUserId;
  /** Files the prompt refers to, for prompts only. Kept through an edit,
which replaces the text alone. */
  attachments?: PromptAttachment[];
  /** When it was accepted. */
  createdAt: string;
  /** What kind of action waits - `prompt` or `compact`; only
turn-occupying actions are ever queued. */
  kind: string;
  /** The prompt's raw text, present for prompts only. What an edit
replaces. */
  prompt?: QueuedActionDtoPrompt;
}