activo 0.2.0 → 0.2.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.
- package/README.md +48 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,9 +7,11 @@ AI 기반 코드 품질 분석 CLI 도구
|
|
|
7
7
|
## 설치
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
# 글로벌 설치 (권장)
|
|
11
|
+
npm install -g activo
|
|
12
|
+
|
|
13
|
+
# 또는 npx로 바로 실행
|
|
14
|
+
npx activo
|
|
13
15
|
```
|
|
14
16
|
|
|
15
17
|
## 사용법
|
|
@@ -23,6 +25,9 @@ activo "src 폴더 구조 보여줘"
|
|
|
23
25
|
|
|
24
26
|
# 비대화형 모드
|
|
25
27
|
activo --print "package.json 분석해줘"
|
|
28
|
+
|
|
29
|
+
# 특정 모델 사용
|
|
30
|
+
activo --model qwen2.5:7b
|
|
26
31
|
```
|
|
27
32
|
|
|
28
33
|
## 주요 기능
|
|
@@ -37,7 +42,41 @@ activo --print "package.json 분석해줘"
|
|
|
37
42
|
- Node.js 18+
|
|
38
43
|
- [Ollama](https://ollama.ai) 실행 중
|
|
39
44
|
|
|
40
|
-
## 설정
|
|
45
|
+
## Ollama 설정
|
|
46
|
+
|
|
47
|
+
### 1. Ollama 설치
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
# macOS
|
|
51
|
+
brew install ollama
|
|
52
|
+
|
|
53
|
+
# Windows
|
|
54
|
+
# https://ollama.ai 에서 다운로드
|
|
55
|
+
|
|
56
|
+
# Linux
|
|
57
|
+
curl -fsSL https://ollama.ai/install.sh | sh
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### 2. 모델 다운로드
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
# 권장 모델
|
|
64
|
+
ollama pull mistral:latest
|
|
65
|
+
|
|
66
|
+
# 한국어 지원 모델
|
|
67
|
+
ollama pull qwen2.5:7b
|
|
68
|
+
|
|
69
|
+
# 코드 특화 모델
|
|
70
|
+
ollama pull codellama:7b
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### 3. Ollama 실행
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
ollama serve
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### 4. activo 설정
|
|
41
80
|
|
|
42
81
|
`~/.activo/config.json`:
|
|
43
82
|
```json
|
|
@@ -49,6 +88,11 @@ activo --print "package.json 분석해줘"
|
|
|
49
88
|
}
|
|
50
89
|
```
|
|
51
90
|
|
|
91
|
+
또는 CLI 옵션으로 모델 지정:
|
|
92
|
+
```bash
|
|
93
|
+
activo --model qwen2.5:7b
|
|
94
|
+
```
|
|
95
|
+
|
|
52
96
|
## 단축키
|
|
53
97
|
|
|
54
98
|
| 키 | 동작 |
|