reviw 1.5.1 → 1.6.0

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.ja.md CHANGED
@@ -39,9 +39,14 @@
39
39
 
40
40
  ### メディアサイドバー
41
41
  - 左サイドバーに画像・動画のサムネイルギャラリーを表示
42
- - サムネイルクリックで対応するメディアにスクロール&ソース行ハイライト
42
+ - サムネイルクリックで対応するメディアにスクロール&ハイライト
43
+ - ↑↓キーで前後のメディアへジャンプ、Escapeで選択解除
43
44
  - 番号バッジ付きで素早く識別
44
45
 
46
+ ### メディア埋め込み規律チェック(AIフレンドリー)
47
+ - メディアファイルが `![alt](path)` 埋め込みではなく `[text](path)` リンクで書かれている場合、`reviw file.md` はエラー(exit 1)で起動を拒否
48
+ - 行番号とそのまま適用できる修正案を全件表示するので、AIエージェントが自動修正してリトライできる
49
+
45
50
  ### メディアフルスクリーン
46
51
  - Markdownプレビューの画像をクリックでフルスクリーンビューアを開く
47
52
  - 動画をクリックでYouTube風キーボードショートカット付きフルスクリーン再生(Space/K、J/L、矢印キー、0-9)
@@ -183,8 +188,9 @@ npx skills add https://github.com/kazuph/reviw -g -a codex -s '*' --copy -y
183
188
  npx skills add https://github.com/kazuph/reviw -g -a codex -a opencode -s '*' --copy -y
184
189
  ```
185
190
 
186
- `npx skills` が配るのは `plugin/skills/` 配下のスキル群です。Claude Code のプラグイン command hooks はこの経路では入らず、上の Claude Code プラグイン導線でインストールします。
187
- ```
191
+ `npx skills` が配るのは `plugin/skills/` 配下のスキル群です。`-a codex -g --copy` を付けると、Codex のグローバルスキル置き場である `~/.agents/skills/` にコピーされます。`~/.agents/skills` symlink の場合は、そのリンク先に実体が置かれます。
192
+
193
+ Claude Code のプラグイン command や hooks はこの経路では入らず、上の Claude Code プラグイン導線でインストールします。
188
194
 
189
195
  ### プラグインディレクトリ構成
190
196
 
@@ -210,6 +216,10 @@ plugin/
210
216
  │ │ └── SKILL.md # タスク開始スキル
211
217
  │ ├── done/
212
218
  │ │ └── SKILL.md # タスク完了スキル
219
+ │ ├── exit-notifier/
220
+ │ │ ├── SKILL.md # background task 終了通知スキル
221
+ │ │ └── scripts/
222
+ │ │ └── watch-exit-notify.sh
213
223
  │ ├── tiny-do/
214
224
  │ │ └── SKILL.md # 軽量タスク開始スキル
215
225
  │ ├── tiny-done/
@@ -247,6 +257,7 @@ plugin/
247
257
  | **エージェント** | `review-e2e-integrity` | E2E: ユーザーフロー再現、モック汚染検出 |
248
258
  | **エージェント** | `e2e-health-reviewer` | E2E: goto制限、レコードアサーション、ハードコード検出 |
249
259
  | **スキル** | `artifact-proof` | エビデンス収集(スクリーンショット、動画、ログ) |
260
+ | **スキル** | `exit-notifier` | background task の終了と stdout/stderr を現在の tmux / Herdr pane に通知 |
250
261
  | **スキル** | `webapp-testing` | Playwrightによるブラウザ自動化と検証 |
251
262
  | **フック** | PreToolUse | git commit/push前にレビューを促すリマインダー |
252
263
  | **フック** | UserPromptSubmit | AI コンテキストに完了チェックリストを注入 |
@@ -265,6 +276,7 @@ plugin/
265
276
  | `commit-and-push` | コミットメッセージ生成、commit、push、最終状態確認まで実行する |
266
277
  | `do` | worktree 作成、計画策定、レビュー準備を含むフルの開始フローを実行する |
267
278
  | `done` | エビデンス収集と reviw レビューを含むフルの完了フローを実行する |
279
+ | `exit-notifier` | background task の終了結果と stdout/stderr を現在の tmux / Herdr pane に返す |
268
280
  | `open` | ファイル、成果物、URL を macOS の `open` で開く |
269
281
  | `tiny-do` | 小さなタスク向けの軽量開始フローで実装へ入る |
270
282
  | `tiny-done` | 小さなタスク向けの軽量完了フローで検証と確認を行う |
package/README.md CHANGED
@@ -39,9 +39,14 @@ A lightweight browser-based tool for reviewing and annotating tabular data, text
39
39
 
40
40
  ### Media Sidebar
41
41
  - Thumbnail gallery of all images and videos in the left sidebar
42
- - Click any thumbnail to scroll to the corresponding media and highlight the source line
42
+ - Click any thumbnail to scroll to the corresponding media and highlight it
43
+ - ArrowUp/ArrowDown to jump between media, Escape to clear the selection
43
44
  - Numbered badges for quick identification
44
45
 
46
+ ### Media Embed Discipline (AI-friendly)
47
+ - `reviw file.md` refuses to start (exit 1) when media files are written as `[text](path)` links instead of `![alt](path)` embeds
48
+ - The error lists every violation with line numbers and ready-to-apply fixes, so AI agents can self-correct and retry
49
+
45
50
  ### Media Fullscreen
46
51
  - Click images in Markdown preview to open fullscreen viewer
47
52
  - Click videos to open fullscreen playback with YouTube-like keyboard shortcuts (Space/K, J/L, arrow keys, 0-9)
@@ -183,8 +188,9 @@ npx skills add https://github.com/kazuph/reviw -g -a codex -s '*' --copy -y
183
188
  npx skills add https://github.com/kazuph/reviw -g -a codex -a opencode -s '*' --copy -y
184
189
  ```
185
190
 
186
- `npx skills` distributes the skill directories under `plugin/skills/`. Claude Code plugin commands and hooks are installed through the Claude Code plugin flow above, not through `npx skills`.
187
- ```
191
+ `npx skills` distributes the skill directories under `plugin/skills/`. With `-a codex -g --copy`, the skills are copied into Codex's global skills directory at `~/.agents/skills/`. If `~/.agents/skills` is a symlink, the copied files land in the symlink target.
192
+
193
+ Claude Code plugin commands and hooks are installed through the Claude Code plugin flow above, not through `npx skills`.
188
194
 
189
195
  ### Plugin Directory Structure
190
196
 
@@ -210,6 +216,10 @@ plugin/
210
216
  │ │ └── SKILL.md # Task start skill
211
217
  │ ├── done/
212
218
  │ │ └── SKILL.md # Task completion skill
219
+ │ ├── exit-notifier/
220
+ │ │ ├── SKILL.md # Background task exit notification skill
221
+ │ │ └── scripts/
222
+ │ │ └── watch-exit-notify.sh
213
223
  │ ├── tiny-do/
214
224
  │ │ └── SKILL.md # Lightweight task start skill
215
225
  │ ├── tiny-done/
@@ -247,6 +257,7 @@ plugin/
247
257
  | **Agent** | `review-e2e-integrity` | E2E: user flow reproduction, mock contamination |
248
258
  | **Agent** | `e2e-health-reviewer` | E2E: goto restrictions, record assertions, hardcoding |
249
259
  | **Skill** | `artifact-proof` | Collect evidence (screenshots, videos, logs) |
260
+ | **Skill** | `exit-notifier` | Notify the current tmux / Herdr pane when background tasks exit, including captured stdout/stderr |
250
261
  | **Skill** | `webapp-testing` | Browser automation and verification with Playwright |
251
262
  | **Hook** | PreToolUse | Remind to review before git commit/push |
252
263
  | **Hook** | UserPromptSubmit | Inject completion checklist into AI context |
@@ -265,6 +276,7 @@ plugin/
265
276
  | `commit-and-push` | Generate a commit message, create the commit, push it, and confirm a clean git state |
266
277
  | `do` | Start the full task workflow with worktree setup, planning, and review preparation |
267
278
  | `done` | Run the full completion workflow with evidence collection and reviw-based review |
279
+ | `exit-notifier` | Report background task completion and captured stdout/stderr back into the current tmux / Herdr pane |
268
280
  | `open` | Open files, artifacts, and URLs with macOS `open` |
269
281
  | `tiny-do` | Start a smaller task with the lightweight workflow |
270
282
  | `tiny-done` | Finish a smaller task with the lightweight completion flow |