@artyfacts/claude 1.3.1 → 1.3.2

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
@@ -794,9 +794,9 @@ function configureMcp(apiKey, baseUrl) {
794
794
  "--scope",
795
795
  "user",
796
796
  // Available across all projects
797
- "--env",
797
+ "-e",
798
798
  `ARTYFACTS_API_KEY=${apiKey}`,
799
- "--env",
799
+ "-e",
800
800
  `ARTYFACTS_BASE_URL=${baseUrl}`,
801
801
  "artyfacts",
802
802
  "--",
package/dist/cli.mjs CHANGED
@@ -35,9 +35,9 @@ function configureMcp(apiKey, baseUrl) {
35
35
  "--scope",
36
36
  "user",
37
37
  // Available across all projects
38
- "--env",
38
+ "-e",
39
39
  `ARTYFACTS_API_KEY=${apiKey}`,
40
- "--env",
40
+ "-e",
41
41
  `ARTYFACTS_BASE_URL=${baseUrl}`,
42
42
  "artyfacts",
43
43
  "--",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artyfacts/claude",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
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
@@ -50,12 +50,13 @@ function configureMcp(apiKey: string, baseUrl: string): boolean {
50
50
 
51
51
  try {
52
52
  // Add MCP server with environment variables
53
+ // Use -e KEY=value format (separate -e for each)
53
54
  const result = spawnSync('claude', [
54
55
  'mcp', 'add',
55
56
  '--transport', 'stdio',
56
57
  '--scope', 'user', // Available across all projects
57
- '--env', `ARTYFACTS_API_KEY=${apiKey}`,
58
- '--env', `ARTYFACTS_BASE_URL=${baseUrl}`,
58
+ '-e', `ARTYFACTS_API_KEY=${apiKey}`,
59
+ '-e', `ARTYFACTS_BASE_URL=${baseUrl}`,
59
60
  'artyfacts',
60
61
  '--',
61
62
  'npx', '-y', '@artyfacts/mcp-server',