@nervekit/shared 0.3.0 → 0.4.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.
- package/dist/domains/agents/agent.schema.d.ts +8 -8
- package/dist/domains/auth/auth.schema.d.ts +4 -4
- package/dist/domains/completions/completion.schema.d.ts +3 -3
- package/dist/domains/conversations/tree.schema.d.ts +3 -3
- package/dist/domains/filesystem/filesystem.schema.d.ts +1 -1
- package/dist/domains/plans/plan-review.schema.d.ts +2 -2
- package/dist/domains/prompt-suggestions/index.d.ts +2 -0
- package/dist/domains/prompt-suggestions/index.d.ts.map +1 -0
- package/dist/domains/prompt-suggestions/index.js +2 -0
- package/dist/domains/prompt-suggestions/index.js.map +1 -0
- package/dist/domains/prompt-suggestions/prompt-suggestion.schema.d.ts +185 -0
- package/dist/domains/prompt-suggestions/prompt-suggestion.schema.d.ts.map +1 -0
- package/dist/domains/prompt-suggestions/prompt-suggestion.schema.js +73 -0
- package/dist/domains/prompt-suggestions/prompt-suggestion.schema.js.map +1 -0
- package/dist/domains/providers/providers.schema.d.ts +4 -4
- package/dist/domains/settings/settings.schema.d.ts +34 -0
- package/dist/domains/settings/settings.schema.d.ts.map +1 -1
- package/dist/domains/settings/settings.schema.js +28 -0
- package/dist/domains/settings/settings.schema.js.map +1 -1
- package/dist/domains/suspensions/suspension.schema.d.ts +2 -2
- package/dist/domains/tasks/task.schema.d.ts +9 -9
- package/dist/domains/tools/records.schema.d.ts +61 -13
- package/dist/domains/tools/records.schema.d.ts.map +1 -1
- package/dist/domains/tools/records.schema.js +12 -0
- package/dist/domains/tools/records.schema.js.map +1 -1
- package/dist/domains/tools/tool-results.schema.d.ts +119 -22
- package/dist/domains/tools/tool-results.schema.d.ts.map +1 -1
- package/dist/domains/tools/tool-results.schema.js +64 -0
- package/dist/domains/tools/tool-results.schema.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const suspensionStatusSchema: z.ZodEnum<{
|
|
3
3
|
error: "error";
|
|
4
|
-
cancelled: "cancelled";
|
|
5
4
|
pending: "pending";
|
|
5
|
+
cancelled: "cancelled";
|
|
6
6
|
resuming: "resuming";
|
|
7
7
|
resumed: "resumed";
|
|
8
8
|
}>;
|
|
@@ -40,8 +40,8 @@ export declare const agentSuspensionRecordSchema: z.ZodObject<{
|
|
|
40
40
|
}, z.core.$strip>>>;
|
|
41
41
|
status: z.ZodEnum<{
|
|
42
42
|
error: "error";
|
|
43
|
-
cancelled: "cancelled";
|
|
44
43
|
pending: "pending";
|
|
44
|
+
cancelled: "cancelled";
|
|
45
45
|
resuming: "resuming";
|
|
46
46
|
resumed: "resumed";
|
|
47
47
|
}>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const taskStatusSchema: z.ZodEnum<{
|
|
3
3
|
running: "running";
|
|
4
|
-
cancelled: "cancelled";
|
|
5
|
-
failed: "failed";
|
|
6
|
-
starting: "starting";
|
|
7
4
|
completed: "completed";
|
|
5
|
+
starting: "starting";
|
|
8
6
|
ready: "ready";
|
|
9
7
|
stopping: "stopping";
|
|
8
|
+
failed: "failed";
|
|
10
9
|
timed_out: "timed_out";
|
|
10
|
+
cancelled: "cancelled";
|
|
11
11
|
orphaned: "orphaned";
|
|
12
12
|
}>;
|
|
13
13
|
export type TaskStatus = z.infer<typeof taskStatusSchema>;
|
|
@@ -129,13 +129,13 @@ export declare const taskRecordSchema: z.ZodObject<{
|
|
|
129
129
|
}, z.core.$strip>>;
|
|
130
130
|
status: z.ZodEnum<{
|
|
131
131
|
running: "running";
|
|
132
|
-
cancelled: "cancelled";
|
|
133
|
-
failed: "failed";
|
|
134
|
-
starting: "starting";
|
|
135
132
|
completed: "completed";
|
|
133
|
+
starting: "starting";
|
|
136
134
|
ready: "ready";
|
|
137
135
|
stopping: "stopping";
|
|
136
|
+
failed: "failed";
|
|
138
137
|
timed_out: "timed_out";
|
|
138
|
+
cancelled: "cancelled";
|
|
139
139
|
orphaned: "orphaned";
|
|
140
140
|
}>;
|
|
141
141
|
readiness: z.ZodObject<{
|
|
@@ -318,13 +318,13 @@ export declare const taskLogQueryResponseSchema: z.ZodObject<{
|
|
|
318
318
|
}, z.core.$strip>>;
|
|
319
319
|
status: z.ZodEnum<{
|
|
320
320
|
running: "running";
|
|
321
|
-
cancelled: "cancelled";
|
|
322
|
-
failed: "failed";
|
|
323
|
-
starting: "starting";
|
|
324
321
|
completed: "completed";
|
|
322
|
+
starting: "starting";
|
|
325
323
|
ready: "ready";
|
|
326
324
|
stopping: "stopping";
|
|
325
|
+
failed: "failed";
|
|
327
326
|
timed_out: "timed_out";
|
|
327
|
+
cancelled: "cancelled";
|
|
328
328
|
orphaned: "orphaned";
|
|
329
329
|
}>;
|
|
330
330
|
readiness: z.ZodObject<{
|
|
@@ -25,8 +25,21 @@ export declare const coreToolNameSchema: z.ZodEnum<{
|
|
|
25
25
|
todos_get: "todos_get";
|
|
26
26
|
web_search: "web_search";
|
|
27
27
|
web_fetch: "web_fetch";
|
|
28
|
+
jira_search_issues: "jira_search_issues";
|
|
29
|
+
jira_get_issue: "jira_get_issue";
|
|
30
|
+
jira_get_project: "jira_get_project";
|
|
31
|
+
jira_create_issue: "jira_create_issue";
|
|
32
|
+
jira_update_issue: "jira_update_issue";
|
|
33
|
+
jira_add_comment: "jira_add_comment";
|
|
34
|
+
jira_transition_issue: "jira_transition_issue";
|
|
28
35
|
}>;
|
|
29
36
|
export type CoreToolName = z.infer<typeof coreToolNameSchema>;
|
|
37
|
+
export declare const userConfigurableToolNameSchema: z.ZodEnum<{
|
|
38
|
+
python: "python";
|
|
39
|
+
web_search: "web_search";
|
|
40
|
+
web_fetch: "web_fetch";
|
|
41
|
+
}>;
|
|
42
|
+
export type UserConfigurableToolName = z.infer<typeof userConfigurableToolNameSchema>;
|
|
30
43
|
export declare const orchestrationToolNameSchema: z.ZodEnum<{
|
|
31
44
|
task_start: "task_start";
|
|
32
45
|
task_status: "task_status";
|
|
@@ -54,6 +67,13 @@ export declare const toolNameSchema: z.ZodEnum<{
|
|
|
54
67
|
todos_get: "todos_get";
|
|
55
68
|
web_search: "web_search";
|
|
56
69
|
web_fetch: "web_fetch";
|
|
70
|
+
jira_search_issues: "jira_search_issues";
|
|
71
|
+
jira_get_issue: "jira_get_issue";
|
|
72
|
+
jira_get_project: "jira_get_project";
|
|
73
|
+
jira_create_issue: "jira_create_issue";
|
|
74
|
+
jira_update_issue: "jira_update_issue";
|
|
75
|
+
jira_add_comment: "jira_add_comment";
|
|
76
|
+
jira_transition_issue: "jira_transition_issue";
|
|
57
77
|
task_start: "task_start";
|
|
58
78
|
task_status: "task_status";
|
|
59
79
|
task_logs: "task_logs";
|
|
@@ -81,6 +101,13 @@ export declare const toolDescriptorSchema: z.ZodObject<{
|
|
|
81
101
|
todos_get: "todos_get";
|
|
82
102
|
web_search: "web_search";
|
|
83
103
|
web_fetch: "web_fetch";
|
|
104
|
+
jira_search_issues: "jira_search_issues";
|
|
105
|
+
jira_get_issue: "jira_get_issue";
|
|
106
|
+
jira_get_project: "jira_get_project";
|
|
107
|
+
jira_create_issue: "jira_create_issue";
|
|
108
|
+
jira_update_issue: "jira_update_issue";
|
|
109
|
+
jira_add_comment: "jira_add_comment";
|
|
110
|
+
jira_transition_issue: "jira_transition_issue";
|
|
84
111
|
task_start: "task_start";
|
|
85
112
|
task_status: "task_status";
|
|
86
113
|
task_logs: "task_logs";
|
|
@@ -108,10 +135,10 @@ export declare const toolDescriptorSchema: z.ZodObject<{
|
|
|
108
135
|
export type ToolDescriptor = z.infer<typeof toolDescriptorSchema>;
|
|
109
136
|
export declare const toolCallStatusSchema: z.ZodEnum<{
|
|
110
137
|
error: "error";
|
|
111
|
-
running: "running";
|
|
112
138
|
requested: "requested";
|
|
113
139
|
pending_approval: "pending_approval";
|
|
114
140
|
waiting_for_user: "waiting_for_user";
|
|
141
|
+
running: "running";
|
|
115
142
|
completed: "completed";
|
|
116
143
|
denied: "denied";
|
|
117
144
|
}>;
|
|
@@ -142,6 +169,13 @@ export declare const toolCallRecordSchema: z.ZodObject<{
|
|
|
142
169
|
todos_get: "todos_get";
|
|
143
170
|
web_search: "web_search";
|
|
144
171
|
web_fetch: "web_fetch";
|
|
172
|
+
jira_search_issues: "jira_search_issues";
|
|
173
|
+
jira_get_issue: "jira_get_issue";
|
|
174
|
+
jira_get_project: "jira_get_project";
|
|
175
|
+
jira_create_issue: "jira_create_issue";
|
|
176
|
+
jira_update_issue: "jira_update_issue";
|
|
177
|
+
jira_add_comment: "jira_add_comment";
|
|
178
|
+
jira_transition_issue: "jira_transition_issue";
|
|
145
179
|
task_start: "task_start";
|
|
146
180
|
task_status: "task_status";
|
|
147
181
|
task_logs: "task_logs";
|
|
@@ -174,10 +208,10 @@ export declare const toolCallRecordSchema: z.ZodObject<{
|
|
|
174
208
|
cwd: z.ZodString;
|
|
175
209
|
status: z.ZodEnum<{
|
|
176
210
|
error: "error";
|
|
177
|
-
running: "running";
|
|
178
211
|
requested: "requested";
|
|
179
212
|
pending_approval: "pending_approval";
|
|
180
213
|
waiting_for_user: "waiting_for_user";
|
|
214
|
+
running: "running";
|
|
181
215
|
completed: "completed";
|
|
182
216
|
denied: "denied";
|
|
183
217
|
}>;
|
|
@@ -218,17 +252,6 @@ export declare const toolCallTranscriptRecordSchema: z.ZodObject<{
|
|
|
218
252
|
conversationId: z.ZodString;
|
|
219
253
|
agentId: z.ZodString;
|
|
220
254
|
runId: z.ZodOptional<z.ZodString>;
|
|
221
|
-
status: z.ZodEnum<{
|
|
222
|
-
error: "error";
|
|
223
|
-
running: "running";
|
|
224
|
-
requested: "requested";
|
|
225
|
-
pending_approval: "pending_approval";
|
|
226
|
-
waiting_for_user: "waiting_for_user";
|
|
227
|
-
completed: "completed";
|
|
228
|
-
denied: "denied";
|
|
229
|
-
}>;
|
|
230
|
-
createdAt: z.ZodString;
|
|
231
|
-
updatedAt: z.ZodString;
|
|
232
255
|
risk: z.ZodEnum<{
|
|
233
256
|
command: "command";
|
|
234
257
|
read: "read";
|
|
@@ -254,6 +277,13 @@ export declare const toolCallTranscriptRecordSchema: z.ZodObject<{
|
|
|
254
277
|
todos_get: "todos_get";
|
|
255
278
|
web_search: "web_search";
|
|
256
279
|
web_fetch: "web_fetch";
|
|
280
|
+
jira_search_issues: "jira_search_issues";
|
|
281
|
+
jira_get_issue: "jira_get_issue";
|
|
282
|
+
jira_get_project: "jira_get_project";
|
|
283
|
+
jira_create_issue: "jira_create_issue";
|
|
284
|
+
jira_update_issue: "jira_update_issue";
|
|
285
|
+
jira_add_comment: "jira_add_comment";
|
|
286
|
+
jira_transition_issue: "jira_transition_issue";
|
|
257
287
|
task_start: "task_start";
|
|
258
288
|
task_status: "task_status";
|
|
259
289
|
task_logs: "task_logs";
|
|
@@ -265,6 +295,15 @@ export declare const toolCallTranscriptRecordSchema: z.ZodObject<{
|
|
|
265
295
|
plan_mode_present: "plan_mode_present";
|
|
266
296
|
plan_mode_force_exit: "plan_mode_force_exit";
|
|
267
297
|
}>;
|
|
298
|
+
status: z.ZodEnum<{
|
|
299
|
+
error: "error";
|
|
300
|
+
requested: "requested";
|
|
301
|
+
pending_approval: "pending_approval";
|
|
302
|
+
waiting_for_user: "waiting_for_user";
|
|
303
|
+
running: "running";
|
|
304
|
+
completed: "completed";
|
|
305
|
+
denied: "denied";
|
|
306
|
+
}>;
|
|
268
307
|
sourceToolCallId: z.ZodOptional<z.ZodString>;
|
|
269
308
|
providerToolCallId: z.ZodOptional<z.ZodString>;
|
|
270
309
|
turnId: z.ZodOptional<z.ZodString>;
|
|
@@ -280,6 +319,8 @@ export declare const toolCallTranscriptRecordSchema: z.ZodObject<{
|
|
|
280
319
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
281
320
|
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
282
321
|
}, z.core.$strip>>;
|
|
322
|
+
createdAt: z.ZodString;
|
|
323
|
+
updatedAt: z.ZodString;
|
|
283
324
|
argsPreview: z.ZodOptional<z.ZodUnknown>;
|
|
284
325
|
resultPreview: z.ZodOptional<z.ZodUnknown>;
|
|
285
326
|
previewOverflow: z.ZodOptional<z.ZodObject<{
|
|
@@ -377,6 +418,13 @@ export declare const executeToolRequestSchema: z.ZodObject<{
|
|
|
377
418
|
todos_get: "todos_get";
|
|
378
419
|
web_search: "web_search";
|
|
379
420
|
web_fetch: "web_fetch";
|
|
421
|
+
jira_search_issues: "jira_search_issues";
|
|
422
|
+
jira_get_issue: "jira_get_issue";
|
|
423
|
+
jira_get_project: "jira_get_project";
|
|
424
|
+
jira_create_issue: "jira_create_issue";
|
|
425
|
+
jira_update_issue: "jira_update_issue";
|
|
426
|
+
jira_add_comment: "jira_add_comment";
|
|
427
|
+
jira_transition_issue: "jira_transition_issue";
|
|
380
428
|
task_start: "task_start";
|
|
381
429
|
task_status: "task_status";
|
|
382
430
|
task_logs: "task_logs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"records.schema.d.ts","sourceRoot":"","sources":["../../../src/domains/tools/records.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc;;;;;;;;;;EAUzB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"records.schema.d.ts","sourceRoot":"","sources":["../../../src/domains/tools/records.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc;;;;;;;;;;EAUzB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CA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;;;;;;iBAGnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,4BAA4B;;iBAEvC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC"}
|
|
@@ -24,6 +24,18 @@ export const coreToolNameSchema = z.enum([
|
|
|
24
24
|
"todos_get",
|
|
25
25
|
"web_search",
|
|
26
26
|
"web_fetch",
|
|
27
|
+
"jira_search_issues",
|
|
28
|
+
"jira_get_issue",
|
|
29
|
+
"jira_get_project",
|
|
30
|
+
"jira_create_issue",
|
|
31
|
+
"jira_update_issue",
|
|
32
|
+
"jira_add_comment",
|
|
33
|
+
"jira_transition_issue",
|
|
34
|
+
]);
|
|
35
|
+
export const userConfigurableToolNameSchema = z.enum([
|
|
36
|
+
"web_search",
|
|
37
|
+
"web_fetch",
|
|
38
|
+
"python",
|
|
27
39
|
]);
|
|
28
40
|
export const orchestrationToolNameSchema = z.enum([
|
|
29
41
|
"task_start",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"records.schema.js","sourceRoot":"","sources":["../../../src/domains/tools/records.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC;IACnC,MAAM;IACN,iBAAiB;IACjB,SAAS;IACT,SAAS;IACT,QAAQ;IACR,aAAa;IACb,aAAa;IACb,YAAY;IACZ,aAAa;CACd,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,IAAI,CAAC;IACvC,MAAM;IACN,MAAM;IACN,QAAQ;IACR,MAAM;IACN,OAAO;IACP,MAAM;IACN,MAAM;IACN,IAAI;IACJ,UAAU;IACV,WAAW;IACX,WAAW;IACX,YAAY;IACZ,WAAW;
|
|
1
|
+
{"version":3,"file":"records.schema.js","sourceRoot":"","sources":["../../../src/domains/tools/records.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC;IACnC,MAAM;IACN,iBAAiB;IACjB,SAAS;IACT,SAAS;IACT,QAAQ;IACR,aAAa;IACb,aAAa;IACb,YAAY;IACZ,aAAa;CACd,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,IAAI,CAAC;IACvC,MAAM;IACN,MAAM;IACN,QAAQ;IACR,MAAM;IACN,OAAO;IACP,MAAM;IACN,MAAM;IACN,IAAI;IACJ,UAAU;IACV,WAAW;IACX,WAAW;IACX,YAAY;IACZ,WAAW;IACX,oBAAoB;IACpB,gBAAgB;IAChB,kBAAkB;IAClB,mBAAmB;IACnB,mBAAmB;IACnB,kBAAkB;IAClB,uBAAuB;CACxB,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,IAAI,CAAC;IACnD,YAAY;IACZ,WAAW;IACX,QAAQ;CACT,CAAC,CAAC;AAKH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,IAAI,CAAC;IAChD,YAAY;IACZ,aAAa;IACb,WAAW;IACX,aAAa;IACb,cAAc;IACd,WAAW;IACX,SAAS;IACT,iBAAiB;IACjB,mBAAmB;IACnB,sBAAsB;CACvB,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC;IACnC,GAAG,kBAAkB,CAAC,OAAO;IAC7B,GAAG,2BAA2B,CAAC,OAAO;CACvC,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,cAAc;IACpB,WAA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C,CAAC;AAGH,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAC1B,CAAC,CAAC;AAKH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IACvD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC;AAKH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,QAAQ,EAAE,cAAc;IACxB,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;CACpD,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC"}
|
|
@@ -550,6 +550,103 @@ export declare const webFetchResultDetailsSchema: z.ZodObject<{
|
|
|
550
550
|
converted: z.ZodBoolean;
|
|
551
551
|
}, z.core.$strip>;
|
|
552
552
|
export type WebFetchResultDetails = z.infer<typeof webFetchResultDetailsSchema>;
|
|
553
|
+
export declare const jiraTextDisplaySchema: z.ZodString;
|
|
554
|
+
export declare const jiraIssueSummarySchema: z.ZodObject<{
|
|
555
|
+
key: z.ZodString;
|
|
556
|
+
id: z.ZodOptional<z.ZodString>;
|
|
557
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
558
|
+
issueType: z.ZodOptional<z.ZodString>;
|
|
559
|
+
status: z.ZodOptional<z.ZodString>;
|
|
560
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
561
|
+
priority: z.ZodOptional<z.ZodString>;
|
|
562
|
+
updated: z.ZodOptional<z.ZodString>;
|
|
563
|
+
}, z.core.$loose>;
|
|
564
|
+
export type JiraIssueSummaryPayload = z.infer<typeof jiraIssueSummarySchema>;
|
|
565
|
+
export declare const jiraProjectSummarySchema: z.ZodObject<{
|
|
566
|
+
key: z.ZodString;
|
|
567
|
+
id: z.ZodOptional<z.ZodString>;
|
|
568
|
+
name: z.ZodOptional<z.ZodString>;
|
|
569
|
+
projectTypeKey: z.ZodOptional<z.ZodString>;
|
|
570
|
+
lead: z.ZodOptional<z.ZodString>;
|
|
571
|
+
}, z.core.$loose>;
|
|
572
|
+
export type JiraProjectSummaryPayload = z.infer<typeof jiraProjectSummarySchema>;
|
|
573
|
+
export declare const jiraTransitionSummarySchema: z.ZodObject<{
|
|
574
|
+
id: z.ZodString;
|
|
575
|
+
name: z.ZodOptional<z.ZodString>;
|
|
576
|
+
to: z.ZodOptional<z.ZodString>;
|
|
577
|
+
}, z.core.$loose>;
|
|
578
|
+
export type JiraTransitionSummaryPayload = z.infer<typeof jiraTransitionSummarySchema>;
|
|
579
|
+
export declare const jiraIncludedCountsSchema: z.ZodObject<{
|
|
580
|
+
comments: z.ZodOptional<z.ZodNumber>;
|
|
581
|
+
transitions: z.ZodOptional<z.ZodNumber>;
|
|
582
|
+
statuses: z.ZodOptional<z.ZodNumber>;
|
|
583
|
+
components: z.ZodOptional<z.ZodNumber>;
|
|
584
|
+
versions: z.ZodOptional<z.ZodNumber>;
|
|
585
|
+
}, z.core.$loose>;
|
|
586
|
+
export type JiraIncludedCountsPayload = z.infer<typeof jiraIncludedCountsSchema>;
|
|
587
|
+
export declare const jiraResultDetailsSchema: z.ZodObject<{
|
|
588
|
+
jql: z.ZodOptional<z.ZodString>;
|
|
589
|
+
issueCount: z.ZodOptional<z.ZodNumber>;
|
|
590
|
+
displayedIssueCount: z.ZodOptional<z.ZodNumber>;
|
|
591
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
592
|
+
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
593
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
594
|
+
key: z.ZodString;
|
|
595
|
+
id: z.ZodOptional<z.ZodString>;
|
|
596
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
597
|
+
issueType: z.ZodOptional<z.ZodString>;
|
|
598
|
+
status: z.ZodOptional<z.ZodString>;
|
|
599
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
600
|
+
priority: z.ZodOptional<z.ZodString>;
|
|
601
|
+
updated: z.ZodOptional<z.ZodString>;
|
|
602
|
+
}, z.core.$loose>>>;
|
|
603
|
+
issue: z.ZodOptional<z.ZodObject<{
|
|
604
|
+
key: z.ZodString;
|
|
605
|
+
id: z.ZodOptional<z.ZodString>;
|
|
606
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
607
|
+
issueType: z.ZodOptional<z.ZodString>;
|
|
608
|
+
status: z.ZodOptional<z.ZodString>;
|
|
609
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
610
|
+
priority: z.ZodOptional<z.ZodString>;
|
|
611
|
+
updated: z.ZodOptional<z.ZodString>;
|
|
612
|
+
}, z.core.$loose>>;
|
|
613
|
+
issueKey: z.ZodOptional<z.ZodString>;
|
|
614
|
+
projectKey: z.ZodOptional<z.ZodString>;
|
|
615
|
+
project: z.ZodOptional<z.ZodObject<{
|
|
616
|
+
key: z.ZodString;
|
|
617
|
+
id: z.ZodOptional<z.ZodString>;
|
|
618
|
+
name: z.ZodOptional<z.ZodString>;
|
|
619
|
+
projectTypeKey: z.ZodOptional<z.ZodString>;
|
|
620
|
+
lead: z.ZodOptional<z.ZodString>;
|
|
621
|
+
}, z.core.$loose>>;
|
|
622
|
+
includedCounts: z.ZodOptional<z.ZodObject<{
|
|
623
|
+
comments: z.ZodOptional<z.ZodNumber>;
|
|
624
|
+
transitions: z.ZodOptional<z.ZodNumber>;
|
|
625
|
+
statuses: z.ZodOptional<z.ZodNumber>;
|
|
626
|
+
components: z.ZodOptional<z.ZodNumber>;
|
|
627
|
+
versions: z.ZodOptional<z.ZodNumber>;
|
|
628
|
+
}, z.core.$loose>>;
|
|
629
|
+
issueType: z.ZodOptional<z.ZodString>;
|
|
630
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
631
|
+
id: z.ZodOptional<z.ZodString>;
|
|
632
|
+
self: z.ZodOptional<z.ZodString>;
|
|
633
|
+
updatedFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
634
|
+
updatedFieldCount: z.ZodOptional<z.ZodNumber>;
|
|
635
|
+
commentId: z.ZodOptional<z.ZodString>;
|
|
636
|
+
transition: z.ZodOptional<z.ZodObject<{
|
|
637
|
+
id: z.ZodString;
|
|
638
|
+
name: z.ZodOptional<z.ZodString>;
|
|
639
|
+
to: z.ZodOptional<z.ZodString>;
|
|
640
|
+
}, z.core.$loose>>;
|
|
641
|
+
transitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
642
|
+
id: z.ZodString;
|
|
643
|
+
name: z.ZodOptional<z.ZodString>;
|
|
644
|
+
to: z.ZodOptional<z.ZodString>;
|
|
645
|
+
}, z.core.$loose>>>;
|
|
646
|
+
transitionCount: z.ZodOptional<z.ZodNumber>;
|
|
647
|
+
displayedTransitionCount: z.ZodOptional<z.ZodNumber>;
|
|
648
|
+
}, z.core.$loose>;
|
|
649
|
+
export type JiraResultDetailsPayload = z.infer<typeof jiraResultDetailsSchema>;
|
|
553
650
|
/** File-tool result envelope (read/write/edit/grep/find/ls/bash/python/web_fetch/web_search). */
|
|
554
651
|
export declare const toolExecutionResultSchema: z.ZodObject<{
|
|
555
652
|
content: z.ZodOptional<z.ZodString>;
|
|
@@ -606,13 +703,13 @@ export declare const taskCancelResultSchema: z.ZodObject<{
|
|
|
606
703
|
}>;
|
|
607
704
|
status: z.ZodOptional<z.ZodEnum<{
|
|
608
705
|
running: "running";
|
|
609
|
-
cancelled: "cancelled";
|
|
610
|
-
failed: "failed";
|
|
611
|
-
starting: "starting";
|
|
612
706
|
completed: "completed";
|
|
707
|
+
starting: "starting";
|
|
613
708
|
ready: "ready";
|
|
614
709
|
stopping: "stopping";
|
|
710
|
+
failed: "failed";
|
|
615
711
|
timed_out: "timed_out";
|
|
712
|
+
cancelled: "cancelled";
|
|
616
713
|
orphaned: "orphaned";
|
|
617
714
|
}>>;
|
|
618
715
|
message: z.ZodString;
|
|
@@ -650,13 +747,13 @@ export declare const taskActionResultSchema: z.ZodObject<{
|
|
|
650
747
|
}, z.core.$strip>>;
|
|
651
748
|
status: z.ZodEnum<{
|
|
652
749
|
running: "running";
|
|
653
|
-
cancelled: "cancelled";
|
|
654
|
-
failed: "failed";
|
|
655
|
-
starting: "starting";
|
|
656
750
|
completed: "completed";
|
|
751
|
+
starting: "starting";
|
|
657
752
|
ready: "ready";
|
|
658
753
|
stopping: "stopping";
|
|
754
|
+
failed: "failed";
|
|
659
755
|
timed_out: "timed_out";
|
|
756
|
+
cancelled: "cancelled";
|
|
660
757
|
orphaned: "orphaned";
|
|
661
758
|
}>;
|
|
662
759
|
readiness: z.ZodObject<{
|
|
@@ -773,13 +870,13 @@ export declare const taskActionResultSchema: z.ZodObject<{
|
|
|
773
870
|
}, z.core.$strip>>;
|
|
774
871
|
status: z.ZodEnum<{
|
|
775
872
|
running: "running";
|
|
776
|
-
cancelled: "cancelled";
|
|
777
|
-
failed: "failed";
|
|
778
|
-
starting: "starting";
|
|
779
873
|
completed: "completed";
|
|
874
|
+
starting: "starting";
|
|
780
875
|
ready: "ready";
|
|
781
876
|
stopping: "stopping";
|
|
877
|
+
failed: "failed";
|
|
782
878
|
timed_out: "timed_out";
|
|
879
|
+
cancelled: "cancelled";
|
|
783
880
|
orphaned: "orphaned";
|
|
784
881
|
}>;
|
|
785
882
|
readiness: z.ZodObject<{
|
|
@@ -900,13 +997,13 @@ export declare const taskActionResultSchema: z.ZodObject<{
|
|
|
900
997
|
}>;
|
|
901
998
|
status: z.ZodOptional<z.ZodEnum<{
|
|
902
999
|
running: "running";
|
|
903
|
-
cancelled: "cancelled";
|
|
904
|
-
failed: "failed";
|
|
905
|
-
starting: "starting";
|
|
906
1000
|
completed: "completed";
|
|
1001
|
+
starting: "starting";
|
|
907
1002
|
ready: "ready";
|
|
908
1003
|
stopping: "stopping";
|
|
1004
|
+
failed: "failed";
|
|
909
1005
|
timed_out: "timed_out";
|
|
1006
|
+
cancelled: "cancelled";
|
|
910
1007
|
orphaned: "orphaned";
|
|
911
1008
|
}>>;
|
|
912
1009
|
message: z.ZodString;
|
|
@@ -953,13 +1050,13 @@ export declare const taskListResultSchema: z.ZodObject<{
|
|
|
953
1050
|
}, z.core.$strip>>;
|
|
954
1051
|
status: z.ZodEnum<{
|
|
955
1052
|
running: "running";
|
|
956
|
-
cancelled: "cancelled";
|
|
957
|
-
failed: "failed";
|
|
958
|
-
starting: "starting";
|
|
959
1053
|
completed: "completed";
|
|
1054
|
+
starting: "starting";
|
|
960
1055
|
ready: "ready";
|
|
961
1056
|
stopping: "stopping";
|
|
1057
|
+
failed: "failed";
|
|
962
1058
|
timed_out: "timed_out";
|
|
1059
|
+
cancelled: "cancelled";
|
|
963
1060
|
orphaned: "orphaned";
|
|
964
1061
|
}>;
|
|
965
1062
|
readiness: z.ZodObject<{
|
|
@@ -1089,13 +1186,13 @@ export declare const taskLogsResultSchema: z.ZodObject<{
|
|
|
1089
1186
|
}, z.core.$strip>>;
|
|
1090
1187
|
status: z.ZodEnum<{
|
|
1091
1188
|
running: "running";
|
|
1092
|
-
cancelled: "cancelled";
|
|
1093
|
-
failed: "failed";
|
|
1094
|
-
starting: "starting";
|
|
1095
1189
|
completed: "completed";
|
|
1190
|
+
starting: "starting";
|
|
1096
1191
|
ready: "ready";
|
|
1097
1192
|
stopping: "stopping";
|
|
1193
|
+
failed: "failed";
|
|
1098
1194
|
timed_out: "timed_out";
|
|
1195
|
+
cancelled: "cancelled";
|
|
1099
1196
|
orphaned: "orphaned";
|
|
1100
1197
|
}>;
|
|
1101
1198
|
readiness: z.ZodObject<{
|
|
@@ -1249,9 +1346,9 @@ export declare const exploreReportSchema: z.ZodObject<{
|
|
|
1249
1346
|
task: z.ZodString;
|
|
1250
1347
|
label: z.ZodOptional<z.ZodString>;
|
|
1251
1348
|
status: z.ZodDefault<z.ZodEnum<{
|
|
1252
|
-
aborted: "aborted";
|
|
1253
|
-
failed: "failed";
|
|
1254
1349
|
completed: "completed";
|
|
1350
|
+
failed: "failed";
|
|
1351
|
+
aborted: "aborted";
|
|
1255
1352
|
}>>;
|
|
1256
1353
|
report: z.ZodString;
|
|
1257
1354
|
reportPath: z.ZodOptional<z.ZodString>;
|
|
@@ -1294,9 +1391,9 @@ export declare const exploreResultSchema: z.ZodObject<{
|
|
|
1294
1391
|
task: z.ZodString;
|
|
1295
1392
|
label: z.ZodOptional<z.ZodString>;
|
|
1296
1393
|
status: z.ZodDefault<z.ZodEnum<{
|
|
1297
|
-
aborted: "aborted";
|
|
1298
|
-
failed: "failed";
|
|
1299
1394
|
completed: "completed";
|
|
1395
|
+
failed: "failed";
|
|
1396
|
+
aborted: "aborted";
|
|
1300
1397
|
}>>;
|
|
1301
1398
|
report: z.ZodString;
|
|
1302
1399
|
reportPath: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-results.schema.d.ts","sourceRoot":"","sources":["../../../src/domains/tools/tool-results.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB;;;;;GAKG;AAEH,eAAO,MAAM,qBAAqB;;;iBAGhC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE3E,eAAO,MAAM,sBAAsB;;;;iBAIjC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE7E,eAAO,MAAM,sBAAsB;;;;;;;mBAGjC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAA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CAAC,CAAC;AAE/E,eAAO,MAAM,iBAAiB;;;;;;;;;iBAK5B,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEnE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAc9B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEvE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAG9B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEvE,8CAA8C;AAC9C,eAAO,MAAM,mBAAmB;;;;;;;iBAO9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,uDAAuD;AACvD,eAAO,MAAM,cAAc;;;iBAGzB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,uCAAuC;AACvC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;iBAO5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -248,6 +248,70 @@ export const webFetchResultDetailsSchema = z.object({
|
|
|
248
248
|
savedTo: z.string().optional(),
|
|
249
249
|
converted: z.boolean(),
|
|
250
250
|
});
|
|
251
|
+
export const jiraTextDisplaySchema = z.string().max(500);
|
|
252
|
+
export const jiraIssueSummarySchema = z
|
|
253
|
+
.object({
|
|
254
|
+
key: z.string().min(1),
|
|
255
|
+
id: z.string().optional(),
|
|
256
|
+
summary: jiraTextDisplaySchema.optional(),
|
|
257
|
+
issueType: jiraTextDisplaySchema.optional(),
|
|
258
|
+
status: jiraTextDisplaySchema.optional(),
|
|
259
|
+
assignee: jiraTextDisplaySchema.optional(),
|
|
260
|
+
priority: jiraTextDisplaySchema.optional(),
|
|
261
|
+
updated: jiraTextDisplaySchema.optional(),
|
|
262
|
+
})
|
|
263
|
+
.passthrough();
|
|
264
|
+
export const jiraProjectSummarySchema = z
|
|
265
|
+
.object({
|
|
266
|
+
key: z.string().min(1),
|
|
267
|
+
id: z.string().optional(),
|
|
268
|
+
name: jiraTextDisplaySchema.optional(),
|
|
269
|
+
projectTypeKey: jiraTextDisplaySchema.optional(),
|
|
270
|
+
lead: jiraTextDisplaySchema.optional(),
|
|
271
|
+
})
|
|
272
|
+
.passthrough();
|
|
273
|
+
export const jiraTransitionSummarySchema = z
|
|
274
|
+
.object({
|
|
275
|
+
id: z.string().min(1),
|
|
276
|
+
name: jiraTextDisplaySchema.optional(),
|
|
277
|
+
to: jiraTextDisplaySchema.optional(),
|
|
278
|
+
})
|
|
279
|
+
.passthrough();
|
|
280
|
+
export const jiraIncludedCountsSchema = z
|
|
281
|
+
.object({
|
|
282
|
+
comments: z.number().int().nonnegative().optional(),
|
|
283
|
+
transitions: z.number().int().nonnegative().optional(),
|
|
284
|
+
statuses: z.number().int().nonnegative().optional(),
|
|
285
|
+
components: z.number().int().nonnegative().optional(),
|
|
286
|
+
versions: z.number().int().nonnegative().optional(),
|
|
287
|
+
})
|
|
288
|
+
.passthrough();
|
|
289
|
+
export const jiraResultDetailsSchema = z
|
|
290
|
+
.object({
|
|
291
|
+
jql: z.string().optional(),
|
|
292
|
+
issueCount: z.number().int().nonnegative().optional(),
|
|
293
|
+
displayedIssueCount: z.number().int().nonnegative().optional(),
|
|
294
|
+
total: z.number().int().nonnegative().optional(),
|
|
295
|
+
nextPageToken: z.string().optional(),
|
|
296
|
+
issues: z.array(jiraIssueSummarySchema).optional(),
|
|
297
|
+
issue: jiraIssueSummarySchema.optional(),
|
|
298
|
+
issueKey: z.string().optional(),
|
|
299
|
+
projectKey: z.string().optional(),
|
|
300
|
+
project: jiraProjectSummarySchema.optional(),
|
|
301
|
+
includedCounts: jiraIncludedCountsSchema.optional(),
|
|
302
|
+
issueType: jiraTextDisplaySchema.optional(),
|
|
303
|
+
summary: jiraTextDisplaySchema.optional(),
|
|
304
|
+
id: z.string().optional(),
|
|
305
|
+
self: z.string().optional(),
|
|
306
|
+
updatedFields: z.array(z.string()).optional(),
|
|
307
|
+
updatedFieldCount: z.number().int().nonnegative().optional(),
|
|
308
|
+
commentId: z.string().optional(),
|
|
309
|
+
transition: jiraTransitionSummarySchema.optional(),
|
|
310
|
+
transitions: z.array(jiraTransitionSummarySchema).optional(),
|
|
311
|
+
transitionCount: z.number().int().nonnegative().optional(),
|
|
312
|
+
displayedTransitionCount: z.number().int().nonnegative().optional(),
|
|
313
|
+
})
|
|
314
|
+
.passthrough();
|
|
251
315
|
/** File-tool result envelope (read/write/edit/grep/find/ls/bash/python/web_fetch/web_search). */
|
|
252
316
|
export const toolExecutionResultSchema = z.object({
|
|
253
317
|
content: z.string().optional(),
|