@vitemcp/server 1.9.1 → 1.9.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.
package/dist/ViteMCP.cjs CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
 
12
12
 
13
- var _chunkY52P2PCScjs = require('./chunk-Y52P2PCS.cjs');
13
+ var _chunkRQEMPJ2Lcjs = require('./chunk-RQEMPJ2L.cjs');
14
14
 
15
15
 
16
16
 
@@ -52,5 +52,5 @@ require('./chunk-FEM6LNS4.cjs');
52
52
 
53
53
 
54
54
 
55
- exports.AuthProvider = _chunkSHPKRGNYcjs.AuthProvider; exports.AzureProvider = _chunkSHPKRGNYcjs.AzureProvider; exports.DiscoveryDocumentCache = _chunkY52P2PCScjs.DiscoveryDocumentCache; exports.GitHubProvider = _chunkSHPKRGNYcjs.GitHubProvider; exports.GoogleProvider = _chunkSHPKRGNYcjs.GoogleProvider; exports.MEDIA_FETCH_TIMEOUT_MS = _chunkY52P2PCScjs.MEDIA_FETCH_TIMEOUT_MS; exports.OAuthProvider = _chunkSHPKRGNYcjs.OAuthProvider; exports.OAuthProxy = _chunkSHPKRGNYcjs.OAuthProxy; exports.OAuthProxyError = _chunkSHPKRGNYcjs.OAuthProxyError; exports.ServerState = _chunkY52P2PCScjs.ServerState; exports.UnexpectedStateError = _chunkY52P2PCScjs.UnexpectedStateError; exports.UserError = _chunkY52P2PCScjs.UserError; exports.ViteMCP = _chunkY52P2PCScjs.ViteMCP; exports.ViteMCPError = _chunkY52P2PCScjs.ViteMCPError; exports.audioContent = _chunkY52P2PCScjs.audioContent; exports.delay = _chunkY52P2PCScjs.delay; exports.getAuthSession = _chunkSHPKRGNYcjs.getAuthSession; exports.imageContent = _chunkY52P2PCScjs.imageContent; exports.jsonSchemaAdapter = _chunkY52P2PCScjs.jsonSchemaAdapter; exports.requireAll = _chunkSHPKRGNYcjs.requireAll; exports.requireAny = _chunkSHPKRGNYcjs.requireAny; exports.requireAuth = _chunkSHPKRGNYcjs.requireAuth; exports.requireRole = _chunkSHPKRGNYcjs.requireRole; exports.requireScopes = _chunkSHPKRGNYcjs.requireScopes;
55
+ exports.AuthProvider = _chunkSHPKRGNYcjs.AuthProvider; exports.AzureProvider = _chunkSHPKRGNYcjs.AzureProvider; exports.DiscoveryDocumentCache = _chunkRQEMPJ2Lcjs.DiscoveryDocumentCache; exports.GitHubProvider = _chunkSHPKRGNYcjs.GitHubProvider; exports.GoogleProvider = _chunkSHPKRGNYcjs.GoogleProvider; exports.MEDIA_FETCH_TIMEOUT_MS = _chunkRQEMPJ2Lcjs.MEDIA_FETCH_TIMEOUT_MS; exports.OAuthProvider = _chunkSHPKRGNYcjs.OAuthProvider; exports.OAuthProxy = _chunkSHPKRGNYcjs.OAuthProxy; exports.OAuthProxyError = _chunkSHPKRGNYcjs.OAuthProxyError; exports.ServerState = _chunkRQEMPJ2Lcjs.ServerState; exports.UnexpectedStateError = _chunkRQEMPJ2Lcjs.UnexpectedStateError; exports.UserError = _chunkRQEMPJ2Lcjs.UserError; exports.ViteMCP = _chunkRQEMPJ2Lcjs.ViteMCP; exports.ViteMCPError = _chunkRQEMPJ2Lcjs.ViteMCPError; exports.audioContent = _chunkRQEMPJ2Lcjs.audioContent; exports.delay = _chunkRQEMPJ2Lcjs.delay; exports.getAuthSession = _chunkSHPKRGNYcjs.getAuthSession; exports.imageContent = _chunkRQEMPJ2Lcjs.imageContent; exports.jsonSchemaAdapter = _chunkRQEMPJ2Lcjs.jsonSchemaAdapter; exports.requireAll = _chunkSHPKRGNYcjs.requireAll; exports.requireAny = _chunkSHPKRGNYcjs.requireAny; exports.requireAuth = _chunkSHPKRGNYcjs.requireAuth; exports.requireRole = _chunkSHPKRGNYcjs.requireRole; exports.requireScopes = _chunkSHPKRGNYcjs.requireScopes;
56
56
  //# sourceMappingURL=ViteMCP.cjs.map
package/dist/ViteMCP.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  delay,
11
11
  imageContent,
12
12
  jsonSchemaAdapter
13
- } from "./chunk-IHX3AXKW.js";
13
+ } from "./chunk-DSDLJS6O.js";
14
14
  import {
15
15
  AuthProvider,
16
16
  AzureProvider,
@@ -380,7 +380,7 @@ async function compileSchema(schema) {
380
380
  return ajv.compile(schema);
381
381
  }
382
382
  function toIssue(error) {
383
- const path = error.instancePath.split("/").filter(Boolean).map((segment) => segment.replaceAll("~1", "/").replaceAll("~0", "~")).map((segment) => {
383
+ const path = error.instancePath.split("/").slice(1).map((segment) => segment.replaceAll("~1", "/").replaceAll("~0", "~")).map((segment) => {
384
384
  const index = Number(segment);
385
385
  return /^(?:0|[1-9]\d*)$/.test(segment) && Number.isSafeInteger(index) ? index : segment;
386
386
  });
@@ -1532,4 +1532,4 @@ export {
1532
1532
  ServerState,
1533
1533
  ViteMCP
1534
1534
  };
1535
- //# sourceMappingURL=chunk-IHX3AXKW.js.map
1535
+ //# sourceMappingURL=chunk-DSDLJS6O.js.map