difit 2.2.1 → 2.2.2

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 difit
3
+ Copyright (c) 2025 @yoshiko-pg/difit
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
package/README.ja.md CHANGED
@@ -85,6 +85,9 @@ cat changes.patch | npx difit
85
85
 
86
86
  # マージベースとの比較
87
87
  git diff --merge-base main feature | npx difit
88
+
89
+ # 既存ファイル全体を新規追加として確認
90
+ git diff -- /dev/null path/to/file | npx difit
88
91
  ```
89
92
 
90
93
  ## ⚙️ CLIオプション
@@ -99,7 +102,7 @@ git diff --merge-base main feature | npx difit
99
102
  | `--no-open` | false | ブラウザを自動的に開かない |
100
103
  | `--mode` | side-by-side | 表示モード。inline`または`side-by-side` |
101
104
  | `--tui` | false | WebUIの代わりにターミナルUIを使用 |
102
- | `--clean` | false | 起動時にすべての既存コメントをクリア |
105
+ | `--clean` | false | 起動時に既存コメントと閲覧済みファイルをすべてクリア |
103
106
 
104
107
  ## 💬 コメントシステム
105
108
 
package/README.ko.md CHANGED
@@ -85,6 +85,9 @@ cat changes.patch | npx difit
85
85
 
86
86
  # 머지 베이스와 비교
87
87
  git diff --merge-base main feature | npx difit
88
+
89
+ # 기존 파일 전체를 신규 추가처럼 검토
90
+ git diff -- /dev/null path/to/file | npx difit
88
91
  ```
89
92
 
90
93
  ## ⚙️ CLI 옵션
@@ -99,7 +102,7 @@ git diff --merge-base main feature | npx difit
99
102
  | `--no-open` | false | 브라우저를 자동으로 열지 않음 |
100
103
  | `--mode` | side-by-side | 표시 모드: `inline` 또는 `side-by-side` |
101
104
  | `--tui` | false | WebUI 대신 터미널 UI 모드 사용 |
102
- | `--clean` | false | 시작 시 모든 기존 코멘트 지우기 |
105
+ | `--clean` | false | 시작 시 모든 기존 코멘트와 열람된 파일 표시 초기화 |
103
106
 
104
107
  ## 💬 코멘트 시스템
105
108
 
package/README.md CHANGED
@@ -85,6 +85,9 @@ cat changes.patch | npx difit
85
85
 
86
86
  # Compare against merge base
87
87
  git diff --merge-base main feature | npx difit
88
+
89
+ # Review an entire existing file as newly added
90
+ git diff -- /dev/null path/to/file | npx difit
88
91
  ```
89
92
 
90
93
  ## ⚙️ CLI Options
@@ -99,7 +102,7 @@ git diff --merge-base main feature | npx difit
99
102
  | `--no-open` | false | Don't automatically open browser |
100
103
  | `--mode` | side-by-side | Display mode: `inline` or `side-by-side` |
101
104
  | `--tui` | false | Use terminal UI mode instead of WebUI |
102
- | `--clean` | false | Clear all existing comments on startup |
105
+ | `--clean` | false | Clear all existing comments and viewed files on startup |
103
106
 
104
107
  ## 💬 Comment System
105
108
 
package/README.zh.md CHANGED
@@ -85,6 +85,9 @@ cat changes.patch | npx difit
85
85
 
86
86
  # 与合并基础比较
87
87
  git diff --merge-base main feature | npx difit
88
+
89
+ # 将整个现有文件视为新添加进行审查
90
+ git diff -- /dev/null path/to/file | npx difit
88
91
  ```
89
92
 
90
93
  ## ⚙️ CLI 选项
@@ -99,7 +102,7 @@ git diff --merge-base main feature | npx difit
99
102
  | `--no-open` | false | 不自动打开浏览器 |
100
103
  | `--mode` | side-by-side | 显示模式:`inline` 或 `side-by-side` |
101
104
  | `--tui` | false | 使用终端 UI 模式而不是 WebUI |
102
- | `--clean` | false | 启动时清除所有现有评论 |
105
+ | `--clean` | false | 启动时清除所有现有评论和已查看的文件 |
103
106
 
104
107
  ## 💬 评论系统
105
108