MCPcopy
hub / github.com/stackblitz/bolt.new / useMessageParser.ts

File useMessageParser.ts

app/lib/hooks/useMessageParser.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { Message } from 'ai';
2import { useCallback, useState } from 'react';
3import { StreamingMessageParser } from '~/lib/runtime/message-parser';
4import { workbenchStore } from '~/lib/stores/workbench';

Callers

nothing calls this directly

Calls 5

createScopedLoggerFunction · 0.90
addArtifactMethod · 0.80
updateArtifactMethod · 0.80
addActionMethod · 0.45
runActionMethod · 0.45

Tested by

no test coverage detected