@axiom-lattice/gateway 2.1.95 → 2.1.97

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @axiom-lattice/gateway@2.1.95 build /home/runner/work/agentic/agentic/packages/gateway
2
+ > @axiom-lattice/gateway@2.1.97 build /home/runner/work/agentic/agentic/packages/gateway
3
3
  > tsup src/index.ts --format cjs,esm --dts --clean --sourcemap
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -18,17 +18,17 @@
18
18
  You need to set the output format to "esm" for "import.meta" to work correctly.
19
19
 
20
20
 
21
- CJS dist/index.js 292.02 KB
22
- CJS dist/index.js.map 607.49 KB
23
- CJS ⚡️ Build success in 476ms
24
- ESM dist/index.mjs 270.54 KB
21
+ ESM dist/index.mjs 270.71 KB
25
22
  ESM dist/sender-PX32VSHB.mjs 873.00 B
26
23
  ESM dist/a2a-ERG5RMUW.mjs 15.95 KB
24
+ ESM dist/index.mjs.map 574.08 KB
27
25
  ESM dist/sender-PX32VSHB.mjs.map 2.07 KB
28
26
  ESM dist/a2a-ERG5RMUW.mjs.map 32.14 KB
29
- ESM dist/index.mjs.map 573.70 KB
30
- ESM ⚡️ Build success in 488ms
27
+ ESM ⚡️ Build success in 464ms
28
+ CJS dist/index.js 292.19 KB
29
+ CJS dist/index.js.map 607.87 KB
30
+ CJS ⚡️ Build success in 468ms
31
31
  DTS Build start
32
- DTS ⚡️ Build success in 21539ms
32
+ DTS ⚡️ Build success in 21079ms
33
33
  DTS dist/index.d.ts 7.57 KB
34
34
  DTS dist/index.d.mts 7.57 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @axiom-lattice/gateway
2
2
 
3
+ ## 2.1.97
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [9571787]
8
+ - @axiom-lattice/core@2.1.85
9
+ - @axiom-lattice/agent-eval@2.1.79
10
+ - @axiom-lattice/pg-stores@1.0.76
11
+
12
+ ## 2.1.96
13
+
14
+ ### Patch Changes
15
+
16
+ - f5eea72: enhance wf
17
+ - Updated dependencies [f5eea72]
18
+ - @axiom-lattice/pg-stores@1.0.75
19
+ - @axiom-lattice/core@2.1.84
20
+ - @axiom-lattice/agent-eval@2.1.78
21
+
3
22
  ## 2.1.95
4
23
 
5
24
  ### Patch Changes
package/dist/index.js CHANGED
@@ -2531,8 +2531,11 @@ async function getAllWorkflowRuns(request, reply) {
2531
2531
  data: { records: enrichedRuns, total: enrichedRuns.length }
2532
2532
  };
2533
2533
  } catch (error) {
2534
- request.log.error(error, "Failed to get workflow runs");
2535
- return reply.status(500).send({ success: false, message: "Failed to retrieve workflow runs" });
2534
+ request.log.error({ tenantId, assistantId, status, error: error.stack || error.message }, "Failed to get workflow runs");
2535
+ return reply.status(500).send({
2536
+ success: false,
2537
+ message: `Failed to retrieve workflow runs: ${error.message}`
2538
+ });
2536
2539
  }
2537
2540
  }
2538
2541
  async function getInboxItems(request, reply) {
@@ -2750,8 +2753,11 @@ async function getRunSteps(request, reply) {
2750
2753
  data: { records: steps, total: steps.length }
2751
2754
  };
2752
2755
  } catch (error) {
2753
- request.log.error(error, "Failed to get run steps");
2754
- return reply.status(500).send({ success: false, message: "Failed to retrieve run steps" });
2756
+ request.log.error({ runId, error: error.stack || error.message }, "Failed to get run steps");
2757
+ return reply.status(500).send({
2758
+ success: false,
2759
+ message: `Failed to retrieve run steps: ${error.message}`
2760
+ });
2755
2761
  }
2756
2762
  }
2757
2763
  async function getRunTasks(request, reply) {