@tangle-network/traces 0.8.20 → 0.8.21
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/README.md +3 -0
- package/docs/stream-findings.svg +39 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -152,6 +152,9 @@ Live streaming emits `session`, `span`, `analysis_batch`, `finding`, and `tick`
|
|
|
152
152
|
The semantic findings currently cover repeated failing commands, verification churn without code/config changes, completion claims without later verification, and high tool-error rates.
|
|
153
153
|
Use `--mode findings` when you want the low-volume meaning layer; keep `visualizer` for real-time views that need motion, timing, and tool-call texture.
|
|
154
154
|
Use `--mode agent` when another agent needs deterministic loop/tool-use reports alongside the findings.
|
|
155
|
+
The same JSONL shape is used for live sessions and replayed trace files:
|
|
156
|
+
|
|
157
|
+

|
|
155
158
|
|
|
156
159
|
Custom online analysts use the same config file as `investigate` and `improve`:
|
|
157
160
|
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" role="img" viewBox="0 0 1100 540">
|
|
2
|
+
<title>traces stream findings mode terminal capture</title>
|
|
3
|
+
<desc>A terminal preview of traces stream findings mode showing session, batch, and finding JSONL rows.</desc>
|
|
4
|
+
<rect width="1100" height="540" fill="#f6f7f9"/>
|
|
5
|
+
<rect x="50" y="44" width="1000" height="452" rx="8" fill="#111827"/>
|
|
6
|
+
<rect x="50" y="44" width="1000" height="42" rx="8" fill="#202938"/>
|
|
7
|
+
<circle cx="78" cy="65" r="7" fill="#ff5f57"/>
|
|
8
|
+
<circle cx="100" cy="65" r="7" fill="#febc2e"/>
|
|
9
|
+
<circle cx="122" cy="65" r="7" fill="#28c840"/>
|
|
10
|
+
<text x="550" y="70" text-anchor="middle" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="14" fill="#cbd5e1">traces stream --mode findings</text>
|
|
11
|
+
|
|
12
|
+
<text x="78" y="124" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="18" fill="#8bd5ff">$ traces stream spans.openinference.jsonl --format openinference --mode findings</text>
|
|
13
|
+
|
|
14
|
+
<g font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="16">
|
|
15
|
+
<text x="78" y="174" fill="#e5e7eb">{"event":"session",</text>
|
|
16
|
+
<text x="313" y="174" fill="#a7f3d0">"spanCount":5,</text>
|
|
17
|
+
<text x="458" y="174" fill="#e5e7eb">"sessionId":"spans.openinference.jsonl"}</text>
|
|
18
|
+
|
|
19
|
+
<text x="78" y="224" fill="#e5e7eb">{"event":"analysis_batch",</text>
|
|
20
|
+
<text x="352" y="224" fill="#a7f3d0">"findingCount":3,</text>
|
|
21
|
+
<text x="536" y="224" fill="#fcd34d">"toolCallCount":3,</text>
|
|
22
|
+
<text x="732" y="224" fill="#fca5a5">"erroredToolCallCount":3}</text>
|
|
23
|
+
|
|
24
|
+
<text x="78" y="274" fill="#e5e7eb">{"event":"finding", "finding":{</text>
|
|
25
|
+
<text x="407" y="274" fill="#fca5a5">"severity":"high",</text>
|
|
26
|
+
<text x="608" y="274" fill="#c4b5fd">"ruleId":"same-failing-command"}}</text>
|
|
27
|
+
<text x="102" y="304" fill="#94a3b8">action: Stop rerunning it; inspect the first failure before another retry.</text>
|
|
28
|
+
|
|
29
|
+
<text x="78" y="354" fill="#e5e7eb">{"event":"finding", "finding":{</text>
|
|
30
|
+
<text x="407" y="354" fill="#fca5a5">"severity":"high",</text>
|
|
31
|
+
<text x="608" y="354" fill="#c4b5fd">"ruleId":"verification-without-change"}}</text>
|
|
32
|
+
<text x="102" y="384" fill="#94a3b8">evidence: 3 verification calls since the last detected code/config change.</text>
|
|
33
|
+
|
|
34
|
+
<text x="78" y="434" fill="#e5e7eb">{"event":"finding", "finding":{</text>
|
|
35
|
+
<text x="407" y="434" fill="#fcd34d">"severity":"medium",</text>
|
|
36
|
+
<text x="627" y="434" fill="#c4b5fd">"ruleId":"completion-claim-without-verification"}}</text>
|
|
37
|
+
<text x="102" y="464" fill="#94a3b8">check: a later test/build/typecheck/lint/smoke command should appear.</text>
|
|
38
|
+
</g>
|
|
39
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/traces",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.21",
|
|
4
4
|
"description": "Point it at your coding-agent session traces (Claude Code, Codex, OpenCode, Gemini, Pi, …) and get failure-mode + efficiency findings. CLI + SDK over the @tangle-network/agent-eval analyst suite — observe live sessions, run your own analysts, redact, and upload to the Tangle Intelligence Platform.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"files": [
|
|
38
38
|
"dist",
|
|
39
|
+
"docs/stream-findings.svg",
|
|
39
40
|
"install.sh",
|
|
40
41
|
"README.md"
|
|
41
42
|
],
|