@axiom-lattice/gateway 2.1.55 → 2.1.57

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.55 build /home/runner/work/agentic/agentic/packages/gateway
2
+ > @axiom-lattice/gateway@2.1.57 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
@@ -11,11 +11,11 @@
11
11
  ESM Build start
12
12
  CJS dist/index.js 187.77 KB
13
13
  CJS dist/index.js.map 403.05 KB
14
- CJS ⚡️ Build success in 239ms
14
+ CJS ⚡️ Build success in 369ms
15
15
  ESM dist/index.mjs 184.87 KB
16
16
  ESM dist/index.mjs.map 403.64 KB
17
- ESM ⚡️ Build success in 255ms
17
+ ESM ⚡️ Build success in 370ms
18
18
  DTS Build start
19
- DTS ⚡️ Build success in 11050ms
19
+ DTS ⚡️ Build success in 10503ms
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,27 @@
1
1
  # @axiom-lattice/gateway
2
2
 
3
+ ## 2.1.57
4
+
5
+ ### Patch Changes
6
+
7
+ - a8c25a6: fix sandbox
8
+ - Updated dependencies [a8c25a6]
9
+ - @axiom-lattice/core@2.1.51
10
+ - @axiom-lattice/pg-stores@1.0.41
11
+ - @axiom-lattice/protocols@2.1.28
12
+ - @axiom-lattice/queue-redis@1.0.27
13
+
14
+ ## 2.1.56
15
+
16
+ ### Patch Changes
17
+
18
+ - 15808cd: update sandbox console
19
+ - Updated dependencies [15808cd]
20
+ - @axiom-lattice/core@2.1.50
21
+ - @axiom-lattice/pg-stores@1.0.40
22
+ - @axiom-lattice/protocols@2.1.27
23
+ - @axiom-lattice/queue-redis@1.0.26
24
+
3
25
  ## 2.1.55
4
26
 
5
27
  ### Patch Changes
package/jest.config.js CHANGED
@@ -16,11 +16,55 @@ module.exports = {
16
16
  "^@axiom-lattice/protocols$": "<rootDir>/../protocols/src/index.ts",
17
17
  "^@axiom-lattice/pg-stores$": "<rootDir>/../pg-stores/src/index.ts",
18
18
  "^@axiom-lattice/queue-redis$": "<rootDir>/../queue-redis/src/index.ts",
19
+ "^@memory_lattice$": "<rootDir>/../core/src/memory_lattice",
20
+ "^@memory_lattice/(.*)$": "<rootDir>/../core/src/memory_lattice/$1",
21
+ "^@model_lattice$": "<rootDir>/../core/src/model_lattice",
22
+ "^@model_lattice/(.*)$": "<rootDir>/../core/src/model_lattice/$1",
23
+ "^@tool_lattice$": "<rootDir>/../core/src/tool_lattice",
24
+ "^@tool_lattice/(.*)$": "<rootDir>/../core/src/tool_lattice/$1",
25
+ "^@store_lattice$": "<rootDir>/../core/src/store_lattice",
26
+ "^@store_lattice/(.*)$": "<rootDir>/../core/src/store_lattice/$1",
27
+ "^@agent_lattice$": "<rootDir>/../core/src/agent_lattice",
28
+ "^@agent_lattice/(.*)$": "<rootDir>/../core/src/agent_lattice/$1",
29
+ "^@skill_lattice$": "<rootDir>/../core/src/skill_lattice",
30
+ "^@skill_lattice/(.*)$": "<rootDir>/../core/src/skill_lattice/$1",
31
+ "^@sandbox_lattice$": "<rootDir>/../core/src/sandbox_lattice",
32
+ "^@sandbox_lattice/(.*)$": "<rootDir>/../core/src/sandbox_lattice/$1",
33
+ "^@mcp_lattice$": "<rootDir>/../core/src/mcp_lattice",
34
+ "^@mcp_lattice/(.*)$": "<rootDir>/../core/src/mcp_lattice/$1",
35
+ "^@chunk_buffer_lattice$": "<rootDir>/../core/src/chunk_buffer_lattice",
36
+ "^@chunk_buffer_lattice/(.*)$": "<rootDir>/../core/src/chunk_buffer_lattice/$1",
37
+ "^@base$": "<rootDir>/../core/src/base",
38
+ "^@base/(.*)$": "<rootDir>/../core/src/base/$1",
39
+ "^@services$": "<rootDir>/../core/src/services",
40
+ "^@services/(.*)$": "<rootDir>/../core/src/services/$1",
41
+ "^@middlewares$": "<rootDir>/../core/src/middlewares",
42
+ "^@middlewares/(.*)\.js$": "<rootDir>/../core/src/middlewares/$1",
43
+ "^@middlewares/(.*)$": "<rootDir>/../core/src/middlewares/$1",
44
+ "^@deep_agent_new$": "<rootDir>/../core/src/deep_agent_new",
45
+ "^@deep_agent_new/(.*)$": "<rootDir>/../core/src/deep_agent_new/$1",
46
+ "^@agent_team$": "<rootDir>/../core/src/agent_team",
47
+ "^@agent_team/(.*)$": "<rootDir>/../core/src/agent_team/$1",
48
+ "^@schedule_lattice$": "<rootDir>/../core/src/schedule_lattice",
49
+ "^@schedule_lattice/(.*)$": "<rootDir>/../core/src/schedule_lattice/$1",
50
+ "^@queue_lattice$": "<rootDir>/../core/src/queue_lattice",
51
+ "^@queue_lattice/(.*)$": "<rootDir>/../core/src/queue_lattice/$1",
52
+ "^@embeddings_lattice$": "<rootDir>/../core/src/embeddings_lattice",
53
+ "^@embeddings_lattice/(.*)$": "<rootDir>/../core/src/embeddings_lattice/$1",
54
+ "^@vectorstore_lattice$": "<rootDir>/../core/src/vectorstore_lattice",
55
+ "^@vectorstore_lattice/(.*)$": "<rootDir>/../core/src/vectorstore_lattice/$1",
56
+ "^@logger_lattice$": "<rootDir>/../core/src/logger_lattice",
57
+ "^@logger_lattice/(.*)$": "<rootDir>/../core/src/logger_lattice/$1",
58
+ "^@util$": "<rootDir>/../core/src/util",
59
+ "^@util/(.*)$": "<rootDir>/../core/src/util/$1",
19
60
  "^@/(.*)$": "<rootDir>/src/$1",
20
61
  "^@services/(.*)$": "<rootDir>/src/services/$1",
21
62
  "^@utils/(.*)$": "<rootDir>/src/utils/$1",
22
63
  "^@types$": "<rootDir>/src/types/index.ts",
23
64
  "^e2b$": "<rootDir>/src/__tests__/__mocks__/e2b.ts",
65
+ // Strip .js extension from ESM-style imports (must come after all @-scoped mappings)
66
+ "^(@.*)[.]js$": "$1",
67
+ "^(\..*)[.]js$": "$1",
24
68
  },
25
69
  collectCoverageFrom: ["src/**/*.ts", "!src/**/*.d.ts", "!src/__tests__/**/*"],
26
70
  coverageReporters: ["text", "lcov", "html"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axiom-lattice/gateway",
3
- "version": "2.1.55",
3
+ "version": "2.1.57",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -39,10 +39,10 @@
39
39
  "pg": "^8.11.0",
40
40
  "redis": "^5.0.1",
41
41
  "uuid": "^9.0.1",
42
- "@axiom-lattice/core": "2.1.49",
43
- "@axiom-lattice/pg-stores": "1.0.39",
44
- "@axiom-lattice/protocols": "2.1.26",
45
- "@axiom-lattice/queue-redis": "1.0.25"
42
+ "@axiom-lattice/core": "2.1.51",
43
+ "@axiom-lattice/pg-stores": "1.0.41",
44
+ "@axiom-lattice/protocols": "2.1.28",
45
+ "@axiom-lattice/queue-redis": "1.0.27"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/jest": "^29.5.14",
@@ -332,6 +332,32 @@ describe("WorkspaceController - Tenant Isolation", () => {
332
332
  });
333
333
  });
334
334
 
335
+ describe("filesystem storage ~/ path passthrough", () => {
336
+ it("readFile should pass ~/ paths to the filesystem backend unchanged", async () => {
337
+ const { FilesystemBackend } = await import("@axiom-lattice/core");
338
+
339
+ const backendRead = jest.fn().mockResolvedValue("1: hello");
340
+ (FilesystemBackend as jest.Mock).mockImplementation(() => ({
341
+ lsInfo: jest.fn(),
342
+ read: backendRead,
343
+ }));
344
+
345
+ mockGetWorkspaceById.mockResolvedValue({
346
+ id: mockWorkspaceId,
347
+ tenantId: mockTenantId,
348
+ storageType: "filesystem",
349
+ });
350
+
351
+ const request = createMockRequest({
352
+ query: { path: "~/project/test.txt", offset: 0, limit: 50 },
353
+ });
354
+
355
+ await controller.readFile(request);
356
+
357
+ expect(backendRead).toHaveBeenCalledWith("~/project/test.txt", 0, 50);
358
+ });
359
+ });
360
+
335
361
  describe("getTenantId helper", () => {
336
362
  it("should extract tenantId from user context when available", () => {
337
363
  const request = {