relayax-cli 0.3.52 → 0.3.53
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/prompts/_setup-cli.md +15 -8
- package/package.json +1 -1
|
@@ -1,30 +1,37 @@
|
|
|
1
|
-
## Step 1. Relay CLI 준비
|
|
1
|
+
## Step 1. Relay CLI 준비 및 업데이트
|
|
2
2
|
|
|
3
3
|
### 환경 A (터미널)
|
|
4
4
|
|
|
5
|
+
CLI가 설치되어 있지 않다면:
|
|
6
|
+
|
|
5
7
|
```bash
|
|
6
8
|
npm install -g relayax-cli
|
|
7
9
|
relay init
|
|
8
10
|
```
|
|
9
11
|
|
|
10
|
-
이미 설치되어 있다면 최신 버전으로
|
|
12
|
+
이미 설치되어 있다면 **반드시 최신 버전으로 업데이트**합니다:
|
|
11
13
|
|
|
12
14
|
```bash
|
|
13
15
|
npm update -g relayax-cli
|
|
14
16
|
relay init
|
|
15
17
|
```
|
|
16
18
|
|
|
19
|
+
`relay init`은 slash command를 설치/업데이트합니다. 업데이트 후 반드시 실행하세요.
|
|
20
|
+
|
|
17
21
|
Node.js가 없는 경우:
|
|
18
22
|
- macOS: `brew install node`
|
|
19
23
|
- Windows: `winget install OpenJS.NodeJS.LTS`
|
|
20
24
|
- Linux: `curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash && source ~/.bashrc && nvm install --lts`
|
|
21
25
|
|
|
22
|
-
### 환경 B (
|
|
26
|
+
### 환경 B (MCP)
|
|
23
27
|
|
|
24
|
-
|
|
28
|
+
**Step 1-1. 버전 확인**: `relay_check_update` tool을 반드시 호출하세요.
|
|
29
|
+
- `status: "up_to_date"` → 최신 버전. Step 1-2로.
|
|
30
|
+
- `status: "updates_available"` → 사용자에게 업데이트 안내:
|
|
31
|
+
> CLI 업데이트가 있습니다. 터미널에서 `npm update -g relayax-cli`를 실행해주세요.
|
|
25
32
|
|
|
26
|
-
|
|
27
|
-
npx relayax-cli --version
|
|
28
|
-
```
|
|
33
|
+
사용자가 업데이트 완료 후 Claude를 재시작하면 최신 MCP 서버가 적용됩니다.
|
|
29
34
|
|
|
30
|
-
|
|
35
|
+
**Step 1-2. slash command 설치**: `relay_init` tool을 반드시 호출하세요.
|
|
36
|
+
- `/relay-install`, `/relay-publish` 등 slash command가 설치/업데이트됩니다.
|
|
37
|
+
- 이미 최신이면 자동으로 건너뜁니다.
|