@blogic-cz/agent-tools 0.14.21 → 0.14.22

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.21",
3
+ "version": "0.14.22",
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",
@@ -8,6 +8,7 @@ import type {
8
8
  MergeResult,
9
9
  MergeStrategy,
10
10
  PRInfo,
11
+ PRViewInfo,
11
12
  WorkflowRunDetail,
12
13
  } from "#gh/types";
13
14
 
@@ -243,9 +244,9 @@ export const viewPR = Effect.fn("pr.viewPR")(function* (prNumber: number | null)
243
244
  if (prNumber !== null) {
244
245
  args.push(String(prNumber));
245
246
  }
246
- args.push("--json", "number,url,title,headRefName,baseRefName,state,isDraft,mergeable");
247
+ args.push("--json", "number,url,title,headRefName,baseRefName,state,isDraft,mergeable,body");
247
248
 
248
- const info = yield* gh.runGhJson<PRInfo>(args);
249
+ const info = yield* gh.runGhJson<PRViewInfo>(args);
249
250
  return info;
250
251
  });
251
252
 
@@ -13,6 +13,10 @@ export type PRInfo = {
13
13
  mergeable: "MERGEABLE" | "CONFLICTING" | "UNKNOWN";
14
14
  };
15
15
 
16
+ export type PRViewInfo = PRInfo & {
17
+ body: string;
18
+ };
19
+
16
20
  export type ReviewThread = {
17
21
  threadId: string;
18
22
  commentId: number;