@plitzi/sdk-shared 0.32.12 → 0.32.13

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @plitzi/sdk-shared
2
2
 
3
+ ## 0.32.13
4
+
5
+ ### Patch Changes
6
+
7
+ - v0.32.13
8
+ - Updated dependencies
9
+ - @plitzi/nexus@0.32.13
10
+
3
11
  ## 0.32.12
4
12
 
5
13
  ### Patch Changes
@@ -442,7 +442,13 @@ export type OAuthConsentView = {
442
442
  * authorization code with PKCE). ENTIRELY OPTIONAL: without this config no endpoint is mounted, discovery keeps
443
443
  * answering 404 and the server stays anonymous, which is a working setup — the public surface (handshake, tool
444
444
  * and resource listing, the guide, plitzi_render) never needed a token. Configure it only to let a remote host
445
- * that cannot send custom headers — Claude Desktop, ChatGPT — obtain a space-scoped one. */
445
+ * that cannot send custom headers — Claude Desktop, ChatGPT — obtain a space-scoped one.
446
+ *
447
+ * Configuring it also protects the MCP endpoint: a JSON-RPC call that presents no verifiable bearer is answered
448
+ * with RFC 6750's 401 challenge rather than the anonymous surface, because that 401 is the only thing a host runs
449
+ * its flow off — it ignores a `WWW-Authenticate` header on a 200, and a server that never sends one is treated as
450
+ * needing no authorization at all, leaving a completed grant with nowhere to attach. Offer a grant target that
451
+ * carries no space ({@link OAuthGrantTarget}) so the public surface stays one consent away. */
446
452
  export type OAuthConfig = {
447
453
  adapters: OAuthAdapters;
448
454
  /** The issuer/resource identifier published in the metadata documents. Defaults to the origin the request came
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plitzi/sdk-shared",
3
- "version": "0.32.12",
3
+ "version": "0.32.13",
4
4
  "license": "AGPL-3.0",
5
5
  "files": [
6
6
  "dist",
@@ -1230,7 +1230,7 @@
1230
1230
  },
1231
1231
  "dependencies": {
1232
1232
  "@modelcontextprotocol/sdk": "^1.29.0",
1233
- "@plitzi/nexus": "0.32.12",
1233
+ "@plitzi/nexus": "0.32.13",
1234
1234
  "@plitzi/plitzi-ui": "^1.6.18",
1235
1235
  "date-fns": "^4.4.0",
1236
1236
  "date-fns-tz": "^3.2.0",