gipity 1.1.20 → 1.1.21
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/commands/generate.js +1 -1
- package/dist/commands/secrets.js +2 -2
- package/dist/index.js +3 -3
- package/package.json +1 -1
|
@@ -373,7 +373,7 @@ Examples:
|
|
|
373
373
|
.option('--voice <voice>', 'Voice ID or name (provider-specific; see Voices below)')
|
|
374
374
|
.option('--language <code>', 'BCP-47 language code, e.g. ja-JP, es-ES (Gemini only, 60+ languages)')
|
|
375
375
|
.option('--speakers <json>', 'Multi-speaker config as JSON array (Gemini only, up to 2 speakers)')
|
|
376
|
-
.option('-o, --output <file>', 'Output path (default ./speech.mp3). For audio your app ships, write it into the source tree so it deploys, e.g. -o src/assets/sounds/intro.mp3; the cwd default is fine for one-off generation.')
|
|
376
|
+
.option('-o, --output <file>', 'Output path (default ./speech.mp3; --provider gemini returns WAV, so name it .wav). For audio your app ships, write it into the source tree so it deploys, e.g. -o src/assets/sounds/intro.mp3; the cwd default is fine for one-off generation.')
|
|
377
377
|
.option('--json', 'Output as JSON')
|
|
378
378
|
.action(async (text, opts) => {
|
|
379
379
|
try {
|
package/dist/commands/secrets.js
CHANGED
|
@@ -27,7 +27,7 @@ secretsCommand
|
|
|
27
27
|
console.log(JSON.stringify(res.data));
|
|
28
28
|
return;
|
|
29
29
|
}
|
|
30
|
-
const scope = opts.account ? 'account-wide' : '
|
|
30
|
+
const scope = opts.account ? 'account-wide' : 'project';
|
|
31
31
|
if (res.data.length === 0) {
|
|
32
32
|
console.log(muted(`No ${scope} secrets yet. Add one with: gipity secrets set NAME VALUE${opts.account ? ' --account' : ''}`));
|
|
33
33
|
return;
|
|
@@ -50,7 +50,7 @@ secretsCommand
|
|
|
50
50
|
console.log(JSON.stringify(res.data));
|
|
51
51
|
return;
|
|
52
52
|
}
|
|
53
|
-
const scope = opts.account ? 'account-wide' : '
|
|
53
|
+
const scope = opts.account ? 'account-wide' : 'project';
|
|
54
54
|
console.log(success(`✓ Secret '${res.data.name}' saved (encrypted, ${scope}). Read it in a function with secrets.get('${res.data.name}').`));
|
|
55
55
|
}));
|
|
56
56
|
secretsCommand
|
package/dist/index.js
CHANGED
|
@@ -43461,7 +43461,7 @@ secretsCommand.command("list").alias("ls").description("List secret names (never
|
|
|
43461
43461
|
console.log(JSON.stringify(res.data));
|
|
43462
43462
|
return;
|
|
43463
43463
|
}
|
|
43464
|
-
const scope = opts.account ? "account-wide" : "
|
|
43464
|
+
const scope = opts.account ? "account-wide" : "project";
|
|
43465
43465
|
if (res.data.length === 0) {
|
|
43466
43466
|
console.log(muted(`No ${scope} secrets yet. Add one with: gipity secrets set NAME VALUE${opts.account ? " --account" : ""}`));
|
|
43467
43467
|
return;
|
|
@@ -43478,7 +43478,7 @@ secretsCommand.command("set <name> <value>").description("Create or update a sec
|
|
|
43478
43478
|
console.log(JSON.stringify(res.data));
|
|
43479
43479
|
return;
|
|
43480
43480
|
}
|
|
43481
|
-
const scope = opts.account ? "account-wide" : "
|
|
43481
|
+
const scope = opts.account ? "account-wide" : "project";
|
|
43482
43482
|
console.log(success(`\u2713 Secret '${res.data.name}' saved (encrypted, ${scope}). Read it in a function with secrets.get('${res.data.name}').`));
|
|
43483
43483
|
}));
|
|
43484
43484
|
secretsCommand.command("rm <name>").alias("delete").description("Delete a secret").option("--account", "Delete from account-wide secrets").option("--project <guid-or-slug>", "Target a specific project instead of cwd / Home").option("--json", "Output raw JSON").action((name, opts) => run("Secrets", async () => {
|
|
@@ -44454,7 +44454,7 @@ Examples:
|
|
|
44454
44454
|
gipity generate speech "\u3053\u3093\u306B\u3061\u306F\u4E16\u754C" --provider gemini --voice Kore --language ja-JP
|
|
44455
44455
|
gipity generate speech "Bonjour le monde" --provider gemini --language fr-FR
|
|
44456
44456
|
gipity generate speech 'Joe: Hey!\\nJane: Hi there!' --provider gemini --speakers '[{"name":"Joe","voice":"Charon"},{"name":"Jane","voice":"Leda"}]'
|
|
44457
|
-
`).argument("<text>", "Text to convert to speech (max 5000 characters)").addOption(new Option("--provider <provider>", "TTS provider (default: elevenlabs)").choices(TTS_PROVIDER_IDS)).option("--voice <voice>", "Voice ID or name (provider-specific; see Voices below)").option("--language <code>", "BCP-47 language code, e.g. ja-JP, es-ES (Gemini only, 60+ languages)").option("--speakers <json>", "Multi-speaker config as JSON array (Gemini only, up to 2 speakers)").option("-o, --output <file>", "Output path (default ./speech.mp3). For audio your app ships, write it into the source tree so it deploys, e.g. -o src/assets/sounds/intro.mp3; the cwd default is fine for one-off generation.").option("--json", "Output as JSON").action(async (text, opts) => {
|
|
44457
|
+
`).argument("<text>", "Text to convert to speech (max 5000 characters)").addOption(new Option("--provider <provider>", "TTS provider (default: elevenlabs)").choices(TTS_PROVIDER_IDS)).option("--voice <voice>", "Voice ID or name (provider-specific; see Voices below)").option("--language <code>", "BCP-47 language code, e.g. ja-JP, es-ES (Gemini only, 60+ languages)").option("--speakers <json>", "Multi-speaker config as JSON array (Gemini only, up to 2 speakers)").option("-o, --output <file>", "Output path (default ./speech.mp3; --provider gemini returns WAV, so name it .wav). For audio your app ships, write it into the source tree so it deploys, e.g. -o src/assets/sounds/intro.mp3; the cwd default is fine for one-off generation.").option("--json", "Output as JSON").action(async (text, opts) => {
|
|
44458
44458
|
try {
|
|
44459
44459
|
const { config } = await resolveProjectContext();
|
|
44460
44460
|
if (opts.output) ensureOutputDir(opts.output);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gipity",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.21",
|
|
4
4
|
"description": "The full-stack platform tuned for AI agents. Database, storage, auth, functions, deploy, and drop-in kits - all agent-tuned. Pair with Claude Code or use standalone.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"gipity": "dist/updater/shim.js",
|