@psnext/slingcli 3.3.20261005-1 → 3.5.20261007-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/node_modules/@modelcontextprotocol/sdk/README.md +8 -2
- package/node_modules/@modelcontextprotocol/sdk/package.json +1 -1
- package/node_modules/express-rate-limit/dist/index.cjs +9 -7
- package/node_modules/express-rate-limit/dist/index.mjs +9 -7
- package/node_modules/express-rate-limit/package.json +9 -9
- package/package.json +2 -2
- package/slingshot/index.js +170 -170
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
# MCP TypeScript SDK [](https://www.npmjs.com/package/@modelcontextprotocol/sdk) [](https://github.com/modelcontextprotocol/typescript-sdk/blob/
|
|
1
|
+
# MCP TypeScript SDK [](https://www.npmjs.com/package/@modelcontextprotocol/sdk) [](https://github.com/modelcontextprotocol/typescript-sdk/blob/v1.x/LICENSE)
|
|
2
|
+
|
|
3
|
+
> **This is v1.x of the MCP TypeScript SDK, the maintenance line.** It implements the MCP spec up to 2025-11-25. Support for the [2026-07-28 spec](https://modelcontextprotocol.io/specification/2026-07-28) is not planned for v1.x: it is in v2, the current stable release, which
|
|
4
|
+
> ships as separate packages, [`@modelcontextprotocol/server`](https://www.npmjs.com/package/@modelcontextprotocol/server) and [`@modelcontextprotocol/client`](https://www.npmjs.com/package/@modelcontextprotocol/client). See the
|
|
5
|
+
> [v2 documentation](https://ts.sdk.modelcontextprotocol.io/v2/) and the [migration guide](https://ts.sdk.modelcontextprotocol.io/v2/migration/upgrade-to-v2).
|
|
6
|
+
>
|
|
7
|
+
> **Staying on v1.x?** It continues to receive bug fixes and security updates for at least six months after the v2 release (2026-07-27). The v1 documentation is at <https://ts.sdk.modelcontextprotocol.io/>.
|
|
2
8
|
|
|
3
9
|
<details>
|
|
4
10
|
<summary>Table of Contents</summary>
|
|
@@ -17,7 +23,7 @@
|
|
|
17
23
|
## Overview
|
|
18
24
|
|
|
19
25
|
The Model Context Protocol allows applications to provide context for LLMs in a standardized way, separating the concerns of providing context from the actual LLM interaction. This TypeScript SDK implements
|
|
20
|
-
[the
|
|
26
|
+
[the 2025-11-25 MCP specification](https://modelcontextprotocol.io/specification/2025-11-25), making it easy to:
|
|
21
27
|
|
|
22
28
|
- Create MCP servers that expose resources, prompts and tools
|
|
23
29
|
- Build MCP clients that can connect to any MCP server
|
|
@@ -955,13 +955,15 @@ var rateLimit = (passedOptions) => {
|
|
|
955
955
|
resetTime,
|
|
956
956
|
key
|
|
957
957
|
};
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
958
|
+
if (debug.enabled) {
|
|
959
|
+
for (const [key2, val] of Object.entries(info))
|
|
960
|
+
debug(
|
|
961
|
+
"set request.%s.%s to be %o",
|
|
962
|
+
config.requestPropertyName,
|
|
963
|
+
key2,
|
|
964
|
+
val
|
|
965
|
+
);
|
|
966
|
+
}
|
|
965
967
|
Object.defineProperty(info, "current", {
|
|
966
968
|
configurable: false,
|
|
967
969
|
enumerable: false,
|
|
@@ -912,13 +912,15 @@ var rateLimit = (passedOptions) => {
|
|
|
912
912
|
resetTime,
|
|
913
913
|
key
|
|
914
914
|
};
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
915
|
+
if (debug.enabled) {
|
|
916
|
+
for (const [key2, val] of Object.entries(info))
|
|
917
|
+
debug(
|
|
918
|
+
"set request.%s.%s to be %o",
|
|
919
|
+
config.requestPropertyName,
|
|
920
|
+
key2,
|
|
921
|
+
val
|
|
922
|
+
);
|
|
923
|
+
}
|
|
922
924
|
Object.defineProperty(info, "current", {
|
|
923
925
|
configurable: false,
|
|
924
926
|
enumerable: false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "express-rate-limit",
|
|
3
|
-
"version": "8.7.
|
|
3
|
+
"version": "8.7.1",
|
|
4
4
|
"description": "Basic IP rate-limiting middleware for Express. Use to limit repeated requests to public APIs and/or endpoints such as password reset.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Nathan Friedly",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"clean": "del-cli dist/ coverage/ *.log *.tmp *.bak *.tgz",
|
|
59
|
-
"build:cjs": "esbuild --packages=external --platform=node --bundle --target=
|
|
60
|
-
"build:esm": "esbuild --packages=external --platform=node --bundle --target=
|
|
59
|
+
"build:cjs": "esbuild --packages=external --platform=node --bundle --target=es2020 --format=cjs --outfile=dist/index.cjs --footer:js=\"module.exports = Object.assign(rateLimit, module.exports);\" source/index.ts",
|
|
60
|
+
"build:esm": "esbuild --packages=external --platform=node --bundle --target=es2020 --format=esm --outfile=dist/index.mjs source/index.ts",
|
|
61
61
|
"build:types": "dts-bundle-generator --out-file=dist/index.d.ts source/index.ts && cp dist/index.d.ts dist/index.d.cts && cp dist/index.d.ts dist/index.d.mts",
|
|
62
62
|
"compile": "run-s clean build:*",
|
|
63
63
|
"docs": "cd docs && mintlify dev",
|
|
@@ -86,20 +86,20 @@
|
|
|
86
86
|
"@biomejs/biome": "2.4.6",
|
|
87
87
|
"@express-rate-limit/prettier": "1.1.1",
|
|
88
88
|
"@express-rate-limit/tsconfig": "1.0.5",
|
|
89
|
-
"@jest/globals": "30.
|
|
89
|
+
"@jest/globals": "30.5.1",
|
|
90
90
|
"@types/debug": "4.1.13",
|
|
91
91
|
"@types/express": "5.0.6",
|
|
92
92
|
"@types/jest": "30.0.0",
|
|
93
|
-
"@types/node": "26.
|
|
93
|
+
"@types/node": "26.4.1",
|
|
94
94
|
"@types/supertest": "7.2.1",
|
|
95
95
|
"del-cli": "7.0.0",
|
|
96
96
|
"dts-bundle-generator": "8.1.2",
|
|
97
97
|
"esbuild": "0.28.2",
|
|
98
98
|
"express": "5.2.1",
|
|
99
99
|
"husky": "9.1.7",
|
|
100
|
-
"jest": "30.
|
|
101
|
-
"lint-staged": "17.
|
|
102
|
-
"mintlify": "4.2.
|
|
100
|
+
"jest": "30.5.1",
|
|
101
|
+
"lint-staged": "17.4.1",
|
|
102
|
+
"mintlify": "4.2.874",
|
|
103
103
|
"npm-run-all": "4.1.5",
|
|
104
104
|
"prettier": "3.9.6",
|
|
105
105
|
"ratelimit-header-parser": "0.1.0",
|
|
@@ -111,6 +111,6 @@
|
|
|
111
111
|
"prettier": "@express-rate-limit/prettier",
|
|
112
112
|
"lint-staged": {
|
|
113
113
|
"*.{js,ts,json}": "biome check --write",
|
|
114
|
-
"*.
|
|
114
|
+
"*.md": "prettier --write"
|
|
115
115
|
}
|
|
116
116
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@psnext/slingcli",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.20261007-1",
|
|
4
4
|
"description": "Connects Sling CLI to Publicis Sapient Slingshot enterprise LLM gateway. Bundles the pi coding-agent runtime.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"type": "git",
|
|
31
31
|
"url": "git+https://pscode.lioncloud.net/psaiproducts/slingcli.git"
|
|
32
32
|
},
|
|
33
|
-
"slingVersion": "3.
|
|
33
|
+
"slingVersion": "3.5.20261007-1",
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@earendil-works/pi-tui": "file:../.sling-pack/earendil-works-pi-tui-0.87.1.tgz",
|
|
36
36
|
"@earendil-works/pi-ai": "file:../.sling-pack/earendil-works-pi-ai-0.87.1.tgz",
|