@tangle-network/traces 0.8.27 → 0.9.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.js CHANGED
@@ -9,11 +9,15 @@ import {
9
9
  CodexAdapter,
10
10
  CopilotAdapter,
11
11
  DEFAULT_HARNESS,
12
+ EmptySessionError,
12
13
  FactoryAdapter,
13
14
  ForgeAdapter,
14
15
  GeminiAdapter,
15
16
  INGEST_SOURCE_CLI,
17
+ JsonSourceError,
18
+ JsonlParseError,
16
19
  OpencodeAdapter,
20
+ PartialUploadError,
17
21
  PiAdapter,
18
22
  QwenAdapter,
19
23
  REACTIONS,
@@ -46,6 +50,7 @@ import {
46
50
  exportTraceEvidenceRows,
47
51
  exportTraceEvidenceText,
48
52
  haloAnalyzer,
53
+ indexSessionIdsByTrace,
49
54
  inspectSessionIndex,
50
55
  knownHarnesses,
51
56
  listAdapters,
@@ -55,11 +60,15 @@ import {
55
60
  looksLikeAgentPrompt,
56
61
  mergeTracesConfig,
57
62
  normalizeRemote,
63
+ outboundHash,
58
64
  parseIsoToEpochMs,
59
65
  parseSession,
60
66
  parseSince,
61
67
  planUpload,
68
+ readJsonFile,
69
+ readJsonl,
62
70
  readSessionIndexFile,
71
+ recordSessionCorruption,
63
72
  redactSpans,
64
73
  renderInspectionReport,
65
74
  resolveAdapter,
@@ -68,7 +77,7 @@ import {
68
77
  runCommand,
69
78
  runExternalAnalyzers,
70
79
  runPipelines,
71
- runTraceImprovementLoop,
80
+ runTraceImprovement,
72
81
  runTraceInvestigation,
73
82
  runTraceStoreInvestigation,
74
83
  saveReport,
@@ -81,10 +90,17 @@ import {
81
90
  serializeSpans,
82
91
  serializeTraceStreamEvent,
83
92
  sessionHash,
93
+ sessionIdFromAttributes,
94
+ sessionIntegrityAttributes,
84
95
  span,
85
96
  stampRepoAttrs,
97
+ stampSessionIdentity,
98
+ stampSessionIntegrity,
86
99
  stampSpanWorkdirRepoAttrs,
87
100
  streamSessions,
101
+ summarizeOtlpExecution,
102
+ summarizeSpanExecution,
103
+ takeJsonl,
88
104
  textIsSynthetic,
89
105
  toOpenInferenceSpan,
90
106
  toRuntimeStore,
@@ -99,7 +115,7 @@ import {
99
115
  writeSessionIndexFile,
100
116
  writeTraceEvidenceExportFile,
101
117
  writeTraceImprovementArtifacts
102
- } from "./chunk-EZDMNNW4.js";
118
+ } from "./chunk-5SBXL62V.js";
103
119
 
104
120
  // src/collect.ts
105
121
  async function collectSessions(opts = {}) {
@@ -136,11 +152,15 @@ export {
136
152
  CopilotAdapter,
137
153
  DEFAULT_HARNESS,
138
154
  DEFAULT_REDACTION_RULES,
155
+ EmptySessionError,
139
156
  FactoryAdapter,
140
157
  ForgeAdapter,
141
158
  GeminiAdapter,
142
159
  INGEST_SOURCE_CLI,
160
+ JsonSourceError,
161
+ JsonlParseError,
143
162
  OpencodeAdapter,
163
+ PartialUploadError,
144
164
  PiAdapter,
145
165
  QwenAdapter,
146
166
  REACTIONS,
@@ -177,6 +197,7 @@ export {
177
197
  exportTraceEvidenceText,
178
198
  haloAnalyzer,
179
199
  hostedClientFromEnv,
200
+ indexSessionIdsByTrace,
180
201
  inspectSessionIndex,
181
202
  knownHarnesses,
182
203
  listAdapters,
@@ -187,11 +208,15 @@ export {
187
208
  makeFinding,
188
209
  mergeTracesConfig,
189
210
  normalizeRemote,
211
+ outboundHash,
190
212
  parseIsoToEpochMs,
191
213
  parseSession,
192
214
  parseSince,
193
215
  planUpload,
216
+ readJsonFile,
217
+ readJsonl,
194
218
  readSessionIndexFile,
219
+ recordSessionCorruption,
195
220
  redactSpans,
196
221
  redactString,
197
222
  redactValue,
@@ -202,7 +227,7 @@ export {
202
227
  runCommand,
203
228
  runExternalAnalyzers,
204
229
  runPipelines,
205
- runTraceImprovementLoop,
230
+ runTraceImprovement,
206
231
  runTraceInvestigation,
207
232
  runTraceStoreInvestigation,
208
233
  saveReport,
@@ -215,10 +240,17 @@ export {
215
240
  serializeSpans,
216
241
  serializeTraceStreamEvent,
217
242
  sessionHash,
243
+ sessionIdFromAttributes,
244
+ sessionIntegrityAttributes,
218
245
  span,
219
246
  stampRepoAttrs,
247
+ stampSessionIdentity,
248
+ stampSessionIntegrity,
220
249
  stampSpanWorkdirRepoAttrs,
221
250
  streamSessions,
251
+ summarizeOtlpExecution,
252
+ summarizeSpanExecution,
253
+ takeJsonl,
222
254
  textIsSynthetic,
223
255
  toOpenInferenceSpan,
224
256
  toRuntimeStore,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/traces",
3
- "version": "0.8.27",
3
+ "version": "0.9.0",
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",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@ax-llm/ax": "^19.0.45",
48
- "@tangle-network/agent-eval": "^0.106.2"
48
+ "@tangle-network/agent-eval": "^0.118.3"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@types/node": "^22.0.0",