@livx.cc/agentx 0.99.152 → 0.99.153

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.
@@ -1089,6 +1089,11 @@ interface ChannelContext {
1089
1089
  react?: boolean;
1090
1090
  /** A live bridge: name what they asked for, or answer `none` when no wait is coming. */
1091
1091
  ask?: boolean;
1092
+ /** live bridge: the last words the user HEARD the assistant say before this turn (a barge's cut point), so a "that"
1093
+ * can be echoed back as the thing it points at ("the OpenAI one?"). */
1094
+ said?: string;
1095
+ /** `said` ends where the user cut the assistant off. */
1096
+ cut?: boolean;
1092
1097
  /** The line may carry sound tags ([laughter], [gasp], [quiet]): `live` only. */
1093
1098
  tags?: boolean;
1094
1099
  }
@@ -1257,6 +1262,7 @@ declare class SecondChannel {
1257
1262
  private noLine;
1258
1263
  private askLeaf;
1259
1264
  private barged;
1265
+ private said;
1260
1266
  private leafReady;
1261
1267
  private recent;
1262
1268
  private picks;
@@ -1313,7 +1319,7 @@ declare class SecondChannel {
1313
1319
  * hacker news." while the gate held the turn, and spaced the request's own line to 1.5s. */
1314
1320
  onLineEnd(): void;
1315
1321
  /** The user's final line was dispatched to the main agent (its words are the bridge's micro-context). */
1316
- onUserTurn(text: string, lastWordAgoMs?: number): void;
1322
+ onUserTurn(text: string, lastWordAgoMs?: number, heardCut?: string): void;
1317
1323
  /** The main answer's streamed text (before its audio): channel-1 is responding — no bridge from here on. */
1318
1324
  onMainTokens(text: string): void;
1319
1325
  /** Channel-1's reply text (a delta) — only the plan's context; no state change (hosts without onMainTokens). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livx.cc/agentx",
3
- "version": "0.99.152",
3
+ "version": "0.99.153",
4
4
  "description": "Edge-native AI agent runtime — drives a virtual filesystem via any LLM (ai.libx.js). Same bytes run in node, browser, or edge.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",