@axiom-lattice/gateway 2.1.36 → 2.1.38

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.36 build /home/runner/work/agentic/agentic/packages/gateway
2
+ > @axiom-lattice/gateway@2.1.38 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
@@ -9,13 +9,13 @@
9
9
  CLI Cleaning output folder
10
10
  CJS Build start
11
11
  ESM Build start
12
- CJS dist/index.js 155.92 KB
13
- CJS dist/index.js.map 339.67 KB
14
- CJS ⚡️ Build success in 394ms
15
- ESM dist/index.mjs 152.22 KB
16
- ESM dist/index.mjs.map 339.83 KB
17
- ESM ⚡️ Build success in 397ms
12
+ CJS dist/index.js 156.14 KB
13
+ CJS dist/index.js.map 340.10 KB
14
+ CJS ⚡️ Build success in 296ms
15
+ ESM dist/index.mjs 152.45 KB
16
+ ESM dist/index.mjs.map 340.26 KB
17
+ ESM ⚡️ Build success in 297ms
18
18
  DTS Build start
19
- DTS ⚡️ Build success in 10463ms
19
+ DTS ⚡️ Build success in 10252ms
20
20
  DTS dist/index.d.ts 3.76 KB
21
21
  DTS dist/index.d.mts 3.76 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @axiom-lattice/gateway
2
2
 
3
+ ## 2.1.38
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [cea3047]
8
+ - @axiom-lattice/protocols@2.1.19
9
+ - @axiom-lattice/core@2.1.32
10
+ - @axiom-lattice/queue-redis@1.0.18
11
+
12
+ ## 2.1.37
13
+
14
+ ### Patch Changes
15
+
16
+ - f787cbc: update agent
17
+ - Updated dependencies [f787cbc]
18
+ - @axiom-lattice/protocols@2.1.18
19
+ - @axiom-lattice/core@2.1.31
20
+ - @axiom-lattice/queue-redis@1.0.17
21
+
3
22
  ## 2.1.36
4
23
 
5
24
  ### Patch Changes
package/dist/index.js CHANGED
@@ -3396,12 +3396,14 @@ async function getDataSources(request, reply) {
3396
3396
  }
3397
3397
  const semanticConfig = config.config;
3398
3398
  const client = new import_core18.SemanticMetricsClient(semanticConfig);
3399
- const datasources = await client.getDataSources();
3399
+ const allDatasources = await client.getDataSources();
3400
+ const selectedIds = semanticConfig.selectedDataSources || [];
3401
+ const filteredDatasources = selectedIds.length > 0 ? allDatasources.filter((ds) => selectedIds.includes(String(ds.id))) : allDatasources;
3400
3402
  return {
3401
3403
  success: true,
3402
3404
  message: "Data sources retrieved successfully",
3403
3405
  data: {
3404
- datasources
3406
+ datasources: filteredDatasources
3405
3407
  }
3406
3408
  };
3407
3409
  } catch (error) {