claude-remote-guard 1.0.0 → 1.1.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 +12 -12
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -24,16 +24,16 @@ Claude Code에서 위험한 명령어 실행 시 Slack, Telegram, WhatsApp으로
|
|
|
24
24
|
npm install -g claude-remote-guard
|
|
25
25
|
|
|
26
26
|
# 2. 초기화 (대화형 설정)
|
|
27
|
-
guard init
|
|
27
|
+
claude-remote-guard init
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
`guard init`을 실행하면 다음을 안내받습니다:
|
|
30
|
+
`claude-remote-guard init`을 실행하면 다음을 안내받습니다:
|
|
31
31
|
1. 메신저 선택 (Slack / Telegram / WhatsApp)
|
|
32
32
|
2. 선택한 메신저의 인증 정보 입력
|
|
33
33
|
3. Supabase 연결 정보 입력
|
|
34
34
|
4. SQL 스키마 및 Edge Function 생성
|
|
35
35
|
|
|
36
|
-
**중요**: 아래 가이드를 먼저 읽고 필요한 정보를 준비한 후 `guard init`을 실행하세요.
|
|
36
|
+
**중요**: 아래 가이드를 먼저 읽고 필요한 정보를 준비한 후 `claude-remote-guard init`을 실행하세요.
|
|
37
37
|
|
|
38
38
|
---
|
|
39
39
|
|
|
@@ -179,7 +179,7 @@ https://api.telegram.org/bot<YOUR_BOT_TOKEN>/setWebhook?url=https://<project-ref
|
|
|
179
179
|
|
|
180
180
|
#### 3단계: SQL 스키마 실행
|
|
181
181
|
|
|
182
|
-
`guard init` 실행 후 출력된 SQL을 복사하여:
|
|
182
|
+
`claude-remote-guard init` 실행 후 출력된 SQL을 복사하여:
|
|
183
183
|
|
|
184
184
|
1. Supabase Dashboard에서 **SQL Editor** 클릭
|
|
185
185
|
2. **New Query** 클릭
|
|
@@ -239,7 +239,7 @@ supabase link --project-ref <your-project-ref>
|
|
|
239
239
|
|
|
240
240
|
#### 3단계: Edge Function 배포
|
|
241
241
|
|
|
242
|
-
`guard init` 실행 시 `~/.claude-guard/supabase/functions/` 디렉토리에 Edge Function이 생성됩니다.
|
|
242
|
+
`claude-remote-guard init` 실행 시 `~/.claude-guard/supabase/functions/` 디렉토리에 Edge Function이 생성됩니다.
|
|
243
243
|
|
|
244
244
|
```bash
|
|
245
245
|
# Slack 사용 시
|
|
@@ -266,7 +266,7 @@ https://<project-ref>.supabase.co/functions/v1/<function-name>
|
|
|
266
266
|
#### 연결 상태 확인
|
|
267
267
|
|
|
268
268
|
```bash
|
|
269
|
-
guard status
|
|
269
|
+
claude-remote-guard status
|
|
270
270
|
```
|
|
271
271
|
|
|
272
272
|
출력 예시:
|
|
@@ -281,7 +281,7 @@ Hook: installed ✓
|
|
|
281
281
|
#### 테스트 알림 전송
|
|
282
282
|
|
|
283
283
|
```bash
|
|
284
|
-
guard test
|
|
284
|
+
claude-remote-guard test
|
|
285
285
|
```
|
|
286
286
|
|
|
287
287
|
선택한 메신저로 테스트 알림이 전송됩니다. 버튼(Slack/Telegram) 또는 답장(WhatsApp)으로 승인/거부를 테스트하세요.
|
|
@@ -296,10 +296,10 @@ guard test
|
|
|
296
296
|
|
|
297
297
|
| 명령어 | 설명 |
|
|
298
298
|
|--------|------|
|
|
299
|
-
| `guard init` | 초기 설정 (대화형) |
|
|
300
|
-
| `guard status` | 연결 상태 확인 |
|
|
301
|
-
| `guard test` | 테스트 알림 전송 |
|
|
302
|
-
| `guard uninstall` | Claude Guard 제거 |
|
|
299
|
+
| `claude-remote-guard init` | 초기 설정 (대화형) |
|
|
300
|
+
| `claude-remote-guard status` | 연결 상태 확인 |
|
|
301
|
+
| `claude-remote-guard test` | 테스트 알림 전송 |
|
|
302
|
+
| `claude-remote-guard uninstall` | Claude Guard 제거 |
|
|
303
303
|
|
|
304
304
|
### 동작 방식
|
|
305
305
|
|
|
@@ -412,7 +412,7 @@ Claude Code ──▶ Hook ──▶ 메신저 알림
|
|
|
412
412
|
|
|
413
413
|
```bash
|
|
414
414
|
# 설정 상태 확인
|
|
415
|
-
guard status
|
|
415
|
+
claude-remote-guard status
|
|
416
416
|
|
|
417
417
|
# Edge Function 로그 확인
|
|
418
418
|
supabase functions logs <function-name> --project-ref <project-ref>
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-remote-guard",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Remote approval system for Claude Code CLI using Slack and Supabase",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"bin": {
|
|
9
|
-
"guard": "dist/bin/cli.js",
|
|
9
|
+
"claude-remote-guard": "dist/bin/cli.js",
|
|
10
10
|
"claude-guard-hook": "dist/bin/hook.js"
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|