@holdyourvoice/hyv 0.7.3 → 0.7.4
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/dist/index.js +233 -333
- package/package.json +11 -15
- package/agents/claude-code.md +0 -37
- package/agents/codex.md +0 -35
package/package.json
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holdyourvoice/hyv",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.4",
|
|
4
4
|
"description": "Hold Your Voice — voice gate layer for AI workflows",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"
|
|
8
|
-
"
|
|
7
|
+
"hyvoice": "dist/index.js",
|
|
8
|
+
"hyv": "dist/index.js"
|
|
9
9
|
},
|
|
10
|
-
"files": [
|
|
11
|
-
"dist",
|
|
12
|
-
"agents"
|
|
13
|
-
],
|
|
14
10
|
"scripts": {
|
|
15
11
|
"build": "esbuild src/index.ts --bundle --platform=node --target=node20 --format=cjs --outfile=dist/index.js --minify --legal-comments=none",
|
|
16
12
|
"dev": "esbuild src/index.ts --bundle --platform=node --target=node20 --format=cjs --outfile=dist/index.js --watch",
|
|
@@ -22,14 +18,12 @@
|
|
|
22
18
|
"ai",
|
|
23
19
|
"cli",
|
|
24
20
|
"brand-voice",
|
|
25
|
-
"content-gate"
|
|
21
|
+
"content-gate",
|
|
22
|
+
"hyv"
|
|
26
23
|
],
|
|
27
24
|
"author": "Hold Your Voice",
|
|
28
25
|
"license": "UNLICENSED",
|
|
29
26
|
"private": false,
|
|
30
|
-
"engines": {
|
|
31
|
-
"node": ">=20"
|
|
32
|
-
},
|
|
33
27
|
"dependencies": {
|
|
34
28
|
"chalk": "^4.1.2",
|
|
35
29
|
"commander": "^12.1.0",
|
|
@@ -41,8 +35,10 @@
|
|
|
41
35
|
"esbuild": "^0.20.0",
|
|
42
36
|
"typescript": "^5.3.3"
|
|
43
37
|
},
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
38
|
+
"engines": {
|
|
39
|
+
"node": ">=18"
|
|
40
|
+
},
|
|
41
|
+
"files": [
|
|
42
|
+
"dist"
|
|
43
|
+
]
|
|
48
44
|
}
|
package/agents/claude-code.md
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# Hold Your Voice — Agent Command
|
|
2
|
-
|
|
3
|
-
When the user mentions "voice", "brand voice", "hyv", "write in my voice", or "rewrite in my voice":
|
|
4
|
-
|
|
5
|
-
## Inline rewrite (text in conversation)
|
|
6
|
-
|
|
7
|
-
1. Capture the text the user wants rewritten (previous message, code block, paragraph, etc.)
|
|
8
|
-
2. Run:
|
|
9
|
-
```bash
|
|
10
|
-
hyv rewrite <profile> --text "the captured text"
|
|
11
|
-
```
|
|
12
|
-
Or if no profile mentioned, use the default:
|
|
13
|
-
```bash
|
|
14
|
-
hyv rewrite --text "the captured text"
|
|
15
|
-
```
|
|
16
|
-
3. Read the structured prompt from stdout
|
|
17
|
-
4. Execute the rewrite following the prompt's instructions
|
|
18
|
-
5. Present the rewritten text directly in the conversation
|
|
19
|
-
|
|
20
|
-
## File rewrite
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
hyv rewrite <profile> <file.md>
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Scan for issues
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
hyv scan
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
## Rules
|
|
33
|
-
|
|
34
|
-
- The CLI never calls an LLM. It generates prompts. **You** execute the rewrite.
|
|
35
|
-
- Preserve original meaning. Match the voice profile's rhythm, vocabulary, patterns.
|
|
36
|
-
- If no profile specified, check `.hyv.yml` or ask the user.
|
|
37
|
-
- If CLI not installed: `npx @holdyourvoice/hyv init`
|
package/agents/codex.md
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# Hold Your Voice (HYV)
|
|
2
|
-
|
|
3
|
-
When the user mentions "voice", "brand voice", "hyv", "write in my voice", or "rewrite in my voice":
|
|
4
|
-
|
|
5
|
-
## Inline rewrite (text in conversation)
|
|
6
|
-
|
|
7
|
-
1. Capture the text the user wants rewritten
|
|
8
|
-
2. Run: `hyv rewrite <profile> --text "captured text"`
|
|
9
|
-
3. Read the structured prompt from stdout
|
|
10
|
-
4. Execute the rewrite and present it
|
|
11
|
-
|
|
12
|
-
## File rewrite
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
hyv rewrite <profile> file.md
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Scan
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
hyv scan
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Profiles
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
hyv profiles
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## Rules
|
|
31
|
-
|
|
32
|
-
- CLI generates prompts. You execute the rewrite.
|
|
33
|
-
- Preserve meaning. Match the voice profile.
|
|
34
|
-
- If no profile: check `.hyv.yml` or ask user.
|
|
35
|
-
- If not installed: `npx @holdyourvoice/hyv init`
|