@uxnan/shared 0.0.25-alpha.20260928 → 0.0.26-alpha.20260928

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.
@@ -138,6 +138,12 @@ export interface TurnCompletedParams {
138
138
  text: string;
139
139
  /** Token usage for this turn, when the agent reported it. */
140
140
  usage?: TurnUsage;
141
+ /**
142
+ * The turn the agent's run went on in ({@link Turn.continuedIn}): this one
143
+ * ended because a message reached the agent mid-answer, not because it was
144
+ * done. Its `turn/started` follows at once.
145
+ */
146
+ continuedIn?: string;
141
147
  }
142
148
  export interface TurnErrorParams {
143
149
  threadId: string;
@@ -108,6 +108,14 @@ export interface Turn {
108
108
  messages: Message[];
109
109
  createdAt: number;
110
110
  completedAt?: number;
111
+ /**
112
+ * The later turn this one's agent run went on in. Set when a message reached
113
+ * the agent while it was still answering here (a mid-turn delivery,
114
+ * `AgentCapabilities.steering`): this turn ends where the message arrived —
115
+ * what it holds is the answer so far, not a closing one — and everything the
116
+ * agent did after it is that turn's. Absent otherwise, and on an older bridge.
117
+ */
118
+ continuedIn?: string;
111
119
  }
112
120
  /**
113
121
  * Per-thread access (approval) mode: how much the agent may do before it must
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxnan/shared",
3
- "version": "0.0.25-alpha.20260928",
3
+ "version": "0.0.26-alpha.20260928",
4
4
  "description": "Shared JSON-RPC and E2EE contracts for the Uxnan ecosystem (bridge, relay, mobile).",
5
5
  "license": "MPL-2.0",
6
6
  "author": "Luis Donaldo Gamas Vazquez",