agents 0.5.1 → 0.7.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.
@@ -1,61 +0,0 @@
1
- //#region src/observability/base.d.ts
2
- /**
3
- * Base event structure for all observability events
4
- */
5
- type BaseEvent<
6
- T extends string,
7
- Payload extends Record<string, unknown> = {}
8
- > = {
9
- type: T;
10
- /**
11
- * The unique identifier for the event
12
- */
13
- id: string;
14
- /**
15
- * The message to display in the logs for this event, should the implementation choose to display
16
- * a human-readable message.
17
- */
18
- displayMessage: string;
19
- /**
20
- * The payload of the event
21
- */
22
- payload: Payload & Record<string, unknown>;
23
- /**
24
- * The timestamp of the event in milliseconds since epoch
25
- */
26
- timestamp: number;
27
- };
28
- //#endregion
29
- //#region src/observability/mcp.d.ts
30
- /**
31
- * MCP-specific observability events
32
- * These track the lifecycle of MCP connections and operations
33
- */
34
- type MCPObservabilityEvent =
35
- | BaseEvent<
36
- "mcp:client:preconnect",
37
- {
38
- serverId: string;
39
- }
40
- >
41
- | BaseEvent<
42
- "mcp:client:connect",
43
- {
44
- url: string;
45
- transport: string;
46
- state: string;
47
- error?: string;
48
- }
49
- >
50
- | BaseEvent<
51
- "mcp:client:authorize",
52
- {
53
- serverId: string;
54
- authUrl: string;
55
- clientId?: string;
56
- }
57
- >
58
- | BaseEvent<"mcp:client:discover", {}>;
59
- //#endregion
60
- export { BaseEvent as n, MCPObservabilityEvent as t };
61
- //# sourceMappingURL=mcp-DA0kDE7K.d.ts.map