@axiom-lattice/gateway 2.1.113 → 2.1.114
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 +6 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/controllers/workspace.ts +3 -3
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @axiom-lattice/gateway@2.1.
|
|
2
|
+
> @axiom-lattice/gateway@2.1.114 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,10 +18,10 @@
|
|
|
18
18
|
You need to set the output format to "esm" for "import.meta" to work correctly.
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
[32mCJS[39m [1mdist/index.js [22m[32m409.
|
|
22
|
-
[32mCJS[39m [1mdist/index.js.map [22m[32m832.
|
|
23
|
-
[32mCJS[39m ⚡️ Build success in
|
|
24
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m338.
|
|
21
|
+
[32mCJS[39m [1mdist/index.js [22m[32m409.66 KB[39m
|
|
22
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m832.66 KB[39m
|
|
23
|
+
[32mCJS[39m ⚡️ Build success in 565ms
|
|
24
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m338.96 KB[39m
|
|
25
25
|
[32mESM[39m [1mdist/mcp-configs-SHRMQHIL.mjs [22m[32m685.00 B[39m
|
|
26
26
|
[32mESM[39m [1mdist/chunk-K4XELOSO.mjs [22m[32m12.52 KB[39m
|
|
27
27
|
[32mESM[39m [1mdist/sender-PX32VSHB.mjs [22m[32m873.00 B[39m
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
[32mESM[39m [1mdist/a2a-ERG5RMUW.mjs.map [22m[32m32.14 KB[39m
|
|
39
39
|
[32mESM[39m [1mdist/resources-VA7LSDKN.mjs.map [22m[32m29.34 KB[39m
|
|
40
40
|
[32mESM[39m [1mdist/chunk-LHQY46YB.mjs.map [22m[32m2.39 KB[39m
|
|
41
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[32m710.
|
|
42
|
-
[32mESM[39m ⚡️ Build success in
|
|
41
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m710.45 KB[39m
|
|
42
|
+
[32mESM[39m ⚡️ Build success in 580ms
|
|
43
43
|
[34mDTS[39m Build start
|
|
44
|
-
[32mDTS[39m ⚡️ Build success in
|
|
44
|
+
[32mDTS[39m ⚡️ Build success in 21614ms
|
|
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
package/dist/index.js
CHANGED
|
@@ -6396,7 +6396,7 @@ var WorkspaceController = class {
|
|
|
6396
6396
|
async uploadFile(request, reply) {
|
|
6397
6397
|
const tenantId = this.getTenantId(request);
|
|
6398
6398
|
const { workspaceId, projectId } = request.params;
|
|
6399
|
-
const assistantId = request.query.assistantId;
|
|
6399
|
+
const assistantId = request.query.assistantId || request.headers["x-assistant-id"];
|
|
6400
6400
|
const workspace = await this.workspaceStore.getWorkspaceById(
|
|
6401
6401
|
tenantId,
|
|
6402
6402
|
workspaceId
|
|
@@ -6430,6 +6430,8 @@ var WorkspaceController = class {
|
|
|
6430
6430
|
const volumeBackend = await sandboxManager.getVolumeBackendForPath(volumeConfig, realPath);
|
|
6431
6431
|
if (volumeBackend && !isBinary) {
|
|
6432
6432
|
await volumeBackend.write(realPath, buffer.toString("utf-8"));
|
|
6433
|
+
} else if (volumeBackend && volumeBackend.writeBinary) {
|
|
6434
|
+
await volumeBackend.writeBinary(realPath, buffer);
|
|
6433
6435
|
} else {
|
|
6434
6436
|
const sandbox = await sandboxManager.getSandboxFromConfig(volumeConfig);
|
|
6435
6437
|
await sandbox.file.uploadFile({ file: realPath, data: buffer });
|