test(issue722): add CLI integration scripts for terminal vs streaming trace rows
- dev-issue-722-trace-integration.mjs: drives hwlab-cli agent trace --render web with a 4151-char final response and asserts the rendered terminal row body equals the full text without any 内容已截断 marker - dev-issue-722-streaming-integration.mjs: drives the same path with a long non-terminal streaming message and asserts the CLI preview cap still fires at 1200 chars + the ... marker, while the terminal row in the same trace keeps the full text - package.json: expose the two scripts as dev:issue-722:* for repeatable CLI verification on the v0.2 runtime Refs: pikasTech/HWLAB#722
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
"l2:smoke": "node scripts/l2-runtime-contract-smoke.mjs",
|
||||
"dev:evidence": "node scripts/dev-evidence-blocker-aggregator.mjs --pretty",
|
||||
"dev:evidence:check": "node scripts/dev-evidence-blocker-aggregator.mjs --check",
|
||||
"dev:issue-722:trace-integration": "node scripts/run-bun.mjs scripts/dev-issue-722-trace-integration.mjs",
|
||||
"dev:issue-722:streaming-integration": "node scripts/run-bun.mjs scripts/dev-issue-722-streaming-integration.mjs",
|
||||
"report:lifecycle": "node scripts/report-lifecycle.mjs",
|
||||
"dev-edge:smoke": "node scripts/dev-edge-health-smoke.mjs",
|
||||
"deploy:contract:plan": "node scripts/run-bun.mjs scripts/deploy-contract-plan.mjs --pretty",
|
||||
|
||||
Reference in New Issue
Block a user