@butlerbot/sdk 0.0.10-alpha.2 → 0.0.10

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.
@@ -170,11 +170,12 @@ export type ToolPayload = {
170
170
  status: ToolStatus;
171
171
  };
172
172
  export type ConvoStatusPayload = {
173
- /** Whether the entire AI convo has been disabled, a disabled convo cannot be restarted */
174
- disabled?: boolean;
175
- /** Whether the AI convo has been stopped, a stopped convo can be restarted
176
- * although just because it's not stopped does not necasserily mean it's an ongoing conversation */
177
- stopped?: boolean;
173
+ /** The state of the conversation.
174
+ * - `disabled`: The conversation has been permanently disabled and cannot be restarted.
175
+ * - `stopped`: The conversation has been stopped but can be restarted.
176
+ * - `started`: The conversation has been started/restarted.
177
+ */
178
+ state?: "disabled" | "stopped" | "started";
178
179
  /** Short summary generated for this conversation */
179
180
  shortSummary?: string;
180
181
  };
@@ -20,4 +20,4 @@ export type AIFileResponseV4 = FileEvent;
20
20
  export type AIResponseStatusResponseV4 = ResponseStatusEvent;
21
21
  export type AIConvoStatusResponseV4 = ConvoStatusEvent;
22
22
  export type AIToolResponseV4 = ToolEvent;
23
- export type AIResponseV4 = AIMessageResponseV4 | AIToolResponseV4 | AIConvoStatusResponseV4 | AIResponseStatusResponseV4 | AIFileResponseV4 | AIReasoningResponseV4;
23
+ export type AIResponseV4 = AIMessageResponseV4 | AIToolResponseV4 | AIConvoStatusResponseV4 | AIResponseStatusResponseV4 | AIFileResponseV4 | AIReasoningResponseV4 | UserMessageResponseV4;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@butlerbot/sdk",
3
- "version": "0.0.10-alpha.2",
3
+ "version": "0.0.10",
4
4
  "description": "The official ButlerBot SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",