@agents24/react 0.2.26 → 0.2.27

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/state.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { type AssistantPreviewState } from "./assistant-preview";
1
2
  import type { RuntimeEvent, ThreadSummaryEvent } from "@agents24/client";
2
3
  import { type ContextCompression, type ContextWindow } from "@agents24/client/protocol";
3
4
  import type { AgentChatRunState, ChatMessage, StoredChatThread } from "./model";
@@ -13,6 +14,7 @@ export type AgentChatBackgroundError = {
13
14
  cause: unknown;
14
15
  };
15
16
  export type AgentChatState = {
17
+ assistantPreview?: AssistantPreviewState | null;
16
18
  threads: StoredChatThread[];
17
19
  activeThreadId: string | null;
18
20
  messages: ChatMessage[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agents24/react",
3
- "version": "0.2.26",
3
+ "version": "0.2.27",
4
4
  "description": "DOM-free React state and hooks for Agents24 client applications.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -40,7 +40,7 @@
40
40
  "prepack": "pnpm run build && pnpm run check:boundaries"
41
41
  },
42
42
  "dependencies": {
43
- "@agents24/client": "0.2.21"
43
+ "@agents24/client": "0.2.22"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "react": ">=19.0.0 <20.0.0"