braintrust 0.4.3__py3-none-any.whl → 0.5.0__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.
- braintrust/_generated_types.py +106 -6
- braintrust/framework.py +98 -1
- braintrust/functions/invoke.py +3 -1
- braintrust/functions/test_invoke.py +61 -0
- braintrust/generated_types.py +7 -1
- braintrust/logger.py +78 -32
- braintrust/span_cache.py +337 -0
- braintrust/span_identifier_v3.py +21 -0
- braintrust/test_logger.py +116 -0
- braintrust/test_span_cache.py +344 -0
- braintrust/test_trace.py +267 -0
- braintrust/trace.py +385 -0
- braintrust/version.py +2 -2
- braintrust/wrappers/claude_agent_sdk/_wrapper.py +48 -6
- braintrust/wrappers/claude_agent_sdk/test_wrapper.py +106 -0
- {braintrust-0.4.3.dist-info → braintrust-0.5.0.dist-info}/METADATA +1 -1
- {braintrust-0.4.3.dist-info → braintrust-0.5.0.dist-info}/RECORD +20 -15
- {braintrust-0.4.3.dist-info → braintrust-0.5.0.dist-info}/WHEEL +1 -1
- {braintrust-0.4.3.dist-info → braintrust-0.5.0.dist-info}/entry_points.txt +0 -0
- {braintrust-0.4.3.dist-info → braintrust-0.5.0.dist-info}/top_level.txt +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
braintrust/__init__.py,sha256=sw6dLIINeyUVP4IbF49wqXv2cyAWEoO3SGSIvCb_b2o,2238
|
|
2
|
-
braintrust/_generated_types.py,sha256=
|
|
2
|
+
braintrust/_generated_types.py,sha256=_eqozb1MG75khlsvXoAV7oKjbgEEBvnzlLtiUfpxX8U,99447
|
|
3
3
|
braintrust/audit.py,sha256=3GQKzuTcFquYdrJtABM-k3xMlOIqgVkfG6UyeQ8_028,461
|
|
4
4
|
braintrust/aws.py,sha256=OBz_SRyopgpCDSNvETLypzGwTXk-bNLn-Eisevnjfwo,377
|
|
5
5
|
braintrust/bt_json.py,sha256=VNunedFUEfbvVEBuACHLRsjDr8lLD3_nFwB54MXtcbY,9385
|
|
6
6
|
braintrust/conftest.py,sha256=cmuwhK0BvqZ6yGqD_3x_JJmWkCtaSOwfSKz6n8ZT5Ug,2339
|
|
7
7
|
braintrust/context.py,sha256=bOo1Li29lUsi2DOOllIDar0oRuQNbkLNzJ7cYq5JTbo,4126
|
|
8
8
|
braintrust/db_fields.py,sha256=vjVEyDxl2d13lvvTcVwT5paHvaT-1kgI-4Lg-gihRIw,476
|
|
9
|
-
braintrust/framework.py,sha256=
|
|
9
|
+
braintrust/framework.py,sha256=GG9V7Tq--9whgiWFFicgdeWPQp_7KuknznKDN1ixOmU,61872
|
|
10
10
|
braintrust/framework2.py,sha256=o0igz4vXbmn0jHJPhDYvx14rFnI3ntV8H6VJfyJYRtM,16542
|
|
11
|
-
braintrust/generated_types.py,sha256=
|
|
11
|
+
braintrust/generated_types.py,sha256=_IBZSkYTralTQM5hLhnbdIQS8_NhWr4V77kJPHtEUHY,4997
|
|
12
12
|
braintrust/git_fields.py,sha256=au5ayyuvt7y_ojE9LC98ypTZd3RgFdjhRc8eFxcjnto,1434
|
|
13
13
|
braintrust/gitutil.py,sha256=RsW7cawJMgaAaTw6WeB1sShyfflkPb7yH2x7yuRv10c,5642
|
|
14
14
|
braintrust/graph_util.py,sha256=Z2Uy8RaOq5iMe5mShhQqRDDIpXVitE-biVxDiFB-0Ds,5545
|
|
15
15
|
braintrust/http_headers.py,sha256=9ZsDcsAKG04SGowsgchZktD6rG_oSTKWa8QyGUPA4xE,154
|
|
16
16
|
braintrust/id_gen.py,sha256=4UWLWRhksf76IkYi4cKACSaQ3yNgausrMRlhiurhy74,1590
|
|
17
|
-
braintrust/logger.py,sha256=
|
|
17
|
+
braintrust/logger.py,sha256=vfoDb8pIqkkFKdWGaI670MSnyRz5BTx2DUmp-r1T92M,207496
|
|
18
18
|
braintrust/merge_row_batch.py,sha256=tvuz3qdsa7HZBrzzAzoQqAXU7pKsHUebC7sw6RybbmA,9881
|
|
19
19
|
braintrust/oai.py,sha256=AjHeD0uNYO-ECVUh9RbPBxyKMps06A3dvHAWa41prMc,36259
|
|
20
20
|
braintrust/object.py,sha256=vYLyYWncsqLD00zffZUJwGTSkcJF9IIXmgIzrx3Np5c,632
|
|
@@ -25,9 +25,10 @@ braintrust/queue.py,sha256=hce5CGnkI6NXpZDV8Mo4iqSOASlp-i_RTj0O7ioObF8,3719
|
|
|
25
25
|
braintrust/resource_manager.py,sha256=Rs4yEd_ShV5YV6WC0YqxkQKXEfBtbTUZ4S4G78oF5Mk,723
|
|
26
26
|
braintrust/score.py,sha256=UxTW5si2ZIfkLosWjqL6uMc7lwl9YkEJ7xTkS3uqoGE,3641
|
|
27
27
|
braintrust/serializable_data_class.py,sha256=qI8yWRXTIv_rtMOhwCDyK8FK3aXzxidwY7S3y-KOZCA,2462
|
|
28
|
+
braintrust/span_cache.py,sha256=GDSL7yTU977Zg1Z-F500av0SDIxA4mZ_V1JljWh44fQ,12093
|
|
28
29
|
braintrust/span_identifier_v1.py,sha256=eR-dHda0MurdOlghv7-CLSh7eVpNQigbDSQxPpLC6_s,5178
|
|
29
30
|
braintrust/span_identifier_v2.py,sha256=2dLc-Vz8iWLISmL_-ebCyWnY-ysA7sMnBsQtKqzMHYY,8981
|
|
30
|
-
braintrust/span_identifier_v3.py,sha256=
|
|
31
|
+
braintrust/span_identifier_v3.py,sha256=RAvOK0lK0huH952kI5X1Q9TaAloD5to8jgTCuYMMw6o,10356
|
|
31
32
|
braintrust/span_identifier_v4.py,sha256=uFT-OdzySo4uCeAaJC3VqH55Oy433xZGBdK2hiEsm2w,10044
|
|
32
33
|
braintrust/span_types.py,sha256=cpTzCwUj4yBPbPLnzR23-VXIU2E9nl_dsVCSVMvtSkc,376
|
|
33
34
|
braintrust/test_bt_json.py,sha256=p4r5DlMkH2rRQbYT9X1ASPbKVEMku5bFUUa7hVAO-ZY,25259
|
|
@@ -35,16 +36,19 @@ braintrust/test_framework.py,sha256=7spRLovwNjZLula8mNW_KspyWuWgpqSfHV6sZqub-ME,
|
|
|
35
36
|
braintrust/test_framework2.py,sha256=pSEEmBIyszAiYnpEVvDZgJqIe3lQ3T807LmIuBqV98w,7235
|
|
36
37
|
braintrust/test_helpers.py,sha256=VSelzjkR2IHyy5QD6sYB_79VIXq-wEDslDwyx9H11kI,13528
|
|
37
38
|
braintrust/test_id_gen.py,sha256=Oqp8Rxd1_9ptpEJSu_xi6STIquZpx9n7Kh-bGUKMQH0,2489
|
|
38
|
-
braintrust/test_logger.py,sha256=
|
|
39
|
+
braintrust/test_logger.py,sha256=lQpxqqzcP_TgM1_ZgUE_eau6xZ8dQa7UHc8kgz39qFw,107121
|
|
39
40
|
braintrust/test_otel.py,sha256=EyLOBMIZegvGyqqWl4vAlIazZfz1s4tWbgSAM68-2mM,31356
|
|
40
41
|
braintrust/test_queue.py,sha256=872weDhTfxN1Vu4-cV8pZZ9XNE8UkX4WNcvc2mPtSDI,8431
|
|
41
42
|
braintrust/test_score.py,sha256=PpfzNeaYhC4shMFqF85EczuMT0FCTr6l1rdEYWLe4g0,5857
|
|
42
43
|
braintrust/test_serializable_data_class.py,sha256=b04Ym64YtC6GJRGbKIN4J20RG1QN1FlnODwtEQh4sv0,1897
|
|
44
|
+
braintrust/test_span_cache.py,sha256=HCCpedhJVb24jwcf2sbnP4Vj7t5p2AsMGUOSc91I6po,8705
|
|
43
45
|
braintrust/test_span_components.py,sha256=6w0oDnDLuVbHygNienujk4JDqtSRR5A49AI-S8Pa5hY,16197
|
|
46
|
+
braintrust/test_trace.py,sha256=u1V6wC-bgOhHofeg6q196CCurH3L-5diYjRK_hRQCII,8383
|
|
44
47
|
braintrust/test_util.py,sha256=xMN84ERVzZYUTAOp0IkFK-ktWOLK4rr6OdhaNeq7Fg0,6382
|
|
45
48
|
braintrust/test_version.py,sha256=hk5JKjEFbNJ_ONc1VEkqHquflzre34RpFhCEYLTK8iA,1051
|
|
49
|
+
braintrust/trace.py,sha256=PHxfaHApGP_MPMIndZw7atIa2iwKPETUoG-TbF2dv6A,13767
|
|
46
50
|
braintrust/util.py,sha256=-q73F17BkaUaDCGtNBTtacqIPwWiXcgWYpzHqFTQdhc,8361
|
|
47
|
-
braintrust/version.py,sha256=
|
|
51
|
+
braintrust/version.py,sha256=zo6vrUFCLMjkdBQDNzANhse_z5JzTXZAtFlYrCDt56A,117
|
|
48
52
|
braintrust/xact_ids.py,sha256=bdyp88HjlyIkglgLSqYlCYscdSH6EWVyE14sR90Xl1s,658
|
|
49
53
|
braintrust/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
50
54
|
braintrust/cli/__main__.py,sha256=wCBKHGVmn3IT_yMXk5qfDwyI2SV2gf1tLr0NTxm9T8k,1519
|
|
@@ -72,8 +76,9 @@ braintrust/devserver/test_lru_cache.py,sha256=5YYJ5uFj7k4Z4PQQ-UOV7bLP5zBYVo-5jV
|
|
|
72
76
|
braintrust/devserver/test_server_integration.py,sha256=7QhanUNsx7MYdhEL9AOr_ZrQJdSVIN1IorZ_JvIJq5Y,6485
|
|
73
77
|
braintrust/functions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
74
78
|
braintrust/functions/constants.py,sha256=g_EDiSrfCltHr5QaQMQzJ3qy3D29X-11LanDqlicqB0,23
|
|
75
|
-
braintrust/functions/invoke.py,sha256=
|
|
79
|
+
braintrust/functions/invoke.py,sha256=E4g7n2wDYcs8LqjLKU5x3GS_MutEa2TNIEWaFiwiq9I,9894
|
|
76
80
|
braintrust/functions/stream.py,sha256=zH3okhkbUBE3-iYD6edLqjDdewc1Zj1MjVx5A3Xwe9Y,6103
|
|
81
|
+
braintrust/functions/test_invoke.py,sha256=uu4UHhHj3ag2RdXsIyRmAWbXYjs14dWT3r7QqI9F6wY,2397
|
|
77
82
|
braintrust/otel/__init__.py,sha256=sZxGs2khKfL9uFJtB118VJJ7O5QOZJSG3vuKUFB0fiE,24350
|
|
78
83
|
braintrust/otel/context.py,sha256=EpGk3B1UeAfBeqDe-yYy4LNNCFBKU6aU-0tfVOMrkcs,4611
|
|
79
84
|
braintrust/otel/test_distributed_tracing.py,sha256=12Cw18_kkon-y5is-b3lyVuzmzmOUpQdSVxk4NzYRUM,5238
|
|
@@ -113,11 +118,11 @@ braintrust/wrappers/agno/model.py,sha256=VVFHEPlJ210P8BmSNQp8LchulHo62s4xvitvrR5
|
|
|
113
118
|
braintrust/wrappers/agno/team.py,sha256=hYCnmeunLk47PEkoOrlpbxFERjK-D4evR07ghoiO5UU,6452
|
|
114
119
|
braintrust/wrappers/agno/utils.py,sha256=_b_s2WzAJ5HIkZ8Qbq5ZKctsdFDh5tX3gFuRiT2o6g0,15685
|
|
115
120
|
braintrust/wrappers/claude_agent_sdk/__init__.py,sha256=dcBP61ijW2B4g902-09ZfIOkAkC2GtPWz9Rg3RWELWQ,4390
|
|
116
|
-
braintrust/wrappers/claude_agent_sdk/_wrapper.py,sha256=
|
|
117
|
-
braintrust/wrappers/claude_agent_sdk/test_wrapper.py,sha256=
|
|
121
|
+
braintrust/wrappers/claude_agent_sdk/_wrapper.py,sha256=UNZBcgTu7X71zvJKy6e-QQFuz9j8kRS6Kd1VOh3OOXA,17755
|
|
122
|
+
braintrust/wrappers/claude_agent_sdk/test_wrapper.py,sha256=pozwSJAD7DKJRoOdekR8Bvyv1Iu7XuCnwl4Ep60oMYE,10401
|
|
118
123
|
braintrust/wrappers/google_genai/__init__.py,sha256=Yv4hBOUc6TjUpYH3bEW8UaYiZ-sm3TpdVfqUw50NwQU,15826
|
|
119
|
-
braintrust-0.
|
|
120
|
-
braintrust-0.
|
|
121
|
-
braintrust-0.
|
|
122
|
-
braintrust-0.
|
|
123
|
-
braintrust-0.
|
|
124
|
+
braintrust-0.5.0.dist-info/METADATA,sha256=fYC6JxpWH65cyszHdVaLBkhGx9KCSAq7zGBatfHc7n4,3753
|
|
125
|
+
braintrust-0.5.0.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
|
|
126
|
+
braintrust-0.5.0.dist-info/entry_points.txt,sha256=Zpc0_09g5xm8as5jHqqFq7fhwO0xHSNct_TrEMONS7Q,60
|
|
127
|
+
braintrust-0.5.0.dist-info/top_level.txt,sha256=hw1-y-UFMf60RzAr8x_eM7SThbIuWfQsQIbVvqSF83A,11
|
|
128
|
+
braintrust-0.5.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|