@imenam/mcp-organizer 1.0.11 → 1.0.12

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.
Files changed (50) hide show
  1. package/README.md +728 -714
  2. package/dist/shared/schemas/agent-api.schema.d.ts +40 -2
  3. package/dist/shared/schemas/agent-api.schema.js +12 -3
  4. package/dist/shared/schemas/agent-tools.schema.d.ts +373 -6
  5. package/dist/shared/schemas/agent-tools.schema.js +54 -3
  6. package/dist/shared/schemas/api.schema.d.ts +26 -0
  7. package/dist/shared/schemas/api.schema.js +9 -0
  8. package/dist/shared/schemas/entities.schema.d.ts +32 -2
  9. package/dist/shared/schemas/entities.schema.js +27 -3
  10. package/dist/shared/schemas/enums.schema.d.ts +4 -2
  11. package/dist/shared/schemas/enums.schema.js +2 -1
  12. package/dist/shared/schemas/notifications-api.schema.d.ts +29 -7
  13. package/dist/shared/schemas/notifications-api.schema.js +21 -5
  14. package/dist/shared/schemas/tasks-api.schema.d.ts +82 -0
  15. package/dist/shared/schemas/tasks-api.schema.js +35 -0
  16. package/dist/src/agent-api/requests.d.ts +1 -1
  17. package/dist/src/agent-api/requests.js +56 -4
  18. package/dist/src/agent-api/router.js +2 -1
  19. package/dist/src/agent-api/views.d.ts +2 -0
  20. package/dist/src/agent-api/views.js +203 -0
  21. package/dist/src/core/agent.d.ts +5 -1
  22. package/dist/src/core/agent.js +61 -2
  23. package/dist/src/core/board-views.d.ts +11 -1
  24. package/dist/src/core/board-views.js +28 -11
  25. package/dist/src/core/follow-ups.d.ts +7 -0
  26. package/dist/src/core/follow-ups.js +15 -0
  27. package/dist/src/core/history.d.ts +2 -1
  28. package/dist/src/core/history.js +62 -3
  29. package/dist/src/core/migrations.js +479 -424
  30. package/dist/src/core/notifications.js +36 -9
  31. package/dist/src/core/requests.d.ts +10 -1
  32. package/dist/src/core/requests.js +41 -3
  33. package/dist/src/core/snapshots.d.ts +4 -4
  34. package/dist/src/core/snapshots.js +6 -2
  35. package/dist/src/core/spaces.d.ts +2 -2
  36. package/dist/src/core/spaces.js +12 -6
  37. package/dist/src/core/store.d.ts +43 -6
  38. package/dist/src/core/store.js +202 -71
  39. package/dist/src/core/tasks.d.ts +21 -1
  40. package/dist/src/core/tasks.js +100 -10
  41. package/dist/src/gui-api.js +14 -4
  42. package/dist/src/mcp/start.d.ts +1 -1
  43. package/dist/src/mcp/start.js +4 -3
  44. package/dist/src/mcp/tools.js +86 -2
  45. package/dist/src/server/runner.js +4 -18
  46. package/gui/dist/assets/{index-BLhlceSY.css → index-CVwckTU6.css} +1 -1
  47. package/gui/dist/assets/index-G5uiHeLf.js +99 -0
  48. package/gui/dist/index.html +2 -2
  49. package/package.json +1 -1
  50. package/gui/dist/assets/index-Em4IQgbR.js +0 -98
@@ -1,4 +1,5 @@
1
1
  import { z } from "zod";
2
+ export { FollowUpViewSchema, type FollowUpView } from "./tasks-api.schema.js";
2
3
  /** Corps des requêtes et des réponses de la file de l'agent et de l'historique dans la GUI. */
3
4
  export declare const MAX_REQUEST_LENGTH = 10000;
4
5
  /** Types de demande que la GUI dépose directement (la review de test et la promotion d'idée ont leur propre route). */
@@ -18,6 +19,16 @@ export declare const UpdateRequestSchema: z.ZodObject<{
18
19
  text: z.ZodString;
19
20
  }, z.core.$strip>;
20
21
  export type UpdateRequest = z.infer<typeof UpdateRequestSchema>;
22
+ /** Suite d'une demande traitée : un message à l'agent, qui reprend la demande d'origine. */
23
+ export declare const CreateSuiteSchema: z.ZodObject<{
24
+ text: z.ZodString;
25
+ }, z.core.$strip>;
26
+ export type CreateSuite = z.infer<typeof CreateSuiteSchema>;
27
+ /** Coche ou décoche un point à régler. */
28
+ export declare const SetFollowUpDoneSchema: z.ZodObject<{
29
+ done: z.ZodBoolean;
30
+ }, z.core.$strict>;
31
+ export type SetFollowUpDone = z.infer<typeof SetFollowUpDoneSchema>;
21
32
  /** Action de l'agent telle que l'affichent la page Agent et le panneau assistant. */
22
33
  export declare const AgentActionViewSchema: z.ZodObject<{
23
34
  id: z.ZodString;
@@ -31,6 +42,7 @@ export declare const AgentActionViewSchema: z.ZodObject<{
31
42
  board_view: "board_view";
32
43
  checklist_item: "checklist_item";
33
44
  comment: "comment";
45
+ follow_up: "follow_up";
34
46
  idea: "idea";
35
47
  invitation: "invitation";
36
48
  membership: "membership";
@@ -95,8 +107,20 @@ export declare const RequestViewSchema: z.ZodObject<{
95
107
  title: z.ZodString;
96
108
  }, z.core.$strip>>;
97
109
  reply: z.ZodNullable<z.ZodString>;
98
- followUps: z.ZodArray<z.ZodString>;
110
+ followUps: z.ZodArray<z.ZodObject<{
111
+ id: z.ZodString;
112
+ text: z.ZodString;
113
+ doneAt: z.ZodNullable<z.ZodISODateTime>;
114
+ doneByName: z.ZodNullable<z.ZodString>;
115
+ doneByRequestId: z.ZodNullable<z.ZodString>;
116
+ }, z.core.$strip>>;
99
117
  failureReason: z.ZodNullable<z.ZodString>;
118
+ parent: z.ZodNullable<z.ZodObject<{
119
+ id: z.ZodString;
120
+ text: z.ZodString;
121
+ openFollowUps: z.ZodNumber;
122
+ }, z.core.$strip>>;
123
+ canFollowUp: z.ZodBoolean;
100
124
  createdAt: z.ZodISODateTime;
101
125
  updatedAt: z.ZodISODateTime;
102
126
  claimedAt: z.ZodNullable<z.ZodISODateTime>;
@@ -125,6 +149,7 @@ export declare const RequestViewSchema: z.ZodObject<{
125
149
  board_view: "board_view";
126
150
  checklist_item: "checklist_item";
127
151
  comment: "comment";
152
+ follow_up: "follow_up";
128
153
  idea: "idea";
129
154
  invitation: "invitation";
130
155
  membership: "membership";
@@ -189,8 +214,20 @@ export declare const RequestListResponseSchema: z.ZodObject<{
189
214
  title: z.ZodString;
190
215
  }, z.core.$strip>>;
191
216
  reply: z.ZodNullable<z.ZodString>;
192
- followUps: z.ZodArray<z.ZodString>;
217
+ followUps: z.ZodArray<z.ZodObject<{
218
+ id: z.ZodString;
219
+ text: z.ZodString;
220
+ doneAt: z.ZodNullable<z.ZodISODateTime>;
221
+ doneByName: z.ZodNullable<z.ZodString>;
222
+ doneByRequestId: z.ZodNullable<z.ZodString>;
223
+ }, z.core.$strip>>;
193
224
  failureReason: z.ZodNullable<z.ZodString>;
225
+ parent: z.ZodNullable<z.ZodObject<{
226
+ id: z.ZodString;
227
+ text: z.ZodString;
228
+ openFollowUps: z.ZodNumber;
229
+ }, z.core.$strip>>;
230
+ canFollowUp: z.ZodBoolean;
194
231
  createdAt: z.ZodISODateTime;
195
232
  updatedAt: z.ZodISODateTime;
196
233
  claimedAt: z.ZodNullable<z.ZodISODateTime>;
@@ -219,6 +256,7 @@ export declare const RequestListResponseSchema: z.ZodObject<{
219
256
  board_view: "board_view";
220
257
  checklist_item: "checklist_item";
221
258
  comment: "comment";
259
+ follow_up: "follow_up";
222
260
  idea: "idea";
223
261
  invitation: "invitation";
224
262
  membership: "membership";
@@ -1,7 +1,8 @@
1
1
  import { z } from "zod";
2
2
  import { ActorTypeSchema, AgentOperationSchema, EntityTypeSchema, RequestKindSchema, RequestStatusSchema } from "./enums.schema.js";
3
3
  import { IdSchema, TimestampSchema } from "./entities.schema.js";
4
- import { TaskRefSchema } from "./tasks-api.schema.js";
4
+ import { FollowUpViewSchema, TaskRefSchema } from "./tasks-api.schema.js";
5
+ export { FollowUpViewSchema } from "./tasks-api.schema.js";
5
6
  /** Corps des requêtes et des réponses de la file de l'agent et de l'historique dans la GUI. */
6
7
  export const MAX_REQUEST_LENGTH = 10_000;
7
8
  /** Types de demande que la GUI dépose directement (la review de test et la promotion d'idée ont leur propre route). */
@@ -18,6 +19,10 @@ export const CreateRequestSchema = z.object({
18
19
  contextTaskId: IdSchema.nullable().optional(),
19
20
  });
20
21
  export const UpdateRequestSchema = z.object({ text: RequestTextSchema });
22
+ /** Suite d'une demande traitée : un message à l'agent, qui reprend la demande d'origine. */
23
+ export const CreateSuiteSchema = z.object({ text: RequestTextSchema });
24
+ /** Coche ou décoche un point à régler. */
25
+ export const SetFollowUpDoneSchema = z.object({ done: z.boolean() }).strict();
21
26
  /** Action de l'agent telle que l'affichent la page Agent et le panneau assistant. */
22
27
  export const AgentActionViewSchema = z.object({
23
28
  id: IdSchema,
@@ -54,9 +59,13 @@ export const RequestViewSchema = z.object({
54
59
  targetSpaceName: z.string(),
55
60
  contextTask: TaskRefSchema.nullable(),
56
61
  reply: z.string().nullable(),
57
- /** Points que l'auteur doit encore régler, laissés par l'agent ; vide quand tout est traité. */
58
- followUps: z.array(z.string()),
62
+ /** Points à régler laissés par l'agent, cochés ou non, dans leur ordre. */
63
+ followUps: z.array(FollowUpViewSchema),
59
64
  failureReason: z.string().nullable(),
65
+ /** Demande d'origine dont celle-ci est une suite : son début et ses points encore ouverts. */
66
+ parent: z.object({ id: IdSchema, text: z.string(), openFollowUps: z.number().int().min(0) }).nullable(),
67
+ /** Vrai si l'utilisateur peut demander une suite à l'agent : membre de l'espace, demande d'origine traitée ou en échec. */
68
+ canFollowUp: z.boolean(),
60
69
  createdAt: TimestampSchema,
61
70
  updatedAt: TimestampSchema,
62
71
  claimedAt: TimestampSchema.nullable(),
@@ -51,6 +51,11 @@ export declare const CompleteRequestBodySchema: z.ZodObject<{
51
51
  export declare const FailRequestBodySchema: z.ZodObject<{
52
52
  reason: z.ZodString;
53
53
  }, z.core.$strict>;
54
+ /** `POST requests/:id/follow-ups` : points de la demande d'origine que la suite règle (ou rouvre, avec `done: false`). */
55
+ export declare const CheckFollowUpsBodySchema: z.ZodObject<{
56
+ follow_ups: z.ZodArray<z.ZodString>;
57
+ done: z.ZodDefault<z.ZodBoolean>;
58
+ }, z.core.$strict>;
54
59
  /** `GET tasks` : recherche par mots et filtres. */
55
60
  export declare const SearchTasksQuerySchema: z.ZodObject<{
56
61
  query: z.ZodOptional<z.ZodString>;
@@ -186,6 +191,81 @@ export declare const PromoteIdeaBodySchema: z.ZodObject<{
186
191
  }>>;
187
192
  parent: z.ZodOptional<z.ZodString>;
188
193
  }, z.core.$strict>;
194
+ /** `GET views` : vues de l'auteur de la demande. */
195
+ export declare const ListViewsQuerySchema: z.ZodObject<{
196
+ request_id: z.ZodString;
197
+ }, z.core.$strict>;
198
+ export declare const CreateViewBodySchema: z.ZodObject<{
199
+ layout: z.ZodOptional<z.ZodEnum<{
200
+ kanban: "kanban";
201
+ list: "list";
202
+ matrix: "matrix";
203
+ }>>;
204
+ group_by: z.ZodOptional<z.ZodEnum<{
205
+ none: "none";
206
+ priority: "priority";
207
+ status: "status";
208
+ }>>;
209
+ then_by: z.ZodOptional<z.ZodEnum<{
210
+ none: "none";
211
+ priority: "priority";
212
+ status: "status";
213
+ }>>;
214
+ show_empty_groups: z.ZodOptional<z.ZodBoolean>;
215
+ statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
216
+ doing: "doing";
217
+ done: "done";
218
+ review: "review";
219
+ todo: "todo";
220
+ }>>>;
221
+ priorities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
222
+ critical: "critical";
223
+ high: "high";
224
+ low: "low";
225
+ medium: "medium";
226
+ }>>>;
227
+ assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
228
+ unassigned: z.ZodOptional<z.ZodBoolean>;
229
+ request_id: z.ZodString;
230
+ name: z.ZodString;
231
+ }, z.core.$strict>;
232
+ export declare const UpdateViewBodySchema: z.ZodObject<{
233
+ name: z.ZodOptional<z.ZodString>;
234
+ layout: z.ZodOptional<z.ZodEnum<{
235
+ kanban: "kanban";
236
+ list: "list";
237
+ matrix: "matrix";
238
+ }>>;
239
+ group_by: z.ZodOptional<z.ZodEnum<{
240
+ none: "none";
241
+ priority: "priority";
242
+ status: "status";
243
+ }>>;
244
+ then_by: z.ZodOptional<z.ZodEnum<{
245
+ none: "none";
246
+ priority: "priority";
247
+ status: "status";
248
+ }>>;
249
+ show_empty_groups: z.ZodOptional<z.ZodBoolean>;
250
+ statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
251
+ doing: "doing";
252
+ done: "done";
253
+ review: "review";
254
+ todo: "todo";
255
+ }>>>;
256
+ priorities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
257
+ critical: "critical";
258
+ high: "high";
259
+ low: "low";
260
+ medium: "medium";
261
+ }>>>;
262
+ assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
263
+ unassigned: z.ZodOptional<z.ZodBoolean>;
264
+ request_id: z.ZodString;
265
+ }, z.core.$strict>;
266
+ export declare const DeleteViewBodySchema: z.ZodObject<{
267
+ request_id: z.ZodString;
268
+ }, z.core.$strict>;
189
269
  /** Enveloppe de toute réponse réussie : texte pour l'agent et données structurées. */
190
270
  export declare const AgentEnvelopeSchema: z.ZodObject<{
191
271
  text: z.ZodString;
@@ -242,6 +322,13 @@ export declare const AgentTaskSummarySchema: z.ZodObject<{
242
322
  tags: z.ZodArray<z.ZodString>;
243
323
  }, z.core.$strip>;
244
324
  export type AgentTaskSummary = z.infer<typeof AgentTaskSummarySchema>;
325
+ /** Point à régler laissé à l'auteur d'une demande, coché ou non. */
326
+ export declare const AgentFollowUpSchema: z.ZodObject<{
327
+ id: z.ZodString;
328
+ text: z.ZodString;
329
+ done: z.ZodBoolean;
330
+ }, z.core.$strip>;
331
+ export type AgentFollowUp = z.infer<typeof AgentFollowUpSchema>;
245
332
  export declare const AgentRequestSummarySchema: z.ZodObject<{
246
333
  id: z.ZodString;
247
334
  kind: z.ZodEnum<{
@@ -274,8 +361,13 @@ export declare const AgentRequestSummarySchema: z.ZodObject<{
274
361
  claimedAt: z.ZodNullable<z.ZodISODateTime>;
275
362
  claimedByThisToken: z.ZodBoolean;
276
363
  reply: z.ZodNullable<z.ZodString>;
277
- followUps: z.ZodArray<z.ZodString>;
364
+ followUps: z.ZodArray<z.ZodObject<{
365
+ id: z.ZodString;
366
+ text: z.ZodString;
367
+ done: z.ZodBoolean;
368
+ }, z.core.$strip>>;
278
369
  failureReason: z.ZodNullable<z.ZodString>;
370
+ parentRequestId: z.ZodNullable<z.ZodString>;
279
371
  }, z.core.$strip>;
280
372
  export type AgentRequestSummary = z.infer<typeof AgentRequestSummarySchema>;
281
373
  export declare const AgentIdeaSchema: z.ZodObject<{
@@ -328,8 +420,13 @@ export declare const ListRequestsDataSchema: z.ZodObject<{
328
420
  claimedAt: z.ZodNullable<z.ZodISODateTime>;
329
421
  claimedByThisToken: z.ZodBoolean;
330
422
  reply: z.ZodNullable<z.ZodString>;
331
- followUps: z.ZodArray<z.ZodString>;
423
+ followUps: z.ZodArray<z.ZodObject<{
424
+ id: z.ZodString;
425
+ text: z.ZodString;
426
+ done: z.ZodBoolean;
427
+ }, z.core.$strip>>;
332
428
  failureReason: z.ZodNullable<z.ZodString>;
429
+ parentRequestId: z.ZodNullable<z.ZodString>;
333
430
  }, z.core.$strip>>;
334
431
  }, z.core.$strip>;
335
432
  export declare const ClaimRequestDataSchema: z.ZodObject<{
@@ -365,8 +462,13 @@ export declare const ClaimRequestDataSchema: z.ZodObject<{
365
462
  claimedAt: z.ZodNullable<z.ZodISODateTime>;
366
463
  claimedByThisToken: z.ZodBoolean;
367
464
  reply: z.ZodNullable<z.ZodString>;
368
- followUps: z.ZodArray<z.ZodString>;
465
+ followUps: z.ZodArray<z.ZodObject<{
466
+ id: z.ZodString;
467
+ text: z.ZodString;
468
+ done: z.ZodBoolean;
469
+ }, z.core.$strip>>;
369
470
  failureReason: z.ZodNullable<z.ZodString>;
471
+ parentRequestId: z.ZodNullable<z.ZodString>;
370
472
  }, z.core.$strip>;
371
473
  history: z.ZodArray<z.ZodObject<{
372
474
  id: z.ZodString;
@@ -400,8 +502,101 @@ export declare const ClaimRequestDataSchema: z.ZodObject<{
400
502
  claimedAt: z.ZodNullable<z.ZodISODateTime>;
401
503
  claimedByThisToken: z.ZodBoolean;
402
504
  reply: z.ZodNullable<z.ZodString>;
403
- followUps: z.ZodArray<z.ZodString>;
505
+ followUps: z.ZodArray<z.ZodObject<{
506
+ id: z.ZodString;
507
+ text: z.ZodString;
508
+ done: z.ZodBoolean;
509
+ }, z.core.$strip>>;
404
510
  failureReason: z.ZodNullable<z.ZodString>;
511
+ parentRequestId: z.ZodNullable<z.ZodString>;
512
+ }, z.core.$strip>>;
513
+ thread: z.ZodNullable<z.ZodArray<z.ZodObject<{
514
+ authorName: z.ZodString;
515
+ byAgent: z.ZodBoolean;
516
+ body: z.ZodString;
517
+ createdAt: z.ZodISODateTime;
518
+ }, z.core.$strip>>>;
519
+ parent: z.ZodNullable<z.ZodObject<{
520
+ request: z.ZodObject<{
521
+ id: z.ZodString;
522
+ kind: z.ZodEnum<{
523
+ idea: "idea";
524
+ idea_promotion: "idea_promotion";
525
+ message: "message";
526
+ remark: "remark";
527
+ test_review: "test_review";
528
+ }>;
529
+ status: z.ZodEnum<{
530
+ cancelled: "cancelled";
531
+ done: "done";
532
+ failed: "failed";
533
+ pending: "pending";
534
+ processing: "processing";
535
+ }>;
536
+ text: z.ZodString;
537
+ author: z.ZodObject<{
538
+ id: z.ZodString;
539
+ name: z.ZodString;
540
+ email: z.ZodString;
541
+ }, z.core.$strip>;
542
+ contextTask: z.ZodNullable<z.ZodObject<{
543
+ id: z.ZodString;
544
+ key: z.ZodString;
545
+ title: z.ZodString;
546
+ }, z.core.$strip>>;
547
+ contextIdeaId: z.ZodNullable<z.ZodString>;
548
+ createdAt: z.ZodISODateTime;
549
+ claimedAt: z.ZodNullable<z.ZodISODateTime>;
550
+ claimedByThisToken: z.ZodBoolean;
551
+ reply: z.ZodNullable<z.ZodString>;
552
+ followUps: z.ZodArray<z.ZodObject<{
553
+ id: z.ZodString;
554
+ text: z.ZodString;
555
+ done: z.ZodBoolean;
556
+ }, z.core.$strip>>;
557
+ failureReason: z.ZodNullable<z.ZodString>;
558
+ parentRequestId: z.ZodNullable<z.ZodString>;
559
+ }, z.core.$strip>;
560
+ suites: z.ZodArray<z.ZodObject<{
561
+ id: z.ZodString;
562
+ kind: z.ZodEnum<{
563
+ idea: "idea";
564
+ idea_promotion: "idea_promotion";
565
+ message: "message";
566
+ remark: "remark";
567
+ test_review: "test_review";
568
+ }>;
569
+ status: z.ZodEnum<{
570
+ cancelled: "cancelled";
571
+ done: "done";
572
+ failed: "failed";
573
+ pending: "pending";
574
+ processing: "processing";
575
+ }>;
576
+ text: z.ZodString;
577
+ author: z.ZodObject<{
578
+ id: z.ZodString;
579
+ name: z.ZodString;
580
+ email: z.ZodString;
581
+ }, z.core.$strip>;
582
+ contextTask: z.ZodNullable<z.ZodObject<{
583
+ id: z.ZodString;
584
+ key: z.ZodString;
585
+ title: z.ZodString;
586
+ }, z.core.$strip>>;
587
+ contextIdeaId: z.ZodNullable<z.ZodString>;
588
+ createdAt: z.ZodISODateTime;
589
+ claimedAt: z.ZodNullable<z.ZodISODateTime>;
590
+ claimedByThisToken: z.ZodBoolean;
591
+ reply: z.ZodNullable<z.ZodString>;
592
+ followUps: z.ZodArray<z.ZodObject<{
593
+ id: z.ZodString;
594
+ text: z.ZodString;
595
+ done: z.ZodBoolean;
596
+ }, z.core.$strip>>;
597
+ failureReason: z.ZodNullable<z.ZodString>;
598
+ parentRequestId: z.ZodNullable<z.ZodString>;
599
+ }, z.core.$strip>>;
405
600
  }, z.core.$strip>>;
406
601
  instructions: z.ZodObject<{
407
602
  site: z.ZodNullable<z.ZodString>;
@@ -491,11 +686,59 @@ export declare const FinishRequestDataSchema: z.ZodObject<{
491
686
  claimedAt: z.ZodNullable<z.ZodISODateTime>;
492
687
  claimedByThisToken: z.ZodBoolean;
493
688
  reply: z.ZodNullable<z.ZodString>;
494
- followUps: z.ZodArray<z.ZodString>;
689
+ followUps: z.ZodArray<z.ZodObject<{
690
+ id: z.ZodString;
691
+ text: z.ZodString;
692
+ done: z.ZodBoolean;
693
+ }, z.core.$strip>>;
495
694
  failureReason: z.ZodNullable<z.ZodString>;
695
+ parentRequestId: z.ZodNullable<z.ZodString>;
496
696
  }, z.core.$strip>;
497
697
  actionCount: z.ZodNumber;
498
698
  }, z.core.$strip>;
699
+ /** Demande d'origine après que la suite a coché ou rouvert ses points. */
700
+ export declare const CheckFollowUpsDataSchema: z.ZodObject<{
701
+ request: z.ZodObject<{
702
+ id: z.ZodString;
703
+ kind: z.ZodEnum<{
704
+ idea: "idea";
705
+ idea_promotion: "idea_promotion";
706
+ message: "message";
707
+ remark: "remark";
708
+ test_review: "test_review";
709
+ }>;
710
+ status: z.ZodEnum<{
711
+ cancelled: "cancelled";
712
+ done: "done";
713
+ failed: "failed";
714
+ pending: "pending";
715
+ processing: "processing";
716
+ }>;
717
+ text: z.ZodString;
718
+ author: z.ZodObject<{
719
+ id: z.ZodString;
720
+ name: z.ZodString;
721
+ email: z.ZodString;
722
+ }, z.core.$strip>;
723
+ contextTask: z.ZodNullable<z.ZodObject<{
724
+ id: z.ZodString;
725
+ key: z.ZodString;
726
+ title: z.ZodString;
727
+ }, z.core.$strip>>;
728
+ contextIdeaId: z.ZodNullable<z.ZodString>;
729
+ createdAt: z.ZodISODateTime;
730
+ claimedAt: z.ZodNullable<z.ZodISODateTime>;
731
+ claimedByThisToken: z.ZodBoolean;
732
+ reply: z.ZodNullable<z.ZodString>;
733
+ followUps: z.ZodArray<z.ZodObject<{
734
+ id: z.ZodString;
735
+ text: z.ZodString;
736
+ done: z.ZodBoolean;
737
+ }, z.core.$strip>>;
738
+ failureReason: z.ZodNullable<z.ZodString>;
739
+ parentRequestId: z.ZodNullable<z.ZodString>;
740
+ }, z.core.$strip>;
741
+ }, z.core.$strip>;
499
742
  export declare const ContextDataSchema: z.ZodObject<{
500
743
  space: z.ZodObject<{
501
744
  id: z.ZodString;
@@ -783,6 +1026,125 @@ export declare const PromoteIdeaDataSchema: z.ZodObject<{
783
1026
  tags: z.ZodArray<z.ZodString>;
784
1027
  }, z.core.$strip>;
785
1028
  }, z.core.$strip>;
1029
+ /** Vue du tableau de bord d'un membre ; filtres vides : toutes les valeurs. */
1030
+ export declare const AgentViewSchema: z.ZodObject<{
1031
+ id: z.ZodString;
1032
+ name: z.ZodString;
1033
+ layout: z.ZodEnum<{
1034
+ kanban: "kanban";
1035
+ list: "list";
1036
+ matrix: "matrix";
1037
+ }>;
1038
+ groupBy: z.ZodEnum<{
1039
+ none: "none";
1040
+ priority: "priority";
1041
+ status: "status";
1042
+ }>;
1043
+ thenBy: z.ZodEnum<{
1044
+ none: "none";
1045
+ priority: "priority";
1046
+ status: "status";
1047
+ }>;
1048
+ showEmptyGroups: z.ZodBoolean;
1049
+ statuses: z.ZodArray<z.ZodEnum<{
1050
+ doing: "doing";
1051
+ done: "done";
1052
+ review: "review";
1053
+ todo: "todo";
1054
+ }>>;
1055
+ priorities: z.ZodArray<z.ZodEnum<{
1056
+ critical: "critical";
1057
+ high: "high";
1058
+ low: "low";
1059
+ medium: "medium";
1060
+ }>>;
1061
+ assigneeIds: z.ZodArray<z.ZodString>;
1062
+ unassigned: z.ZodBoolean;
1063
+ }, z.core.$strip>;
1064
+ export type AgentView = z.infer<typeof AgentViewSchema>;
1065
+ /** Vues de l'auteur de la demande, dans l'ordre de ses onglets. */
1066
+ export declare const ViewsDataSchema: z.ZodObject<{
1067
+ owner: z.ZodObject<{
1068
+ id: z.ZodString;
1069
+ name: z.ZodString;
1070
+ email: z.ZodString;
1071
+ }, z.core.$strip>;
1072
+ views: z.ZodArray<z.ZodObject<{
1073
+ id: z.ZodString;
1074
+ name: z.ZodString;
1075
+ layout: z.ZodEnum<{
1076
+ kanban: "kanban";
1077
+ list: "list";
1078
+ matrix: "matrix";
1079
+ }>;
1080
+ groupBy: z.ZodEnum<{
1081
+ none: "none";
1082
+ priority: "priority";
1083
+ status: "status";
1084
+ }>;
1085
+ thenBy: z.ZodEnum<{
1086
+ none: "none";
1087
+ priority: "priority";
1088
+ status: "status";
1089
+ }>;
1090
+ showEmptyGroups: z.ZodBoolean;
1091
+ statuses: z.ZodArray<z.ZodEnum<{
1092
+ doing: "doing";
1093
+ done: "done";
1094
+ review: "review";
1095
+ todo: "todo";
1096
+ }>>;
1097
+ priorities: z.ZodArray<z.ZodEnum<{
1098
+ critical: "critical";
1099
+ high: "high";
1100
+ low: "low";
1101
+ medium: "medium";
1102
+ }>>;
1103
+ assigneeIds: z.ZodArray<z.ZodString>;
1104
+ unassigned: z.ZodBoolean;
1105
+ }, z.core.$strip>>;
1106
+ }, z.core.$strip>;
1107
+ export declare const ViewDataSchema: z.ZodObject<{
1108
+ owner: z.ZodObject<{
1109
+ id: z.ZodString;
1110
+ name: z.ZodString;
1111
+ email: z.ZodString;
1112
+ }, z.core.$strip>;
1113
+ view: z.ZodObject<{
1114
+ id: z.ZodString;
1115
+ name: z.ZodString;
1116
+ layout: z.ZodEnum<{
1117
+ kanban: "kanban";
1118
+ list: "list";
1119
+ matrix: "matrix";
1120
+ }>;
1121
+ groupBy: z.ZodEnum<{
1122
+ none: "none";
1123
+ priority: "priority";
1124
+ status: "status";
1125
+ }>;
1126
+ thenBy: z.ZodEnum<{
1127
+ none: "none";
1128
+ priority: "priority";
1129
+ status: "status";
1130
+ }>;
1131
+ showEmptyGroups: z.ZodBoolean;
1132
+ statuses: z.ZodArray<z.ZodEnum<{
1133
+ doing: "doing";
1134
+ done: "done";
1135
+ review: "review";
1136
+ todo: "todo";
1137
+ }>>;
1138
+ priorities: z.ZodArray<z.ZodEnum<{
1139
+ critical: "critical";
1140
+ high: "high";
1141
+ low: "low";
1142
+ medium: "medium";
1143
+ }>>;
1144
+ assigneeIds: z.ZodArray<z.ZodString>;
1145
+ unassigned: z.ZodBoolean;
1146
+ }, z.core.$strip>;
1147
+ }, z.core.$strip>;
786
1148
  /** Présence d'un veilleur de notifications pour le jeton. */
787
1149
  export declare const AgentWatcherSchema: z.ZodObject<{
788
1150
  armed: z.ZodBoolean;
@@ -862,8 +1224,13 @@ export declare const WaitRequestsDataSchema: z.ZodObject<{
862
1224
  claimedAt: z.ZodNullable<z.ZodISODateTime>;
863
1225
  claimedByThisToken: z.ZodBoolean;
864
1226
  reply: z.ZodNullable<z.ZodString>;
865
- followUps: z.ZodArray<z.ZodString>;
1227
+ followUps: z.ZodArray<z.ZodObject<{
1228
+ id: z.ZodString;
1229
+ text: z.ZodString;
1230
+ done: z.ZodBoolean;
1231
+ }, z.core.$strip>>;
866
1232
  failureReason: z.ZodNullable<z.ZodString>;
1233
+ parentRequestId: z.ZodNullable<z.ZodString>;
867
1234
  }, z.core.$strip>>;
868
1235
  cursor: z.ZodISODateTime;
869
1236
  timedOut: z.ZodBoolean;