@agent-inspect/mcp-server 4.2.0 → 4.3.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/index.cjs +9 -9
- package/dist/index.mjs +9 -9
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1429,7 +1429,7 @@ function summarize(findings, diagnostics) {
|
|
|
1429
1429
|
errors: diagnostics.filter((item) => item.severity === "error").length
|
|
1430
1430
|
};
|
|
1431
1431
|
}
|
|
1432
|
-
function eventEvidence(event,
|
|
1432
|
+
function eventEvidence(event, path8) {
|
|
1433
1433
|
return {
|
|
1434
1434
|
runId: event.runId,
|
|
1435
1435
|
eventId: event.eventId,
|
|
@@ -1767,13 +1767,13 @@ function pairSteps(left, right) {
|
|
|
1767
1767
|
return pairs;
|
|
1768
1768
|
}
|
|
1769
1769
|
function compareLeafSteps(L, R, segments, opts, out) {
|
|
1770
|
-
const
|
|
1770
|
+
const path8 = buildPath(segments);
|
|
1771
1771
|
if (L.name !== R.name) {
|
|
1772
1772
|
out.push({
|
|
1773
1773
|
kind: "structure",
|
|
1774
1774
|
severity: "warning",
|
|
1775
1775
|
message: "Step name differs",
|
|
1776
|
-
path:
|
|
1776
|
+
path: path8,
|
|
1777
1777
|
left: L.name,
|
|
1778
1778
|
right: R.name
|
|
1779
1779
|
});
|
|
@@ -1783,7 +1783,7 @@ function compareLeafSteps(L, R, segments, opts, out) {
|
|
|
1783
1783
|
kind: "step-type",
|
|
1784
1784
|
severity: "warning",
|
|
1785
1785
|
message: "Step type differs",
|
|
1786
|
-
path:
|
|
1786
|
+
path: path8,
|
|
1787
1787
|
left: L.type,
|
|
1788
1788
|
right: R.type
|
|
1789
1789
|
});
|
|
@@ -1793,7 +1793,7 @@ function compareLeafSteps(L, R, segments, opts, out) {
|
|
|
1793
1793
|
kind: "step-status",
|
|
1794
1794
|
severity: "warning",
|
|
1795
1795
|
message: "Step status differs",
|
|
1796
|
-
path:
|
|
1796
|
+
path: path8,
|
|
1797
1797
|
left: L.status,
|
|
1798
1798
|
right: R.status
|
|
1799
1799
|
});
|
|
@@ -1805,7 +1805,7 @@ function compareLeafSteps(L, R, segments, opts, out) {
|
|
|
1805
1805
|
kind: "error",
|
|
1806
1806
|
severity: "error",
|
|
1807
1807
|
message: "Step error message differs",
|
|
1808
|
-
path:
|
|
1808
|
+
path: path8,
|
|
1809
1809
|
left: le || void 0,
|
|
1810
1810
|
right: re || void 0
|
|
1811
1811
|
});
|
|
@@ -1823,7 +1823,7 @@ function compareLeafSteps(L, R, segments, opts, out) {
|
|
|
1823
1823
|
kind: "duration",
|
|
1824
1824
|
severity: "info",
|
|
1825
1825
|
message: "Step duration differs",
|
|
1826
|
-
path:
|
|
1826
|
+
path: path8,
|
|
1827
1827
|
left: ld,
|
|
1828
1828
|
right: rd
|
|
1829
1829
|
});
|
|
@@ -1836,7 +1836,7 @@ function compareLeafSteps(L, R, segments, opts, out) {
|
|
|
1836
1836
|
kind: "metadata",
|
|
1837
1837
|
severity: "info",
|
|
1838
1838
|
message: "Step metadata differs",
|
|
1839
|
-
path:
|
|
1839
|
+
path: path8,
|
|
1840
1840
|
left: L.metadata,
|
|
1841
1841
|
right: R.metadata
|
|
1842
1842
|
});
|
|
@@ -1848,7 +1848,7 @@ function compareLeafSteps(L, R, segments, opts, out) {
|
|
|
1848
1848
|
kind: "output",
|
|
1849
1849
|
severity: "info",
|
|
1850
1850
|
message: "Output preview differs",
|
|
1851
|
-
path:
|
|
1851
|
+
path: path8,
|
|
1852
1852
|
left: L.outputPreview,
|
|
1853
1853
|
right: R.outputPreview
|
|
1854
1854
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -1421,7 +1421,7 @@ function summarize(findings, diagnostics) {
|
|
|
1421
1421
|
errors: diagnostics.filter((item) => item.severity === "error").length
|
|
1422
1422
|
};
|
|
1423
1423
|
}
|
|
1424
|
-
function eventEvidence(event,
|
|
1424
|
+
function eventEvidence(event, path8) {
|
|
1425
1425
|
return {
|
|
1426
1426
|
runId: event.runId,
|
|
1427
1427
|
eventId: event.eventId,
|
|
@@ -1759,13 +1759,13 @@ function pairSteps(left, right) {
|
|
|
1759
1759
|
return pairs;
|
|
1760
1760
|
}
|
|
1761
1761
|
function compareLeafSteps(L, R, segments, opts, out) {
|
|
1762
|
-
const
|
|
1762
|
+
const path8 = buildPath(segments);
|
|
1763
1763
|
if (L.name !== R.name) {
|
|
1764
1764
|
out.push({
|
|
1765
1765
|
kind: "structure",
|
|
1766
1766
|
severity: "warning",
|
|
1767
1767
|
message: "Step name differs",
|
|
1768
|
-
path:
|
|
1768
|
+
path: path8,
|
|
1769
1769
|
left: L.name,
|
|
1770
1770
|
right: R.name
|
|
1771
1771
|
});
|
|
@@ -1775,7 +1775,7 @@ function compareLeafSteps(L, R, segments, opts, out) {
|
|
|
1775
1775
|
kind: "step-type",
|
|
1776
1776
|
severity: "warning",
|
|
1777
1777
|
message: "Step type differs",
|
|
1778
|
-
path:
|
|
1778
|
+
path: path8,
|
|
1779
1779
|
left: L.type,
|
|
1780
1780
|
right: R.type
|
|
1781
1781
|
});
|
|
@@ -1785,7 +1785,7 @@ function compareLeafSteps(L, R, segments, opts, out) {
|
|
|
1785
1785
|
kind: "step-status",
|
|
1786
1786
|
severity: "warning",
|
|
1787
1787
|
message: "Step status differs",
|
|
1788
|
-
path:
|
|
1788
|
+
path: path8,
|
|
1789
1789
|
left: L.status,
|
|
1790
1790
|
right: R.status
|
|
1791
1791
|
});
|
|
@@ -1797,7 +1797,7 @@ function compareLeafSteps(L, R, segments, opts, out) {
|
|
|
1797
1797
|
kind: "error",
|
|
1798
1798
|
severity: "error",
|
|
1799
1799
|
message: "Step error message differs",
|
|
1800
|
-
path:
|
|
1800
|
+
path: path8,
|
|
1801
1801
|
left: le || void 0,
|
|
1802
1802
|
right: re || void 0
|
|
1803
1803
|
});
|
|
@@ -1815,7 +1815,7 @@ function compareLeafSteps(L, R, segments, opts, out) {
|
|
|
1815
1815
|
kind: "duration",
|
|
1816
1816
|
severity: "info",
|
|
1817
1817
|
message: "Step duration differs",
|
|
1818
|
-
path:
|
|
1818
|
+
path: path8,
|
|
1819
1819
|
left: ld,
|
|
1820
1820
|
right: rd
|
|
1821
1821
|
});
|
|
@@ -1828,7 +1828,7 @@ function compareLeafSteps(L, R, segments, opts, out) {
|
|
|
1828
1828
|
kind: "metadata",
|
|
1829
1829
|
severity: "info",
|
|
1830
1830
|
message: "Step metadata differs",
|
|
1831
|
-
path:
|
|
1831
|
+
path: path8,
|
|
1832
1832
|
left: L.metadata,
|
|
1833
1833
|
right: R.metadata
|
|
1834
1834
|
});
|
|
@@ -1840,7 +1840,7 @@ function compareLeafSteps(L, R, segments, opts, out) {
|
|
|
1840
1840
|
kind: "output",
|
|
1841
1841
|
severity: "info",
|
|
1842
1842
|
message: "Output preview differs",
|
|
1843
|
-
path:
|
|
1843
|
+
path: path8,
|
|
1844
1844
|
left: L.outputPreview,
|
|
1845
1845
|
right: R.outputPreview
|
|
1846
1846
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-inspect/mcp-server",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Read-only MCP server tools for local AgentInspect traces",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dist"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"agent-inspect": "4.
|
|
37
|
+
"agent-inspect": "4.3.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {},
|
|
40
40
|
"publishConfig": {
|