- before: https://github.com/CorrectRoadH/niceeval/tree/main/examples/zh/origin/claude-sdk — a standalone
@anthropic-ai/claude-agent-sdkHTTP service, before any eval integration. - after: https://github.com/CorrectRoadH/niceeval/tree/main/examples/zh/tier1/claude-sdk — the same app after integrating NiceEval.
SDKMessage events into standard events is handled by createClaudeSdkEventStream (exported from "niceeval/adapter"). The adapter only keeps transport glue and HITL stop-turn detection (calculate is gated through the official canUseTool callback). You start the app yourself in its normal way (pnpm start); evals do not manage the process. App-side src/backend/* files are byte-for-byte unchanged.
All integration code changes (measured from both directories when generated):