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
import type { InputAttachmentData } from '../types';
type InputContent = {
value?: string;
attachments?: readonly InputAttachmentData[];
};
export function hasSendableInputContent(input: InputContent): boolean {
return (
input.value?.trim().length !== 0 || (input.attachments?.length ?? 0) > 0
);
}