MCPcopy
hub / github.com/HKUDS/DeepCode / Message

Interface Message

new_ui/frontend/src/types/common.ts:3–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Common types
2
3export interface Message {
4 id: string;
5 role: 'user' | 'assistant' | 'system';
6 content: string;
7 timestamp: string;
8 metadata?: Record<string, unknown>;
9}
10
11export interface Notification {
12 id: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected