diff --git a/src/core/formatter.ts b/src/core/formatter.ts index a5d4b1b..3ea04d3 100644 --- a/src/core/formatter.ts +++ b/src/core/formatter.ts @@ -7,16 +7,7 @@ import type { InboundMessage } from './types.js'; -/** - * Channel format hints - tells the agent what formatting syntax to use - * Each channel has different markdown support - hints help agent format appropriately. - */ -const CHANNEL_FORMATS: Record = { - slack: 'mrkdwn: bold/italic/code/links - NO: headers, tables', - telegram: 'MarkdownV2: bold/italic/code/links/quotes - NO: headers, tables', - whatsapp: 'bold/italic/code - NO: headers, code fences, links, tables', - signal: 'ONLY: bold/italic/code - NO: headers, code fences, links, quotes, tables', -}; + export interface EnvelopeOptions { timezone?: 'local' | 'utc' | string; // IANA timezone or 'local'/'utc' @@ -180,8 +171,5 @@ export function formatMessageEnvelope( const envelope = `[${parts.join(' ')}]`; // Add format hint as a separate note (not cluttering the main envelope) - const formatHint = CHANNEL_FORMATS[msg.channel]; - const hint = formatHint ? `\n(Format: ${formatHint})` : ''; - - return `${envelope} ${msg.text}${hint}`; + return `${envelope} ${msg.text}`; }