@tangle-network/traces 1.0.0 → 1.0.1
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/{ask-XLS3VANY.js → ask-2KF4KSPB.js} +6 -6
- package/dist/{chunk-3I4PJ5Q7.js → chunk-2XXABIRL.js} +1 -1
- package/dist/{chunk-V2OCGX57.js → chunk-6GOG5KIK.js} +1 -1
- package/dist/{chunk-3T62R7ON.js → chunk-7USMM4MA.js} +2 -2
- package/dist/{chunk-6CLC7DKP.js → chunk-CG5QHQO4.js} +2 -2
- package/dist/{chunk-NZ5Y7UEL.js → chunk-CQ6UYZG6.js} +2 -2
- package/dist/{chunk-J2PM5SVN.js → chunk-FC4V25CG.js} +6 -6
- package/dist/{chunk-UOLRCQHC.js → chunk-GNRXKQEQ.js} +3 -3
- package/dist/{chunk-TYLFUX42.js → chunk-K2KH2HHD.js} +3 -3
- package/dist/{chunk-DLGAKCQJ.js → chunk-QLVP37YB.js} +3 -3
- package/dist/{chunk-NH7HCDLB.js → chunk-QUHUMZ4W.js} +4 -4
- package/dist/{chunk-7CBV5RJ2.js → chunk-REO2JQJY.js} +3 -3
- package/dist/{chunk-B62DOFGI.js → chunk-TOCNGML5.js} +4 -4
- package/dist/{chunk-TR6O4S4T.js → chunk-UQSAGXPH.js} +1 -1
- package/dist/{chunk-CL3OQOWX.js → chunk-VFOLC4OX.js} +3 -3
- package/dist/{chunk-UVE5ANVV.js → chunk-WF7PTDCZ.js} +3 -3
- package/dist/{chunk-TW43MR5D.js → chunk-YAX72TST.js} +1 -1
- package/dist/cli.js +20 -20
- package/dist/diff-J4RAIOXO.js +16 -0
- package/dist/{improvement-OJQ6365E.js → improvement-LCCVGGUS.js} +9 -9
- package/dist/index.js +16 -16
- package/dist/live-XXL7VZWB.js +14 -0
- package/dist/{mcp-ZPGTJQYQ.js → mcp-EYIDKBEK.js} +2 -2
- package/dist/{report-JAMXRTCW.js → report-E3G2T5TJ.js} +4 -4
- package/dist/{run-watch-PLWTIRSV.js → run-watch-RAOOAXOF.js} +3 -3
- package/dist/{upload-R6NMKSGQ.js → upload-3R7GRSKS.js} +5 -5
- package/docs/release-1.0.1.md +4 -0
- package/package.json +3 -3
- package/dist/diff-ZZ6KYBPP.js +0 -16
- package/dist/live-Y64AJ6MA.js +0 -14
|
@@ -10,17 +10,17 @@ import {
|
|
|
10
10
|
runTraceQuestions,
|
|
11
11
|
traceCitationsInText,
|
|
12
12
|
writeTraceQuestionsArtifacts
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QUHUMZ4W.js";
|
|
14
14
|
import "./chunk-PYH3PL3N.js";
|
|
15
15
|
import {
|
|
16
16
|
DEFAULT_ASK_CONCURRENCY,
|
|
17
17
|
MAX_TRACE_QUESTION_CHARS
|
|
18
18
|
} from "./chunk-O52XK7OB.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-2XXABIRL.js";
|
|
20
|
+
import "./chunk-WF7PTDCZ.js";
|
|
21
|
+
import "./chunk-7USMM4MA.js";
|
|
22
|
+
import "./chunk-UQSAGXPH.js";
|
|
23
|
+
import "./chunk-CQ6UYZG6.js";
|
|
24
24
|
import "./chunk-DU534HAX.js";
|
|
25
25
|
export {
|
|
26
26
|
DEFAULT_ASK_CONCURRENCY,
|
|
@@ -26,14 +26,14 @@ import {
|
|
|
26
26
|
stampEnvironmentAttrs,
|
|
27
27
|
stampSessionIdentity,
|
|
28
28
|
userPromptSpan
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-UQSAGXPH.js";
|
|
30
30
|
import {
|
|
31
31
|
appendAll,
|
|
32
32
|
readJsonl,
|
|
33
33
|
span,
|
|
34
34
|
takeJsonl,
|
|
35
35
|
validateOtlpSpans
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-CQ6UYZG6.js";
|
|
37
37
|
import {
|
|
38
38
|
INNER_TOOL_CALL_LEVEL,
|
|
39
39
|
SOURCE_ATTRIBUTE_PREFIX,
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
ATTR,
|
|
3
3
|
capText,
|
|
4
4
|
stampEnvironmentAttrs
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UQSAGXPH.js";
|
|
6
6
|
import {
|
|
7
7
|
appendAll,
|
|
8
8
|
otlpRowToSpan,
|
|
9
9
|
readJsonl,
|
|
10
10
|
span,
|
|
11
11
|
validateOtlpSpans
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CQ6UYZG6.js";
|
|
13
13
|
import {
|
|
14
14
|
redactSpans
|
|
15
15
|
} from "./chunk-RZL5GAWH.js";
|
|
@@ -972,7 +972,7 @@ function stampUnreadableSourceRows(spans, issues) {
|
|
|
972
972
|
import { readFileSync } from "fs";
|
|
973
973
|
var fromSource;
|
|
974
974
|
function tracesVersion() {
|
|
975
|
-
if (true) return "1.0.
|
|
975
|
+
if (true) return "1.0.1";
|
|
976
976
|
if (fromSource) return fromSource;
|
|
977
977
|
const pkg = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8"));
|
|
978
978
|
if (typeof pkg.version !== "string" || !pkg.version) throw new Error("package.json is missing version");
|
|
@@ -980,7 +980,7 @@ function tracesVersion() {
|
|
|
980
980
|
return fromSource;
|
|
981
981
|
}
|
|
982
982
|
function tracesCommit() {
|
|
983
|
-
return true ? "
|
|
983
|
+
return true ? "1feb8c181d7a" : "source";
|
|
984
984
|
}
|
|
985
985
|
|
|
986
986
|
// src/otlp.ts
|
|
@@ -3,27 +3,27 @@ import {
|
|
|
3
3
|
createPipelineAccumulator,
|
|
4
4
|
ruleContext,
|
|
5
5
|
runRules
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-REO2JQJY.js";
|
|
7
7
|
import {
|
|
8
8
|
conformanceOfSpans,
|
|
9
9
|
skippedAnalyses
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YAX72TST.js";
|
|
11
11
|
import {
|
|
12
12
|
metadataOnly
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6GOG5KIK.js";
|
|
14
14
|
import {
|
|
15
15
|
exportBytes,
|
|
16
16
|
openDeterministicTraceStore
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2XXABIRL.js";
|
|
18
18
|
import {
|
|
19
19
|
CONTEXT_BANDS,
|
|
20
20
|
createSessionFactsReportBuilder,
|
|
21
21
|
modelCallMeasurement,
|
|
22
22
|
priceReport
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WF7PTDCZ.js";
|
|
24
24
|
import {
|
|
25
25
|
appendAll
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-CQ6UYZG6.js";
|
|
27
27
|
|
|
28
28
|
// src/improvement.ts
|
|
29
29
|
import { createHash } from "crypto";
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
orderSpans,
|
|
3
3
|
ruleContext,
|
|
4
4
|
runRules
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-REO2JQJY.js";
|
|
6
6
|
import {
|
|
7
7
|
parseSession,
|
|
8
8
|
scanSessions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7USMM4MA.js";
|
|
10
10
|
import {
|
|
11
11
|
sessionIdFromAttributes
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UQSAGXPH.js";
|
|
13
13
|
|
|
14
14
|
// src/live.ts
|
|
15
15
|
var sleep = (ms, signal) => new Promise((resolve) => {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readRefSpans
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VFOLC4OX.js";
|
|
4
4
|
import {
|
|
5
5
|
commandTextFromInput,
|
|
6
6
|
isSynthesizedSpan
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WF7PTDCZ.js";
|
|
8
8
|
import {
|
|
9
9
|
ATTR,
|
|
10
10
|
SESSION_CWD_ATTR
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UQSAGXPH.js";
|
|
12
12
|
import {
|
|
13
13
|
canonicalJson
|
|
14
14
|
} from "./chunk-DU534HAX.js";
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
buildSessionFactsReport,
|
|
4
4
|
describeSessionRelationship,
|
|
5
5
|
priceReport
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WF7PTDCZ.js";
|
|
7
7
|
import {
|
|
8
8
|
isMissingPathError,
|
|
9
9
|
locateSessions,
|
|
10
10
|
parseSession
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7USMM4MA.js";
|
|
12
12
|
import {
|
|
13
13
|
tracesVersion,
|
|
14
14
|
writeOtlpFile
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CQ6UYZG6.js";
|
|
16
16
|
import {
|
|
17
17
|
SOURCE_ATTRIBUTE_PREFIX,
|
|
18
18
|
sourceFileId
|
|
@@ -12,17 +12,17 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
exportBytes,
|
|
14
14
|
openAgenticTraceStore
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2XXABIRL.js";
|
|
16
16
|
import {
|
|
17
17
|
createSessionFactsReportBuilder,
|
|
18
18
|
renderSessionFactsContext
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WF7PTDCZ.js";
|
|
20
20
|
import {
|
|
21
21
|
indexSessionIdsByTrace
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-UQSAGXPH.js";
|
|
23
23
|
import {
|
|
24
24
|
appendAll
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-CQ6UYZG6.js";
|
|
26
26
|
|
|
27
27
|
// src/ask.ts
|
|
28
28
|
import { mkdir, readFile, writeFile } from "fs/promises";
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
commandLines,
|
|
3
3
|
commandTextFromInput,
|
|
4
4
|
computeSessionFacts
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WF7PTDCZ.js";
|
|
6
6
|
import {
|
|
7
7
|
isInheritedSpan,
|
|
8
8
|
isSubagentSpan,
|
|
9
9
|
isSynthesizedSpan
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UQSAGXPH.js";
|
|
11
11
|
import {
|
|
12
12
|
appendAll,
|
|
13
13
|
validateOtlpSpans
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CQ6UYZG6.js";
|
|
15
15
|
import {
|
|
16
16
|
parseIsoToEpochMs,
|
|
17
17
|
toolArgumentsFromAttributes
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isMetadataAttribute,
|
|
3
3
|
metadataOnly
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6GOG5KIK.js";
|
|
5
5
|
import {
|
|
6
6
|
scanSessions
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7USMM4MA.js";
|
|
8
8
|
import {
|
|
9
9
|
ATTR,
|
|
10
10
|
INGEST_SOURCE_CLI
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UQSAGXPH.js";
|
|
12
12
|
import {
|
|
13
13
|
writeOtlpFile
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CQ6UYZG6.js";
|
|
15
15
|
import {
|
|
16
16
|
redactSpans
|
|
17
17
|
} from "./chunk-RZL5GAWH.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
detectEvidenceFormat,
|
|
3
3
|
exportTraceEvidenceFile
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CG5QHQO4.js";
|
|
5
5
|
import {
|
|
6
6
|
isCodexExecRecord,
|
|
7
7
|
listAdapters,
|
|
8
8
|
parseSession,
|
|
9
9
|
readsStoreRoots,
|
|
10
10
|
resolveAdapter
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7USMM4MA.js";
|
|
12
12
|
import {
|
|
13
13
|
isOtlpJsonFile,
|
|
14
14
|
isStandardOtlpRow,
|
|
15
15
|
readJsonl,
|
|
16
16
|
readOtlpInput
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CQ6UYZG6.js";
|
|
18
18
|
|
|
19
19
|
// src/refs.ts
|
|
20
20
|
import { readFile, stat } from "fs/promises";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
pieceBoundary,
|
|
8
8
|
readSessionSpans,
|
|
9
9
|
readsStoreRoots
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7USMM4MA.js";
|
|
11
11
|
import {
|
|
12
12
|
ACTOR_ATTR,
|
|
13
13
|
ATTR,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
isSynthesizedSpan,
|
|
29
29
|
sessionIdFromAttributes,
|
|
30
30
|
stampSessionIdentity
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-UQSAGXPH.js";
|
|
32
32
|
import {
|
|
33
33
|
validateOtlpSpans
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-CQ6UYZG6.js";
|
|
35
35
|
import {
|
|
36
36
|
canonicalJson,
|
|
37
37
|
isInnerToolCall
|
package/dist/cli.js
CHANGED
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
assembleSessionBundle,
|
|
4
4
|
collectSessionSelection,
|
|
5
5
|
verifySessionBundle
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QLVP37YB.js";
|
|
7
7
|
import {
|
|
8
8
|
conformanceOfSpans,
|
|
9
9
|
renderValidation
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YAX72TST.js";
|
|
11
11
|
import {
|
|
12
12
|
findingRejectionDetail
|
|
13
13
|
} from "./chunk-PYH3PL3N.js";
|
|
@@ -20,16 +20,16 @@ import {
|
|
|
20
20
|
} from "./chunk-O52XK7OB.js";
|
|
21
21
|
import {
|
|
22
22
|
metadataOnly
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-6GOG5KIK.js";
|
|
24
24
|
import {
|
|
25
25
|
RefError,
|
|
26
26
|
resolveRefs,
|
|
27
27
|
selectSpans,
|
|
28
28
|
shortestRefs
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-VFOLC4OX.js";
|
|
30
30
|
import {
|
|
31
31
|
exportTraceEvidenceFile
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-CG5QHQO4.js";
|
|
33
33
|
import {
|
|
34
34
|
SkillUsageStore,
|
|
35
35
|
TurnIndex,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
renderSkillUsage,
|
|
45
45
|
sessionIdentityLookup,
|
|
46
46
|
sessionMatches
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-WF7PTDCZ.js";
|
|
48
48
|
import {
|
|
49
49
|
knownHarnesses,
|
|
50
50
|
listAdapters,
|
|
@@ -55,10 +55,10 @@ import {
|
|
|
55
55
|
resolveAdapter,
|
|
56
56
|
selectAdapters,
|
|
57
57
|
sessionsInCwd
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-7USMM4MA.js";
|
|
59
59
|
import {
|
|
60
60
|
indexSessionIdsByTrace
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-UQSAGXPH.js";
|
|
62
62
|
import {
|
|
63
63
|
appendAll,
|
|
64
64
|
iterSerializedSpans,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
tracesCommit,
|
|
67
67
|
tracesVersion,
|
|
68
68
|
writeOtlpFile
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-CQ6UYZG6.js";
|
|
70
70
|
import "./chunk-RZL5GAWH.js";
|
|
71
71
|
import {
|
|
72
72
|
parseSince,
|
|
@@ -1481,7 +1481,7 @@ async function cmdList(args) {
|
|
|
1481
1481
|
`);
|
|
1482
1482
|
}
|
|
1483
1483
|
async function collectOtlpSpans(path, selector) {
|
|
1484
|
-
const { sessionReportSource } = await import("./report-
|
|
1484
|
+
const { sessionReportSource } = await import("./report-E3G2T5TJ.js");
|
|
1485
1485
|
let input;
|
|
1486
1486
|
try {
|
|
1487
1487
|
input = await readOtlpInput(path);
|
|
@@ -1577,7 +1577,7 @@ function mergeCollected(parts) {
|
|
|
1577
1577
|
};
|
|
1578
1578
|
}
|
|
1579
1579
|
async function collectSessionSpans(args, onBatch) {
|
|
1580
|
-
const { sessionReportSource } = await import("./report-
|
|
1580
|
+
const { sessionReportSource } = await import("./report-E3G2T5TJ.js");
|
|
1581
1581
|
const spans = [];
|
|
1582
1582
|
const harnesses = /* @__PURE__ */ new Set();
|
|
1583
1583
|
const sources = [];
|
|
@@ -1770,7 +1770,7 @@ async function cmdBundle(args) {
|
|
|
1770
1770
|
console.log(`session bundle \u2192 ${result.directory} (${manifest.files.length} file(s), ${manifest.absent.length} recorded absent)`);
|
|
1771
1771
|
}
|
|
1772
1772
|
async function cmdMcp(args) {
|
|
1773
|
-
const { createServedSpans, serveTraceMcp } = await import("./mcp-
|
|
1773
|
+
const { createServedSpans, serveTraceMcp } = await import("./mcp-EYIDKBEK.js");
|
|
1774
1774
|
const served = createServedSpans();
|
|
1775
1775
|
const collected = await forEachSpanBatch(args, async (spans) => served.add(spans));
|
|
1776
1776
|
if (collected.spanCount === 0) throw new Error("mcp: no spans found for the given selection");
|
|
@@ -1780,7 +1780,7 @@ async function cmdMcp(args) {
|
|
|
1780
1780
|
await serveTraceMcp({ served: served.finish() });
|
|
1781
1781
|
}
|
|
1782
1782
|
async function cmdDiff(args) {
|
|
1783
|
-
const { diffRuns, renderRunDiff } = await import("./diff-
|
|
1783
|
+
const { diffRuns, renderRunDiff } = await import("./diff-J4RAIOXO.js");
|
|
1784
1784
|
const report = await diffRuns(args.refs[0], args.refs[1]);
|
|
1785
1785
|
if (!report.diff.firstDivergence && report.caveat) {
|
|
1786
1786
|
throw new CliError(`the runs' tool calls line up with no difference, but there is no outcome to call agreement on: ${report.caveat}`, "no-outcome");
|
|
@@ -2024,8 +2024,8 @@ async function cmdAnalyze(args) {
|
|
|
2024
2024
|
const { writeSupervisorReport } = await import("./supervisor-report-RMPLLBGZ.js");
|
|
2025
2025
|
return writeSupervisorReport(runDir.path, args.out);
|
|
2026
2026
|
}
|
|
2027
|
-
const { createTraceInvestigation, writeAnalysisArtifacts } = await import("./improvement-
|
|
2028
|
-
const { renderAnalysis, renderAnalysisReport } = await import("./report-
|
|
2027
|
+
const { createTraceInvestigation, writeAnalysisArtifacts } = await import("./improvement-LCCVGGUS.js");
|
|
2028
|
+
const { renderAnalysis, renderAnalysisReport } = await import("./report-E3G2T5TJ.js");
|
|
2029
2029
|
const investigation = createTraceInvestigation({
|
|
2030
2030
|
harness: args.harnessExplicit ? args.harness : "none",
|
|
2031
2031
|
facts: { window: factsWindow(args), agentIdentity: sessionIdentityLookup(args.selection?.home ?? (process.env.HOME || homedir())) },
|
|
@@ -2052,7 +2052,7 @@ async function cmdAnalyze(args) {
|
|
|
2052
2052
|
process.stdout.write(renderAnalysis(result));
|
|
2053
2053
|
}
|
|
2054
2054
|
async function collectImportedSpans(path, format, selector) {
|
|
2055
|
-
const { sessionReportSource } = await import("./report-
|
|
2055
|
+
const { sessionReportSource } = await import("./report-E3G2T5TJ.js");
|
|
2056
2056
|
const result = await exportTraceEvidenceFile(path, { format });
|
|
2057
2057
|
const spans = selector ? selectSpans(result.spans, selector, path) : result.spans;
|
|
2058
2058
|
const { sessionByTrace } = indexSessionIdsByTrace(spans);
|
|
@@ -2078,7 +2078,7 @@ async function collectImportedSpans(path, format, selector) {
|
|
|
2078
2078
|
}
|
|
2079
2079
|
async function cmdAsk(args) {
|
|
2080
2080
|
const { analysisEngineFromEnv, bridgeVersion, missingAskRequirements, UnservableModelError } = await import("./analyst-model-call-JVUOYZ5V.js");
|
|
2081
|
-
const { createTraceQuestionCorpus, isBridgeMismatchError, loadTraceQuestionsFile, normalizeTraceQuestions, runTraceQuestions, writeTraceQuestionsArtifacts } = await import("./ask-
|
|
2081
|
+
const { createTraceQuestionCorpus, isBridgeMismatchError, loadTraceQuestionsFile, normalizeTraceQuestions, runTraceQuestions, writeTraceQuestionsArtifacts } = await import("./ask-2KF4KSPB.js");
|
|
2082
2082
|
let questions;
|
|
2083
2083
|
try {
|
|
2084
2084
|
questions = [
|
|
@@ -2195,7 +2195,7 @@ async function cmdWatch(args) {
|
|
|
2195
2195
|
}
|
|
2196
2196
|
const jsonl = args.format === "jsonl";
|
|
2197
2197
|
if (source && !jsonl) return cmdWatchRunTarget(source.path, args);
|
|
2198
|
-
const { streamSessions, watchSource } = await import("./live-
|
|
2198
|
+
const { streamSessions, watchSource } = await import("./live-XXL7VZWB.js");
|
|
2199
2199
|
const since = args.since ?? "30m";
|
|
2200
2200
|
const windowMs = relativeBoundMs(since);
|
|
2201
2201
|
const sessions = named?.sessions.length ? named.sessions : void 0;
|
|
@@ -2252,7 +2252,7 @@ async function cmdWatch(args) {
|
|
|
2252
2252
|
}
|
|
2253
2253
|
}
|
|
2254
2254
|
async function cmdWatchRunTarget(dir, args) {
|
|
2255
|
-
const { resolveRunWatchTarget, watchRunTarget } = await import("./run-watch-
|
|
2255
|
+
const { resolveRunWatchTarget, watchRunTarget } = await import("./run-watch-RAOOAXOF.js");
|
|
2256
2256
|
const target = await resolveRunWatchTarget(resolve2(dir));
|
|
2257
2257
|
const controller = new AbortController();
|
|
2258
2258
|
if (!args.once) {
|
|
@@ -2293,7 +2293,7 @@ async function* refSessions(args) {
|
|
|
2293
2293
|
}
|
|
2294
2294
|
}
|
|
2295
2295
|
async function cmdUpload(args) {
|
|
2296
|
-
const { executeUpload, planUpload, planUploadFrom } = await import("./upload-
|
|
2296
|
+
const { executeUpload, planUpload, planUploadFrom } = await import("./upload-3R7GRSKS.js");
|
|
2297
2297
|
const named = args.selection;
|
|
2298
2298
|
const fromRefs = named !== void 0 && named.sessions.length + named.spans.length > 0;
|
|
2299
2299
|
if (!fromRefs && args.since === void 0) {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
diffRuns,
|
|
3
|
+
renderRunDiff
|
|
4
|
+
} from "./chunk-K2KH2HHD.js";
|
|
5
|
+
import "./chunk-VFOLC4OX.js";
|
|
6
|
+
import "./chunk-CG5QHQO4.js";
|
|
7
|
+
import "./chunk-WF7PTDCZ.js";
|
|
8
|
+
import "./chunk-7USMM4MA.js";
|
|
9
|
+
import "./chunk-UQSAGXPH.js";
|
|
10
|
+
import "./chunk-CQ6UYZG6.js";
|
|
11
|
+
import "./chunk-RZL5GAWH.js";
|
|
12
|
+
import "./chunk-DU534HAX.js";
|
|
13
|
+
export {
|
|
14
|
+
diffRuns,
|
|
15
|
+
renderRunDiff
|
|
16
|
+
};
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
runTraceInvestigation,
|
|
6
6
|
spanEvidenceUri,
|
|
7
7
|
writeAnalysisArtifacts
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-FC4V25CG.js";
|
|
9
|
+
import "./chunk-REO2JQJY.js";
|
|
10
|
+
import "./chunk-YAX72TST.js";
|
|
11
|
+
import "./chunk-6GOG5KIK.js";
|
|
12
|
+
import "./chunk-2XXABIRL.js";
|
|
13
|
+
import "./chunk-WF7PTDCZ.js";
|
|
14
|
+
import "./chunk-7USMM4MA.js";
|
|
15
|
+
import "./chunk-UQSAGXPH.js";
|
|
16
|
+
import "./chunk-CQ6UYZG6.js";
|
|
17
17
|
import "./chunk-DU534HAX.js";
|
|
18
18
|
export {
|
|
19
19
|
buildTraceFindingPacket,
|
package/dist/index.js
CHANGED
|
@@ -2,57 +2,57 @@ import {
|
|
|
2
2
|
analyzeSpans,
|
|
3
3
|
buildTraceFindingPacket,
|
|
4
4
|
runTraceInvestigation
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FC4V25CG.js";
|
|
6
6
|
import {
|
|
7
7
|
analysisEngineFromEnv
|
|
8
8
|
} from "./chunk-GLUDGUGJ.js";
|
|
9
9
|
import {
|
|
10
10
|
runTraceQuestions
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QUHUMZ4W.js";
|
|
12
12
|
import {
|
|
13
13
|
streamSessions
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-GNRXKQEQ.js";
|
|
15
|
+
import "./chunk-REO2JQJY.js";
|
|
16
16
|
import {
|
|
17
17
|
executeUpload,
|
|
18
18
|
planUpload
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-TOCNGML5.js";
|
|
20
20
|
import {
|
|
21
21
|
assembleSessionBundle,
|
|
22
22
|
verifySessionBundle
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-QLVP37YB.js";
|
|
24
24
|
import {
|
|
25
25
|
conformanceOfSpans
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-YAX72TST.js";
|
|
27
27
|
import "./chunk-PYH3PL3N.js";
|
|
28
28
|
import "./chunk-O52XK7OB.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-6GOG5KIK.js";
|
|
30
30
|
import {
|
|
31
31
|
verifySafe
|
|
32
32
|
} from "./chunk-4VKPN432.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-2XXABIRL.js";
|
|
34
34
|
import {
|
|
35
35
|
diffRuns,
|
|
36
36
|
renderRunDiff
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-K2KH2HHD.js";
|
|
38
|
+
import "./chunk-VFOLC4OX.js";
|
|
39
|
+
import "./chunk-CG5QHQO4.js";
|
|
40
40
|
import {
|
|
41
41
|
buildSessionFactsReport,
|
|
42
42
|
computeSessionFacts,
|
|
43
43
|
renderSessionFacts
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-WF7PTDCZ.js";
|
|
45
45
|
import {
|
|
46
46
|
knownHarnesses,
|
|
47
47
|
parseSession,
|
|
48
48
|
scanSessions
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-7USMM4MA.js";
|
|
50
|
+
import "./chunk-UQSAGXPH.js";
|
|
51
51
|
import {
|
|
52
52
|
readOtlpInput,
|
|
53
53
|
tracesVersion,
|
|
54
54
|
writeOtlpFile
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-CQ6UYZG6.js";
|
|
56
56
|
import {
|
|
57
57
|
assessSpans,
|
|
58
58
|
redactSpans
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
streamSessions,
|
|
3
|
+
watchSource
|
|
4
|
+
} from "./chunk-GNRXKQEQ.js";
|
|
5
|
+
import "./chunk-REO2JQJY.js";
|
|
6
|
+
import "./chunk-WF7PTDCZ.js";
|
|
7
|
+
import "./chunk-7USMM4MA.js";
|
|
8
|
+
import "./chunk-UQSAGXPH.js";
|
|
9
|
+
import "./chunk-CQ6UYZG6.js";
|
|
10
|
+
import "./chunk-DU534HAX.js";
|
|
11
|
+
export {
|
|
12
|
+
streamSessions,
|
|
13
|
+
watchSource
|
|
14
|
+
};
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
sheetText,
|
|
6
6
|
topCounts,
|
|
7
7
|
utcMinute
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-WF7PTDCZ.js";
|
|
9
|
+
import "./chunk-7USMM4MA.js";
|
|
10
10
|
import {
|
|
11
11
|
ACTOR_ATTR,
|
|
12
12
|
ATTR,
|
|
13
13
|
isInheritedSpan,
|
|
14
14
|
sessionIdFromAttributes
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-UQSAGXPH.js";
|
|
16
|
+
import "./chunk-CQ6UYZG6.js";
|
|
17
17
|
import "./chunk-DU534HAX.js";
|
|
18
18
|
|
|
19
19
|
// src/report.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exportTraceEvidenceFile
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CG5QHQO4.js";
|
|
4
4
|
import {
|
|
5
5
|
isSynthesizedSpan
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-UQSAGXPH.js";
|
|
7
|
+
import "./chunk-CQ6UYZG6.js";
|
|
8
8
|
import "./chunk-RZL5GAWH.js";
|
|
9
9
|
import "./chunk-DU534HAX.js";
|
|
10
10
|
import {
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
planUpload,
|
|
5
5
|
planUploadFrom,
|
|
6
6
|
toTraceSpanEvents
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-TOCNGML5.js";
|
|
8
|
+
import "./chunk-6GOG5KIK.js";
|
|
9
|
+
import "./chunk-7USMM4MA.js";
|
|
10
|
+
import "./chunk-UQSAGXPH.js";
|
|
11
|
+
import "./chunk-CQ6UYZG6.js";
|
|
12
12
|
import "./chunk-RZL5GAWH.js";
|
|
13
13
|
import "./chunk-DU534HAX.js";
|
|
14
14
|
export {
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# traces 1.0.1
|
|
2
|
+
|
|
3
|
+
- CLI startup is back to 1.0.0's cost before the agent-eval 0.221.3 bump: agent-runtime and agent-interface now resolve to the same graph agent-eval loads, so one copy loads instead of two (#229).
|
|
4
|
+
- The release path builds before the tests that spawn the built CLI (#230, #231), and the prepare call has the permissions qualify-release's jobs need (#228).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/traces",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "What your coding agents did, where they wasted time, and whether a run passes: exact facts, ranked findings, one CI gate and a live view over Claude Code, Codex, OpenCode, Pi, Kimi and Factory sessions and any OTLP spans. CLI and SDK.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"@tangle-network/agent-eval": "0.221.3",
|
|
67
|
-
"@tangle-network/agent-interface": "5.
|
|
68
|
-
"@tangle-network/agent-runtime": "0.
|
|
67
|
+
"@tangle-network/agent-interface": "5.7.1",
|
|
68
|
+
"@tangle-network/agent-runtime": "0.348.1",
|
|
69
69
|
"@tangle-network/agent-trace-contract": "2.1.0",
|
|
70
70
|
"@tangle-network/harness-sessions": "0.1.7"
|
|
71
71
|
},
|
package/dist/diff-ZZ6KYBPP.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
diffRuns,
|
|
3
|
-
renderRunDiff
|
|
4
|
-
} from "./chunk-TYLFUX42.js";
|
|
5
|
-
import "./chunk-CL3OQOWX.js";
|
|
6
|
-
import "./chunk-6CLC7DKP.js";
|
|
7
|
-
import "./chunk-UVE5ANVV.js";
|
|
8
|
-
import "./chunk-3T62R7ON.js";
|
|
9
|
-
import "./chunk-TR6O4S4T.js";
|
|
10
|
-
import "./chunk-NZ5Y7UEL.js";
|
|
11
|
-
import "./chunk-RZL5GAWH.js";
|
|
12
|
-
import "./chunk-DU534HAX.js";
|
|
13
|
-
export {
|
|
14
|
-
diffRuns,
|
|
15
|
-
renderRunDiff
|
|
16
|
-
};
|
package/dist/live-Y64AJ6MA.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
streamSessions,
|
|
3
|
-
watchSource
|
|
4
|
-
} from "./chunk-UOLRCQHC.js";
|
|
5
|
-
import "./chunk-7CBV5RJ2.js";
|
|
6
|
-
import "./chunk-UVE5ANVV.js";
|
|
7
|
-
import "./chunk-3T62R7ON.js";
|
|
8
|
-
import "./chunk-TR6O4S4T.js";
|
|
9
|
-
import "./chunk-NZ5Y7UEL.js";
|
|
10
|
-
import "./chunk-DU534HAX.js";
|
|
11
|
-
export {
|
|
12
|
-
streamSessions,
|
|
13
|
-
watchSource
|
|
14
|
-
};
|