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.

511 B
Raw Blame
import type { JSX } from 'solid-js';
import type { InputLayout } from './capabilities';

/** The host owns its text, input placement and navigation lifecycle. */
export interface InputSession {
  text: string;
  layout: InputLayout;
  selection?: { start: number; end: number };
  /** Supply null when the host keeps its own editor mounted outside the form. */
  editor?: JSX.Element;
  onTextChange(text: string): void;
  onSendingChange?(sending: boolean): void;
  onComplete(): void;
  onNavigate(): void;
}