@artyfacts/claude 1.3.19 → 1.3.21
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/chunk-FU42UGDO.mjs +1033 -0
- package/dist/chunk-KXV4I4WJ.mjs +1033 -0
- package/dist/cli.js +2 -2
- package/dist/cli.mjs +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/mcp.ts +3 -3
package/dist/cli.js
CHANGED
|
@@ -921,11 +921,11 @@ var McpHandler = class {
|
|
|
921
921
|
console.log(`[MCP] Triggering ${platform} OAuth via Claude...`);
|
|
922
922
|
const oauthProcess = (0, import_child_process2.spawnSync)("claude", [
|
|
923
923
|
"-p",
|
|
924
|
-
`
|
|
924
|
+
`Run the mcp__${serverName}__authenticate tool now to start OAuth. Do not ask for confirmation, just run it.`,
|
|
925
925
|
"--allowedTools",
|
|
926
926
|
`mcp__${serverName}__*`,
|
|
927
927
|
"--permission-mode",
|
|
928
|
-
"
|
|
928
|
+
"bypassPermissions"
|
|
929
929
|
], {
|
|
930
930
|
encoding: "utf-8",
|
|
931
931
|
stdio: "inherit",
|
package/dist/cli.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -6114,11 +6114,11 @@ var McpHandler = class {
|
|
|
6114
6114
|
console.log(`[MCP] Triggering ${platform} OAuth via Claude...`);
|
|
6115
6115
|
const oauthProcess = (0, import_child_process2.spawnSync)("claude", [
|
|
6116
6116
|
"-p",
|
|
6117
|
-
`
|
|
6117
|
+
`Run the mcp__${serverName}__authenticate tool now to start OAuth. Do not ask for confirmation, just run it.`,
|
|
6118
6118
|
"--allowedTools",
|
|
6119
6119
|
`mcp__${serverName}__*`,
|
|
6120
6120
|
"--permission-mode",
|
|
6121
|
-
"
|
|
6121
|
+
"bypassPermissions"
|
|
6122
6122
|
], {
|
|
6123
6123
|
encoding: "utf-8",
|
|
6124
6124
|
stdio: "inherit",
|
package/dist/index.mjs
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
promptForApiKey,
|
|
15
15
|
runDeviceAuth,
|
|
16
16
|
saveCredentials
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FU42UGDO.mjs";
|
|
18
18
|
|
|
19
19
|
// node_modules/@anthropic-ai/sdk/internal/tslib.mjs
|
|
20
20
|
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
package/package.json
CHANGED
package/src/mcp.ts
CHANGED
|
@@ -198,13 +198,13 @@ export class McpHandler {
|
|
|
198
198
|
|
|
199
199
|
console.log(`[MCP] Added ${serverName} → ${oauthServer.url}`);
|
|
200
200
|
|
|
201
|
-
// Trigger OAuth by
|
|
201
|
+
// Trigger OAuth by telling Claude to run the authenticate tool
|
|
202
202
|
console.log(`[MCP] Triggering ${platform} OAuth via Claude...`);
|
|
203
203
|
const oauthProcess = spawnSync('claude', [
|
|
204
204
|
'-p',
|
|
205
|
-
`
|
|
205
|
+
`Run the mcp__${serverName}__authenticate tool now to start OAuth. Do not ask for confirmation, just run it.`,
|
|
206
206
|
'--allowedTools', `mcp__${serverName}__*`,
|
|
207
|
-
'--permission-mode', '
|
|
207
|
+
'--permission-mode', 'bypassPermissions',
|
|
208
208
|
], {
|
|
209
209
|
encoding: 'utf-8',
|
|
210
210
|
stdio: 'inherit', // Show output and allow browser interaction
|