@usecrow/client 0.1.40 → 0.1.41

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +8 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -814,6 +814,9 @@ export declare type StreamEvent = {
814
814
  message: string;
815
815
  } | {
816
816
  type: 'done';
817
+ } | {
818
+ type: 'suggested_actions';
819
+ actions: SuggestedAction[];
817
820
  } | {
818
821
  type: 'browser_use_confirmation';
819
822
  instruction: string;
@@ -834,6 +837,11 @@ export declare type StreamEvent = {
834
837
  */
835
838
  export declare function streamResponse(response: Response, signal?: AbortSignal): AsyncGenerator<StreamEvent>;
836
839
 
840
+ export declare interface SuggestedAction {
841
+ label: string;
842
+ message: string;
843
+ }
844
+
837
845
  declare interface TextDomNode {
838
846
  type: 'TEXT_NODE';
839
847
  text: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usecrow/client",
3
- "version": "0.1.40",
3
+ "version": "0.1.41",
4
4
  "description": "Headless client for Crow AI agents - streaming, auth, tools",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",