speccore 8.3.168 → 8.3.170
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/commands/execute.d.ts.map +1 -1
- package/dist/commands/execute.js +32 -0
- package/dist/commands/execute.js.map +1 -1
- package/dist/commands/iteration/split.d.ts.map +1 -1
- package/dist/commands/iteration/split.js +31 -2
- package/dist/commands/iteration/split.js.map +1 -1
- package/dist/commands/plan.d.ts.map +1 -1
- package/dist/commands/plan.js +31 -0
- package/dist/commands/plan.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
|
@@ -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.170",
|
|
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
|
}
|