pinglet-cli 0.2.9 → 0.2.10

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 CHANGED
@@ -5,10 +5,14 @@
5
5
  Claude Code가 코드를 고치는 동안 "Befuddling…" 스피너만 바라보던 그 자리에,
6
6
  다른 개발자들이 남긴 짧은 메시지(**Ping**)가 대신 표시됩니다.
7
7
 
8
+ ![Pinglet 데모 — Claude Code 스피너 자리에 다른 개발자의 Ping이 표시된다](docs/pinglet-demo.gif)
9
+
8
10
  ```
9
11
  ✶ 💌 "금요일 오후 배포는 다음 생에 합시다." (12s · ↓ 1.2k tokens)
10
12
  ```
11
13
 
14
+ 🌐 **홈페이지**: https://pinglet.halluci.co.kr
15
+
12
16
  ## 시작하기
13
17
 
14
18
  ```bash
@@ -23,6 +27,7 @@ npm install -g pinglet-cli && pinglet install
23
27
 
24
28
  - 기존 statusline 설정이 있다면 **백업 후 교체할지 물어보고**, 제거 시 원래대로 복원합니다.
25
29
  - Codex도 지원합니다(experimental) — turn 완료 시 macOS 알림으로 Ping이 도착합니다.
30
+ 알림 방식이 시끄러울 수 있어 기본 설치에서는 제외되며, 원할 때만 `pinglet install --codex`로 켜세요.
26
31
 
27
32
  ## Ping 보내기
28
33
 
@@ -50,7 +55,7 @@ pinglet post "메시지"
50
55
 
51
56
  | 명령 | 설명 |
52
57
  |---|---|
53
- | `pinglet install` | Claude Code / Codex 감지 후 연결 |
58
+ | `pinglet install` | Claude Code 연결 (Codex는 `--codex`로 opt-in) |
54
59
  | `pinglet login` | GitHub 계정 연결 (메시지 작성에 필요) |
55
60
  | `pinglet post "메시지"` | Ping 보내기 |
56
61
  | `pinglet ping` | 지금 표시될 메시지 미리보기 |
package/dist/cli.js CHANGED
@@ -16,8 +16,8 @@ const HELP = `pinglet v${config_1.VERSION} — AI가 생각하는 동안 만나
16
16
 
17
17
  사용법: pinglet <command>
18
18
 
19
- install [--api <url>] [--force] Claude Code / Codex 자동 감지 후 integration 설치
20
- [--claude | --codex] 특정 agent만 설치
19
+ install [--api <url>] [--force] Claude Code integration 설치
20
+ [--claude | --codex] Codex는 OS 알림 방식이라 --codex로 opt-in (experimental)
21
21
  uninstall [--purge] integration 제거 (--purge: ~/.pinglet까지 삭제)
22
22
  login [--token <jwt>] GitHub 계정 연결
23
23
  post "메시지" [--category <c>] 메시지 작성 (GitHub 로그인 필요, 읽기는 익명 가능)
@@ -61,11 +61,12 @@ function confirmReplace(question) {
61
61
  }
62
62
  async function runInstall(args) {
63
63
  const force = args.includes("--force");
64
- // --claude / --codex로 대상을 고를 수 있다. 둘 다 없으면 감지된 전부.
64
+ // Claude는 기본 설치 대상. Codex는 TUI에 그릴 수 없어 OS 알림으로 전달하는
65
+ // 방식인데 이게 체감상 시끄러워서, --codex를 명시한 경우에만(opt-in) 설치한다.
65
66
  const onlyClaude = args.includes("--claude");
66
67
  const onlyCodex = args.includes("--codex");
67
68
  const wantClaude = onlyClaude || !onlyCodex;
68
- const wantCodex = onlyCodex || !onlyClaude;
69
+ const wantCodex = onlyCodex;
69
70
  const config = (0, config_1.loadConfig)();
70
71
  const apiIndex = args.indexOf("--api");
71
72
  if (apiIndex !== -1 && args[apiIndex + 1]) {
@@ -76,7 +77,12 @@ async function runInstall(args) {
76
77
  const hasClaude = wantClaude && (0, claude_1.detectClaude)();
77
78
  const hasCodex = wantCodex && (0, codex_1.detectCodex)();
78
79
  console.log(hasClaude ? "✓ Claude Code detected" : "○ Claude Code not found");
79
- console.log(hasCodex ? "✓ Codex detected" : "○ Codex not found");
80
+ if (wantCodex) {
81
+ console.log(hasCodex ? "✓ Codex detected" : "○ Codex not found");
82
+ }
83
+ else if ((0, codex_1.detectCodex)()) {
84
+ console.log("○ Codex 감지됨 — OS 알림 방식이라 기본 설치에서 제외합니다 (원하면 pinglet install --codex)");
85
+ }
80
86
  if (!hasClaude && !hasCodex) {
81
87
  console.log("\n설치할 대상이 없습니다. Claude Code 또는 Codex를 먼저 설치해 주세요.");
82
88
  process.exitCode = 1;
@@ -134,7 +140,10 @@ async function runInstall(args) {
134
140
  }
135
141
  }
136
142
  }
137
- console.log("\n설치 완료! 평소처럼 claude 또는 codex를 실행하면 Ping이 표시됩니다.");
143
+ const targets = [hasClaude && "claude", hasCodex && "codex"]
144
+ .filter(Boolean)
145
+ .join(" 또는 ");
146
+ console.log(`\n설치 완료! 평소처럼 ${targets}를 실행하면 Ping이 표시됩니다.`);
138
147
  console.log(" 상태 확인: pinglet doctor");
139
148
  console.log(' 메시지 작성: pinglet login 후 pinglet post "메시지"');
140
149
  console.log(" 계정 연결: pinglet login (메시지 작성/반응에 필요)");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinglet-cli",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "description": "AI가 생각하는 동안 다른 개발자의 Ping을 만나는 메시지 네트워크 — Claude Code / Codex integration",
5
5
  "license": "MIT",
6
6
  "repository": {