@getsolaris/copse 1.2.0 → 1.3.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.ko.md +23 -8
- package/README.md +23 -8
- package/dist/copse.js +66 -66
- package/package.json +1 -1
package/README.ko.md
CHANGED
|
@@ -157,27 +157,29 @@ copse init --skill claude-code
|
|
|
157
157
|
| `j` / `k` | worktree 목록 탐색 |
|
|
158
158
|
| `a` | worktree 추가 |
|
|
159
159
|
| `d` | worktree 삭제 |
|
|
160
|
-
| `o` |
|
|
160
|
+
| `o` | Finder / 파일 관리자에서 열기 |
|
|
161
|
+
| `t` | 터미널에서 열기 |
|
|
161
162
|
| `h` | Doctor (헬스 체크) |
|
|
162
163
|
| `r` | 목록 새로고침 |
|
|
163
164
|
| `Ctrl+P` | 커맨드 팔레트 |
|
|
164
165
|
| `Enter` | 상세 뷰 열기 |
|
|
165
|
-
| `Escape` | 상세 뷰 /
|
|
166
|
+
| `Escape` | 상세 뷰 / 모달 닫기 |
|
|
166
167
|
| `Space` | worktree 선택 토글 |
|
|
167
168
|
| `Ctrl+A` | 모든 worktree 선택 |
|
|
168
169
|
| `x` | 일괄 작업 메뉴 |
|
|
169
170
|
| `?` | 도움말 |
|
|
170
171
|
| `q` | 종료 |
|
|
171
172
|
|
|
172
|
-
#### `o` —
|
|
173
|
+
#### `o` — 폴더 열기
|
|
173
174
|
|
|
174
|
-
`o`를 누르면 선택된 worktree
|
|
175
|
+
`o`를 누르면 선택된 worktree 루트를 Finder / OS 파일 관리자에서 엽니다:
|
|
175
176
|
|
|
176
|
-
- **
|
|
177
|
-
- **
|
|
178
|
-
- **
|
|
177
|
+
- **macOS** → `open <worktree>`로 Finder를 엽니다.
|
|
178
|
+
- **Windows** → `explorer <worktree>`로 탐색기를 엽니다.
|
|
179
|
+
- **Linux** → `xdg-open <worktree>`로 기본 파일 관리자를 엽니다.
|
|
179
180
|
|
|
180
|
-
|
|
181
|
+
`t`를 누르면 선택된 worktree 루트를 터미널에서 엽니다.
|
|
182
|
+
터미널 실행 방식은 `terminalCommand` 문자열로 터미널 앱 또는 실행 파일만 고를 수 있으며, 선택된 worktree 경로는 자동으로 전달됩니다.
|
|
181
183
|
|
|
182
184
|
### 커맨드 팔레트 (`Ctrl+P`)
|
|
183
185
|
|
|
@@ -567,6 +569,7 @@ copse: created default config at /Users/you/.config/copse/config.json
|
|
|
567
569
|
"$schema": "https://raw.githubusercontent.com/getsolaris/copse/main/schema.json",
|
|
568
570
|
"version": 1,
|
|
569
571
|
"theme": "dracula",
|
|
572
|
+
"terminalCommand": "Terminal",
|
|
570
573
|
"defaults": {
|
|
571
574
|
"worktreeDir": "~/.copse/worktrees/{repo}-{branch}",
|
|
572
575
|
"copyFiles": [".env"],
|
|
@@ -966,6 +969,18 @@ defaults.copyFiles 없음? → [] (빈 배열) 사용
|
|
|
966
969
|
|
|
967
970
|
사용 가능: `opencode`, `tokyo-night`, `dracula`, `nord`, `catppuccin`, `github-dark`, `one-dark`, `monokai`, `github-light`
|
|
968
971
|
|
|
972
|
+
### 터미널 열기 설정
|
|
973
|
+
|
|
974
|
+
TUI의 `t` 단축키는 `terminalCommand`가 있으면 그 값을 사용합니다:
|
|
975
|
+
|
|
976
|
+
```json
|
|
977
|
+
{ "terminalCommand": "iTerm" }
|
|
978
|
+
```
|
|
979
|
+
|
|
980
|
+
`terminalCommand`가 없으면 macOS에서는 현재 터미널 앱을 감지합니다.
|
|
981
|
+
예를 들어 `TERM_PROGRAM=ghostty`이면 Ghostty로 열고, 감지하지 못하면 Terminal로 fallback합니다.
|
|
982
|
+
선택된 worktree 경로는 자동으로 전달됩니다.
|
|
983
|
+
|
|
969
984
|
## 셸 통합
|
|
970
985
|
|
|
971
986
|
`copse shell-init`으로 `copse switch`용 셸 통합을 설치하세요.
|
package/README.md
CHANGED
|
@@ -172,10 +172,11 @@ Launch with `copse` (no arguments).
|
|
|
172
172
|
| `j` / `k` | Navigate worktree list |
|
|
173
173
|
| `a` | Add worktree |
|
|
174
174
|
| `d` | Delete worktree |
|
|
175
|
-
| `o` | Open in
|
|
175
|
+
| `o` | Open in Finder / file manager |
|
|
176
|
+
| `t` | Open in Terminal |
|
|
176
177
|
| `h` | Doctor (health check) |
|
|
177
178
|
| `Enter` | Open detail view |
|
|
178
|
-
| `Escape` | Close detail view /
|
|
179
|
+
| `Escape` | Close detail view / modal |
|
|
179
180
|
| `Space` | Toggle worktree selection |
|
|
180
181
|
| `Ctrl+A` | Select all worktrees |
|
|
181
182
|
| `x` | Bulk actions menu |
|
|
@@ -184,15 +185,16 @@ Launch with `copse` (no arguments).
|
|
|
184
185
|
| `?` | Help |
|
|
185
186
|
| `q` | Quit |
|
|
186
187
|
|
|
187
|
-
#### `o` —
|
|
188
|
+
#### `o` — Open folder
|
|
188
189
|
|
|
189
|
-
Pressing `o` opens the selected worktree in
|
|
190
|
+
Pressing `o` opens the selected worktree root in Finder / the OS file manager:
|
|
190
191
|
|
|
191
|
-
- **
|
|
192
|
-
- **
|
|
193
|
-
- **
|
|
192
|
+
- **macOS** → Finder via `open <worktree>`.
|
|
193
|
+
- **Windows** → Explorer via `explorer <worktree>`.
|
|
194
|
+
- **Linux** → the default file manager via `xdg-open <worktree>`.
|
|
194
195
|
|
|
195
|
-
|
|
196
|
+
Press `t` to open the selected worktree root in Terminal.
|
|
197
|
+
Set `terminalCommand` to choose the terminal app or executable; the selected worktree path is passed automatically.
|
|
196
198
|
|
|
197
199
|
### Command Palette (`Ctrl+P`)
|
|
198
200
|
|
|
@@ -584,6 +586,7 @@ Initialize with: `copse config --init` (or just run any `copse` command — see
|
|
|
584
586
|
"$schema": "https://raw.githubusercontent.com/getsolaris/copse/main/schema.json",
|
|
585
587
|
"version": 1,
|
|
586
588
|
"theme": "dracula",
|
|
589
|
+
"terminalCommand": "Terminal",
|
|
587
590
|
"defaults": {
|
|
588
591
|
"worktreeDir": "~/.copse/worktrees/{repo}-{branch}",
|
|
589
592
|
"copyFiles": [".env"],
|
|
@@ -994,6 +997,18 @@ Set via config or command palette (`Ctrl+P`):
|
|
|
994
997
|
|
|
995
998
|
Available: `opencode`, `tokyo-night`, `dracula`, `nord`, `catppuccin`, `github-dark`, `one-dark`, `monokai`, `github-light`
|
|
996
999
|
|
|
1000
|
+
### Terminal Opener
|
|
1001
|
+
|
|
1002
|
+
The TUI `t` shortcut uses `terminalCommand` when present:
|
|
1003
|
+
|
|
1004
|
+
```json
|
|
1005
|
+
{ "terminalCommand": "iTerm" }
|
|
1006
|
+
```
|
|
1007
|
+
|
|
1008
|
+
Without `terminalCommand`, macOS follows the current terminal app when it can detect it
|
|
1009
|
+
(`TERM_PROGRAM=ghostty` opens Ghostty, for example) and falls back to Terminal.
|
|
1010
|
+
copse passes the selected worktree path automatically.
|
|
1011
|
+
|
|
997
1012
|
## Shell Integration
|
|
998
1013
|
|
|
999
1014
|
Use `copse shell-init` to install shell integration for `copse switch`.
|