MCPcopy Create free account
hub / github.com/Noumena-Network/code / createMessage

Function createMessage

src/session/replResumePreparationDispatch.test.ts:8–17  ·  view source on GitHub ↗
(uuid: string)

Source from the content-addressed store, hash-verified

6import { dispatchReplResumePreparation } from './replResumePreparationDispatch.js'
7
8function createMessage(uuid: string): Message {
9 return {
10 type: 'assistant',
11 uuid,
12 message: {
13 id: `assistant-${uuid}`,
14 content: [],
15 },
16 } as Message
17}
18
19describe('dispatchReplResumePreparation', () => {
20 test('preserves resume hook, plan-copy, state-restore, and loading-reset ordering', async () => {

Calls

no outgoing calls

Tested by

no test coverage detected