@mobilerun/sdk 2.2.0 → 3.0.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.
Files changed (247) hide show
  1. package/CHANGELOG.md +243 -0
  2. package/README.md +44 -0
  3. package/client.d.mts +32 -3
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +32 -3
  6. package/client.d.ts.map +1 -1
  7. package/client.js +29 -7
  8. package/client.js.map +1 -1
  9. package/client.mjs +29 -7
  10. package/client.mjs.map +1 -1
  11. package/internal/tslib.js +6 -6
  12. package/internal/utils/query.d.mts +2 -0
  13. package/internal/utils/query.d.mts.map +1 -0
  14. package/internal/utils/query.d.ts +2 -0
  15. package/internal/utils/query.d.ts.map +1 -0
  16. package/internal/utils/query.js +10 -0
  17. package/internal/utils/query.js.map +1 -0
  18. package/internal/utils/query.mjs +6 -0
  19. package/internal/utils/query.mjs.map +1 -0
  20. package/internal/utils.d.mts +1 -0
  21. package/internal/utils.d.ts +1 -0
  22. package/internal/utils.js +1 -0
  23. package/internal/utils.js.map +1 -1
  24. package/internal/utils.mjs +1 -0
  25. package/package.json +7 -1
  26. package/resources/agents.d.mts +29 -0
  27. package/resources/agents.d.mts.map +1 -0
  28. package/resources/agents.d.ts +29 -0
  29. package/resources/agents.d.ts.map +1 -0
  30. package/resources/agents.js +18 -0
  31. package/resources/agents.js.map +1 -0
  32. package/resources/agents.mjs +14 -0
  33. package/resources/agents.mjs.map +1 -0
  34. package/resources/apps.d.mts +10 -12
  35. package/resources/apps.d.mts.map +1 -1
  36. package/resources/apps.d.ts +10 -12
  37. package/resources/apps.d.ts.map +1 -1
  38. package/resources/apps.js.map +1 -1
  39. package/resources/apps.mjs.map +1 -1
  40. package/resources/carriers.d.mts +233 -0
  41. package/resources/carriers.d.mts.map +1 -0
  42. package/resources/carriers.d.ts +233 -0
  43. package/resources/carriers.d.ts.map +1 -0
  44. package/resources/carriers.js +46 -0
  45. package/resources/carriers.js.map +1 -0
  46. package/resources/carriers.mjs +42 -0
  47. package/resources/carriers.mjs.map +1 -0
  48. package/resources/credentials/credentials.d.mts +4 -13
  49. package/resources/credentials/credentials.d.mts.map +1 -1
  50. package/resources/credentials/credentials.d.ts +4 -13
  51. package/resources/credentials/credentials.d.ts.map +1 -1
  52. package/resources/credentials/credentials.js.map +1 -1
  53. package/resources/credentials/credentials.mjs.map +1 -1
  54. package/resources/devices/actions.d.mts +37 -1
  55. package/resources/devices/actions.d.mts.map +1 -1
  56. package/resources/devices/actions.d.ts +37 -1
  57. package/resources/devices/actions.d.ts.map +1 -1
  58. package/resources/devices/actions.js +36 -0
  59. package/resources/devices/actions.js.map +1 -1
  60. package/resources/devices/actions.mjs +36 -0
  61. package/resources/devices/actions.mjs.map +1 -1
  62. package/resources/devices/apps.d.mts +4 -0
  63. package/resources/devices/apps.d.mts.map +1 -1
  64. package/resources/devices/apps.d.ts +4 -0
  65. package/resources/devices/apps.d.ts.map +1 -1
  66. package/resources/devices/devices.d.mts +40 -38
  67. package/resources/devices/devices.d.mts.map +1 -1
  68. package/resources/devices/devices.d.ts +40 -38
  69. package/resources/devices/devices.d.ts.map +1 -1
  70. package/resources/devices/devices.js +22 -2
  71. package/resources/devices/devices.js.map +1 -1
  72. package/resources/devices/devices.mjs +23 -3
  73. package/resources/devices/devices.mjs.map +1 -1
  74. package/resources/devices/files.d.mts +108 -0
  75. package/resources/devices/files.d.mts.map +1 -0
  76. package/resources/devices/files.d.ts +108 -0
  77. package/resources/devices/files.d.ts.map +1 -0
  78. package/resources/devices/files.js +87 -0
  79. package/resources/devices/files.js.map +1 -0
  80. package/resources/devices/files.mjs +83 -0
  81. package/resources/devices/files.mjs.map +1 -0
  82. package/resources/devices/index.d.mts +7 -2
  83. package/resources/devices/index.d.mts.map +1 -1
  84. package/resources/devices/index.d.ts +7 -2
  85. package/resources/devices/index.d.ts.map +1 -1
  86. package/resources/devices/index.js +11 -1
  87. package/resources/devices/index.js.map +1 -1
  88. package/resources/devices/index.mjs +6 -1
  89. package/resources/devices/index.mjs.map +1 -1
  90. package/resources/devices/keyboard.d.mts +10 -2
  91. package/resources/devices/keyboard.d.mts.map +1 -1
  92. package/resources/devices/keyboard.d.ts +10 -2
  93. package/resources/devices/keyboard.d.ts.map +1 -1
  94. package/resources/devices/location.d.mts +42 -0
  95. package/resources/devices/location.d.mts.map +1 -0
  96. package/resources/devices/location.d.ts +42 -0
  97. package/resources/devices/location.d.ts.map +1 -0
  98. package/resources/devices/location.js +47 -0
  99. package/resources/devices/location.js.map +1 -0
  100. package/resources/devices/location.mjs +43 -0
  101. package/resources/devices/location.mjs.map +1 -0
  102. package/resources/devices/packages.d.mts +4 -0
  103. package/resources/devices/packages.d.mts.map +1 -1
  104. package/resources/devices/packages.d.ts +4 -0
  105. package/resources/devices/packages.d.ts.map +1 -1
  106. package/resources/devices/profile.d.mts +23 -0
  107. package/resources/devices/profile.d.mts.map +1 -0
  108. package/resources/devices/profile.d.ts +23 -0
  109. package/resources/devices/profile.d.ts.map +1 -0
  110. package/resources/devices/profile.js +30 -0
  111. package/resources/devices/profile.js.map +1 -0
  112. package/resources/devices/profile.mjs +26 -0
  113. package/resources/devices/profile.mjs.map +1 -0
  114. package/resources/devices/proxy.d.mts +61 -0
  115. package/resources/devices/proxy.d.mts.map +1 -0
  116. package/resources/devices/proxy.d.ts +61 -0
  117. package/resources/devices/proxy.d.ts.map +1 -0
  118. package/resources/devices/proxy.js +48 -0
  119. package/resources/devices/proxy.js.map +1 -0
  120. package/resources/devices/proxy.mjs +44 -0
  121. package/resources/devices/proxy.mjs.map +1 -0
  122. package/resources/devices/state.d.mts +8 -19
  123. package/resources/devices/state.d.mts.map +1 -1
  124. package/resources/devices/state.d.ts +8 -19
  125. package/resources/devices/state.d.ts.map +1 -1
  126. package/resources/devices/state.js +0 -17
  127. package/resources/devices/state.js.map +1 -1
  128. package/resources/devices/state.mjs +0 -17
  129. package/resources/devices/state.mjs.map +1 -1
  130. package/resources/devices/tasks.d.mts +2 -9
  131. package/resources/devices/tasks.d.mts.map +1 -1
  132. package/resources/devices/tasks.d.ts +2 -9
  133. package/resources/devices/tasks.d.ts.map +1 -1
  134. package/resources/devices/tasks.js.map +1 -1
  135. package/resources/devices/tasks.mjs.map +1 -1
  136. package/resources/devices/time.d.mts +59 -0
  137. package/resources/devices/time.d.mts.map +1 -0
  138. package/resources/devices/time.d.ts +59 -0
  139. package/resources/devices/time.d.ts.map +1 -0
  140. package/resources/devices/time.js +83 -0
  141. package/resources/devices/time.js.map +1 -0
  142. package/resources/devices/time.mjs +79 -0
  143. package/resources/devices/time.mjs.map +1 -0
  144. package/resources/hooks.d.mts +5 -30
  145. package/resources/hooks.d.mts.map +1 -1
  146. package/resources/hooks.d.ts +5 -30
  147. package/resources/hooks.d.ts.map +1 -1
  148. package/resources/hooks.js +3 -0
  149. package/resources/hooks.js.map +1 -1
  150. package/resources/hooks.mjs +3 -0
  151. package/resources/hooks.mjs.map +1 -1
  152. package/resources/index.d.mts +6 -1
  153. package/resources/index.d.mts.map +1 -1
  154. package/resources/index.d.ts +6 -1
  155. package/resources/index.d.ts.map +1 -1
  156. package/resources/index.js +11 -1
  157. package/resources/index.js.map +1 -1
  158. package/resources/index.mjs +5 -0
  159. package/resources/index.mjs.map +1 -1
  160. package/resources/profiles.d.mts +84 -0
  161. package/resources/profiles.d.mts.map +1 -0
  162. package/resources/profiles.d.ts +84 -0
  163. package/resources/profiles.d.ts.map +1 -0
  164. package/resources/profiles.js +40 -0
  165. package/resources/profiles.js.map +1 -0
  166. package/resources/profiles.mjs +36 -0
  167. package/resources/profiles.mjs.map +1 -0
  168. package/resources/proxies.d.mts +72 -0
  169. package/resources/proxies.d.mts.map +1 -0
  170. package/resources/proxies.d.ts +72 -0
  171. package/resources/proxies.d.ts.map +1 -0
  172. package/resources/proxies.js +40 -0
  173. package/resources/proxies.js.map +1 -0
  174. package/resources/proxies.mjs +36 -0
  175. package/resources/proxies.mjs.map +1 -0
  176. package/resources/shared.d.mts +95 -0
  177. package/resources/shared.d.mts.map +1 -0
  178. package/resources/shared.d.ts +95 -0
  179. package/resources/shared.d.ts.map +1 -0
  180. package/resources/shared.js +4 -0
  181. package/resources/shared.js.map +1 -0
  182. package/resources/shared.mjs +3 -0
  183. package/resources/shared.mjs.map +1 -0
  184. package/resources/tasks/index.d.mts +1 -1
  185. package/resources/tasks/index.d.mts.map +1 -1
  186. package/resources/tasks/index.d.ts +1 -1
  187. package/resources/tasks/index.d.ts.map +1 -1
  188. package/resources/tasks/index.js.map +1 -1
  189. package/resources/tasks/index.mjs.map +1 -1
  190. package/resources/tasks/screenshots.d.mts +3 -0
  191. package/resources/tasks/screenshots.d.mts.map +1 -1
  192. package/resources/tasks/screenshots.d.ts +3 -0
  193. package/resources/tasks/screenshots.d.ts.map +1 -1
  194. package/resources/tasks/screenshots.js +3 -0
  195. package/resources/tasks/screenshots.js.map +1 -1
  196. package/resources/tasks/screenshots.mjs +3 -0
  197. package/resources/tasks/screenshots.mjs.map +1 -1
  198. package/resources/tasks/tasks.d.mts +89 -59
  199. package/resources/tasks/tasks.d.mts.map +1 -1
  200. package/resources/tasks/tasks.d.ts +89 -59
  201. package/resources/tasks/tasks.d.ts.map +1 -1
  202. package/resources/tasks/tasks.js +11 -5
  203. package/resources/tasks/tasks.js.map +1 -1
  204. package/resources/tasks/tasks.mjs +11 -5
  205. package/resources/tasks/tasks.mjs.map +1 -1
  206. package/resources/tasks/ui-states.d.mts +3 -0
  207. package/resources/tasks/ui-states.d.mts.map +1 -1
  208. package/resources/tasks/ui-states.d.ts +3 -0
  209. package/resources/tasks/ui-states.d.ts.map +1 -1
  210. package/resources/tasks/ui-states.js +3 -0
  211. package/resources/tasks/ui-states.js.map +1 -1
  212. package/resources/tasks/ui-states.mjs +3 -0
  213. package/resources/tasks/ui-states.mjs.map +1 -1
  214. package/src/client.ts +109 -10
  215. package/src/internal/utils/query.ts +7 -0
  216. package/src/internal/utils.ts +1 -0
  217. package/src/resources/agents.ts +43 -0
  218. package/src/resources/apps.ts +11 -19
  219. package/src/resources/carriers.ts +327 -0
  220. package/src/resources/credentials/credentials.ts +4 -19
  221. package/src/resources/devices/actions.ts +84 -0
  222. package/src/resources/devices/apps.ts +5 -0
  223. package/src/resources/devices/devices.ts +107 -61
  224. package/src/resources/devices/files.ts +221 -0
  225. package/src/resources/devices/index.ts +37 -3
  226. package/src/resources/devices/keyboard.ts +12 -2
  227. package/src/resources/devices/location.ts +91 -0
  228. package/src/resources/devices/packages.ts +5 -0
  229. package/src/resources/devices/profile.ts +45 -0
  230. package/src/resources/devices/proxy.ts +115 -0
  231. package/src/resources/devices/state.ts +10 -44
  232. package/src/resources/devices/tasks.ts +2 -15
  233. package/src/resources/devices/time.ts +147 -0
  234. package/src/resources/hooks.ts +5 -36
  235. package/src/resources/index.ts +35 -0
  236. package/src/resources/profiles.ts +133 -0
  237. package/src/resources/proxies.ts +130 -0
  238. package/src/resources/shared.ts +149 -0
  239. package/src/resources/tasks/index.ts +3 -0
  240. package/src/resources/tasks/screenshots.ts +3 -0
  241. package/src/resources/tasks/tasks.ts +112 -67
  242. package/src/resources/tasks/ui-states.ts +3 -0
  243. package/src/version.ts +1 -1
  244. package/version.d.mts +1 -1
  245. package/version.d.ts +1 -1
  246. package/version.js +1 -1
  247. package/version.mjs +1 -1
@@ -2,6 +2,7 @@
2
2
 
3
3
  import { APIResource } from '../../core/resource';
4
4
  import * as TasksAPI from './tasks';
5
+ import * as Shared from '../shared';
5
6
  import * as ScreenshotsAPI from './screenshots';
6
7
  import { MediaResponse, ScreenshotListResponse, ScreenshotRetrieveParams, Screenshots } from './screenshots';
7
8
  import * as UiStatesAPI from './ui-states';
@@ -11,6 +12,9 @@ import { buildHeaders } from '../../internal/headers';
11
12
  import { RequestOptions } from '../../internal/request-options';
12
13
  import { path } from '../../internal/utils/path';
13
14
 
15
+ /**
16
+ * Tasks API
17
+ */
14
18
  export class Tasks extends APIResource {
15
19
  screenshots: ScreenshotsAPI.Screenshots = new ScreenshotsAPI.Screenshots(this._client);
16
20
  uiStates: UiStatesAPI.UiStates = new UiStatesAPI.UiStates(this._client);
@@ -68,12 +72,20 @@ export class Tasks extends APIResource {
68
72
  * Create and dispatch a new agent task, returning an SSE stream of task events.
69
73
  * Cancels the task if the client disconnects.
70
74
  */
71
- runStreamed(body: TaskRunStreamedParams, options?: RequestOptions): APIPromise<void> {
72
- return this._client.post('/tasks/stream', {
73
- body,
74
- ...options,
75
- headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
76
- });
75
+ runStreamed(body: TaskRunStreamedParams, options?: RequestOptions): APIPromise<unknown> {
76
+ return this._client.post('/tasks/stream', { body, ...options });
77
+ }
78
+
79
+ /**
80
+ * Send a message to a running agent task. The message ID is delivered via SSE
81
+ * (UserMessageEvent with action=queued).
82
+ */
83
+ sendMessage(
84
+ taskID: string,
85
+ body: TaskSendMessageParams,
86
+ options?: RequestOptions,
87
+ ): APIPromise<TaskSendMessageResponse> {
88
+ return this._client.post(path`/tasks/${taskID}/message`, { body, ...options });
77
89
  }
78
90
 
79
91
  /**
@@ -105,6 +117,8 @@ export interface Task {
105
117
 
106
118
  id?: string;
107
119
 
120
+ agentId?: number;
121
+
108
122
  apps?: Array<string>;
109
123
 
110
124
  createdAt?: string;
@@ -121,6 +135,8 @@ export interface Task {
121
135
 
122
136
  maxSteps?: number;
123
137
 
138
+ message?: string | null;
139
+
124
140
  output?: { [key: string]: unknown } | null;
125
141
 
126
142
  outputSchema?: { [key: string]: unknown } | null;
@@ -176,51 +192,39 @@ export interface TaskListResponse {
176
192
  /**
177
193
  * Pagination metadata
178
194
  */
179
- pagination: TaskListResponse.Pagination;
195
+ pagination: Shared.PaginationMeta;
180
196
  }
181
197
 
182
- export namespace TaskListResponse {
198
+ export interface TaskGetStatusResponse {
183
199
  /**
184
- * Pagination metadata
200
+ * The status of the task
185
201
  */
186
- export interface Pagination {
187
- /**
188
- * Whether there is a next page
189
- */
190
- hasNext: boolean;
191
-
192
- /**
193
- * Whether there is a previous page
194
- */
195
- hasPrev: boolean;
202
+ status: TaskStatus;
196
203
 
197
- /**
198
- * Current page number (1-based)
199
- */
200
- page: number;
204
+ /**
205
+ * The last agent response (FastAgentResponseEvent or ManagerPlanEvent)
206
+ */
207
+ lastResponse?: { [key: string]: unknown } | null;
201
208
 
202
- /**
203
- * Total number of pages
204
- */
205
- pages: number;
209
+ /**
210
+ * The agent's final answer or failure reason
211
+ */
212
+ message?: string | null;
206
213
 
207
- /**
208
- * Number of items per page
209
- */
210
- pageSize: number;
214
+ /**
215
+ * Structured output if outputSchema was set
216
+ */
217
+ output?: { [key: string]: unknown } | null;
211
218
 
212
- /**
213
- * Total number of items
214
- */
215
- total: number;
216
- }
217
- }
219
+ /**
220
+ * Number of steps taken
221
+ */
222
+ steps?: number | null;
218
223
 
219
- export interface TaskGetStatusResponse {
220
224
  /**
221
- * The status of the task
225
+ * Whether the task succeeded
222
226
  */
223
- status: TaskStatus;
227
+ succeeded?: boolean | null;
224
228
  }
225
229
 
226
230
  export interface TaskGetTrajectoryResponse {
@@ -256,6 +260,7 @@ export interface TaskGetTrajectoryResponse {
256
260
  | TaskGetTrajectoryResponse.TrajectoryExecutorResponseEvent
257
261
  | TaskGetTrajectoryResponse.TrajectoryExecutorActionEvent
258
262
  | TaskGetTrajectoryResponse.TrajectoryExecutorActionResultEvent
263
+ | TaskGetTrajectoryResponse.TrajectoryUserMessageEvent
259
264
  | TaskGetTrajectoryResponse.TrajectoryUnknownEvent
260
265
  >;
261
266
  }
@@ -271,8 +276,6 @@ export namespace TaskGetTrajectoryResponse {
271
276
  export interface Data {
272
277
  id: string;
273
278
 
274
- token: string;
275
-
276
279
  streamUrl: string;
277
280
  }
278
281
  }
@@ -390,6 +393,8 @@ export namespace TaskGetTrajectoryResponse {
390
393
  * API OpenAPI schema can reference it without the heavy droidrun import.
391
394
  */
392
395
  export interface Data {
396
+ message?: string | null;
397
+
393
398
  steps?: number | null;
394
399
 
395
400
  structured_output?: { [key: string]: unknown } | null;
@@ -787,6 +792,32 @@ export namespace TaskGetTrajectoryResponse {
787
792
  }
788
793
  }
789
794
 
795
+ export interface TrajectoryUserMessageEvent {
796
+ /**
797
+ * Tracks the lifecycle of an external user message: queued → applied | dropped.
798
+ */
799
+ data: TrajectoryUserMessageEvent.Data;
800
+
801
+ event: 'UserMessageEvent';
802
+ }
803
+
804
+ export namespace TrajectoryUserMessageEvent {
805
+ /**
806
+ * Tracks the lifecycle of an external user message: queued → applied | dropped.
807
+ */
808
+ export interface Data {
809
+ action: string;
810
+
811
+ message_ids: Array<string>;
812
+
813
+ consumer?: string | null;
814
+
815
+ reason?: string | null;
816
+
817
+ step_number?: number | null;
818
+ }
819
+ }
820
+
790
821
  export interface TrajectoryUnknownEvent {
791
822
  event: string;
792
823
 
@@ -801,14 +832,18 @@ export interface TaskRunResponse {
801
832
  id: string;
802
833
 
803
834
  /**
804
- * The token of the stream
835
+ * The URL of the stream
805
836
  */
806
- token: string;
837
+ streamUrl: string;
838
+ }
839
+
840
+ export type TaskRunStreamedResponse = unknown;
807
841
 
842
+ export interface TaskSendMessageResponse {
808
843
  /**
809
- * The URL of the stream
844
+ * Whether the message was queued for delivery
810
845
  */
811
- streamUrl: string;
846
+ sent: boolean;
812
847
  }
813
848
 
814
849
  export interface TaskStopResponse {
@@ -823,14 +858,8 @@ export interface TaskListParams {
823
858
 
824
859
  orderByDirection?: 'asc' | 'desc';
825
860
 
826
- /**
827
- * Page number (1-based). If provided, returns paginated results.
828
- */
829
- page?: number | null;
861
+ page?: number;
830
862
 
831
- /**
832
- * Number of items per page
833
- */
834
863
  pageSize?: number;
835
864
 
836
865
  /**
@@ -843,21 +872,18 @@ export interface TaskListParams {
843
872
 
844
873
  export interface TaskRunParams {
845
874
  /**
846
- * The LLM model identifier to use for the task (e.g. 'gemini/gemini-2.5-flash')
875
+ * The ID of the device to run the task on.
847
876
  */
848
- llmModel: string;
877
+ deviceId: string;
849
878
 
850
879
  task: string;
851
880
 
881
+ agentId?: number;
882
+
852
883
  apps?: Array<string>;
853
884
 
854
885
  credentials?: Array<PackageCredentials>;
855
886
 
856
- /**
857
- * The ID of the device to run the task on.
858
- */
859
- deviceId?: string | null;
860
-
861
887
  /**
862
888
  * The display ID of the device to run the task on.
863
889
  */
@@ -867,6 +893,12 @@ export interface TaskRunParams {
867
893
 
868
894
  files?: Array<string>;
869
895
 
896
+ /**
897
+ * The LLM model identifier to use for the task (e.g.
898
+ * 'google/gemini-3.1-flash-lite-preview')
899
+ */
900
+ llmModel?: string;
901
+
870
902
  maxSteps?: number;
871
903
 
872
904
  outputSchema?: { [key: string]: unknown } | null;
@@ -884,21 +916,18 @@ export interface TaskRunParams {
884
916
 
885
917
  export interface TaskRunStreamedParams {
886
918
  /**
887
- * The LLM model identifier to use for the task (e.g. 'gemini/gemini-2.5-flash')
919
+ * The ID of the device to run the task on.
888
920
  */
889
- llmModel: string;
921
+ deviceId: string;
890
922
 
891
923
  task: string;
892
924
 
925
+ agentId?: number;
926
+
893
927
  apps?: Array<string>;
894
928
 
895
929
  credentials?: Array<PackageCredentials>;
896
930
 
897
- /**
898
- * The ID of the device to run the task on.
899
- */
900
- deviceId?: string | null;
901
-
902
931
  /**
903
932
  * The display ID of the device to run the task on.
904
933
  */
@@ -908,6 +937,12 @@ export interface TaskRunStreamedParams {
908
937
 
909
938
  files?: Array<string>;
910
939
 
940
+ /**
941
+ * The LLM model identifier to use for the task (e.g.
942
+ * 'google/gemini-3.1-flash-lite-preview')
943
+ */
944
+ llmModel?: string;
945
+
911
946
  maxSteps?: number;
912
947
 
913
948
  outputSchema?: { [key: string]: unknown } | null;
@@ -923,6 +958,13 @@ export interface TaskRunStreamedParams {
923
958
  vpnCountry?: 'US' | 'BR' | 'FR' | 'DE' | 'IN' | 'JP' | 'KR' | 'ZA' | null;
924
959
  }
925
960
 
961
+ export interface TaskSendMessageParams {
962
+ /**
963
+ * Message to send to the running agent
964
+ */
965
+ message: string;
966
+ }
967
+
926
968
  Tasks.Screenshots = Screenshots;
927
969
  Tasks.UiStates = UiStates;
928
970
 
@@ -937,10 +979,13 @@ export declare namespace Tasks {
937
979
  type TaskGetStatusResponse as TaskGetStatusResponse,
938
980
  type TaskGetTrajectoryResponse as TaskGetTrajectoryResponse,
939
981
  type TaskRunResponse as TaskRunResponse,
982
+ type TaskRunStreamedResponse as TaskRunStreamedResponse,
983
+ type TaskSendMessageResponse as TaskSendMessageResponse,
940
984
  type TaskStopResponse as TaskStopResponse,
941
985
  type TaskListParams as TaskListParams,
942
986
  type TaskRunParams as TaskRunParams,
943
987
  type TaskRunStreamedParams as TaskRunStreamedParams,
988
+ type TaskSendMessageParams as TaskSendMessageParams,
944
989
  };
945
990
 
946
991
  export {
@@ -6,6 +6,9 @@ import { APIPromise } from '../../core/api-promise';
6
6
  import { RequestOptions } from '../../internal/request-options';
7
7
  import { path } from '../../internal/utils/path';
8
8
 
9
+ /**
10
+ * Tasks API
11
+ */
9
12
  export class UiStates extends APIResource {
10
13
  /**
11
14
  * Get a specific UI state by index.
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '2.2.0'; // x-release-please-version
1
+ export const VERSION = '3.0.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.2.0";
1
+ export declare const VERSION = "3.0.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.2.0";
1
+ export declare const VERSION = "3.0.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '2.2.0'; // x-release-please-version
4
+ exports.VERSION = '3.0.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '2.2.0'; // x-release-please-version
1
+ export const VERSION = '3.0.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map