@windyroad/voice-tone 0.9.0 → 0.9.1
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
|
@@ -37,7 +37,7 @@ This examines your existing content and asks about your brand voice, target audi
|
|
|
37
37
|
|
|
38
38
|
### Assistant responses
|
|
39
39
|
|
|
40
|
-
Run `/wr-voice-tone:update-assistant-guide` to create or update `docs/ASSISTANT-VOICE-AND-TONE.md`. The file's existence is the only enablement switch. Its prose may describe plain-language standards such as ISO 24495-1:2023 or ASD-STE100, or creative voice traits.
|
|
40
|
+
Run `/wr-voice-tone:update-assistant-guide` to create or update `docs/ASSISTANT-VOICE-AND-TONE.md`. The file's existence is the only enablement switch. Its prose may describe plain-language standards such as ISO 24495-1:2023 or ASD-STE100, or creative voice traits. Before stopping, the same assistant always rewrites its response in full and makes the requested voice unmistakable. This adds one continuation's latency and token use, and some runtimes may briefly show the first response before its replacement.
|
|
41
41
|
|
|
42
42
|
This supports the plugin's Claude Code and Codex command-hook runtimes, not ordinary web ChatGPT conversations. Standards references express alignment, not certification.
|
|
43
43
|
|
|
@@ -48,7 +48,7 @@ This supports the plugin's Claude Code and Codex command-hook runtimes, not ordi
|
|
|
48
48
|
| `voice-tone-eval.sh` | Every prompt | Evaluates copy work and injects an opted-in assistant-response guide |
|
|
49
49
|
| `voice-tone-enforce-edit.sh` | Edit or Write | Blocks edits until the voice-tone agent has reviewed |
|
|
50
50
|
| `voice-tone-mark-reviewed.sh` | Agent completes | Marks the review as done (TTL: 3600s) |
|
|
51
|
-
| `assistant-voice-tone-stop.sh` | Response stop | Requests one guarded
|
|
51
|
+
| `assistant-voice-tone-stop.sh` | Response stop | Requests one guarded, complete replacement when the assistant guide exists |
|
|
52
52
|
|
|
53
53
|
## Agent
|
|
54
54
|
|
|
@@ -13,7 +13,7 @@ STOP_HOOK_ACTIVE=$(printf '%s' "$INPUT" | jq -r '.stop_hook_active // false' 2>/
|
|
|
13
13
|
LAST_ASSISTANT_MESSAGE=$(printf '%s' "$INPUT" | jq -r '.last_assistant_message // empty' 2>/dev/null || echo "")
|
|
14
14
|
[ -n "$LAST_ASSISTANT_MESSAGE" ] || exit 0
|
|
15
15
|
|
|
16
|
-
jq -n --arg reason '
|
|
16
|
+
jq -n --arg reason 'Read docs/ASSISTANT-VOICE-AND-TONE.md and rewrite your previous response as one complete final response. Preserve its meaning, but make the voice requested by the guide unmistakable rather than merely acceptable. Always emit the complete replacement response, even when the previous response already aligns. Never return an empty response, a verdict, or review commentary. Do not claim standards certification; claim alignment only when relevant.' '{
|
|
17
17
|
decision: "block",
|
|
18
18
|
reason: $reason
|
|
19
19
|
}'
|