@holdyourvoice/hyv 2.4.5 → 2.5.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.md CHANGED
@@ -94,6 +94,14 @@ the onboarding walks you through questions about your writing style, audience, a
94
94
  |----------|-------------|
95
95
  | `HYV_API_URL` | API base URL (default: `https://holdyourvoice.com`) |
96
96
 
97
+ ```bash
98
+ # Staging
99
+ HYV_API_URL=https://staging.holdyourvoice.com hyv init
100
+
101
+ # Local dev
102
+ HYV_API_URL=http://localhost:3000 hyv init
103
+ ```
104
+
97
105
  ## license
98
106
 
99
107
  UNLICENSED — [holdyourvoice.com](https://holdyourvoice.com)
@@ -22,14 +22,25 @@ ALWAYS run `hyv_rewrite` or use the `hyv_rewrite` MCP tool when:
22
22
 
23
23
  ### MCP tools (preferred — if MCP is connected):
24
24
  1. `hyv_scan` with the text → get issues
25
- 2. `hyv_rewrite` with the text → get auto-fixed version + LLM prompt for remaining issues
26
- 3. `hyv_validate` after rewritingverify the output matches the voice
25
+ 2. `hyv_fix` with the text → auto-fix simple word swaps (delve→dig, leverage→use)
26
+ 3. `hyv_rewrite` with the text get full rewrite with LLM prompt for remaining issues
27
+ 4. `hyv_validate` after rewriting → verify the output matches the voice
28
+ 5. `hyv_check` for quick inline spot-checks → get score + issues
29
+ 6. `hyv_score` when you just need a 0-100 number
30
+ 7. `hyv_diff` to show what auto-fixes would change before applying
27
31
 
28
32
  ### CLI commands (fallback):
29
33
  ```bash
30
34
  echo "text to check" | hyv scan -
31
- hyv rewrite file.md
32
- hyv profiles
35
+ hyv fix file.md # apply auto-fixes without LLM
36
+ hyv rewrite file.md # generate rewrite prompt
37
+ hyv check "inline text" # quick spot-check
38
+ hyv score file.md # just a 0-100 number
39
+ hyv diff file.md # show proposed fixes
40
+ hyv profiles # list profiles
41
+ hyv rules # list/toggle detection rules
42
+ hyv batch "posts/**/*.md" # scan multiple files
43
+ hyv history # track scores over time
33
44
  ```
34
45
 
35
46
  ## Rules
package/agents/codex.md CHANGED
@@ -6,17 +6,24 @@ The user has a voice profile for their writing style. Use HYV for ALL writing ta
6
6
 
7
7
  Run these MCP tools (or CLI commands) for any writing task:
8
8
  - `hyv_scan` on any text before delivering it
9
- - `hyv_rewrite` to fix issues found by scan
9
+ - `hyv_fix` to auto-fix simple patterns (word swaps) without LLM
10
+ - `hyv_rewrite` to fix remaining issues with LLM
10
11
  - `hyv_validate` to verify the output
11
12
 
13
+ ## Quick tools
14
+ - `hyv_check` for inline spot-checks
15
+ - `hyv_score` when you just need a 0-100 number
16
+ - `hyv_diff` to show what would change before applying
17
+
12
18
  ## CLI fallback
13
19
  ```bash
14
20
  echo "text" | hyv scan -
21
+ hyv fix file.md
15
22
  hyv rewrite file.md
16
23
  hyv profiles
17
24
  ```
18
25
 
19
26
  ## Rules
20
27
  - Always scan before delivering prose content
21
- - Always rewrite if scan finds issues
28
+ - Always fix/rewrite if scan finds issues
22
29
  - Preserve meaning, match voice profile
package/agents/cursor.md CHANGED
@@ -9,11 +9,16 @@ The user has a voice profile. Use HYV MCP tools for all writing tasks.
9
9
 
10
10
  ## Tools
11
11
  - `hyv_scan` — check text for AI patterns
12
+ - `hyv_fix` — auto-fix simple patterns (word swaps) without LLM
12
13
  - `hyv_rewrite` — fix issues and match voice
14
+ - `hyv_check` — quick inline check, returns score + issues
15
+ - `hyv_score` — just a 0-100 score
16
+ - `hyv_diff` — show what auto-fixes would change
13
17
  - `hyv_validate` — verify output matches voice
14
18
  - `hyv_profiles` — list available profiles
15
19
 
16
20
  ## Rules
17
21
  - Always scan before delivering content
22
+ - Use `hyv_fix` for quick word swaps before `hyv_rewrite`
18
23
  - Preserve meaning when rewriting
19
24
  - Match the user's voice profile exactly
package/agents/generic.md CHANGED
@@ -8,18 +8,27 @@ You MUST use these tools automatically — do NOT wait for the user to mention "
8
8
 
9
9
  **Before delivering any written content (emails, posts, docs, messages):**
10
10
  1. Run `hyv_scan` on the text
11
- 2. If issues found, run `hyv_rewrite` to fix them
11
+ 2. If issues found, run `hyv_fix` for quick word swaps, then `hyv_rewrite` for structural issues
12
12
  3. Run `hyv_validate` to verify the result
13
13
 
14
14
  **When the user asks you to write, draft, edit, or improve anything:**
15
15
  1. Write your draft
16
16
  2. Run `hyv_scan` on it
17
- 3. Fix issues with `hyv_rewrite`
17
+ 3. Fix issues with `hyv_fix` (auto-swaps) and `hyv_rewrite` (LLM rewrites)
18
18
  4. Deliver the cleaned version
19
19
 
20
+ **For quick checks:**
21
+ - Use `hyv_check` for inline spot-checks
22
+ - Use `hyv_score` when you just need a quality number
23
+ - Use `hyv_diff` to show what would change before applying fixes
24
+
20
25
  ## Available tools
21
26
  - `hyv_scan` — scan text for AI patterns and voice drift
27
+ - `hyv_fix` — auto-fix simple patterns (word swaps) without LLM
22
28
  - `hyv_rewrite` — auto-fix patterns and generate LLM prompt for remaining issues
29
+ - `hyv_check` — quick inline check, returns score + issues
30
+ - `hyv_score` — just a 0-100 score
31
+ - `hyv_diff` — show what auto-fixes would change
23
32
  - `hyv_validate` — score text against voice profile
24
33
  - `hyv_profiles` — list available voice profiles
25
34