@blogic-cz/agent-tools 0.14.51 → 0.14.53

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blogic-cz/agent-tools",
3
- "version": "0.14.51",
3
+ "version": "0.14.53",
4
4
  "description": "CLI tools for AI coding agent workflows — GitHub, database, Kubernetes, Azure DevOps, logs, sessions, and audit",
5
5
  "keywords": [
6
6
  "agent",
@@ -437,14 +437,16 @@ export const fetchReviews = Effect.fn("pr.fetchReviews")(function* (
437
437
  "Failed to parse response",
438
438
  );
439
439
 
440
- let reviews: PullRequestReview[] = raw.map((review) => ({
441
- id: review.id,
442
- author: review.user?.login ?? "unknown",
443
- state: review.state,
444
- body: review.body ?? "",
445
- submittedAt: (review.submitted_at ?? null) as IsoTimestamp | null,
446
- url: review.html_url,
447
- }));
440
+ let reviews: PullRequestReview[] = raw
441
+ .map((review) => ({
442
+ id: review.id,
443
+ author: review.user?.login ?? "unknown",
444
+ state: review.state,
445
+ body: review.body ?? "",
446
+ submittedAt: (review.submitted_at ?? null) as IsoTimestamp | null,
447
+ url: review.html_url,
448
+ }))
449
+ .filter((review) => !(review.state === "COMMENTED" && review.body.trim() === ""));
448
450
 
449
451
  if (author !== null) {
450
452
  const authorFilter = author.toLowerCase();