autotel-devtools 23.1.0 → 24.1.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/cli.cjs +2 -2
- package/dist/cli.js +2 -2
- package/dist/{error-aggregator-B52JI8jL.d.ts → error-aggregator-BzhW482_.d.ts} +1 -1
- package/dist/{error-aggregator-DSwUvgFF.d.cts → error-aggregator-DkUrfGol.d.cts} +1 -1
- package/dist/{exporter-C88W22vY.d.ts → exporter-BRSxg3Du.d.ts} +25 -2
- package/dist/{exporter-OoWkSMCR.d.cts → exporter-BgjMeWvt.d.cts} +25 -2
- package/dist/fullpage.global.js +37 -30
- package/dist/genai/index.d.cts +1 -1
- package/dist/genai/index.d.ts +1 -1
- package/dist/{grpc-D0B3P9sI.cjs → grpc-AXr0CnZ_.cjs} +1 -1
- package/dist/{grpc-DY-C1jSU.js → grpc-C35twtEj.js} +1 -1
- package/dist/{http-1afd_01N.cjs → http-Dc57PtwQ.cjs} +256 -0
- package/dist/{http-gk1xapnA.js → http-JTSqQPVJ.js} +257 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/server/exporter.d.cts +1 -1
- package/dist/server/exporter.d.ts +1 -1
- package/dist/server/index.cjs +2 -2
- package/dist/server/index.d.cts +4 -4
- package/dist/server/index.d.ts +4 -4
- package/dist/server/index.js +2 -2
- package/dist/{types-DM8y4A9Z.d.ts → types-Do48caKG.d.ts} +1 -1
- package/dist/{types-B0tjwFqj.d.cts → types-ZU74Na4z.d.cts} +1 -1
- package/dist/types-hVSf0DoT.d.cts +138 -0
- package/dist/types-hVSf0DoT.d.ts +138 -0
- package/dist/widget.global.js +14 -14
- package/dist/wire/index.d.cts +1 -1
- package/dist/wire/index.d.ts +1 -1
- package/package.json +2 -2
- package/dist/types-DHDvZnnn.d.cts +0 -47
- package/dist/types-DHDvZnnn.d.ts +0 -47
package/dist/cli.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const require_http = require('./http-
|
|
2
|
+
const require_http = require('./http-Dc57PtwQ.cjs');
|
|
3
3
|
const require_listen = require('./listen-l09RRHht.cjs');
|
|
4
|
-
const require_grpc = require('./grpc-
|
|
4
|
+
const require_grpc = require('./grpc-AXr0CnZ_.cjs');
|
|
5
5
|
let node_http = require("node:http");
|
|
6
6
|
let node_fs = require("node:fs");
|
|
7
7
|
let node_path = require("node:path");
|
package/dist/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as probePortHolder, g as hostHeaderIsLoopback, l as DevtoolsServer, r as resolveSourceRoot, t as attachDevtoolsRoutes } from "./http-
|
|
2
|
+
import { a as probePortHolder, g as hostHeaderIsLoopback, l as DevtoolsServer, r as resolveSourceRoot, t as attachDevtoolsRoutes } from "./http-JTSqQPVJ.js";
|
|
3
3
|
import { t as listenLoopbackDualStack } from "./listen-D-lLgfro.js";
|
|
4
|
-
import { t as startOtlpGrpcReceiver } from "./grpc-
|
|
4
|
+
import { t as startOtlpGrpcReceiver } from "./grpc-C35twtEj.js";
|
|
5
5
|
import { createServer } from "node:http";
|
|
6
6
|
import { readFileSync } from "node:fs";
|
|
7
7
|
import { dirname, resolve } from "node:path";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ErrorGroup, o as TraceData, r as ErrorOccurrence } from "./types-
|
|
1
|
+
import { n as ErrorGroup, o as TraceData, r as ErrorOccurrence } from "./types-Do48caKG.js";
|
|
2
2
|
//#region src/server/error-aggregator.d.ts
|
|
3
3
|
/** How many errors the aggregator is holding, and what they are. */
|
|
4
4
|
interface ErrorStats {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ErrorGroup, o as TraceData, r as ErrorOccurrence } from "./types-
|
|
1
|
+
import { n as ErrorGroup, o as TraceData, r as ErrorOccurrence } from "./types-ZU74Na4z.cjs";
|
|
2
2
|
//#region src/server/error-aggregator.d.ts
|
|
3
3
|
/** How many errors the aggregator is holding, and what they are. */
|
|
4
4
|
interface ErrorStats {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as QueryError, r as SignalSchema } from "./compile-JDFHUCo5.js";
|
|
2
|
-
import { n as SpanAttributes } from "./types-
|
|
3
|
-
import { i as LogData, n as ErrorGroup, o as TraceData, t as DevtoolsData } from "./types-
|
|
2
|
+
import { i as WebMcpInventory, n as SpanAttributes } from "./types-hVSf0DoT.js";
|
|
3
|
+
import { i as LogData, n as ErrorGroup, o as TraceData, t as DevtoolsData } from "./types-Do48caKG.js";
|
|
4
4
|
import { Server } from "node:http";
|
|
5
5
|
import { AgentRawEvent, OtelMetricRecord } from "autotel-agents";
|
|
6
6
|
import { ExportResult } from "@opentelemetry/core";
|
|
@@ -504,6 +504,29 @@ declare class DevtoolsServer {
|
|
|
504
504
|
errors: ErrorGroup[];
|
|
505
505
|
errors_parse?: QueryError[];
|
|
506
506
|
};
|
|
507
|
+
/**
|
|
508
|
+
* Fold WebMCP lifecycle history through the window end into the tool surface
|
|
509
|
+
* an agent is offered, while counting executions only inside the window.
|
|
510
|
+
*
|
|
511
|
+
* Drains every page rather than folding the first one: an inventory built
|
|
512
|
+
* from a page of results does not fail, it *under-reports* — "2 tools dropped
|
|
513
|
+
* annotations" when the answer is 6 — and gets more wrong the more traffic
|
|
514
|
+
* there is, which is backwards for an observability answer.
|
|
515
|
+
*
|
|
516
|
+
* The span-name filter is composed here rather than accepted from the client:
|
|
517
|
+
* this endpoint answers one question, and a caller-supplied predicate could
|
|
518
|
+
* only narrow it into a wrong answer.
|
|
519
|
+
*/
|
|
520
|
+
queryWebMcp(args: {
|
|
521
|
+
window?: {
|
|
522
|
+
start: number;
|
|
523
|
+
end: number;
|
|
524
|
+
};
|
|
525
|
+
limit?: number;
|
|
526
|
+
}): {
|
|
527
|
+
webmcp: WebMcpInventory;
|
|
528
|
+
errors_parse?: QueryError[];
|
|
529
|
+
};
|
|
507
530
|
/** Run a log query against the durable store. */
|
|
508
531
|
queryLogs(args: QueryLogsArgs): QueryLogsResult;
|
|
509
532
|
listQueryFields(signal: 'traces' | 'logs'): string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as QueryError, r as SignalSchema } from "./compile-JDFHUCo5.cjs";
|
|
2
|
-
import { n as SpanAttributes } from "./types-
|
|
3
|
-
import { i as LogData, n as ErrorGroup, o as TraceData, t as DevtoolsData } from "./types-
|
|
2
|
+
import { i as WebMcpInventory, n as SpanAttributes } from "./types-hVSf0DoT.cjs";
|
|
3
|
+
import { i as LogData, n as ErrorGroup, o as TraceData, t as DevtoolsData } from "./types-ZU74Na4z.cjs";
|
|
4
4
|
import { AgentRawEvent, OtelMetricRecord } from "autotel-agents";
|
|
5
5
|
import { Server } from "node:http";
|
|
6
6
|
import { ReadableSpan, SpanExporter } from "@opentelemetry/sdk-trace-base";
|
|
@@ -504,6 +504,29 @@ declare class DevtoolsServer {
|
|
|
504
504
|
errors: ErrorGroup[];
|
|
505
505
|
errors_parse?: QueryError[];
|
|
506
506
|
};
|
|
507
|
+
/**
|
|
508
|
+
* Fold WebMCP lifecycle history through the window end into the tool surface
|
|
509
|
+
* an agent is offered, while counting executions only inside the window.
|
|
510
|
+
*
|
|
511
|
+
* Drains every page rather than folding the first one: an inventory built
|
|
512
|
+
* from a page of results does not fail, it *under-reports* — "2 tools dropped
|
|
513
|
+
* annotations" when the answer is 6 — and gets more wrong the more traffic
|
|
514
|
+
* there is, which is backwards for an observability answer.
|
|
515
|
+
*
|
|
516
|
+
* The span-name filter is composed here rather than accepted from the client:
|
|
517
|
+
* this endpoint answers one question, and a caller-supplied predicate could
|
|
518
|
+
* only narrow it into a wrong answer.
|
|
519
|
+
*/
|
|
520
|
+
queryWebMcp(args: {
|
|
521
|
+
window?: {
|
|
522
|
+
start: number;
|
|
523
|
+
end: number;
|
|
524
|
+
};
|
|
525
|
+
limit?: number;
|
|
526
|
+
}): {
|
|
527
|
+
webmcp: WebMcpInventory;
|
|
528
|
+
errors_parse?: QueryError[];
|
|
529
|
+
};
|
|
507
530
|
/** Run a log query against the durable store. */
|
|
508
531
|
queryLogs(args: QueryLogsArgs): QueryLogsResult;
|
|
509
532
|
listQueryFields(signal: 'traces' | 'logs'): string[];
|