@dosu/cli 0.29.0 → 0.29.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.
- package/bin/dosu.js +8 -4
- 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.29.
|
|
4580
|
+
var VERSION = "0.29.1", INSTALL_CHANNEL = "npm";
|
|
4581
4581
|
|
|
4582
4582
|
// src/debug/logger.ts
|
|
4583
4583
|
import {
|
|
@@ -4711,7 +4711,7 @@ var init_logger = __esm(() => {
|
|
|
4711
4711
|
});
|
|
4712
4712
|
|
|
4713
4713
|
// src/client/contract.ts
|
|
4714
|
-
var CLI_CONTRACT_HASH = "
|
|
4714
|
+
var CLI_CONTRACT_HASH = "8d9ba113842a";
|
|
4715
4715
|
|
|
4716
4716
|
// src/client/trpc.ts
|
|
4717
4717
|
var exports_trpc = {};
|
|
@@ -15787,12 +15787,13 @@ function reviewCommand() {
|
|
|
15787
15787
|
}
|
|
15788
15788
|
const client = createTypedClient(cfg);
|
|
15789
15789
|
const ksId = await getKnowledgeStoreId2(client, cfg.space_id);
|
|
15790
|
-
const
|
|
15790
|
+
const result = await client.review.listPending.query({
|
|
15791
15791
|
knowledgeStoreId: ksId,
|
|
15792
15792
|
deploymentId: cfg.deployment_id
|
|
15793
15793
|
});
|
|
15794
|
+
const { items, truncated, total } = result;
|
|
15794
15795
|
if (opts.json) {
|
|
15795
|
-
printResult(
|
|
15796
|
+
printResult(result, opts);
|
|
15796
15797
|
return;
|
|
15797
15798
|
}
|
|
15798
15799
|
if (!items || items.length === 0) {
|
|
@@ -15814,6 +15815,9 @@ function reviewCommand() {
|
|
|
15814
15815
|
i2.pendingStatus,
|
|
15815
15816
|
formatDate(i2.createdAt)
|
|
15816
15817
|
]), { rawData: items });
|
|
15818
|
+
if (truncated) {
|
|
15819
|
+
console.log(import_picocolors20.default.dim(`Showing ${items.length} of ${total}+ pending items (list truncated).`));
|
|
15820
|
+
}
|
|
15817
15821
|
});
|
|
15818
15822
|
cmd.command("diff").description("Show a pending review item (doc-change diff or draft reply body)").argument("<id>", "Review item ID (from `dosu review list`)").option("--json", "Output as JSON").action(async (id, opts) => {
|
|
15819
15823
|
const cfg = requireConfig10();
|