autotel-terminal 47.1.12 → 48.0.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/README.md +4 -4
- package/dist/cli.cjs +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{src-84DOR7P-.js → src-CjFiS5vC.js} +1 -1
- package/dist/{src-CvQpdx2J.cjs → src-aAUPubr9.cjs} +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -163,14 +163,14 @@ import {
|
|
|
163
163
|
createTerminalSpanStream,
|
|
164
164
|
renderTerminal,
|
|
165
165
|
} from 'autotel-terminal';
|
|
166
|
-
import { BatchSpanProcessor } from '@opentelemetry/sdk-trace
|
|
166
|
+
import { BatchSpanProcessor } from '@opentelemetry/sdk-trace';
|
|
167
167
|
import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-http';
|
|
168
168
|
|
|
169
169
|
// Create exporter and base processor for your backend
|
|
170
170
|
const exporter = new OTLPTraceExporter({
|
|
171
171
|
url: 'http://localhost:4318/v1/traces',
|
|
172
172
|
});
|
|
173
|
-
const batchProcessor = new BatchSpanProcessor(exporter);
|
|
173
|
+
const batchProcessor = new BatchSpanProcessor({ exporter });
|
|
174
174
|
|
|
175
175
|
// Create streaming processor that wraps your batch processor
|
|
176
176
|
// Spans are forwarded to both the dashboard AND the backend
|
|
@@ -330,13 +330,13 @@ A span processor that emits completed spans to subscribers. Can wrap another pro
|
|
|
330
330
|
|
|
331
331
|
```typescript
|
|
332
332
|
import { StreamingSpanProcessor } from 'autotel-terminal';
|
|
333
|
-
import { BatchSpanProcessor } from '@opentelemetry/sdk-trace
|
|
333
|
+
import { BatchSpanProcessor } from '@opentelemetry/sdk-trace';
|
|
334
334
|
|
|
335
335
|
// Standalone (no forwarding)
|
|
336
336
|
const streamingProcessor = new StreamingSpanProcessor(null);
|
|
337
337
|
|
|
338
338
|
// Or wrap an existing processor (spans forwarded to both)
|
|
339
|
-
const batchProcessor = new BatchSpanProcessor(exporter);
|
|
339
|
+
const batchProcessor = new BatchSpanProcessor({ exporter });
|
|
340
340
|
const streamingProcessor = new StreamingSpanProcessor(batchProcessor);
|
|
341
341
|
|
|
342
342
|
// Subscribe to spans directly (alternative to using createTerminalSpanStream)
|
package/dist/cli.cjs
CHANGED
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as getTerminalLogStream, i as renderTerminal } from "./src-
|
|
2
|
+
import { a as getTerminalLogStream, i as renderTerminal } from "./src-CjFiS5vC.js";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import { createServer } from "node:http";
|
|
5
5
|
import path from "node:path";
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_src = require("./src-
|
|
2
|
+
const require_src = require("./src-aAUPubr9.cjs");
|
|
3
3
|
let autotel_exporters = require("autotel/exporters");
|
|
4
4
|
let autotel = require("autotel");
|
|
5
5
|
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReadableSpan, ReadableSpan as ReadableSpan$1, Span, SpanProcessor } from "@opentelemetry/sdk-trace
|
|
1
|
+
import { ReadableSpan, ReadableSpan as ReadableSpan$1, Span, SpanProcessor } from "@opentelemetry/sdk-trace";
|
|
2
2
|
import { Context } from "@opentelemetry/api";
|
|
3
3
|
import { LanguageModel } from "ai";
|
|
4
4
|
import "@json-render/ink";
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { SpanKind, SpanStatusCode } from "autotel";
|
|
|
2
2
|
import { LanguageModel } from "ai";
|
|
3
3
|
import "@json-render/ink";
|
|
4
4
|
import { PrettyConsoleExporter, PrettyConsoleExporterOptions } from "autotel/exporters";
|
|
5
|
-
import { ReadableSpan, ReadableSpan as ReadableSpan$1, Span, SpanProcessor } from "@opentelemetry/sdk-trace
|
|
5
|
+
import { ReadableSpan, ReadableSpan as ReadableSpan$1, Span, SpanProcessor } from "@opentelemetry/sdk-trace";
|
|
6
6
|
import { Context } from "@opentelemetry/api";
|
|
7
7
|
//#region src/attrs.d.ts
|
|
8
8
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as getTerminalLogStream, i as renderTerminal, n as SpanKind, o as createTerminalSpanStream, r as SpanStatusCode, s as StreamingSpanProcessor, t as PrettyConsoleExporter } from "./src-
|
|
1
|
+
import { a as getTerminalLogStream, i as renderTerminal, n as SpanKind, o as createTerminalSpanStream, r as SpanStatusCode, s as StreamingSpanProcessor, t as PrettyConsoleExporter } from "./src-CjFiS5vC.js";
|
|
2
2
|
|
|
3
3
|
export { PrettyConsoleExporter, SpanKind, SpanStatusCode, StreamingSpanProcessor, createTerminalSpanStream, getTerminalLogStream, renderTerminal };
|
|
@@ -1243,7 +1243,7 @@ async function providerStreamText(providerType, params) {
|
|
|
1243
1243
|
* import { createTerminalSpanStream } from 'autotel-terminal'
|
|
1244
1244
|
* import { BatchSpanProcessor } from 'autotel/processors'
|
|
1245
1245
|
*
|
|
1246
|
-
* const processor = new StreamingSpanProcessor(new BatchSpanProcessor(exporter))
|
|
1246
|
+
* const processor = new StreamingSpanProcessor(new BatchSpanProcessor({ exporter }))
|
|
1247
1247
|
* const stream = createTerminalSpanStream(processor)
|
|
1248
1248
|
* renderTerminal({}, stream)
|
|
1249
1249
|
* ```
|
|
@@ -1271,7 +1271,7 @@ async function providerStreamText(providerType, params) {
|
|
|
1271
1271
|
* import { createTerminalSpanStream } from 'autotel-terminal'
|
|
1272
1272
|
* import { BatchSpanProcessor } from 'autotel/processors'
|
|
1273
1273
|
*
|
|
1274
|
-
* const processor = new StreamingSpanProcessor(new BatchSpanProcessor(exporter))
|
|
1274
|
+
* const processor = new StreamingSpanProcessor(new BatchSpanProcessor({ exporter }))
|
|
1275
1275
|
* const stream = createTerminalSpanStream(processor)
|
|
1276
1276
|
* renderTerminal({}, stream)
|
|
1277
1277
|
* ```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "autotel-terminal",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "48.0.0",
|
|
4
4
|
"description": "Terminal dashboard for autotel traces using react-ink",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@ai-sdk/openai": "^4.0.96",
|
|
54
54
|
"@ai-sdk/openai-compatible": "^3.0.71",
|
|
55
|
-
"@opentelemetry/api": "^1.
|
|
56
|
-
"@opentelemetry/sdk-trace
|
|
55
|
+
"@opentelemetry/api": "^1.10.0",
|
|
56
|
+
"@opentelemetry/sdk-trace": "^3.1.0",
|
|
57
57
|
"ai-sdk-ollama": "^4.5.1",
|
|
58
|
-
"autotel": "
|
|
58
|
+
"autotel": "9.0.0"
|
|
59
59
|
},
|
|
60
60
|
"peerDependenciesMeta": {
|
|
61
61
|
"@ai-sdk/openai": {
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
"@ai-sdk/openai": "^4.0.96",
|
|
73
73
|
"@ai-sdk/openai-compatible": "^3.0.71",
|
|
74
74
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
75
|
-
"@opentelemetry/api": "^1.
|
|
75
|
+
"@opentelemetry/api": "^1.10.0",
|
|
76
76
|
"@types/node": "^26.6.5",
|
|
77
77
|
"@types/react": "^19.3.0",
|
|
78
78
|
"ai-sdk-ollama": "^4.5.1",
|
|
79
|
-
"autotel": "
|
|
79
|
+
"autotel": "9.0.0",
|
|
80
80
|
"prettier": "^3.9.10",
|
|
81
81
|
"rimraf": "^6.1.3",
|
|
82
82
|
"tsdown": "^0.23.1",
|