@exulu/backend 1.34.0 → 1.34.1
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/CHANGELOG.md +3 -3
- package/dist/index.cjs +3 -2
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
## [1.34.1](https://github.com/Qventu/exulu-backend/compare/v1.34.0...v1.34.1) (2025-11-17)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* project tracking anthropic passthrough and timeout for worker ([d0c39c8](https://github.com/Qventu/exulu-backend/commit/d0c39c8dec082a098b91958d9b2fa31baa31b59e))
|
package/dist/index.cjs
CHANGED
|
@@ -6065,6 +6065,7 @@ var ExuluContext = class {
|
|
|
6065
6065
|
};
|
|
6066
6066
|
};
|
|
6067
6067
|
var updateStatistic = async (statistic) => {
|
|
6068
|
+
console.log("[EXULU] updating statistic", statistic);
|
|
6068
6069
|
const currentDate = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
6069
6070
|
const { db: db3 } = await postgresClient();
|
|
6070
6071
|
const existing = await db3.from("tracking").where({
|
|
@@ -6652,7 +6653,7 @@ Mood: friendly and intelligent.
|
|
|
6652
6653
|
return;
|
|
6653
6654
|
}
|
|
6654
6655
|
let project = null;
|
|
6655
|
-
if (!req.
|
|
6656
|
+
if (!req.params.project || req.params.project === "DEFAULT") {
|
|
6656
6657
|
project = null;
|
|
6657
6658
|
} else {
|
|
6658
6659
|
let projectQuery = db3("projects");
|
|
@@ -6929,7 +6930,7 @@ var createWorkers = async (agents, queues2, config, contexts, evals, tools, trac
|
|
|
6929
6930
|
}));
|
|
6930
6931
|
const { db: db3 } = await postgresClient();
|
|
6931
6932
|
const data = bullmqJob.data;
|
|
6932
|
-
const timeoutMs = data.timeoutInSeconds * 1e3;
|
|
6933
|
+
const timeoutMs = (data.timeoutInSeconds || 300) * 1e3;
|
|
6933
6934
|
const timeoutPromise = new Promise((_, reject) => {
|
|
6934
6935
|
setTimeout(() => {
|
|
6935
6936
|
reject(new Error(`Timeout for job ${bullmqJob.id} reached after ${data.timeoutInSeconds}s`));
|
package/dist/index.js
CHANGED
|
@@ -6032,6 +6032,7 @@ var ExuluContext = class {
|
|
|
6032
6032
|
};
|
|
6033
6033
|
};
|
|
6034
6034
|
var updateStatistic = async (statistic) => {
|
|
6035
|
+
console.log("[EXULU] updating statistic", statistic);
|
|
6035
6036
|
const currentDate = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
6036
6037
|
const { db: db3 } = await postgresClient();
|
|
6037
6038
|
const existing = await db3.from("tracking").where({
|
|
@@ -6619,7 +6620,7 @@ Mood: friendly and intelligent.
|
|
|
6619
6620
|
return;
|
|
6620
6621
|
}
|
|
6621
6622
|
let project = null;
|
|
6622
|
-
if (!req.
|
|
6623
|
+
if (!req.params.project || req.params.project === "DEFAULT") {
|
|
6623
6624
|
project = null;
|
|
6624
6625
|
} else {
|
|
6625
6626
|
let projectQuery = db3("projects");
|
|
@@ -6896,7 +6897,7 @@ var createWorkers = async (agents, queues2, config, contexts, evals, tools, trac
|
|
|
6896
6897
|
}));
|
|
6897
6898
|
const { db: db3 } = await postgresClient();
|
|
6898
6899
|
const data = bullmqJob.data;
|
|
6899
|
-
const timeoutMs = data.timeoutInSeconds * 1e3;
|
|
6900
|
+
const timeoutMs = (data.timeoutInSeconds || 300) * 1e3;
|
|
6900
6901
|
const timeoutPromise = new Promise((_, reject) => {
|
|
6901
6902
|
setTimeout(() => {
|
|
6902
6903
|
reject(new Error(`Timeout for job ${bullmqJob.id} reached after ${data.timeoutInSeconds}s`));
|