@axiom-lattice/gateway 2.1.110 → 2.1.111
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 +12 -12
- package/CHANGELOG.md +10 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{resources-5POCLGXV.mjs → resources-VA7LSDKN.mjs} +2 -1
- package/dist/{resources-5POCLGXV.mjs.map → resources-VA7LSDKN.mjs.map} +1 -1
- package/package.json +4 -4
- package/src/controllers/__tests__/resources.test.ts +23 -0
- package/src/controllers/resources.ts +1 -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.111 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
|
|
@@ -18,29 +18,29 @@
|
|
|
18
18
|
You need to set the output format to "esm" for "import.meta" to work correctly.
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m282.73 KB[39m
|
|
22
21
|
[32mESM[39m [1mdist/mcp-configs-SHRMQHIL.mjs [22m[32m685.00 B[39m
|
|
23
22
|
[32mESM[39m [1mdist/chunk-K4XELOSO.mjs [22m[32m12.52 KB[39m
|
|
24
23
|
[32mESM[39m [1mdist/sender-PX32VSHB.mjs [22m[32m873.00 B[39m
|
|
25
24
|
[32mESM[39m [1mdist/WechatChannelAdapter-WSDKR4OA.mjs [22m[32m8.27 KB[39m
|
|
26
|
-
[32mESM[39m [1mdist/chunk-6CUQGDJI.mjs [22m[32m6.42 KB[39m
|
|
27
25
|
[32mESM[39m [1mdist/a2a-ERG5RMUW.mjs [22m[32m15.95 KB[39m
|
|
28
|
-
[32mESM[39m [1mdist/
|
|
26
|
+
[32mESM[39m [1mdist/chunk-6CUQGDJI.mjs [22m[32m6.42 KB[39m
|
|
27
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m282.73 KB[39m
|
|
28
|
+
[32mESM[39m [1mdist/resources-VA7LSDKN.mjs [22m[32m15.81 KB[39m
|
|
29
29
|
[32mESM[39m [1mdist/chunk-LHQY46YB.mjs [22m[32m1.46 KB[39m
|
|
30
|
-
[32mESM[39m [1mdist/mcp-configs-SHRMQHIL.mjs.map [22m[32m71.00 B[39m
|
|
31
30
|
[32mESM[39m [1mdist/chunk-K4XELOSO.mjs.map [22m[32m25.53 KB[39m
|
|
32
31
|
[32mESM[39m [1mdist/sender-PX32VSHB.mjs.map [22m[32m2.07 KB[39m
|
|
33
32
|
[32mESM[39m [1mdist/WechatChannelAdapter-WSDKR4OA.mjs.map [22m[32m16.28 KB[39m
|
|
34
|
-
[32mESM[39m [1mdist/chunk-6CUQGDJI.mjs.map [22m[32m14.04 KB[39m
|
|
35
33
|
[32mESM[39m [1mdist/a2a-ERG5RMUW.mjs.map [22m[32m32.14 KB[39m
|
|
36
|
-
[32mESM[39m [1mdist/
|
|
34
|
+
[32mESM[39m [1mdist/chunk-6CUQGDJI.mjs.map [22m[32m14.04 KB[39m
|
|
35
|
+
[32mESM[39m [1mdist/resources-VA7LSDKN.mjs.map [22m[32m29.34 KB[39m
|
|
37
36
|
[32mESM[39m [1mdist/chunk-LHQY46YB.mjs.map [22m[32m2.39 KB[39m
|
|
38
|
-
[32mESM[39m [1mdist/
|
|
39
|
-
[32mESM[39m
|
|
40
|
-
[
|
|
37
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m598.22 KB[39m
|
|
38
|
+
[32mESM[39m [1mdist/mcp-configs-SHRMQHIL.mjs.map [22m[32m71.00 B[39m
|
|
39
|
+
[32mESM[39m ⚡️ Build success in 559ms
|
|
40
|
+
[32mCJS[39m [1mdist/index.js [22m[32m353.42 KB[39m
|
|
41
41
|
[32mCJS[39m [1mdist/index.js.map [22m[32m720.44 KB[39m
|
|
42
|
-
[32mCJS[39m ⚡️ Build success in
|
|
42
|
+
[32mCJS[39m ⚡️ Build success in 559ms
|
|
43
43
|
[34mDTS[39m Build start
|
|
44
|
-
[32mDTS[39m ⚡️ Build success in
|
|
44
|
+
[32mDTS[39m ⚡️ Build success in 20544ms
|
|
45
45
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m7.57 KB[39m
|
|
46
46
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m7.57 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @axiom-lattice/gateway
|
|
2
2
|
|
|
3
|
+
## 2.1.111
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4e028de: fix issues
|
|
8
|
+
- Updated dependencies [4e028de]
|
|
9
|
+
- @axiom-lattice/core@2.1.98
|
|
10
|
+
- @axiom-lattice/agent-eval@2.1.92
|
|
11
|
+
- @axiom-lattice/pg-stores@1.0.89
|
|
12
|
+
|
|
3
13
|
## 2.1.110
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -1977,6 +1977,7 @@ var init_resources = __esm({
|
|
|
1977
1977
|
_resolveSafeSubPath(entryFile, subPath) {
|
|
1978
1978
|
if (!subPath) return entryFile;
|
|
1979
1979
|
if (subPath.includes("..")) throw new Error("Path traversal denied");
|
|
1980
|
+
if (subPath.startsWith(entryFile + "/") || subPath === entryFile) return subPath;
|
|
1980
1981
|
const entryDir = this._isFilePath(entryFile) ? entryFile.replace(/[^/]+$/, "") : entryFile + "/";
|
|
1981
1982
|
return (entryDir + subPath).replace(/\/+/g, "/");
|
|
1982
1983
|
}
|