@ramarivera/coding-agent-langfuse 0.1.9 → 0.1.10

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.
Files changed (2) hide show
  1. package/dist/backfill.js +2 -2
  2. package/package.json +1 -1
package/dist/backfill.js CHANGED
@@ -523,7 +523,7 @@ function opencodeEvents(homeDir, rowLimit) {
523
523
  let messages = [];
524
524
  try {
525
525
  sessions = sqliteJsonByRowid(db, "session", "id, directory, time_created, time_updated, title, version, slug, project_id", undefined, rowLimit, 5_000);
526
- messages = sqliteJsonByRowid(db, "message", "id, session_id, time_created, time_updated, case when length(data) <= 1000000 then data else null end as data, length(data) <= 1000000 as __include", undefined, rowLimit, 50);
526
+ messages = sqliteJsonByRowid(db, "message", "id, session_id, time_created, time_updated, case when length(data) <= 1000000 then data else null end as data, length(data) <= 1000000 as __include", undefined, rowLimit, 500);
527
527
  }
528
528
  catch (error) {
529
529
  console.error(`Skipping OpenCode history from ${db}: ${error instanceof Error ? error.message : String(error)}`);
@@ -583,7 +583,7 @@ function opencodeEvents(homeDir, rowLimit) {
583
583
  function sqliteJson(db, sql) {
584
584
  const output = execFileSync("sqlite3", ["-readonly", "-json", db, sql], {
585
585
  encoding: "utf8",
586
- maxBuffer: 128 * 1024 * 1024,
586
+ maxBuffer: 1024 * 1024 * 1024,
587
587
  stdio: ["ignore", "pipe", "ignore"],
588
588
  });
589
589
  return JSON.parse(output || "[]");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ramarivera/coding-agent-langfuse",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Universal coding-agent Langfuse backfiller and live OTLP helpers",
5
5
  "type": "module",
6
6
  "license": "MIT",