@zinn-dev/cli 0.45.0 → 0.47.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/README.md +1 -1
- package/package.json +3 -3
- package/skills/zinn/SKILL.md +2 -2
- package/src/actor.d.ts +1 -1
- package/src/actor.js +4 -1
- package/src/capabilities-schema.d.ts +78 -0
- package/src/capabilities-schema.js +44 -0
- package/src/capabilities.d.ts +2 -0
- package/src/capabilities.js +2 -0
- package/src/column-hint.js +2 -9
- package/src/errors.d.ts +5 -0
- package/src/errors.js +19 -5
- package/src/input.d.ts +30 -0
- package/src/input.js +18 -0
- package/src/lib.d.ts +75 -6
- package/src/lib.js +121 -33
- package/src/presentation/activity-presentation.d.ts +2 -1
- package/src/presentation/activity-presentation.js +23 -6
- package/src/presentation/color.d.ts +12 -0
- package/src/presentation/color.js +12 -0
- package/src/presentation/doctor-presentation.d.ts +7 -1
- package/src/presentation/doctor-presentation.js +6 -2
- package/src/presentation/project-presentation.d.ts +4 -1
- package/src/presentation/project-presentation.js +18 -0
- package/src/presentation/relation-presentation.js +8 -20
- package/src/presentation/section.d.ts +7 -4
- package/src/presentation/section.js +21 -7
- package/src/presentation/skill-status-presentation.d.ts +9 -0
- package/src/presentation/skill-status-presentation.js +43 -0
- package/src/presentation/task-blame-presentation.d.ts +3 -1
- package/src/presentation/task-blame-presentation.js +7 -5
- package/src/presentation/task-presentation.d.ts +28 -5
- package/src/presentation/task-presentation.js +120 -42
- package/src/result-schemas.d.ts +230 -14
- package/src/result-schemas.js +52 -0
- package/src/routes/activity-router.d.ts +5 -3
- package/src/routes/activity-router.js +44 -33
- package/src/routes/backup-router.d.ts +1 -0
- package/src/routes/backup-router.js +6 -12
- package/src/routes/capabilities-router.d.ts +1 -0
- package/src/routes/capabilities-router.js +3 -10
- package/src/routes/comment-router.d.ts +7 -6
- package/src/routes/comment-router.js +18 -66
- package/src/routes/doctor-router.d.ts +1 -0
- package/src/routes/doctor-router.js +35 -62
- package/src/routes/info-router.d.ts +1 -0
- package/src/routes/info-router.js +3 -10
- package/src/routes/label-router.d.ts +5 -0
- package/src/routes/label-router.js +11 -48
- package/src/routes/migrate-router.d.ts +1 -0
- package/src/routes/migrate-router.js +7 -16
- package/src/routes/project-router.d.ts +10 -0
- package/src/routes/project-router.js +42 -121
- package/src/routes/reindex-router.d.ts +1 -0
- package/src/routes/reindex-router.js +3 -10
- package/src/routes/relation-router.d.ts +13 -4
- package/src/routes/relation-router.js +15 -23
- package/src/routes/restore-router.d.ts +1 -0
- package/src/routes/restore-router.js +5 -15
- package/src/routes/router.js +33 -12
- package/src/routes/routes.d.ts +142 -32
- package/src/routes/skill-router.d.ts +53 -2
- package/src/routes/skill-router.js +103 -35
- package/src/routes/task-router.d.ts +61 -28
- package/src/routes/task-router.js +224 -263
- package/src/routes/whoami-router.d.ts +1 -0
- package/src/routes/whoami-router.js +3 -10
- package/src/skill-copies.d.ts +34 -0
- package/src/skill-copies.js +109 -0
- package/src/telemetry.d.ts +2 -2
- package/src/telemetry.js +11 -7
- package/src/types.d.ts +9 -1
- package/src/types.js +6 -0
- package/src/views.d.ts +117 -0
- package/src/views.js +54 -0
package/src/result-schemas.d.ts
CHANGED
|
@@ -62,16 +62,16 @@ export declare const relationSchema: z.ZodObject<{
|
|
|
62
62
|
id: z.ZodString;
|
|
63
63
|
column: z.ZodString;
|
|
64
64
|
key: z.ZodString;
|
|
65
|
-
project_id: z.ZodString;
|
|
66
65
|
status: z.ZodEnum<{
|
|
67
66
|
Active: "Active";
|
|
68
67
|
Archived: "Archived";
|
|
69
68
|
}>;
|
|
69
|
+
title: z.ZodString;
|
|
70
|
+
project_id: z.ZodString;
|
|
70
71
|
column_id: z.ZodString;
|
|
71
72
|
is_first: z.ZodBoolean;
|
|
72
73
|
is_last: z.ZodBoolean;
|
|
73
74
|
column_category: z.ZodNullable<z.ZodString>;
|
|
74
|
-
title: z.ZodString;
|
|
75
75
|
}, z.core.$strict>;
|
|
76
76
|
}, z.core.$strict>;
|
|
77
77
|
export declare const relationChangeSchema: z.ZodObject<{
|
|
@@ -103,8 +103,10 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
103
103
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
104
104
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
105
105
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
106
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
106
107
|
entity_type: z.ZodString;
|
|
107
108
|
entity_id: z.ZodString;
|
|
109
|
+
task_key: z.ZodNullable<z.ZodString>;
|
|
108
110
|
action: z.ZodString;
|
|
109
111
|
changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
|
|
110
112
|
}, z.core.$strict>;
|
|
@@ -119,6 +121,7 @@ export declare const actorSchema: z.ZodObject<{
|
|
|
119
121
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
120
122
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
121
123
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
124
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
122
125
|
}, z.core.$strict>;
|
|
123
126
|
export declare const taskAttributionSchema: z.ZodObject<{
|
|
124
127
|
actor_kind: z.ZodString;
|
|
@@ -131,6 +134,7 @@ export declare const taskAttributionSchema: z.ZodObject<{
|
|
|
131
134
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
132
135
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
133
136
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
137
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
134
138
|
id: z.ZodString;
|
|
135
139
|
created_at: z.ZodNumber;
|
|
136
140
|
}, z.core.$strict>;
|
|
@@ -181,16 +185,16 @@ export declare const taskDetailSchema: z.ZodObject<{
|
|
|
181
185
|
id: z.ZodString;
|
|
182
186
|
column: z.ZodString;
|
|
183
187
|
key: z.ZodString;
|
|
184
|
-
project_id: z.ZodString;
|
|
185
188
|
status: z.ZodEnum<{
|
|
186
189
|
Active: "Active";
|
|
187
190
|
Archived: "Archived";
|
|
188
191
|
}>;
|
|
192
|
+
title: z.ZodString;
|
|
193
|
+
project_id: z.ZodString;
|
|
189
194
|
column_id: z.ZodString;
|
|
190
195
|
is_first: z.ZodBoolean;
|
|
191
196
|
is_last: z.ZodBoolean;
|
|
192
197
|
column_category: z.ZodNullable<z.ZodString>;
|
|
193
|
-
title: z.ZodString;
|
|
194
198
|
}, z.core.$strict>;
|
|
195
199
|
}, z.core.$strict>>;
|
|
196
200
|
comments: z.ZodArray<z.ZodObject<{
|
|
@@ -249,16 +253,16 @@ export declare const taskDetailHistorySchema: z.ZodObject<{
|
|
|
249
253
|
id: z.ZodString;
|
|
250
254
|
column: z.ZodString;
|
|
251
255
|
key: z.ZodString;
|
|
252
|
-
project_id: z.ZodString;
|
|
253
256
|
status: z.ZodEnum<{
|
|
254
257
|
Active: "Active";
|
|
255
258
|
Archived: "Archived";
|
|
256
259
|
}>;
|
|
260
|
+
title: z.ZodString;
|
|
261
|
+
project_id: z.ZodString;
|
|
257
262
|
column_id: z.ZodString;
|
|
258
263
|
is_first: z.ZodBoolean;
|
|
259
264
|
is_last: z.ZodBoolean;
|
|
260
265
|
column_category: z.ZodNullable<z.ZodString>;
|
|
261
|
-
title: z.ZodString;
|
|
262
266
|
}, z.core.$strict>;
|
|
263
267
|
}, z.core.$strict>>;
|
|
264
268
|
comments: z.ZodArray<z.ZodObject<{
|
|
@@ -282,8 +286,10 @@ export declare const taskDetailHistorySchema: z.ZodObject<{
|
|
|
282
286
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
283
287
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
284
288
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
289
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
285
290
|
entity_type: z.ZodString;
|
|
286
291
|
entity_id: z.ZodString;
|
|
292
|
+
task_key: z.ZodNullable<z.ZodString>;
|
|
287
293
|
action: z.ZodString;
|
|
288
294
|
changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
|
|
289
295
|
}, z.core.$strict>>;
|
|
@@ -423,6 +429,7 @@ export declare const taskBlameSchema: z.ZodObject<{
|
|
|
423
429
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
424
430
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
425
431
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
432
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
426
433
|
id: z.ZodString;
|
|
427
434
|
created_at: z.ZodNumber;
|
|
428
435
|
}, z.core.$strict>>;
|
|
@@ -443,6 +450,7 @@ export declare const taskBlameSchema: z.ZodObject<{
|
|
|
443
450
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
444
451
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
445
452
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
453
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
446
454
|
id: z.ZodString;
|
|
447
455
|
created_at: z.ZodNumber;
|
|
448
456
|
}, z.core.$strict>>;
|
|
@@ -460,6 +468,7 @@ export declare const taskBlameSchema: z.ZodObject<{
|
|
|
460
468
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
461
469
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
462
470
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
471
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
463
472
|
id: z.ZodString;
|
|
464
473
|
created_at: z.ZodNumber;
|
|
465
474
|
}, z.core.$strict>>;
|
|
@@ -477,6 +486,7 @@ export declare const taskBlameSchema: z.ZodObject<{
|
|
|
477
486
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
478
487
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
479
488
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
489
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
480
490
|
id: z.ZodString;
|
|
481
491
|
created_at: z.ZodNumber;
|
|
482
492
|
}, z.core.$strict>>;
|
|
@@ -497,6 +507,7 @@ export declare const taskBlameSchema: z.ZodObject<{
|
|
|
497
507
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
498
508
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
499
509
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
510
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
500
511
|
id: z.ZodString;
|
|
501
512
|
created_at: z.ZodNumber;
|
|
502
513
|
}, z.core.$strict>>;
|
|
@@ -517,6 +528,7 @@ export declare const taskBlameSchema: z.ZodObject<{
|
|
|
517
528
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
518
529
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
519
530
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
531
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
520
532
|
id: z.ZodString;
|
|
521
533
|
created_at: z.ZodNumber;
|
|
522
534
|
}, z.core.$strict>>;
|
|
@@ -544,6 +556,7 @@ export declare const taskBlameSchema: z.ZodObject<{
|
|
|
544
556
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
545
557
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
546
558
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
559
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
547
560
|
id: z.ZodString;
|
|
548
561
|
created_at: z.ZodNumber;
|
|
549
562
|
}, z.core.$strict>>;
|
|
@@ -562,6 +575,7 @@ export declare const taskBlameSchema: z.ZodObject<{
|
|
|
562
575
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
563
576
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
564
577
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
578
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
565
579
|
id: z.ZodString;
|
|
566
580
|
created_at: z.ZodNumber;
|
|
567
581
|
}, z.core.$strict>>;
|
|
@@ -792,6 +806,33 @@ export declare const backupSchema: z.ZodObject<{
|
|
|
792
806
|
export declare const skillInstallSchema: z.ZodObject<{
|
|
793
807
|
source: z.ZodString;
|
|
794
808
|
}, z.core.$strict>;
|
|
809
|
+
export declare const skillUninstallSchema: z.ZodObject<{
|
|
810
|
+
removed: z.ZodArray<z.ZodObject<{
|
|
811
|
+
path: z.ZodString;
|
|
812
|
+
scope: z.ZodEnum<{
|
|
813
|
+
project: "project";
|
|
814
|
+
home: "home";
|
|
815
|
+
}>;
|
|
816
|
+
}, z.core.$strict>>;
|
|
817
|
+
}, z.core.$strict>;
|
|
818
|
+
export declare const skillStatusSchema: z.ZodObject<{
|
|
819
|
+
bundled: z.ZodObject<{
|
|
820
|
+
path: z.ZodString;
|
|
821
|
+
reviewedVersion: z.ZodNullable<z.ZodString>;
|
|
822
|
+
}, z.core.$strict>;
|
|
823
|
+
copies: z.ZodArray<z.ZodObject<{
|
|
824
|
+
path: z.ZodString;
|
|
825
|
+
links: z.ZodArray<z.ZodString>;
|
|
826
|
+
scope: z.ZodEnum<{
|
|
827
|
+
project: "project";
|
|
828
|
+
home: "home";
|
|
829
|
+
}>;
|
|
830
|
+
reviewedVersion: z.ZodNullable<z.ZodString>;
|
|
831
|
+
matches: z.ZodBoolean;
|
|
832
|
+
readable: z.ZodBoolean;
|
|
833
|
+
remedy: z.ZodNullable<z.ZodString>;
|
|
834
|
+
}, z.core.$strict>>;
|
|
835
|
+
}, z.core.$strict>;
|
|
795
836
|
export declare const restoreSchema: z.ZodObject<{
|
|
796
837
|
databasePath: z.ZodString;
|
|
797
838
|
previousVersion: z.ZodNumber;
|
|
@@ -884,6 +925,57 @@ export declare const resultSchemas: {
|
|
|
884
925
|
expires_at: z.ZodNumber;
|
|
885
926
|
}, z.core.$strict>>;
|
|
886
927
|
}, z.core.$strict>>;
|
|
928
|
+
TaskSearchResults: z.ZodArray<z.ZodObject<{
|
|
929
|
+
id: z.ZodString;
|
|
930
|
+
key: z.ZodString;
|
|
931
|
+
project_id: z.ZodString;
|
|
932
|
+
status: z.ZodEnum<{
|
|
933
|
+
Active: "Active";
|
|
934
|
+
Archived: "Archived";
|
|
935
|
+
}>;
|
|
936
|
+
column: z.ZodString;
|
|
937
|
+
column_id: z.ZodString;
|
|
938
|
+
is_first: z.ZodBoolean;
|
|
939
|
+
is_last: z.ZodBoolean;
|
|
940
|
+
column_category: z.ZodNullable<z.ZodString>;
|
|
941
|
+
title: z.ZodString;
|
|
942
|
+
description: z.ZodNullable<z.ZodString>;
|
|
943
|
+
priority: z.ZodNullable<z.ZodString>;
|
|
944
|
+
due_at: z.ZodNullable<z.ZodNumber>;
|
|
945
|
+
labels: z.ZodArray<z.ZodString>;
|
|
946
|
+
label_ids: z.ZodArray<z.ZodString>;
|
|
947
|
+
created_at: z.ZodNumber;
|
|
948
|
+
updated_at: z.ZodNumber;
|
|
949
|
+
claim: z.ZodNullable<z.ZodObject<{
|
|
950
|
+
state: z.ZodEnum<{
|
|
951
|
+
live: "live";
|
|
952
|
+
expired: "expired";
|
|
953
|
+
}>;
|
|
954
|
+
actor_kind: z.ZodString;
|
|
955
|
+
actor_name: z.ZodNullable<z.ZodString>;
|
|
956
|
+
actor_session_id: z.ZodNullable<z.ZodString>;
|
|
957
|
+
actor_thread_id: z.ZodNullable<z.ZodString>;
|
|
958
|
+
claimed_at: z.ZodNumber;
|
|
959
|
+
renewed_at: z.ZodNumber;
|
|
960
|
+
worked_at: z.ZodNumber;
|
|
961
|
+
lease_ms: z.ZodNumber;
|
|
962
|
+
expires_at: z.ZodNumber;
|
|
963
|
+
}, z.core.$strict>>;
|
|
964
|
+
matches: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
965
|
+
snippet: z.ZodString;
|
|
966
|
+
highlights: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
967
|
+
field: z.ZodEnum<{
|
|
968
|
+
description: "description";
|
|
969
|
+
key: "key";
|
|
970
|
+
title: "title";
|
|
971
|
+
}>;
|
|
972
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
973
|
+
snippet: z.ZodString;
|
|
974
|
+
highlights: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
975
|
+
field: z.ZodLiteral<"comment">;
|
|
976
|
+
comment_key: z.ZodString;
|
|
977
|
+
}, z.core.$strict>], "field">>;
|
|
978
|
+
}, z.core.$strict>>;
|
|
887
979
|
NextTask: z.ZodNullable<z.ZodObject<{
|
|
888
980
|
id: z.ZodString;
|
|
889
981
|
key: z.ZodString;
|
|
@@ -968,16 +1060,16 @@ export declare const resultSchemas: {
|
|
|
968
1060
|
id: z.ZodString;
|
|
969
1061
|
column: z.ZodString;
|
|
970
1062
|
key: z.ZodString;
|
|
971
|
-
project_id: z.ZodString;
|
|
972
1063
|
status: z.ZodEnum<{
|
|
973
1064
|
Active: "Active";
|
|
974
1065
|
Archived: "Archived";
|
|
975
1066
|
}>;
|
|
1067
|
+
title: z.ZodString;
|
|
1068
|
+
project_id: z.ZodString;
|
|
976
1069
|
column_id: z.ZodString;
|
|
977
1070
|
is_first: z.ZodBoolean;
|
|
978
1071
|
is_last: z.ZodBoolean;
|
|
979
1072
|
column_category: z.ZodNullable<z.ZodString>;
|
|
980
|
-
title: z.ZodString;
|
|
981
1073
|
}, z.core.$strict>;
|
|
982
1074
|
}, z.core.$strict>>;
|
|
983
1075
|
comments: z.ZodArray<z.ZodObject<{
|
|
@@ -1008,6 +1100,7 @@ export declare const resultSchemas: {
|
|
|
1008
1100
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
1009
1101
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1010
1102
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
1103
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
1011
1104
|
id: z.ZodString;
|
|
1012
1105
|
created_at: z.ZodNumber;
|
|
1013
1106
|
}, z.core.$strict>>;
|
|
@@ -1028,6 +1121,7 @@ export declare const resultSchemas: {
|
|
|
1028
1121
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
1029
1122
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1030
1123
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
1124
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
1031
1125
|
id: z.ZodString;
|
|
1032
1126
|
created_at: z.ZodNumber;
|
|
1033
1127
|
}, z.core.$strict>>;
|
|
@@ -1045,6 +1139,7 @@ export declare const resultSchemas: {
|
|
|
1045
1139
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
1046
1140
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1047
1141
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
1142
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
1048
1143
|
id: z.ZodString;
|
|
1049
1144
|
created_at: z.ZodNumber;
|
|
1050
1145
|
}, z.core.$strict>>;
|
|
@@ -1062,6 +1157,7 @@ export declare const resultSchemas: {
|
|
|
1062
1157
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
1063
1158
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1064
1159
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
1160
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
1065
1161
|
id: z.ZodString;
|
|
1066
1162
|
created_at: z.ZodNumber;
|
|
1067
1163
|
}, z.core.$strict>>;
|
|
@@ -1082,6 +1178,7 @@ export declare const resultSchemas: {
|
|
|
1082
1178
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
1083
1179
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1084
1180
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
1181
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
1085
1182
|
id: z.ZodString;
|
|
1086
1183
|
created_at: z.ZodNumber;
|
|
1087
1184
|
}, z.core.$strict>>;
|
|
@@ -1102,6 +1199,7 @@ export declare const resultSchemas: {
|
|
|
1102
1199
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
1103
1200
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1104
1201
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
1202
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
1105
1203
|
id: z.ZodString;
|
|
1106
1204
|
created_at: z.ZodNumber;
|
|
1107
1205
|
}, z.core.$strict>>;
|
|
@@ -1129,6 +1227,7 @@ export declare const resultSchemas: {
|
|
|
1129
1227
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
1130
1228
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1131
1229
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
1230
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
1132
1231
|
id: z.ZodString;
|
|
1133
1232
|
created_at: z.ZodNumber;
|
|
1134
1233
|
}, z.core.$strict>>;
|
|
@@ -1147,6 +1246,7 @@ export declare const resultSchemas: {
|
|
|
1147
1246
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
1148
1247
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1149
1248
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
1249
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
1150
1250
|
id: z.ZodString;
|
|
1151
1251
|
created_at: z.ZodNumber;
|
|
1152
1252
|
}, z.core.$strict>>;
|
|
@@ -1199,16 +1299,16 @@ export declare const resultSchemas: {
|
|
|
1199
1299
|
id: z.ZodString;
|
|
1200
1300
|
column: z.ZodString;
|
|
1201
1301
|
key: z.ZodString;
|
|
1202
|
-
project_id: z.ZodString;
|
|
1203
1302
|
status: z.ZodEnum<{
|
|
1204
1303
|
Active: "Active";
|
|
1205
1304
|
Archived: "Archived";
|
|
1206
1305
|
}>;
|
|
1306
|
+
title: z.ZodString;
|
|
1307
|
+
project_id: z.ZodString;
|
|
1207
1308
|
column_id: z.ZodString;
|
|
1208
1309
|
is_first: z.ZodBoolean;
|
|
1209
1310
|
is_last: z.ZodBoolean;
|
|
1210
1311
|
column_category: z.ZodNullable<z.ZodString>;
|
|
1211
|
-
title: z.ZodString;
|
|
1212
1312
|
}, z.core.$strict>;
|
|
1213
1313
|
}, z.core.$strict>>;
|
|
1214
1314
|
comments: z.ZodArray<z.ZodObject<{
|
|
@@ -1232,8 +1332,10 @@ export declare const resultSchemas: {
|
|
|
1232
1332
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
1233
1333
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1234
1334
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
1335
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
1235
1336
|
entity_type: z.ZodString;
|
|
1236
1337
|
entity_id: z.ZodString;
|
|
1338
|
+
task_key: z.ZodNullable<z.ZodString>;
|
|
1237
1339
|
action: z.ZodString;
|
|
1238
1340
|
changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
|
|
1239
1341
|
}, z.core.$strict>>;
|
|
@@ -1325,16 +1427,16 @@ export declare const resultSchemas: {
|
|
|
1325
1427
|
id: z.ZodString;
|
|
1326
1428
|
column: z.ZodString;
|
|
1327
1429
|
key: z.ZodString;
|
|
1328
|
-
project_id: z.ZodString;
|
|
1329
1430
|
status: z.ZodEnum<{
|
|
1330
1431
|
Active: "Active";
|
|
1331
1432
|
Archived: "Archived";
|
|
1332
1433
|
}>;
|
|
1434
|
+
title: z.ZodString;
|
|
1435
|
+
project_id: z.ZodString;
|
|
1333
1436
|
column_id: z.ZodString;
|
|
1334
1437
|
is_first: z.ZodBoolean;
|
|
1335
1438
|
is_last: z.ZodBoolean;
|
|
1336
1439
|
column_category: z.ZodNullable<z.ZodString>;
|
|
1337
|
-
title: z.ZodString;
|
|
1338
1440
|
}, z.core.$strict>;
|
|
1339
1441
|
}, z.core.$strict>;
|
|
1340
1442
|
RelationList: z.ZodArray<z.ZodObject<{
|
|
@@ -1348,16 +1450,16 @@ export declare const resultSchemas: {
|
|
|
1348
1450
|
id: z.ZodString;
|
|
1349
1451
|
column: z.ZodString;
|
|
1350
1452
|
key: z.ZodString;
|
|
1351
|
-
project_id: z.ZodString;
|
|
1352
1453
|
status: z.ZodEnum<{
|
|
1353
1454
|
Active: "Active";
|
|
1354
1455
|
Archived: "Archived";
|
|
1355
1456
|
}>;
|
|
1457
|
+
title: z.ZodString;
|
|
1458
|
+
project_id: z.ZodString;
|
|
1356
1459
|
column_id: z.ZodString;
|
|
1357
1460
|
is_first: z.ZodBoolean;
|
|
1358
1461
|
is_last: z.ZodBoolean;
|
|
1359
1462
|
column_category: z.ZodNullable<z.ZodString>;
|
|
1360
|
-
title: z.ZodString;
|
|
1361
1463
|
}, z.core.$strict>;
|
|
1362
1464
|
}, z.core.$strict>>;
|
|
1363
1465
|
RelationChange: z.ZodObject<{
|
|
@@ -1498,8 +1600,10 @@ export declare const resultSchemas: {
|
|
|
1498
1600
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
1499
1601
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1500
1602
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
1603
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
1501
1604
|
entity_type: z.ZodString;
|
|
1502
1605
|
entity_id: z.ZodString;
|
|
1606
|
+
task_key: z.ZodNullable<z.ZodString>;
|
|
1503
1607
|
action: z.ZodString;
|
|
1504
1608
|
changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
|
|
1505
1609
|
}, z.core.$strict>;
|
|
@@ -1516,8 +1620,10 @@ export declare const resultSchemas: {
|
|
|
1516
1620
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
1517
1621
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1518
1622
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
1623
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
1519
1624
|
entity_type: z.ZodString;
|
|
1520
1625
|
entity_id: z.ZodString;
|
|
1626
|
+
task_key: z.ZodNullable<z.ZodString>;
|
|
1521
1627
|
action: z.ZodString;
|
|
1522
1628
|
changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
|
|
1523
1629
|
}, z.core.$strict>>;
|
|
@@ -1532,6 +1638,7 @@ export declare const resultSchemas: {
|
|
|
1532
1638
|
actor_model: z.ZodNullable<z.ZodString>;
|
|
1533
1639
|
actor_effort: z.ZodNullable<z.ZodString>;
|
|
1534
1640
|
actor_client: z.ZodNullable<z.ZodString>;
|
|
1641
|
+
actor_directory: z.ZodNullable<z.ZodString>;
|
|
1535
1642
|
}, z.core.$strict>;
|
|
1536
1643
|
Info: z.ZodObject<{
|
|
1537
1644
|
settingsFiles: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1703,6 +1810,33 @@ export declare const resultSchemas: {
|
|
|
1703
1810
|
SkillInstall: z.ZodObject<{
|
|
1704
1811
|
source: z.ZodString;
|
|
1705
1812
|
}, z.core.$strict>;
|
|
1813
|
+
SkillUninstall: z.ZodObject<{
|
|
1814
|
+
removed: z.ZodArray<z.ZodObject<{
|
|
1815
|
+
path: z.ZodString;
|
|
1816
|
+
scope: z.ZodEnum<{
|
|
1817
|
+
project: "project";
|
|
1818
|
+
home: "home";
|
|
1819
|
+
}>;
|
|
1820
|
+
}, z.core.$strict>>;
|
|
1821
|
+
}, z.core.$strict>;
|
|
1822
|
+
SkillStatus: z.ZodObject<{
|
|
1823
|
+
bundled: z.ZodObject<{
|
|
1824
|
+
path: z.ZodString;
|
|
1825
|
+
reviewedVersion: z.ZodNullable<z.ZodString>;
|
|
1826
|
+
}, z.core.$strict>;
|
|
1827
|
+
copies: z.ZodArray<z.ZodObject<{
|
|
1828
|
+
path: z.ZodString;
|
|
1829
|
+
links: z.ZodArray<z.ZodString>;
|
|
1830
|
+
scope: z.ZodEnum<{
|
|
1831
|
+
project: "project";
|
|
1832
|
+
home: "home";
|
|
1833
|
+
}>;
|
|
1834
|
+
reviewedVersion: z.ZodNullable<z.ZodString>;
|
|
1835
|
+
matches: z.ZodBoolean;
|
|
1836
|
+
readable: z.ZodBoolean;
|
|
1837
|
+
remedy: z.ZodNullable<z.ZodString>;
|
|
1838
|
+
}, z.core.$strict>>;
|
|
1839
|
+
}, z.core.$strict>;
|
|
1706
1840
|
ErrorEnvelope: z.ZodObject<{
|
|
1707
1841
|
error: z.ZodObject<{
|
|
1708
1842
|
code: z.ZodEnum<{
|
|
@@ -1766,6 +1900,7 @@ export declare const resultSchemas: {
|
|
|
1766
1900
|
unmarked_database: "unmarked_database";
|
|
1767
1901
|
newer_database: "newer_database";
|
|
1768
1902
|
older_database: "older_database";
|
|
1903
|
+
migration_paused: "migration_paused";
|
|
1769
1904
|
invalid_backup: "invalid_backup";
|
|
1770
1905
|
busy: "busy";
|
|
1771
1906
|
locked: "locked";
|
|
@@ -1786,6 +1921,7 @@ export declare const resultSchemas: {
|
|
|
1786
1921
|
databasePath: z.ZodOptional<z.ZodString>;
|
|
1787
1922
|
backupDirectory: z.ZodOptional<z.ZodString>;
|
|
1788
1923
|
backupPath: z.ZodOptional<z.ZodString>;
|
|
1924
|
+
applied: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1789
1925
|
schemaVersion: z.ZodOptional<z.ZodNumber>;
|
|
1790
1926
|
supportedSchemaVersion: z.ZodOptional<z.ZodNumber>;
|
|
1791
1927
|
expectedColumn: z.ZodOptional<z.ZodString>;
|
|
@@ -1815,6 +1951,7 @@ export declare const resultSchemas: {
|
|
|
1815
1951
|
string: "string";
|
|
1816
1952
|
boolean: "boolean";
|
|
1817
1953
|
}>;
|
|
1954
|
+
aliases: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1818
1955
|
short: z.ZodOptional<z.ZodString>;
|
|
1819
1956
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
1820
1957
|
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>>;
|
|
@@ -1860,6 +1997,7 @@ export declare const resultSchemas: {
|
|
|
1860
1997
|
string: "string";
|
|
1861
1998
|
boolean: "boolean";
|
|
1862
1999
|
}>;
|
|
2000
|
+
aliases: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1863
2001
|
short: z.ZodOptional<z.ZodString>;
|
|
1864
2002
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
1865
2003
|
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>>;
|
|
@@ -1925,6 +2063,10 @@ export declare const resultSchemas: {
|
|
|
1925
2063
|
restore: "restore";
|
|
1926
2064
|
inspect: "inspect";
|
|
1927
2065
|
}>;
|
|
2066
|
+
external: z.ZodArray<z.ZodEnum<{
|
|
2067
|
+
files: "files";
|
|
2068
|
+
network: "network";
|
|
2069
|
+
}>>;
|
|
1928
2070
|
}, z.core.$strict>;
|
|
1929
2071
|
confirmation: z.ZodObject<{
|
|
1930
2072
|
kind: z.ZodEnum<{
|
|
@@ -1962,6 +2104,78 @@ export declare const resultSchemas: {
|
|
|
1962
2104
|
exitCode: z.ZodLiteral<1>;
|
|
1963
2105
|
stream: z.ZodLiteral<"stderr">;
|
|
1964
2106
|
}, z.core.$strict>;
|
|
2107
|
+
views: z.ZodObject<{
|
|
2108
|
+
version: z.ZodLiteral<"1.0">;
|
|
2109
|
+
taskDetail: z.ZodObject<{
|
|
2110
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
2111
|
+
id: z.ZodString;
|
|
2112
|
+
rank: z.ZodNumber;
|
|
2113
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
2114
|
+
short: z.ZodOptional<z.ZodEnum<{
|
|
2115
|
+
keys: "keys";
|
|
2116
|
+
firstParagraph: "firstParagraph";
|
|
2117
|
+
countAndLatest: "countAndLatest";
|
|
2118
|
+
}>>;
|
|
2119
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2120
|
+
role: z.ZodString;
|
|
2121
|
+
rank: z.ZodNumber;
|
|
2122
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2123
|
+
}, z.core.$strict>>>;
|
|
2124
|
+
onRequest: z.ZodOptional<z.ZodBoolean>;
|
|
2125
|
+
}, z.core.$strict>>;
|
|
2126
|
+
}, z.core.$strict>;
|
|
2127
|
+
words: z.ZodObject<{
|
|
2128
|
+
relations: z.ZodObject<{
|
|
2129
|
+
dependency: z.ZodObject<{
|
|
2130
|
+
outgoing: z.ZodString;
|
|
2131
|
+
incoming: z.ZodString;
|
|
2132
|
+
}, z.core.$strict>;
|
|
2133
|
+
subtask: z.ZodObject<{
|
|
2134
|
+
outgoing: z.ZodString;
|
|
2135
|
+
incoming: z.ZodString;
|
|
2136
|
+
}, z.core.$strict>;
|
|
2137
|
+
duplicate: z.ZodObject<{
|
|
2138
|
+
outgoing: z.ZodString;
|
|
2139
|
+
incoming: z.ZodString;
|
|
2140
|
+
}, z.core.$strict>;
|
|
2141
|
+
related: z.ZodString;
|
|
2142
|
+
}, z.core.$strict>;
|
|
2143
|
+
priorities: z.ZodObject<{
|
|
2144
|
+
urgent: z.ZodObject<{
|
|
2145
|
+
word: z.ZodString;
|
|
2146
|
+
initial: z.ZodString;
|
|
2147
|
+
}, z.core.$strict>;
|
|
2148
|
+
high: z.ZodObject<{
|
|
2149
|
+
word: z.ZodString;
|
|
2150
|
+
initial: z.ZodString;
|
|
2151
|
+
}, z.core.$strict>;
|
|
2152
|
+
medium: z.ZodObject<{
|
|
2153
|
+
word: z.ZodString;
|
|
2154
|
+
initial: z.ZodString;
|
|
2155
|
+
}, z.core.$strict>;
|
|
2156
|
+
low: z.ZodObject<{
|
|
2157
|
+
word: z.ZodString;
|
|
2158
|
+
initial: z.ZodString;
|
|
2159
|
+
}, z.core.$strict>;
|
|
2160
|
+
}, z.core.$strict>;
|
|
2161
|
+
}, z.core.$strict>;
|
|
2162
|
+
glyphs: z.ZodObject<{
|
|
2163
|
+
claimHolder: z.ZodObject<{
|
|
2164
|
+
thisSession: z.ZodObject<{
|
|
2165
|
+
glyph: z.ZodString;
|
|
2166
|
+
words: z.ZodString;
|
|
2167
|
+
}, z.core.$strict>;
|
|
2168
|
+
otherHolder: z.ZodObject<{
|
|
2169
|
+
glyph: z.ZodString;
|
|
2170
|
+
words: z.ZodString;
|
|
2171
|
+
}, z.core.$strict>;
|
|
2172
|
+
unknownOwnership: z.ZodObject<{
|
|
2173
|
+
glyph: z.ZodString;
|
|
2174
|
+
words: z.ZodString;
|
|
2175
|
+
}, z.core.$strict>;
|
|
2176
|
+
}, z.core.$strict>;
|
|
2177
|
+
}, z.core.$strict>;
|
|
2178
|
+
}, z.core.$strict>;
|
|
1965
2179
|
schemas: z.ZodObject<{
|
|
1966
2180
|
$schema: z.ZodLiteral<"http://json-schema.org/draft-07/schema#">;
|
|
1967
2181
|
definitions: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
@@ -1993,6 +2207,8 @@ export type PresentedRestore = z.infer<typeof restoreSchema>;
|
|
|
1993
2207
|
export type PresentedMigrate = z.infer<typeof migrateSchema>;
|
|
1994
2208
|
export type PresentedReindex = z.infer<typeof reindexSchema>;
|
|
1995
2209
|
export type PresentedSkillInstall = z.infer<typeof skillInstallSchema>;
|
|
2210
|
+
export type PresentedSkillUninstall = z.infer<typeof skillUninstallSchema>;
|
|
2211
|
+
export type PresentedSkillStatus = z.infer<typeof skillStatusSchema>;
|
|
1996
2212
|
/** Generates local references against the extracted schemas document in draft-07 spec */
|
|
1997
2213
|
export declare function generateResultSchemas(schemas?: Record<string, z.ZodType>): {
|
|
1998
2214
|
$schema: string;
|
package/src/result-schemas.js
CHANGED
|
@@ -53,6 +53,21 @@ export const taskSchema = z.strictObject({
|
|
|
53
53
|
.nullable()
|
|
54
54
|
.describe("The task's claim, or null when it has none or the database predates claims."),
|
|
55
55
|
});
|
|
56
|
+
const searchExcerptFields = {
|
|
57
|
+
snippet: z.string().describe("Excerpt containing the first match in this source."),
|
|
58
|
+
highlights: z
|
|
59
|
+
.array(z.tuple([count, count]))
|
|
60
|
+
.describe("Zero-based, end-exclusive Unicode code-point ranges relative to the snippet."),
|
|
61
|
+
};
|
|
62
|
+
const taskSearchMatchSchema = z.discriminatedUnion("field", [
|
|
63
|
+
z.strictObject({ field: z.enum(["key", "title", "description"]), ...searchExcerptFields }),
|
|
64
|
+
z.strictObject({
|
|
65
|
+
field: z.literal("comment"),
|
|
66
|
+
comment_key: z.string(),
|
|
67
|
+
...searchExcerptFields,
|
|
68
|
+
}),
|
|
69
|
+
]);
|
|
70
|
+
const taskSearchResultSchema = taskSchema.extend({ matches: z.array(taskSearchMatchSchema) });
|
|
56
71
|
export const relationSchema = z.strictObject({
|
|
57
72
|
id: z.string().describe("Stored relation ID."),
|
|
58
73
|
type: z
|
|
@@ -106,10 +121,12 @@ export const activitySchema = z.strictObject({
|
|
|
106
121
|
actor_model: nullableText,
|
|
107
122
|
actor_effort: nullableText,
|
|
108
123
|
actor_client: nullableText,
|
|
124
|
+
actor_directory: nullableText,
|
|
109
125
|
entity_type: z
|
|
110
126
|
.string()
|
|
111
127
|
.describe(`Known entity types: ${activityEntityTypeSchema.options.join(", ")}. Other stored values may occur.`),
|
|
112
128
|
entity_id: z.string().describe("Stored ID of the affected entity."),
|
|
129
|
+
task_key: nullableText.describe("Key of the task identified by entity_id. Null for non-task events or when the key is unavailable."),
|
|
113
130
|
action: z
|
|
114
131
|
.string()
|
|
115
132
|
.describe(`Known actions: ${activityActionSchema.options.join(", ")}. Other stored values may occur.`),
|
|
@@ -129,6 +146,7 @@ export const actorSchema = activitySchema.pick({
|
|
|
129
146
|
actor_model: true,
|
|
130
147
|
actor_effort: true,
|
|
131
148
|
actor_client: true,
|
|
149
|
+
actor_directory: true,
|
|
132
150
|
});
|
|
133
151
|
export const taskAttributionSchema = actorSchema.extend({
|
|
134
152
|
id: activitySchema.shape.id,
|
|
@@ -295,6 +313,37 @@ export const backupSchema = z.strictObject({ path: z.string() });
|
|
|
295
313
|
export const skillInstallSchema = z.strictObject({
|
|
296
314
|
source: z.string().describe("The skill folder inside the CLI package that was installed."),
|
|
297
315
|
});
|
|
316
|
+
export const skillUninstallSchema = z.strictObject({
|
|
317
|
+
removed: z
|
|
318
|
+
.array(z.strictObject({
|
|
319
|
+
path: z.string().describe("The first checked path that reached the removed skill file."),
|
|
320
|
+
scope: z.enum(["home", "project"]),
|
|
321
|
+
}))
|
|
322
|
+
.describe("The checked skill copies that the run removed, empty when it removed none."),
|
|
323
|
+
});
|
|
324
|
+
export const skillStatusSchema = z.strictObject({
|
|
325
|
+
bundled: z
|
|
326
|
+
.strictObject({
|
|
327
|
+
path: z
|
|
328
|
+
.string()
|
|
329
|
+
.describe("The skill folder inside the CLI package, which `zinn skill install` installs."),
|
|
330
|
+
reviewedVersion: nullableText.describe("The CLI version the bundled skill was reviewed for."),
|
|
331
|
+
})
|
|
332
|
+
.describe("The skill this CLI installs."),
|
|
333
|
+
copies: z
|
|
334
|
+
.array(z.strictObject({
|
|
335
|
+
path: z.string().describe("The first checked path that reaches the skill file."),
|
|
336
|
+
links: z
|
|
337
|
+
.array(z.string())
|
|
338
|
+
.describe("The other checked paths that reach the same file, in checking order."),
|
|
339
|
+
scope: z.enum(["home", "project"]),
|
|
340
|
+
reviewedVersion: nullableText.describe("The CLI version the copy was reviewed for, null when it names none or cannot be read."),
|
|
341
|
+
matches: z.boolean().describe("Whether its reviewed version matches the bundled skill."),
|
|
342
|
+
readable: z.boolean(),
|
|
343
|
+
remedy: nullableText.describe("The command that updates the copy, null when it matches."),
|
|
344
|
+
}))
|
|
345
|
+
.describe("One entry per skill file agents may load, in checking order, empty when there is none."),
|
|
346
|
+
});
|
|
298
347
|
export const restoreSchema = z.strictObject({
|
|
299
348
|
databasePath: z.string(),
|
|
300
349
|
previousVersion: count.describe("Destination schema version before restore; zero when the destination had no schema version. backupPath says whether it was replaced."),
|
|
@@ -312,6 +361,7 @@ export const reindexSchema = z.strictObject({ databasePath: z.string(), taskCoun
|
|
|
312
361
|
export const resultSchemas = {
|
|
313
362
|
Task: taskSchema,
|
|
314
363
|
TaskList: z.array(taskSchema),
|
|
364
|
+
TaskSearchResults: z.array(taskSearchResultSchema),
|
|
315
365
|
NextTask: taskSchema.nullable(),
|
|
316
366
|
TaskDetail: taskDetailSchema,
|
|
317
367
|
TaskBlame: taskBlameSchema,
|
|
@@ -345,6 +395,8 @@ export const resultSchemas = {
|
|
|
345
395
|
Migrate: migrateSchema,
|
|
346
396
|
Reindex: reindexSchema,
|
|
347
397
|
SkillInstall: skillInstallSchema,
|
|
398
|
+
SkillUninstall: skillUninstallSchema,
|
|
399
|
+
SkillStatus: skillStatusSchema,
|
|
348
400
|
ErrorEnvelope: errorDocumentSchema,
|
|
349
401
|
Capabilities: capabilitiesSchema,
|
|
350
402
|
JsonValue: jsonValueSchema,
|