@plaud-ai/mcp 0.1.22 → 0.1.23
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-
|
|
30986
|
+
const { runCleanPlugin } = await import("./setup-CLLIDI7G.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-
|
|
30991
|
+
const { runSetupCodex } = await import("./setup-CLLIDI7G.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-
|
|
30996
|
+
const { runUnsetupCodex } = await import("./setup-CLLIDI7G.js");
|
|
30997
30997
|
await runUnsetupCodex();
|
|
30998
30998
|
return;
|
|
30999
30999
|
}
|
|
31000
31000
|
if (process.argv[2] === "setup") {
|
|
31001
|
-
const { runSetup } = await import("./setup-
|
|
31001
|
+
const { runSetup } = await import("./setup-CLLIDI7G.js");
|
|
31002
31002
|
await runSetup();
|
|
31003
31003
|
return;
|
|
31004
31004
|
}
|
|
31005
31005
|
if (process.argv[2] === "unsetup") {
|
|
31006
|
-
const { runUnsetup } = await import("./setup-
|
|
31006
|
+
const { runUnsetup } = await import("./setup-CLLIDI7G.js");
|
|
31007
31007
|
await runUnsetup();
|
|
31008
31008
|
return;
|
|
31009
31009
|
}
|
|
@@ -41,6 +41,7 @@ async function runCleanPlugin() {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
console.log("Done. Run /plugin install plaud in Claude Code, then restart.");
|
|
44
|
+
process.exit(0);
|
|
44
45
|
}
|
|
45
46
|
async function runSetupCodex() {
|
|
46
47
|
const configPath = join(homedir(), ".codex", "config.toml");
|
|
@@ -64,6 +65,7 @@ args = ["${args[0]}"]
|
|
|
64
65
|
await writeFile(configPath, content + entry, "utf-8");
|
|
65
66
|
console.log("Plaud has been added to Codex Desktop.");
|
|
66
67
|
console.log("Please restart Codex Desktop to complete the setup.");
|
|
68
|
+
process.exit(0);
|
|
67
69
|
}
|
|
68
70
|
async function runUnsetupCodex() {
|
|
69
71
|
const configPath = join(homedir(), ".codex", "config.toml");
|
|
@@ -82,6 +84,7 @@ async function runUnsetupCodex() {
|
|
|
82
84
|
await writeFile(configPath, cleaned, "utf-8");
|
|
83
85
|
console.log("Plaud has been removed from Codex Desktop.");
|
|
84
86
|
console.log("Please restart Codex Desktop to complete the unsetup.");
|
|
87
|
+
process.exit(0);
|
|
85
88
|
}
|
|
86
89
|
async function runUnsetup() {
|
|
87
90
|
const configPath = getConfigPath();
|
|
@@ -107,6 +110,7 @@ async function runUnsetup() {
|
|
|
107
110
|
await writeFile(configPath, JSON.stringify(config, null, 2), "utf-8");
|
|
108
111
|
console.log("Plaud has been removed from Claude Desktop.");
|
|
109
112
|
console.log("Please restart Claude Desktop to complete the unsetup.");
|
|
113
|
+
process.exit(0);
|
|
110
114
|
}
|
|
111
115
|
async function runSetup() {
|
|
112
116
|
const configPath = getConfigPath();
|
|
@@ -131,6 +135,7 @@ async function runSetup() {
|
|
|
131
135
|
await writeFile(configPath, JSON.stringify(config, null, 2), "utf-8");
|
|
132
136
|
console.log("Plaud has been added to Claude Desktop.");
|
|
133
137
|
console.log("Please restart Claude Desktop to complete the setup.");
|
|
138
|
+
process.exit(0);
|
|
134
139
|
}
|
|
135
140
|
export {
|
|
136
141
|
runCleanPlugin,
|
package/package.json
CHANGED