langwatch 2.1.0 → 2.2.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/agent/index.js +1 -1
- package/dist/agent/index.js.map +1 -1
- package/dist/agent/index.mjs +1 -1
- package/dist/agent/index.mjs.map +1 -1
- package/dist/{chunk-UHM5RXEW.mjs → chunk-OAAGWSLX.mjs} +2 -2
- package/dist/{chunk-XVXTLQGK.mjs → chunk-P65KWWFU.mjs} +2 -2
- package/dist/{chunk-XVXTLQGK.mjs.map → chunk-P65KWWFU.mjs.map} +1 -1
- package/dist/{chunk-4HRQZXNE.js → chunk-PDTYQM5C.js} +2 -2
- package/dist/{chunk-4HRQZXNE.js.map → chunk-PDTYQM5C.js.map} +1 -1
- package/dist/{chunk-VJK42Y3W.js → chunk-TQJS5H5P.js} +12 -12
- package/dist/{chunk-VJK42Y3W.js.map → chunk-TQJS5H5P.js.map} +1 -1
- package/dist/cli/bundle.js +941 -437
- package/dist/{implementation-CNNrmXZu.d.mts → implementation-CMJfitMa.d.mts} +1 -1
- package/dist/{implementation-Atjtldz3.d.ts → implementation-CaKFOMnp.d.ts} +1 -1
- package/dist/index.d.mts +67 -5
- package/dist/index.d.ts +67 -5
- package/dist/index.js +135 -41
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +105 -11
- 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 +2 -2
- package/dist/observability-sdk/index.mjs +1 -1
- 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 +3 -3
- package/dist/observability-sdk/setup/node/index.mjs +2 -2
- package/dist/{types--djDPuMb.d.ts → types-0leNdzy4.d.ts} +554 -11
- package/dist/{types-GklcWLfF.d.mts → types-DNjiOkpS.d.mts} +554 -11
- package/package.json +1 -1
- /package/dist/{chunk-UHM5RXEW.mjs.map → chunk-OAAGWSLX.mjs.map} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { F as FilterableBatchSpanProcessor, L as LangWatchExporter, b as LangWatchExporterOptions, c as LangWatchLogger, L as LangWatchTraceExporter, b as LangWatchTraceExporterOptions, S as SpanProcessingExcludeRule, g as getLangWatchLogger, d as getLangWatchLoggerFromProvider, a as getLangWatchTracer, e as getLangWatchTracerFromProvider } from '../implementation-
|
|
1
|
+
export { F as FilterableBatchSpanProcessor, L as LangWatchExporter, b as LangWatchExporterOptions, c as LangWatchLogger, L as LangWatchTraceExporter, b as LangWatchTraceExporterOptions, S as SpanProcessingExcludeRule, g as getLangWatchLogger, d as getLangWatchLoggerFromProvider, a as getLangWatchTracer, e as getLangWatchTracerFromProvider } from '../implementation-CMJfitMa.mjs';
|
|
2
2
|
import { OTLPLogExporter } from '@opentelemetry/exporter-logs-otlp-proto';
|
|
3
3
|
import { CompressionAlgorithm } from '@opentelemetry/otlp-exporter-base';
|
|
4
4
|
import { D as DataCaptureMode } from '../types-RkiBQZ9j.mjs';
|
|
5
5
|
export { a as DataCaptureConfig, b as DataCaptureContext, c as DataCaptureOptions, d as DataCapturePredicate } from '../types-RkiBQZ9j.mjs';
|
|
6
|
-
import { L as LangWatchSpan } from '../types-
|
|
7
|
-
export { A as AddEvaluationParams, E as EvaluationStatus, e as EvaluationTimestamps, I as INPUT_OUTPUT_TYPES, f as InputOutputType, J as JsonSerializable, g as LangWatchSpanMetrics, h as LangWatchSpanOptions, i as LangWatchSpanRAGContext, j as LangWatchTracer, S as SimpleChatMessage, k as SpanType, l as emitEvaluationEvent, s as spanTypes } from '../types-
|
|
6
|
+
import { L as LangWatchSpan } from '../types-DNjiOkpS.mjs';
|
|
7
|
+
export { A as AddEvaluationParams, E as EvaluationStatus, e as EvaluationTimestamps, I as INPUT_OUTPUT_TYPES, f as InputOutputType, J as JsonSerializable, g as LangWatchSpanMetrics, h as LangWatchSpanOptions, i as LangWatchSpanRAGContext, j as LangWatchTracer, S as SimpleChatMessage, k as SpanType, l as emitEvaluationEvent, s as spanTypes } from '../types-DNjiOkpS.mjs';
|
|
8
8
|
import { Span } from '@opentelemetry/api';
|
|
9
9
|
export { S as SemConvAttributeKey, a as SemConvAttributes, b as SemConvLogRecordAttributes, l as attributes } from '../types-CoS5PmeU.mjs';
|
|
10
10
|
import '@opentelemetry/sdk-trace-base';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { F as FilterableBatchSpanProcessor, L as LangWatchExporter, b as LangWatchExporterOptions, c as LangWatchLogger, L as LangWatchTraceExporter, b as LangWatchTraceExporterOptions, S as SpanProcessingExcludeRule, g as getLangWatchLogger, d as getLangWatchLoggerFromProvider, a as getLangWatchTracer, e as getLangWatchTracerFromProvider } from '../implementation-
|
|
1
|
+
export { F as FilterableBatchSpanProcessor, L as LangWatchExporter, b as LangWatchExporterOptions, c as LangWatchLogger, L as LangWatchTraceExporter, b as LangWatchTraceExporterOptions, S as SpanProcessingExcludeRule, g as getLangWatchLogger, d as getLangWatchLoggerFromProvider, a as getLangWatchTracer, e as getLangWatchTracerFromProvider } from '../implementation-CaKFOMnp.js';
|
|
2
2
|
import { OTLPLogExporter } from '@opentelemetry/exporter-logs-otlp-proto';
|
|
3
3
|
import { CompressionAlgorithm } from '@opentelemetry/otlp-exporter-base';
|
|
4
4
|
import { D as DataCaptureMode } from '../types-RkiBQZ9j.js';
|
|
5
5
|
export { a as DataCaptureConfig, b as DataCaptureContext, c as DataCaptureOptions, d as DataCapturePredicate } from '../types-RkiBQZ9j.js';
|
|
6
|
-
import { L as LangWatchSpan } from '../types
|
|
7
|
-
export { A as AddEvaluationParams, E as EvaluationStatus, e as EvaluationTimestamps, I as INPUT_OUTPUT_TYPES, f as InputOutputType, J as JsonSerializable, g as LangWatchSpanMetrics, h as LangWatchSpanOptions, i as LangWatchSpanRAGContext, j as LangWatchTracer, S as SimpleChatMessage, k as SpanType, l as emitEvaluationEvent, s as spanTypes } from '../types
|
|
6
|
+
import { L as LangWatchSpan } from '../types-0leNdzy4.js';
|
|
7
|
+
export { A as AddEvaluationParams, E as EvaluationStatus, e as EvaluationTimestamps, I as INPUT_OUTPUT_TYPES, f as InputOutputType, J as JsonSerializable, g as LangWatchSpanMetrics, h as LangWatchSpanOptions, i as LangWatchSpanRAGContext, j as LangWatchTracer, S as SimpleChatMessage, k as SpanType, l as emitEvaluationEvent, s as spanTypes } from '../types-0leNdzy4.js';
|
|
8
8
|
import { Span } from '@opentelemetry/api';
|
|
9
9
|
export { S as SemConvAttributeKey, a as SemConvAttributes, b as SemConvLogRecordAttributes, l as attributes } from '../types-CoS5PmeU.js';
|
|
10
10
|
import '@opentelemetry/sdk-trace-base';
|
|
@@ -14,7 +14,7 @@ var _chunkE35GFO25js = require('../chunk-E35GFO25.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkPDTYQM5Cjs = require('../chunk-PDTYQM5C.js');
|
|
18
18
|
require('../chunk-BL3GHEKF.js');
|
|
19
19
|
|
|
20
20
|
|
|
@@ -41,5 +41,5 @@ var _chunkN76BG37Wjs = require('../chunk-N76BG37W.js');
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
exports.DataCapturePresets = _chunkWDUUAIG3js.DataCapturePresets; exports.FilterableBatchSpanProcessor = _chunkWDUUAIG3js.FilterableBatchSpanProcessor; exports.LangWatchExporter =
|
|
44
|
+
exports.DataCapturePresets = _chunkWDUUAIG3js.DataCapturePresets; exports.FilterableBatchSpanProcessor = _chunkWDUUAIG3js.FilterableBatchSpanProcessor; exports.LangWatchExporter = _chunkPDTYQM5Cjs.LangWatchTraceExporter; exports.LangWatchLogsExporter = _chunkPDTYQM5Cjs.LangWatchLogsExporter; exports.LangWatchTraceExporter = _chunkPDTYQM5Cjs.LangWatchTraceExporter; exports.attributes = _chunkN76BG37Wjs.attributes_exports; exports.createLangWatchSpan = _chunkE35GFO25js.createLangWatchSpan; exports.emitEvaluationEvent = _chunkE35GFO25js.emitEvaluationEvent; exports.getDataCaptureMode = _chunk5VYEG3RSjs.getDataCaptureMode; exports.getLangWatchLogger = _chunkPDTYQM5Cjs.getLangWatchLogger; exports.getLangWatchLoggerFromProvider = _chunkPDTYQM5Cjs.getLangWatchLoggerFromProvider; exports.getLangWatchTracer = _chunkE35GFO25js.getLangWatchTracer; exports.getLangWatchTracerFromProvider = _chunkE35GFO25js.getLangWatchTracerFromProvider; exports.shouldCaptureInput = _chunk5VYEG3RSjs.shouldCaptureInput; exports.shouldCaptureOutput = _chunk5VYEG3RSjs.shouldCaptureOutput; exports.spanTypes = _chunkE35GFO25js.spanTypes;
|
|
45
45
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _opentelemetry_api from '@opentelemetry/api';
|
|
2
2
|
import { Attributes } from '@opentelemetry/api';
|
|
3
|
-
import { j as LangWatchTracer, L as LangWatchSpan, m as ChatMessage } from '../../../types-
|
|
3
|
+
import { j as LangWatchTracer, L as LangWatchSpan, m as ChatMessage } from '../../../types-DNjiOkpS.mjs';
|
|
4
4
|
import { AgentAction, AgentFinish } from '@langchain/core/agents';
|
|
5
5
|
import { BaseCallbackHandler } from '@langchain/core/callbacks/base';
|
|
6
6
|
import { DocumentInterface } from '@langchain/core/documents';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _opentelemetry_api from '@opentelemetry/api';
|
|
2
2
|
import { Attributes } from '@opentelemetry/api';
|
|
3
|
-
import { j as LangWatchTracer, L as LangWatchSpan, m as ChatMessage } from '../../../types
|
|
3
|
+
import { j as LangWatchTracer, L as LangWatchSpan, m as ChatMessage } from '../../../types-0leNdzy4.js';
|
|
4
4
|
import { AgentAction, AgentFinish } from '@langchain/core/agents';
|
|
5
5
|
import { BaseCallbackHandler } from '@langchain/core/callbacks/base';
|
|
6
6
|
import { DocumentInterface } from '@langchain/core/documents';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../../chunk-
|
|
4
|
+
var _chunkTQJS5H5Pjs = require('../../../chunk-TQJS5H5P.js');
|
|
5
|
+
require('../../../chunk-PDTYQM5C.js');
|
|
6
6
|
require('../../../chunk-BL3GHEKF.js');
|
|
7
7
|
require('../../../chunk-5VYEG3RS.js');
|
|
8
8
|
require('../../../chunk-N76BG37W.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.ensureSetup =
|
|
12
|
+
exports.ensureSetup = _chunkTQJS5H5Pjs.ensureSetup; exports.setupObservability = _chunkTQJS5H5Pjs.setupObservability;
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureSetup,
|
|
3
3
|
setupObservability
|
|
4
|
-
} from "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
4
|
+
} from "../../../chunk-OAAGWSLX.mjs";
|
|
5
|
+
import "../../../chunk-P65KWWFU.mjs";
|
|
6
6
|
import "../../../chunk-C7IWJ2GJ.mjs";
|
|
7
7
|
import "../../../chunk-SERULD4Z.mjs";
|
|
8
8
|
import "../../../chunk-WSGVZ3J2.mjs";
|