@neta-art/cohub-protocol 1.3.0 → 1.4.0

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.
@@ -5,6 +5,8 @@ export type SessionTurnIntent = "steer" | "followup";
5
5
  export type SessionTurnSummary = {
6
6
  text?: string | null;
7
7
  finishReason?: "completed" | "failed" | "interrupted";
8
+ reason?: "steer" | "abort" | string;
9
+ continuedByTurnId?: string | null;
8
10
  interruptedByTurnId?: string | null;
9
11
  };
10
12
  export type SessionTurnIntermediateIndex = {
@@ -269,6 +269,8 @@ export type SessionRequestAcceptedEvent = {
269
269
  sessionId: string;
270
270
  payload: {
271
271
  clientMessageId?: string | null;
272
+ turnId?: string | null;
273
+ userMessageId?: string | null;
272
274
  };
273
275
  };
274
276
  export type SessionRequestErrorEvent = {
@@ -386,6 +388,7 @@ export type SessionTurnErrorEvent = {
386
388
  spaceId: string;
387
389
  sessionId: string;
388
390
  payload: {
391
+ turnId?: string | null;
389
392
  anchorUserMessageId: string | null;
390
393
  error: string;
391
394
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neta-art/cohub-protocol",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "Shared protocol definitions for the Cohub agent collaboration platform.",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,