@axiom-lattice/gateway 2.1.36 → 2.1.37

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.37 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 420ms
15
+ ESM dist/index.mjs 152.45 KB
16
+ ESM dist/index.mjs.map 340.26 KB
17
+ ESM ⚡️ Build success in 424ms
18
18
  DTS Build start
19
- DTS ⚡️ Build success in 10463ms
19
+ DTS ⚡️ Build success in 10696ms
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,15 @@
1
1
  # @axiom-lattice/gateway
2
2
 
3
+ ## 2.1.37
4
+
5
+ ### Patch Changes
6
+
7
+ - f787cbc: update agent
8
+ - Updated dependencies [f787cbc]
9
+ - @axiom-lattice/protocols@2.1.18
10
+ - @axiom-lattice/core@2.1.31
11
+ - @axiom-lattice/queue-redis@1.0.17
12
+
3
13
  ## 2.1.36
4
14
 
5
15
  ### 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) {