@dudousxd/nestjs-agent-react 0.14.0 → 0.15.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.
@@ -189,7 +189,11 @@ declare function groupToolActivity(calls: readonly TranscriptToolCall[], options
189
189
 
190
190
  /** A tool UI part on a `UIMessage` — a static `tool-*` part or the `dynamic-tool` part. */
191
191
  type AnyToolUIPart = ToolUIPart | DynamicToolUIPart;
192
- type ChatStatus = 'ready' | 'submitted' | 'streaming' | 'error';
192
+ /**
193
+ * The AI SDK's chat status, plus `reconnecting`: a turn is in flight and its stream dropped, and the
194
+ * transport is re-attaching (`useAgentChat`). A busy status, like `streaming`.
195
+ */
196
+ type ChatStatus = 'ready' | 'submitted' | 'streaming' | 'reconnecting' | 'error';
193
197
  /** Server-aggregated usage for an assistant turn. */
194
198
  interface MessageUsageInfo {
195
199
  inputTokens: number;
@@ -189,7 +189,11 @@ declare function groupToolActivity(calls: readonly TranscriptToolCall[], options
189
189
 
190
190
  /** A tool UI part on a `UIMessage` — a static `tool-*` part or the `dynamic-tool` part. */
191
191
  type AnyToolUIPart = ToolUIPart | DynamicToolUIPart;
192
- type ChatStatus = 'ready' | 'submitted' | 'streaming' | 'error';
192
+ /**
193
+ * The AI SDK's chat status, plus `reconnecting`: a turn is in flight and its stream dropped, and the
194
+ * transport is re-attaching (`useAgentChat`). A busy status, like `streaming`.
195
+ */
196
+ type ChatStatus = 'ready' | 'submitted' | 'streaming' | 'reconnecting' | 'error';
193
197
  /** Server-aggregated usage for an assistant turn. */
194
198
  interface MessageUsageInfo {
195
199
  inputTokens: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dudousxd/nestjs-agent-react",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/DavideCarvalho/nestjs-agent.git",
@@ -73,7 +73,7 @@
73
73
  "dist"
74
74
  ],
75
75
  "dependencies": {
76
- "@dudousxd/nestjs-agent-core": "0.22.0"
76
+ "@dudousxd/nestjs-agent-core": "0.23.0"
77
77
  },
78
78
  "peerDependencies": {
79
79
  "@ai-sdk/react": "^4.0.0",