test(experiment): expose two-turn live refinement route
This commit is contained in:
@@ -314,9 +314,16 @@ function assertRequiredEnv(name) {
|
||||
return value;
|
||||
}
|
||||
|
||||
// ─── Main: inspect only (no live calls) ───────────────────────────────────
|
||||
// ─── Main: inspect by default, live when --live is supplied ────────────────
|
||||
|
||||
async function main() {
|
||||
if (process.argv.includes("--live")) {
|
||||
const result = await makeLiveCall();
|
||||
console.log("=== RTO.14A Live Result ===");
|
||||
console.log(JSON.stringify(result, null, 2));
|
||||
return;
|
||||
}
|
||||
|
||||
const result = await inspectApparatus();
|
||||
console.log("=== RTO.14A Apparatus Inspection ===");
|
||||
console.log(JSON.stringify(result, null, 2));
|
||||
|
||||
Reference in New Issue
Block a user