devchain-cli 0.6.1 → 0.7.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.
- package/dist/drizzle/0024_review_tables.sql +71 -0
- package/dist/drizzle/0025_reviews_mode_and_nullable_shas.sql +80 -0
- package/dist/drizzle/0026_review_comments_edited_at.sql +2 -0
- package/dist/drizzle/meta/_journal.json +22 -1
- package/dist/server/common/errors/error-types.d.ts +3 -0
- package/dist/server/common/errors/error-types.js +7 -1
- package/dist/server/common/errors/error-types.js.map +1 -1
- package/dist/server/common/validation/path-validation.d.ts +11 -0
- package/dist/server/common/validation/path-validation.js +197 -0
- package/dist/server/common/validation/path-validation.js.map +1 -0
- package/dist/server/modules/chat/dtos/chat.dto.d.ts +13 -13
- package/dist/server/modules/core/core.module.js +3 -2
- package/dist/server/modules/core/core.module.js.map +1 -1
- package/dist/server/modules/core/services/preflight.service.d.ts +1 -3
- package/dist/server/modules/core/services/preflight.service.js +2 -28
- package/dist/server/modules/core/services/preflight.service.js.map +1 -1
- package/dist/server/modules/core/services/provider-mcp-ensure.service.d.ts +26 -0
- package/dist/server/modules/core/services/provider-mcp-ensure.service.js +224 -0
- package/dist/server/modules/core/services/provider-mcp-ensure.service.js.map +1 -0
- package/dist/server/modules/epics/controllers/epics.controller.d.ts +3 -2
- package/dist/server/modules/epics/controllers/epics.controller.js +16 -6
- package/dist/server/modules/epics/controllers/epics.controller.js.map +1 -1
- package/dist/server/modules/events/catalog/epic.created.d.ts +2 -2
- package/dist/server/modules/events/catalog/index.d.ts +340 -2
- package/dist/server/modules/events/catalog/index.js +12 -0
- package/dist/server/modules/events/catalog/index.js.map +1 -1
- package/dist/server/modules/events/catalog/review.comment.created.d.ts +69 -0
- package/dist/server/modules/events/catalog/review.comment.created.js +30 -0
- package/dist/server/modules/events/catalog/review.comment.created.js.map +1 -0
- package/dist/server/modules/events/catalog/review.comment.deleted.d.ts +30 -0
- package/dist/server/modules/events/catalog/review.comment.deleted.js +17 -0
- package/dist/server/modules/events/catalog/review.comment.deleted.js.map +1 -0
- package/dist/server/modules/events/catalog/review.comment.resolved.d.ts +30 -0
- package/dist/server/modules/events/catalog/review.comment.resolved.js +17 -0
- package/dist/server/modules/events/catalog/review.comment.resolved.js.map +1 -0
- package/dist/server/modules/events/catalog/review.comment.updated.d.ts +39 -0
- package/dist/server/modules/events/catalog/review.comment.updated.js +20 -0
- package/dist/server/modules/events/catalog/review.comment.updated.js.map +1 -0
- package/dist/server/modules/events/catalog/review.created.d.ts +90 -0
- package/dist/server/modules/events/catalog/review.created.js +40 -0
- package/dist/server/modules/events/catalog/review.created.js.map +1 -0
- package/dist/server/modules/events/catalog/review.updated.d.ts +110 -0
- package/dist/server/modules/events/catalog/review.updated.js +35 -0
- package/dist/server/modules/events/catalog/review.updated.js.map +1 -0
- package/dist/server/modules/events/subscribers/index.js +4 -0
- package/dist/server/modules/events/subscribers/index.js.map +1 -1
- package/dist/server/modules/events/subscribers/review-broadcaster.subscriber.d.ts +16 -0
- package/dist/server/modules/events/subscribers/review-broadcaster.subscriber.js +163 -0
- package/dist/server/modules/events/subscribers/review-broadcaster.subscriber.js.map +1 -0
- package/dist/server/modules/events/subscribers/review-comment-notifier.subscriber.d.ts +23 -0
- package/dist/server/modules/events/subscribers/review-comment-notifier.subscriber.js +217 -0
- package/dist/server/modules/events/subscribers/review-comment-notifier.subscriber.js.map +1 -0
- package/dist/server/modules/git/controllers/git.controller.d.ts +24 -0
- package/dist/server/modules/git/controllers/git.controller.js +230 -0
- package/dist/server/modules/git/controllers/git.controller.js.map +1 -0
- package/dist/server/modules/git/dtos/git.dto.d.ts +86 -0
- package/dist/server/modules/git/dtos/git.dto.js +36 -0
- package/dist/server/modules/git/dtos/git.dto.js.map +1 -0
- package/dist/server/modules/git/git.module.d.ts +2 -0
- package/dist/server/modules/git/git.module.js +25 -0
- package/dist/server/modules/git/git.module.js.map +1 -0
- package/dist/server/modules/git/services/git.service.d.ts +71 -0
- package/dist/server/modules/git/services/git.service.js +550 -0
- package/dist/server/modules/git/services/git.service.js.map +1 -0
- package/dist/server/modules/mcp/controllers/mcp-http.controller.js +17 -562
- package/dist/server/modules/mcp/controllers/mcp-http.controller.js.map +1 -1
- package/dist/server/modules/mcp/controllers/mcp-sdk.controller.js +9 -568
- package/dist/server/modules/mcp/controllers/mcp-sdk.controller.js.map +1 -1
- package/dist/server/modules/mcp/dtos/mcp.dto.d.ts +226 -36
- package/dist/server/modules/mcp/dtos/mcp.dto.js +158 -50
- package/dist/server/modules/mcp/dtos/mcp.dto.js.map +1 -1
- package/dist/server/modules/mcp/dtos/schema-registry.d.ts +7 -0
- package/dist/server/modules/mcp/dtos/schema-registry.js +56 -0
- package/dist/server/modules/mcp/dtos/schema-registry.js.map +1 -0
- package/dist/server/modules/mcp/mcp.module.js +2 -0
- package/dist/server/modules/mcp/mcp.module.js.map +1 -1
- package/dist/server/modules/mcp/services/mcp.service.d.ts +9 -1
- package/dist/server/modules/mcp/services/mcp.service.js +702 -33
- package/dist/server/modules/mcp/services/mcp.service.js.map +1 -1
- package/dist/server/modules/mcp/tool-definitions.d.ts +2438 -0
- package/dist/server/modules/mcp/tool-definitions.js +727 -0
- package/dist/server/modules/mcp/tool-definitions.js.map +1 -0
- package/dist/server/modules/mcp/utils/param-suggestion.d.ts +3 -0
- package/dist/server/modules/mcp/utils/param-suggestion.js +95 -0
- package/dist/server/modules/mcp/utils/param-suggestion.js.map +1 -0
- package/dist/server/modules/providers/controllers/providers.controller.d.ts +7 -6
- package/dist/server/modules/providers/controllers/providers.controller.js +12 -107
- package/dist/server/modules/providers/controllers/providers.controller.js.map +1 -1
- package/dist/server/modules/reviews/controllers/reviews.controller.d.ts +28 -0
- package/dist/server/modules/reviews/controllers/reviews.controller.js +369 -0
- package/dist/server/modules/reviews/controllers/reviews.controller.js.map +1 -0
- package/dist/server/modules/reviews/dtos/review.dto.d.ts +195 -0
- package/dist/server/modules/reviews/dtos/review.dto.js +92 -0
- package/dist/server/modules/reviews/dtos/review.dto.js.map +1 -0
- package/dist/server/modules/reviews/reviews.module.d.ts +2 -0
- package/dist/server/modules/reviews/reviews.module.js +27 -0
- package/dist/server/modules/reviews/reviews.module.js.map +1 -0
- package/dist/server/modules/reviews/services/reviews.service.d.ts +86 -0
- package/dist/server/modules/reviews/services/reviews.service.js +464 -0
- package/dist/server/modules/reviews/services/reviews.service.js.map +1 -0
- package/dist/server/modules/reviews/utils/notification-formatter.d.ts +12 -0
- package/dist/server/modules/reviews/utils/notification-formatter.js +60 -0
- package/dist/server/modules/reviews/utils/notification-formatter.js.map +1 -0
- package/dist/server/modules/sessions/services/sessions.service.d.ts +3 -1
- package/dist/server/modules/sessions/services/sessions.service.js +32 -2
- package/dist/server/modules/sessions/services/sessions.service.js.map +1 -1
- package/dist/server/modules/storage/db/schema.d.ts +697 -0
- package/dist/server/modules/storage/db/schema.js +71 -1
- package/dist/server/modules/storage/db/schema.js.map +1 -1
- package/dist/server/modules/storage/interfaces/storage.interface.d.ts +23 -1
- package/dist/server/modules/storage/interfaces/storage.interface.js.map +1 -1
- package/dist/server/modules/storage/local/local-storage.service.d.ts +15 -2
- package/dist/server/modules/storage/local/local-storage.service.js +396 -7
- package/dist/server/modules/storage/local/local-storage.service.js.map +1 -1
- package/dist/server/modules/storage/models/domain.models.d.ts +62 -0
- package/dist/server/templates/claude-claude-swe.json +148 -0
- package/dist/server/templates/claude-codex-advanced-swe.json +139 -0
- package/dist/server/templates/claude-codex-advanced.json +84 -84
- package/dist/server/templates/claude-opus.json +102 -101
- package/dist/server/templates/claude-swe-single.json +105 -0
- package/dist/server/templates/codex-claude-swe.json +148 -0
- package/dist/server/templates/simple-codex.json +74 -74
- package/dist/server/test-setup.js +45 -0
- package/dist/server/test-setup.js.map +1 -1
- package/dist/server/tsconfig.tsbuildinfo +1 -1
- package/dist/server/ui/assets/ReviewDetailPage-I54h-2L-.js +6 -0
- package/dist/server/ui/assets/ReviewsPage-B4ua5hiX.js +19 -0
- package/dist/server/ui/assets/index-CqcmnFBh.css +32 -0
- package/dist/server/ui/assets/index-JbUMpbg7.js +858 -0
- package/dist/server/ui/assets/useReviewSubscription-C0GEsiRw.js +83 -0
- package/dist/server/ui/assets/useReviewSubscription-T3uj2-aP.css +1 -0
- package/dist/server/ui/index.html +2 -2
- package/dist/templates/claude-claude-swe.json +148 -0
- package/dist/templates/claude-codex-advanced-swe.json +139 -0
- package/dist/templates/claude-codex-advanced.json +84 -84
- package/dist/templates/claude-opus.json +102 -101
- package/dist/templates/claude-swe-single.json +105 -0
- package/dist/templates/codex-claude-swe.json +148 -0
- package/dist/templates/simple-codex.json +74 -74
- package/package.json +15 -2
- package/prebuilds/node-pty/darwin-arm64/pty.node +0 -0
- package/prebuilds/node-pty/darwin-arm64/spawn-helper +0 -0
- package/prebuilds/node-pty/darwin-x64/pty.node +0 -0
- package/prebuilds/node-pty/darwin-x64/spawn-helper +0 -0
- package/prebuilds/node-pty/linux-arm64/pty.node +0 -0
- package/prebuilds/node-pty/linux-x64/pty.node +0 -0
- package/prebuilds/node-pty/win32-arm64/conpty/OpenConsole.exe +0 -0
- package/prebuilds/node-pty/win32-arm64/conpty/conpty.dll +0 -0
- package/prebuilds/node-pty/win32-arm64/conpty.node +0 -0
- package/prebuilds/node-pty/win32-arm64/conpty.pdb +0 -0
- package/prebuilds/node-pty/win32-arm64/conpty_console_list.node +0 -0
- package/prebuilds/node-pty/win32-arm64/conpty_console_list.pdb +0 -0
- package/prebuilds/node-pty/win32-arm64/pty.node +0 -0
- package/prebuilds/node-pty/win32-arm64/pty.pdb +0 -0
- package/prebuilds/node-pty/win32-arm64/winpty-agent.exe +0 -0
- package/prebuilds/node-pty/win32-arm64/winpty-agent.pdb +0 -0
- package/prebuilds/node-pty/win32-arm64/winpty.dll +0 -0
- package/prebuilds/node-pty/win32-arm64/winpty.pdb +0 -0
- package/prebuilds/node-pty/win32-x64/conpty/OpenConsole.exe +0 -0
- package/prebuilds/node-pty/win32-x64/conpty/conpty.dll +0 -0
- package/prebuilds/node-pty/win32-x64/conpty.node +0 -0
- package/prebuilds/node-pty/win32-x64/conpty.pdb +0 -0
- package/prebuilds/node-pty/win32-x64/conpty_console_list.node +0 -0
- package/prebuilds/node-pty/win32-x64/conpty_console_list.pdb +0 -0
- package/prebuilds/node-pty/win32-x64/pty.node +0 -0
- package/prebuilds/node-pty/win32-x64/pty.pdb +0 -0
- package/prebuilds/node-pty/win32-x64/winpty-agent.exe +0 -0
- package/prebuilds/node-pty/win32-x64/winpty-agent.pdb +0 -0
- package/prebuilds/node-pty/win32-x64/winpty.dll +0 -0
- package/prebuilds/node-pty/win32-x64/winpty.pdb +0 -0
- package/scripts/postinstall.js +51 -1
- package/dist/server/ui/assets/index-BoDZOB7c.css +0 -32
- package/dist/server/ui/assets/index-hB0e02VB.js +0 -735
|
@@ -4,7 +4,7 @@ export declare const CreateRecordParamsSchema: z.ZodObject<{
|
|
|
4
4
|
type: z.ZodString;
|
|
5
5
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6
6
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7
|
-
}, "
|
|
7
|
+
}, "strict", z.ZodTypeAny, {
|
|
8
8
|
type: string;
|
|
9
9
|
data: Record<string, unknown>;
|
|
10
10
|
epicId: string;
|
|
@@ -22,7 +22,7 @@ export declare const UpdateRecordParamsSchema: z.ZodObject<{
|
|
|
22
22
|
type: z.ZodOptional<z.ZodString>;
|
|
23
23
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
24
24
|
version: z.ZodNumber;
|
|
25
|
-
}, "
|
|
25
|
+
}, "strict", z.ZodTypeAny, {
|
|
26
26
|
id: string;
|
|
27
27
|
version: number;
|
|
28
28
|
type?: string | undefined;
|
|
@@ -38,7 +38,7 @@ export declare const UpdateRecordParamsSchema: z.ZodObject<{
|
|
|
38
38
|
export type UpdateRecordParams = z.infer<typeof UpdateRecordParamsSchema>;
|
|
39
39
|
export declare const GetRecordParamsSchema: z.ZodObject<{
|
|
40
40
|
id: z.ZodString;
|
|
41
|
-
}, "
|
|
41
|
+
}, "strict", z.ZodTypeAny, {
|
|
42
42
|
id: string;
|
|
43
43
|
}, {
|
|
44
44
|
id: string;
|
|
@@ -50,7 +50,7 @@ export declare const ListRecordsParamsSchema: z.ZodObject<{
|
|
|
50
50
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
51
51
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
52
52
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
53
|
-
}, "
|
|
53
|
+
}, "strict", z.ZodTypeAny, {
|
|
54
54
|
epicId: string;
|
|
55
55
|
type?: string | undefined;
|
|
56
56
|
tags?: string[] | undefined;
|
|
@@ -67,7 +67,7 @@ export type ListRecordsParams = z.infer<typeof ListRecordsParamsSchema>;
|
|
|
67
67
|
export declare const AddTagsParamsSchema: z.ZodObject<{
|
|
68
68
|
id: z.ZodString;
|
|
69
69
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
70
|
-
}, "
|
|
70
|
+
}, "strict", z.ZodTypeAny, {
|
|
71
71
|
tags: string[];
|
|
72
72
|
id: string;
|
|
73
73
|
}, {
|
|
@@ -78,7 +78,7 @@ export type AddTagsParams = z.infer<typeof AddTagsParamsSchema>;
|
|
|
78
78
|
export declare const RemoveTagsParamsSchema: z.ZodObject<{
|
|
79
79
|
id: z.ZodString;
|
|
80
80
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
81
|
-
}, "
|
|
81
|
+
}, "strict", z.ZodTypeAny, {
|
|
82
82
|
tags: string[];
|
|
83
83
|
id: string;
|
|
84
84
|
}, {
|
|
@@ -92,7 +92,7 @@ export declare const ListDocumentsParamsSchema: z.ZodObject<{
|
|
|
92
92
|
q: z.ZodOptional<z.ZodString>;
|
|
93
93
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
94
94
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
95
|
-
}, "
|
|
95
|
+
}, "strict", z.ZodTypeAny, {
|
|
96
96
|
sessionId: string;
|
|
97
97
|
tags?: string[] | undefined;
|
|
98
98
|
limit?: number | undefined;
|
|
@@ -113,7 +113,7 @@ export declare const GetDocumentParamsSchema: z.ZodEffects<z.ZodEffects<z.ZodObj
|
|
|
113
113
|
includeLinks: z.ZodOptional<z.ZodEnum<["none", "meta", "inline"]>>;
|
|
114
114
|
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
115
115
|
maxBytes: z.ZodOptional<z.ZodNumber>;
|
|
116
|
-
}, "
|
|
116
|
+
}, "strict", z.ZodTypeAny, {
|
|
117
117
|
id?: string | undefined;
|
|
118
118
|
projectId?: string | undefined;
|
|
119
119
|
slug?: string | undefined;
|
|
@@ -162,7 +162,7 @@ export declare const CreateDocumentParamsSchema: z.ZodObject<{
|
|
|
162
162
|
title: z.ZodString;
|
|
163
163
|
contentMd: z.ZodString;
|
|
164
164
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
165
|
-
}, "
|
|
165
|
+
}, "strict", z.ZodTypeAny, {
|
|
166
166
|
title: string;
|
|
167
167
|
contentMd: string;
|
|
168
168
|
sessionId: string;
|
|
@@ -182,7 +182,7 @@ export declare const UpdateDocumentParamsSchema: z.ZodObject<{
|
|
|
182
182
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
183
183
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
184
184
|
version: z.ZodOptional<z.ZodNumber>;
|
|
185
|
-
}, "
|
|
185
|
+
}, "strict", z.ZodTypeAny, {
|
|
186
186
|
id: string;
|
|
187
187
|
tags?: string[] | undefined;
|
|
188
188
|
version?: number | undefined;
|
|
@@ -204,7 +204,7 @@ export declare const ListPromptsParamsSchema: z.ZodObject<{
|
|
|
204
204
|
sessionId: z.ZodString;
|
|
205
205
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
206
206
|
q: z.ZodOptional<z.ZodString>;
|
|
207
|
-
}, "
|
|
207
|
+
}, "strict", z.ZodTypeAny, {
|
|
208
208
|
sessionId: string;
|
|
209
209
|
tags?: string[] | undefined;
|
|
210
210
|
q?: string | undefined;
|
|
@@ -219,7 +219,7 @@ export declare const ListAgentsParamsSchema: z.ZodObject<{
|
|
|
219
219
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
220
220
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
221
221
|
q: z.ZodOptional<z.ZodString>;
|
|
222
|
-
}, "
|
|
222
|
+
}, "strict", z.ZodTypeAny, {
|
|
223
223
|
sessionId: string;
|
|
224
224
|
limit?: number | undefined;
|
|
225
225
|
offset?: number | undefined;
|
|
@@ -234,7 +234,7 @@ export type ListAgentsParams = z.infer<typeof ListAgentsParamsSchema>;
|
|
|
234
234
|
export declare const GetAgentByNameParamsSchema: z.ZodObject<{
|
|
235
235
|
sessionId: z.ZodString;
|
|
236
236
|
name: z.ZodString;
|
|
237
|
-
}, "
|
|
237
|
+
}, "strict", z.ZodTypeAny, {
|
|
238
238
|
name: string;
|
|
239
239
|
sessionId: string;
|
|
240
240
|
}, {
|
|
@@ -244,7 +244,7 @@ export declare const GetAgentByNameParamsSchema: z.ZodObject<{
|
|
|
244
244
|
export type GetAgentByNameParams = z.infer<typeof GetAgentByNameParamsSchema>;
|
|
245
245
|
export declare const ListStatusesParamsSchema: z.ZodObject<{
|
|
246
246
|
sessionId: z.ZodString;
|
|
247
|
-
}, "
|
|
247
|
+
}, "strict", z.ZodTypeAny, {
|
|
248
248
|
sessionId: string;
|
|
249
249
|
}, {
|
|
250
250
|
sessionId: string;
|
|
@@ -256,7 +256,7 @@ export declare const ListEpicsParamsSchema: z.ZodObject<{
|
|
|
256
256
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
257
257
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
258
258
|
q: z.ZodOptional<z.ZodString>;
|
|
259
|
-
}, "
|
|
259
|
+
}, "strict", z.ZodTypeAny, {
|
|
260
260
|
sessionId: string;
|
|
261
261
|
limit?: number | undefined;
|
|
262
262
|
offset?: number | undefined;
|
|
@@ -275,7 +275,7 @@ export declare const ListAssignedEpicsTasksParamsSchema: z.ZodObject<{
|
|
|
275
275
|
agentName: z.ZodString;
|
|
276
276
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
277
277
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
278
|
-
}, "
|
|
278
|
+
}, "strict", z.ZodTypeAny, {
|
|
279
279
|
sessionId: string;
|
|
280
280
|
agentName: string;
|
|
281
281
|
limit?: number | undefined;
|
|
@@ -295,28 +295,28 @@ export declare const CreateEpicParamsSchema: z.ZodObject<{
|
|
|
295
295
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
296
296
|
agentName: z.ZodOptional<z.ZodString>;
|
|
297
297
|
parentId: z.ZodOptional<z.ZodString>;
|
|
298
|
-
}, "
|
|
298
|
+
}, "strict", z.ZodTypeAny, {
|
|
299
299
|
title: string;
|
|
300
300
|
sessionId: string;
|
|
301
301
|
tags?: string[] | undefined;
|
|
302
302
|
description?: string | undefined;
|
|
303
303
|
parentId?: string | undefined;
|
|
304
|
-
statusName?: string | undefined;
|
|
305
304
|
agentName?: string | undefined;
|
|
305
|
+
statusName?: string | undefined;
|
|
306
306
|
}, {
|
|
307
307
|
title: string;
|
|
308
308
|
sessionId: string;
|
|
309
309
|
tags?: string[] | undefined;
|
|
310
310
|
description?: string | undefined;
|
|
311
311
|
parentId?: string | undefined;
|
|
312
|
-
statusName?: string | undefined;
|
|
313
312
|
agentName?: string | undefined;
|
|
313
|
+
statusName?: string | undefined;
|
|
314
314
|
}>;
|
|
315
315
|
export type CreateEpicParams = z.infer<typeof CreateEpicParamsSchema>;
|
|
316
316
|
export declare const GetEpicByIdParamsSchema: z.ZodObject<{
|
|
317
317
|
sessionId: z.ZodString;
|
|
318
318
|
id: z.ZodString;
|
|
319
|
-
}, "
|
|
319
|
+
}, "strict", z.ZodTypeAny, {
|
|
320
320
|
id: string;
|
|
321
321
|
sessionId: string;
|
|
322
322
|
}, {
|
|
@@ -328,7 +328,7 @@ export declare const AddEpicCommentParamsSchema: z.ZodObject<{
|
|
|
328
328
|
sessionId: z.ZodString;
|
|
329
329
|
epicId: z.ZodString;
|
|
330
330
|
content: z.ZodString;
|
|
331
|
-
}, "
|
|
331
|
+
}, "strict", z.ZodTypeAny, {
|
|
332
332
|
content: string;
|
|
333
333
|
epicId: string;
|
|
334
334
|
sessionId: string;
|
|
@@ -347,13 +347,13 @@ export declare const UpdateEpicParamsSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
347
347
|
statusName: z.ZodOptional<z.ZodString>;
|
|
348
348
|
assignment: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
349
349
|
agentName: z.ZodString;
|
|
350
|
-
}, "
|
|
350
|
+
}, "strict", z.ZodTypeAny, {
|
|
351
351
|
agentName: string;
|
|
352
352
|
}, {
|
|
353
353
|
agentName: string;
|
|
354
354
|
}>, z.ZodObject<{
|
|
355
355
|
clear: z.ZodLiteral<true>;
|
|
356
|
-
}, "
|
|
356
|
+
}, "strict", z.ZodTypeAny, {
|
|
357
357
|
clear: true;
|
|
358
358
|
}, {
|
|
359
359
|
clear: true;
|
|
@@ -363,7 +363,7 @@ export declare const UpdateEpicParamsSchema: z.ZodEffects<z.ZodEffects<z.ZodObje
|
|
|
363
363
|
setTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
364
364
|
addTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
365
365
|
removeTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
366
|
-
}, "
|
|
366
|
+
}, "strict", z.ZodTypeAny, {
|
|
367
367
|
id: string;
|
|
368
368
|
version: number;
|
|
369
369
|
sessionId: string;
|
|
@@ -472,7 +472,7 @@ export declare const GetPromptParamsSchema: z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
472
472
|
name: z.ZodOptional<z.ZodString>;
|
|
473
473
|
version: z.ZodOptional<z.ZodNumber>;
|
|
474
474
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
475
|
-
}, "
|
|
475
|
+
}, "strict", z.ZodTypeAny, {
|
|
476
476
|
id?: string | undefined;
|
|
477
477
|
name?: string | undefined;
|
|
478
478
|
version?: number | undefined;
|
|
@@ -754,30 +754,30 @@ export declare const SendMessageParamsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
754
754
|
recipientAgentNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
755
755
|
message: z.ZodString;
|
|
756
756
|
recipient: z.ZodOptional<z.ZodEnum<["user", "agents"]>>;
|
|
757
|
-
}, "
|
|
757
|
+
}, "strict", z.ZodTypeAny, {
|
|
758
758
|
message: string;
|
|
759
759
|
sessionId: string;
|
|
760
760
|
threadId?: string | undefined;
|
|
761
761
|
recipientAgentNames?: string[] | undefined;
|
|
762
|
-
recipient?: "
|
|
762
|
+
recipient?: "user" | "agents" | undefined;
|
|
763
763
|
}, {
|
|
764
764
|
message: string;
|
|
765
765
|
sessionId: string;
|
|
766
766
|
threadId?: string | undefined;
|
|
767
767
|
recipientAgentNames?: string[] | undefined;
|
|
768
|
-
recipient?: "
|
|
768
|
+
recipient?: "user" | "agents" | undefined;
|
|
769
769
|
}>, {
|
|
770
770
|
message: string;
|
|
771
771
|
sessionId: string;
|
|
772
772
|
threadId?: string | undefined;
|
|
773
773
|
recipientAgentNames?: string[] | undefined;
|
|
774
|
-
recipient?: "
|
|
774
|
+
recipient?: "user" | "agents" | undefined;
|
|
775
775
|
}, {
|
|
776
776
|
message: string;
|
|
777
777
|
sessionId: string;
|
|
778
778
|
threadId?: string | undefined;
|
|
779
779
|
recipientAgentNames?: string[] | undefined;
|
|
780
|
-
recipient?: "
|
|
780
|
+
recipient?: "user" | "agents" | undefined;
|
|
781
781
|
}>;
|
|
782
782
|
export type SendMessageParams = z.infer<typeof SendMessageParamsSchema>;
|
|
783
783
|
export type SendMessageResponse = {
|
|
@@ -807,7 +807,7 @@ export declare const ChatAckParamsSchema: z.ZodObject<{
|
|
|
807
807
|
sessionId: z.ZodString;
|
|
808
808
|
thread_id: z.ZodString;
|
|
809
809
|
message_id: z.ZodString;
|
|
810
|
-
}, "
|
|
810
|
+
}, "strict", z.ZodTypeAny, {
|
|
811
811
|
sessionId: string;
|
|
812
812
|
thread_id: string;
|
|
813
813
|
message_id: string;
|
|
@@ -829,7 +829,7 @@ export declare const ChatReadHistoryParamsSchema: z.ZodObject<{
|
|
|
829
829
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
830
830
|
since: z.ZodOptional<z.ZodString>;
|
|
831
831
|
exclude_system: z.ZodOptional<z.ZodBoolean>;
|
|
832
|
-
}, "
|
|
832
|
+
}, "strict", z.ZodTypeAny, {
|
|
833
833
|
thread_id: string;
|
|
834
834
|
limit?: number | undefined;
|
|
835
835
|
since?: string | undefined;
|
|
@@ -955,7 +955,7 @@ export declare const ChatReadHistoryResponseSchema: z.ZodObject<{
|
|
|
955
955
|
export type ChatReadHistoryResponse = z.infer<typeof ChatReadHistoryResponseSchema>;
|
|
956
956
|
export declare const ChatListMembersParamsSchema: z.ZodObject<{
|
|
957
957
|
thread_id: z.ZodString;
|
|
958
|
-
}, "
|
|
958
|
+
}, "strict", z.ZodTypeAny, {
|
|
959
959
|
thread_id: string;
|
|
960
960
|
}, {
|
|
961
961
|
thread_id: string;
|
|
@@ -1028,7 +1028,7 @@ export declare const ActivityStartParamsSchema: z.ZodObject<{
|
|
|
1028
1028
|
title: z.ZodString;
|
|
1029
1029
|
threadId: z.ZodOptional<z.ZodString>;
|
|
1030
1030
|
announce: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1031
|
-
}, "
|
|
1031
|
+
}, "strict", z.ZodTypeAny, {
|
|
1032
1032
|
title: string;
|
|
1033
1033
|
sessionId: string;
|
|
1034
1034
|
announce: boolean;
|
|
@@ -1065,7 +1065,7 @@ export declare const ActivityFinishParamsSchema: z.ZodObject<{
|
|
|
1065
1065
|
threadId: z.ZodOptional<z.ZodString>;
|
|
1066
1066
|
message: z.ZodOptional<z.ZodString>;
|
|
1067
1067
|
status: z.ZodOptional<z.ZodEnum<["success", "failed", "canceled"]>>;
|
|
1068
|
-
}, "
|
|
1068
|
+
}, "strict", z.ZodTypeAny, {
|
|
1069
1069
|
sessionId: string;
|
|
1070
1070
|
message?: string | undefined;
|
|
1071
1071
|
status?: "success" | "failed" | "canceled" | undefined;
|
|
@@ -1115,7 +1115,7 @@ export declare const RegisterGuestParamsSchema: z.ZodObject<{
|
|
|
1115
1115
|
name: z.ZodString;
|
|
1116
1116
|
tmuxSessionId: z.ZodString;
|
|
1117
1117
|
description: z.ZodOptional<z.ZodString>;
|
|
1118
|
-
}, "
|
|
1118
|
+
}, "strict", z.ZodTypeAny, {
|
|
1119
1119
|
name: string;
|
|
1120
1120
|
tmuxSessionId: string;
|
|
1121
1121
|
description?: string | undefined;
|
|
@@ -1185,3 +1185,193 @@ export interface LegacySessionContext {
|
|
|
1185
1185
|
rootPath: string;
|
|
1186
1186
|
} | null;
|
|
1187
1187
|
}
|
|
1188
|
+
export declare const ListReviewsParamsSchema: z.ZodObject<{
|
|
1189
|
+
sessionId: z.ZodString;
|
|
1190
|
+
status: z.ZodOptional<z.ZodEnum<["draft", "pending", "changes_requested", "approved", "closed"]>>;
|
|
1191
|
+
epicId: z.ZodOptional<z.ZodString>;
|
|
1192
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1193
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
1194
|
+
}, "strict", z.ZodTypeAny, {
|
|
1195
|
+
sessionId: string;
|
|
1196
|
+
status?: "draft" | "pending" | "changes_requested" | "approved" | "closed" | undefined;
|
|
1197
|
+
epicId?: string | undefined;
|
|
1198
|
+
limit?: number | undefined;
|
|
1199
|
+
offset?: number | undefined;
|
|
1200
|
+
}, {
|
|
1201
|
+
sessionId: string;
|
|
1202
|
+
status?: "draft" | "pending" | "changes_requested" | "approved" | "closed" | undefined;
|
|
1203
|
+
epicId?: string | undefined;
|
|
1204
|
+
limit?: number | undefined;
|
|
1205
|
+
offset?: number | undefined;
|
|
1206
|
+
}>;
|
|
1207
|
+
export type ListReviewsParams = z.infer<typeof ListReviewsParamsSchema>;
|
|
1208
|
+
export interface ReviewSummary {
|
|
1209
|
+
id: string;
|
|
1210
|
+
title: string;
|
|
1211
|
+
description: string | null;
|
|
1212
|
+
status: 'draft' | 'pending' | 'changes_requested' | 'approved' | 'closed';
|
|
1213
|
+
baseRef: string;
|
|
1214
|
+
headRef: string;
|
|
1215
|
+
baseSha: string | null;
|
|
1216
|
+
headSha: string | null;
|
|
1217
|
+
epicId: string | null;
|
|
1218
|
+
createdBy: 'user' | 'agent';
|
|
1219
|
+
createdByAgentId: string | null;
|
|
1220
|
+
version: number;
|
|
1221
|
+
commentCount?: number;
|
|
1222
|
+
createdAt: string;
|
|
1223
|
+
updatedAt: string;
|
|
1224
|
+
}
|
|
1225
|
+
export interface ListReviewsResponse {
|
|
1226
|
+
reviews: ReviewSummary[];
|
|
1227
|
+
total: number;
|
|
1228
|
+
limit: number;
|
|
1229
|
+
offset: number;
|
|
1230
|
+
}
|
|
1231
|
+
export declare const GetReviewParamsSchema: z.ZodObject<{
|
|
1232
|
+
sessionId: z.ZodString;
|
|
1233
|
+
reviewId: z.ZodString;
|
|
1234
|
+
}, "strict", z.ZodTypeAny, {
|
|
1235
|
+
reviewId: string;
|
|
1236
|
+
sessionId: string;
|
|
1237
|
+
}, {
|
|
1238
|
+
reviewId: string;
|
|
1239
|
+
sessionId: string;
|
|
1240
|
+
}>;
|
|
1241
|
+
export type GetReviewParams = z.infer<typeof GetReviewParamsSchema>;
|
|
1242
|
+
export interface ChangedFileSummary {
|
|
1243
|
+
path: string;
|
|
1244
|
+
status: 'added' | 'modified' | 'deleted' | 'renamed' | 'copied';
|
|
1245
|
+
additions: number;
|
|
1246
|
+
deletions: number;
|
|
1247
|
+
oldPath?: string;
|
|
1248
|
+
}
|
|
1249
|
+
export interface ReviewCommentSummary {
|
|
1250
|
+
id: string;
|
|
1251
|
+
filePath: string | null;
|
|
1252
|
+
lineStart: number | null;
|
|
1253
|
+
lineEnd: number | null;
|
|
1254
|
+
side: 'left' | 'right' | null;
|
|
1255
|
+
content: string;
|
|
1256
|
+
commentType: 'comment' | 'suggestion' | 'issue' | 'approval';
|
|
1257
|
+
status: 'open' | 'resolved' | 'wont_fix';
|
|
1258
|
+
authorType: 'user' | 'agent';
|
|
1259
|
+
authorAgentId: string | null;
|
|
1260
|
+
authorAgentName?: string;
|
|
1261
|
+
parentId: string | null;
|
|
1262
|
+
version: number;
|
|
1263
|
+
createdAt: string;
|
|
1264
|
+
updatedAt: string;
|
|
1265
|
+
}
|
|
1266
|
+
export interface GetReviewResponse {
|
|
1267
|
+
review: ReviewSummary;
|
|
1268
|
+
changedFiles: ChangedFileSummary[];
|
|
1269
|
+
comments: ReviewCommentSummary[];
|
|
1270
|
+
}
|
|
1271
|
+
export declare const GetReviewCommentsParamsSchema: z.ZodObject<{
|
|
1272
|
+
sessionId: z.ZodString;
|
|
1273
|
+
reviewId: z.ZodString;
|
|
1274
|
+
status: z.ZodOptional<z.ZodEnum<["open", "resolved", "wont_fix"]>>;
|
|
1275
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
1276
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1277
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
1278
|
+
}, "strict", z.ZodTypeAny, {
|
|
1279
|
+
reviewId: string;
|
|
1280
|
+
sessionId: string;
|
|
1281
|
+
status?: "open" | "resolved" | "wont_fix" | undefined;
|
|
1282
|
+
filePath?: string | undefined;
|
|
1283
|
+
limit?: number | undefined;
|
|
1284
|
+
offset?: number | undefined;
|
|
1285
|
+
}, {
|
|
1286
|
+
reviewId: string;
|
|
1287
|
+
sessionId: string;
|
|
1288
|
+
status?: "open" | "resolved" | "wont_fix" | undefined;
|
|
1289
|
+
filePath?: string | undefined;
|
|
1290
|
+
limit?: number | undefined;
|
|
1291
|
+
offset?: number | undefined;
|
|
1292
|
+
}>;
|
|
1293
|
+
export type GetReviewCommentsParams = z.infer<typeof GetReviewCommentsParamsSchema>;
|
|
1294
|
+
export interface GetReviewCommentsResponse {
|
|
1295
|
+
comments: ReviewCommentSummary[];
|
|
1296
|
+
total: number;
|
|
1297
|
+
limit: number;
|
|
1298
|
+
offset: number;
|
|
1299
|
+
}
|
|
1300
|
+
export declare const ReplyCommentParamsSchema: z.ZodObject<{
|
|
1301
|
+
sessionId: z.ZodString;
|
|
1302
|
+
reviewId: z.ZodString;
|
|
1303
|
+
parentCommentId: z.ZodOptional<z.ZodString>;
|
|
1304
|
+
content: z.ZodString;
|
|
1305
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
1306
|
+
lineStart: z.ZodOptional<z.ZodNumber>;
|
|
1307
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
1308
|
+
commentType: z.ZodOptional<z.ZodEnum<["comment", "suggestion", "issue", "approval"]>>;
|
|
1309
|
+
targetAgentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1310
|
+
}, "strict", z.ZodTypeAny, {
|
|
1311
|
+
content: string;
|
|
1312
|
+
reviewId: string;
|
|
1313
|
+
sessionId: string;
|
|
1314
|
+
filePath?: string | undefined;
|
|
1315
|
+
lineStart?: number | undefined;
|
|
1316
|
+
lineEnd?: number | undefined;
|
|
1317
|
+
commentType?: "comment" | "suggestion" | "issue" | "approval" | undefined;
|
|
1318
|
+
targetAgentIds?: string[] | undefined;
|
|
1319
|
+
parentCommentId?: string | undefined;
|
|
1320
|
+
}, {
|
|
1321
|
+
content: string;
|
|
1322
|
+
reviewId: string;
|
|
1323
|
+
sessionId: string;
|
|
1324
|
+
filePath?: string | undefined;
|
|
1325
|
+
lineStart?: number | undefined;
|
|
1326
|
+
lineEnd?: number | undefined;
|
|
1327
|
+
commentType?: "comment" | "suggestion" | "issue" | "approval" | undefined;
|
|
1328
|
+
targetAgentIds?: string[] | undefined;
|
|
1329
|
+
parentCommentId?: string | undefined;
|
|
1330
|
+
}>;
|
|
1331
|
+
export type ReplyCommentParams = z.infer<typeof ReplyCommentParamsSchema>;
|
|
1332
|
+
export interface ReplyCommentResponse {
|
|
1333
|
+
comment: ReviewCommentSummary;
|
|
1334
|
+
}
|
|
1335
|
+
export declare const ResolveCommentParamsSchema: z.ZodObject<{
|
|
1336
|
+
sessionId: z.ZodString;
|
|
1337
|
+
commentId: z.ZodString;
|
|
1338
|
+
resolution: z.ZodDefault<z.ZodOptional<z.ZodEnum<["resolved", "wont_fix"]>>>;
|
|
1339
|
+
version: z.ZodNumber;
|
|
1340
|
+
}, "strict", z.ZodTypeAny, {
|
|
1341
|
+
version: number;
|
|
1342
|
+
commentId: string;
|
|
1343
|
+
sessionId: string;
|
|
1344
|
+
resolution: "resolved" | "wont_fix";
|
|
1345
|
+
}, {
|
|
1346
|
+
version: number;
|
|
1347
|
+
commentId: string;
|
|
1348
|
+
sessionId: string;
|
|
1349
|
+
resolution?: "resolved" | "wont_fix" | undefined;
|
|
1350
|
+
}>;
|
|
1351
|
+
export type ResolveCommentParams = z.infer<typeof ResolveCommentParamsSchema>;
|
|
1352
|
+
export interface ResolveCommentResponse {
|
|
1353
|
+
comment: ReviewCommentSummary;
|
|
1354
|
+
}
|
|
1355
|
+
export declare const ApplySuggestionParamsSchema: z.ZodObject<{
|
|
1356
|
+
sessionId: z.ZodString;
|
|
1357
|
+
commentId: z.ZodString;
|
|
1358
|
+
version: z.ZodNumber;
|
|
1359
|
+
}, "strict", z.ZodTypeAny, {
|
|
1360
|
+
version: number;
|
|
1361
|
+
commentId: string;
|
|
1362
|
+
sessionId: string;
|
|
1363
|
+
}, {
|
|
1364
|
+
version: number;
|
|
1365
|
+
commentId: string;
|
|
1366
|
+
sessionId: string;
|
|
1367
|
+
}>;
|
|
1368
|
+
export type ApplySuggestionParams = z.infer<typeof ApplySuggestionParamsSchema>;
|
|
1369
|
+
export interface ApplySuggestionResponse {
|
|
1370
|
+
comment: ReviewCommentSummary;
|
|
1371
|
+
applied: {
|
|
1372
|
+
filePath: string;
|
|
1373
|
+
lineStart: number;
|
|
1374
|
+
lineEnd: number;
|
|
1375
|
+
suggestedCode: string;
|
|
1376
|
+
};
|
|
1377
|
+
}
|