@tangle-network/traces 0.2.1 → 0.2.2

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.
@@ -1837,6 +1837,8 @@ function toTraceSpanEvents(spans, rootMeta) {
1837
1837
  if (typeof v === "string" || typeof v === "number" || typeof v === "boolean") attributes[k] = v;
1838
1838
  else if (v != null) attributes[k] = JSON.stringify(v);
1839
1839
  }
1840
+ attributes["tangle.sessionId"] = s.trace_id;
1841
+ attributes["tangle.ingest_source"] = "cli";
1840
1842
  if (s.parent_span_id === null) Object.assign(attributes, rootMeta);
1841
1843
  const startNano = msToNano(s.start_time);
1842
1844
  return {
package/dist/cli.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  runPipelines,
10
10
  watchSessions,
11
11
  writeOtlpFile
12
- } from "./chunk-YYVPAOOD.js";
12
+ } from "./chunk-4PC7MQXT.js";
13
13
 
14
14
  // src/cli.ts
15
15
  import { stat, writeFile } from "fs/promises";
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ import {
30
30
  uploadKey,
31
31
  watchSessions,
32
32
  writeOtlpFile
33
- } from "./chunk-YYVPAOOD.js";
33
+ } from "./chunk-4PC7MQXT.js";
34
34
 
35
35
  // src/collect.ts
36
36
  function adaptersFor(opts) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/traces",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
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",