langwatch 0.7.4 → 0.8.1

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 (68) hide show
  1. package/README.md +48 -0
  2. package/dist/{add-XLEUNNZI.mjs → add-3MRUJN46.mjs} +5 -5
  3. package/dist/{add-Y543UEBX.js → add-S6GXVJE5.js} +10 -10
  4. package/dist/{add-Y543UEBX.js.map → add-S6GXVJE5.js.map} +1 -1
  5. package/dist/{chunk-VMI2XPCC.mjs → chunk-2BFLRROK.mjs} +2 -2
  6. package/dist/{chunk-VMI2XPCC.mjs.map → chunk-2BFLRROK.mjs.map} +1 -1
  7. package/dist/{chunk-BKVMRI32.js → chunk-4NB5C6GH.js} +2 -2
  8. package/dist/{chunk-BKVMRI32.js.map → chunk-4NB5C6GH.js.map} +1 -1
  9. package/dist/{chunk-MZ2O5ZJL.js → chunk-4XNHIYPE.js} +121 -32
  10. package/dist/chunk-4XNHIYPE.js.map +1 -0
  11. package/dist/{chunk-GC7VHCU5.js → chunk-BYG3QS2X.js} +35 -72
  12. package/dist/chunk-BYG3QS2X.js.map +1 -0
  13. package/dist/{chunk-HRPIRC67.mjs → chunk-LW62ZSAR.mjs} +109 -20
  14. package/dist/chunk-LW62ZSAR.mjs.map +1 -0
  15. package/dist/{chunk-QPHTXDJ5.mjs → chunk-M57C3BU5.mjs} +2 -2
  16. package/dist/{chunk-J4YLJUX5.js → chunk-PQZCGMWT.js} +9 -9
  17. package/dist/{chunk-J4YLJUX5.js.map → chunk-PQZCGMWT.js.map} +1 -1
  18. package/dist/{chunk-MBXENFRR.mjs → chunk-W3V3NX7P.mjs} +34 -71
  19. package/dist/chunk-W3V3NX7P.mjs.map +1 -0
  20. package/dist/cli/index.js +7 -7
  21. package/dist/cli/index.mjs +7 -7
  22. package/dist/{create-YUOTG2TS.mjs → create-KEEZMNMH.mjs} +2 -2
  23. package/dist/{create-ACGBGFVO.js → create-SWMCGN2Y.js} +3 -3
  24. package/dist/{create-ACGBGFVO.js.map → create-SWMCGN2Y.js.map} +1 -1
  25. package/dist/{implementation-JKO2kHPl.d.ts → implementation-TF91Gn0l.d.ts} +154 -20
  26. package/dist/{implementation-BhgBtqp4.d.mts → implementation-pq0g2B5y.d.mts} +154 -20
  27. package/dist/index.d.mts +3 -2
  28. package/dist/index.d.ts +3 -2
  29. package/dist/index.js +11 -11
  30. package/dist/index.mjs +3 -3
  31. package/dist/{init-UFZF26SF.js → init-DWQKRJV4.js} +3 -3
  32. package/dist/{init-UFZF26SF.js.map → init-DWQKRJV4.js.map} +1 -1
  33. package/dist/{init-ED3OW3TK.mjs → init-EHVUZ7TR.mjs} +2 -2
  34. package/dist/{list-LULA2BWM.js → list-HV2QUNQG.js} +7 -7
  35. package/dist/{list-LULA2BWM.js.map → list-HV2QUNQG.js.map} +1 -1
  36. package/dist/{list-5C6V2OEO.mjs → list-XDVFYGVF.mjs} +4 -4
  37. package/dist/{login-XY2RAXYR.mjs → login-AVTZS3NG.mjs} +2 -2
  38. package/dist/{login-RUMQOHW4.js → login-CHJE7P5F.js} +3 -3
  39. package/dist/{login-RUMQOHW4.js.map → login-CHJE7P5F.js.map} +1 -1
  40. package/dist/observability-sdk/index.d.mts +4 -3
  41. package/dist/observability-sdk/index.d.ts +4 -3
  42. package/dist/observability-sdk/index.js +3 -3
  43. package/dist/observability-sdk/index.mjs +2 -2
  44. package/dist/observability-sdk/instrumentation/langchain/index.d.mts +1 -1
  45. package/dist/observability-sdk/instrumentation/langchain/index.d.ts +1 -1
  46. package/dist/observability-sdk/setup/node/index.js +10 -10
  47. package/dist/observability-sdk/setup/node/index.mjs +2 -2
  48. package/dist/{remove-GA3OQ5AQ.mjs → remove-5W3I5SID.mjs} +4 -4
  49. package/dist/{remove-NIEHQCQN.js → remove-XUWNNMPS.js} +6 -6
  50. package/dist/{remove-NIEHQCQN.js.map → remove-XUWNNMPS.js.map} +1 -1
  51. package/dist/{sync-J2FH4OZC.js → sync-DK52GMDG.js} +8 -8
  52. package/dist/{sync-J2FH4OZC.js.map → sync-DK52GMDG.js.map} +1 -1
  53. package/dist/{sync-X3KE2DNE.mjs → sync-DRZDUADJ.mjs} +5 -5
  54. package/dist/{types-DOVKZCnN.d.ts → types-CAQOMGrf.d.ts} +141 -33
  55. package/dist/{types-DoNHhlm6.d.mts → types-DhEYjnRD.d.mts} +141 -33
  56. package/package.json +1 -1
  57. package/dist/chunk-GC7VHCU5.js.map +0 -1
  58. package/dist/chunk-HRPIRC67.mjs.map +0 -1
  59. package/dist/chunk-MBXENFRR.mjs.map +0 -1
  60. package/dist/chunk-MZ2O5ZJL.js.map +0 -1
  61. /package/dist/{add-XLEUNNZI.mjs.map → add-3MRUJN46.mjs.map} +0 -0
  62. /package/dist/{chunk-QPHTXDJ5.mjs.map → chunk-M57C3BU5.mjs.map} +0 -0
  63. /package/dist/{create-YUOTG2TS.mjs.map → create-KEEZMNMH.mjs.map} +0 -0
  64. /package/dist/{init-ED3OW3TK.mjs.map → init-EHVUZ7TR.mjs.map} +0 -0
  65. /package/dist/{list-5C6V2OEO.mjs.map → list-XDVFYGVF.mjs.map} +0 -0
  66. /package/dist/{login-XY2RAXYR.mjs.map → login-AVTZS3NG.mjs.map} +0 -0
  67. /package/dist/{remove-GA3OQ5AQ.mjs.map → remove-5W3I5SID.mjs.map} +0 -0
  68. /package/dist/{sync-X3KE2DNE.mjs.map → sync-DRZDUADJ.mjs.map} +0 -0
@@ -1045,8 +1045,9 @@ interface operations {
1045
1045
  [key: string]: string[];
1046
1046
  };
1047
1047
  columnTypes: {
1048
+ id?: string;
1048
1049
  name: string;
1049
- type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations";
1050
+ type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations" | "image";
1050
1051
  }[];
1051
1052
  };
1052
1053
  };
@@ -1061,8 +1062,9 @@ interface operations {
1061
1062
  [key: string]: string[];
1062
1063
  };
1063
1064
  columnTypes: {
1065
+ id?: string;
1064
1066
  name: string;
1065
- type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations";
1067
+ type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations" | "image";
1066
1068
  }[];
1067
1069
  };
1068
1070
  };
@@ -1114,6 +1116,18 @@ interface operations {
1114
1116
  };
1115
1117
  };
1116
1118
  };
1119
+ /** @description Unprocessable Entity */
1120
+ 422: {
1121
+ headers: {
1122
+ [name: string]: unknown;
1123
+ };
1124
+ content: {
1125
+ "application/json": {
1126
+ error: string;
1127
+ message?: string;
1128
+ };
1129
+ };
1130
+ };
1117
1131
  /** @description Internal Server Error */
1118
1132
  500: {
1119
1133
  headers: {
@@ -1140,11 +1154,10 @@ interface operations {
1140
1154
  requestBody?: {
1141
1155
  content: {
1142
1156
  "application/json": {
1143
- handle?: string;
1144
1157
  model?: string;
1145
1158
  temperature?: number;
1146
1159
  maxTokens?: number;
1147
- commitMessage?: string;
1160
+ commitMessage: string;
1148
1161
  authorId?: string;
1149
1162
  prompt?: string;
1150
1163
  messages?: {
@@ -1171,6 +1184,7 @@ interface operations {
1171
1184
  schemaVersion?: "1.0";
1172
1185
  /** @enum {string} */
1173
1186
  scope?: "ORGANIZATION" | "PROJECT";
1187
+ handle?: string;
1174
1188
  };
1175
1189
  };
1176
1190
  };
@@ -1228,8 +1242,9 @@ interface operations {
1228
1242
  [key: string]: string[];
1229
1243
  };
1230
1244
  columnTypes: {
1245
+ id?: string;
1231
1246
  name: string;
1232
- type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations";
1247
+ type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations" | "image";
1233
1248
  }[];
1234
1249
  };
1235
1250
  };
@@ -1244,8 +1259,9 @@ interface operations {
1244
1259
  [key: string]: string[];
1245
1260
  };
1246
1261
  columnTypes: {
1262
+ id?: string;
1247
1263
  name: string;
1248
- type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations";
1264
+ type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations" | "image";
1249
1265
  }[];
1250
1266
  };
1251
1267
  };
@@ -1393,6 +1409,18 @@ interface operations {
1393
1409
  };
1394
1410
  };
1395
1411
  };
1412
+ /** @description Unprocessable Entity */
1413
+ 422: {
1414
+ headers: {
1415
+ [name: string]: unknown;
1416
+ };
1417
+ content: {
1418
+ "application/json": {
1419
+ error: string;
1420
+ message?: string;
1421
+ };
1422
+ };
1423
+ };
1396
1424
  /** @description Internal Server Error */
1397
1425
  500: {
1398
1426
  headers: {
@@ -1471,8 +1499,9 @@ interface operations {
1471
1499
  [key: string]: string[];
1472
1500
  };
1473
1501
  columnTypes: {
1502
+ id?: string;
1474
1503
  name: string;
1475
- type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations";
1504
+ type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations" | "image";
1476
1505
  }[];
1477
1506
  };
1478
1507
  };
@@ -1487,8 +1516,9 @@ interface operations {
1487
1516
  [key: string]: string[];
1488
1517
  };
1489
1518
  columnTypes: {
1519
+ id?: string;
1490
1520
  name: string;
1491
- type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations";
1521
+ type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations" | "image";
1492
1522
  }[];
1493
1523
  };
1494
1524
  };
@@ -1540,6 +1570,18 @@ interface operations {
1540
1570
  };
1541
1571
  };
1542
1572
  };
1573
+ /** @description Unprocessable Entity */
1574
+ 422: {
1575
+ headers: {
1576
+ [name: string]: unknown;
1577
+ };
1578
+ content: {
1579
+ "application/json": {
1580
+ error: string;
1581
+ message?: string;
1582
+ };
1583
+ };
1584
+ };
1543
1585
  /** @description Internal Server Error */
1544
1586
  500: {
1545
1587
  headers: {
@@ -1600,8 +1642,9 @@ interface operations {
1600
1642
  [key: string]: string[];
1601
1643
  };
1602
1644
  columnTypes: {
1645
+ id?: string;
1603
1646
  name: string;
1604
- type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations";
1647
+ type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations" | "image";
1605
1648
  }[];
1606
1649
  };
1607
1650
  };
@@ -1616,8 +1659,9 @@ interface operations {
1616
1659
  [key: string]: string[];
1617
1660
  };
1618
1661
  columnTypes: {
1662
+ id?: string;
1619
1663
  name: string;
1620
- type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations";
1664
+ type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations" | "image";
1621
1665
  }[];
1622
1666
  };
1623
1667
  };
@@ -1693,8 +1737,9 @@ interface operations {
1693
1737
  [key: string]: string[];
1694
1738
  };
1695
1739
  columnTypes: {
1740
+ id?: string;
1696
1741
  name: string;
1697
- type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations";
1742
+ type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations" | "image";
1698
1743
  }[];
1699
1744
  };
1700
1745
  };
@@ -1709,8 +1754,9 @@ interface operations {
1709
1754
  [key: string]: string[];
1710
1755
  };
1711
1756
  columnTypes: {
1757
+ id?: string;
1712
1758
  name: string;
1713
- type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations";
1759
+ type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations" | "image";
1714
1760
  }[];
1715
1761
  };
1716
1762
  };
@@ -1762,8 +1808,9 @@ interface operations {
1762
1808
  [key: string]: string[];
1763
1809
  };
1764
1810
  columnTypes: {
1811
+ id?: string;
1765
1812
  name: string;
1766
- type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations";
1813
+ type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations" | "image";
1767
1814
  }[];
1768
1815
  };
1769
1816
  };
@@ -1778,8 +1825,9 @@ interface operations {
1778
1825
  [key: string]: string[];
1779
1826
  };
1780
1827
  columnTypes: {
1828
+ id?: string;
1781
1829
  name: string;
1782
- type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations";
1830
+ type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations" | "image";
1783
1831
  }[];
1784
1832
  };
1785
1833
  };
@@ -1821,6 +1869,18 @@ interface operations {
1821
1869
  };
1822
1870
  };
1823
1871
  };
1872
+ /** @description Unprocessable Entity */
1873
+ 422: {
1874
+ headers: {
1875
+ [name: string]: unknown;
1876
+ };
1877
+ content: {
1878
+ "application/json": {
1879
+ error: string;
1880
+ message?: string;
1881
+ };
1882
+ };
1883
+ };
1824
1884
  /** @description Internal Server Error */
1825
1885
  500: {
1826
1886
  headers: {
@@ -1889,9 +1949,8 @@ interface operations {
1889
1949
  };
1890
1950
  content: {
1891
1951
  "application/json": {
1892
- /** @default error */
1893
- status: string;
1894
- message: string;
1952
+ error: string;
1953
+ message?: string;
1895
1954
  };
1896
1955
  };
1897
1956
  };
@@ -1902,9 +1961,8 @@ interface operations {
1902
1961
  };
1903
1962
  content: {
1904
1963
  "application/json": {
1905
- /** @default error */
1906
- status: string;
1907
- message: string;
1964
+ error: string;
1965
+ message?: string;
1908
1966
  };
1909
1967
  };
1910
1968
  };
@@ -1915,9 +1973,8 @@ interface operations {
1915
1973
  };
1916
1974
  content: {
1917
1975
  "application/json": {
1918
- /** @default error */
1919
- status: string;
1920
- message: string;
1976
+ error: string;
1977
+ message?: string;
1921
1978
  };
1922
1979
  };
1923
1980
  };
@@ -1928,9 +1985,8 @@ interface operations {
1928
1985
  };
1929
1986
  content: {
1930
1987
  "application/json": {
1931
- /** @default error */
1932
- status: string;
1933
- message: string;
1988
+ error: string;
1989
+ message?: string;
1934
1990
  };
1935
1991
  };
1936
1992
  };
@@ -1941,9 +1997,8 @@ interface operations {
1941
1997
  };
1942
1998
  content: {
1943
1999
  "application/json": {
1944
- /** @default error */
1945
- status: string;
1946
- message: string;
2000
+ error: string;
2001
+ message?: string;
1947
2002
  };
1948
2003
  };
1949
2004
  };
@@ -2011,8 +2066,9 @@ interface operations {
2011
2066
  [key: string]: string[];
2012
2067
  };
2013
2068
  columnTypes: {
2069
+ id?: string;
2014
2070
  name: string;
2015
- type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations";
2071
+ type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations" | "image";
2016
2072
  }[];
2017
2073
  };
2018
2074
  };
@@ -2027,8 +2083,9 @@ interface operations {
2027
2083
  [key: string]: string[];
2028
2084
  };
2029
2085
  columnTypes: {
2086
+ id?: string;
2030
2087
  name: string;
2031
- type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations";
2088
+ type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations" | "image";
2032
2089
  }[];
2033
2090
  };
2034
2091
  };
@@ -2068,6 +2125,18 @@ interface operations {
2068
2125
  };
2069
2126
  };
2070
2127
  };
2128
+ /** @description Unprocessable Entity */
2129
+ 422: {
2130
+ headers: {
2131
+ [name: string]: unknown;
2132
+ };
2133
+ content: {
2134
+ "application/json": {
2135
+ error: string;
2136
+ message?: string;
2137
+ };
2138
+ };
2139
+ };
2071
2140
  /** @description Internal Server Error */
2072
2141
  500: {
2073
2142
  headers: {
@@ -2183,8 +2252,9 @@ interface operations {
2183
2252
  [key: string]: string[];
2184
2253
  };
2185
2254
  columnTypes: {
2255
+ id?: string;
2186
2256
  name: string;
2187
- type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations";
2257
+ type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations" | "image";
2188
2258
  }[];
2189
2259
  };
2190
2260
  };
@@ -2199,8 +2269,9 @@ interface operations {
2199
2269
  [key: string]: string[];
2200
2270
  };
2201
2271
  columnTypes: {
2272
+ id?: string;
2202
2273
  name: string;
2203
- type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations";
2274
+ type: "string" | "boolean" | "number" | "date" | "list" | "json" | "spans" | "rag_contexts" | "chat_messages" | "annotations" | "evaluations" | "image";
2204
2275
  }[];
2205
2276
  };
2206
2277
  };
@@ -2252,6 +2323,18 @@ interface operations {
2252
2323
  };
2253
2324
  };
2254
2325
  };
2326
+ /** @description Unprocessable Entity */
2327
+ 422: {
2328
+ headers: {
2329
+ [name: string]: unknown;
2330
+ };
2331
+ content: {
2332
+ "application/json": {
2333
+ error: string;
2334
+ message?: string;
2335
+ };
2336
+ };
2337
+ };
2255
2338
  /** @description Internal Server Error */
2256
2339
  500: {
2257
2340
  headers: {
@@ -2353,6 +2436,7 @@ interface operations {
2353
2436
  /** @constant */
2354
2437
  role: "tool";
2355
2438
  toolCallId: string;
2439
+ error?: string;
2356
2440
  }) | {
2357
2441
  role?: "system" | "user" | "assistant" | "function" | "tool" | "unknown";
2358
2442
  content?: string | ({
@@ -2443,6 +2527,18 @@ interface operations {
2443
2527
  };
2444
2528
  };
2445
2529
  };
2530
+ /** @description Unprocessable Entity */
2531
+ 422: {
2532
+ headers: {
2533
+ [name: string]: unknown;
2534
+ };
2535
+ content: {
2536
+ "application/json": {
2537
+ error: string;
2538
+ message?: string;
2539
+ };
2540
+ };
2541
+ };
2446
2542
  /** @description Internal Server Error */
2447
2543
  500: {
2448
2544
  headers: {
@@ -2502,6 +2598,18 @@ interface operations {
2502
2598
  };
2503
2599
  };
2504
2600
  };
2601
+ /** @description Unprocessable Entity */
2602
+ 422: {
2603
+ headers: {
2604
+ [name: string]: unknown;
2605
+ };
2606
+ content: {
2607
+ "application/json": {
2608
+ error: string;
2609
+ message?: string;
2610
+ };
2611
+ };
2612
+ };
2505
2613
  /** @description Internal Server Error */
2506
2614
  500: {
2507
2615
  headers: {