pleumrouter 0.5.7 → 0.5.9
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 +6 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ bun install -g pleumrouter # bun
|
|
|
17
17
|
## 빠른 시작
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
npx pleumrouter login # 브라우저 로그인
|
|
20
|
+
npx pleumrouter login # 브라우저 OAuth 로그인 (API 키 없음)
|
|
21
21
|
npx pleumrouter launch claude --model claude-sonnet-5
|
|
22
22
|
npx pleumrouter launch codex --model gpt-5.3-codex
|
|
23
23
|
npx pleumrouter run gpt-5.4-mini # 터미널 채팅
|
|
@@ -25,20 +25,22 @@ npx pleumrouter run gpt-5.4-mini "한 줄 요약: ..." # 1회 실행(스크립
|
|
|
25
25
|
cat error.log | npx pleumrouter run gpt-5.4-mini "원인은?" # 파이프
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
+
로그인 후 `~/.pleum/config.json`에 access/refresh 토큰이 저장됩니다. `plm_` API 키는 발급되지 않습니다.
|
|
29
|
+
SSH/CI에서는 `pleum login --device`를 쓰세요.
|
|
28
30
|
## 명령
|
|
29
31
|
|
|
30
32
|
| 명령 | 설명 |
|
|
31
33
|
|------|------|
|
|
32
34
|
| `pleum` | (인자 없음, TTY) 인터랙티브 런처 메뉴 — 키보드 전용. ↑/↓ 이동 · enter 실행 · → 모델 설정 · esc 종료(서브메뉴에선 뒤로) · ctrl+c 즉시 종료. "에이전트 실행" 진입 시 Claude Code·Codex·opencode·omp·Hermes Agent·Qwen Code·GitHub Copilot CLI 등 지원 에이전트 전체를 설치 여부와 함께 볼 수 있고, 미설치는 확인 후 자동 설치(또는 설정 파일 안내). "설정" 진입 시 언어·에이전트별 기본 모델·계정(로그인/로그아웃)·CLI 업데이트·셸 자동완성을 한곳에서 관리. 실행 종료 후 메뉴 복귀. 파이프에선 도움말 출력 |
|
|
33
|
-
| `pleum login [--device]` |
|
|
34
|
-
| `pleum logout` |
|
|
35
|
+
| `pleum login [--device]` | 브라우저 OAuth 로그인 → access/refresh 토큰을 `~/.pleum/config.json`에 저장(API 키 미발급). `--device`는 SSH·CI |
|
|
36
|
+
| `pleum logout` | 서버 세션 revoke + 로컬 토큰 삭제(언어·기본 모델 등 나머지 설정은 유지) |
|
|
35
37
|
| `pleum launch [tool] [--model id] [-- args]` | 에이전트 실행. `--` 뒤 인자는 도구로 그대로 전달. 도구 생략 시 지원 목록·설치 여부 표시 |
|
|
36
38
|
| `pleum run [model] ["프롬프트"] [--attach image]` | 채팅 — 대화형 REPL, 1회 실행, stdin 파이프. 모델 생략 시 화살표로 선택. 이미지 업로드는 명시적으로 `--attach ./shot.png`(1회 실행) 또는 REPL의 `@./shot.png`를 사용한다. `--skip-cache`(이번 요청 응답 캐시 스킵), `--tag a,b`(리포팅 태그, ≤10) |
|
|
37
39
|
| `pleum models [query] [--json]` | 모델 목록(공개) — provider·컨텍스트·가격(₩/1M) 컬럼, `--json`은 스크립트용 |
|
|
38
40
|
| `pleum models <id> --info` | 모델 상세 — 가격·컨텍스트·provider별 지연/처리량/업타임·주간 사용량·형제 모델 |
|
|
39
41
|
| `pleum top [--period daily\|weekly\|monthly]` | 라우터 전체 모델 리더보드 + 제공자 점유율(공개 통계) |
|
|
40
42
|
| `pleum balance` | 크레딧 잔액 조회 |
|
|
41
|
-
| `pleum usage [--by model\|provider\|api_key\|day] [--days N]` | 내 지출 리포트(막대 차트) —
|
|
43
|
+
| `pleum usage [--by model\|provider\|api_key\|day] [--days N]` | 내 지출 리포트(막대 차트) — OAuth 로그인 세션 필요 |
|
|
42
44
|
| `pleum health` | 게이트웨이 연결·DB·Redis·환율·로그인 상태 점검(셀프호스트 진단용) |
|
|
43
45
|
| `pleum lang [code]` | 표시 언어 조회/변경 — `en`(기본)·`ko`·`ja`·`zh`·`es`. 인자 없이 TTY면 화살표로 선택, `PLEUM_LANG` 환경변수로도 덮어쓰기 가능 |
|
|
44
46
|
| `pleum completion <zsh\|bash>` | 셸 자동완성 스크립트 출력 |
|