@plaud-ai/cli 0.3.5 → 0.3.6
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 +12 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -20364,7 +20364,7 @@ function isNewer(current, latest) {
|
|
|
20364
20364
|
return false;
|
|
20365
20365
|
}
|
|
20366
20366
|
var updateCommand = new Command("update").description("Check npm for the latest Plaud CLI and print the upgrade command").action(async () => {
|
|
20367
|
-
const current = "0.3.
|
|
20367
|
+
const current = "0.3.6";
|
|
20368
20368
|
const spinner = ora("Checking npm for latest version...").start();
|
|
20369
20369
|
const latest = await fetchLatestVersion();
|
|
20370
20370
|
spinner.stop();
|
|
@@ -20419,10 +20419,10 @@ async function checkForUpdate(current) {
|
|
|
20419
20419
|
return isNewer(current, latest) ? latest : null;
|
|
20420
20420
|
}
|
|
20421
20421
|
var versionCommand = new Command2("version").description("Show CLI version information").action(async () => {
|
|
20422
|
-
const current = "0.3.
|
|
20422
|
+
const current = "0.3.6";
|
|
20423
20423
|
console.log(`plaud ${current}`);
|
|
20424
|
-
if ("
|
|
20425
|
-
if ("2026-07-
|
|
20424
|
+
if ("43da41f") console.log(`commit ${"43da41f"}`);
|
|
20425
|
+
if ("2026-07-30T06:38:05.314Z") console.log(`built ${"2026-07-30T06:38:05.314Z"}`);
|
|
20426
20426
|
if (current === "unknown") return;
|
|
20427
20427
|
const newer = await checkForUpdate(current);
|
|
20428
20428
|
if (newer) {
|
|
@@ -21254,7 +21254,12 @@ var audioCommand = new Command8("audio").description("Get the audio download URL
|
|
|
21254
21254
|
const file = await client2.getFile(fileId);
|
|
21255
21255
|
spinner.stop();
|
|
21256
21256
|
if (!file.presigned_url) {
|
|
21257
|
-
|
|
21257
|
+
const synced = !!(file.duration || file.source_list && file.source_list.length);
|
|
21258
|
+
console.log(
|
|
21259
|
+
chalk9.yellow(
|
|
21260
|
+
synced ? "Audio URL is temporarily unavailable (transient backend signing issue for a synced recording). Try again in a few minutes." : "Audio not available for this recording."
|
|
21261
|
+
)
|
|
21262
|
+
);
|
|
21258
21263
|
return;
|
|
21259
21264
|
}
|
|
21260
21265
|
console.log(chalk9.bold("\nAudio Download URL:\n"));
|
|
@@ -21696,7 +21701,7 @@ async function runWizard() {
|
|
|
21696
21701
|
try {
|
|
21697
21702
|
await initTelemetry({
|
|
21698
21703
|
surface: "cli",
|
|
21699
|
-
appVersion: "0.3.
|
|
21704
|
+
appVersion: "0.3.6"
|
|
21700
21705
|
});
|
|
21701
21706
|
} catch {
|
|
21702
21707
|
}
|
|
@@ -21705,7 +21710,7 @@ async function notifyUpdate() {
|
|
|
21705
21710
|
if (sub === "version" || sub === "update") return;
|
|
21706
21711
|
if (process.env.PLAUD_NO_UPDATE_NOTIFIER) return;
|
|
21707
21712
|
if (!process.stderr.isTTY) return;
|
|
21708
|
-
const current = "0.3.
|
|
21713
|
+
const current = "0.3.6";
|
|
21709
21714
|
if (current === "0.0.0") return;
|
|
21710
21715
|
try {
|
|
21711
21716
|
const newer = await checkForUpdate(current);
|