@blogic-cz/agent-tools 0.14.35 → 0.14.36

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.35",
3
+ "version": "0.14.36",
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",
@@ -244,7 +244,10 @@ export const viewPR = Effect.fn("pr.viewPR")(function* (prNumber: number | null)
244
244
  if (prNumber !== null) {
245
245
  args.push(String(prNumber));
246
246
  }
247
- args.push("--json", "number,url,title,headRefName,baseRefName,state,isDraft,mergeable,body");
247
+ args.push(
248
+ "--json",
249
+ "number,url,title,headRefName,baseRefName,state,isDraft,mergeable,body,reviewDecision,reviewRequests",
250
+ );
248
251
 
249
252
  const info = yield* gh.runGhJson<PRViewInfo>(args);
250
253
  return info;
@@ -13,8 +13,14 @@ export type PRInfo = {
13
13
  mergeable: "MERGEABLE" | "CONFLICTING" | "UNKNOWN";
14
14
  };
15
15
 
16
+ export type ReviewRequest =
17
+ | { __typename: "User"; login: string }
18
+ | { __typename: "Team"; name: string; slug: string };
19
+
16
20
  export type PRViewInfo = PRInfo & {
17
21
  body: string;
22
+ reviewDecision: "APPROVED" | "CHANGES_REQUESTED" | "REVIEW_REQUIRED" | "";
23
+ reviewRequests: ReviewRequest[];
18
24
  };
19
25
 
20
26
  export type ReviewThread = {