@axiom-lattice/gateway 2.1.114 → 2.1.116

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.114 build /home/runner/work/agentic/agentic/packages/gateway
2
+ > @axiom-lattice/gateway@2.1.116 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,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
- 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
- ESM dist/mcp-configs-SHRMQHIL.mjs 685.00 B
21
+ CJS dist/index.js 410.19 KB
22
+ CJS dist/index.js.map 833.87 KB
23
+ CJS ⚡️ Build success in 551ms
26
24
  ESM dist/chunk-K4XELOSO.mjs 12.52 KB
27
25
  ESM dist/sender-PX32VSHB.mjs 873.00 B
28
26
  ESM dist/WechatChannelAdapter-WSDKR4OA.mjs 8.27 KB
27
+ ESM dist/index.mjs 339.48 KB
28
+ ESM dist/mcp-configs-SHRMQHIL.mjs 685.00 B
29
29
  ESM dist/chunk-6CUQGDJI.mjs 6.42 KB
30
- ESM dist/a2a-ERG5RMUW.mjs 15.95 KB
31
30
  ESM dist/resources-VA7LSDKN.mjs 15.81 KB
31
+ ESM dist/a2a-ERG5RMUW.mjs 15.95 KB
32
32
  ESM dist/chunk-LHQY46YB.mjs 1.46 KB
33
- ESM dist/mcp-configs-SHRMQHIL.mjs.map 71.00 B
34
- ESM dist/chunk-K4XELOSO.mjs.map 25.53 KB
35
33
  ESM dist/sender-PX32VSHB.mjs.map 2.07 KB
34
+ ESM dist/chunk-K4XELOSO.mjs.map 25.53 KB
36
35
  ESM dist/WechatChannelAdapter-WSDKR4OA.mjs.map 16.28 KB
36
+ ESM dist/mcp-configs-SHRMQHIL.mjs.map 71.00 B
37
37
  ESM dist/chunk-6CUQGDJI.mjs.map 14.04 KB
38
- ESM dist/a2a-ERG5RMUW.mjs.map 32.14 KB
39
38
  ESM dist/resources-VA7LSDKN.mjs.map 29.34 KB
39
+ ESM dist/a2a-ERG5RMUW.mjs.map 32.14 KB
40
40
  ESM dist/chunk-LHQY46YB.mjs.map 2.39 KB
41
- ESM dist/index.mjs.map 710.45 KB
42
- ESM ⚡️ Build success in 580ms
41
+ ESM dist/index.mjs.map 711.66 KB
42
+ ESM ⚡️ Build success in 551ms
43
43
  DTS Build start
44
- DTS ⚡️ Build success in 21614ms
44
+ DTS ⚡️ Build success in 20289ms
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,27 @@
1
1
  # @axiom-lattice/gateway
2
2
 
3
+ ## 2.1.116
4
+
5
+ ### Patch Changes
6
+
7
+ - 075a384: add skill graph, tenant url
8
+ - Updated dependencies [075a384]
9
+ - @axiom-lattice/core@2.1.102
10
+ - @axiom-lattice/pg-stores@1.0.93
11
+ - @axiom-lattice/protocols@2.1.53
12
+ - @axiom-lattice/queue-redis@1.0.52
13
+
14
+ ## 2.1.115
15
+
16
+ ### Patch Changes
17
+
18
+ - acdaec8: add read image file via llm
19
+ - Updated dependencies [acdaec8]
20
+ - @axiom-lattice/core@2.1.101
21
+ - @axiom-lattice/protocols@2.1.52
22
+ - @axiom-lattice/pg-stores@1.0.92
23
+ - @axiom-lattice/queue-redis@1.0.51
24
+
3
25
  ## 2.1.114
4
26
 
5
27
  ### Patch Changes
package/dist/index.js CHANGED
@@ -2245,7 +2245,10 @@ var createRun = async (request, reply) => {
2245
2245
  const project_id = request.headers["x-project-id"];
2246
2246
  const x_request_id = request.headers["x-request-id"] || (0, import_uuid.v4)();
2247
2247
  const user_id = getUserId2(request);
2248
- const mergedConfig = user_id ? { ...custom_run_config, user_id } : custom_run_config;
2248
+ const mergedConfig = {
2249
+ ...custom_run_config,
2250
+ ...user_id && { user_id }
2251
+ };
2249
2252
  if (!assistant_id) {
2250
2253
  reply.status(400).send({
2251
2254
  success: false,
@@ -4884,6 +4887,7 @@ async function listTasks(request, reply) {
4884
4887
  priority: query.priority,
4885
4888
  ownerType: query.ownerType,
4886
4889
  metadata: query.metadata ? JSON.parse(query.metadata) : void 0,
4890
+ projectId: query.projectId,
4887
4891
  limit: query.limit ? parseInt(query.limit) : void 0,
4888
4892
  offset: query.offset ? parseInt(query.offset) : void 0
4889
4893
  });
@@ -4996,6 +5000,23 @@ async function completeTask(request, reply) {
4996
5000
  return reply.status(500).send({ success: false, error: error.message });
4997
5001
  }
4998
5002
  }
5003
+ function getTaskWorkItemStore() {
5004
+ return (0, import_core17.getStoreLattice)("default", "taskWorkItem").store;
5005
+ }
5006
+ async function listTaskWorkItems(request, reply) {
5007
+ const tenantId = getTenantId9(request);
5008
+ const { id } = request.params;
5009
+ const { action, limit, offset } = request.query;
5010
+ const store2 = getTaskWorkItemStore();
5011
+ const items = await store2.list({
5012
+ tenantId,
5013
+ taskId: id,
5014
+ action,
5015
+ limit: limit ? Number(limit) : void 0,
5016
+ offset: offset ? Number(offset) : void 0
5017
+ });
5018
+ return reply.send({ success: true, data: items });
5019
+ }
4999
5020
 
5000
5021
  // src/services/ExportImportService.ts
5001
5022
  var import_core18 = require("@axiom-lattice/core");
@@ -8503,11 +8524,7 @@ var AuthController = class {
8503
8524
  return {
8504
8525
  success: true,
8505
8526
  data: {
8506
- tenant: {
8507
- id: tenant.id,
8508
- name: tenant.name,
8509
- status: tenant.status
8510
- },
8527
+ tenant,
8511
8528
  token,
8512
8529
  personalAssistant
8513
8530
  }
@@ -9747,6 +9764,7 @@ var registerLatticeRoutes = (app2, channelDeps) => {
9747
9764
  app2.put("/api/tasks/:id", updateTask);
9748
9765
  app2.delete("/api/tasks/:id", deleteTask);
9749
9766
  app2.patch("/api/tasks/:id/complete", completeTask);
9767
+ app2.get("/api/tasks/:id/work-items", listTaskWorkItems);
9750
9768
  app2.get(
9751
9769
  "/api/assistants/:assistantId/graph",
9752
9770
  { schema: getAgentGraphSchema },