@axiom-lattice/gateway 2.1.95 → 2.1.96

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axiom-lattice/gateway",
3
- "version": "2.1.95",
3
+ "version": "2.1.96",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -40,9 +40,9 @@
40
40
  "redis": "^5.0.1",
41
41
  "uuid": "^9.0.1",
42
42
  "zod": "3.25.76",
43
- "@axiom-lattice/agent-eval": "2.1.77",
44
- "@axiom-lattice/core": "2.1.83",
45
- "@axiom-lattice/pg-stores": "1.0.74",
43
+ "@axiom-lattice/agent-eval": "2.1.78",
44
+ "@axiom-lattice/core": "2.1.84",
45
+ "@axiom-lattice/pg-stores": "1.0.75",
46
46
  "@axiom-lattice/protocols": "2.1.43",
47
47
  "@axiom-lattice/queue-redis": "1.0.42"
48
48
  },
@@ -180,8 +180,11 @@ export async function getAllWorkflowRuns(
180
180
  data: { records: enrichedRuns, total: enrichedRuns.length },
181
181
  };
182
182
  } catch (error) {
183
- request.log.error(error, "Failed to get workflow runs");
184
- return reply.status(500).send({ success: false, message: "Failed to retrieve workflow runs" });
183
+ request.log.error({ tenantId, assistantId, status, error: (error as Error).stack || (error as Error).message }, "Failed to get workflow runs");
184
+ return reply.status(500).send({
185
+ success: false,
186
+ message: `Failed to retrieve workflow runs: ${(error as Error).message}`,
187
+ });
185
188
  }
186
189
  }
187
190
 
@@ -460,8 +463,11 @@ export async function getRunSteps(
460
463
  data: { records: steps, total: steps.length },
461
464
  };
462
465
  } catch (error) {
463
- request.log.error(error, "Failed to get run steps");
464
- return reply.status(500).send({ success: false, message: "Failed to retrieve run steps" });
466
+ request.log.error({ runId, error: (error as Error).stack || (error as Error).message }, "Failed to get run steps");
467
+ return reply.status(500).send({
468
+ success: false,
469
+ message: `Failed to retrieve run steps: ${(error as Error).message}`,
470
+ });
465
471
  }
466
472
  }
467
473