typing.works 0.3.0-beta.23 → 0.3.0-beta.25

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
@@ -68,9 +68,9 @@ typingworks claude # 붙이기 · add (떼기 · remove: typingworks
68
68
  Claude 가 일하는 동안 프롬프트 위에서 한 판 — `/tw` 로 켜고 끕니다. 칸을 눌러서 치고, 아무것도 안 쳤을 때
69
69
  ↑↓ ← → 로 언어 · 갈래 · 부호 건너뛰기 · 계정을 바꿉니다. Claude Code 가 있으면 설치할 때(또는 처음 켤 때) 한 번 묻습니다.
70
70
  모드가 보는 것은 Claude 가 일을 시작하고 끝낸 때이고, 타이핑은 이 프로그램이 이 기기 안에서 합니다.
71
- 로그인 전에는 인터넷이 없습니다(맥은 운영체제 샌드박스). 맥은 칸을 누르면 입력기를 ABC 로, 닫히면 원래대로. 지금은 맥 · 리눅스.
71
+ 로그인 전에는 인터넷이 없습니다(맥은 운영체제 샌드박스). 칸을 누르면 입력기가 영문(맥은 ABC)으로, 닫히면 원래대로. 맥 · 리눅스 · 윈도우 10 1809 이상.
72
72
  One round above the prompt while Claude works (`/tw`). The mod sees when Claude starts and finishes; typing runs in this program on your machine.
73
- No network before you sign in (macOS sandbox). macOS and Linux for now.
73
+ No network before you sign in (macOS sandbox). macOS, Linux and Windows 10 1809+.
74
74
 
75
75
  ## 익명 사용 통계 · Anonymous usage stats
76
76
 
package/install.ps1 CHANGED
@@ -9,7 +9,7 @@
9
9
  # 4. Adds that folder to your user PATH (skip: TW_NO_MODIFY_PATH=1)
10
10
  # The version follows the latest "typing.works" on npm (pin: TW_VERSION). Ctrl+U in the app re-runs this script.
11
11
  # No source code is downloaded - only the binary, README and LICENSE.
12
- # Uninstall: delete that folder and %USERPROFILE%\.typingworks
12
+ # Uninstall: typingworks claude --remove (if you added the Claude Code mod), then delete that folder and %USERPROFILE%\.typingworks
13
13
  # (ASCII only on purpose: Windows PowerShell 5.1 reads BOM-less script files in the ANSI code page.)
14
14
  & {
15
15
  $ErrorActionPreference = 'Stop'
@@ -91,6 +91,12 @@
91
91
  } else {
92
92
  Write-Host ' run: typingworks'
93
93
  }
94
+
95
+ # If Claude Code is on this PC, offer the Claude Code mod once - it explains what it adds, then asks y/N.
96
+ # Only in an interactive console; asked once (%USERPROFILE%\.typingworks\claude-offered). Skip: TW_NO_CLAUDE_OFFER=1
97
+ if ($env:TW_NO_CLAUDE_OFFER -ne '1' -and [Environment]::UserInteractive -and -not [Console]::IsInputRedirected -and -not [Console]::IsOutputRedirected) {
98
+ try { & $exe claude --offer } catch { }
99
+ }
94
100
  } finally {
95
101
  Remove-Item $tmp -Recurse -Force -ErrorAction SilentlyContinue
96
102
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typing.works",
3
- "version": "0.3.0-beta.23",
3
+ "version": "0.3.0-beta.25",
4
4
  "description": "typing.works in your terminal — Korean & English typing practice, records, stats and ranked matches",
5
5
  "bin": {
6
6
  "typing.works": "bin/typing.works.js",
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file