autotel-devtools 23.1.0 → 24.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.
Files changed (33) hide show
  1. package/dist/cli.cjs +2 -2
  2. package/dist/cli.js +2 -2
  3. package/dist/{error-aggregator-DSwUvgFF.d.cts → error-aggregator-C0at0wzF.d.cts} +1 -1
  4. package/dist/{error-aggregator-B52JI8jL.d.ts → error-aggregator-C25_JiVI.d.ts} +1 -1
  5. package/dist/{exporter-OoWkSMCR.d.cts → exporter-AkgWRDpc.d.cts} +25 -2
  6. package/dist/{exporter-C88W22vY.d.ts → exporter-yo7lLDIs.d.ts} +25 -2
  7. package/dist/fullpage.global.js +37 -30
  8. package/dist/genai/index.d.cts +1 -1
  9. package/dist/genai/index.d.ts +1 -1
  10. package/dist/{grpc-D0B3P9sI.cjs → grpc-CSW1Evnt.cjs} +1 -1
  11. package/dist/{grpc-DY-C1jSU.js → grpc-D1tt8UPi.js} +1 -1
  12. package/dist/{http-1afd_01N.cjs → http-CahjEnpE.cjs} +237 -0
  13. package/dist/{http-gk1xapnA.js → http-z8UbJsqk.js} +238 -1
  14. package/dist/index.cjs +1 -1
  15. package/dist/index.d.cts +4 -4
  16. package/dist/index.d.ts +4 -4
  17. package/dist/index.js +1 -1
  18. package/dist/server/exporter.d.cts +1 -1
  19. package/dist/server/exporter.d.ts +1 -1
  20. package/dist/server/index.cjs +2 -2
  21. package/dist/server/index.d.cts +4 -4
  22. package/dist/server/index.d.ts +4 -4
  23. package/dist/server/index.js +2 -2
  24. package/dist/types-B86Qkqg5.d.cts +120 -0
  25. package/dist/types-B86Qkqg5.d.ts +120 -0
  26. package/dist/{types-DM8y4A9Z.d.ts → types-BhbHVeiy.d.ts} +1 -1
  27. package/dist/{types-B0tjwFqj.d.cts → types-C-ORUrT2.d.cts} +1 -1
  28. package/dist/widget.global.js +14 -14
  29. package/dist/wire/index.d.cts +1 -1
  30. package/dist/wire/index.d.ts +1 -1
  31. package/package.json +2 -2
  32. package/dist/types-DHDvZnnn.d.cts +0 -47
  33. package/dist/types-DHDvZnnn.d.ts +0 -47
@@ -1,4 +1,4 @@
1
- import { a as SpanData, o as TraceData } from "../types-B0tjwFqj.cjs";
1
+ import { a as SpanData, o as TraceData } from "../types-C-ORUrT2.cjs";
2
2
  //#region src/wire/wire.d.ts
3
3
  /** A span as sent: `endTime` present only when `duration` cannot reproduce it. */
4
4
  type WireSpan = Omit<SpanData, 'endTime'> & {
@@ -1,4 +1,4 @@
1
- import { a as SpanData, o as TraceData } from "../types-DM8y4A9Z.js";
1
+ import { a as SpanData, o as TraceData } from "../types-BhbHVeiy.js";
2
2
  //#region src/wire/wire.d.ts
3
3
  /** A span as sent: `endTime` present only when `duration` cannot reproduce it. */
4
4
  type WireSpan = Omit<SpanData, 'endTime'> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autotel-devtools",
3
- "version": "23.1.0",
3
+ "version": "24.0.0",
4
4
  "description": "Standalone OTLP receiver with web UI for local development",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -106,7 +106,7 @@
106
106
  "vitest-mock-extended": "^5.1.0"
107
107
  },
108
108
  "peerDependencies": {
109
- "autotel": "7.2.0"
109
+ "autotel": "7.3.0"
110
110
  },
111
111
  "peerDependenciesMeta": {
112
112
  "autotel": {
@@ -1,47 +0,0 @@
1
- import { AgentSession } from "autotel-agents";
2
- //#region src/widget/types.d.ts
3
- /**
4
- * What a span attribute holds once it has crossed OTLP. The widget is
5
- * browser-safe and does not depend on the OTel API package, so the value type
6
- * is named here rather than imported.
7
- */
8
- type AttributeValue = string | number | boolean | null | undefined | Uint8Array | Array<AttributeValue> | {
9
- [key: string]: AttributeValue;
10
- };
11
- /**
12
- * A span's attribute bag as the devtools receives it. Wider than OpenTelemetry's
13
- * own `Attributes` on purpose: OTLP's kvlist and array values decode to nested
14
- * maps and lists, and the devtools displays whatever actually arrived.
15
- */
16
- type SpanAttributes = Record<string, AttributeValue>;
17
- interface SpanData {
18
- traceId: string;
19
- spanId: string;
20
- parentSpanId?: string;
21
- name: string;
22
- kind: 'INTERNAL' | 'SERVER' | 'CLIENT' | 'PRODUCER' | 'CONSUMER';
23
- startTime: number;
24
- endTime: number;
25
- duration: number;
26
- attributes: SpanAttributes;
27
- status: {
28
- code: 'OK' | 'ERROR' | 'UNSET';
29
- message?: string;
30
- };
31
- events?: Array<{
32
- name: string;
33
- timestamp: number;
34
- attributes?: SpanAttributes;
35
- }>;
36
- links?: Array<{
37
- traceId: string;
38
- spanId: string;
39
- attributes?: SpanAttributes;
40
- }>;
41
- scope?: {
42
- name?: string;
43
- version?: string;
44
- };
45
- }
46
- //#endregion
47
- export { SpanAttributes as n, SpanData as r, AttributeValue as t };
@@ -1,47 +0,0 @@
1
- import { AgentSession } from "autotel-agents";
2
- //#region src/widget/types.d.ts
3
- /**
4
- * What a span attribute holds once it has crossed OTLP. The widget is
5
- * browser-safe and does not depend on the OTel API package, so the value type
6
- * is named here rather than imported.
7
- */
8
- type AttributeValue = string | number | boolean | null | undefined | Uint8Array | Array<AttributeValue> | {
9
- [key: string]: AttributeValue;
10
- };
11
- /**
12
- * A span's attribute bag as the devtools receives it. Wider than OpenTelemetry's
13
- * own `Attributes` on purpose: OTLP's kvlist and array values decode to nested
14
- * maps and lists, and the devtools displays whatever actually arrived.
15
- */
16
- type SpanAttributes = Record<string, AttributeValue>;
17
- interface SpanData {
18
- traceId: string;
19
- spanId: string;
20
- parentSpanId?: string;
21
- name: string;
22
- kind: 'INTERNAL' | 'SERVER' | 'CLIENT' | 'PRODUCER' | 'CONSUMER';
23
- startTime: number;
24
- endTime: number;
25
- duration: number;
26
- attributes: SpanAttributes;
27
- status: {
28
- code: 'OK' | 'ERROR' | 'UNSET';
29
- message?: string;
30
- };
31
- events?: Array<{
32
- name: string;
33
- timestamp: number;
34
- attributes?: SpanAttributes;
35
- }>;
36
- links?: Array<{
37
- traceId: string;
38
- spanId: string;
39
- attributes?: SpanAttributes;
40
- }>;
41
- scope?: {
42
- name?: string;
43
- version?: string;
44
- };
45
- }
46
- //#endregion
47
- export { SpanAttributes as n, SpanData as r, AttributeValue as t };