@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.
- package/.turbo/turbo-build.log +13 -13
- package/CHANGELOG.md +22 -0
- package/dist/index.js +24 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
- package/src/controllers/auth.ts +1 -5
- package/src/controllers/run.ts +5 -4
- package/src/controllers/tasks.ts +28 -1
- package/src/routes/index.ts +1 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @axiom-lattice/gateway@2.1.
|
|
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
|
[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
|
-
[32mCJS[39m [1mdist/index.js [22m[
|
|
22
|
-
[32mCJS[39m [1mdist/index.js.map [22m[
|
|
23
|
-
[32mCJS[39m ⚡️ Build success in
|
|
24
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m338.96 KB[39m
|
|
25
|
-
[32mESM[39m [1mdist/mcp-configs-SHRMQHIL.mjs [22m[32m685.00 B[39m
|
|
21
|
+
[32mCJS[39m [1mdist/index.js [22m[32m410.19 KB[39m
|
|
22
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m833.87 KB[39m
|
|
23
|
+
[32mCJS[39m ⚡️ Build success in 551ms
|
|
26
24
|
[32mESM[39m [1mdist/chunk-K4XELOSO.mjs [22m[32m12.52 KB[39m
|
|
27
25
|
[32mESM[39m [1mdist/sender-PX32VSHB.mjs [22m[32m873.00 B[39m
|
|
28
26
|
[32mESM[39m [1mdist/WechatChannelAdapter-WSDKR4OA.mjs [22m[32m8.27 KB[39m
|
|
27
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m339.48 KB[39m
|
|
28
|
+
[32mESM[39m [1mdist/mcp-configs-SHRMQHIL.mjs [22m[32m685.00 B[39m
|
|
29
29
|
[32mESM[39m [1mdist/chunk-6CUQGDJI.mjs [22m[32m6.42 KB[39m
|
|
30
|
-
[32mESM[39m [1mdist/a2a-ERG5RMUW.mjs [22m[32m15.95 KB[39m
|
|
31
30
|
[32mESM[39m [1mdist/resources-VA7LSDKN.mjs [22m[32m15.81 KB[39m
|
|
31
|
+
[32mESM[39m [1mdist/a2a-ERG5RMUW.mjs [22m[32m15.95 KB[39m
|
|
32
32
|
[32mESM[39m [1mdist/chunk-LHQY46YB.mjs [22m[32m1.46 KB[39m
|
|
33
|
-
[32mESM[39m [1mdist/mcp-configs-SHRMQHIL.mjs.map [22m[32m71.00 B[39m
|
|
34
|
-
[32mESM[39m [1mdist/chunk-K4XELOSO.mjs.map [22m[32m25.53 KB[39m
|
|
35
33
|
[32mESM[39m [1mdist/sender-PX32VSHB.mjs.map [22m[32m2.07 KB[39m
|
|
34
|
+
[32mESM[39m [1mdist/chunk-K4XELOSO.mjs.map [22m[32m25.53 KB[39m
|
|
36
35
|
[32mESM[39m [1mdist/WechatChannelAdapter-WSDKR4OA.mjs.map [22m[32m16.28 KB[39m
|
|
36
|
+
[32mESM[39m [1mdist/mcp-configs-SHRMQHIL.mjs.map [22m[32m71.00 B[39m
|
|
37
37
|
[32mESM[39m [1mdist/chunk-6CUQGDJI.mjs.map [22m[32m14.04 KB[39m
|
|
38
|
-
[32mESM[39m [1mdist/a2a-ERG5RMUW.mjs.map [22m[32m32.14 KB[39m
|
|
39
38
|
[32mESM[39m [1mdist/resources-VA7LSDKN.mjs.map [22m[32m29.34 KB[39m
|
|
39
|
+
[32mESM[39m [1mdist/a2a-ERG5RMUW.mjs.map [22m[32m32.14 KB[39m
|
|
40
40
|
[32mESM[39m [1mdist/chunk-LHQY46YB.mjs.map [22m[32m2.39 KB[39m
|
|
41
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[
|
|
42
|
-
[32mESM[39m ⚡️ Build success in
|
|
41
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m711.66 KB[39m
|
|
42
|
+
[32mESM[39m ⚡️ Build success in 551ms
|
|
43
43
|
[34mDTS[39m Build start
|
|
44
|
-
[32mDTS[39m ⚡️ Build success in
|
|
44
|
+
[32mDTS[39m ⚡️ Build success in 20289ms
|
|
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,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 =
|
|
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 },
|