@holdyourvoice/hyv 2.4.3 → 2.4.5
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 +4 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12457,9 +12457,11 @@ function buildRewritePrompt(options) {
|
|
|
12457
12457
|
}
|
|
12458
12458
|
|
|
12459
12459
|
// src/commands/rewrite.ts
|
|
12460
|
+
init_api();
|
|
12460
12461
|
function registerRewriteCommand(program3) {
|
|
12461
12462
|
program3.command("rewrite").description("Generate rewrite prompt for LLM").argument("<file>", "File to rewrite (or - for stdin)").option("--profile <name>", "Voice profile to use").option("--format <type>", "Content format (linkedin, blog, email)").option("--constraints <text>", "Additional constraints").option("--no-scan", "Skip local scan").option("--output <file>", "Write prompt to file instead of stdout").action(async (file, options) => {
|
|
12462
12463
|
try {
|
|
12464
|
+
await requireSubscription();
|
|
12463
12465
|
let draftContent;
|
|
12464
12466
|
let draftPath;
|
|
12465
12467
|
if (file === "-") {
|
|
@@ -13198,9 +13200,11 @@ async function downgradePlan() {
|
|
|
13198
13200
|
var import_chalk9 = __toESM(require_source());
|
|
13199
13201
|
var fs7 = __toESM(require("fs"));
|
|
13200
13202
|
var path7 = __toESM(require("path"));
|
|
13203
|
+
init_api();
|
|
13201
13204
|
function registerScanCommand(program3) {
|
|
13202
13205
|
program3.command("scan").description("Scan text for voice issues").argument("<file>", "File to scan (or - for stdin)").option("--format <type>", "Output format (text or json)", "text").option("--fail-on-hit", "Exit with code 2 if issues found").option("--ignore <rules>", "Comma-separated rules to ignore").action(async (file, options) => {
|
|
13203
13206
|
try {
|
|
13207
|
+
await requireSubscription();
|
|
13204
13208
|
let text;
|
|
13205
13209
|
let filePath;
|
|
13206
13210
|
if (file === "-") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holdyourvoice/hyv",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.5",
|
|
4
4
|
"description": "Hold Your Voice \u2014 voice gate layer for AI workflows. make your ai agent sound exactly like you! includes 220+ AI pattern detection engine.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|