@livx.cc/agentx 0.99.111 → 0.99.112

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -22600,10 +22600,14 @@ async function channelServe(args, ai, cfg) {
22600
22600
  sendTurn: (text, o) => out({ type: "turn", id: o.id, text, ...o.replaces ? { replaces: o.replaces } : {} }),
22601
22601
  abortTurn: (id) => out({ type: "abort", id }),
22602
22602
  onMetric: (m) => {
22603
- if (m.name === "first_sound" || m.name === "first_word" || m.name === "drop" || m.name === "hold") out({ type: "metric", ...m });
22603
+ if (m.name !== "lang") out({ type: "metric", ...m });
22604
22604
  }
22605
+ // (turn + fill too: the host's log shows which turns formed and which fill lines played)
22606
+ });
22607
+ const overlap2 = overlapResponder(ai, args.channelMode, (o) => {
22608
+ if (o.verdict === "cut") call.barge();
22609
+ out(o);
22605
22610
  });
22606
- const overlap2 = overlapResponder(ai, args.channelMode, out);
22607
22611
  out({ type: "ready", model, channelMode: args.channelMode, softBarge: softBarge(args.channelMode), call: true, ...notes.length ? { notes } : {} });
22608
22612
  const rl = createInterface({ input: process.stdin });
22609
22613
  rl.on("line", (line) => {