@plaud-ai/mcp 0.1.30 → 0.1.32

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
@@ -30592,9 +30592,9 @@ import { homedir } from "os";
30592
30592
  var TokenStore = class {
30593
30593
  configDir;
30594
30594
  tokenPath;
30595
- constructor() {
30595
+ constructor(filename = "tokens.json") {
30596
30596
  this.configDir = join(homedir(), ".plaud");
30597
- this.tokenPath = join(this.configDir, "tokens.json");
30597
+ this.tokenPath = join(this.configDir, filename);
30598
30598
  }
30599
30599
  async save(tokenSet) {
30600
30600
  await mkdir(this.configDir, { recursive: true });
@@ -30617,7 +30617,7 @@ var TokenStore = class {
30617
30617
  };
30618
30618
 
30619
30619
  // ../shared/dist/oauth.js
30620
- var DEFAULT_AUTHORIZATION_URL = "https://app.plaud.ai/platform/oauth";
30620
+ var DEFAULT_AUTHORIZATION_URL = "https://web.plaud.ai/platform/oauth";
30621
30621
  var DEFAULT_TOKEN_URL = "https://platform.plaud.ai/developer/api/oauth/third-party/access-token";
30622
30622
  var DEFAULT_REFRESH_URL = "https://platform.plaud.ai/developer/api/oauth/third-party/access-token/refresh";
30623
30623
  function generateCodeVerifier() {
@@ -30634,7 +30634,7 @@ var OAuth = class {
30634
30634
  refreshUrl;
30635
30635
  constructor(config2) {
30636
30636
  this.config = config2;
30637
- this.tokenStore = new TokenStore();
30637
+ this.tokenStore = new TokenStore(config2.tokenFile);
30638
30638
  this.authorizationUrl = config2.authorizationUrl ?? DEFAULT_AUTHORIZATION_URL;
30639
30639
  this.tokenUrl = config2.tokenUrl ?? DEFAULT_TOKEN_URL;
30640
30640
  this.refreshUrl = config2.refreshUrl ?? DEFAULT_REFRESH_URL;
@@ -30811,9 +30811,10 @@ function buildExtraHeaders() {
30811
30811
  return headers;
30812
30812
  }
30813
30813
  var CONFIG = {
30814
- clientId: process.env.PLAUD_CLIENT_ID ?? "client_f9e0b214-c11f-434b-8b95-c4497d1feb81",
30814
+ clientId: process.env.PLAUD_MCP_CLIENT_ID ?? process.env.PLAUD_CLIENT_ID ?? "client_9c501dad-8a0d-40b2-a7b0-d1cb8787f674",
30815
30815
  clientSecret: process.env.PLAUD_CLIENT_SECRET ?? "",
30816
30816
  redirectUri: "http://localhost:8199/auth/callback",
30817
+ tokenFile: "tokens-mcp.json",
30817
30818
  apiBase: process.env.PLAUD_API_BASE,
30818
30819
  authorizationUrl: process.env.PLAUD_AUTH_URL,
30819
30820
  tokenUrl: process.env.PLAUD_TOKEN_URL,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaud-ai/mcp",
3
- "version": "0.1.30",
3
+ "version": "0.1.32",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
package/plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plaud",
3
- "version": "0.1.30",
3
+ "version": "0.1.32",
4
4
  "description": "Access your Plaud recordings in Claude",
5
5
  "author": {
6
6
  "name": "Plaud AI"