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.

2.7 KB
Raw Blame
import { VIEW_SHELL_TOUR } from '@app/components/view-shell/tour';
import { APP_TOUR } from '@app/features/command/sidebar/tour';
import { defineViewTour } from '@app/features/tours/core/view-tour';
import { defineTourTargets } from '@ui/components/Tour';

export const AGENTS_TOUR = defineTourTargets('agents', [
  'modeSwitch',
  'rosterNav',
  'picker',
  'composer',
  'agentList',
  'agentSetup',
]);

const openRoster = {
  entry: [AGENTS_TOUR.rosterNav, VIEW_SHELL_TOUR.sidebarToggle],
  entryLabel: 'Open Agents to continue',
};

export const agentsTour = defineViewTour({
  id: 'agents',
  title: 'Agents',
  steps: [
    {
      target: AGENTS_TOUR.modeSwitch,
      entry: APP_TOUR.createMenu,
      entryLabel: 'Choose Create → Agent to start a conversation',
      title: 'Choose Auto, Chat, or Code',
      description:
        'Auto sends each prompt to your usual chat agent, or to your usual coding agent when it needs code work. Chat starts an agent that works with your documents and apps. Code starts a coding agent on a repository. Filter the sidebar to find either kind.',
    },
    {
      target: AGENTS_TOUR.picker,
      // Auto has no picker; choosing Chat or Code shows it.
      entry: [AGENTS_TOUR.modeSwitch, APP_TOUR.createMenu],
      entryLabel: 'Choose Chat or Code to pick an agent',
      title: 'Choose your agent and model',
      description:
        'Open this picker to choose an agent for the current mode. In Chat, Macro’s models are listed here too; each agent’s submenu lets you choose a model for that conversation.',
    },
    {
      target: AGENTS_TOUR.agentList,
      ...openRoster,
      title: 'Chat agents work with your context',
      description:
        'Chat agents use instructions and connected tools to research, write, and work with your documents and conversations. Your team and private agents live here.',
    },
    {
      target: AGENTS_TOUR.agentSetup,
      ...openRoster,
      title: 'Coding agents work on code',
      description:
        'Coding agents run in Cursor or on a machine you pair with macrod. Connect them here, then choose where each agent runs when you create it.',
    },
    {
      target: AGENTS_TOUR.agentList,
      ...openRoster,
      title: 'Share agents with your team',
      description:
        'Team agents are available to teammates; private agents belong to you. When creating or editing an agent, choose Team or Private alongside its instructions and tools.',
    },
    {
      target: APP_TOUR.createMenu,
      title: 'Put recurring work on a schedule',
      description:
        'Use Create → Routine to give an agent instructions and a schedule—for example, a weekly summary or daily triage. Review the routine’s runs and pause it when you need to.',
    },
  ],
});