@agents24/react 0.2.27 → 0.2.28

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/model.d.ts CHANGED
@@ -200,6 +200,15 @@ export type ChatAttachmentPart = ChatPartMetadata & {
200
200
  attachment: ChatAttachment;
201
201
  };
202
202
  export type ChatPart = ChatTextPart | ChatToolPart | ChatReasoningPart | ChatModelTurnPart | ChatContextCompressionPart | ChatNodeActivityPart | ChatUiBlocksPart | ChatHitlPart | ChatErrorPart | ChatDataPart | ChatSourcePart | ChatCitationPart | ChatAttachmentPart;
203
+ /** Transient run presentation; never execution authority or model history. */
204
+ export type ChatRunActivity = {
205
+ status: "running" | "waiting" | "interrupted" | "cancelling";
206
+ capacityWait?: {
207
+ reason: string;
208
+ retryAt?: string;
209
+ deadline?: string;
210
+ };
211
+ };
203
212
  export type ChatMessage = {
204
213
  id: string;
205
214
  /** Durable timeline identity when a mounted optimistic turn keeps its display key. */
@@ -211,6 +220,7 @@ export type ChatMessage = {
211
220
  content: string;
212
221
  createdAt: Date | string;
213
222
  isFinal?: boolean;
223
+ activity?: ChatRunActivity;
214
224
  responseCompletion?: import("@agents24/client/protocol").ResponseCompletion;
215
225
  parts: ChatPart[];
216
226
  attachments?: ChatAttachment[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agents24/react",
3
- "version": "0.2.27",
3
+ "version": "0.2.28",
4
4
  "description": "DOM-free React state and hooks for Agents24 client applications.",
5
5
  "license": "MIT",
6
6
  "repository": {