@dosu/cli 0.27.0 → 0.27.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 +12 -3
  2. package/package.json +1 -1
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.27.0", INSTALL_CHANNEL = "npm";
4580
+ var VERSION = "0.27.1", INSTALL_CHANNEL = "npm";
4581
4581
 
4582
4582
  // src/debug/logger.ts
4583
4583
  import {
@@ -15364,14 +15364,14 @@ function reviewCommand() {
15364
15364
  return;
15365
15365
  }
15366
15366
  printTable(["ID", "Kind", "Title", "Source", "Status", "Created"], items.map((i2) => i2.kind === "draft_message" ? [
15367
- i2.id.slice(0, 8),
15367
+ i2.id,
15368
15368
  i2.kind,
15369
15369
  truncate(i2.title || "(untitled)", 40),
15370
15370
  "Draft reply",
15371
15371
  "draft",
15372
15372
  formatDate(i2.createdAt)
15373
15373
  ] : [
15374
- i2.id.slice(0, 8),
15374
+ i2.id,
15375
15375
  i2.kind,
15376
15376
  truncate(i2.title ?? "(untitled)", 40),
15377
15377
  humanizeSource(i2.origin, i2.version),
@@ -16324,5 +16324,14 @@ async function execute() {
16324
16324
  process.on("SIGINT", () => process.exit(0));
16325
16325
  execute().catch((err) => {
16326
16326
  console.error(err.message ?? err);
16327
+ const data = err?.data;
16328
+ if (data && (data.code || data.path || data.httpStatus)) {
16329
+ const parts = [
16330
+ data.code && `code=${data.code}`,
16331
+ data.path && `path=${data.path}`,
16332
+ data.httpStatus && `status=${data.httpStatus}`
16333
+ ].filter(Boolean);
16334
+ console.error(parts.join(" "));
16335
+ }
16327
16336
  process.exit(1);
16328
16337
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosu/cli",
3
- "version": "0.27.0",
3
+ "version": "0.27.1",
4
4
  "type": "module",
5
5
  "description": "Dosu CLI - Manage MCP servers for AI tools",
6
6
  "license": "MIT",