speccore 8.3.168 → 8.3.169
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/commands/analyze.d.ts.map +1 -1
- package/dist/commands/analyze.js +34 -0
- package/dist/commands/analyze.js.map +1 -1
- package/dist/core/agent-adapter.d.ts +48 -9
- package/dist/core/agent-adapter.d.ts.map +1 -1
- package/dist/core/agent-adapter.js +221 -24
- package/dist/core/agent-adapter.js.map +1 -1
- package/dist/core/ask-host-ai.d.ts +5 -2
- package/dist/core/ask-host-ai.d.ts.map +1 -1
- package/dist/core/ask-host-ai.js +26 -7
- package/dist/core/ask-host-ai.js.map +1 -1
- package/dist/core/schemas/context.schema.d.ts +3 -63
- package/dist/core/schemas/context.schema.d.ts.map +1 -1
- package/dist/core/schemas/iteration.schema.d.ts +30 -106
- package/dist/core/schemas/iteration.schema.d.ts.map +1 -1
- package/dist/core/schemas/platform.schema.d.ts +3 -43
- package/dist/core/schemas/platform.schema.d.ts.map +1 -1
- package/dist/core/schemas/task.schema.d.ts +71 -127
- package/dist/core/schemas/task.schema.d.ts.map +1 -1
- package/package.json +4 -1
|
@@ -8,17 +8,7 @@ export declare const HistoryEntrySchema: z.ZodObject<{
|
|
|
8
8
|
timestamp: z.ZodString;
|
|
9
9
|
iteration: z.ZodOptional<z.ZodString>;
|
|
10
10
|
task: z.ZodOptional<z.ZodString>;
|
|
11
|
-
},
|
|
12
|
-
command: string;
|
|
13
|
-
timestamp: string;
|
|
14
|
-
iteration?: string | undefined;
|
|
15
|
-
task?: string | undefined;
|
|
16
|
-
}, {
|
|
17
|
-
command: string;
|
|
18
|
-
timestamp: string;
|
|
19
|
-
iteration?: string | undefined;
|
|
20
|
-
task?: string | undefined;
|
|
21
|
-
}>;
|
|
11
|
+
}, z.core.$strip>;
|
|
22
12
|
export declare const ContextSchema: z.ZodObject<{
|
|
23
13
|
currentIteration: z.ZodDefault<z.ZodString>;
|
|
24
14
|
currentTask: z.ZodDefault<z.ZodString>;
|
|
@@ -38,58 +28,8 @@ export declare const ContextSchema: z.ZodObject<{
|
|
|
38
28
|
timestamp: z.ZodString;
|
|
39
29
|
iteration: z.ZodOptional<z.ZodString>;
|
|
40
30
|
task: z.ZodOptional<z.ZodString>;
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
timestamp: string;
|
|
44
|
-
iteration?: string | undefined;
|
|
45
|
-
task?: string | undefined;
|
|
46
|
-
}, {
|
|
47
|
-
command: string;
|
|
48
|
-
timestamp: string;
|
|
49
|
-
iteration?: string | undefined;
|
|
50
|
-
task?: string | undefined;
|
|
51
|
-
}>, "many">>;
|
|
52
|
-
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
currentIteration: string;
|
|
54
|
-
currentTask: string;
|
|
55
|
-
currentAssignee: string;
|
|
56
|
-
lastUpdated: string;
|
|
57
|
-
lastAction: string;
|
|
58
|
-
lastIntent: string;
|
|
59
|
-
interruptedAt: string;
|
|
60
|
-
iterationStatus: string;
|
|
61
|
-
pendingTasks: number;
|
|
62
|
-
inProgressTasks: number;
|
|
63
|
-
completedTasks: number;
|
|
64
|
-
blockedTasks: number;
|
|
65
|
-
customAliases: Record<string, string>;
|
|
66
|
-
history: {
|
|
67
|
-
command: string;
|
|
68
|
-
timestamp: string;
|
|
69
|
-
iteration?: string | undefined;
|
|
70
|
-
task?: string | undefined;
|
|
71
|
-
}[];
|
|
72
|
-
}, {
|
|
73
|
-
currentIteration?: string | undefined;
|
|
74
|
-
currentTask?: string | undefined;
|
|
75
|
-
currentAssignee?: string | undefined;
|
|
76
|
-
lastUpdated?: string | undefined;
|
|
77
|
-
lastAction?: string | undefined;
|
|
78
|
-
lastIntent?: string | undefined;
|
|
79
|
-
interruptedAt?: string | undefined;
|
|
80
|
-
iterationStatus?: string | undefined;
|
|
81
|
-
pendingTasks?: number | undefined;
|
|
82
|
-
inProgressTasks?: number | undefined;
|
|
83
|
-
completedTasks?: number | undefined;
|
|
84
|
-
blockedTasks?: number | undefined;
|
|
85
|
-
customAliases?: Record<string, string> | undefined;
|
|
86
|
-
history?: {
|
|
87
|
-
command: string;
|
|
88
|
-
timestamp: string;
|
|
89
|
-
iteration?: string | undefined;
|
|
90
|
-
task?: string | undefined;
|
|
91
|
-
}[] | undefined;
|
|
92
|
-
}>;
|
|
31
|
+
}, z.core.$strip>>>;
|
|
32
|
+
}, z.core.$strip>;
|
|
93
33
|
export type HistoryEntry = z.infer<typeof HistoryEntrySchema>;
|
|
94
34
|
export type Context = z.infer<typeof ContextSchema>;
|
|
95
35
|
export declare const DEFAULT_CONTEXT: Context;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.schema.d.ts","sourceRoot":"","sources":["../../../src/core/schemas/context.schema.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"context.schema.d.ts","sourceRoot":"","sources":["../../../src/core/schemas/context.schema.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,kBAAkB;;;;;iBAK7B,CAAC;AAGH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;iBAwBxB,CAAC;AAGH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAGpD,eAAO,MAAM,eAAe,EAAE,OAe7B,CAAC"}
|
|
@@ -3,23 +3,19 @@
|
|
|
3
3
|
* 定义迭代(迭代)的核心数据结构
|
|
4
4
|
*/
|
|
5
5
|
import { z } from 'zod';
|
|
6
|
-
export declare const IterationStatusSchema: z.ZodEnum<
|
|
6
|
+
export declare const IterationStatusSchema: z.ZodEnum<{
|
|
7
|
+
completed: "completed";
|
|
8
|
+
archived: "archived";
|
|
9
|
+
active: "active";
|
|
10
|
+
planning: "planning";
|
|
11
|
+
paused: "paused";
|
|
12
|
+
}>;
|
|
7
13
|
export declare const IterationGoalSchema: z.ZodObject<{
|
|
8
14
|
description: z.ZodString;
|
|
9
15
|
scope: z.ZodOptional<z.ZodString>;
|
|
10
|
-
deliverables: z.ZodDefault<z.ZodArray<z.ZodString
|
|
11
|
-
successCriteria: z.ZodDefault<z.ZodArray<z.ZodString
|
|
12
|
-
},
|
|
13
|
-
description: string;
|
|
14
|
-
deliverables: string[];
|
|
15
|
-
successCriteria: string[];
|
|
16
|
-
scope?: string | undefined;
|
|
17
|
-
}, {
|
|
18
|
-
description: string;
|
|
19
|
-
scope?: string | undefined;
|
|
20
|
-
deliverables?: string[] | undefined;
|
|
21
|
-
successCriteria?: string[] | undefined;
|
|
22
|
-
}>;
|
|
16
|
+
deliverables: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
17
|
+
successCriteria: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
23
19
|
export declare const IterationStatsSchema: z.ZodObject<{
|
|
24
20
|
totalTasks: z.ZodNumber;
|
|
25
21
|
pendingTasks: z.ZodNumber;
|
|
@@ -27,44 +23,30 @@ export declare const IterationStatsSchema: z.ZodObject<{
|
|
|
27
23
|
completedTasks: z.ZodNumber;
|
|
28
24
|
blockedTasks: z.ZodNumber;
|
|
29
25
|
completionRate: z.ZodNumber;
|
|
30
|
-
},
|
|
31
|
-
pendingTasks: number;
|
|
32
|
-
inProgressTasks: number;
|
|
33
|
-
completedTasks: number;
|
|
34
|
-
blockedTasks: number;
|
|
35
|
-
completionRate: number;
|
|
36
|
-
totalTasks: number;
|
|
37
|
-
}, {
|
|
38
|
-
pendingTasks: number;
|
|
39
|
-
inProgressTasks: number;
|
|
40
|
-
completedTasks: number;
|
|
41
|
-
blockedTasks: number;
|
|
42
|
-
completionRate: number;
|
|
43
|
-
totalTasks: number;
|
|
44
|
-
}>;
|
|
26
|
+
}, z.core.$strip>;
|
|
45
27
|
export declare const IterationSchema: z.ZodObject<{
|
|
46
28
|
id: z.ZodString;
|
|
47
29
|
name: z.ZodString;
|
|
48
|
-
status: z.ZodDefault<z.ZodEnum<
|
|
49
|
-
|
|
30
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
31
|
+
completed: "completed";
|
|
32
|
+
archived: "archived";
|
|
33
|
+
active: "active";
|
|
34
|
+
planning: "planning";
|
|
35
|
+
paused: "paused";
|
|
36
|
+
}>>;
|
|
37
|
+
priority: z.ZodDefault<z.ZodEnum<{
|
|
38
|
+
high: "high";
|
|
39
|
+
medium: "medium";
|
|
40
|
+
low: "low";
|
|
41
|
+
}>>;
|
|
50
42
|
goal: z.ZodOptional<z.ZodObject<{
|
|
51
43
|
description: z.ZodString;
|
|
52
44
|
scope: z.ZodOptional<z.ZodString>;
|
|
53
|
-
deliverables: z.ZodDefault<z.ZodArray<z.ZodString
|
|
54
|
-
successCriteria: z.ZodDefault<z.ZodArray<z.ZodString
|
|
55
|
-
},
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
successCriteria: string[];
|
|
59
|
-
scope?: string | undefined;
|
|
60
|
-
}, {
|
|
61
|
-
description: string;
|
|
62
|
-
scope?: string | undefined;
|
|
63
|
-
deliverables?: string[] | undefined;
|
|
64
|
-
successCriteria?: string[] | undefined;
|
|
65
|
-
}>>;
|
|
66
|
-
tasks: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
67
|
-
requirements: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
45
|
+
deliverables: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
46
|
+
successCriteria: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
47
|
+
}, z.core.$strip>>;
|
|
48
|
+
tasks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
49
|
+
requirements: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
68
50
|
startDate: z.ZodOptional<z.ZodString>;
|
|
69
51
|
endDate: z.ZodOptional<z.ZodString>;
|
|
70
52
|
assignee: z.ZodOptional<z.ZodString>;
|
|
@@ -73,68 +55,10 @@ export declare const IterationSchema: z.ZodObject<{
|
|
|
73
55
|
date: z.ZodString;
|
|
74
56
|
content: z.ZodString;
|
|
75
57
|
author: z.ZodString;
|
|
76
|
-
},
|
|
77
|
-
version: string;
|
|
78
|
-
content: string;
|
|
79
|
-
date: string;
|
|
80
|
-
author: string;
|
|
81
|
-
}, {
|
|
82
|
-
version: string;
|
|
83
|
-
content: string;
|
|
84
|
-
date: string;
|
|
85
|
-
author: string;
|
|
86
|
-
}>, "many">>;
|
|
58
|
+
}, z.core.$strip>>>;
|
|
87
59
|
createdAt: z.ZodString;
|
|
88
60
|
updatedAt: z.ZodString;
|
|
89
|
-
},
|
|
90
|
-
name: string;
|
|
91
|
-
status: "completed" | "archived" | "active" | "planning" | "paused";
|
|
92
|
-
updatedAt: string;
|
|
93
|
-
requirements: string[];
|
|
94
|
-
id: string;
|
|
95
|
-
priority: "high" | "medium" | "low";
|
|
96
|
-
tasks: string[];
|
|
97
|
-
createdAt: string;
|
|
98
|
-
changelog: {
|
|
99
|
-
version: string;
|
|
100
|
-
content: string;
|
|
101
|
-
date: string;
|
|
102
|
-
author: string;
|
|
103
|
-
}[];
|
|
104
|
-
assignee?: string | undefined;
|
|
105
|
-
startDate?: string | undefined;
|
|
106
|
-
endDate?: string | undefined;
|
|
107
|
-
goal?: {
|
|
108
|
-
description: string;
|
|
109
|
-
deliverables: string[];
|
|
110
|
-
successCriteria: string[];
|
|
111
|
-
scope?: string | undefined;
|
|
112
|
-
} | undefined;
|
|
113
|
-
}, {
|
|
114
|
-
name: string;
|
|
115
|
-
updatedAt: string;
|
|
116
|
-
id: string;
|
|
117
|
-
createdAt: string;
|
|
118
|
-
assignee?: string | undefined;
|
|
119
|
-
status?: "completed" | "archived" | "active" | "planning" | "paused" | undefined;
|
|
120
|
-
requirements?: string[] | undefined;
|
|
121
|
-
priority?: "high" | "medium" | "low" | undefined;
|
|
122
|
-
tasks?: string[] | undefined;
|
|
123
|
-
startDate?: string | undefined;
|
|
124
|
-
endDate?: string | undefined;
|
|
125
|
-
goal?: {
|
|
126
|
-
description: string;
|
|
127
|
-
scope?: string | undefined;
|
|
128
|
-
deliverables?: string[] | undefined;
|
|
129
|
-
successCriteria?: string[] | undefined;
|
|
130
|
-
} | undefined;
|
|
131
|
-
changelog?: {
|
|
132
|
-
version: string;
|
|
133
|
-
content: string;
|
|
134
|
-
date: string;
|
|
135
|
-
author: string;
|
|
136
|
-
}[] | undefined;
|
|
137
|
-
}>;
|
|
61
|
+
}, z.core.$strip>;
|
|
138
62
|
export type IterationStatus = z.infer<typeof IterationStatusSchema>;
|
|
139
63
|
export type IterationGoal = z.infer<typeof IterationGoalSchema>;
|
|
140
64
|
export type IterationStats = z.infer<typeof IterationStatsSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iteration.schema.d.ts","sourceRoot":"","sources":["../../../src/core/schemas/iteration.schema.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"iteration.schema.d.ts","sourceRoot":"","sources":["../../../src/core/schemas/iteration.schema.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,qBAAqB;;;;;;EAMhC,CAAC;AAGH,eAAO,MAAM,mBAAmB;;;;;iBAK9B,CAAC;AAGH,eAAO,MAAM,oBAAoB;;;;;;;iBAO/B,CAAC;AAGH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmC1B,CAAC;AAGH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -10,19 +10,7 @@ export declare const PlatformConfigSchema: z.ZodObject<{
|
|
|
10
10
|
default: z.ZodDefault<z.ZodBoolean>;
|
|
11
11
|
tech_stack: z.ZodOptional<z.ZodString>;
|
|
12
12
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
13
|
-
},
|
|
14
|
-
default: boolean;
|
|
15
|
-
name: string;
|
|
16
|
-
enabled: boolean;
|
|
17
|
-
description?: string | undefined;
|
|
18
|
-
tech_stack?: string | undefined;
|
|
19
|
-
}, {
|
|
20
|
-
name: string;
|
|
21
|
-
default?: boolean | undefined;
|
|
22
|
-
enabled?: boolean | undefined;
|
|
23
|
-
description?: string | undefined;
|
|
24
|
-
tech_stack?: string | undefined;
|
|
25
|
-
}>;
|
|
13
|
+
}, z.core.$strip>;
|
|
26
14
|
export declare const PlatformsConfigSchema: z.ZodObject<{
|
|
27
15
|
platforms: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
28
16
|
name: z.ZodString;
|
|
@@ -30,36 +18,8 @@ export declare const PlatformsConfigSchema: z.ZodObject<{
|
|
|
30
18
|
default: z.ZodDefault<z.ZodBoolean>;
|
|
31
19
|
tech_stack: z.ZodOptional<z.ZodString>;
|
|
32
20
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
33
|
-
},
|
|
34
|
-
|
|
35
|
-
name: string;
|
|
36
|
-
enabled: boolean;
|
|
37
|
-
description?: string | undefined;
|
|
38
|
-
tech_stack?: string | undefined;
|
|
39
|
-
}, {
|
|
40
|
-
name: string;
|
|
41
|
-
default?: boolean | undefined;
|
|
42
|
-
enabled?: boolean | undefined;
|
|
43
|
-
description?: string | undefined;
|
|
44
|
-
tech_stack?: string | undefined;
|
|
45
|
-
}>>;
|
|
46
|
-
}, "strip", z.ZodTypeAny, {
|
|
47
|
-
platforms: Record<string, {
|
|
48
|
-
default: boolean;
|
|
49
|
-
name: string;
|
|
50
|
-
enabled: boolean;
|
|
51
|
-
description?: string | undefined;
|
|
52
|
-
tech_stack?: string | undefined;
|
|
53
|
-
}>;
|
|
54
|
-
}, {
|
|
55
|
-
platforms: Record<string, {
|
|
56
|
-
name: string;
|
|
57
|
-
default?: boolean | undefined;
|
|
58
|
-
enabled?: boolean | undefined;
|
|
59
|
-
description?: string | undefined;
|
|
60
|
-
tech_stack?: string | undefined;
|
|
61
|
-
}>;
|
|
62
|
-
}>;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
}, z.core.$strip>;
|
|
63
23
|
export type PlatformConfig = z.infer<typeof PlatformConfigSchema>;
|
|
64
24
|
export type PlatformsConfig = z.infer<typeof PlatformsConfigSchema>;
|
|
65
25
|
export declare const DEFAULT_PLATFORMS: PlatformsConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.schema.d.ts","sourceRoot":"","sources":["../../../src/core/schemas/platform.schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"platform.schema.d.ts","sourceRoot":"","sources":["../../../src/core/schemas/platform.schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,oBAAoB;;;;;;iBAM/B,CAAC;AAGH,eAAO,MAAM,qBAAqB;;;;;;;;iBAEhC,CAAC;AAGH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAGpE,eAAO,MAAM,iBAAiB,EAAE,eAwB/B,CAAC"}
|
|
@@ -3,163 +3,107 @@
|
|
|
3
3
|
* 定义 Task(任务)的核心数据结构
|
|
4
4
|
*/
|
|
5
5
|
import { z } from 'zod';
|
|
6
|
-
export declare const TaskStatusSchema: z.ZodEnum<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
export declare const TaskStatusSchema: z.ZodEnum<{
|
|
7
|
+
pending: "pending";
|
|
8
|
+
completed: "completed";
|
|
9
|
+
in_progress: "in_progress";
|
|
10
|
+
archived: "archived";
|
|
11
|
+
blocked: "blocked";
|
|
12
|
+
}>;
|
|
13
|
+
export declare const TaskTypeSchema: z.ZodEnum<{
|
|
14
|
+
feature: "feature";
|
|
15
|
+
bugfix: "bugfix";
|
|
16
|
+
research: "research";
|
|
17
|
+
document: "document";
|
|
18
|
+
migration: "migration";
|
|
19
|
+
optimization: "optimization";
|
|
20
|
+
}>;
|
|
21
|
+
export declare const PlatformSchema: z.ZodEnum<{
|
|
22
|
+
h5: "h5";
|
|
23
|
+
miniapp: "miniapp";
|
|
24
|
+
web: "web";
|
|
25
|
+
tablet: "tablet";
|
|
26
|
+
tv: "tv";
|
|
27
|
+
}>;
|
|
28
|
+
export declare const PrioritySchema: z.ZodEnum<{
|
|
29
|
+
high: "high";
|
|
30
|
+
medium: "medium";
|
|
31
|
+
low: "low";
|
|
32
|
+
}>;
|
|
10
33
|
export declare const TaskOutputSchema: z.ZodObject<{
|
|
11
34
|
type: z.ZodString;
|
|
12
35
|
path: z.ZodString;
|
|
13
|
-
status: z.ZodDefault<z.ZodEnum<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}, {
|
|
19
|
-
path: string;
|
|
20
|
-
type: string;
|
|
21
|
-
status?: "done" | "pending" | undefined;
|
|
22
|
-
}>;
|
|
36
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
37
|
+
done: "done";
|
|
38
|
+
pending: "pending";
|
|
39
|
+
}>>;
|
|
40
|
+
}, z.core.$strip>;
|
|
23
41
|
export declare const ChangelogEntrySchema: z.ZodObject<{
|
|
24
42
|
version: z.ZodString;
|
|
25
43
|
date: z.ZodString;
|
|
26
44
|
content: z.ZodString;
|
|
27
45
|
source: z.ZodString;
|
|
28
46
|
author: z.ZodString;
|
|
29
|
-
},
|
|
30
|
-
source: string;
|
|
31
|
-
version: string;
|
|
32
|
-
content: string;
|
|
33
|
-
date: string;
|
|
34
|
-
author: string;
|
|
35
|
-
}, {
|
|
36
|
-
source: string;
|
|
37
|
-
version: string;
|
|
38
|
-
content: string;
|
|
39
|
-
date: string;
|
|
40
|
-
author: string;
|
|
41
|
-
}>;
|
|
47
|
+
}, z.core.$strip>;
|
|
42
48
|
export declare const AssigneeSchema: z.ZodObject<{
|
|
43
49
|
backend: z.ZodOptional<z.ZodString>;
|
|
44
50
|
frontend: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
45
|
-
},
|
|
46
|
-
frontend?: Record<string, string> | undefined;
|
|
47
|
-
backend?: string | undefined;
|
|
48
|
-
}, {
|
|
49
|
-
frontend?: Record<string, string> | undefined;
|
|
50
|
-
backend?: string | undefined;
|
|
51
|
-
}>;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
52
|
export declare const TaskSchema: z.ZodObject<{
|
|
53
53
|
id: z.ZodString;
|
|
54
54
|
name: z.ZodString;
|
|
55
|
-
type: z.ZodEnum<
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
type: z.ZodEnum<{
|
|
56
|
+
feature: "feature";
|
|
57
|
+
bugfix: "bugfix";
|
|
58
|
+
research: "research";
|
|
59
|
+
document: "document";
|
|
60
|
+
migration: "migration";
|
|
61
|
+
optimization: "optimization";
|
|
62
|
+
}>;
|
|
63
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
64
|
+
pending: "pending";
|
|
65
|
+
completed: "completed";
|
|
66
|
+
in_progress: "in_progress";
|
|
67
|
+
archived: "archived";
|
|
68
|
+
blocked: "blocked";
|
|
69
|
+
}>>;
|
|
70
|
+
priority: z.ZodDefault<z.ZodEnum<{
|
|
71
|
+
high: "high";
|
|
72
|
+
medium: "medium";
|
|
73
|
+
low: "low";
|
|
74
|
+
}>>;
|
|
58
75
|
iteration: z.ZodString;
|
|
59
|
-
dependencies: z.ZodDefault<z.ZodArray<z.ZodString
|
|
60
|
-
platforms: z.ZodDefault<z.ZodArray<z.ZodEnum<
|
|
76
|
+
dependencies: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
77
|
+
platforms: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
78
|
+
h5: "h5";
|
|
79
|
+
miniapp: "miniapp";
|
|
80
|
+
web: "web";
|
|
81
|
+
tablet: "tablet";
|
|
82
|
+
tv: "tv";
|
|
83
|
+
}>>>;
|
|
61
84
|
assignees: z.ZodOptional<z.ZodObject<{
|
|
62
85
|
backend: z.ZodOptional<z.ZodString>;
|
|
63
86
|
frontend: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
64
|
-
},
|
|
65
|
-
frontend?: Record<string, string> | undefined;
|
|
66
|
-
backend?: string | undefined;
|
|
67
|
-
}, {
|
|
68
|
-
frontend?: Record<string, string> | undefined;
|
|
69
|
-
backend?: string | undefined;
|
|
70
|
-
}>>;
|
|
87
|
+
}, z.core.$strip>>;
|
|
71
88
|
outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
72
89
|
type: z.ZodString;
|
|
73
90
|
path: z.ZodString;
|
|
74
|
-
status: z.ZodDefault<z.ZodEnum<
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
path: string;
|
|
81
|
-
type: string;
|
|
82
|
-
status?: "done" | "pending" | undefined;
|
|
83
|
-
}>, "many">>;
|
|
84
|
-
acceptanceCriteria: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
91
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
92
|
+
done: "done";
|
|
93
|
+
pending: "pending";
|
|
94
|
+
}>>;
|
|
95
|
+
}, z.core.$strip>>>;
|
|
96
|
+
acceptanceCriteria: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
85
97
|
changelog: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
86
98
|
version: z.ZodString;
|
|
87
99
|
date: z.ZodString;
|
|
88
100
|
content: z.ZodString;
|
|
89
101
|
source: z.ZodString;
|
|
90
102
|
author: z.ZodString;
|
|
91
|
-
},
|
|
92
|
-
source: string;
|
|
93
|
-
version: string;
|
|
94
|
-
content: string;
|
|
95
|
-
date: string;
|
|
96
|
-
author: string;
|
|
97
|
-
}, {
|
|
98
|
-
source: string;
|
|
99
|
-
version: string;
|
|
100
|
-
content: string;
|
|
101
|
-
date: string;
|
|
102
|
-
author: string;
|
|
103
|
-
}>, "many">>;
|
|
103
|
+
}, z.core.$strip>>>;
|
|
104
104
|
createdAt: z.ZodString;
|
|
105
105
|
updatedAt: z.ZodString;
|
|
106
|
-
},
|
|
107
|
-
platforms: ("h5" | "miniapp" | "web" | "tablet" | "tv")[];
|
|
108
|
-
name: string;
|
|
109
|
-
type: "feature" | "bugfix" | "research" | "document" | "migration" | "optimization";
|
|
110
|
-
status: "pending" | "completed" | "in_progress" | "archived" | "blocked";
|
|
111
|
-
iteration: string;
|
|
112
|
-
updatedAt: string;
|
|
113
|
-
id: string;
|
|
114
|
-
priority: "high" | "medium" | "low";
|
|
115
|
-
outputs: {
|
|
116
|
-
path: string;
|
|
117
|
-
type: string;
|
|
118
|
-
status: "done" | "pending";
|
|
119
|
-
}[];
|
|
120
|
-
createdAt: string;
|
|
121
|
-
acceptanceCriteria: string[];
|
|
122
|
-
dependencies: string[];
|
|
123
|
-
changelog: {
|
|
124
|
-
source: string;
|
|
125
|
-
version: string;
|
|
126
|
-
content: string;
|
|
127
|
-
date: string;
|
|
128
|
-
author: string;
|
|
129
|
-
}[];
|
|
130
|
-
assignees?: {
|
|
131
|
-
frontend?: Record<string, string> | undefined;
|
|
132
|
-
backend?: string | undefined;
|
|
133
|
-
} | undefined;
|
|
134
|
-
}, {
|
|
135
|
-
name: string;
|
|
136
|
-
type: "feature" | "bugfix" | "research" | "document" | "migration" | "optimization";
|
|
137
|
-
iteration: string;
|
|
138
|
-
updatedAt: string;
|
|
139
|
-
id: string;
|
|
140
|
-
createdAt: string;
|
|
141
|
-
platforms?: ("h5" | "miniapp" | "web" | "tablet" | "tv")[] | undefined;
|
|
142
|
-
status?: "pending" | "completed" | "in_progress" | "archived" | "blocked" | undefined;
|
|
143
|
-
priority?: "high" | "medium" | "low" | undefined;
|
|
144
|
-
outputs?: {
|
|
145
|
-
path: string;
|
|
146
|
-
type: string;
|
|
147
|
-
status?: "done" | "pending" | undefined;
|
|
148
|
-
}[] | undefined;
|
|
149
|
-
acceptanceCriteria?: string[] | undefined;
|
|
150
|
-
dependencies?: string[] | undefined;
|
|
151
|
-
assignees?: {
|
|
152
|
-
frontend?: Record<string, string> | undefined;
|
|
153
|
-
backend?: string | undefined;
|
|
154
|
-
} | undefined;
|
|
155
|
-
changelog?: {
|
|
156
|
-
source: string;
|
|
157
|
-
version: string;
|
|
158
|
-
content: string;
|
|
159
|
-
date: string;
|
|
160
|
-
author: string;
|
|
161
|
-
}[] | undefined;
|
|
162
|
-
}>;
|
|
106
|
+
}, z.core.$strip>;
|
|
163
107
|
export type TaskStatus = z.infer<typeof TaskStatusSchema>;
|
|
164
108
|
export type TaskType = z.infer<typeof TaskTypeSchema>;
|
|
165
109
|
export type Platform = z.infer<typeof PlatformSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task.schema.d.ts","sourceRoot":"","sources":["../../../src/core/schemas/task.schema.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"task.schema.d.ts","sourceRoot":"","sources":["../../../src/core/schemas/task.schema.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,gBAAgB;;;;;;EAM3B,CAAC;AAGH,eAAO,MAAM,cAAc;;;;;;;EAOzB,CAAC;AAGH,eAAO,MAAM,cAAc;;;;;;EAMzB,CAAC;AAGH,eAAO,MAAM,cAAc;;;;EAIzB,CAAC;AAGH,eAAO,MAAM,gBAAgB;;;;;;;iBAI3B,CAAC;AAGH,eAAO,MAAM,oBAAoB;;;;;;iBAM/B,CAAC;AAIH,eAAO,MAAM,cAAc;;;iBAGzB,CAAC;AAGH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgCrB,CAAC;AAGH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AACtD,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AACtD,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AACtD,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AACtD,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "speccore",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.169",
|
|
4
4
|
"description": "SpecCore - Code by Spec, Not by Vibe.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -50,5 +50,8 @@
|
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">=18.0.0"
|
|
53
|
+
},
|
|
54
|
+
"optionalDependencies": {
|
|
55
|
+
"@qoder-ai/qoder-agent-sdk": "^1.0.41"
|
|
53
56
|
}
|
|
54
57
|
}
|