@kortyx/react 0.3.1 → 0.3.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @kortyx/react
2
2
 
3
+ ## [0.3.2](https://github.com/kortyx-io/kortyx/compare/react-v0.3.1...react-v0.3.2) (2026-05-25)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * The following workspace dependencies were updated
9
+ * dependencies
10
+ * @kortyx/stream bumped to 0.8.0
11
+
3
12
  ## [0.3.1](https://github.com/kortyx-io/kortyx/compare/react-v0.3.0...react-v0.3.1) (2026-05-22)
4
13
 
5
14
 
package/dist/index.d.ts CHANGED
@@ -255,6 +255,32 @@ declare function useChatStreamDebug(): {
255
255
  content: unknown;
256
256
  tool?: string;
257
257
  node?: string;
258
+ } | {
259
+ type: "tool-call-start";
260
+ tool: string;
261
+ toolCallId: string;
262
+ node?: string;
263
+ id?: string;
264
+ opId?: string;
265
+ input?: unknown;
266
+ } | {
267
+ type: "tool-call-result";
268
+ tool: string;
269
+ toolCallId: string;
270
+ content: unknown;
271
+ node?: string;
272
+ id?: string;
273
+ opId?: string;
274
+ structuredContent?: unknown;
275
+ isError?: boolean;
276
+ } | {
277
+ type: "tool-call-error";
278
+ tool: string;
279
+ toolCallId: string;
280
+ message: string;
281
+ node?: string;
282
+ id?: string;
283
+ opId?: string;
258
284
  } | {
259
285
  type: "interrupt";
260
286
  requestId: string;
@@ -381,6 +407,32 @@ declare function useChatStreamDebug(): {
381
407
  content: unknown;
382
408
  tool?: string;
383
409
  node?: string;
410
+ } | {
411
+ type: "tool-call-start";
412
+ tool: string;
413
+ toolCallId: string;
414
+ node?: string;
415
+ id?: string;
416
+ opId?: string;
417
+ input?: unknown;
418
+ } | {
419
+ type: "tool-call-result";
420
+ tool: string;
421
+ toolCallId: string;
422
+ content: unknown;
423
+ node?: string;
424
+ id?: string;
425
+ opId?: string;
426
+ structuredContent?: unknown;
427
+ isError?: boolean;
428
+ } | {
429
+ type: "tool-call-error";
430
+ tool: string;
431
+ toolCallId: string;
432
+ message: string;
433
+ node?: string;
434
+ id?: string;
435
+ opId?: string;
384
436
  } | {
385
437
  type: "interrupt";
386
438
  requestId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kortyx/react",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "private": false,
5
5
  "description": "React hooks for Kortyx client streaming experiences.",
6
6
  "keywords": [
@@ -32,7 +32,7 @@
32
32
  "CHANGELOG.md"
33
33
  ],
34
34
  "dependencies": {
35
- "@kortyx/stream": "0.7.0"
35
+ "@kortyx/stream": "0.8.0"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "react": ">=19"