@plaud-ai/mcp 0.1.23 → 0.1.25

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
@@ -30983,27 +30983,27 @@ server.tool("logout", "Log out, sign out, revoke authorization, and disconnect f
30983
30983
  });
30984
30984
  async function main() {
30985
30985
  if (process.argv[2] === "clean-plugin") {
30986
- const { runCleanPlugin } = await import("./setup-CLLIDI7G.js");
30986
+ const { runCleanPlugin } = await import("./setup-GXCN7XZE.js");
30987
30987
  await runCleanPlugin();
30988
30988
  return;
30989
30989
  }
30990
30990
  if (process.argv[2] === "setup" && process.argv[3] === "codex") {
30991
- const { runSetupCodex } = await import("./setup-CLLIDI7G.js");
30991
+ const { runSetupCodex } = await import("./setup-GXCN7XZE.js");
30992
30992
  await runSetupCodex();
30993
30993
  return;
30994
30994
  }
30995
30995
  if (process.argv[2] === "unsetup" && process.argv[3] === "codex") {
30996
- const { runUnsetupCodex } = await import("./setup-CLLIDI7G.js");
30996
+ const { runUnsetupCodex } = await import("./setup-GXCN7XZE.js");
30997
30997
  await runUnsetupCodex();
30998
30998
  return;
30999
30999
  }
31000
31000
  if (process.argv[2] === "setup") {
31001
- const { runSetup } = await import("./setup-CLLIDI7G.js");
31001
+ const { runSetup } = await import("./setup-GXCN7XZE.js");
31002
31002
  await runSetup();
31003
31003
  return;
31004
31004
  }
31005
31005
  if (process.argv[2] === "unsetup") {
31006
- const { runUnsetup } = await import("./setup-CLLIDI7G.js");
31006
+ const { runUnsetup } = await import("./setup-GXCN7XZE.js");
31007
31007
  await runUnsetup();
31008
31008
  return;
31009
31009
  }
@@ -1,7 +1,7 @@
1
1
  import "./chunk-U67V476Y.js";
2
2
 
3
3
  // src/setup.ts
4
- import { readFile, writeFile, mkdir } from "fs/promises";
4
+ import { readFile, writeFile, mkdir, rm } from "fs/promises";
5
5
  import { join, dirname } from "path";
6
6
  import { homedir } from "os";
7
7
  import { fileURLToPath } from "url";
@@ -22,14 +22,15 @@ function getConfigPath() {
22
22
  return null;
23
23
  }
24
24
  async function runCleanPlugin() {
25
- const { rm } = await import("fs/promises");
26
25
  const cacheDir = join(homedir(), ".claude", "plugins", "cache", "plaud-ai");
27
- try {
28
- await rm(cacheDir, { recursive: true, force: true });
29
- console.log("Cleared plugin cache.");
30
- } catch {
31
- console.log("Plugin cache not found, skipping.");
26
+ const npmCacheDir = join(homedir(), ".claude", "plugins", "npm-cache", "node_modules", "@plaud-ai");
27
+ for (const dir of [cacheDir, npmCacheDir]) {
28
+ try {
29
+ await rm(dir, { recursive: true, force: true });
30
+ } catch {
31
+ }
32
32
  }
33
+ console.log("Cleared plugin cache.");
33
34
  for (const file of ["settings.json", "settings.local.json"]) {
34
35
  const p = join(homedir(), ".claude", file);
35
36
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaud-ai/mcp",
3
- "version": "0.1.23",
3
+ "version": "0.1.25",
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.23",
3
+ "version": "0.1.25",
4
4
  "description": "Access your Plaud recordings in Claude",
5
5
  "author": {
6
6
  "name": "Plaud AI"