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.

438 B
Raw Blame
/** The agent's working todo list for the turn, in the library's TodoList. */

import type { MessagePart } from '@service-agent-fold/generated/types';
import { TodoList } from '../../ui';

export function PlanPart(props: {
  part: Extract<MessagePart, { kind: 'plan' }>;
}) {
  return (
    <TodoList
      todos={props.part.entries.map((entry) => ({
        content: entry.content,
        status: entry.status,
      }))}
    />
  );
}