@sealwax/qwen-ui-mock-sdk
v1.0.3
Published
Stub SDK + sample transcript fixtures for Qwen UI kit demos (not a live daemon replacement)
Readme
@sealwax/qwen-ui-mock-sdk
First-class React-level transcript fixtures for hosts that want to render
WebShellTranscript without a live Qwen daemon.
Exports
| Symbol | Purpose |
| --- | --- |
| SAMPLE_TRANSCRIPT_BLOCKS | Short user + assistant turn |
| MULTI_TURN_TRANSCRIPT_BLOCKS | User / thought / assistant + second turn |
| toDaemonTranscriptBlocks() | Clone fixtures into transcript-prop-compatible shapes |
| sampleDaemonTranscriptBlocks() | Convenience wrapper over the multi-turn set |
import { sampleDaemonTranscriptBlocks } from '@sealwax/qwen-ui-mock-sdk'
import { WebShellTranscript } from '@qwen-code/web-shell/transcript'
<WebShellTranscript blocks={sampleDaemonTranscriptBlocks() as never} theme="dark" />Does not replace @qwen-code/sdk for @qwen-code/web-shell. Demo apps may
depend on both: real sdk for types, mock-sdk for fixtures.
Playwright-scale daemon page mocks are intentionally not shipped here — those stay in web-shell e2e.
