langwatch 0.11.0 → 0.12.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.
- package/dist/{add-XV5SUAXF.mjs → add-2UHFYNUA.mjs} +4 -4
- package/dist/{add-UB5U3K3M.js → add-LUETMKBD.js} +7 -7
- package/dist/{add-UB5U3K3M.js.map → add-LUETMKBD.js.map} +1 -1
- package/dist/{chunk-D4H6PR6H.js → chunk-6SSCBYJM.js} +9 -9
- package/dist/{chunk-D4H6PR6H.js.map → chunk-6SSCBYJM.js.map} +1 -1
- package/dist/{chunk-JQYW7RY7.js → chunk-BQRUUTN3.js} +14 -14
- package/dist/{chunk-JQYW7RY7.js.map → chunk-BQRUUTN3.js.map} +1 -1
- package/dist/{chunk-N7PJJMU2.js → chunk-C4XUWCQR.js} +2 -2
- package/dist/{chunk-N7PJJMU2.js.map → chunk-C4XUWCQR.js.map} +1 -1
- package/dist/{chunk-WZ7FYUHN.mjs → chunk-OTID7S7K.mjs} +2 -2
- package/dist/{chunk-LKE6DMUP.mjs → chunk-TB5KB737.mjs} +2 -2
- package/dist/{chunk-LKE6DMUP.mjs.map → chunk-TB5KB737.mjs.map} +1 -1
- package/dist/{chunk-556ZFJMK.mjs → chunk-WCNDT5SD.mjs} +2 -2
- package/dist/cli/index.js +6 -6
- package/dist/cli/index.mjs +6 -6
- package/dist/{implementation-CPxv2BdW.d.ts → implementation-Bnc8Aymq.d.ts} +1 -1
- package/dist/{implementation-CVrmD0bz.d.mts → implementation-Ck58nRkT.d.mts} +1 -1
- package/dist/index.d.mts +129 -5
- package/dist/index.d.ts +129 -5
- package/dist/index.js +286 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +278 -4
- package/dist/index.mjs.map +1 -1
- package/dist/{list-DUNP46AD.js → list-7U3M64GY.js} +7 -7
- package/dist/{list-DUNP46AD.js.map → list-7U3M64GY.js.map} +1 -1
- package/dist/{list-T4QS6CT2.mjs → list-WV5LA6LD.mjs} +4 -4
- package/dist/{login-3H27NIOD.js → login-B7DKMN7P.js} +3 -3
- package/dist/{login-3H27NIOD.js.map → login-B7DKMN7P.js.map} +1 -1
- package/dist/{login-T2ET7TKH.mjs → login-QKRT6PXA.mjs} +2 -2
- package/dist/observability-sdk/index.d.mts +3 -3
- package/dist/observability-sdk/index.d.ts +3 -3
- package/dist/observability-sdk/index.js +3 -3
- package/dist/observability-sdk/index.mjs +2 -2
- package/dist/observability-sdk/instrumentation/langchain/index.d.mts +1 -1
- package/dist/observability-sdk/instrumentation/langchain/index.d.ts +1 -1
- package/dist/observability-sdk/setup/node/index.js +10 -10
- package/dist/observability-sdk/setup/node/index.mjs +2 -2
- package/dist/{remove-F5RM4775.mjs → remove-2OGMXSTR.mjs} +4 -4
- package/dist/{remove-V4JL5Z4U.js → remove-A4DKCN7A.js} +6 -6
- package/dist/{remove-V4JL5Z4U.js.map → remove-A4DKCN7A.js.map} +1 -1
- package/dist/{sync-VGWOLOLJ.mjs → sync-TNVCKWTC.mjs} +4 -4
- package/dist/{sync-DIOKWE6R.js → sync-WRZXIBZS.js} +6 -6
- package/dist/{sync-DIOKWE6R.js.map → sync-WRZXIBZS.js.map} +1 -1
- package/dist/{types-Kts5RGLY.d.mts → types-5h2Im4pl.d.mts} +162 -0
- package/dist/{types-usU5mTCX.d.ts → types-fo-Ij9pl.d.ts} +162 -0
- package/package.json +1 -1
- /package/dist/{add-XV5SUAXF.mjs.map → add-2UHFYNUA.mjs.map} +0 -0
- /package/dist/{chunk-WZ7FYUHN.mjs.map → chunk-OTID7S7K.mjs.map} +0 -0
- /package/dist/{chunk-556ZFJMK.mjs.map → chunk-WCNDT5SD.mjs.map} +0 -0
- /package/dist/{list-T4QS6CT2.mjs.map → list-WV5LA6LD.mjs.map} +0 -0
- /package/dist/{login-T2ET7TKH.mjs.map → login-QKRT6PXA.mjs.map} +0 -0
- /package/dist/{remove-F5RM4775.mjs.map → remove-2OGMXSTR.mjs.map} +0 -0
- /package/dist/{sync-VGWOLOLJ.mjs.map → sync-TNVCKWTC.mjs.map} +0 -0
|
@@ -852,6 +852,40 @@ interface paths {
|
|
|
852
852
|
patch?: never;
|
|
853
853
|
trace?: never;
|
|
854
854
|
};
|
|
855
|
+
"/api/evaluations/v3/{slug}/run": {
|
|
856
|
+
parameters: {
|
|
857
|
+
query?: never;
|
|
858
|
+
header?: never;
|
|
859
|
+
path?: never;
|
|
860
|
+
cookie?: never;
|
|
861
|
+
};
|
|
862
|
+
get?: never;
|
|
863
|
+
put?: never;
|
|
864
|
+
/** @description Start execution of a saved Evaluations V3 experiment by slug. Returns immediately with a runId for polling, or streams SSE events if Accept: text/event-stream header is provided. */
|
|
865
|
+
post: operations["postEvaluationsV3Run"];
|
|
866
|
+
delete?: never;
|
|
867
|
+
options?: never;
|
|
868
|
+
head?: never;
|
|
869
|
+
patch?: never;
|
|
870
|
+
trace?: never;
|
|
871
|
+
};
|
|
872
|
+
"/api/evaluations/v3/runs/{runId}": {
|
|
873
|
+
parameters: {
|
|
874
|
+
query?: never;
|
|
875
|
+
header?: never;
|
|
876
|
+
path?: never;
|
|
877
|
+
cookie?: never;
|
|
878
|
+
};
|
|
879
|
+
/** @description Get the current status of an evaluation run for polling. Returns progress while running, and summary when completed. */
|
|
880
|
+
get: operations["getEvaluationsV3RunStatus"];
|
|
881
|
+
put?: never;
|
|
882
|
+
post?: never;
|
|
883
|
+
delete?: never;
|
|
884
|
+
options?: never;
|
|
885
|
+
head?: never;
|
|
886
|
+
patch?: never;
|
|
887
|
+
trace?: never;
|
|
888
|
+
};
|
|
855
889
|
}
|
|
856
890
|
interface components {
|
|
857
891
|
schemas: {
|
|
@@ -2817,6 +2851,134 @@ interface operations {
|
|
|
2817
2851
|
};
|
|
2818
2852
|
};
|
|
2819
2853
|
};
|
|
2854
|
+
postEvaluationsV3Run: {
|
|
2855
|
+
parameters: {
|
|
2856
|
+
query?: never;
|
|
2857
|
+
header?: never;
|
|
2858
|
+
path: {
|
|
2859
|
+
/** @description The slug of the evaluation to run */
|
|
2860
|
+
slug: string;
|
|
2861
|
+
};
|
|
2862
|
+
cookie?: never;
|
|
2863
|
+
};
|
|
2864
|
+
requestBody?: never;
|
|
2865
|
+
responses: {
|
|
2866
|
+
/** @description Run started successfully */
|
|
2867
|
+
200: {
|
|
2868
|
+
headers: {
|
|
2869
|
+
[name: string]: unknown;
|
|
2870
|
+
};
|
|
2871
|
+
content: {
|
|
2872
|
+
"application/json": {
|
|
2873
|
+
/** @description Unique identifier for this run */
|
|
2874
|
+
runId: string;
|
|
2875
|
+
/**
|
|
2876
|
+
* @description Initial status of the run
|
|
2877
|
+
* @enum {string}
|
|
2878
|
+
*/
|
|
2879
|
+
status: "running";
|
|
2880
|
+
/** @description Total number of cells to execute */
|
|
2881
|
+
total: number;
|
|
2882
|
+
/** @description URL to view the run in LangWatch */
|
|
2883
|
+
runUrl?: string;
|
|
2884
|
+
};
|
|
2885
|
+
"text/event-stream": string;
|
|
2886
|
+
};
|
|
2887
|
+
};
|
|
2888
|
+
/** @description Unauthorized - Missing or invalid API key */
|
|
2889
|
+
401: {
|
|
2890
|
+
headers: {
|
|
2891
|
+
[name: string]: unknown;
|
|
2892
|
+
};
|
|
2893
|
+
content: {
|
|
2894
|
+
"application/json": {
|
|
2895
|
+
error: string;
|
|
2896
|
+
};
|
|
2897
|
+
};
|
|
2898
|
+
};
|
|
2899
|
+
/** @description Evaluation not found */
|
|
2900
|
+
404: {
|
|
2901
|
+
headers: {
|
|
2902
|
+
[name: string]: unknown;
|
|
2903
|
+
};
|
|
2904
|
+
content: {
|
|
2905
|
+
"application/json": {
|
|
2906
|
+
error: string;
|
|
2907
|
+
};
|
|
2908
|
+
};
|
|
2909
|
+
};
|
|
2910
|
+
};
|
|
2911
|
+
};
|
|
2912
|
+
getEvaluationsV3RunStatus: {
|
|
2913
|
+
parameters: {
|
|
2914
|
+
query?: never;
|
|
2915
|
+
header?: never;
|
|
2916
|
+
path: {
|
|
2917
|
+
/** @description The run ID returned from POST /api/evaluations/v3/{slug}/run */
|
|
2918
|
+
runId: string;
|
|
2919
|
+
};
|
|
2920
|
+
cookie?: never;
|
|
2921
|
+
};
|
|
2922
|
+
requestBody?: never;
|
|
2923
|
+
responses: {
|
|
2924
|
+
/** @description Run status */
|
|
2925
|
+
200: {
|
|
2926
|
+
headers: {
|
|
2927
|
+
[name: string]: unknown;
|
|
2928
|
+
};
|
|
2929
|
+
content: {
|
|
2930
|
+
"application/json": {
|
|
2931
|
+
runId: string;
|
|
2932
|
+
/** @enum {string} */
|
|
2933
|
+
status: "pending" | "running" | "completed" | "failed" | "stopped";
|
|
2934
|
+
/** @description Number of cells completed */
|
|
2935
|
+
progress: number;
|
|
2936
|
+
/** @description Total number of cells */
|
|
2937
|
+
total: number;
|
|
2938
|
+
/** @description Unix timestamp when run started */
|
|
2939
|
+
startedAt?: number;
|
|
2940
|
+
/** @description Unix timestamp when run finished (only present when completed/failed/stopped) */
|
|
2941
|
+
finishedAt?: number;
|
|
2942
|
+
/** @description Execution summary (only present when completed) */
|
|
2943
|
+
summary?: {
|
|
2944
|
+
runId?: string;
|
|
2945
|
+
totalCells?: number;
|
|
2946
|
+
completedCells?: number;
|
|
2947
|
+
failedCells?: number;
|
|
2948
|
+
/** @description Total execution time in milliseconds */
|
|
2949
|
+
duration?: number;
|
|
2950
|
+
/** @description URL to view the run in LangWatch */
|
|
2951
|
+
runUrl?: string;
|
|
2952
|
+
};
|
|
2953
|
+
/** @description Error message (only present when failed) */
|
|
2954
|
+
error?: string;
|
|
2955
|
+
};
|
|
2956
|
+
};
|
|
2957
|
+
};
|
|
2958
|
+
/** @description Unauthorized - Missing or invalid API key */
|
|
2959
|
+
401: {
|
|
2960
|
+
headers: {
|
|
2961
|
+
[name: string]: unknown;
|
|
2962
|
+
};
|
|
2963
|
+
content: {
|
|
2964
|
+
"application/json": {
|
|
2965
|
+
error: string;
|
|
2966
|
+
};
|
|
2967
|
+
};
|
|
2968
|
+
};
|
|
2969
|
+
/** @description Run not found */
|
|
2970
|
+
404: {
|
|
2971
|
+
headers: {
|
|
2972
|
+
[name: string]: unknown;
|
|
2973
|
+
};
|
|
2974
|
+
content: {
|
|
2975
|
+
"application/json": {
|
|
2976
|
+
error: string;
|
|
2977
|
+
};
|
|
2978
|
+
};
|
|
2979
|
+
};
|
|
2980
|
+
};
|
|
2981
|
+
};
|
|
2820
2982
|
}
|
|
2821
2983
|
|
|
2822
2984
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "langwatch",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "LangWatch TypeScript/JavaScript SDK. Interact with the full LangWatch API and use the LangWatch OpenTelemetry SDK to instrument your application. For more information, see https://docs.langwatch.ai/integration/typescript/guide",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|