langwatch 1.7.0 → 1.9.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/{chunk-SYJIEBJY.mjs → chunk-2HA4SJSD.mjs} +2 -2
- package/dist/{chunk-K6KPNTQO.js → chunk-4ERRCKOH.js} +197 -197
- package/dist/{chunk-K6KPNTQO.js.map → chunk-4ERRCKOH.js.map} +1 -1
- package/dist/{chunk-GOIVDBO3.mjs → chunk-4XQHESU7.mjs} +3 -3
- package/dist/{chunk-GOIVDBO3.mjs.map → chunk-4XQHESU7.mjs.map} +1 -1
- package/dist/{chunk-LTDUROCE.mjs → chunk-57L2K66L.mjs} +2 -2
- package/dist/{chunk-ZTOXEWNX.js → chunk-73QOHSHU.js} +2 -2
- package/dist/{chunk-ZTOXEWNX.js.map → chunk-73QOHSHU.js.map} +1 -1
- package/dist/{chunk-MTOAYNSY.mjs → chunk-A52LX4C4.mjs} +3 -3
- package/dist/{chunk-3T7YUVMO.js → chunk-HUMHSRVP.js} +16 -16
- package/dist/{chunk-3T7YUVMO.js.map → chunk-HUMHSRVP.js.map} +1 -1
- package/dist/{chunk-CLTKABMO.js → chunk-LCG5Y2EG.js} +5 -3
- package/dist/chunk-LCG5Y2EG.js.map +1 -0
- package/dist/{chunk-3KAXFA26.js → chunk-NFFB3DWW.js} +19 -19
- package/dist/{chunk-3KAXFA26.js.map → chunk-NFFB3DWW.js.map} +1 -1
- package/dist/{chunk-CMZFFKLA.mjs → chunk-WMDQVWA6.mjs} +5 -3
- package/dist/{chunk-CMZFFKLA.mjs.map → chunk-WMDQVWA6.mjs.map} +1 -1
- package/dist/cli/bundle.js +347 -241
- package/dist/{implementation-j4Y9Dc12.d.ts → implementation-BvwOB77X.d.ts} +1 -1
- package/dist/{implementation-BRb66Lsz.d.mts → implementation-C1F0eCHp.d.mts} +1 -1
- package/dist/index.d.mts +24 -3
- package/dist/index.d.ts +24 -3
- package/dist/index.js +364 -233
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +143 -12
- package/dist/index.mjs.map +1 -1
- package/dist/observability-sdk/index.d.mts +3 -3
- package/dist/observability-sdk/index.d.ts +3 -3
- package/dist/observability-sdk/index.js +5 -5
- package/dist/observability-sdk/index.mjs +4 -4
- 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/instrumentation/langchain/index.js +18 -18
- package/dist/observability-sdk/instrumentation/langchain/index.mjs +2 -2
- package/dist/observability-sdk/setup/node/index.js +4 -4
- package/dist/observability-sdk/setup/node/index.mjs +3 -3
- package/dist/{types-BUivXEKT.d.mts → types-C3NpCWi_.d.mts} +1468 -400
- package/dist/{types-CUPefoJS.d.ts → types-jx13nj4M.d.ts} +1468 -400
- package/package.json +1 -1
- package/dist/chunk-CLTKABMO.js.map +0 -1
- /package/dist/{chunk-SYJIEBJY.mjs.map → chunk-2HA4SJSD.mjs.map} +0 -0
- /package/dist/{chunk-LTDUROCE.mjs.map → chunk-57L2K66L.mjs.map} +0 -0
- /package/dist/{chunk-MTOAYNSY.mjs.map → chunk-A52LX4C4.mjs.map} +0 -0
|
@@ -4,7 +4,7 @@ import { ExportResult } from '@opentelemetry/core';
|
|
|
4
4
|
import { Logger, LogRecord, LoggerProvider } from '@opentelemetry/api-logs';
|
|
5
5
|
import { b as SemConvLogRecordAttributes, a as SemConvAttributes } from './types-VOZv9LYO.js';
|
|
6
6
|
import { TracerProvider } from '@opentelemetry/api';
|
|
7
|
-
import { j as LangWatchTracer } from './types-
|
|
7
|
+
import { j as LangWatchTracer } from './types-jx13nj4M.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Filterable Batch Span Exporter for OpenTelemetry
|
|
@@ -4,7 +4,7 @@ import { ExportResult } from '@opentelemetry/core';
|
|
|
4
4
|
import { Logger, LogRecord, LoggerProvider } from '@opentelemetry/api-logs';
|
|
5
5
|
import { b as SemConvLogRecordAttributes, a as SemConvAttributes } from './types-VOZv9LYO.mjs';
|
|
6
6
|
import { TracerProvider } from '@opentelemetry/api';
|
|
7
|
-
import { j as LangWatchTracer } from './types-
|
|
7
|
+
import { j as LangWatchTracer } from './types-C3NpCWi_.mjs';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Filterable Batch Span Exporter for OpenTelemetry
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { L as Logger, C as ConsoleLogger, N as NoOpLogger } from './index-D7rKIGrO.mjs';
|
|
2
|
-
export { F as FilterableBatchSpanProcessor, L as LangWatchExporter, S as SpanProcessingExcludeRule, g as getLangWatchLogger, a as getLangWatchTracer } from './implementation-
|
|
2
|
+
export { F as FilterableBatchSpanProcessor, L as LangWatchExporter, S as SpanProcessingExcludeRule, g as getLangWatchLogger, a as getLangWatchTracer } from './implementation-C1F0eCHp.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { p as paths, P as PromptResponse, C as CreatePromptBody, U as UpdatePromptBody, T as TagDefinition, a as CreatedTag, o as operations, b as PromptData, F as FetchPolicy, c as Prompt, L as LangWatchSpan, d as components } from './types-
|
|
4
|
+
import { p as paths, P as PromptResponse, C as CreatePromptBody, U as UpdatePromptBody, T as TagDefinition, a as CreatedTag, o as operations, b as PromptData, F as FetchPolicy, c as Prompt, L as LangWatchSpan, d as components } from './types-C3NpCWi_.mjs';
|
|
5
5
|
import openApiCreateClient from 'openapi-fetch';
|
|
6
6
|
export { l as attributes } from './types-VOZv9LYO.mjs';
|
|
7
7
|
import { CliHandledErrorReason, CliHandledError } from '@langwatch/langy/cards/handled-error';
|
|
@@ -3553,7 +3553,21 @@ interface ArchivedProject {
|
|
|
3553
3553
|
declare class ProjectsApiError extends Error {
|
|
3554
3554
|
readonly operation: string;
|
|
3555
3555
|
readonly originalError?: unknown | undefined;
|
|
3556
|
-
|
|
3556
|
+
/**
|
|
3557
|
+
* The status the platform answered with. Callers that resolve a
|
|
3558
|
+
* `--project` selector through the listing branch on it: a 401/403 means
|
|
3559
|
+
* the credential cannot see the listing at all, which is a different
|
|
3560
|
+
* answer to the user than "no project of yours matches this name".
|
|
3561
|
+
*/
|
|
3562
|
+
readonly status?: number | undefined;
|
|
3563
|
+
constructor(message: string, operation: string, originalError?: unknown | undefined,
|
|
3564
|
+
/**
|
|
3565
|
+
* The status the platform answered with. Callers that resolve a
|
|
3566
|
+
* `--project` selector through the listing branch on it: a 401/403 means
|
|
3567
|
+
* the credential cannot see the listing at all, which is a different
|
|
3568
|
+
* answer to the user than "no project of yours matches this name".
|
|
3569
|
+
*/
|
|
3570
|
+
status?: number | undefined);
|
|
3557
3571
|
}
|
|
3558
3572
|
declare class ProjectsApiService {
|
|
3559
3573
|
private readonly endpoint;
|
|
@@ -3562,6 +3576,13 @@ declare class ProjectsApiService {
|
|
|
3562
3576
|
endpoint?: string;
|
|
3563
3577
|
apiKey?: string;
|
|
3564
3578
|
});
|
|
3579
|
+
/**
|
|
3580
|
+
* Bearer, never the project-pinned Basic shape the data routes use. The
|
|
3581
|
+
* listing is the question "which projects can this credential see?", so
|
|
3582
|
+
* naming one project in the header would scope the answer to that project
|
|
3583
|
+
* and defeat the call — including the `--project <slug>` lookup, which reads
|
|
3584
|
+
* the listing precisely because it does not know the id yet.
|
|
3585
|
+
*/
|
|
3565
3586
|
private headers;
|
|
3566
3587
|
private request;
|
|
3567
3588
|
list(options?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { L as Logger, C as ConsoleLogger, N as NoOpLogger } from './index-D7rKIGrO.js';
|
|
2
|
-
export { F as FilterableBatchSpanProcessor, L as LangWatchExporter, S as SpanProcessingExcludeRule, g as getLangWatchLogger, a as getLangWatchTracer } from './implementation-
|
|
2
|
+
export { F as FilterableBatchSpanProcessor, L as LangWatchExporter, S as SpanProcessingExcludeRule, g as getLangWatchLogger, a as getLangWatchTracer } from './implementation-BvwOB77X.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { p as paths, P as PromptResponse, C as CreatePromptBody, U as UpdatePromptBody, T as TagDefinition, a as CreatedTag, o as operations, b as PromptData, F as FetchPolicy, c as Prompt, L as LangWatchSpan, d as components } from './types-
|
|
4
|
+
import { p as paths, P as PromptResponse, C as CreatePromptBody, U as UpdatePromptBody, T as TagDefinition, a as CreatedTag, o as operations, b as PromptData, F as FetchPolicy, c as Prompt, L as LangWatchSpan, d as components } from './types-jx13nj4M.js';
|
|
5
5
|
import openApiCreateClient from 'openapi-fetch';
|
|
6
6
|
export { l as attributes } from './types-VOZv9LYO.js';
|
|
7
7
|
import { CliHandledErrorReason, CliHandledError } from '@langwatch/langy/cards/handled-error';
|
|
@@ -3553,7 +3553,21 @@ interface ArchivedProject {
|
|
|
3553
3553
|
declare class ProjectsApiError extends Error {
|
|
3554
3554
|
readonly operation: string;
|
|
3555
3555
|
readonly originalError?: unknown | undefined;
|
|
3556
|
-
|
|
3556
|
+
/**
|
|
3557
|
+
* The status the platform answered with. Callers that resolve a
|
|
3558
|
+
* `--project` selector through the listing branch on it: a 401/403 means
|
|
3559
|
+
* the credential cannot see the listing at all, which is a different
|
|
3560
|
+
* answer to the user than "no project of yours matches this name".
|
|
3561
|
+
*/
|
|
3562
|
+
readonly status?: number | undefined;
|
|
3563
|
+
constructor(message: string, operation: string, originalError?: unknown | undefined,
|
|
3564
|
+
/**
|
|
3565
|
+
* The status the platform answered with. Callers that resolve a
|
|
3566
|
+
* `--project` selector through the listing branch on it: a 401/403 means
|
|
3567
|
+
* the credential cannot see the listing at all, which is a different
|
|
3568
|
+
* answer to the user than "no project of yours matches this name".
|
|
3569
|
+
*/
|
|
3570
|
+
status?: number | undefined);
|
|
3557
3571
|
}
|
|
3558
3572
|
declare class ProjectsApiService {
|
|
3559
3573
|
private readonly endpoint;
|
|
@@ -3562,6 +3576,13 @@ declare class ProjectsApiService {
|
|
|
3562
3576
|
endpoint?: string;
|
|
3563
3577
|
apiKey?: string;
|
|
3564
3578
|
});
|
|
3579
|
+
/**
|
|
3580
|
+
* Bearer, never the project-pinned Basic shape the data routes use. The
|
|
3581
|
+
* listing is the question "which projects can this credential see?", so
|
|
3582
|
+
* naming one project in the header would scope the answer to that project
|
|
3583
|
+
* and defeat the call — including the `--project <slug>` lookup, which reads
|
|
3584
|
+
* the listing precisely because it does not know the id yet.
|
|
3585
|
+
*/
|
|
3565
3586
|
private headers;
|
|
3566
3587
|
private request;
|
|
3567
3588
|
list(options?: {
|