@clipform/mcp-server 2.10.5 → 2.10.7

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.
@@ -3,7 +3,7 @@ import {
3
3
  WORKFLOW_TYPES,
4
4
  getDiscoveryParams,
5
5
  getSessionContextWithAuth
6
- } from "./chunk-O35IVA4L.js";
6
+ } from "./chunk-SAAH4U7O.js";
7
7
  import {
8
8
  __export
9
9
  } from "./chunk-G3PMV62Z.js";
@@ -4856,4 +4856,4 @@ export {
4856
4856
  getWorkflowText,
4857
4857
  registerPrompts
4858
4858
  };
4859
- //# sourceMappingURL=chunk-QZO6MGNN.js.map
4859
+ //# sourceMappingURL=chunk-RMMQVPZN.js.map
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  MCP_ANONYMOUS_HEADER,
3
+ MCP_AUTH_VIA_HEADER,
3
4
  MCP_MINT_PROOF_HEADER,
4
5
  getMcpAuth
5
- } from "./chunk-ENHVQDSI.js";
6
+ } from "./chunk-HZMMOSEM.js";
6
7
  import {
7
8
  isAuthFault,
8
9
  isServerFault,
@@ -2767,6 +2768,9 @@ function getAuthHeaders() {
2767
2768
  if (authCtx?.is_anonymous) {
2768
2769
  headers[MCP_ANONYMOUS_HEADER] = "1";
2769
2770
  }
2771
+ if (authCtx?.auth_via === "oauth") {
2772
+ headers[MCP_AUTH_VIA_HEADER] = "oauth";
2773
+ }
2770
2774
  if (authCtx?.mcp_mint_proof) {
2771
2775
  headers[MCP_MINT_PROOF_HEADER] = authCtx.mcp_mint_proof;
2772
2776
  }
@@ -2951,4 +2955,4 @@ export {
2951
2955
  getSessionContextWithAuth,
2952
2956
  getSessionContext
2953
2957
  };
2954
- //# sourceMappingURL=chunk-O35IVA4L.js.map
2958
+ //# sourceMappingURL=chunk-SAAH4U7O.js.map