@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.
- package/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +19 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/controllers/metrics-configs.ts +8 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @axiom-lattice/gateway@2.1.
|
|
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
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
[34mCLI[39m Cleaning output folder
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
11
|
[34mESM[39m Build start
|
|
12
|
-
[32mCJS[39m [1mdist/index.js [22m[
|
|
13
|
-
[32mCJS[39m [1mdist/index.js.map [22m[
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
|
15
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m152.
|
|
16
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[
|
|
17
|
-
[32mESM[39m ⚡️ Build success in
|
|
12
|
+
[32mCJS[39m [1mdist/index.js [22m[32m156.14 KB[39m
|
|
13
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m340.10 KB[39m
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 296ms
|
|
15
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m152.45 KB[39m
|
|
16
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m340.26 KB[39m
|
|
17
|
+
[32mESM[39m ⚡️ Build success in 297ms
|
|
18
18
|
[34mDTS[39m Build start
|
|
19
|
-
[32mDTS[39m ⚡️ Build success in
|
|
19
|
+
[32mDTS[39m ⚡️ Build success in 10252ms
|
|
20
20
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m3.76 KB[39m
|
|
21
21
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m3.76 KB[39m
|
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
|
|
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) {
|