@dosu/cli 0.23.0 → 0.23.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.
Files changed (2) hide show
  1. package/bin/dosu.js +8 -7
  2. package/package.json +2 -2
package/bin/dosu.js CHANGED
@@ -4577,7 +4577,7 @@ var init_dist4 = __esm(() => {
4577
4577
  function getVersionString() {
4578
4578
  return `v${VERSION}`;
4579
4579
  }
4580
- var VERSION = "0.23.0", INSTALL_CHANNEL = "npm";
4580
+ var VERSION = "0.23.1", INSTALL_CHANNEL = "npm";
4581
4581
 
4582
4582
  // src/debug/logger.ts
4583
4583
  import {
@@ -15300,8 +15300,9 @@ function reviewCommand() {
15300
15300
  console.log(import_picocolors18.default.dim("No pending review items."));
15301
15301
  return;
15302
15302
  }
15303
- printTable(["Version ID", "Title", "Source", "Status", "Created"], items.map((i2) => [
15304
- i2.pageVersionId.slice(0, 8),
15303
+ printTable(["ID", "Kind", "Title", "Source", "Status", "Created"], items.map((i2) => [
15304
+ i2.id.slice(0, 8),
15305
+ i2.kind,
15305
15306
  truncate(i2.title ?? "(untitled)", 40),
15306
15307
  humanizeSource(i2.origin, i2.version),
15307
15308
  i2.pendingStatus,
@@ -15339,18 +15340,18 @@ function reviewCommand() {
15339
15340
  }
15340
15341
  ];
15341
15342
  for (const { name, action, description } of actions) {
15342
- cmd.command(name).description(description).argument("<page-version-id>", "Page version ID").option("--json", "Output as JSON").action(async (pageVersionId, opts) => {
15343
+ cmd.command(name).description(description).argument("<id>", "Review item ID (from `dosu review list`)").option("--json", "Output as JSON").action(async (id, opts) => {
15343
15344
  const cfg = requireConfig9();
15344
15345
  const client = createTypedClient(cfg);
15345
15346
  await client.page.updatePublicationStatus.mutate({
15346
- page_version_id: pageVersionId,
15347
+ page_version_id: id,
15347
15348
  action
15348
15349
  });
15349
15350
  if (opts.json) {
15350
- printResult({ success: true, page_version_id: pageVersionId, action }, opts);
15351
+ printResult({ success: true, id, action }, opts);
15351
15352
  return;
15352
15353
  }
15353
- console.log(import_picocolors18.default.green(`Review ${name}: ${pageVersionId.slice(0, 8)}`));
15354
+ console.log(import_picocolors18.default.green(`Review ${name}: ${id.slice(0, 8)}`));
15354
15355
  });
15355
15356
  }
15356
15357
  return cmd;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosu/cli",
3
- "version": "0.23.0",
3
+ "version": "0.23.1",
4
4
  "type": "module",
5
5
  "description": "Dosu CLI - Manage MCP servers for AI tools",
6
6
  "license": "MIT",
@@ -37,7 +37,7 @@
37
37
  "devDependencies": {
38
38
  "@biomejs/biome": "^2.5.0",
39
39
  "@clack/prompts": "^1.6.0",
40
- "@dosu/api-types": "0.0.24",
40
+ "@dosu/api-types": "0.0.33",
41
41
  "@semantic-release/changelog": "^6.0.3",
42
42
  "@semantic-release/exec": "^7.1.0",
43
43
  "@semantic-release/git": "^10.0.1",