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 { CreateSessionThreadChannelId } from './createSessionThreadChannelId';
import type { CreateSessionThreadParent } from './createSessionThreadParent';
import type { CreateSessionThreadThreadId } from './createSessionThreadThreadId';

/**
 * The triggering mention on a create request.

Clients serialize this, so both derives are used.
 */
export interface CreateSessionThread {
  /** Channel the mentioning message was posted in. Runtimes built before
message parents send this instead of `parent`. */
  channelId?: CreateSessionThreadChannelId;
  /** The mention's text, quoted in the session's announcement. */
  content?: string;
  /** The mentioning message. */
  messageId: string;
  parent?: CreateSessionThreadParent;
  /** Update the existing bot response reserved by a task assignment. */
  reuseOriginMessage?: boolean;
  /** Thread the session belongs to; defaults to the message itself, which
is how a top-level mention roots its own thread. */
  threadId?: CreateSessionThreadThreadId;
}