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

Function userMessage

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

Source from the content-addressed store, hash-verified

53}
54
55function userMessage(text: string): Record<string, unknown> {
56 return {
57 timestamp: new Date().toISOString(),
58 type: 'event_msg',
59 payload: { type: 'user_message', message: text },
60 };
61}
62
63function runImport(sessionPath: string): { stdout: string; stderr: string; status: number } {
64 const env: Record<string, string> = {};

Calls

no outgoing calls

Tested by

no test coverage detected