agentex-sdk 0.7.4__py3-none-any.whl → 0.8.1__py3-none-any.whl

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.
@@ -13,7 +13,506 @@ class MessageListParams(TypedDict, total=False):
13
13
  """The task ID"""
14
14
 
15
15
  filters: Optional[str]
16
- """JSON-encoded filter object"""
16
+ """JSON-encoded array of TaskMessageEntityFilter objects.
17
+
18
+ Schema: {
19
+ "$defs": {
20
+ "DataContentEntityOptional": {
21
+ "properties": {
22
+ "type": {
23
+ "anyOf": [
24
+ {
25
+ "const": "data",
26
+ "type": "string"
27
+ },
28
+ {
29
+ "type": "null"
30
+ }
31
+ ],
32
+ "default": null,
33
+ "description": "The type of the message, in this case `data`.",
34
+ "title": "Type"
35
+ },
36
+ "author": {
37
+ "anyOf": [
38
+ {
39
+ "$ref":
40
+ "#/$defs/MessageAuthor"
41
+ },
42
+ {
43
+ "type": "null"
44
+ }
45
+ ],
46
+ "default": null,
47
+ "description": "The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`."
48
+ },
49
+ "style": {
50
+ "anyOf": [
51
+ {
52
+ "$ref":
53
+ "#/$defs/MessageStyle"
54
+ },
55
+ {
56
+ "type": "null"
57
+ }
58
+ ],
59
+ "default": null,
60
+ "description": "The style of the message. This is used by the client to determine how to display the message."
61
+ },
62
+ "data": {
63
+ "anyOf": [
64
+ {
65
+ "additionalProperties": true,
66
+ "type": "object"
67
+ },
68
+ {
69
+ "type": "null"
70
+ }
71
+ ],
72
+ "default": null,
73
+ "description": "The contents of the data message.",
74
+ "title": "Data"
75
+ }
76
+ },
77
+ "title": "DataContentEntityOptional",
78
+ "type": "object"
79
+ },
80
+ "FileAttachmentEntity": {
81
+ "description": "Represents a file attachment in messages.",
82
+ "properties": {
83
+ "file_id": {
84
+ "description": "The unique ID of the attached file",
85
+ "title": "File Id",
86
+ "type": "string"
87
+ },
88
+ "name": {
89
+ "description": "The name of the file",
90
+ "title": "Name",
91
+ "type": "string"
92
+ },
93
+ "size": {
94
+ "description": "The size of the file in bytes",
95
+ "title": "Size",
96
+ "type": "integer"
97
+ },
98
+ "type": {
99
+ "description": "The MIME type or content type of the file",
100
+ "title": "Type",
101
+ "type": "string"
102
+ }
103
+ },
104
+ "required": [
105
+ "file_id",
106
+ "name",
107
+ "size",
108
+ "type"
109
+ ],
110
+ "title": "FileAttachmentEntity",
111
+ "type": "object"
112
+ },
113
+ "MessageAuthor": {
114
+ "enum": [
115
+ "user",
116
+ "agent"
117
+ ],
118
+ "title": "MessageAuthor",
119
+ "type": "string"
120
+ },
121
+ "MessageStyle": {
122
+ "enum": [
123
+ "static",
124
+ "active"
125
+ ],
126
+ "title": "MessageStyle",
127
+ "type": "string"
128
+ },
129
+ "ReasoningContentEntityOptional": {
130
+ "properties": {
131
+ "type": {
132
+ "anyOf": [
133
+ {
134
+ "const": "reasoning",
135
+ "type": "string"
136
+ },
137
+ {
138
+ "type": "null"
139
+ }
140
+ ],
141
+ "default": null,
142
+ "description": "The type of the message, in this case `reasoning`.",
143
+ "title": "Type"
144
+ },
145
+ "author": {
146
+ "anyOf": [
147
+ {
148
+ "$ref":
149
+ "#/$defs/MessageAuthor"
150
+ },
151
+ {
152
+ "type": "null"
153
+ }
154
+ ],
155
+ "default": null,
156
+ "description": "The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`."
157
+ },
158
+ "style": {
159
+ "anyOf": [
160
+ {
161
+ "$ref":
162
+ "#/$defs/MessageStyle"
163
+ },
164
+ {
165
+ "type": "null"
166
+ }
167
+ ],
168
+ "default": null,
169
+ "description": "The style of the message. This is used by the client to determine how to display the message."
170
+ },
171
+ "summary": {
172
+ "anyOf": [
173
+ {
174
+ "items": {
175
+ "type": "string"
176
+ },
177
+ "type": "array"
178
+ },
179
+ {
180
+ "type": "null"
181
+ }
182
+ ],
183
+ "default": null,
184
+ "description": "A list of short reasoning summaries",
185
+ "title": "Summary"
186
+ },
187
+ "content": {
188
+ "anyOf": [
189
+ {
190
+ "items": {
191
+ "type": "string"
192
+ },
193
+ "type": "array"
194
+ },
195
+ {
196
+ "type": "null"
197
+ }
198
+ ],
199
+ "default": null,
200
+ "description": "The reasoning content or chain-of-thought text",
201
+ "title": "Content"
202
+ }
203
+ },
204
+ "title": "ReasoningContentEntityOptional",
205
+ "type": "object"
206
+ },
207
+ "TextContentEntityOptional": {
208
+ "properties": {
209
+ "type": {
210
+ "anyOf": [
211
+ {
212
+ "const": "text",
213
+ "type": "string"
214
+ },
215
+ {
216
+ "type": "null"
217
+ }
218
+ ],
219
+ "default": null,
220
+ "description": "The type of the message, in this case `text`.",
221
+ "title": "Type"
222
+ },
223
+ "author": {
224
+ "anyOf": [
225
+ {
226
+ "$ref":
227
+ "#/$defs/MessageAuthor"
228
+ },
229
+ {
230
+ "type": "null"
231
+ }
232
+ ],
233
+ "default": null,
234
+ "description": "The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`."
235
+ },
236
+ "style": {
237
+ "anyOf": [
238
+ {
239
+ "$ref":
240
+ "#/$defs/MessageStyle"
241
+ },
242
+ {
243
+ "type": "null"
244
+ }
245
+ ],
246
+ "default": null,
247
+ "description": "The style of the message. This is used by the client to determine how to display the message."
248
+ },
249
+ "format": {
250
+ "anyOf": [
251
+ {
252
+ "$ref":
253
+ "#/$defs/TextFormat"
254
+ },
255
+ {
256
+ "type": "null"
257
+ }
258
+ ],
259
+ "default": null,
260
+ "description": "The format of the message. This is used by the client to determine how to display the message."
261
+ },
262
+ "content": {
263
+ "anyOf": [
264
+ {
265
+ "type": "string"
266
+ },
267
+ {
268
+ "type": "null"
269
+ }
270
+ ],
271
+ "default": null,
272
+ "description": "The contents of the text message.",
273
+ "title": "Content"
274
+ },
275
+ "attachments": {
276
+ "anyOf": [
277
+ {
278
+ "items": {
279
+ "$ref":
280
+ "#/$defs/FileAttachmentEntity"
281
+ },
282
+ "type": "array"
283
+ },
284
+ {
285
+ "type": "null"
286
+ }
287
+ ],
288
+ "default": null,
289
+ "description": "Optional list of file attachments with structured metadata.",
290
+ "title": "Attachments"
291
+ }
292
+ },
293
+ "title": "TextContentEntityOptional",
294
+ "type": "object"
295
+ },
296
+ "TextFormat": {
297
+ "enum": [
298
+ "markdown",
299
+ "plain",
300
+ "code"
301
+ ],
302
+ "title": "TextFormat",
303
+ "type": "string"
304
+ },
305
+ "ToolRequestContentEntityOptional": {
306
+ "properties": {
307
+ "type": {
308
+ "anyOf": [
309
+ {
310
+ "const": "tool_request",
311
+ "type": "string"
312
+ },
313
+ {
314
+ "type": "null"
315
+ }
316
+ ],
317
+ "default": null,
318
+ "description": "The type of the message, in this case `tool_request`.",
319
+ "title": "Type"
320
+ },
321
+ "author": {
322
+ "anyOf": [
323
+ {
324
+ "$ref":
325
+ "#/$defs/MessageAuthor"
326
+ },
327
+ {
328
+ "type": "null"
329
+ }
330
+ ],
331
+ "default": null,
332
+ "description": "The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`."
333
+ },
334
+ "style": {
335
+ "anyOf": [
336
+ {
337
+ "$ref":
338
+ "#/$defs/MessageStyle"
339
+ },
340
+ {
341
+ "type": "null"
342
+ }
343
+ ],
344
+ "default": null,
345
+ "description": "The style of the message. This is used by the client to determine how to display the message."
346
+ },
347
+ "tool_call_id": {
348
+ "anyOf": [
349
+ {
350
+ "type": "string"
351
+ },
352
+ {
353
+ "type": "null"
354
+ }
355
+ ],
356
+ "default": null,
357
+ "description": "The ID of the tool call that is being requested.",
358
+ "title": "Tool Call Id"
359
+ },
360
+ "name": {
361
+ "anyOf": [
362
+ {
363
+ "type": "string"
364
+ },
365
+ {
366
+ "type": "null"
367
+ }
368
+ ],
369
+ "default": null,
370
+ "description": "The name of the tool that is being requested.",
371
+ "title": "Name"
372
+ },
373
+ "arguments": {
374
+ "anyOf": [
375
+ {
376
+ "additionalProperties": true,
377
+ "type": "object"
378
+ },
379
+ {
380
+ "type": "null"
381
+ }
382
+ ],
383
+ "default": null,
384
+ "description": "The arguments to the tool.",
385
+ "title": "Arguments"
386
+ }
387
+ },
388
+ "title": "ToolRequestContentEntityOptional",
389
+ "type": "object"
390
+ },
391
+ "ToolResponseContentEntityOptional": {
392
+ "properties": {
393
+ "type": {
394
+ "anyOf": [
395
+ {
396
+ "const": "tool_response",
397
+ "type": "string"
398
+ },
399
+ {
400
+ "type": "null"
401
+ }
402
+ ],
403
+ "default": null,
404
+ "description": "The type of the message, in this case `tool_response`.",
405
+ "title": "Type"
406
+ },
407
+ "author": {
408
+ "anyOf": [
409
+ {
410
+ "$ref":
411
+ "#/$defs/MessageAuthor"
412
+ },
413
+ {
414
+ "type": "null"
415
+ }
416
+ ],
417
+ "default": null,
418
+ "description": "The role of the messages author, in this case `system`, `user`, `assistant`, or `tool`."
419
+ },
420
+ "style": {
421
+ "anyOf": [
422
+ {
423
+ "$ref":
424
+ "#/$defs/MessageStyle"
425
+ },
426
+ {
427
+ "type": "null"
428
+ }
429
+ ],
430
+ "default": null,
431
+ "description": "The style of the message. This is used by the client to determine how to display the message."
432
+ },
433
+ "tool_call_id": {
434
+ "anyOf": [
435
+ {
436
+ "type": "string"
437
+ },
438
+ {
439
+ "type": "null"
440
+ }
441
+ ],
442
+ "default": null,
443
+ "description": "The ID of the tool call that is being responded to.",
444
+ "title": "Tool Call Id"
445
+ },
446
+ "name": {
447
+ "anyOf": [
448
+ {
449
+ "type": "string"
450
+ },
451
+ {
452
+ "type": "null"
453
+ }
454
+ ],
455
+ "default": null,
456
+ "description": "The name of the tool that is being responded to.",
457
+ "title": "Name"
458
+ },
459
+ "content": {
460
+ "anyOf": [
461
+ {},
462
+ {
463
+ "type": "null"
464
+ }
465
+ ],
466
+ "default": null,
467
+ "description": "The result of the tool.",
468
+ "title": "Content"
469
+ }
470
+ },
471
+ "title": "ToolResponseContentEntityOptional",
472
+ "type": "object"
473
+ }
474
+ },
475
+ "description": "Filter model for TaskMessage - all fields optional for flexible filtering.\n\nThe `exclude` field determines whether this filter is inclusionary or exclusionary.\nWhen multiple filters are provided:\n- Inclusionary filters (exclude=False) are OR'd together\n- Exclusionary filters (exclude=True) are OR'd together and negated with $nor\n- The two groups are AND'd: (include1 OR include2) AND NOT (exclude1 OR exclude2)",
476
+ "properties": {
477
+ "content": {
478
+ "anyOf": [
479
+ {
480
+ "$ref":
481
+ "#/$defs/ToolRequestContentEntityOptional"
482
+ },
483
+ {
484
+ "$ref":
485
+ "#/$defs/DataContentEntityOptional"
486
+ },
487
+ {
488
+ "$ref":
489
+ "#/$defs/TextContentEntityOptional"
490
+ },
491
+ {
492
+ "$ref":
493
+ "#/$defs/ToolResponseContentEntityOptional"
494
+ },
495
+ {
496
+ "$ref":
497
+ "#/$defs/ReasoningContentEntityOptional" }, { "type": "null" } ], "default":
498
+ null, "description": "Filter by message content", "title": "Content" },
499
+ "streaming_status": { "anyOf": [ { "enum": [ "IN_PROGRESS", "DONE" ], "type":
500
+ "string" }, { "type": "null" } ], "default": null, "description": "Filter by
501
+ streaming status", "title": "Streaming Status" }, "exclude": { "default": false,
502
+ "description": "If true, this filter excludes matching messages", "title":
503
+ "Exclude", "type": "boolean" } }, "title": "TaskMessageEntityFilter", "type":
504
+ "object" }
505
+
506
+ Each filter can include:
507
+
508
+ - `content`: Filter by message content (type, author, data fields)
509
+ - `streaming_status`: Filter by status ("IN_PROGRESS" or "DONE")
510
+ - `exclude`: If true, excludes matching messages (default: false)
511
+
512
+ Multiple filters are combined: inclusionary filters (exclude=false) are OR'd
513
+ together, exclusionary filters (exclude=true) are OR'd and negated, then both
514
+ groups are AND'd.
515
+ """
17
516
 
18
517
  limit: int
19
518
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: agentex-sdk
3
- Version: 0.7.4
3
+ Version: 0.8.1
4
4
  Summary: The official Python library for the agentex API
5
5
  Project-URL: Homepage, https://github.com/scaleapi/scale-agentex-python
6
6
  Project-URL: Repository, https://github.com/scaleapi/scale-agentex-python
@@ -1,6 +1,6 @@
1
1
  agentex/__init__.py,sha256=TvS8DtvGAnubcoUjYIsuCpBzpsdpxBaJCS76s-l-PRo,2712
2
- agentex/_base_client.py,sha256=Nns3uFuKrkl0dBaM1wq9-PJMSVdxROP-WIKQOF3DNYg,67236
3
- agentex/_client.py,sha256=WJM1kkmccMO8RNEuqUgxMyTcHXsIxVh3dOENIo0jXWw,26659
2
+ agentex/_base_client.py,sha256=bYjTh_wPlo7zWeUO4hnrh30DrWsCAAVdohUlt-zsqUg,67248
3
+ agentex/_client.py,sha256=39ydvoIqEPVYkM891ZMhCMKrbXR59QUxuKTtrTJGgMM,28482
4
4
  agentex/_compat.py,sha256=DQBVORjFb33zch24jzkhM14msvnzY7mmSmgDLaVFUM8,6562
5
5
  agentex/_constants.py,sha256=oGldMuFz7eZtwD8_6rJUippKhZB5fGSA7ffbCDGourA,466
6
6
  agentex/_exceptions.py,sha256=B09aFjWFRSShb9BFJd-MNDblsGDyGk3w-vItYmjg_AI,3222
@@ -11,7 +11,7 @@ agentex/_resource.py,sha256=S1t7wmR5WUvoDIhZjo_x-E7uoTJBynJ3d8tPJMQYdjw,1106
11
11
  agentex/_response.py,sha256=Tb9zazsnemO2rTxWtBjAD5WBqlhli5ZaXGbiKgdu5DE,28794
12
12
  agentex/_streaming.py,sha256=aOvLOte7kaclPGm-D0iNdM3uRcWrZ-T2B8t9BDNmpuA,10225
13
13
  agentex/_types.py,sha256=00q2kgDxUPJC16dU-YIUeOFsN5MzNW0zjzVXMlBYGV0,7296
14
- agentex/_version.py,sha256=Hf2agCUD_8_Q4jqB1GQI-d_np2rLTR_qF8kMrfcQPM8,159
14
+ agentex/_version.py,sha256=SprjymQjfV2BjyuFEaxil784EZtHqtGJvTME7Wtpx2s,159
15
15
  agentex/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  agentex/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
17
17
  agentex/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
@@ -277,8 +277,8 @@ agentex/resources/tasks.py,sha256=PYclyozaR1az30ZcsEtP4WMvBoXPeF1mEvcNYOAWt0I,27
277
277
  agentex/resources/tracker.py,sha256=bxRuzI9ThHrZtJbZoctU9vodE1kxAqcdlwQVrcbQTb4,15089
278
278
  agentex/resources/messages/__init__.py,sha256=_J1eusFtr_k6zrAntJSuqx6LWEUBSTrV1OZZh7MaDPE,1015
279
279
  agentex/resources/messages/batch.py,sha256=bYDIf0ZF3-sTKnGfFmzFQUn8LMtMYoniY977J3zr8q8,9653
280
- agentex/resources/messages/messages.py,sha256=t3b_Gv3hWdlD8XgvWKwa_llfpND01ewGL8RuJWhZRss,25304
281
- agentex/types/__init__.py,sha256=p14jAyCFSwh8rtQQhA-6Kpf28G77wYIQFCfUPUfwyx8,4725
280
+ agentex/resources/messages/messages.py,sha256=YFmyAHMNCoAyLMi8ckSJD0cYQ9_ccf24ohUhu9K9VC8,105228
281
+ agentex/types/__init__.py,sha256=8Hg4rMRoOY8k9Vl69Hr9bzb1U_tWNw9DNQtUarLXx18,4725
282
282
  agentex/types/acp_type.py,sha256=lEn_w4z-RIgyUVTQr8mm5l9OdFDQMDclbJU_lKa4Mi8,217
283
283
  agentex/types/agent.py,sha256=hwgmtylJYezzmGJbzbBQ7sn3oV2_bCZqgqlNq9WpZ0g,1318
284
284
  agentex/types/agent_list_params.py,sha256=s4heb3MQwMprmuol_smUDL2N0u-5WUbUCxt3J5Dqnag,515
@@ -299,9 +299,9 @@ agentex/types/event_list_params.py,sha256=Rrz0yo2w3gMTNYe3HQS9YCX1VktE_aaktuHezx
299
299
  agentex/types/event_list_response.py,sha256=rjUCkwS0pXnfqHEVPEKZdLIGJ14uXOrjatuOfR36s5s,254
300
300
  agentex/types/message_author.py,sha256=_IIVLAcZsLTG_vQWFpjWuxLIaHrc6wkv3q7qu5gam0o,218
301
301
  agentex/types/message_create_params.py,sha256=Vt7Hig0lI8qxWDpJ4JhjfjglSzptI2PjzbrOD1Qkmxk,502
302
- agentex/types/message_list_paginated_params.py,sha256=tZr9_0L4tawzAKmyNyFvM5EmSmLlOBLfXJ0lqxsNn9o,511
302
+ agentex/types/message_list_paginated_params.py,sha256=FN1PQMpt558mWXMu2B5tyWv54GCQYAq1jNCTxsUZv1s,15557
303
303
  agentex/types/message_list_paginated_response.py,sha256=VRPr20UNkBRchJrkroujPT46d830qK1Z-G6h1ziSUS4,582
304
- agentex/types/message_list_params.py,sha256=sLLLIDcuBwD5LXzJkZX8OzOfEyJDcTBrFW6BVOD221g,492
304
+ agentex/types/message_list_params.py,sha256=JNd-W-juDeH1LYJuV1JkNaKltz0tfJ2NroIDvfaKWDA,15538
305
305
  agentex/types/message_list_response.py,sha256=YYDf-57zLS-E1eX3EZxz7c6XCuBcRBws01_q2G7uk4Y,277
306
306
  agentex/types/message_style.py,sha256=nuoXzoDyP3KAQsQeKHaiby1EMxeY-8TJjWr8eMMpQEE,219
307
307
  agentex/types/message_update_params.py,sha256=_KpnJ56FNeoIcwodQmAgsweqH1YAeIgYVT2jo9ahUhY,502
@@ -351,8 +351,8 @@ agentex/types/messages/batch_update_params.py,sha256=Ug5CThbD49a8j4qucg04OdmVrp_
351
351
  agentex/types/messages/batch_update_response.py,sha256=TbSBe6SuPzjXXWSj-nRjT1JHGBooTshHQQDa1AixQA8,278
352
352
  agentex/types/shared/__init__.py,sha256=IKs-Qn5Yja0kFh1G1kDqYZo43qrOu1hSoxlPdN-85dI,149
353
353
  agentex/types/shared/delete_response.py,sha256=8qH3zvQXaOHYQSHyXi7UQxdR4miTzR7V9K4zXVsiUyk,215
354
- agentex_sdk-0.7.4.dist-info/METADATA,sha256=fpcGYHadmvZQH2XJ3cqFZe1hLvrkG1vmAHlrP3Nkhww,15553
355
- agentex_sdk-0.7.4.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
356
- agentex_sdk-0.7.4.dist-info/entry_points.txt,sha256=V7vJuMZdF0UlvgX6KiBN7XUvq_cxF5kplcYvc1QlFaQ,62
357
- agentex_sdk-0.7.4.dist-info/licenses/LICENSE,sha256=Q1AOx2FtRcMlyMgQJ9eVN2WKPq2mQ33lnB4tvWxabLA,11337
358
- agentex_sdk-0.7.4.dist-info/RECORD,,
354
+ agentex_sdk-0.8.1.dist-info/METADATA,sha256=Hp1HQXnaGaB3pROJpb4izGi--8pv7doi7TBTzJddQYI,15553
355
+ agentex_sdk-0.8.1.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
356
+ agentex_sdk-0.8.1.dist-info/entry_points.txt,sha256=V7vJuMZdF0UlvgX6KiBN7XUvq_cxF5kplcYvc1QlFaQ,62
357
+ agentex_sdk-0.8.1.dist-info/licenses/LICENSE,sha256=Q1AOx2FtRcMlyMgQJ9eVN2WKPq2mQ33lnB4tvWxabLA,11337
358
+ agentex_sdk-0.8.1.dist-info/RECORD,,