@emseepea/server 0.18.0 → 0.18.2

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 (2) hide show
  1. package/README.md +18 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -12,9 +12,11 @@ bounded progress updates. Direct tools,
12
12
  resources, and prompts can ask capable clients for more information. Prompt
13
13
  arguments and resource fields may also offer suggestions.
14
14
 
15
- The package is pre-alpha. See the
16
- [repository README](https://github.com/emseepea/emseepea#readme) for what the
17
- package supports and what it does not support.
15
+ The package is beta. [Maturity and support](https://github.com/emseepea/emseepea/blob/main/SUPPORT.md#maturity-and-support)
16
+ defines the verified capabilities, breaking-change window, security-fix
17
+ eligibility, and support limits. See the
18
+ [protocol coverage ledger](https://github.com/emseepea/emseepea/blob/main/docs/protocol-coverage.md)
19
+ for the supported MCP subset and gaps.
18
20
 
19
21
  ## Render a bounded result view
20
22
 
@@ -110,6 +112,19 @@ Resource links and embedded resources do not grant access or authorization.
110
112
  Deliberate `isError` results reach the client, while thrown, malformed,
111
113
  cancelled, and expired operations retain the generic framework error.
112
114
 
115
+ ## Published Result Schemas
116
+
117
+ For tool results, `z.object` publishes an open client contract: clients may
118
+ accept unknown fields in later responses. A direct `z.strictObject` declaration
119
+ publishes a closed contract that rejects unknown fields.
120
+
121
+ Known limit: `z.object(...).pipe(z.strictObject(...))` currently still publishes
122
+ an open contract. Declare `z.strictObject` directly when you need a closed
123
+ contract.
124
+
125
+ An open published contract does not widen what the server sends. Tool handlers
126
+ may return only declared keys, and responses contain only declared fields.
127
+
113
128
  ## Discover Capability Modules at Startup
114
129
 
115
130
  Explicit registration still works. If you prefer one file per capability, put
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emseepea/server",
3
- "version": "0.18.0",
3
+ "version": "0.18.2",
4
4
  "description": "Fastify-first framework for Model Context Protocol 2026-07-28 servers over Streamable HTTP",
5
5
  "license": "MIT",
6
6
  "repository": {