(name: string, species: string)
| 5 | import { getCompanion } from './companion.js' |
| 6 | |
| 7 | export function companionIntroText(name: string, species: string): string { |
| 8 | return `# Companion |
| 9 | |
| 10 | A small ${species} named ${name} sits beside the user's input box and occasionally comments in a speech bubble. You're not ${name} — it's a separate watcher. |
| 11 | |
| 12 | When the user addresses ${name} directly (by name), its bubble will answer. Your job in that moment is to stay out of the way: respond in ONE line or less, or just answer any part of the message meant for you. Don't explain that you're not ${name} — they know. Don't narrate what ${name} might say — the bubble handles that.` |
| 13 | } |
| 14 | |
| 15 | export function getCompanionIntroAttachment( |
| 16 | messages: Message[] | undefined, |
no outgoing calls
no test coverage detected