@shivaedev/mcp 0.9.19 → 0.9.20

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +1 -1
  3. package/package.json +16 -16
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.9.20 - 2026-11-20
4
+
5
+ ### Changed
6
+
7
+ - Require Effect 4.1.4 and its matching platform packages.
8
+ - a stdio server whose client closes its input interrupts in-flight tools, releases their resources and exits with code 0 instead of 130. An invalid numeric tool argument is reported against Effect 4.1.4's JSON number codec, such as `Expected "Infinity" | "-Infinity" | "NaN"`, instead of `Expected number`.
9
+
3
10
  ## 0.9.19 - 2026-11-19
4
11
 
5
12
  ### Changed
package/README.md CHANGED
@@ -85,7 +85,7 @@ mcpStdio({ name: "Local integration", version: "1", tools: userTools.pipe(Layer.
85
85
  );
86
86
  ```
87
87
 
88
- `userTools` is the toolkit Layer declared above. The stdio entry point requires Effect's `Stdio` service, supplied here by `NodeServices.layer` from `@effect/platform-node`. Keep stdout for MCP messages and direct application logs to stderr. The server supports MCP `2026-07-28` and `2025-11-25` over newline-delimited JSON-RPC. Its Layer scope owns the transport and handlers: cancelling a tool call releases its scoped resources, and closing the client stops the child process and releases in-flight tool resources.
88
+ `userTools` is the toolkit Layer declared above. The stdio entry point requires Effect's `Stdio` service, supplied here by `NodeServices.layer` from `@effect/platform-node`. Keep stdout for MCP messages and direct application logs to stderr. The server supports MCP `2026-07-28` and `2025-11-25` over newline-delimited JSON-RPC. Its Layer scope owns the transport and handlers: cancelling a tool call releases its scoped resources, and closing the client interrupts in-flight tools, releases their resources and ends the child process with exit code 0.
89
89
 
90
90
  Stdio uses the services supplied by the local application. It does not run the HTTP session policy or select permission-based audiences; the application chooses which toolkits to serve and supplies the identity its tools read. Services a tool declares in `dependencies` are request-level in Effect's `McpServer`: supply them through `McpServer.middleware` provided to the toolkit Layer, as `localUser` does here, because `Layer.provide` with the service itself does not satisfy them.
91
91
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shivaedev/mcp",
3
- "version": "0.9.19",
3
+ "version": "0.9.20",
4
4
  "description": "Identity-aware Effect MCP tools mounted on the application host",
5
5
  "keywords": [
6
6
  "effect"
@@ -43,28 +43,28 @@
43
43
  "README.md"
44
44
  ],
45
45
  "dependencies": {
46
- "@shivaedev/access": "0.6.4",
47
- "@shivaedev/errors": "0.13.0",
48
- "@shivaedev/identity": "0.33.0"
46
+ "@shivaedev/access": "0.6.5",
47
+ "@shivaedev/errors": "0.13.1",
48
+ "@shivaedev/identity": "0.34.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@effect/platform-node": "4.1.2",
52
- "@effect/sql-pg": "4.1.2",
53
- "@shivaedev/quality": "0.78.4",
54
- "@shivaedev/rate-limit": "0.6.13",
55
- "@shivaedev/server": "0.36.0",
56
- "@shivaedev/test-kits": "0.13.3",
57
- "@shivaedev/test-sql": "0.25.3",
58
- "@shivaedev/test-story": "0.48.1",
51
+ "@effect/platform-node": "4.1.4",
52
+ "@effect/sql-pg": "4.1.4",
53
+ "@shivaedev/quality": "0.78.5",
54
+ "@shivaedev/rate-limit": "0.6.14",
55
+ "@shivaedev/server": "0.37.0",
56
+ "@shivaedev/test-kits": "0.13.4",
57
+ "@shivaedev/test-sql": "0.25.4",
58
+ "@shivaedev/test-story": "0.49.0",
59
59
  "@types/node": "24.19.2",
60
- "better-auth": "1.7.16",
61
- "effect": "4.1.2",
60
+ "better-auth": "1.7.22",
61
+ "effect": "4.1.4",
62
62
  "typescript": "7.0.2",
63
63
  "vitest": "5.1.0"
64
64
  },
65
65
  "peerDependencies": {
66
- "better-auth": "1.7.16",
67
- "effect": "4.1.2"
66
+ "better-auth": "1.7.22",
67
+ "effect": "4.1.4"
68
68
  },
69
69
  "peerDependenciesMeta": {
70
70
  "better-auth": {