MCPcopy Create free account
hub / github.com/garrytan/gstack / agentMessage

Function agentMessage

test/gstack-codex-session-import.test.ts:47–53  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

45}
46
47function agentMessage(text: string): Record<string, unknown> {
48 return {
49 timestamp: new Date().toISOString(),
50 type: 'event_msg',
51 payload: { type: 'agent_message', message: text },
52 };
53}
54
55function userMessage(text: string): Record<string, unknown> {
56 return {

Calls

no outgoing calls

Tested by

no test coverage detected