@plaud-ai/cli 0.3.9 → 0.3.10

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.
Files changed (2) hide show
  1. package/dist/index.js +13 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -20379,7 +20379,7 @@ function isNewer(current, latest) {
20379
20379
  return false;
20380
20380
  }
20381
20381
  var updateCommand = new Command("update").description("Check npm for the latest Plaud CLI and print the upgrade command").action(async () => {
20382
- const current = "0.3.9";
20382
+ const current = "0.3.10";
20383
20383
  const spinner = ora("Checking npm for latest version...").start();
20384
20384
  const latest = await fetchLatestVersion();
20385
20385
  spinner.stop();
@@ -20434,10 +20434,10 @@ async function checkForUpdate(current) {
20434
20434
  return isNewer(current, latest) ? latest : null;
20435
20435
  }
20436
20436
  var versionCommand = new Command2("version").description("Show CLI version information").action(async () => {
20437
- const current = "0.3.9";
20437
+ const current = "0.3.10";
20438
20438
  console.log(`plaud ${current}`);
20439
- if ("e0fb5d6") console.log(`commit ${"e0fb5d6"}`);
20440
- if ("2026-08-18T03:07:34.503Z") console.log(`built ${"2026-08-18T03:07:34.503Z"}`);
20439
+ if ("1afbfa8") console.log(`commit ${"1afbfa8"}`);
20440
+ if ("2026-08-19T04:14:57.144Z") console.log(`built ${"2026-08-19T04:14:57.144Z"}`);
20441
20441
  if (current === "unknown") return;
20442
20442
  const newer = await checkForUpdate(current);
20443
20443
  if (newer) {
@@ -21464,10 +21464,9 @@ var summaryCommand = new Command10("summary").description("Get the AI summary fo
21464
21464
  }
21465
21465
  const selected = opts.all ? noteList : summaries.slice(0, 1);
21466
21466
  if (!opts.all && noteList.length > 1) {
21467
- const detail = summaries.length > 1 ? `${summaries.length} summary notes` : `${noteList.length} notes (1 summary)`;
21468
21467
  console.error(
21469
21468
  chalk11.yellow(
21470
- `Note: this recording has ${detail}; showing the first. Use --all to print them all, or --json for the raw payload.`
21469
+ `Note: this recording has ${noteList.length} notes (${summaries.length} summary); showing the first. Use --all to print them all, or --json for the raw payload.`
21471
21470
  )
21472
21471
  );
21473
21472
  }
@@ -21475,9 +21474,14 @@ var summaryCommand = new Command10("summary").description("Get the AI summary fo
21475
21474
  for (const [i, note] of selected.entries()) {
21476
21475
  const content = await noteContent(note);
21477
21476
  const type = typeof note.data_type === "string" ? note.data_type : "unknown";
21477
+ const str = (v) => typeof v === "string" ? v.trim() : "";
21478
+ const tabName = str(note.data_tab_name);
21479
+ const title = str(note.data_title);
21480
+ const names = [tabName, title === tabName ? "" : title].filter(Boolean);
21481
+ const label = names.length ? `${names.join(" \u2014 ")} (${type})` : type;
21478
21482
  const body = content || `(this note has no content yet \u2014 nothing was returned for "${type}")`;
21479
21483
  sections.push(
21480
- opts.all ? `\u2500\u2500\u2500 note ${i + 1}/${selected.length} \xB7 ${type} \u2500\u2500\u2500
21484
+ opts.all ? `\u2500\u2500\u2500 note ${i + 1}/${selected.length} \xB7 ${label} \u2500\u2500\u2500
21481
21485
 
21482
21486
  ${body}` : body
21483
21487
  );
@@ -21802,7 +21806,7 @@ async function runWizard() {
21802
21806
  try {
21803
21807
  await initTelemetry({
21804
21808
  surface: "cli",
21805
- appVersion: "0.3.9"
21809
+ appVersion: "0.3.10"
21806
21810
  });
21807
21811
  } catch {
21808
21812
  }
@@ -21811,7 +21815,7 @@ async function notifyUpdate() {
21811
21815
  if (sub === "version" || sub === "update") return;
21812
21816
  if (process.env.PLAUD_NO_UPDATE_NOTIFIER) return;
21813
21817
  if (!process.stderr.isTTY) return;
21814
- const current = "0.3.9";
21818
+ const current = "0.3.10";
21815
21819
  if (current === "0.0.0") return;
21816
21820
  try {
21817
21821
  const newer = await checkForUpdate(current);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaud-ai/cli",
3
- "version": "0.3.9",
3
+ "version": "0.3.10",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "plaud": "dist/index.js"