Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* agent_harness_service
* OpenAPI spec version: 0.1.0
*/
import type { PromptAttachmentMimeType } from './promptAttachmentMimeType';
import type { PromptAttachmentSize } from './promptAttachmentSize';
/**
* A file the prompt refers to, by where the agent can fetch it.
Mirrors ACP's `resource_link` content block, which every agent must
accept: bytes never ride the prompt, only a URI (a static file service URL
in practice) with enough metadata for a client to render a chip and for
the agent to decide whether to fetch it. Keeping the wire shape ACP-native
means the harness translates without resolving anything, and the fold
reads the same fields back off the logged frame.
*/
export interface PromptAttachment {
/** The file's media type, when known. */
mimeType?: PromptAttachmentMimeType;
/** Display name, typically the original file name. */
name: string;
/** Size in bytes, when known. */
size?: PromptAttachmentSize;
/** Where the agent can fetch the file. */
uri: string;
}