@blogic-cz/agent-tools 1.9.0 → 1.10.0

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.
@@ -26,6 +26,9 @@ export type IssueListItem = {
26
26
  labels: Array<{
27
27
  name: string;
28
28
  }>;
29
+ assignees: Array<{
30
+ login: string;
31
+ }>;
29
32
  createdAt: string;
30
33
  };
31
34
  export type RawIssueComment = {
@@ -51,6 +54,9 @@ export declare const listIssues: (opts: {
51
54
  readonly labels: {
52
55
  readonly name: string;
53
56
  }[];
57
+ readonly assignees: {
58
+ readonly login: string;
59
+ }[];
54
60
  readonly createdAt: string;
55
61
  readonly body: string;
56
62
  } | {
@@ -62,6 +68,9 @@ export declare const listIssues: (opts: {
62
68
  readonly labels: {
63
69
  readonly name: string;
64
70
  }[];
71
+ readonly assignees: {
72
+ readonly login: string;
73
+ }[];
65
74
  readonly createdAt: string;
66
75
  })[], import("#gh/read/transport").GhError, GitHubService>;
67
76
  export declare const viewIssue: (issueNumber: number) => Effect.Effect<Pick<{
@@ -72,10 +81,10 @@ export declare const viewIssue: (issueNumber: number) => Effect.Effect<Pick<{
72
81
  readonly labels: {
73
82
  readonly name: string;
74
83
  }[];
75
- readonly createdAt: string;
76
84
  readonly assignees: {
77
85
  readonly login: string;
78
86
  }[];
87
+ readonly createdAt: string;
79
88
  readonly author: {
80
89
  readonly login: string;
81
90
  };
@@ -95,10 +104,10 @@ export declare const closeIssue: (opts: {
95
104
  readonly labels: {
96
105
  readonly name: string;
97
106
  }[];
98
- readonly createdAt: string;
99
107
  readonly assignees: {
100
108
  readonly login: string;
101
109
  }[];
110
+ readonly createdAt: string;
102
111
  readonly author: {
103
112
  readonly login: string;
104
113
  };
@@ -116,10 +125,10 @@ export declare const reopenIssue: (opts: {
116
125
  readonly labels: {
117
126
  readonly name: string;
118
127
  }[];
119
- readonly createdAt: string;
120
128
  readonly assignees: {
121
129
  readonly login: string;
122
130
  }[];
131
+ readonly createdAt: string;
123
132
  readonly author: {
124
133
  readonly login: string;
125
134
  };
@@ -149,10 +158,10 @@ export declare const createIssue: (opts: {
149
158
  readonly labels: {
150
159
  readonly name: string;
151
160
  }[];
152
- readonly createdAt: string;
153
161
  readonly assignees: {
154
162
  readonly login: string;
155
163
  }[];
164
+ readonly createdAt: string;
156
165
  readonly author: {
157
166
  readonly login: string;
158
167
  };
@@ -175,10 +184,10 @@ export declare const editIssue: (opts: {
175
184
  readonly labels: {
176
185
  readonly name: string;
177
186
  }[];
178
- readonly createdAt: string;
179
187
  readonly assignees: {
180
188
  readonly login: string;
181
189
  }[];
190
+ readonly createdAt: string;
182
191
  readonly author: {
183
192
  readonly login: string;
184
193
  };
@@ -1 +1 @@
1
- {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../src/gh-tool/issue/core.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,KAAK,EAAyB,YAAY,EAAgC,MAAM,WAAW,CAAC;AAGnG,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAMnD,MAAM,MAAM,SAAS,GAAG;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAChC,SAAS,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACpC,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,KAAK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AAM,CAAC;CAClB,CAAC;AAYF,eAAO,MAAM,UAAU;WACd,MAAM;YACL,MAAM,GAAG,IAAI;WACd,MAAM;kBACC,OAAO;YACb,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAIf,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;6JAapB,CAAC;AAEH,eAAO,MAAM,kBAAkB,uLA0B7B,CAAC;AAEH,eAAO,MAAM,UAAU;WACd,MAAM;aACJ,MAAM,GAAG,IAAI;YACd,MAAM;;;;;;;;;;;;;;;;;;6JAgBd,CAAC;AAEH,eAAO,MAAM,WAAW;WACf,MAAM;aACJ,MAAM,GAAG,IAAI;;;;;;;;;;;;;;;;;;6JAgBtB,CAAC;AAEH,eAAO,MAAM,cAAc;WAClB,MAAM;UACP,MAAM;;;;;;;uDAiDZ,CAAC;AAEH,eAAO,MAAM,WAAW;WACf,MAAM;UACP,MAAM;cACF,MAAM,GAAG,IAAI;YACf,MAAM,GAAG,IAAI;;;;;;;;;;;;;;;;;;6JA2BrB,CAAC;AAEH,eAAO,MAAM,SAAS;WACb,MAAM;WACN,MAAM,GAAG,IAAI;UACd,MAAM,GAAG,IAAI;eACR,MAAM,GAAG,IAAI;kBACV,MAAM,GAAG,IAAI;iBACd,MAAM,GAAG,IAAI;oBACV,MAAM,GAAG,IAAI;;;;;;;;;;;;;;;;;;6JA+B7B,CAAC"}
@@ -9,10 +9,10 @@ declare const IssueView: Schema.Struct<{
9
9
  readonly labels: Schema.mutable<Schema.$Array<Schema.Struct<{
10
10
  readonly name: Schema.String;
11
11
  }>>>;
12
- readonly createdAt: Schema.String;
13
12
  readonly assignees: Schema.mutable<Schema.$Array<Schema.Struct<{
14
13
  readonly login: Schema.String;
15
14
  }>>>;
15
+ readonly createdAt: Schema.String;
16
16
  readonly author: Schema.Struct<{
17
17
  readonly login: Schema.String;
18
18
  }>;
@@ -26,7 +26,7 @@ export type IssueListFilter = {
26
26
  limit: number;
27
27
  includeBody?: boolean;
28
28
  };
29
- export declare const ISSUE_LIST_FIELDS = "number,title,state,url,labels,createdAt";
29
+ export declare const ISSUE_LIST_FIELDS = "number,title,state,url,labels,assignees,createdAt";
30
30
  export declare const ISSUE_VIEW_FIELDS = "number,title,state,url,labels,assignees,author,body,createdAt,closedAt";
31
31
  export declare const issueView: (repo: RepoRef, issue: number, consistency?: "cached" | "origin" | undefined) => Effect.Effect<{
32
32
  readonly number: number;
@@ -36,10 +36,10 @@ export declare const issueView: (repo: RepoRef, issue: number, consistency?: "ca
36
36
  readonly labels: {
37
37
  readonly name: string;
38
38
  }[];
39
- readonly createdAt: string;
40
39
  readonly assignees: {
41
40
  readonly login: string;
42
41
  }[];
42
+ readonly createdAt: string;
43
43
  readonly author: {
44
44
  readonly login: string;
45
45
  };
@@ -54,6 +54,9 @@ export declare const issueList: (repo: RepoRef, filter: IssueListFilter, consist
54
54
  readonly labels: {
55
55
  readonly name: string;
56
56
  }[];
57
+ readonly assignees: {
58
+ readonly login: string;
59
+ }[];
57
60
  readonly createdAt: string;
58
61
  readonly body: string;
59
62
  } | {
@@ -65,6 +68,9 @@ export declare const issueList: (repo: RepoRef, filter: IssueListFilter, consist
65
68
  readonly labels: {
66
69
  readonly name: string;
67
70
  }[];
71
+ readonly assignees: {
72
+ readonly login: string;
73
+ }[];
68
74
  readonly createdAt: string;
69
75
  })[], import("#gh/read/transport").GhError, GitHubService>;
70
76
  export declare const issueComments: (repo: RepoRef, issue: number) => Effect.Effect<{
@@ -1 +1 @@
1
- {"version":3,"file":"issues.d.ts","sourceRoot":"","sources":["../../../src/gh-tool/read/issues.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAKnD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AActC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;EAMb,CAAC;AA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DAsCpB,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;yDAYxB,CAAC"}
@@ -176,10 +176,10 @@ export declare const reads: {
176
176
  readonly labels: {
177
177
  readonly name: string;
178
178
  }[];
179
- readonly createdAt: string;
180
179
  readonly assignees: {
181
180
  readonly login: string;
182
181
  }[];
182
+ readonly createdAt: string;
183
183
  readonly author: {
184
184
  readonly login: string;
185
185
  };
@@ -194,6 +194,9 @@ export declare const reads: {
194
194
  readonly labels: {
195
195
  readonly name: string;
196
196
  }[];
197
+ readonly assignees: {
198
+ readonly login: string;
199
+ }[];
197
200
  readonly createdAt: string;
198
201
  readonly body: string;
199
202
  } | {
@@ -205,6 +208,9 @@ export declare const reads: {
205
208
  readonly labels: {
206
209
  readonly name: string;
207
210
  }[];
211
+ readonly assignees: {
212
+ readonly login: string;
213
+ }[];
208
214
  readonly createdAt: string;
209
215
  })[], import("#gh/read/transport").GhError, GitHubService>;
210
216
  issueComments: (repo: RepoRef, issue: number) => Effect.Effect<{
@@ -1 +1 @@
1
- {"version":3,"file":"reads.d.ts","sourceRoot":"","sources":["../../../src/gh-tool/read/reads.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAU,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAShD,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAUjD,MAAM,MAAM,MAAM,GAAG;IAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AA+CtE,eAAO,MAAM,WAAW,sGAatB,CAAC;AAgHH,eAAO,MAAM,SAAS,6HAWpB,CAAC;AA+EH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBjB,CAAC"}
1
+ {"version":3,"file":"reads.d.ts","sourceRoot":"","sources":["../../../src/gh-tool/read/reads.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAU,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAShD,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAUjD,MAAM,MAAM,MAAM,GAAG;IAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AA+CtE,eAAO,MAAM,WAAW,sGAatB,CAAC;AAgHH,eAAO,MAAM,SAAS,6HAWpB,CAAC;AA+EH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBjB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blogic-cz/agent-tools",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "description": "CLI tools for AI coding agent workflows — GitHub, database, Kubernetes, Azure platform, Azure DevOps, logs, sessions, and audit",
5
5
  "keywords": [
6
6
  "agent",
@@ -27,6 +27,7 @@ export type IssueListItem = {
27
27
  state: string;
28
28
  url: string;
29
29
  labels: Array<{ name: string }>;
30
+ assignees: Array<{ login: string }>;
30
31
  createdAt: string;
31
32
  };
32
33
 
@@ -16,11 +16,11 @@ const IssueListItem = Schema.Struct({
16
16
  state: Schema.String,
17
17
  url: Schema.String,
18
18
  labels: Schema.mutable(Schema.Array(Label)),
19
+ assignees: Schema.mutable(Schema.Array(Login)),
19
20
  createdAt: Schema.String,
20
21
  });
21
22
  const IssueView = Schema.Struct({
22
23
  ...IssueListItem.fields,
23
- assignees: Schema.mutable(Schema.Array(Login)),
24
24
  author: Login,
25
25
  body: Schema.String,
26
26
  closedAt: Schema.NullOr(Schema.String),
@@ -39,7 +39,7 @@ export type IssueListFilter = {
39
39
  limit: number;
40
40
  includeBody?: boolean;
41
41
  };
42
- export const ISSUE_LIST_FIELDS = "number,title,state,url,labels,createdAt";
42
+ export const ISSUE_LIST_FIELDS = "number,title,state,url,labels,assignees,createdAt";
43
43
  export const ISSUE_VIEW_FIELDS =
44
44
  "number,title,state,url,labels,assignees,author,body,createdAt,closedAt";
45
45