@task-mcp/shared 1.0.12 → 1.0.13
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/schemas/inbox.d.ts +2 -2
- package/dist/schemas/project.d.ts +34 -34
- package/dist/schemas/response-schema.d.ts +50 -50
- package/dist/schemas/task.d.ts +4 -4
- package/dist/schemas/view.d.ts +2 -2
- package/dist/utils/dashboard-renderer.js +1 -1
- package/package.json +1 -1
- package/src/utils/dashboard-renderer.ts +1 -1
package/dist/schemas/inbox.d.ts
CHANGED
|
@@ -10,16 +10,16 @@ export declare const InboxItem: z.ZodObject<{
|
|
|
10
10
|
promotedToTaskId: z.ZodOptional<z.ZodString>;
|
|
11
11
|
status: z.ZodEnum<["pending", "promoted", "discarded"]>;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
id: string;
|
|
14
13
|
status: "pending" | "promoted" | "discarded";
|
|
14
|
+
id: string;
|
|
15
15
|
content: string;
|
|
16
16
|
capturedAt: string;
|
|
17
17
|
tags?: string[] | undefined;
|
|
18
18
|
source?: string | undefined;
|
|
19
19
|
promotedToTaskId?: string | undefined;
|
|
20
20
|
}, {
|
|
21
|
-
id: string;
|
|
22
21
|
status: "pending" | "promoted" | "discarded";
|
|
22
|
+
id: string;
|
|
23
23
|
content: string;
|
|
24
24
|
capturedAt: string;
|
|
25
25
|
tags?: string[] | undefined;
|
|
@@ -7,12 +7,12 @@ export declare const Context: z.ZodObject<{
|
|
|
7
7
|
description: z.ZodOptional<z.ZodString>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
name: string;
|
|
10
|
-
color?: string | undefined;
|
|
11
10
|
description?: string | undefined;
|
|
11
|
+
color?: string | undefined;
|
|
12
12
|
}, {
|
|
13
13
|
name: string;
|
|
14
|
-
color?: string | undefined;
|
|
15
14
|
description?: string | undefined;
|
|
15
|
+
color?: string | undefined;
|
|
16
16
|
}>;
|
|
17
17
|
export type Context = z.infer<typeof Context>;
|
|
18
18
|
export declare const Project: z.ZodObject<{
|
|
@@ -27,12 +27,12 @@ export declare const Project: z.ZodObject<{
|
|
|
27
27
|
description: z.ZodOptional<z.ZodString>;
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
|
29
29
|
name: string;
|
|
30
|
-
color?: string | undefined;
|
|
31
30
|
description?: string | undefined;
|
|
31
|
+
color?: string | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
name: string;
|
|
34
|
-
color?: string | undefined;
|
|
35
34
|
description?: string | undefined;
|
|
35
|
+
color?: string | undefined;
|
|
36
36
|
}>, "many">>;
|
|
37
37
|
createdAt: z.ZodString;
|
|
38
38
|
updatedAt: z.ZodString;
|
|
@@ -44,40 +44,40 @@ export declare const Project: z.ZodObject<{
|
|
|
44
44
|
totalTasks: z.ZodOptional<z.ZodNumber>;
|
|
45
45
|
completedTasks: z.ZodOptional<z.ZodNumber>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
|
-
|
|
48
|
-
status: "active" | "on_hold" | "completed" | "archived";
|
|
47
|
+
status: "completed" | "active" | "on_hold" | "archived";
|
|
49
48
|
id: string;
|
|
50
49
|
createdAt: string;
|
|
51
50
|
updatedAt: string;
|
|
51
|
+
name: string;
|
|
52
52
|
description?: string | undefined;
|
|
53
|
-
defaultPriority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
54
53
|
contexts?: {
|
|
55
54
|
name: string;
|
|
56
|
-
color?: string | undefined;
|
|
57
55
|
description?: string | undefined;
|
|
56
|
+
color?: string | undefined;
|
|
58
57
|
}[] | undefined;
|
|
59
|
-
targetDate?: string | undefined;
|
|
60
58
|
sortOrder?: number | undefined;
|
|
59
|
+
defaultPriority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
60
|
+
targetDate?: string | undefined;
|
|
61
61
|
completionPercentage?: number | undefined;
|
|
62
62
|
criticalPathLength?: number | undefined;
|
|
63
63
|
blockedTaskCount?: number | undefined;
|
|
64
64
|
totalTasks?: number | undefined;
|
|
65
65
|
completedTasks?: number | undefined;
|
|
66
66
|
}, {
|
|
67
|
-
|
|
68
|
-
status: "active" | "on_hold" | "completed" | "archived";
|
|
67
|
+
status: "completed" | "active" | "on_hold" | "archived";
|
|
69
68
|
id: string;
|
|
70
69
|
createdAt: string;
|
|
71
70
|
updatedAt: string;
|
|
71
|
+
name: string;
|
|
72
72
|
description?: string | undefined;
|
|
73
|
-
defaultPriority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
74
73
|
contexts?: {
|
|
75
74
|
name: string;
|
|
76
|
-
color?: string | undefined;
|
|
77
75
|
description?: string | undefined;
|
|
76
|
+
color?: string | undefined;
|
|
78
77
|
}[] | undefined;
|
|
79
|
-
targetDate?: string | undefined;
|
|
80
78
|
sortOrder?: number | undefined;
|
|
79
|
+
defaultPriority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
80
|
+
targetDate?: string | undefined;
|
|
81
81
|
completionPercentage?: number | undefined;
|
|
82
82
|
criticalPathLength?: number | undefined;
|
|
83
83
|
blockedTaskCount?: number | undefined;
|
|
@@ -95,37 +95,37 @@ export declare const ProjectCreateInput: z.ZodObject<{
|
|
|
95
95
|
description: z.ZodOptional<z.ZodString>;
|
|
96
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
97
|
name: string;
|
|
98
|
-
color?: string | undefined;
|
|
99
98
|
description?: string | undefined;
|
|
99
|
+
color?: string | undefined;
|
|
100
100
|
}, {
|
|
101
101
|
name: string;
|
|
102
|
-
color?: string | undefined;
|
|
103
102
|
description?: string | undefined;
|
|
103
|
+
color?: string | undefined;
|
|
104
104
|
}>, "many">>;
|
|
105
105
|
targetDate: z.ZodOptional<z.ZodString>;
|
|
106
106
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
108
|
name: string;
|
|
109
109
|
description?: string | undefined;
|
|
110
|
-
defaultPriority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
111
110
|
contexts?: {
|
|
112
111
|
name: string;
|
|
113
|
-
color?: string | undefined;
|
|
114
112
|
description?: string | undefined;
|
|
113
|
+
color?: string | undefined;
|
|
115
114
|
}[] | undefined;
|
|
116
|
-
targetDate?: string | undefined;
|
|
117
115
|
sortOrder?: number | undefined;
|
|
116
|
+
defaultPriority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
117
|
+
targetDate?: string | undefined;
|
|
118
118
|
}, {
|
|
119
119
|
name: string;
|
|
120
120
|
description?: string | undefined;
|
|
121
|
-
defaultPriority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
122
121
|
contexts?: {
|
|
123
122
|
name: string;
|
|
124
|
-
color?: string | undefined;
|
|
125
123
|
description?: string | undefined;
|
|
124
|
+
color?: string | undefined;
|
|
126
125
|
}[] | undefined;
|
|
127
|
-
targetDate?: string | undefined;
|
|
128
126
|
sortOrder?: number | undefined;
|
|
127
|
+
defaultPriority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
128
|
+
targetDate?: string | undefined;
|
|
129
129
|
}>;
|
|
130
130
|
export type ProjectCreateInput = z.infer<typeof ProjectCreateInput>;
|
|
131
131
|
export declare const ProjectUpdateInput: z.ZodObject<{
|
|
@@ -139,39 +139,39 @@ export declare const ProjectUpdateInput: z.ZodObject<{
|
|
|
139
139
|
description: z.ZodOptional<z.ZodString>;
|
|
140
140
|
}, "strip", z.ZodTypeAny, {
|
|
141
141
|
name: string;
|
|
142
|
-
color?: string | undefined;
|
|
143
142
|
description?: string | undefined;
|
|
143
|
+
color?: string | undefined;
|
|
144
144
|
}, {
|
|
145
145
|
name: string;
|
|
146
|
-
color?: string | undefined;
|
|
147
146
|
description?: string | undefined;
|
|
147
|
+
color?: string | undefined;
|
|
148
148
|
}>, "many">>;
|
|
149
149
|
targetDate: z.ZodOptional<z.ZodString>;
|
|
150
150
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
|
-
|
|
152
|
+
status?: "completed" | "active" | "on_hold" | "archived" | undefined;
|
|
153
153
|
description?: string | undefined;
|
|
154
|
-
status?: "active" | "on_hold" | "completed" | "archived" | undefined;
|
|
155
|
-
defaultPriority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
156
154
|
contexts?: {
|
|
157
155
|
name: string;
|
|
158
|
-
color?: string | undefined;
|
|
159
156
|
description?: string | undefined;
|
|
157
|
+
color?: string | undefined;
|
|
160
158
|
}[] | undefined;
|
|
161
|
-
|
|
159
|
+
name?: string | undefined;
|
|
162
160
|
sortOrder?: number | undefined;
|
|
161
|
+
defaultPriority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
162
|
+
targetDate?: string | undefined;
|
|
163
163
|
}, {
|
|
164
|
-
|
|
164
|
+
status?: "completed" | "active" | "on_hold" | "archived" | undefined;
|
|
165
165
|
description?: string | undefined;
|
|
166
|
-
status?: "active" | "on_hold" | "completed" | "archived" | undefined;
|
|
167
|
-
defaultPriority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
168
166
|
contexts?: {
|
|
169
167
|
name: string;
|
|
170
|
-
color?: string | undefined;
|
|
171
168
|
description?: string | undefined;
|
|
169
|
+
color?: string | undefined;
|
|
172
170
|
}[] | undefined;
|
|
173
|
-
|
|
171
|
+
name?: string | undefined;
|
|
174
172
|
sortOrder?: number | undefined;
|
|
173
|
+
defaultPriority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
174
|
+
targetDate?: string | undefined;
|
|
175
175
|
}>;
|
|
176
176
|
export type ProjectUpdateInput = z.infer<typeof ProjectUpdateInput>;
|
|
177
177
|
//# sourceMappingURL=project.d.ts.map
|
|
@@ -14,12 +14,12 @@ export declare const ResponseOption: z.ZodObject<{
|
|
|
14
14
|
value: z.ZodString;
|
|
15
15
|
description: z.ZodOptional<z.ZodString>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
label: string;
|
|
18
17
|
value: string;
|
|
18
|
+
label: string;
|
|
19
19
|
description?: string | undefined;
|
|
20
20
|
}, {
|
|
21
|
-
label: string;
|
|
22
21
|
value: string;
|
|
22
|
+
label: string;
|
|
23
23
|
description?: string | undefined;
|
|
24
24
|
}>;
|
|
25
25
|
export type ResponseOption = z.infer<typeof ResponseOption>;
|
|
@@ -34,36 +34,36 @@ export declare const QuestionResponse: z.ZodObject<{
|
|
|
34
34
|
value: z.ZodString;
|
|
35
35
|
description: z.ZodOptional<z.ZodString>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
label: string;
|
|
38
37
|
value: string;
|
|
38
|
+
label: string;
|
|
39
39
|
description?: string | undefined;
|
|
40
40
|
}, {
|
|
41
|
-
label: string;
|
|
42
41
|
value: string;
|
|
42
|
+
label: string;
|
|
43
43
|
description?: string | undefined;
|
|
44
44
|
}>, "many">>;
|
|
45
45
|
defaultOption: z.ZodOptional<z.ZodString>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
|
-
message: string;
|
|
48
47
|
type: "question";
|
|
48
|
+
message: string;
|
|
49
49
|
options?: {
|
|
50
|
-
label: string;
|
|
51
50
|
value: string;
|
|
51
|
+
label: string;
|
|
52
52
|
description?: string | undefined;
|
|
53
53
|
}[] | undefined;
|
|
54
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
54
55
|
context?: string | undefined;
|
|
55
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
56
56
|
defaultOption?: string | undefined;
|
|
57
57
|
}, {
|
|
58
|
-
message: string;
|
|
59
58
|
type: "question";
|
|
59
|
+
message: string;
|
|
60
60
|
options?: {
|
|
61
|
-
label: string;
|
|
62
61
|
value: string;
|
|
62
|
+
label: string;
|
|
63
63
|
description?: string | undefined;
|
|
64
64
|
}[] | undefined;
|
|
65
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
65
66
|
context?: string | undefined;
|
|
66
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
67
67
|
defaultOption?: string | undefined;
|
|
68
68
|
}>;
|
|
69
69
|
export type QuestionResponse = z.infer<typeof QuestionResponse>;
|
|
@@ -78,36 +78,36 @@ export declare const SuggestionResponse: z.ZodObject<{
|
|
|
78
78
|
value: z.ZodString;
|
|
79
79
|
description: z.ZodOptional<z.ZodString>;
|
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
|
81
|
-
label: string;
|
|
82
81
|
value: string;
|
|
82
|
+
label: string;
|
|
83
83
|
description?: string | undefined;
|
|
84
84
|
}, {
|
|
85
|
-
label: string;
|
|
86
85
|
value: string;
|
|
86
|
+
label: string;
|
|
87
87
|
description?: string | undefined;
|
|
88
88
|
}>, "many">;
|
|
89
89
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
90
90
|
}, "strip", z.ZodTypeAny, {
|
|
91
|
+
type: "suggestion";
|
|
91
92
|
message: string;
|
|
92
93
|
options: {
|
|
93
|
-
label: string;
|
|
94
94
|
value: string;
|
|
95
|
+
label: string;
|
|
95
96
|
description?: string | undefined;
|
|
96
97
|
}[];
|
|
97
|
-
|
|
98
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
98
99
|
context?: string | undefined;
|
|
99
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
100
100
|
reasoning?: string | undefined;
|
|
101
101
|
}, {
|
|
102
|
+
type: "suggestion";
|
|
102
103
|
message: string;
|
|
103
104
|
options: {
|
|
104
|
-
label: string;
|
|
105
105
|
value: string;
|
|
106
|
+
label: string;
|
|
106
107
|
description?: string | undefined;
|
|
107
108
|
}[];
|
|
108
|
-
|
|
109
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
109
110
|
context?: string | undefined;
|
|
110
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
111
111
|
reasoning?: string | undefined;
|
|
112
112
|
}>;
|
|
113
113
|
export type SuggestionResponse = z.infer<typeof SuggestionResponse>;
|
|
@@ -121,19 +121,19 @@ export declare const ConfirmationResponse: z.ZodObject<{
|
|
|
121
121
|
consequences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
122
122
|
defaultConfirm: z.ZodOptional<z.ZodBoolean>;
|
|
123
123
|
}, "strip", z.ZodTypeAny, {
|
|
124
|
-
message: string;
|
|
125
124
|
type: "confirmation";
|
|
125
|
+
message: string;
|
|
126
126
|
action: string;
|
|
127
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
127
128
|
context?: string | undefined;
|
|
128
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
129
129
|
consequences?: string[] | undefined;
|
|
130
130
|
defaultConfirm?: boolean | undefined;
|
|
131
131
|
}, {
|
|
132
|
-
message: string;
|
|
133
132
|
type: "confirmation";
|
|
133
|
+
message: string;
|
|
134
134
|
action: string;
|
|
135
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
135
136
|
context?: string | undefined;
|
|
136
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
137
137
|
consequences?: string[] | undefined;
|
|
138
138
|
defaultConfirm?: boolean | undefined;
|
|
139
139
|
}>;
|
|
@@ -149,36 +149,36 @@ export declare const AgentResponse: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
149
149
|
value: z.ZodString;
|
|
150
150
|
description: z.ZodOptional<z.ZodString>;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
|
-
label: string;
|
|
153
152
|
value: string;
|
|
153
|
+
label: string;
|
|
154
154
|
description?: string | undefined;
|
|
155
155
|
}, {
|
|
156
|
-
label: string;
|
|
157
156
|
value: string;
|
|
157
|
+
label: string;
|
|
158
158
|
description?: string | undefined;
|
|
159
159
|
}>, "many">>;
|
|
160
160
|
defaultOption: z.ZodOptional<z.ZodString>;
|
|
161
161
|
}, "strip", z.ZodTypeAny, {
|
|
162
|
-
message: string;
|
|
163
162
|
type: "question";
|
|
163
|
+
message: string;
|
|
164
164
|
options?: {
|
|
165
|
-
label: string;
|
|
166
165
|
value: string;
|
|
166
|
+
label: string;
|
|
167
167
|
description?: string | undefined;
|
|
168
168
|
}[] | undefined;
|
|
169
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
169
170
|
context?: string | undefined;
|
|
170
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
171
171
|
defaultOption?: string | undefined;
|
|
172
172
|
}, {
|
|
173
|
-
message: string;
|
|
174
173
|
type: "question";
|
|
174
|
+
message: string;
|
|
175
175
|
options?: {
|
|
176
|
-
label: string;
|
|
177
176
|
value: string;
|
|
177
|
+
label: string;
|
|
178
178
|
description?: string | undefined;
|
|
179
179
|
}[] | undefined;
|
|
180
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
180
181
|
context?: string | undefined;
|
|
181
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
182
182
|
defaultOption?: string | undefined;
|
|
183
183
|
}>, z.ZodObject<{
|
|
184
184
|
message: z.ZodString;
|
|
@@ -191,36 +191,36 @@ export declare const AgentResponse: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
191
191
|
value: z.ZodString;
|
|
192
192
|
description: z.ZodOptional<z.ZodString>;
|
|
193
193
|
}, "strip", z.ZodTypeAny, {
|
|
194
|
-
label: string;
|
|
195
194
|
value: string;
|
|
195
|
+
label: string;
|
|
196
196
|
description?: string | undefined;
|
|
197
197
|
}, {
|
|
198
|
-
label: string;
|
|
199
198
|
value: string;
|
|
199
|
+
label: string;
|
|
200
200
|
description?: string | undefined;
|
|
201
201
|
}>, "many">;
|
|
202
202
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
203
203
|
}, "strip", z.ZodTypeAny, {
|
|
204
|
+
type: "suggestion";
|
|
204
205
|
message: string;
|
|
205
206
|
options: {
|
|
206
|
-
label: string;
|
|
207
207
|
value: string;
|
|
208
|
+
label: string;
|
|
208
209
|
description?: string | undefined;
|
|
209
210
|
}[];
|
|
210
|
-
|
|
211
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
211
212
|
context?: string | undefined;
|
|
212
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
213
213
|
reasoning?: string | undefined;
|
|
214
214
|
}, {
|
|
215
|
+
type: "suggestion";
|
|
215
216
|
message: string;
|
|
216
217
|
options: {
|
|
217
|
-
label: string;
|
|
218
218
|
value: string;
|
|
219
|
+
label: string;
|
|
219
220
|
description?: string | undefined;
|
|
220
221
|
}[];
|
|
221
|
-
|
|
222
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
222
223
|
context?: string | undefined;
|
|
223
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
224
224
|
reasoning?: string | undefined;
|
|
225
225
|
}>, z.ZodObject<{
|
|
226
226
|
message: z.ZodString;
|
|
@@ -232,19 +232,19 @@ export declare const AgentResponse: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
232
232
|
consequences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
233
233
|
defaultConfirm: z.ZodOptional<z.ZodBoolean>;
|
|
234
234
|
}, "strip", z.ZodTypeAny, {
|
|
235
|
-
message: string;
|
|
236
235
|
type: "confirmation";
|
|
236
|
+
message: string;
|
|
237
237
|
action: string;
|
|
238
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
238
239
|
context?: string | undefined;
|
|
239
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
240
240
|
consequences?: string[] | undefined;
|
|
241
241
|
defaultConfirm?: boolean | undefined;
|
|
242
242
|
}, {
|
|
243
|
-
message: string;
|
|
244
243
|
type: "confirmation";
|
|
244
|
+
message: string;
|
|
245
245
|
action: string;
|
|
246
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
246
247
|
context?: string | undefined;
|
|
247
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
248
248
|
consequences?: string[] | undefined;
|
|
249
249
|
defaultConfirm?: boolean | undefined;
|
|
250
250
|
}>]>;
|
|
@@ -257,12 +257,12 @@ export declare const GenerateResponseInput: z.ZodObject<{
|
|
|
257
257
|
value: z.ZodString;
|
|
258
258
|
description: z.ZodOptional<z.ZodString>;
|
|
259
259
|
}, "strip", z.ZodTypeAny, {
|
|
260
|
-
label: string;
|
|
261
260
|
value: string;
|
|
261
|
+
label: string;
|
|
262
262
|
description?: string | undefined;
|
|
263
263
|
}, {
|
|
264
|
-
label: string;
|
|
265
264
|
value: string;
|
|
265
|
+
label: string;
|
|
266
266
|
description?: string | undefined;
|
|
267
267
|
}>, "many">>;
|
|
268
268
|
context: z.ZodOptional<z.ZodString>;
|
|
@@ -273,12 +273,12 @@ export declare const GenerateResponseInput: z.ZodObject<{
|
|
|
273
273
|
defaultOption: z.ZodOptional<z.ZodString>;
|
|
274
274
|
defaultConfirm: z.ZodOptional<z.ZodBoolean>;
|
|
275
275
|
}, "strip", z.ZodTypeAny, {
|
|
276
|
-
message: string;
|
|
277
276
|
type: "question" | "suggestion" | "confirmation";
|
|
278
|
-
|
|
277
|
+
message: string;
|
|
278
|
+
priority: "critical" | "high" | "medium" | "low";
|
|
279
279
|
options?: {
|
|
280
|
-
label: string;
|
|
281
280
|
value: string;
|
|
281
|
+
label: string;
|
|
282
282
|
description?: string | undefined;
|
|
283
283
|
}[] | undefined;
|
|
284
284
|
context?: string | undefined;
|
|
@@ -288,15 +288,15 @@ export declare const GenerateResponseInput: z.ZodObject<{
|
|
|
288
288
|
consequences?: string[] | undefined;
|
|
289
289
|
defaultConfirm?: boolean | undefined;
|
|
290
290
|
}, {
|
|
291
|
-
message: string;
|
|
292
291
|
type: "question" | "suggestion" | "confirmation";
|
|
292
|
+
message: string;
|
|
293
293
|
options?: {
|
|
294
|
-
label: string;
|
|
295
294
|
value: string;
|
|
295
|
+
label: string;
|
|
296
296
|
description?: string | undefined;
|
|
297
297
|
}[] | undefined;
|
|
298
|
+
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
298
299
|
context?: string | undefined;
|
|
299
|
-
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
300
300
|
defaultOption?: string | undefined;
|
|
301
301
|
reasoning?: string | undefined;
|
|
302
302
|
action?: string | undefined;
|
package/dist/schemas/task.d.ts
CHANGED
|
@@ -211,9 +211,9 @@ export declare const Task: z.ZodObject<{
|
|
|
211
211
|
affectedComponents?: string[] | undefined;
|
|
212
212
|
}>>;
|
|
213
213
|
}, "strip", z.ZodTypeAny, {
|
|
214
|
+
status: "pending" | "in_progress" | "blocked" | "completed" | "cancelled";
|
|
214
215
|
id: string;
|
|
215
216
|
title: string;
|
|
216
|
-
status: "pending" | "in_progress" | "blocked" | "completed" | "cancelled";
|
|
217
217
|
priority: "critical" | "high" | "medium" | "low";
|
|
218
218
|
projectId: string;
|
|
219
219
|
createdAt: string;
|
|
@@ -265,9 +265,9 @@ export declare const Task: z.ZodObject<{
|
|
|
265
265
|
affectedComponents?: string[] | undefined;
|
|
266
266
|
} | undefined;
|
|
267
267
|
}, {
|
|
268
|
+
status: "pending" | "in_progress" | "blocked" | "completed" | "cancelled";
|
|
268
269
|
id: string;
|
|
269
270
|
title: string;
|
|
270
|
-
status: "pending" | "in_progress" | "blocked" | "completed" | "cancelled";
|
|
271
271
|
priority: "critical" | "high" | "medium" | "low";
|
|
272
272
|
projectId: string;
|
|
273
273
|
createdAt: string;
|
|
@@ -530,9 +530,9 @@ export declare const TaskUpdateInput: z.ZodObject<{
|
|
|
530
530
|
affectedComponents?: string[] | undefined;
|
|
531
531
|
}>>;
|
|
532
532
|
}, "strip", z.ZodTypeAny, {
|
|
533
|
+
status?: "pending" | "in_progress" | "blocked" | "completed" | "cancelled" | undefined;
|
|
533
534
|
title?: string | undefined;
|
|
534
535
|
description?: string | undefined;
|
|
535
|
-
status?: "pending" | "in_progress" | "blocked" | "completed" | "cancelled" | undefined;
|
|
536
536
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
537
537
|
projectId?: string | undefined;
|
|
538
538
|
parentId?: string | null | undefined;
|
|
@@ -574,9 +574,9 @@ export declare const TaskUpdateInput: z.ZodObject<{
|
|
|
574
574
|
affectedComponents?: string[] | undefined;
|
|
575
575
|
} | undefined;
|
|
576
576
|
}, {
|
|
577
|
+
status?: "pending" | "in_progress" | "blocked" | "completed" | "cancelled" | undefined;
|
|
577
578
|
title?: string | undefined;
|
|
578
579
|
description?: string | undefined;
|
|
579
|
-
status?: "pending" | "in_progress" | "blocked" | "completed" | "cancelled" | undefined;
|
|
580
580
|
priority?: "critical" | "high" | "medium" | "low" | undefined;
|
|
581
581
|
projectId?: string | undefined;
|
|
582
582
|
parentId?: string | null | undefined;
|
package/dist/schemas/view.d.ts
CHANGED
|
@@ -87,7 +87,6 @@ export declare const SmartView: z.ZodObject<{
|
|
|
87
87
|
createdAt: z.ZodString;
|
|
88
88
|
updatedAt: z.ZodString;
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
|
-
id: string;
|
|
91
90
|
filter: {
|
|
92
91
|
contexts?: string[] | undefined;
|
|
93
92
|
tags?: string[] | undefined;
|
|
@@ -101,6 +100,7 @@ export declare const SmartView: z.ZodObject<{
|
|
|
101
100
|
hasNoDependencies?: boolean | undefined;
|
|
102
101
|
search?: string | undefined;
|
|
103
102
|
};
|
|
103
|
+
id: string;
|
|
104
104
|
createdAt: string;
|
|
105
105
|
updatedAt: string;
|
|
106
106
|
name: string;
|
|
@@ -108,7 +108,6 @@ export declare const SmartView: z.ZodObject<{
|
|
|
108
108
|
sortBy?: "title" | "priority" | "dueDate" | "createdAt" | "criticalPath" | "slack" | undefined;
|
|
109
109
|
sortOrder?: "asc" | "desc" | undefined;
|
|
110
110
|
}, {
|
|
111
|
-
id: string;
|
|
112
111
|
filter: {
|
|
113
112
|
contexts?: string[] | undefined;
|
|
114
113
|
tags?: string[] | undefined;
|
|
@@ -122,6 +121,7 @@ export declare const SmartView: z.ZodObject<{
|
|
|
122
121
|
hasNoDependencies?: boolean | undefined;
|
|
123
122
|
search?: string | undefined;
|
|
124
123
|
};
|
|
124
|
+
id: string;
|
|
125
125
|
createdAt: string;
|
|
126
126
|
updatedAt: string;
|
|
127
127
|
name: string;
|
|
@@ -134,7 +134,7 @@ export function renderStatusWidget(tasks, _projects) {
|
|
|
134
134
|
lines.push(`${c.green("Done")}: ${stats.completed} ` +
|
|
135
135
|
`${c.blue("Progress")}: ${stats.inProgress} ` +
|
|
136
136
|
`${c.yellow("Pending")}: ${stats.pending} ` +
|
|
137
|
-
`${c.red("
|
|
137
|
+
`${c.red("On Hold")}: ${stats.blocked}`);
|
|
138
138
|
// Schedule info
|
|
139
139
|
const scheduleInfo = [];
|
|
140
140
|
if (overdue.length > 0)
|
package/package.json
CHANGED
|
@@ -212,7 +212,7 @@ export function renderStatusWidget(
|
|
|
212
212
|
`${c.green("Done")}: ${stats.completed} ` +
|
|
213
213
|
`${c.blue("Progress")}: ${stats.inProgress} ` +
|
|
214
214
|
`${c.yellow("Pending")}: ${stats.pending} ` +
|
|
215
|
-
`${c.red("
|
|
215
|
+
`${c.red("On Hold")}: ${stats.blocked}`
|
|
216
216
|
);
|
|
217
217
|
|
|
218
218
|
// Schedule info
|