poe-code 3.0.122 → 3.0.124

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
@@ -10007,7 +10007,7 @@ var TSV_HEADER, ExperimentJournal;
10007
10007
  var init_journal = __esm({
10008
10008
  "packages/experiment-loop/src/journal/journal.ts"() {
10009
10009
  "use strict";
10010
- TSV_HEADER = ["commit", "status", "score", "durationMs", "timestamp", "output"].join(" ");
10010
+ TSV_HEADER = ["commit", "status", "score", "durationMs", "timestamp", "output", "agentOutput"].join(" ");
10011
10011
  ExperimentJournal = class {
10012
10012
  constructor(journalPath, fs3) {
10013
10013
  this.journalPath = journalPath;
@@ -10052,7 +10052,8 @@ var init_journal = __esm({
10052
10052
  entry.score === null ? "null" : String(entry.score),
10053
10053
  String(entry.durationMs),
10054
10054
  entry.timestamp,
10055
- formatOutput(entry.output)
10055
+ formatOutput(entry.output),
10056
+ formatOutput(entry.agentOutput ?? "")
10056
10057
  ].join(" ")
10057
10058
  )
10058
10059
  ].join("\n");
@@ -10436,6 +10437,7 @@ function createEntry(options) {
10436
10437
  status: options.status,
10437
10438
  score: options.score,
10438
10439
  output: options.output,
10440
+ agentOutput: options.agentOutput,
10439
10441
  durationMs: options.durationMs,
10440
10442
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
10441
10443
  };
@@ -10555,12 +10557,14 @@ async function runExperimentLoop(options) {
10555
10557
  }
10556
10558
  throw error;
10557
10559
  }
10560
+ const agentOutput = combineOutput(agentResult.stdout, agentResult.stderr);
10558
10561
  if (agentResult.exitCode !== 0) {
10559
10562
  const entry2 = createEntry({
10560
10563
  commit: preExperimentHash,
10561
10564
  status: "crash",
10562
10565
  score: null,
10563
- output: combineOutput(agentResult.stdout, agentResult.stderr),
10566
+ output: agentOutput,
10567
+ agentOutput,
10564
10568
  durationMs: Date.now() - experimentStart
10565
10569
  });
10566
10570
  experimentsCompleted += 1;
@@ -10601,6 +10605,7 @@ ${errorMessage}`,
10601
10605
  status: "crash",
10602
10606
  score: null,
10603
10607
  output: errorMessage,
10608
+ agentOutput,
10604
10609
  durationMs: Date.now() - experimentStart
10605
10610
  });
10606
10611
  experimentsCompleted += 1;
@@ -10628,6 +10633,7 @@ ${errorMessage}`,
10628
10633
  status: keep ? "keep" : "discard",
10629
10634
  score: selectJournalScore(metrics, evaluationResults),
10630
10635
  output: formatEvaluationOutput(metrics, evaluationResults),
10636
+ agentOutput,
10631
10637
  durationMs: Date.now() - experimentStart
10632
10638
  });
10633
10639
  experimentsCompleted += 1;
@@ -24004,7 +24010,7 @@ var init_package = __esm({
24004
24010
  "package.json"() {
24005
24011
  package_default = {
24006
24012
  name: "poe-code",
24007
- version: "3.0.122",
24013
+ version: "3.0.124",
24008
24014
  description: "CLI tool to configure Poe API for developer workflows.",
24009
24015
  type: "module",
24010
24016
  main: "./dist/index.js",