hole-tail.ts 376 B

1234567
  1. // The tail form `return await hole<T>(...)`: the script's end is open. The site carries `tail`,
  2. // the hole feeds the sink, and — with no marker anywhere — the hole is the script's only phase.
  3. interface Verdict {
  4. pass: boolean;
  5. }
  6. const findings = await agent("审阅者").ask<string>("审阅改动");
  7. return await hole<Verdict>("评判", `审阅结果:${findings}`);