@artyfacts/claude 1.3.2 → 1.3.3

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/cli.js CHANGED
@@ -789,15 +789,11 @@ function configureMcp(apiKey, baseUrl) {
789
789
  const result = (0, import_child_process2.spawnSync)("claude", [
790
790
  "mcp",
791
791
  "add",
792
- "--transport",
793
- "stdio",
794
- "--scope",
792
+ "-s",
795
793
  "user",
796
794
  // Available across all projects
797
- "-e",
795
+ `-e`,
798
796
  `ARTYFACTS_API_KEY=${apiKey}`,
799
- "-e",
800
- `ARTYFACTS_BASE_URL=${baseUrl}`,
801
797
  "artyfacts",
802
798
  "--",
803
799
  "npx",
package/dist/cli.mjs CHANGED
@@ -30,15 +30,11 @@ function configureMcp(apiKey, baseUrl) {
30
30
  const result = spawnSync("claude", [
31
31
  "mcp",
32
32
  "add",
33
- "--transport",
34
- "stdio",
35
- "--scope",
33
+ "-s",
36
34
  "user",
37
35
  // Available across all projects
38
- "-e",
36
+ `-e`,
39
37
  `ARTYFACTS_API_KEY=${apiKey}`,
40
- "-e",
41
- `ARTYFACTS_BASE_URL=${baseUrl}`,
42
38
  "artyfacts",
43
39
  "--",
44
40
  "npx",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artyfacts/claude",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Claude adapter for Artyfacts - Execute tasks using Claude Code CLI",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/cli.ts CHANGED
@@ -49,14 +49,12 @@ function configureMcp(apiKey: string, baseUrl: string): boolean {
49
49
  console.log('🔧 Configuring Artyfacts tools for Claude Code...');
50
50
 
51
51
  try {
52
- // Add MCP server with environment variables
53
- // Use -e KEY=value format (separate -e for each)
52
+ // Add MCP server with environment variable
53
+ // Format: claude mcp add -e KEY=value name -- command
54
54
  const result = spawnSync('claude', [
55
55
  'mcp', 'add',
56
- '--transport', 'stdio',
57
- '--scope', 'user', // Available across all projects
58
- '-e', `ARTYFACTS_API_KEY=${apiKey}`,
59
- '-e', `ARTYFACTS_BASE_URL=${baseUrl}`,
56
+ '-s', 'user', // Available across all projects
57
+ `-e`, `ARTYFACTS_API_KEY=${apiKey}`,
60
58
  'artyfacts',
61
59
  '--',
62
60
  'npx', '-y', '@artyfacts/mcp-server',