@ramarivera/coding-agent-langfuse 0.1.26 → 0.1.27
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/backfill.js +1 -1
- package/package.json +1 -1
package/dist/backfill.js
CHANGED
|
@@ -381,6 +381,7 @@ function isGenerationEvent(event) {
|
|
|
381
381
|
}
|
|
382
382
|
function codexEvents(homeDir) {
|
|
383
383
|
const files = listFiles(join(homeDir, ".codex/sessions"), (path) => path.endsWith(".jsonl"));
|
|
384
|
+
const seenTokenCounts = new Set();
|
|
384
385
|
return files.flatMap((path) => {
|
|
385
386
|
const rows = parseJsonl(path).map(asRecord);
|
|
386
387
|
const meta = rows.find((row) => row.type === "session_meta");
|
|
@@ -393,7 +394,6 @@ function codexEvents(homeDir) {
|
|
|
393
394
|
let currentModel = model;
|
|
394
395
|
let currentCwd = cwd;
|
|
395
396
|
let currentTurnRecordId = "session";
|
|
396
|
-
const seenTokenCounts = new Set();
|
|
397
397
|
const events = [
|
|
398
398
|
{
|
|
399
399
|
agent: "codex",
|