@blogic-cz/agent-tools 1.4.0 → 1.4.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.
@@ -7,12 +7,12 @@ export declare const renameBranch: (opts: {
7
7
  newName: string;
8
8
  confirm: boolean;
9
9
  repo: string | null;
10
- }) => Effect.Effect<BranchRenameResult, import("./errors").GitHubCommandError | import("./errors").GitHubNotFoundError | import("./errors").GitHubAuthError, GitHubService>;
10
+ }) => Effect.Effect<BranchRenameResult, import("./service").GhError, GitHubService>;
11
11
  export declare const branchRenameCommand: Command.Command<"rename", {
12
12
  readonly confirm: boolean;
13
13
  readonly format: "json" | "toon";
14
14
  readonly newName: string;
15
15
  readonly oldName: string;
16
16
  readonly repo: Option.Option<string>;
17
- }, {}, import("./errors").GitHubCommandError | import("./errors").GitHubNotFoundError | import("./errors").GitHubAuthError, GitHubService>;
17
+ }, {}, import("./service").GhError, GitHubService>;
18
18
  //# sourceMappingURL=branch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"branch.d.ts","sourceRoot":"","sources":["../../src/gh-tool/branch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAQ,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAGxC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAM1C,eAAO,MAAM,YAAY;aACd,MAAM;aACN,MAAM;aACN,OAAO;UACV,MAAM,GAAG,IAAI;2KAyCnB,CAAC;AAMH,eAAO,MAAM,mBAAmB;;;;;;0IA4B/B,CAAC"}
1
+ {"version":3,"file":"branch.d.ts","sourceRoot":"","sources":["../../src/gh-tool/branch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAQ,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAGxC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAM1C,eAAO,MAAM,YAAY;aACd,MAAM;aACN,MAAM;aACN,OAAO;UACV,MAAM,GAAG,IAAI;mFAyCnB,CAAC;AAMH,eAAO,MAAM,mBAAmB;;;;;;kDA4B/B,CAAC"}
@@ -62,18 +62,18 @@ export declare const createGist: (opts: {
62
62
  paths: string[];
63
63
  description: string | null;
64
64
  public: boolean;
65
- }) => Effect.Effect<GistCreateResult, GitHubCommandError | import("./errors").GitHubNotFoundError | import("./errors").GitHubAuthError, GitHubService>;
65
+ }) => Effect.Effect<GistCreateResult, import("./service").GhError, GitHubService>;
66
66
  export declare const gistListCommand: Command.Command<"list", {
67
67
  readonly format: "json" | "toon";
68
68
  readonly limit: number;
69
69
  readonly visibility: Option.Option<"public" | "secret">;
70
- }, {}, GitHubCommandError | import("./errors").GitHubNotFoundError | import("./errors").GitHubAuthError, GitHubService>;
70
+ }, {}, import("./service").GhError, GitHubService>;
71
71
  export declare const gistViewCommand: Command.Command<"view", {
72
72
  readonly filename: Option.Option<string>;
73
73
  readonly format: "json" | "toon";
74
74
  readonly id: string;
75
75
  readonly metadataOnly: boolean;
76
- }, {}, GitHubCommandError | import("./errors").GitHubNotFoundError | import("./errors").GitHubAuthError, GitHubService>;
76
+ }, {}, import("./service").GhError, GitHubService>;
77
77
  export declare const gistCreateCommand: Command.Command<"create", {
78
78
  readonly body: Option.Option<string>;
79
79
  readonly bodyFile: Option.Option<string>;
@@ -82,7 +82,7 @@ export declare const gistCreateCommand: Command.Command<"create", {
82
82
  readonly files: Option.Option<string>;
83
83
  readonly format: "json" | "toon";
84
84
  readonly public: boolean;
85
- }, {}, GitHubCommandError | import("./errors").GitHubNotFoundError | import("./errors").GitHubAuthError, GitHubService>;
85
+ }, {}, import("./service").GhError, GitHubService>;
86
86
  export declare const gistEditCommand: Command.Command<"edit", {
87
87
  readonly add: Option.Option<string>;
88
88
  readonly body: Option.Option<string>;
@@ -92,11 +92,11 @@ export declare const gistEditCommand: Command.Command<"edit", {
92
92
  readonly format: "json" | "toon";
93
93
  readonly id: string;
94
94
  readonly remove: Option.Option<string>;
95
- }, {}, GitHubCommandError | import("./errors").GitHubNotFoundError | import("./errors").GitHubAuthError, GitHubService>;
95
+ }, {}, import("./service").GhError, GitHubService>;
96
96
  export declare const gistDeleteCommand: Command.Command<"delete", {
97
97
  readonly confirm: boolean;
98
98
  readonly format: "json" | "toon";
99
99
  readonly id: string;
100
- }, {}, GitHubCommandError | import("./errors").GitHubNotFoundError | import("./errors").GitHubAuthError, GitHubService>;
100
+ }, {}, import("./service").GhError, GitHubService>;
101
101
  export {};
102
102
  //# sourceMappingURL=gist.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"gist.d.ts","sourceRoot":"","sources":["../../src/gh-tool/gist.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAQ,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAKxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAO1C,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,OAAO,GAAG;IACb,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IAC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AG,IASvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,MAAM;IACtC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,KAAG,kBAAkB,GAAG,IAgBxB,CAAC;AAkCF,eAAO,MAAM,UAAU;WACd,MAAM,EAAE;iBACF,MAAM,GAAG,IAAI;YAClB,OAAO;iFAqCf,CAAC;AAuEH,eAAO,MAAM,eAAe;;;;kDAqBgE,CAAC;AAE7F,eAAO,MAAM,eAAe;;;;;kDAwBqC,CAAC;AAElE,eAAO,MAAM,iBAAiB;;;;;;;;kDA0EmE,CAAC;AAElG,eAAO,MAAM,eAAe;;;;;;;;;kDAiFmE,CAAC;AAEhG,eAAO,MAAM,iBAAiB;;;;kDAgBiE,CAAC"}
@@ -7,12 +7,12 @@ export declare const issueListCommand: Command.Command<"list", {
7
7
  readonly limit: number;
8
8
  readonly repo: Option.Option<string>;
9
9
  readonly state: "open" | "closed" | "all";
10
- }, {}, import("../errors").GitHubCommandError | import("../errors").GitHubNotFoundError | import("../errors").GitHubAuthError, GitHubService>;
10
+ }, {}, import("#gh/service").GhError, GitHubService>;
11
11
  export declare const issueViewCommand: Command.Command<"view", {
12
12
  readonly format: "json" | "toon";
13
13
  readonly issue: number;
14
14
  readonly repo: Option.Option<string>;
15
- }, {}, import("../errors").GitHubCommandError | import("../errors").GitHubNotFoundError | import("../errors").GitHubAuthError, GitHubService>;
15
+ }, {}, import("#gh/service").GhError, GitHubService>;
16
16
  export declare const issueCommentsCommand: Command.Command<"comments", {
17
17
  readonly author: Option.Option<string>;
18
18
  readonly bodyContains: Option.Option<string>;
@@ -20,7 +20,7 @@ export declare const issueCommentsCommand: Command.Command<"comments", {
20
20
  readonly issue: number;
21
21
  readonly repo: Option.Option<string>;
22
22
  readonly since: Option.Option<string>;
23
- }, {}, import("../errors").GitHubCommandError | import("../errors").GitHubNotFoundError | import("../errors").GitHubAuthError, GitHubService>;
23
+ }, {}, import("#gh/service").GhError, GitHubService>;
24
24
  export declare const issueCloseCommand: Command.Command<"close", {
25
25
  readonly comment: Option.Option<string>;
26
26
  readonly commentFile: Option.Option<string>;
@@ -28,14 +28,14 @@ export declare const issueCloseCommand: Command.Command<"close", {
28
28
  readonly issue: number;
29
29
  readonly repo: Option.Option<string>;
30
30
  readonly reason: "completed" | "not planned";
31
- }, {}, import("../errors").GitHubCommandError | import("../errors").GitHubNotFoundError | import("../errors").GitHubAuthError, GitHubService>;
31
+ }, {}, import("#gh/service").GhError, GitHubService>;
32
32
  export declare const issueReopenCommand: Command.Command<"reopen", {
33
33
  readonly comment: Option.Option<string>;
34
34
  readonly commentFile: Option.Option<string>;
35
35
  readonly format: "json" | "toon";
36
36
  readonly issue: number;
37
37
  readonly repo: Option.Option<string>;
38
- }, {}, import("../errors").GitHubCommandError | import("../errors").GitHubNotFoundError | import("../errors").GitHubAuthError, GitHubService>;
38
+ }, {}, import("#gh/service").GhError, GitHubService>;
39
39
  export declare const issueCreateCommand: Command.Command<"create", {
40
40
  readonly assignee: Option.Option<string>;
41
41
  readonly body: Option.Option<string>;
@@ -45,14 +45,14 @@ export declare const issueCreateCommand: Command.Command<"create", {
45
45
  readonly labels: Option.Option<string>;
46
46
  readonly repo: Option.Option<string>;
47
47
  readonly title: string;
48
- }, {}, import("../errors").GitHubCommandError | import("../errors").GitHubNotFoundError | import("../errors").GitHubAuthError, GitHubService>;
48
+ }, {}, import("#gh/service").GhError, GitHubService>;
49
49
  export declare const issueCommentCommand: Command.Command<"comment", {
50
50
  readonly body: Option.Option<string>;
51
51
  readonly bodyFile: Option.Option<string>;
52
52
  readonly format: "json" | "toon";
53
53
  readonly issue: number;
54
54
  readonly repo: Option.Option<string>;
55
- }, {}, import("../errors").GitHubCommandError | import("../errors").GitHubNotFoundError | import("../errors").GitHubAuthError, GitHubService>;
55
+ }, {}, import("#gh/service").GhError, GitHubService>;
56
56
  export declare const issueEditCommand: Command.Command<"edit", {
57
57
  readonly addAssignee: Option.Option<string>;
58
58
  readonly addLabels: Option.Option<string>;
@@ -64,5 +64,5 @@ export declare const issueEditCommand: Command.Command<"edit", {
64
64
  readonly removeAssignee: Option.Option<string>;
65
65
  readonly removeLabels: Option.Option<string>;
66
66
  readonly title: Option.Option<string>;
67
- }, {}, import("../errors").GitHubCommandError | import("../errors").GitHubNotFoundError | import("../errors").GitHubAuthError, GitHubService>;
67
+ }, {}, import("#gh/service").GhError, GitHubService>;
68
68
  //# sourceMappingURL=commands.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../src/gh-tool/issue/commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAQ,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAU,MAAM,EAAE,MAAM,QAAQ,CAAC;AAmBxC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAa5C,eAAO,MAAM,gBAAgB;;;;;;6IA8BwD,CAAC;AAEtF,eAAO,MAAM,gBAAgB;;;;6IAmB5B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;6IAgCiC,CAAC;AAEnE,eAAO,MAAM,iBAAiB;;;;;;;6IAwCoD,CAAC;AAEnF,eAAO,MAAM,kBAAkB;;;;;;6IAmCyB,CAAC;AAEzD,eAAO,MAAM,kBAAkB;;;;;;;;;6IAiDsB,CAAC;AAEtD,eAAO,MAAM,mBAAmB;;;;;;6IA6B6B,CAAC;AAE9D,eAAO,MAAM,gBAAgB;;;;;;;;;;;6IAiEkD,CAAC"}
1
+ {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../src/gh-tool/issue/commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAQ,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAU,MAAM,EAAE,MAAM,QAAQ,CAAC;AAmBxC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAa5C,eAAO,MAAM,gBAAgB;;;;;;oDA8BwD,CAAC;AAEtF,eAAO,MAAM,gBAAgB;;;;oDAmB5B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;oDAgCiC,CAAC;AAEnE,eAAO,MAAM,iBAAiB;;;;;;;oDAwCoD,CAAC;AAEnF,eAAO,MAAM,kBAAkB;;;;;;oDAmCyB,CAAC;AAEzD,eAAO,MAAM,kBAAkB;;;;;;;;;oDAiDsB,CAAC;AAEtD,eAAO,MAAM,mBAAmB;;;;;;oDA6B6B,CAAC;AAE9D,eAAO,MAAM,gBAAgB;;;;;;;;;;;oDAiEkD,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import { Effect } from "effect";
2
2
  import type { IssueComment } from "#gh/types";
3
- import { GitHubCommandError } from "#gh/errors";
4
3
  import { GitHubService } from "#gh/service";
5
4
  export type IssueInfo = {
6
5
  number: number;
@@ -42,18 +41,18 @@ export declare const listIssues: (opts: {
42
41
  state: string;
43
42
  labels: string | null;
44
43
  limit: number;
45
- }) => Effect.Effect<IssueListItem[], GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
46
- export declare const viewIssue: (issueNumber: number) => Effect.Effect<IssueInfo, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
47
- export declare const fetchIssueComments: (issueNumber: number, since: string | null, author: string | null, bodyContains: string | null) => Effect.Effect<IssueComment[], GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
44
+ }) => Effect.Effect<IssueListItem[], import("#gh/service").GhError, GitHubService>;
45
+ export declare const viewIssue: (issueNumber: number) => Effect.Effect<IssueInfo, import("#gh/service").GhError, GitHubService>;
46
+ export declare const fetchIssueComments: (issueNumber: number, since: string | null, author: string | null, bodyContains: string | null) => Effect.Effect<IssueComment[], import("#gh/service").GhError, GitHubService>;
48
47
  export declare const closeIssue: (opts: {
49
48
  issue: number;
50
49
  comment: string | null;
51
50
  reason: string;
52
- }) => Effect.Effect<IssueInfo, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
51
+ }) => Effect.Effect<IssueInfo, import("#gh/service").GhError, GitHubService>;
53
52
  export declare const reopenIssue: (opts: {
54
53
  issue: number;
55
54
  comment: string | null;
56
- }) => Effect.Effect<IssueInfo, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
55
+ }) => Effect.Effect<IssueInfo, import("#gh/service").GhError, GitHubService>;
57
56
  export declare const commentOnIssue: (opts: {
58
57
  issue: number;
59
58
  body: string;
@@ -63,13 +62,13 @@ export declare const commentOnIssue: (opts: {
63
62
  body: string;
64
63
  createdAt: string;
65
64
  url: string;
66
- }, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
65
+ }, import("#gh/service").GhError, GitHubService>;
67
66
  export declare const createIssue: (opts: {
68
67
  title: string;
69
68
  body: string;
70
69
  assignee: string | null;
71
70
  labels: string | null;
72
- }) => Effect.Effect<IssueInfo, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
71
+ }) => Effect.Effect<IssueInfo, import("#gh/service").GhError, GitHubService>;
73
72
  export declare const editIssue: (opts: {
74
73
  issue: number;
75
74
  title: string | null;
@@ -78,5 +77,5 @@ export declare const editIssue: (opts: {
78
77
  removeLabels: string | null;
79
78
  addAssignee: string | null;
80
79
  removeAssignee: string | null;
81
- }) => Effect.Effect<IssueInfo, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
80
+ }) => Effect.Effect<IssueInfo, import("#gh/service").GhError, GitHubService>;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AAI;UACd,MAAM,GAAG,IAAI;eACR,MAAM,GAAG,IAAI;kBACV,MAAM,GAAG,IAAI;iBACd,MAAM,GAAG,IAAI;oBACV,MAAM,GAAG,IAAI;4EAkC7B,CAAC"}
@@ -60,7 +60,7 @@ type IssueSnapshot = {
60
60
  export declare const fetchIssueTriage: (opts: {
61
61
  issue: number;
62
62
  verbosity: TriageVerbosity;
63
- }) => Effect.Effect<CompactIssueTriage | FullIssueTriage, import("../errors").GitHubCommandError | import("../errors").GitHubNotFoundError | import("../errors").GitHubAuthError, GitHubService>;
63
+ }) => Effect.Effect<CompactIssueTriage | FullIssueTriage, import("#gh/service").GhError, GitHubService>;
64
64
  export declare const parseIssueNumbers: (input: string) => readonly number[];
65
65
  export declare const collectLinkedPullRequestNumbers: (body: string, comments: readonly {
66
66
  readonly body: string;
@@ -68,22 +68,22 @@ export declare const collectLinkedPullRequestNumbers: (body: string, comments: r
68
68
  export declare const fetchIssueSnapshot: (opts: {
69
69
  issue: number;
70
70
  owner: string | null;
71
- }) => Effect.Effect<IssueSnapshot, import("../errors").GitHubCommandError | import("../errors").GitHubNotFoundError | import("../errors").GitHubAuthError, GitHubService>;
71
+ }) => Effect.Effect<IssueSnapshot, import("#gh/service").GhError, GitHubService>;
72
72
  export declare const fetchIssueSnapshotBatch: (opts: {
73
73
  issues: readonly number[];
74
74
  owner: string | null;
75
- }) => Effect.Effect<IssueSnapshot[], import("../errors").GitHubCommandError | import("../errors").GitHubNotFoundError | import("../errors").GitHubAuthError, GitHubService>;
75
+ }) => Effect.Effect<IssueSnapshot[], import("#gh/service").GhError, GitHubService>;
76
76
  export declare const issueTriageCommand: Command.Command<"triage", {
77
77
  readonly format: "json" | "toon";
78
78
  readonly issue: number;
79
79
  readonly repo: Option.Option<string>;
80
80
  readonly verbosity: "full" | "compact";
81
- }, {}, import("../errors").GitHubCommandError | import("../errors").GitHubNotFoundError | import("../errors").GitHubAuthError, GitHubService>;
81
+ }, {}, import("#gh/service").GhError, GitHubService>;
82
82
  export declare const issueSnapshotBatchCommand: Command.Command<"snapshot-batch", {
83
83
  readonly format: "json" | "toon";
84
84
  readonly issues: string;
85
85
  readonly owner: Option.Option<string>;
86
86
  readonly repo: Option.Option<string>;
87
- }, {}, import("../errors").GitHubCommandError | import("../errors").GitHubNotFoundError | import("../errors").GitHubAuthError, GitHubService>;
87
+ }, {}, import("#gh/service").GhError, GitHubService>;
88
88
  export {};
89
89
  //# sourceMappingURL=triage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"triage.d.ts","sourceRoot":"","sources":["../../../src/gh-tool/issue/triage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAQ,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhD,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAGrF,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAgB5C,QAAA,MAAM,eAAe,+CAAuC,CAAC;AAC7D,KAAK,eAAe,GAAG,OAAO,eAAe,CAAC,IAAI,CAAC;AAenD,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,WAAW,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,YAAY,GAAG,IAAI,CAAC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ef
10
10
  newlyRequested: string[];
11
11
  alreadyPending: string[];
12
12
  requestedReviewers: string[];
13
- }, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
13
+ }, import("#gh/service").GhError, GitHubService>;
14
14
  type ReviewTriageSummary = {
15
15
  readonly visibleOpenReviewThreadsCount: number;
16
16
  readonly unrepliedReviewThreadsCount: number;
@@ -22,15 +22,15 @@ type ReviewTriageClassification = {
22
22
  };
23
23
  export declare const classifyReviewTriage: (summary: ReviewTriageSummary, checks: readonly CheckResult[]) => ReviewTriageClassification;
24
24
  export declare const parsePrNumbers: (input: string) => Effect.Effect<readonly number[], GitHubCommandError>;
25
- export declare const fetchCurrentThreads: (pr: number | null, unresolvedOnly: boolean, visibleOpenOnly: boolean) => Effect.Effect<import("#gh/types").ReviewThread[], GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
26
- export declare const fetchCurrentComments: (pr: number | null, since: string | null) => Effect.Effect<import("#gh/types").ReviewComment[], GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
27
- export declare const fetchCurrentReviews: (pr: number | null, author: string | null, bodyContains: string | null, state: string | null) => Effect.Effect<import("#gh/types").PullRequestReview[], GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
25
+ export declare const fetchCurrentThreads: (pr: number | null, unresolvedOnly: boolean, visibleOpenOnly: boolean) => Effect.Effect<import("#gh/types").ReviewThread[], import("#gh/service").GhError, GitHubService>;
26
+ export declare const fetchCurrentComments: (pr: number | null, since: string | null) => Effect.Effect<import("#gh/types").ReviewComment[], import("#gh/service").GhError, GitHubService>;
27
+ export declare const fetchCurrentReviews: (pr: number | null, author: string | null, bodyContains: string | null, state: string | null) => Effect.Effect<import("#gh/types").PullRequestReview[], import("#gh/service").GhError, GitHubService>;
28
28
  export declare const fetchCurrentFeedback: (pr: number | null) => Effect.Effect<{
29
29
  reviews: import("#gh/types").PullRequestReview[];
30
30
  threads: import("#gh/types").ReviewThread[];
31
31
  inlineComments: import("#gh/types").ReviewComment[];
32
32
  issueComments: import("#gh/types").IssueComment[];
33
- }, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
33
+ }, import("#gh/service").GhError, GitHubService>;
34
34
  export declare const trimNoisyBody: (body: string) => string;
35
35
  export declare const FEEDBACK_FILTERS: readonly ["all", "visible-open", "needs-human-reply", "current-head"];
36
36
  export type FeedbackFilter = (typeof FEEDBACK_FILTERS)[number];
@@ -159,13 +159,13 @@ export declare const fetchReviewTriage: (prNumber: number | null, format?: "json
159
159
  unknown: number;
160
160
  };
161
161
  };
162
- }, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
162
+ }, import("#gh/service").GhError, GitHubService>;
163
163
  export declare const prViewCommand: Command.Command<"view", {
164
164
  readonly format: "json" | "toon";
165
165
  readonly pr: Option.Option<number>;
166
166
  readonly prs: Option.Option<string>;
167
167
  readonly repo: Option.Option<string>;
168
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
168
+ }, {}, import("#gh/service").GhError, GitHubService>;
169
169
  export declare const prStatusCommand: Command.Command<"status", {
170
170
  readonly format: "json" | "toon";
171
171
  readonly repo: Option.Option<string>;
@@ -179,13 +179,13 @@ export declare const prListCommand: Command.Command<"list", {
179
179
  readonly search: Option.Option<string>;
180
180
  readonly limit: number;
181
181
  readonly repo: Option.Option<string>;
182
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
182
+ }, {}, import("#gh/service").GhError, GitHubService>;
183
183
  export declare const prWaitMergeableCommand: Command.Command<"wait-mergeable", {
184
184
  readonly format: "json" | "toon";
185
185
  readonly pr: Option.Option<number>;
186
186
  readonly timeout: number;
187
187
  readonly repo: Option.Option<string>;
188
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
188
+ }, {}, import("#gh/service").GhError, GitHubService>;
189
189
  export declare const prCreateCommand: Command.Command<"create", {
190
190
  readonly base: Option.Option<string>;
191
191
  readonly body: Option.Option<string>;
@@ -196,7 +196,7 @@ export declare const prCreateCommand: Command.Command<"create", {
196
196
  readonly head: Option.Option<string>;
197
197
  readonly repo: Option.Option<string>;
198
198
  readonly title: string;
199
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
199
+ }, {}, import("#gh/service").GhError, GitHubService>;
200
200
  export declare const prEditCommand: Command.Command<"edit", {
201
201
  readonly base: Option.Option<string>;
202
202
  readonly body: Option.Option<string>;
@@ -206,7 +206,7 @@ export declare const prEditCommand: Command.Command<"edit", {
206
206
  readonly pr: number;
207
207
  readonly repo: Option.Option<string>;
208
208
  readonly title: Option.Option<string>;
209
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
209
+ }, {}, import("#gh/service").GhError, GitHubService>;
210
210
  export declare const prCloseCommand: Command.Command<"close", {
211
211
  readonly comment: Option.Option<string>;
212
212
  readonly commentFile: Option.Option<string>;
@@ -214,7 +214,7 @@ export declare const prCloseCommand: Command.Command<"close", {
214
214
  readonly format: "json" | "toon";
215
215
  readonly pr: number;
216
216
  readonly repo: Option.Option<string>;
217
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
217
+ }, {}, import("#gh/service").GhError, GitHubService>;
218
218
  export declare const prMergeCommand: Command.Command<"merge", {
219
219
  readonly confirm: boolean;
220
220
  readonly deleteBranch: boolean;
@@ -222,12 +222,12 @@ export declare const prMergeCommand: Command.Command<"merge", {
222
222
  readonly pr: number;
223
223
  readonly repo: Option.Option<string>;
224
224
  readonly strategy: "squash" | "merge" | "rebase";
225
- }, {}, import("#gh/errors").GitHubMergeError | (GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError), GitHubService>;
225
+ }, {}, import("#gh/errors").GitHubMergeError | import("#gh/service").GhError, GitHubService>;
226
226
  export declare const prReadyCommand: Command.Command<"ready", {
227
227
  readonly format: "json" | "toon";
228
228
  readonly pr: Option.Option<number>;
229
229
  readonly repo: Option.Option<string>;
230
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
230
+ }, {}, import("#gh/service").GhError, GitHubService>;
231
231
  export declare const prChecksCommand: Command.Command<"checks", {
232
232
  readonly failFast: boolean;
233
233
  readonly format: "json" | "toon";
@@ -242,7 +242,7 @@ export declare const prChecksFailedCommand: Command.Command<"checks-failed", {
242
242
  readonly pr: Option.Option<number>;
243
243
  readonly repo: Option.Option<string>;
244
244
  readonly withLogs: boolean;
245
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
245
+ }, {}, import("#gh/service").GhError, GitHubService>;
246
246
  export declare const prWatchCommand: Command.Command<"watch", {
247
247
  readonly prs: string;
248
248
  readonly until: "terminal";
@@ -250,7 +250,7 @@ export declare const prWatchCommand: Command.Command<"watch", {
250
250
  readonly interval: number;
251
251
  readonly timeout: number;
252
252
  readonly repo: Option.Option<string>;
253
- }, {}, "timeout" | (GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError), GitHubService>;
253
+ }, {}, "timeout" | import("#gh/service").GhError, GitHubService>;
254
254
  export declare const prRerunChecksCommand: Command.Command<"rerun-checks", {
255
255
  readonly format: "json" | "toon";
256
256
  readonly pr: Option.Option<number>;
@@ -258,32 +258,32 @@ export declare const prRerunChecksCommand: Command.Command<"rerun-checks", {
258
258
  readonly failedOnly: boolean;
259
259
  readonly watch: boolean;
260
260
  readonly timeout: number;
261
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
261
+ }, {}, import("#gh/service").GhError, GitHubService>;
262
262
  export declare const prTriggerChecksCommand: Command.Command<"trigger-checks", {
263
263
  readonly field: readonly string[];
264
264
  readonly format: "json" | "toon";
265
265
  readonly pr: Option.Option<number>;
266
266
  readonly repo: Option.Option<string>;
267
267
  readonly workflow: string;
268
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
268
+ }, {}, import("#gh/service").GhError, GitHubService>;
269
269
  export declare const prThreadsCommand: Command.Command<"threads", {
270
270
  readonly format: "json" | "toon";
271
271
  readonly pr: Option.Option<number>;
272
272
  readonly repo: Option.Option<string>;
273
273
  readonly unresolvedOnly: boolean;
274
274
  readonly visibleOpenOnly: boolean;
275
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
275
+ }, {}, import("#gh/service").GhError, GitHubService>;
276
276
  export declare const prCommentsCommand: Command.Command<"comments", {
277
277
  readonly format: "json" | "toon";
278
278
  readonly pr: Option.Option<number>;
279
279
  readonly repo: Option.Option<string>;
280
280
  readonly since: Option.Option<string>;
281
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
281
+ }, {}, import("#gh/service").GhError, GitHubService>;
282
282
  export declare const prLastHumanReviewerCommand: Command.Command<"last-human-reviewer", {
283
283
  readonly format: "json" | "toon";
284
284
  readonly pr: Option.Option<number>;
285
285
  readonly repo: Option.Option<string>;
286
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
286
+ }, {}, import("#gh/service").GhError, GitHubService>;
287
287
  export declare const prReviewsCommand: Command.Command<"reviews", {
288
288
  readonly author: Option.Option<string>;
289
289
  readonly bodyContains: Option.Option<string>;
@@ -291,7 +291,7 @@ export declare const prReviewsCommand: Command.Command<"reviews", {
291
291
  readonly pr: Option.Option<number>;
292
292
  readonly repo: Option.Option<string>;
293
293
  readonly state: Option.Option<string>;
294
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
294
+ }, {}, import("#gh/service").GhError, GitHubService>;
295
295
  export declare const prFeedbackCommand: Command.Command<"feedback", {
296
296
  readonly excludeAuthors: Option.Option<string>;
297
297
  readonly format: "json" | "toon";
@@ -299,7 +299,7 @@ export declare const prFeedbackCommand: Command.Command<"feedback", {
299
299
  readonly pr: Option.Option<number>;
300
300
  readonly rawBodies: boolean;
301
301
  readonly repo: Option.Option<string>;
302
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
302
+ }, {}, import("#gh/service").GhError, GitHubService>;
303
303
  export declare const prIssueCommentsCommand: Command.Command<"issue-comments", {
304
304
  readonly author: Option.Option<string>;
305
305
  readonly bodyContains: Option.Option<string>;
@@ -307,26 +307,26 @@ export declare const prIssueCommentsCommand: Command.Command<"issue-comments", {
307
307
  readonly pr: Option.Option<number>;
308
308
  readonly repo: Option.Option<string>;
309
309
  readonly since: Option.Option<string>;
310
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
310
+ }, {}, import("#gh/service").GhError, GitHubService>;
311
311
  export declare const prIssueCommentsLatestCommand: Command.Command<"issue-comments-latest", {
312
312
  readonly author: Option.Option<string>;
313
313
  readonly bodyContains: Option.Option<string>;
314
314
  readonly format: "json" | "toon";
315
315
  readonly pr: Option.Option<number>;
316
316
  readonly repo: Option.Option<string>;
317
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
317
+ }, {}, import("#gh/service").GhError, GitHubService>;
318
318
  export declare const prCommentCommand: Command.Command<"comment", {
319
319
  readonly body: Option.Option<string>;
320
320
  readonly bodyFile: Option.Option<string>;
321
321
  readonly format: "json" | "toon";
322
322
  readonly pr: Option.Option<number>;
323
323
  readonly repo: Option.Option<string>;
324
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
324
+ }, {}, import("#gh/service").GhError, GitHubService>;
325
325
  export declare const prDiscussionSummaryCommand: Command.Command<"discussion-summary", {
326
326
  readonly format: "json" | "toon";
327
327
  readonly pr: Option.Option<number>;
328
328
  readonly repo: Option.Option<string>;
329
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
329
+ }, {}, import("#gh/service").GhError, GitHubService>;
330
330
  export declare const prReplyCommand: Command.Command<"reply", {
331
331
  readonly body: Option.Option<string>;
332
332
  readonly bodyFile: Option.Option<string>;
@@ -334,12 +334,12 @@ export declare const prReplyCommand: Command.Command<"reply", {
334
334
  readonly format: "json" | "toon";
335
335
  readonly pr: Option.Option<number>;
336
336
  readonly repo: Option.Option<string>;
337
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
337
+ }, {}, import("#gh/service").GhError, GitHubService>;
338
338
  export declare const prResolveCommand: Command.Command<"resolve", {
339
339
  readonly format: "json" | "toon";
340
340
  readonly threadId: string;
341
341
  readonly repo: Option.Option<string>;
342
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
342
+ }, {}, import("#gh/service").GhError, GitHubService>;
343
343
  export declare const prReviewCommand: Command.Command<"review", {
344
344
  readonly body: Option.Option<string>;
345
345
  readonly bodyFile: Option.Option<string>;
@@ -349,7 +349,7 @@ export declare const prReviewCommand: Command.Command<"review", {
349
349
  readonly format: "json" | "toon";
350
350
  readonly pr: Option.Option<number>;
351
351
  readonly repo: Option.Option<string>;
352
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
352
+ }, {}, import("#gh/service").GhError, GitHubService>;
353
353
  export declare const prSubmitReviewCommand: Command.Command<"submit-review", {
354
354
  readonly body: Option.Option<string>;
355
355
  readonly bodyFile: Option.Option<string>;
@@ -359,7 +359,7 @@ export declare const prSubmitReviewCommand: Command.Command<"submit-review", {
359
359
  readonly pr: Option.Option<number>;
360
360
  readonly repo: Option.Option<string>;
361
361
  readonly reviewId: Option.Option<string>;
362
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
362
+ }, {}, import("#gh/service").GhError, GitHubService>;
363
363
  export declare const OMITTABLE_TRIAGE_SECTIONS: readonly ["reviews", "inlineComments", "unresolvedThreads"];
364
364
  export type OmittableTriageSection = (typeof OMITTABLE_TRIAGE_SECTIONS)[number];
365
365
  export declare const omitTriageSections: <T extends Record<string, unknown>>(triage: T, omit: ReadonlyArray<string>) => T | (Partial<T> & {
@@ -370,18 +370,18 @@ export declare const prReviewTriageCommand: Command.Command<"review-triage", {
370
370
  readonly omit: Option.Option<string>;
371
371
  readonly pr: Option.Option<number>;
372
372
  readonly repo: Option.Option<string>;
373
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
373
+ }, {}, import("#gh/service").GhError, GitHubService>;
374
374
  export declare const prRequestReviewCommand: Command.Command<"request-review", {
375
375
  readonly format: "json" | "toon";
376
376
  readonly pr: number;
377
377
  readonly repo: Option.Option<string>;
378
378
  readonly reviewers: string;
379
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
379
+ }, {}, import("#gh/service").GhError, GitHubService>;
380
380
  export declare const prReviewTriageBatchCommand: Command.Command<"review-triage-batch", {
381
381
  readonly format: "json" | "toon";
382
382
  readonly prs: string;
383
383
  readonly repo: Option.Option<string>;
384
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
384
+ }, {}, import("#gh/service").GhError, GitHubService>;
385
385
  export declare const prReplyAndResolveCommand: Command.Command<"reply-and-resolve", {
386
386
  readonly body: Option.Option<string>;
387
387
  readonly bodyFile: Option.Option<string>;
@@ -390,7 +390,7 @@ export declare const prReplyAndResolveCommand: Command.Command<"reply-and-resolv
390
390
  readonly pr: Option.Option<number>;
391
391
  readonly repo: Option.Option<string>;
392
392
  readonly threadId: Option.Option<string>;
393
- }, {}, GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError, GitHubService>;
394
- export declare const prStackCommand: Command.Command<"stack", {} | {}, {}, import("#gh/errors").GitHubMergeError | (GitHubCommandError | import("#gh/errors").GitHubNotFoundError | import("#gh/errors").GitHubAuthError), GitHubService>;
393
+ }, {}, import("#gh/service").GhError, GitHubService>;
394
+ export declare const prStackCommand: Command.Command<"stack", {} | {}, {}, import("#gh/errors").GitHubMergeError | import("#gh/service").GhError, GitHubService>;
395
395
  export {};
396
396
  //# sourceMappingURL=commands.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../src/gh-tool/pr/commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAe,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAW,MAAM,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEjD,OAAO,KAAK,EAAE,WAAW,EAAkB,MAAM,WAAW,CAAC;AAG7D,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAgGhD,eAAO,MAAM,cAAc,GAAI,WAAW,MAAM,4FAM/C,CAAC;AAiCF,eAAO,MAAM,aAAa,GAAI,IAAI,MAAM,EAAE,WAAW,MAAM;;;;;;uHA6BvD,CAAC;AAEL,KAAK,mBAAmB,GAAG;IACzB,QA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