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.
 * agent_harness_service
 * OpenAPI spec version: 0.1.0
 */

import type { AgentSessionLogEntryDto } from './agentSessionLogEntryDto';
import type { SessionBot } from './sessionBot';

/**
 * Response body for one session's raw protocol log.

A wrapper rather than a bare array so that anything which is about the
response rather than about a frame has somewhere to go later without
breaking every client.
 */
export interface AgentSessionLogResponse {
  /** The agent whose messages the log derives.

Here because a client renders those messages and cannot otherwise work
out who sent them: the sender of an agent message is this session's
bot, and nothing else names it. */
  bot: SessionBot;
  /** Effective history in ascending `(createdAt, id)` order.
The first row is the inclusive history boundary cursor: buffered rows
before it are obsolete. Reconcile snapshot overlap by row ID, never content.
An empty history has no boundary or overlapping rows. */
  entries: AgentSessionLogEntryDto[];
}