cciwon-code-review-cli 2.0.0 → 2.0.1

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.
Files changed (2) hide show
  1. package/lib/chat-mode.js +3 -1
  2. package/package.json +1 -1
package/lib/chat-mode.js CHANGED
@@ -7,7 +7,9 @@ const CodeReviewClient = require('./api-client');
7
7
  class ChatMode {
8
8
  constructor() {
9
9
  this.fileReader = new FileReader();
10
- this.client = new CodeReviewClient(process.env.CODE_REVIEW_SERVER);
10
+ // 환경변수가 있으면 사용, 없으면 기본값 사용
11
+ const serverUrl = process.env.CODE_REVIEW_SERVER;
12
+ this.client = serverUrl ? new CodeReviewClient(serverUrl) : new CodeReviewClient();
11
13
  this.projectFiles = [];
12
14
  this.filesContent = {};
13
15
  this.rl = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cciwon-code-review-cli",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "AI-powered code review CLI tool using Qwen3-Coder-30B model with IP whitelist support",
5
5
  "main": "lib/api-client.js",
6
6
  "bin": {