@mcp-abap-adt/llm-agent-server-libs 24.1.0 → 26.0.0
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/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/smart-agent/mcp/require-mcp-timeout.d.ts +20 -0
- package/dist/smart-agent/mcp/require-mcp-timeout.d.ts.map +1 -0
- package/dist/smart-agent/mcp/require-mcp-timeout.js +23 -0
- package/dist/smart-agent/mcp/require-mcp-timeout.js.map +1 -0
- package/package.json +7 -7
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "
|
|
1
|
+
export declare const PACKAGE_VERSION = "26.0.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The MCP request timeout for one connection, or a startup failure naming it.
|
|
3
|
+
*
|
|
4
|
+
* The MCP SDK always arms a timer — `Protocol.request` reads
|
|
5
|
+
* `options?.timeout ?? DEFAULT_REQUEST_TIMEOUT_MSEC` — so this is not a knob
|
|
6
|
+
* that can be left off. Omitted, its own sixty seconds apply silently, and a
|
|
7
|
+
* long-running tool is cut for a reason nobody configured and nobody can see
|
|
8
|
+
* in the config file.
|
|
9
|
+
*
|
|
10
|
+
* No number chosen in here is right either: a catalogue lookup and an ABAP
|
|
11
|
+
* write chain differ by orders of magnitude, and deployments exist where
|
|
12
|
+
* fifteen minutes is not enough. So the value is the operator's to name, like
|
|
13
|
+
* the model, and its absence is loud rather than guessed — the same choice
|
|
14
|
+
* this codebase makes for a malformed throttle ceiling.
|
|
15
|
+
*/
|
|
16
|
+
export declare function requireMcpTimeout(cfg: {
|
|
17
|
+
name?: string;
|
|
18
|
+
timeout?: number;
|
|
19
|
+
}): number;
|
|
20
|
+
//# sourceMappingURL=require-mcp-timeout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"require-mcp-timeout.d.ts","sourceRoot":"","sources":["../../../src/smart-agent/mcp/require-mcp-timeout.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG,MAAM,CAQT"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The MCP request timeout for one connection, or a startup failure naming it.
|
|
3
|
+
*
|
|
4
|
+
* The MCP SDK always arms a timer — `Protocol.request` reads
|
|
5
|
+
* `options?.timeout ?? DEFAULT_REQUEST_TIMEOUT_MSEC` — so this is not a knob
|
|
6
|
+
* that can be left off. Omitted, its own sixty seconds apply silently, and a
|
|
7
|
+
* long-running tool is cut for a reason nobody configured and nobody can see
|
|
8
|
+
* in the config file.
|
|
9
|
+
*
|
|
10
|
+
* No number chosen in here is right either: a catalogue lookup and an ABAP
|
|
11
|
+
* write chain differ by orders of magnitude, and deployments exist where
|
|
12
|
+
* fifteen minutes is not enough. So the value is the operator's to name, like
|
|
13
|
+
* the model, and its absence is loud rather than guessed — the same choice
|
|
14
|
+
* this codebase makes for a malformed throttle ceiling.
|
|
15
|
+
*/
|
|
16
|
+
export function requireMcpTimeout(cfg) {
|
|
17
|
+
if (typeof cfg.timeout === 'number' && Number.isFinite(cfg.timeout)) {
|
|
18
|
+
return cfg.timeout;
|
|
19
|
+
}
|
|
20
|
+
const which = cfg.name ? ` "${cfg.name}"` : '';
|
|
21
|
+
throw new Error(`MCP connection${which} has no 'timeout'. It is required: the MCP SDK applies a 60s timeout of its own when none is given, which silently cuts long-running tools. Set 'mcp.timeout' (milliseconds), and 'mcp.toolTimeouts' for per-tool overrides.`);
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=require-mcp-timeout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"require-mcp-timeout.js","sourceRoot":"","sources":["../../../src/smart-agent/mcp/require-mcp-timeout.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;GAcG;AACH,MAAM,UAAU,iBAAiB,CAAC,GAGjC;IACC,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;QACpE,OAAO,GAAG,CAAC,OAAO,CAAC;IACrB,CAAC;IACD,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAC/C,MAAM,IAAI,KAAK,CACb,iBAAiB,KAAK,8NAA8N,CACrP,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-abap-adt/llm-agent-server-libs",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "26.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -58,15 +58,15 @@
|
|
|
58
58
|
"test": "node --import tsx/esm --test --test-reporter=spec 'src/**/*.test.ts'"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@mcp-abap-adt/llm-agent": "^
|
|
62
|
-
"@mcp-abap-adt/llm-agent-libs": "^
|
|
63
|
-
"@mcp-abap-adt/llm-agent-mcp": "^
|
|
64
|
-
"@mcp-abap-adt/llm-agent-rag": "^
|
|
61
|
+
"@mcp-abap-adt/llm-agent": "^26.0.0",
|
|
62
|
+
"@mcp-abap-adt/llm-agent-libs": "^26.0.0",
|
|
63
|
+
"@mcp-abap-adt/llm-agent-mcp": "^26.0.0",
|
|
64
|
+
"@mcp-abap-adt/llm-agent-rag": "^26.0.0",
|
|
65
65
|
"pg": "^8.23.0",
|
|
66
66
|
"yaml": "^2.9.0"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
|
-
"@mcp-abap-adt/sap-aicore-llm": "^
|
|
69
|
+
"@mcp-abap-adt/sap-aicore-llm": "^26.0.0"
|
|
70
70
|
},
|
|
71
71
|
"peerDependenciesMeta": {
|
|
72
72
|
"@mcp-abap-adt/sap-aicore-llm": {
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@mcp-abap-adt/sap-aicore-llm": "^
|
|
77
|
+
"@mcp-abap-adt/sap-aicore-llm": "^26.0.0",
|
|
78
78
|
"@types/pg": "^8.23.1"
|
|
79
79
|
},
|
|
80
80
|
"publishConfig": {
|