langsmith 0.8.2 → 0.8.3
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/_openapi_client/resources/runs.d.ts +1 -0
- package/dist/_openapi_client/resources/sandboxes/boxes.d.ts +8 -0
- package/dist/_openapi_client/resources/sandboxes/sandboxes.d.ts +1 -0
- package/dist/_openapi_client/resources/threads.d.ts +16 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +4 -2
|
@@ -68,6 +68,14 @@ export interface BoxCreateParams {
|
|
|
68
68
|
mem_bytes?: number;
|
|
69
69
|
mount_config?: BoxCreateParams.MountConfig;
|
|
70
70
|
name?: string;
|
|
71
|
+
/**
|
|
72
|
+
* PreserveMemoryOnStop, when true, suspends the sandbox's memory on a voluntary
|
|
73
|
+
* stop (idle timeout or explicit stop) so the next start resumes from where it
|
|
74
|
+
* left off. Default false discards memory and keeps only the filesystem, so the
|
|
75
|
+
* next start is a cold boot. Restarts triggered by infrastructure maintenance
|
|
76
|
+
* always preserve memory regardless of this setting.
|
|
77
|
+
*/
|
|
78
|
+
preserve_memory_on_stop?: boolean;
|
|
71
79
|
proxy_config?: BoxCreateParams.ProxyConfig;
|
|
72
80
|
/**
|
|
73
81
|
* RestoreMemory selects how the sandbox handles a snapshot's captured memory:
|
|
@@ -457,6 +457,11 @@ export interface ThreadTrace {
|
|
|
457
457
|
* is still in progress. Omitted unless included in `selects`.
|
|
458
458
|
*/
|
|
459
459
|
end_time?: string;
|
|
460
|
+
/**
|
|
461
|
+
* `error` is the full root run error message when the run failed. Omitted unless
|
|
462
|
+
* included in `selects`.
|
|
463
|
+
*/
|
|
464
|
+
error?: string;
|
|
460
465
|
/**
|
|
461
466
|
* `error_preview` is a short error summary when the run failed. Omitted unless
|
|
462
467
|
* included in `selects`.
|
|
@@ -468,6 +473,11 @@ export interface ThreadTrace {
|
|
|
468
473
|
* in `selects`.
|
|
469
474
|
*/
|
|
470
475
|
first_token_time?: string;
|
|
476
|
+
/**
|
|
477
|
+
* `inputs` is the full root run input payload. Omitted unless included in
|
|
478
|
+
* `selects`.
|
|
479
|
+
*/
|
|
480
|
+
inputs?: unknown;
|
|
471
481
|
/**
|
|
472
482
|
* `inputs_preview` is a truncated text preview of inputs. Omitted unless included
|
|
473
483
|
* in `selects`.
|
|
@@ -491,6 +501,11 @@ export interface ThreadTrace {
|
|
|
491
501
|
* included in `selects`.
|
|
492
502
|
*/
|
|
493
503
|
op?: number;
|
|
504
|
+
/**
|
|
505
|
+
* `outputs` is the full root run output payload. Omitted unless included in
|
|
506
|
+
* `selects`.
|
|
507
|
+
*/
|
|
508
|
+
outputs?: unknown;
|
|
494
509
|
/**
|
|
495
510
|
* `outputs_preview` is a truncated text preview of outputs. Omitted unless
|
|
496
511
|
* included in `selects`.
|
|
@@ -614,7 +629,7 @@ export interface ThreadListTracesParams extends ItemsCursorGetPaginationParams {
|
|
|
614
629
|
* Properties not listed are omitted from each trace object; `trace_id` is always
|
|
615
630
|
* returned.
|
|
616
631
|
*/
|
|
617
|
-
selects?: Array<'THREAD_ID' | 'TRACE_ID' | 'OP' | 'PROMPT_TOKENS' | 'COMPLETION_TOKENS' | 'TOTAL_TOKENS' | 'START_TIME' | 'END_TIME' | 'LATENCY' | 'FIRST_TOKEN_TIME' | 'INPUTS_PREVIEW' | 'OUTPUTS_PREVIEW' | 'PROMPT_COST' | 'COMPLETION_COST' | 'TOTAL_COST' | 'PROMPT_TOKEN_DETAILS' | 'COMPLETION_TOKEN_DETAILS' | 'PROMPT_COST_DETAILS' | 'COMPLETION_COST_DETAILS' | 'NAME' | 'ERROR_PREVIEW'>;
|
|
632
|
+
selects?: Array<'THREAD_ID' | 'TRACE_ID' | 'OP' | 'PROMPT_TOKENS' | 'COMPLETION_TOKENS' | 'TOTAL_TOKENS' | 'START_TIME' | 'END_TIME' | 'LATENCY' | 'FIRST_TOKEN_TIME' | 'INPUTS_PREVIEW' | 'OUTPUTS_PREVIEW' | 'INPUTS' | 'OUTPUTS' | 'ERROR' | 'PROMPT_COST' | 'COMPLETION_COST' | 'TOTAL_COST' | 'PROMPT_TOKEN_DETAILS' | 'COMPLETION_TOKEN_DETAILS' | 'PROMPT_COST_DETAILS' | 'COMPLETION_COST_DETAILS' | 'NAME' | 'ERROR_PREVIEW'>;
|
|
618
633
|
}
|
|
619
634
|
export interface ThreadQueryParams extends ItemsCursorPostPaginationParams {
|
|
620
635
|
/**
|
package/dist/index.cjs
CHANGED
|
@@ -34,6 +34,6 @@ Object.defineProperty(exports, "UnprocessableEntityError", { enumerable: true, g
|
|
|
34
34
|
Object.defineProperty(exports, "RateLimitError", { enumerable: true, get: function () { return error_js_1.RateLimitError; } });
|
|
35
35
|
Object.defineProperty(exports, "InternalServerError", { enumerable: true, get: function () { return error_js_1.InternalServerError; } });
|
|
36
36
|
// Update using pnpm bump-version
|
|
37
|
-
exports.__version__ = "0.8.
|
|
37
|
+
exports.__version__ = "0.8.3";
|
|
38
38
|
// Metadata key to hide a traced run from LangSmith's Messages View.
|
|
39
39
|
exports.LS_MESSAGE_VIEW_EXCLUDE = "ls_message_view_exclude";
|
package/dist/index.d.ts
CHANGED
|
@@ -7,5 +7,5 @@ export { uuid7, uuid7FromTime } from "./uuid.js";
|
|
|
7
7
|
export { isTracingEnabled } from "./utils/guard.js";
|
|
8
8
|
export { Cache, PromptCache, type CacheConfig, type CacheMetrics, configureGlobalPromptCache, promptCacheSingleton, } from "./utils/prompt_cache/index.js";
|
|
9
9
|
export { LangsmithError, APIError, APIUserAbortError, APIConnectionError, APIConnectionTimeoutError, BadRequestError, AuthenticationError, PermissionDeniedError, NotFoundError, ConflictError, UnprocessableEntityError, RateLimitError, InternalServerError, } from "./_openapi_client/core/error.js";
|
|
10
|
-
export declare const __version__ = "0.8.
|
|
10
|
+
export declare const __version__ = "0.8.3";
|
|
11
11
|
export declare const LS_MESSAGE_VIEW_EXCLUDE: "ls_message_view_exclude";
|
package/dist/index.js
CHANGED
|
@@ -7,6 +7,6 @@ export { isTracingEnabled } from "./utils/guard.js";
|
|
|
7
7
|
export { Cache, PromptCache, configureGlobalPromptCache, promptCacheSingleton, } from "./utils/prompt_cache/index.js";
|
|
8
8
|
export { LangsmithError, APIError, APIUserAbortError, APIConnectionError, APIConnectionTimeoutError, BadRequestError, AuthenticationError, PermissionDeniedError, NotFoundError, ConflictError, UnprocessableEntityError, RateLimitError, InternalServerError, } from "./_openapi_client/core/error.js";
|
|
9
9
|
// Update using pnpm bump-version
|
|
10
|
-
export const __version__ = "0.8.
|
|
10
|
+
export const __version__ = "0.8.3";
|
|
11
11
|
// Metadata key to hide a traced run from LangSmith's Messages View.
|
|
12
12
|
export const LS_MESSAGE_VIEW_EXCLUDE = "ls_message_view_exclude";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "langsmith",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
4
4
|
"description": "Client library to connect to the LangSmith Observability and Evaluation Platform.",
|
|
5
5
|
"packageManager": "pnpm@10.33.0",
|
|
6
6
|
"files": [
|
|
@@ -476,7 +476,9 @@
|
|
|
476
476
|
"pnpm": {
|
|
477
477
|
"overrides": {
|
|
478
478
|
"js-yaml": "^4.1.1",
|
|
479
|
-
"vite": "^7.3.2"
|
|
479
|
+
"vite": "^7.3.2",
|
|
480
|
+
"form-data": "4.0.6",
|
|
481
|
+
"langsmith": "0.6.0"
|
|
480
482
|
}
|
|
481
483
|
},
|
|
482
484
|
"browser": {
|