@inkeep/agents-run-api 0.0.0-dev-20250912230752 → 0.0.0-dev-20250913001430
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/dist/index.cjs +3 -4
- package/dist/index.js +3 -4
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -8867,6 +8867,7 @@ app4.delete("/", async (c) => {
|
|
|
8867
8867
|
var mcp_default = app4;
|
|
8868
8868
|
|
|
8869
8869
|
// src/app.ts
|
|
8870
|
+
var logger23 = getLogger("agents-run-api");
|
|
8870
8871
|
function createExecutionHono(serverConfig, credentialStores) {
|
|
8871
8872
|
const app6 = new zodOpenapi.OpenAPIHono();
|
|
8872
8873
|
app6.use("*", requestId.requestId());
|
|
@@ -8890,7 +8891,7 @@ function createExecutionHono(serverConfig, credentialStores) {
|
|
|
8890
8891
|
});
|
|
8891
8892
|
app6.use(
|
|
8892
8893
|
honoPino.pinoLogger({
|
|
8893
|
-
pino:
|
|
8894
|
+
pino: logger23 || pino.pino({ level: "debug" }),
|
|
8894
8895
|
http: {
|
|
8895
8896
|
onResLevel(c) {
|
|
8896
8897
|
if (c.res.status >= 500) {
|
|
@@ -8934,7 +8935,6 @@ function createExecutionHono(serverConfig, credentialStores) {
|
|
|
8934
8935
|
if (!isExpectedError) {
|
|
8935
8936
|
const errorMessage = err instanceof Error ? err.message : String(err);
|
|
8936
8937
|
const errorStack = err instanceof Error ? err.stack : void 0;
|
|
8937
|
-
const logger23 = getLogger();
|
|
8938
8938
|
if (logger23) {
|
|
8939
8939
|
logger23.error(
|
|
8940
8940
|
{
|
|
@@ -8948,7 +8948,6 @@ function createExecutionHono(serverConfig, credentialStores) {
|
|
|
8948
8948
|
);
|
|
8949
8949
|
}
|
|
8950
8950
|
} else {
|
|
8951
|
-
const logger23 = getLogger();
|
|
8952
8951
|
if (logger23) {
|
|
8953
8952
|
logger23.error(
|
|
8954
8953
|
{
|
|
@@ -8967,7 +8966,6 @@ function createExecutionHono(serverConfig, credentialStores) {
|
|
|
8967
8966
|
const response = err.getResponse();
|
|
8968
8967
|
return response;
|
|
8969
8968
|
} catch (responseError) {
|
|
8970
|
-
const logger23 = getLogger();
|
|
8971
8969
|
if (logger23) {
|
|
8972
8970
|
logger23.error({ error: responseError }, "Error while handling HTTPException response");
|
|
8973
8971
|
}
|
|
@@ -9012,6 +9010,7 @@ function createExecutionHono(serverConfig, credentialStores) {
|
|
|
9012
9010
|
const body = await c.req.json();
|
|
9013
9011
|
conversationId = body?.conversationId;
|
|
9014
9012
|
} catch (_) {
|
|
9013
|
+
logger23.debug("Conversation ID not found in JSON body");
|
|
9015
9014
|
}
|
|
9016
9015
|
}
|
|
9017
9016
|
const entries = Object.fromEntries(
|
package/dist/index.js
CHANGED
|
@@ -8524,6 +8524,7 @@ app4.delete("/", async (c) => {
|
|
|
8524
8524
|
var mcp_default = app4;
|
|
8525
8525
|
|
|
8526
8526
|
// src/app.ts
|
|
8527
|
+
var logger23 = getLogger("agents-run-api");
|
|
8527
8528
|
function createExecutionHono(serverConfig, credentialStores) {
|
|
8528
8529
|
const app6 = new OpenAPIHono();
|
|
8529
8530
|
app6.use("*", requestId());
|
|
@@ -8547,7 +8548,7 @@ function createExecutionHono(serverConfig, credentialStores) {
|
|
|
8547
8548
|
});
|
|
8548
8549
|
app6.use(
|
|
8549
8550
|
pinoLogger({
|
|
8550
|
-
pino:
|
|
8551
|
+
pino: logger23 || pino({ level: "debug" }),
|
|
8551
8552
|
http: {
|
|
8552
8553
|
onResLevel(c) {
|
|
8553
8554
|
if (c.res.status >= 500) {
|
|
@@ -8591,7 +8592,6 @@ function createExecutionHono(serverConfig, credentialStores) {
|
|
|
8591
8592
|
if (!isExpectedError) {
|
|
8592
8593
|
const errorMessage = err instanceof Error ? err.message : String(err);
|
|
8593
8594
|
const errorStack = err instanceof Error ? err.stack : void 0;
|
|
8594
|
-
const logger23 = getLogger();
|
|
8595
8595
|
if (logger23) {
|
|
8596
8596
|
logger23.error(
|
|
8597
8597
|
{
|
|
@@ -8605,7 +8605,6 @@ function createExecutionHono(serverConfig, credentialStores) {
|
|
|
8605
8605
|
);
|
|
8606
8606
|
}
|
|
8607
8607
|
} else {
|
|
8608
|
-
const logger23 = getLogger();
|
|
8609
8608
|
if (logger23) {
|
|
8610
8609
|
logger23.error(
|
|
8611
8610
|
{
|
|
@@ -8624,7 +8623,6 @@ function createExecutionHono(serverConfig, credentialStores) {
|
|
|
8624
8623
|
const response = err.getResponse();
|
|
8625
8624
|
return response;
|
|
8626
8625
|
} catch (responseError) {
|
|
8627
|
-
const logger23 = getLogger();
|
|
8628
8626
|
if (logger23) {
|
|
8629
8627
|
logger23.error({ error: responseError }, "Error while handling HTTPException response");
|
|
8630
8628
|
}
|
|
@@ -8669,6 +8667,7 @@ function createExecutionHono(serverConfig, credentialStores) {
|
|
|
8669
8667
|
const body = await c.req.json();
|
|
8670
8668
|
conversationId = body?.conversationId;
|
|
8671
8669
|
} catch (_) {
|
|
8670
|
+
logger23.debug("Conversation ID not found in JSON body");
|
|
8672
8671
|
}
|
|
8673
8672
|
}
|
|
8674
8673
|
const entries = Object.fromEntries(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-run-api",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20250913001430",
|
|
4
4
|
"description": "Agents Run API for Inkeep Agent Framework - handles chat, agent execution, and streaming",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"traverse": "^0.6.11",
|
|
44
44
|
"ts-pattern": "^5.7.1",
|
|
45
45
|
"zod": "^4.1.5",
|
|
46
|
-
"@inkeep/agents-core": "^0.0.0-dev-
|
|
46
|
+
"@inkeep/agents-core": "^0.0.0-dev-20250913001430"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@hono/vite-dev-server": "^0.20.1",
|