agentv 4.15.1 → 4.15.2-next.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.
@@ -42,7 +42,7 @@ import {
42
42
  validateFileReferences,
43
43
  validateTargetsFile,
44
44
  writeArtifactsFromResults
45
- } from "./chunk-VFJ3UPNX.js";
45
+ } from "./chunk-O4RLSNIR.js";
46
46
  import {
47
47
  DEFAULT_CATEGORY,
48
48
  DEFAULT_THRESHOLD,
@@ -73,10 +73,10 @@ import {
73
73
  scanRepoDeps,
74
74
  toCamelCaseDeep,
75
75
  toSnakeCaseDeep as toSnakeCaseDeep2,
76
- toTranscriptJsonLine,
76
+ toTranscriptJsonLines,
77
77
  transpileEvalYamlFile,
78
78
  trimBaselineResult
79
- } from "./chunk-CA3SJJN7.js";
79
+ } from "./chunk-6X2UFVGI.js";
80
80
  import {
81
81
  __commonJS,
82
82
  __require,
@@ -3912,7 +3912,7 @@ var evalRunCommand = command({
3912
3912
  },
3913
3913
  handler: async (args) => {
3914
3914
  if (args.evalPaths.length === 0 && process.stdin.isTTY) {
3915
- const { launchInteractiveWizard } = await import("./interactive-G4WWA32J.js");
3915
+ const { launchInteractiveWizard } = await import("./interactive-ULCAOSHJ.js");
3916
3916
  await launchInteractiveWizard();
3917
3917
  return;
3918
3918
  }
@@ -4052,9 +4052,13 @@ var importClaudeCommand = command({
4052
4052
  const shortId = (sessionId ?? transcript.source.sessionId).slice(0, 8);
4053
4053
  const outputPath = output ?? path4.join(".agentv", "transcripts", `claude-${shortId}.jsonl`);
4054
4054
  await mkdir2(path4.dirname(outputPath), { recursive: true });
4055
- const jsonLine = toTranscriptJsonLine(transcript);
4056
- await writeFile2(outputPath, `${JSON.stringify(jsonLine)}
4057
- `, "utf8");
4055
+ const jsonLines = toTranscriptJsonLines(transcript);
4056
+ await writeFile2(
4057
+ outputPath,
4058
+ `${jsonLines.map((line) => JSON.stringify(line)).join("\n")}
4059
+ `,
4060
+ "utf8"
4061
+ );
4058
4062
  const msgCount = transcript.messages.length;
4059
4063
  const toolCount = transcript.messages.reduce((sum, m) => sum + (m.toolCalls?.length ?? 0), 0);
4060
4064
  console.log(`Imported ${msgCount} messages (${toolCount} tool calls) \u2192 ${outputPath}`);
@@ -4165,9 +4169,13 @@ var importCodexCommand = command({
4165
4169
  const shortId = session.sessionId.slice(0, 8);
4166
4170
  const outputPath = output ?? path5.join(".agentv", "transcripts", `codex-${shortId}.jsonl`);
4167
4171
  await mkdir3(path5.dirname(outputPath), { recursive: true });
4168
- const jsonLine = toTranscriptJsonLine(transcript);
4169
- await writeFile3(outputPath, `${JSON.stringify(jsonLine)}
4170
- `, "utf8");
4172
+ const jsonLines = toTranscriptJsonLines(transcript);
4173
+ await writeFile3(
4174
+ outputPath,
4175
+ `${jsonLines.map((line) => JSON.stringify(line)).join("\n")}
4176
+ `,
4177
+ "utf8"
4178
+ );
4171
4179
  const msgCount = transcript.messages.length;
4172
4180
  const toolCount = transcript.messages.reduce((sum, m) => sum + (m.toolCalls?.length ?? 0), 0);
4173
4181
  console.log(`Imported ${msgCount} messages (${toolCount} tool calls) \u2192 ${outputPath}`);
@@ -4283,9 +4291,13 @@ var importCopilotCommand = command({
4283
4291
  const shortId = resolvedSessionId.slice(0, 8);
4284
4292
  const outputPath = output ?? path6.join(".agentv", "transcripts", `copilot-${shortId}.jsonl`);
4285
4293
  await mkdir4(path6.dirname(outputPath), { recursive: true });
4286
- const jsonLine = toTranscriptJsonLine(transcript);
4287
- await writeFile4(outputPath, `${JSON.stringify(jsonLine)}
4288
- `, "utf8");
4294
+ const jsonLines = toTranscriptJsonLines(transcript);
4295
+ await writeFile4(
4296
+ outputPath,
4297
+ `${jsonLines.map((line) => JSON.stringify(line)).join("\n")}
4298
+ `,
4299
+ "utf8"
4300
+ );
4289
4301
  const msgCount = transcript.messages.length;
4290
4302
  const toolCount = transcript.messages.reduce((sum, m) => sum + (m.toolCalls?.length ?? 0), 0);
4291
4303
  console.log(`Imported ${msgCount} messages (${toolCount} tool calls) \u2192 ${outputPath}`);
@@ -10049,4 +10061,4 @@ export {
10049
10061
  preprocessArgv,
10050
10062
  runCli
10051
10063
  };
10052
- //# sourceMappingURL=chunk-BUQ2JYIB.js.map
10064
+ //# sourceMappingURL=chunk-ZO4VTVKQ.js.map