maxsim-flutter 1.16.0 → 1.17.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.
@@ -0,0 +1,194 @@
1
+ import { z } from 'zod';
2
+ export declare const AcceptanceCriterionSchema: z.ZodObject<{
3
+ description: z.ZodString;
4
+ predicate: z.ZodOptional<z.ZodString>;
5
+ }, "strip", z.ZodTypeAny, {
6
+ description: string;
7
+ predicate?: string | undefined;
8
+ }, {
9
+ description: string;
10
+ predicate?: string | undefined;
11
+ }>;
12
+ export declare const PrdStorySchema: z.ZodObject<{
13
+ id: z.ZodString;
14
+ phase: z.ZodNumber;
15
+ priority: z.ZodEnum<["P0", "P1", "P2", "P3"]>;
16
+ title: z.ZodString;
17
+ description: z.ZodString;
18
+ module: z.ZodOptional<z.ZodString>;
19
+ storyPoints: z.ZodEffects<z.ZodNumber, 1 | 2 | 3 | 5 | 8 | 13, number>;
20
+ dependencies: z.ZodArray<z.ZodString, "many">;
21
+ acceptanceCriteria: z.ZodArray<z.ZodObject<{
22
+ description: z.ZodString;
23
+ predicate: z.ZodOptional<z.ZodString>;
24
+ }, "strip", z.ZodTypeAny, {
25
+ description: string;
26
+ predicate?: string | undefined;
27
+ }, {
28
+ description: string;
29
+ predicate?: string | undefined;
30
+ }>, "many">;
31
+ passes: z.ZodBoolean;
32
+ }, "strip", z.ZodTypeAny, {
33
+ description: string;
34
+ id: string;
35
+ phase: number;
36
+ priority: "P0" | "P1" | "P2" | "P3";
37
+ title: string;
38
+ acceptanceCriteria: {
39
+ description: string;
40
+ predicate?: string | undefined;
41
+ }[];
42
+ passes: boolean;
43
+ dependencies: string[];
44
+ storyPoints: 1 | 2 | 3 | 5 | 8 | 13;
45
+ module?: string | undefined;
46
+ }, {
47
+ description: string;
48
+ id: string;
49
+ phase: number;
50
+ priority: "P0" | "P1" | "P2" | "P3";
51
+ title: string;
52
+ acceptanceCriteria: {
53
+ description: string;
54
+ predicate?: string | undefined;
55
+ }[];
56
+ passes: boolean;
57
+ dependencies: string[];
58
+ storyPoints: number;
59
+ module?: string | undefined;
60
+ }>;
61
+ declare const PrdPhaseSchema: z.ZodObject<{
62
+ phase: z.ZodNumber;
63
+ title: z.ZodString;
64
+ description: z.ZodOptional<z.ZodString>;
65
+ }, "strip", z.ZodTypeAny, {
66
+ phase: number;
67
+ title: string;
68
+ description?: string | undefined;
69
+ }, {
70
+ phase: number;
71
+ title: string;
72
+ description?: string | undefined;
73
+ }>;
74
+ export declare const PrdSchema: z.ZodObject<{
75
+ version: z.ZodString;
76
+ project: z.ZodString;
77
+ generatedAt: z.ZodOptional<z.ZodString>;
78
+ phases: z.ZodOptional<z.ZodArray<z.ZodObject<{
79
+ phase: z.ZodNumber;
80
+ title: z.ZodString;
81
+ description: z.ZodOptional<z.ZodString>;
82
+ }, "strip", z.ZodTypeAny, {
83
+ phase: number;
84
+ title: string;
85
+ description?: string | undefined;
86
+ }, {
87
+ phase: number;
88
+ title: string;
89
+ description?: string | undefined;
90
+ }>, "many">>;
91
+ stories: z.ZodArray<z.ZodObject<{
92
+ id: z.ZodString;
93
+ phase: z.ZodNumber;
94
+ priority: z.ZodEnum<["P0", "P1", "P2", "P3"]>;
95
+ title: z.ZodString;
96
+ description: z.ZodString;
97
+ module: z.ZodOptional<z.ZodString>;
98
+ storyPoints: z.ZodEffects<z.ZodNumber, 1 | 2 | 3 | 5 | 8 | 13, number>;
99
+ dependencies: z.ZodArray<z.ZodString, "many">;
100
+ acceptanceCriteria: z.ZodArray<z.ZodObject<{
101
+ description: z.ZodString;
102
+ predicate: z.ZodOptional<z.ZodString>;
103
+ }, "strip", z.ZodTypeAny, {
104
+ description: string;
105
+ predicate?: string | undefined;
106
+ }, {
107
+ description: string;
108
+ predicate?: string | undefined;
109
+ }>, "many">;
110
+ passes: z.ZodBoolean;
111
+ }, "strip", z.ZodTypeAny, {
112
+ description: string;
113
+ id: string;
114
+ phase: number;
115
+ priority: "P0" | "P1" | "P2" | "P3";
116
+ title: string;
117
+ acceptanceCriteria: {
118
+ description: string;
119
+ predicate?: string | undefined;
120
+ }[];
121
+ passes: boolean;
122
+ dependencies: string[];
123
+ storyPoints: 1 | 2 | 3 | 5 | 8 | 13;
124
+ module?: string | undefined;
125
+ }, {
126
+ description: string;
127
+ id: string;
128
+ phase: number;
129
+ priority: "P0" | "P1" | "P2" | "P3";
130
+ title: string;
131
+ acceptanceCriteria: {
132
+ description: string;
133
+ predicate?: string | undefined;
134
+ }[];
135
+ passes: boolean;
136
+ dependencies: string[];
137
+ storyPoints: number;
138
+ module?: string | undefined;
139
+ }>, "many">;
140
+ }, "strip", z.ZodTypeAny, {
141
+ project: string;
142
+ version: string;
143
+ stories: {
144
+ description: string;
145
+ id: string;
146
+ phase: number;
147
+ priority: "P0" | "P1" | "P2" | "P3";
148
+ title: string;
149
+ acceptanceCriteria: {
150
+ description: string;
151
+ predicate?: string | undefined;
152
+ }[];
153
+ passes: boolean;
154
+ dependencies: string[];
155
+ storyPoints: 1 | 2 | 3 | 5 | 8 | 13;
156
+ module?: string | undefined;
157
+ }[];
158
+ generatedAt?: string | undefined;
159
+ phases?: {
160
+ phase: number;
161
+ title: string;
162
+ description?: string | undefined;
163
+ }[] | undefined;
164
+ }, {
165
+ project: string;
166
+ version: string;
167
+ stories: {
168
+ description: string;
169
+ id: string;
170
+ phase: number;
171
+ priority: "P0" | "P1" | "P2" | "P3";
172
+ title: string;
173
+ acceptanceCriteria: {
174
+ description: string;
175
+ predicate?: string | undefined;
176
+ }[];
177
+ passes: boolean;
178
+ dependencies: string[];
179
+ storyPoints: number;
180
+ module?: string | undefined;
181
+ }[];
182
+ generatedAt?: string | undefined;
183
+ phases?: {
184
+ phase: number;
185
+ title: string;
186
+ description?: string | undefined;
187
+ }[] | undefined;
188
+ }>;
189
+ export type AcceptanceCriterion = z.infer<typeof AcceptanceCriterionSchema>;
190
+ export type PrdStory = z.infer<typeof PrdStorySchema>;
191
+ export type PrdPhase = z.infer<typeof PrdPhaseSchema>;
192
+ export type Prd = z.infer<typeof PrdSchema>;
193
+ export {};
194
+ //# sourceMappingURL=prd-schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prd-schema.d.ts","sourceRoot":"","sources":["../../src/claude-setup/prd-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,yBAAyB;;;;;;;;;EAGpC,CAAC;AAIH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAezB,CAAC;AAEH,QAAA,MAAM,cAAc;;;;;;;;;;;;EAIlB,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMpB,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,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,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { z } from 'zod';
2
+ export const AcceptanceCriterionSchema = z.object({
3
+ description: z.string(),
4
+ predicate: z.string().optional(),
5
+ });
6
+ const VALID_STORY_POINTS = [1, 2, 3, 5, 8, 13];
7
+ export const PrdStorySchema = z.object({
8
+ id: z.string(),
9
+ phase: z.number().int().positive(),
10
+ priority: z.enum(['P0', 'P1', 'P2', 'P3']),
11
+ title: z.string(),
12
+ description: z.string(),
13
+ module: z.string().optional(),
14
+ storyPoints: z.number().refine((val) => VALID_STORY_POINTS.includes(val), { message: 'storyPoints must be a Fibonacci number: 1, 2, 3, 5, 8, or 13' }),
15
+ dependencies: z.array(z.string()),
16
+ acceptanceCriteria: z.array(AcceptanceCriterionSchema),
17
+ passes: z.boolean(),
18
+ });
19
+ const PrdPhaseSchema = z.object({
20
+ phase: z.number().int().positive(),
21
+ title: z.string(),
22
+ description: z.string().optional(),
23
+ });
24
+ export const PrdSchema = z.object({
25
+ version: z.string(),
26
+ project: z.string(),
27
+ generatedAt: z.string().optional(),
28
+ phases: z.array(PrdPhaseSchema).optional(),
29
+ stories: z.array(PrdStorySchema),
30
+ });
31
+ //# sourceMappingURL=prd-schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prd-schema.js","sourceRoot":"","sources":["../../src/claude-setup/prd-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAEH,MAAM,kBAAkB,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAU,CAAC;AAExD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAClC,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAC1C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,MAAM,CAC5B,CAAC,GAAG,EAA8C,EAAE,CACjD,kBAAwC,CAAC,QAAQ,CAAC,GAAG,CAAC,EACzD,EAAE,OAAO,EAAE,8DAA8D,EAAE,CAC5E;IACD,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACjC,kBAAkB,EAAE,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC;IACtD,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;CACpB,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAClC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,QAAQ,EAAE;IAC1C,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC;CACjC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maxsim-flutter",
3
- "version": "1.16.0",
3
+ "version": "1.17.0",
4
4
  "description": "AI-powered Flutter app scaffolding with Clean Architecture, Riverpod, and autonomous development via Ralph",
5
5
  "type": "module",
6
6
  "bin": {