docrev 0.9.6 → 0.9.7
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/CHANGELOG.md +20 -0
- package/dev_notes/bug_repro_comment_parser.md +71 -0
- package/dist/lib/anchor-match.d.ts +41 -0
- package/dist/lib/anchor-match.d.ts.map +1 -0
- package/dist/lib/anchor-match.js +192 -0
- package/dist/lib/anchor-match.js.map +1 -0
- package/dist/lib/annotations.d.ts.map +1 -1
- package/dist/lib/annotations.js +8 -5
- package/dist/lib/annotations.js.map +1 -1
- package/dist/lib/commands/index.d.ts +2 -1
- package/dist/lib/commands/index.d.ts.map +1 -1
- package/dist/lib/commands/index.js +3 -1
- package/dist/lib/commands/index.js.map +1 -1
- package/dist/lib/commands/section-boundaries.d.ts +22 -0
- package/dist/lib/commands/section-boundaries.d.ts.map +1 -0
- package/dist/lib/commands/section-boundaries.js +53 -0
- package/dist/lib/commands/section-boundaries.js.map +1 -0
- package/dist/lib/commands/sync.d.ts.map +1 -1
- package/dist/lib/commands/sync.js +135 -0
- package/dist/lib/commands/sync.js.map +1 -1
- package/dist/lib/commands/verify-anchors.d.ts +17 -0
- package/dist/lib/commands/verify-anchors.d.ts.map +1 -0
- package/dist/lib/commands/verify-anchors.js +215 -0
- package/dist/lib/commands/verify-anchors.js.map +1 -0
- package/dist/lib/import.d.ts +14 -8
- package/dist/lib/import.d.ts.map +1 -1
- package/dist/lib/import.js +16 -144
- package/dist/lib/import.js.map +1 -1
- package/dist/lib/word-extraction.d.ts +23 -0
- package/dist/lib/word-extraction.d.ts.map +1 -1
- package/dist/lib/word-extraction.js +79 -0
- package/dist/lib/word-extraction.js.map +1 -1
- package/lib/anchor-match.ts +238 -0
- package/lib/annotations.ts +9 -5
- package/lib/commands/index.ts +3 -0
- package/lib/commands/section-boundaries.ts +72 -0
- package/lib/commands/sync.ts +165 -0
- package/lib/commands/verify-anchors.ts +261 -0
- package/lib/import.ts +29 -165
- package/lib/word-extraction.ts +93 -0
- package/package.json +1 -1
- package/skill/REFERENCE.md +29 -2
- package/skill/SKILL.md +12 -2
package/skill/SKILL.md
CHANGED
|
@@ -44,10 +44,18 @@ Send to reviewers. They add comments and track changes in Word.
|
|
|
44
44
|
### 3. Import feedback
|
|
45
45
|
|
|
46
46
|
```bash
|
|
47
|
-
rev sync reviewed.docx
|
|
48
|
-
rev sync
|
|
47
|
+
rev sync reviewed.docx # Updates markdown with annotations
|
|
48
|
+
rev sync # Auto-detect most recent .docx
|
|
49
|
+
rev sync reviewed.docx --comments-only # Insert comments only; never modify prose
|
|
50
|
+
rev verify-anchors reviewed.docx # Report which anchors still match current prose
|
|
49
51
|
```
|
|
50
52
|
|
|
53
|
+
Use `--comments-only` when the markdown has been revised between sending the
|
|
54
|
+
docx out and receiving it back. Without the flag, track changes from a stale
|
|
55
|
+
draft would clobber newer edits. With it, only comments are imported, placed
|
|
56
|
+
at fuzzy-matched anchors against the current prose. Run `rev verify-anchors`
|
|
57
|
+
first to see which comments will land cleanly and which need manual placement.
|
|
58
|
+
|
|
51
59
|
### 4. View and address comments
|
|
52
60
|
|
|
53
61
|
```bash
|
|
@@ -111,6 +119,8 @@ rev response # Generate point-by-point response letter
|
|
|
111
119
|
| Create LaTeX project | `rev new my-project --template latex` |
|
|
112
120
|
| Import Word doc | `rev import manuscript.docx` |
|
|
113
121
|
| Sync Word feedback | `rev sync reviewed.docx` |
|
|
122
|
+
| Sync comments only (prose unchanged) | `rev sync reviewed.docx --comments-only` |
|
|
123
|
+
| Verify anchors against current prose | `rev verify-anchors reviewed.docx` |
|
|
114
124
|
| Sync PDF comments | `rev sync annotated.pdf` |
|
|
115
125
|
| Extract PDF comments | `rev pdf-comments annotated.pdf` |
|
|
116
126
|
| Extract with highlighted text | `rev pdf-comments file.pdf --with-text` |
|