jira-pilot 2.0.3 → 2.0.4

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jira-pilot",
3
- "version": "2.0.3",
4
- "description": "AI-powered Jira CLI and MCP server for humans and agents — manage issues, sprints, boards with interactive wizards, multi-provider AI (OpenAI/Gemini/Anthropic), and an 8-tool MCP server for AI assistants",
3
+ "version": "2.0.4",
4
+ "description": "AI powered Jira CLI and MCP server for humans and agents — manage issues, sprints, boards with interactive wizards, multi-provider AI (OpenAI/Gemini/Anthropic), and an 8-tool MCP server for AI assistants",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
7
7
  "bin": {
@@ -49,21 +49,21 @@ export function registerConfigCommand(program) {
49
49
  message: 'Select AI Provider:',
50
50
  choices: ['openai', 'gemini', 'anthropic'],
51
51
  initial: current.aiProvider || 'openai',
52
- skip: (state) => !state.answers.aiEnabled
52
+ skip: function () { return !this.state.answers.aiEnabled; }
53
53
  },
54
54
  {
55
55
  type: 'password',
56
56
  name: 'aiKey',
57
57
  message: 'AI API Key:',
58
58
  initial: current.aiKey ? '*****' : undefined,
59
- skip: (state) => !state.answers.aiEnabled
59
+ skip: function () { return !this.state.answers.aiEnabled; }
60
60
  },
61
61
  {
62
62
  type: 'password',
63
63
  name: 'githubToken',
64
- message: 'GitHub Personal Access Token (for AI Code Review):',
64
+ message: 'GitHub Personal Access Token (for AI Code Review) [Optional, Press Enter to skip]:',
65
65
  initial: current.githubToken ? '*****' : undefined,
66
- skip: (state) => !state.answers.aiEnabled
66
+ skip: function () { return !this.state.answers.aiEnabled; }
67
67
  }
68
68
  ]);
69
69