@avallon-labs/mcp 54.3.0 → 54.5.0-staging.1250

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/index.js CHANGED
@@ -46,5 +46,5 @@ function setupFetch() {
46
46
 
47
47
  // src/index.ts
48
48
  setupFetch();
49
- await import("./server-L4QBVRPT.js");
49
+ await import("./server-TINVVYSY.js");
50
50
  //# sourceMappingURL=index.js.map
@@ -8687,8 +8687,9 @@ var RefreshTokenResponse = zod.object({
8687
8687
  }),
8688
8688
  "message": zod.string()
8689
8689
  });
8690
+ var refreshSessionBodyRefreshTokenMax = 512;
8690
8691
  var RefreshSessionBody = zod.object({
8691
- "refresh_token": zod.string(),
8692
+ "refresh_token": zod.string().max(refreshSessionBodyRefreshTokenMax),
8692
8693
  "tenant_id": zod.string().uuid()
8693
8694
  });
8694
8695
  var RefreshSessionResponse = zod.object({
@@ -13296,7 +13297,7 @@ var createMcpServer = (options) => {
13296
13297
  "refreshSession",
13297
13298
  {
13298
13299
  title: "Refresh session",
13299
- description: "Rotate the refresh token and return a new access token for `tenant_id`. Call it with a different `tenant_id` to switch tenants.\n\nRequires a valid user session (not an API key). The refresh token must belong to the same user, and the user must be a member of `tenant_id` (404 otherwise).",
13300
+ description: "Rotate the refresh token and return a new access token for `tenant_id`. Call it with a different `tenant_id` to switch tenants.\n\nSend the current access token as `Authorization: Bearer`. It may be expired: it only identifies the user, and the refresh token must belong to that same user. The identity provider decides whether the session is still valid. The user must be a member of `tenant_id` (404 otherwise).",
13300
13301
  inputSchema: {
13301
13302
  bodyParams: RefreshSessionBody.optional()
13302
13303
  },
@@ -15654,4 +15655,4 @@ var transport = new StdioServerTransport();
15654
15655
  server.connect(transport).then(() => {
15655
15656
  console.error("MCP server running on stdio");
15656
15657
  }).catch(console.error);
15657
- //# sourceMappingURL=server-L4QBVRPT.js.map
15658
+ //# sourceMappingURL=server-TINVVYSY.js.map