@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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @axiom-lattice/gateway@2.1.113 build /home/runner/work/agentic/agentic/packages/gateway
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
  CLI 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
- CJS dist/index.js 409.50 KB
22
- CJS dist/index.js.map 832.55 KB
23
- CJS ⚡️ Build success in 655ms
24
- ESM dist/index.mjs 338.80 KB
21
+ CJS dist/index.js 409.66 KB
22
+ CJS dist/index.js.map 832.66 KB
23
+ CJS ⚡️ Build success in 565ms
24
+ ESM dist/index.mjs 338.96 KB
25
25
  ESM dist/mcp-configs-SHRMQHIL.mjs 685.00 B
26
26
  ESM dist/chunk-K4XELOSO.mjs 12.52 KB
27
27
  ESM dist/sender-PX32VSHB.mjs 873.00 B
@@ -38,9 +38,9 @@
38
38
  ESM dist/a2a-ERG5RMUW.mjs.map 32.14 KB
39
39
  ESM dist/resources-VA7LSDKN.mjs.map 29.34 KB
40
40
  ESM dist/chunk-LHQY46YB.mjs.map 2.39 KB
41
- ESM dist/index.mjs.map 710.34 KB
42
- ESM ⚡️ Build success in 670ms
41
+ ESM dist/index.mjs.map 710.45 KB
42
+ ESM ⚡️ Build success in 580ms
43
43
  DTS Build start
44
- DTS ⚡️ Build success in 20229ms
44
+ DTS ⚡️ Build success in 21614ms
45
45
  DTS dist/index.d.ts 7.57 KB
46
46
  DTS dist/index.d.mts 7.57 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @axiom-lattice/gateway
2
2
 
3
+ ## 2.1.114
4
+
5
+ ### Patch Changes
6
+
7
+ - ded4cbe: fix issues
8
+
3
9
  ## 2.1.113
4
10
 
5
11
  ### Patch Changes
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 });