MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / createUserMessage

Function createUserMessage

apps/extension/src/shared/agent-conversation.ts:124–130  ·  view source on GitHub ↗
(text: string, systemEnvironment?: string)

Source from the content-addressed store, hash-verified

122>;
123type SafeToolCallEvent = Extract<AgentConversationEvent, { readonly name: SafeToolName }>;
124type ToolResultEvent = Extract<AgentConversationEvent, { readonly type: 'tool-result' }>;
125
126export type GroupedConversationItem =
127 | {
128 readonly event: AgentConversationEvent;
129 readonly type: 'event';
130 }
131 | {
132 readonly result?: Extract<AgentConversationEvent, { readonly type: 'tool-result' }>;
133 readonly toolCall: Extract<AgentConversationEvent, { readonly type: 'tool-call' }>;

Calls 1

createEventIdFunction · 0.85

Tested by

no test coverage detected