@lanegrid/agtrace 0.5.2 → 0.5.4

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/CHANGELOG.md CHANGED
@@ -2,6 +2,39 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [0.5.4] - 2026-01-05
6
+
7
+ ### Bug Fixes
8
+
9
+ - *(watch)* Improve sidechain handling and add interrupt display ([768ac8f](https://github.com/lanegrid/agtrace/commit/768ac8fe8da6be4ee4e9ce764f6e66e8c4d3469a))
10
+
11
+ - *(sdk)* Resolve clippy warnings with let-chains and redundant closure ([2608d4d](https://github.com/lanegrid/agtrace/commit/2608d4d18fbe60b8d570c070448c0f8fe2009e24))
12
+
13
+
14
+ ### Features
15
+
16
+ - *(cli)* Improve lab grep with glob support and concise help ([6fffdc8](https://github.com/lanegrid/agtrace/commit/6fffdc8b672ea518b7b437daa4c20db836d6b0a1))
17
+
18
+
19
+ ### Refactor
20
+
21
+ - Move MCP server and session service from CLI to SDK ([dba914d](https://github.com/lanegrid/agtrace/commit/dba914d69b30e535c43570a0b6a6aeac65519345))
22
+
23
+ - *(sdk)* Rename Lens to Diagnostic and improve documentation ([266220f](https://github.com/lanegrid/agtrace/commit/266220f684484a576d3e56c2546b2627e8b1a13a))
24
+
25
+
26
+ ## [0.5.3] - 2026-01-05
27
+
28
+ ### Features
29
+
30
+ - *(mcp)* Add user_content to TurnMetadata and restructure StepDetail to match AgentSession hierarchy ([71e2203](https://github.com/lanegrid/agtrace/commit/71e2203cf3d3d6e7127ec83d4e6e825f5e0dca19))
31
+
32
+
33
+ ### Testing
34
+
35
+ - *(mcp)* Include both request and response in snapshots ([ed78ea1](https://github.com/lanegrid/agtrace/commit/ed78ea1575eb260a517bdf490543a955c91ca359))
36
+
37
+
5
38
  ## [0.5.2] - 2026-01-04
6
39
 
7
40
  ### Bug Fixes
package/README.md CHANGED
@@ -78,7 +78,7 @@ agtrace lab grep "error" # Search across sessions
78
78
 
79
79
  ## Building with the SDK
80
80
 
81
- Embed agent observability into your own tools (vital-checkers, IDE plugins, dashboards).
81
+ Embed agent observability into your own tools (dashboards, IDE plugins, custom analytics).
82
82
 
83
83
  ```toml
84
84
  [dependencies]
@@ -86,14 +86,16 @@ agtrace-sdk = "0.5"
86
86
  ```
87
87
 
88
88
  ```rust
89
- use agtrace_sdk::{Client, Lens, types::SessionFilter};
89
+ use agtrace_sdk::{Client, types::SessionFilter};
90
90
 
91
91
  let client = Client::connect_default().await?;
92
92
  let sessions = client.sessions().list(SessionFilter::all())?;
93
93
  if let Some(summary) = sessions.first() {
94
94
  let handle = client.sessions().get(&summary.id)?;
95
- let report = handle.analyze()?.through(Lens::Failures).report()?;
96
- println!("Health: {}/100", report.score);
95
+ let session = handle.assemble()?;
96
+ println!("{} turns, {} tokens",
97
+ session.turns.len(),
98
+ session.stats.total_tokens);
97
99
  }
98
100
  ```
99
101
 
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "MIT OR Apache-2.0",
25
25
  "name": "@lanegrid/agtrace",
26
- "version": "0.5.2"
26
+ "version": "0.5.4"
27
27
  },
28
28
  "node_modules/@isaacs/balanced-match": {
29
29
  "engines": {
@@ -515,5 +515,5 @@
515
515
  }
516
516
  },
517
517
  "requires": true,
518
- "version": "0.5.2"
518
+ "version": "0.5.4"
519
519
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "artifactDownloadUrl": "https://github.com/lanegrid/agtrace/releases/download/v0.5.2",
2
+ "artifactDownloadUrl": "https://github.com/lanegrid/agtrace/releases/download/v0.5.4",
3
3
  "bin": {
4
4
  "agtrace": "run-agtrace.js"
5
5
  },
@@ -93,7 +93,7 @@
93
93
  "zipExt": ".tar.xz"
94
94
  }
95
95
  },
96
- "version": "0.5.2",
96
+ "version": "0.5.4",
97
97
  "volta": {
98
98
  "node": "18.14.1",
99
99
  "npm": "9.5.0"