specweave 1.0.0-rc.2 → 1.0.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.
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/config/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8B/B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;iBAQjC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAehC,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/config/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;GAEG;AACH,eAAO,MAAM,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?: string;
88
+ at100K?: string;
89
+ at1M?: string;
90
+ }, {
91
+ at1K?: string;
92
+ at10K?: string;
93
+ at100K?: string;
94
+ at1M?: string;
95
+ }>;
86
96
  export declare const CloudCreditSchema: z.ZodObject<{
87
97
  provider: z.ZodString;
88
98
  amount: z.ZodString;
89
99
  duration: z.ZodString;
90
100
  requirements: z.ZodOptional<z.ZodString>;
91
101
  url: z.ZodOptional<z.ZodString>;
92
- }, z.core.$strip>;
102
+ }, "strip", z.ZodTypeAny, {
103
+ provider?: string;
104
+ url?: string;
105
+ requirements?: string;
106
+ amount?: string;
107
+ duration?: string;
108
+ }, {
109
+ provider?: string;
110
+ url?: string;
111
+ requirements?: string;
112
+ amount?: string;
113
+ duration?: string;
114
+ }>;
93
115
  export declare const ProjectDefinitionSchema: z.ZodObject<{
94
116
  name: z.ZodString;
95
117
  description: z.ZodString;
96
- stack: z.ZodArray<z.ZodString>;
97
- }, z.core.$strip>;
118
+ stack: z.ZodArray<z.ZodString, "many">;
119
+ }, "strip", z.ZodTypeAny, {
120
+ name?: string;
121
+ stack?: string[];
122
+ description?: string;
123
+ }, {
124
+ name?: string;
125
+ stack?: string[];
126
+ description?: string;
127
+ }>;
98
128
  export declare const ArchitectureRecommendationSchema: z.ZodObject<{
99
- architecture: z.ZodEnum<{
100
- hybrid: "hybrid";
101
- microservices: "microservices";
102
- serverless: "serverless";
103
- "traditional-monolith": "traditional-monolith";
104
- "modular-monolith": "modular-monolith";
105
- jamstack: "jamstack";
106
- }>;
107
- infrastructure: z.ZodArray<z.ZodString>;
129
+ architecture: z.ZodEnum<["serverless", "traditional-monolith", "microservices", "modular-monolith", "jamstack", "hybrid"]>;
130
+ infrastructure: z.ZodArray<z.ZodString, "many">;
108
131
  rationale: z.ZodString;
109
132
  costEstimate: z.ZodObject<{
110
133
  at1K: z.ZodString;
111
134
  at10K: z.ZodString;
112
135
  at100K: z.ZodString;
113
136
  at1M: z.ZodString;
114
- }, z.core.$strip>;
137
+ }, "strip", z.ZodTypeAny, {
138
+ at1K?: string;
139
+ at10K?: string;
140
+ at100K?: string;
141
+ at1M?: string;
142
+ }, {
143
+ at1K?: string;
144
+ at10K?: string;
145
+ at100K?: string;
146
+ at1M?: string;
147
+ }>;
115
148
  cloudCredits: z.ZodArray<z.ZodObject<{
116
149
  provider: z.ZodString;
117
150
  amount: z.ZodString;
118
151
  duration: z.ZodString;
119
152
  requirements: z.ZodOptional<z.ZodString>;
120
153
  url: z.ZodOptional<z.ZodString>;
121
- }, z.core.$strip>>;
154
+ }, "strip", z.ZodTypeAny, {
155
+ provider?: string;
156
+ url?: string;
157
+ requirements?: string;
158
+ amount?: string;
159
+ duration?: string;
160
+ }, {
161
+ provider?: string;
162
+ url?: string;
163
+ requirements?: string;
164
+ amount?: string;
165
+ duration?: string;
166
+ }>, "many">;
122
167
  projects: z.ZodArray<z.ZodObject<{
123
168
  name: z.ZodString;
124
169
  description: z.ZodString;
125
- stack: z.ZodArray<z.ZodString>;
126
- }, z.core.$strip>>;
127
- methodology: z.ZodEnum<{
128
- agile: "agile";
129
- waterfall: "waterfall";
130
- }>;
170
+ stack: z.ZodArray<z.ZodString, "many">;
171
+ }, "strip", z.ZodTypeAny, {
172
+ name?: string;
173
+ stack?: string[];
174
+ description?: string;
175
+ }, {
176
+ name?: string;
177
+ stack?: string[];
178
+ description?: string;
179
+ }>, "many">;
180
+ methodology: z.ZodEnum<["agile", "waterfall"]>;
131
181
  alternatives: z.ZodOptional<z.ZodArray<z.ZodObject<{
132
- architecture: z.ZodEnum<{
133
- hybrid: "hybrid";
134
- microservices: "microservices";
135
- serverless: "serverless";
136
- "traditional-monolith": "traditional-monolith";
137
- "modular-monolith": "modular-monolith";
138
- jamstack: "jamstack";
139
- }>;
140
- pros: z.ZodArray<z.ZodString>;
141
- cons: z.ZodArray<z.ZodString>;
142
- }, z.core.$strip>>>;
143
- }, z.core.$strip>;
182
+ architecture: z.ZodEnum<["serverless", "traditional-monolith", "microservices", "modular-monolith", "jamstack", "hybrid"]>;
183
+ pros: z.ZodArray<z.ZodString, "many">;
184
+ cons: z.ZodArray<z.ZodString, "many">;
185
+ }, "strip", z.ZodTypeAny, {
186
+ architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
187
+ pros?: string[];
188
+ cons?: string[];
189
+ }, {
190
+ architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
191
+ pros?: string[];
192
+ cons?: string[];
193
+ }>, "many">>;
194
+ }, "strip", z.ZodTypeAny, {
195
+ architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
196
+ infrastructure?: string[];
197
+ projects?: {
198
+ name?: string;
199
+ stack?: string[];
200
+ description?: string;
201
+ }[];
202
+ alternatives?: {
203
+ architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
204
+ pros?: string[];
205
+ cons?: string[];
206
+ }[];
207
+ rationale?: string;
208
+ costEstimate?: {
209
+ at1K?: string;
210
+ at10K?: string;
211
+ at100K?: string;
212
+ at1M?: string;
213
+ };
214
+ cloudCredits?: {
215
+ provider?: string;
216
+ url?: string;
217
+ requirements?: string;
218
+ amount?: string;
219
+ duration?: string;
220
+ }[];
221
+ methodology?: "agile" | "waterfall";
222
+ }, {
223
+ architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
224
+ infrastructure?: string[];
225
+ projects?: {
226
+ name?: string;
227
+ stack?: string[];
228
+ description?: string;
229
+ }[];
230
+ alternatives?: {
231
+ architecture?: "hybrid" | "microservices" | "serverless" | "traditional-monolith" | "modular-monolith" | "jamstack";
232
+ pros?: string[];
233
+ cons?: string[];
234
+ }[];
235
+ rationale?: string;
236
+ costEstimate?: {
237
+ at1K?: string;
238
+ at10K?: string;
239
+ at100K?: string;
240
+ at1M?: string;
241
+ };
242
+ cloudCredits?: {
243
+ provider?: string;
244
+ url?: string;
245
+ requirements?: string;
246
+ amount?: string;
247
+ duration?: string;
248
+ }[];
249
+ methodology?: "agile" | "waterfall";
250
+ }>;
144
251
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/init/architecture/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACxB,YAAY,GACZ,sBAAsB,GACtB,eAAe,GACf,kBAAkB,GAClB,UAAU,GACV,QAAQ,CAAC;AAEb;;GAEG;AACH,MAAM,MAAM,UAAU,GAClB,cAAc,GACd,UAAU,GACV,MAAM,GACN,eAAe,GACf,UAAU,CAAC;AAEf;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,uBAAuB;IACvB,IAAI,EAAE,MAAM,CAAC;IAEb,wBAAwB;IACxB,KAAK,EAAE,MAAM,CAAC;IAEd,yBAAyB;IACzB,MAAM,EAAE,MAAM,CAAC;IAEf,uBAAuB;IACvB,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,qBAAqB;IACrB,QAAQ,EAAE,MAAM,CAAC;IAEjB,0BAA0B;IAC1B,MAAM,EAAE,MAAM,CAAC;IAEf,0BAA0B;IAC1B,QAAQ,EAAE,MAAM,CAAC;IAEjB,8BAA8B;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,sBAAsB;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,mBAAmB;IACnB,IAAI,EAAE,MAAM,CAAC;IAEb,0BAA0B;IAC1B,WAAW,EAAE,MAAM,CAAC;IAEpB,uBAAuB;IACvB,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,oCAAoC;IACpC,YAAY,EAAE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B;;;;;;;;;;;;;;;;;;EAM5B,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;EAIlC,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2B3C,CAAC"}
@@ -57,38 +57,35 @@ export interface ComplianceDetectionResult {
57
57
  export declare const ComplianceStandardSchema: z.ZodObject<{
58
58
  id: z.ZodString;
59
59
  name: z.ZodString;
60
- dataTypes: z.ZodArray<z.ZodEnum<{
61
- healthcare: "healthcare";
62
- personal: "personal";
63
- payment: "payment";
64
- location: "location";
65
- financial: "financial";
66
- government: "government";
67
- student: "student";
68
- biometric: "biometric";
69
- children: "children";
70
- sensitive: "sensitive";
71
- }>>;
72
- regions: z.ZodArray<z.ZodString>;
73
- teamImpact: z.ZodArray<z.ZodEnum<{
74
- "auth-team": "auth-team";
75
- "data-team": "data-team";
76
- "devsecops-team": "devsecops-team";
77
- ciso: "ciso";
78
- dpo: "dpo";
79
- "privacy-engineering": "privacy-engineering";
80
- "payments-team": "payments-team";
81
- "compliance-team": "compliance-team";
82
- }>>;
60
+ dataTypes: z.ZodArray<z.ZodEnum<["healthcare", "payment", "personal", "government", "student", "financial", "biometric", "location", "children", "sensitive"]>, "many">;
61
+ regions: z.ZodArray<z.ZodString, "many">;
62
+ teamImpact: z.ZodArray<z.ZodEnum<["auth-team", "data-team", "devsecops-team", "ciso", "dpo", "privacy-engineering", "payments-team", "compliance-team"]>, "many">;
83
63
  costImpact: z.ZodString;
84
64
  certificationRequired: z.ZodBoolean;
85
- auditFrequency: z.ZodEnum<{
86
- none: "none";
87
- annual: "annual";
88
- quarterly: "quarterly";
89
- continuous: "continuous";
90
- }>;
65
+ auditFrequency: z.ZodEnum<["annual", "quarterly", "continuous", "none"]>;
91
66
  description: z.ZodOptional<z.ZodString>;
92
67
  documentationUrl: z.ZodOptional<z.ZodString>;
93
- }, z.core.$strip>;
68
+ }, "strip", z.ZodTypeAny, {
69
+ name?: string;
70
+ description?: string;
71
+ id?: string;
72
+ dataTypes?: ("healthcare" | "personal" | "payment" | "location" | "financial" | "government" | "student" | "biometric" | "children" | "sensitive")[];
73
+ regions?: string[];
74
+ teamImpact?: ("auth-team" | "data-team" | "devsecops-team" | "ciso" | "dpo" | "privacy-engineering" | "payments-team" | "compliance-team")[];
75
+ costImpact?: string;
76
+ certificationRequired?: boolean;
77
+ auditFrequency?: "none" | "annual" | "quarterly" | "continuous";
78
+ documentationUrl?: string;
79
+ }, {
80
+ name?: string;
81
+ description?: string;
82
+ id?: string;
83
+ dataTypes?: ("healthcare" | "personal" | "payment" | "location" | "financial" | "government" | "student" | "biometric" | "children" | "sensitive")[];
84
+ regions?: string[];
85
+ teamImpact?: ("auth-team" | "data-team" | "devsecops-team" | "ciso" | "dpo" | "privacy-engineering" | "payments-team" | "compliance-team")[];
86
+ costImpact?: string;
87
+ certificationRequired?: boolean;
88
+ auditFrequency?: "none" | "annual" | "quarterly" | "continuous";
89
+ documentationUrl?: string;
90
+ }>;
94
91
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/init/compliance/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,MAAM,MAAM,QAAQ,GAChB,YAAY,GACZ,SAAS,GACT,UAAU,GACV,YAAY,GACZ,SAAS,GACT,WAAW,GACX,WAAW,GACX,UAAU,GACV,UAAU,GACV,WAAW,CAAC;AAEhB;;GAEG;AACH,MAAM,MAAM,eAAe,GACvB,WAAW,GACX,WAAW,GACX,gBAAgB,GAChB,MAAM,GACN,KAAK,GACL,qBAAqB,GACrB,eAAe,GACf,iBAAiB,CAAC;AAEtB;;GAEG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AM,MAAM,eAAe,GACvB,WAAW,GACX,WAAW,GACX,gBAAgB,GAChB,MAAM,GACN,KAAK,GACL,qBAAqB,GACrB,eAAe,GACf,iBAAiB,CAAC;AAEtB;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,wCAAwC;IACxC,EAAE,EAAE,MAAM,CAAC;IAEX,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAC;IAEb,4CAA4C;IAC5C,SAAS,EAAE,QAAQ,EAAE,CAAC;IAEtB,0CAA0C;IAC1C,OAAO,EAAE,MAAM,EAAE,CAAC;IAElB,uCAAuC;IACvC,UAAU,EAAE,eAAe,EAAE,CAAC;IAE9B,4BAA4B;IAC5B,UAAU,EAAE,MAAM,CAAC;IAEnB,wCAAwC;IACxC,qBAAqB,EAAE,OAAO,CAAC;IAE/B,sBAAsB;IACtB,cAAc,EAAE,QAAQ,GAAG,WAAW,GAAG,YAAY,GAAG,MAAM,CAAC;IAE/D,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,iCAAiC;IACjC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,6BAA6B;IAC7B,SAAS,EAAE,kBAAkB,EAAE,CAAC;IAEhC,oDAAoD;IACpD,gBAAgB,EAAE,eAAe,EAAE,CAAC;IAEpC,6CAA6C;IAC7C,iBAAiB,EAAE,MAAM,CAAC;IAE1B,+BAA+B;IAC/B,eAAe,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+BnC,CAAC"}
@@ -46,18 +46,21 @@ export interface RepositoryMetadata {
46
46
  * Zod schemas
47
47
  */
48
48
  export declare const RepositorySelectionRuleSchema: z.ZodObject<{
49
- type: z.ZodEnum<{
50
- manual: "manual";
51
- all: "all";
52
- keyword: "keyword";
53
- owner: "owner";
54
- prefix: "prefix";
55
- combined: "combined";
56
- }>;
49
+ type: z.ZodEnum<["all", "prefix", "owner", "keyword", "combined", "manual"]>;
57
50
  pattern: z.ZodOptional<z.ZodString>;
58
51
  owner: z.ZodOptional<z.ZodString>;
59
- excludePatterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
60
- }, z.core.$strip>;
52
+ excludePatterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ type?: "manual" | "all" | "keyword" | "owner" | "prefix" | "combined";
55
+ pattern?: string;
56
+ owner?: string;
57
+ excludePatterns?: string[];
58
+ }, {
59
+ type?: "manual" | "all" | "keyword" | "owner" | "prefix" | "combined";
60
+ pattern?: string;
61
+ owner?: string;
62
+ excludePatterns?: string[];
63
+ }>;
61
64
  export declare const RepositoryMetadataSchema: z.ZodObject<{
62
65
  name: z.ZodString;
63
66
  url: z.ZodString;
@@ -68,5 +71,25 @@ export declare const RepositoryMetadataSchema: z.ZodObject<{
68
71
  lastUpdated: z.ZodDate;
69
72
  private: z.ZodOptional<z.ZodBoolean>;
70
73
  defaultBranch: z.ZodOptional<z.ZodString>;
71
- }, z.core.$strip>;
74
+ }, "strip", z.ZodTypeAny, {
75
+ name?: string;
76
+ description?: string;
77
+ language?: string;
78
+ owner?: string;
79
+ url?: string;
80
+ lastUpdated?: Date;
81
+ private?: boolean;
82
+ stars?: number;
83
+ defaultBranch?: string;
84
+ }, {
85
+ name?: string;
86
+ description?: string;
87
+ language?: string;
88
+ owner?: string;
89
+ url?: string;
90
+ lastUpdated?: Date;
91
+ private?: boolean;
92
+ stars?: number;
93
+ defaultBranch?: string;
94
+ }>;
72
95
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/init/repo/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,MAAM,MAAM,aA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AAa,CAAC;IAEpB,0CAA0C;IAC1C,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,qBAAqB;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,yBAAyB;IACzB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,sBAAsB;IACtB,IAAI,EAAE,MAAM,CAAC;IAEb,0BAA0B;IAC1B,GAAG,EAAE,MAAM,CAAC;IAEZ,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAC;IAEd,6BAA6B;IAC7B,WAAW,EAAE,MAAM,CAAC;IAEpB,uBAAuB;IACvB,QAAQ,EAAE,MAAM,CAAC;IAEjB,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAC;IAEd,6BAA6B;IAC7B,WAAW,EAAE,IAAI,CAAC;IAElB,iBAAiB;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,qBAAqB;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;EAKxC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUnC,CAAC"}
@@ -4,32 +4,99 @@
4
4
  import { z } from 'zod';
5
5
  export declare const ResearchConfigSchema: z.ZodOptional<z.ZodObject<{
6
6
  vision: z.ZodOptional<z.ZodAny>;
7
- compliance: z.ZodOptional<z.ZodArray<z.ZodAny>>;
8
- teams: z.ZodOptional<z.ZodArray<z.ZodAny>>;
9
- repositories: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
+ compliance: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
8
+ teams: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
9
+ repositories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10
10
  architecture: z.ZodOptional<z.ZodAny>;
11
- }, z.core.$strip>>;
11
+ }, "strip", z.ZodTypeAny, {
12
+ architecture?: any;
13
+ teams?: any[];
14
+ repositories?: string[];
15
+ vision?: any;
16
+ compliance?: any[];
17
+ }, {
18
+ architecture?: any;
19
+ teams?: any[];
20
+ repositories?: string[];
21
+ vision?: any;
22
+ compliance?: any[];
23
+ }>>;
12
24
  export declare const SpecWeaveConfigSchema: z.ZodObject<{
13
25
  version: z.ZodString;
14
26
  project: z.ZodObject<{
15
27
  name: z.ZodString;
16
- type: z.ZodEnum<{
17
- single: "single";
18
- multi: "multi";
19
- }>;
20
- }, z.core.$strip>;
28
+ type: z.ZodEnum<["single", "multi"]>;
29
+ }, "strip", z.ZodTypeAny, {
30
+ name?: string;
31
+ type?: "single" | "multi";
32
+ }, {
33
+ name?: string;
34
+ type?: "single" | "multi";
35
+ }>;
21
36
  research: z.ZodOptional<z.ZodObject<{
22
37
  vision: z.ZodOptional<z.ZodAny>;
23
- compliance: z.ZodOptional<z.ZodArray<z.ZodAny>>;
24
- teams: z.ZodOptional<z.ZodArray<z.ZodAny>>;
25
- repositories: z.ZodOptional<z.ZodArray<z.ZodString>>;
38
+ compliance: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
39
+ teams: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
40
+ repositories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
26
41
  architecture: z.ZodOptional<z.ZodAny>;
27
- }, z.core.$strip>>;
42
+ }, "strip", z.ZodTypeAny, {
43
+ architecture?: any;
44
+ teams?: any[];
45
+ repositories?: string[];
46
+ vision?: any;
47
+ compliance?: any[];
48
+ }, {
49
+ architecture?: any;
50
+ teams?: any[];
51
+ repositories?: string[];
52
+ vision?: any;
53
+ compliance?: any[];
54
+ }>>;
28
55
  livingDocs: z.ZodOptional<z.ZodObject<{
29
56
  enabled: z.ZodBoolean;
30
57
  baseDir: z.ZodString;
31
- }, z.core.$strip>>;
32
- }, z.core.$strip>;
58
+ }, "strip", z.ZodTypeAny, {
59
+ enabled?: boolean;
60
+ baseDir?: string;
61
+ }, {
62
+ enabled?: boolean;
63
+ baseDir?: string;
64
+ }>>;
65
+ }, "strip", z.ZodTypeAny, {
66
+ version?: string;
67
+ project?: {
68
+ name?: string;
69
+ type?: "single" | "multi";
70
+ };
71
+ livingDocs?: {
72
+ enabled?: boolean;
73
+ baseDir?: string;
74
+ };
75
+ research?: {
76
+ architecture?: any;
77
+ teams?: any[];
78
+ repositories?: string[];
79
+ vision?: any;
80
+ compliance?: any[];
81
+ };
82
+ }, {
83
+ version?: string;
84
+ project?: {
85
+ name?: string;
86
+ type?: "single" | "multi";
87
+ };
88
+ livingDocs?: {
89
+ enabled?: boolean;
90
+ baseDir?: string;
91
+ };
92
+ research?: {
93
+ architecture?: any;
94
+ teams?: any[];
95
+ repositories?: string[];
96
+ vision?: any;
97
+ compliance?: any[];
98
+ };
99
+ }>;
33
100
  export type ResearchConfig = z.infer<typeof ResearchConfigSchema>;
34
101
  export type SpecWeaveConfig = z.infer<typeof SpecWeaveConfigSchema>;
35
102
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/init/research/src/config/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB;;;;;;kBAMpB,CAAC;AAEd,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;iBAWhC,CAAC;AAEH,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"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/init/research/src/config/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;GAMpB,CAAC;AAEd,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWhC,CAAC;AAEH,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"}
@@ -65,64 +65,119 @@ export interface VisionInsights {
65
65
  * Zod schema for VisionInsights validation
66
66
  */
67
67
  export declare const VisionInsightsSchema: z.ZodObject<{
68
- keywords: z.ZodArray<z.ZodString>;
69
- market: z.ZodEnum<{
70
- unknown: "unknown";
71
- healthcare: "healthcare";
72
- fintech: "fintech";
73
- education: "education";
74
- iot: "iot";
75
- gaming: "gaming";
76
- marketplace: "marketplace";
77
- "productivity-saas": "productivity-saas";
78
- "e-commerce": "e-commerce";
79
- "social-network": "social-network";
80
- "enterprise-b2b": "enterprise-b2b";
81
- "consumer-b2c": "consumer-b2c";
82
- blockchain: "blockchain";
83
- "ai-ml": "ai-ml";
84
- }>;
68
+ keywords: z.ZodArray<z.ZodString, "many">;
69
+ market: z.ZodEnum<["productivity-saas", "healthcare", "fintech", "e-commerce", "education", "gaming", "social-network", "enterprise-b2b", "consumer-b2c", "marketplace", "iot", "blockchain", "ai-ml", "unknown"]>;
85
70
  competitors: z.ZodArray<z.ZodObject<{
86
71
  name: z.ZodString;
87
72
  url: z.ZodOptional<z.ZodString>;
88
- strengths: z.ZodArray<z.ZodString>;
89
- weaknesses: z.ZodArray<z.ZodString>;
90
- }, z.core.$strip>>;
73
+ strengths: z.ZodArray<z.ZodString, "many">;
74
+ weaknesses: z.ZodArray<z.ZodString, "many">;
75
+ }, "strip", z.ZodTypeAny, {
76
+ name?: string;
77
+ url?: string;
78
+ strengths?: string[];
79
+ weaknesses?: string[];
80
+ }, {
81
+ name?: string;
82
+ url?: string;
83
+ strengths?: string[];
84
+ weaknesses?: string[];
85
+ }>, "many">;
91
86
  opportunityScore: z.ZodNumber;
92
87
  viralPotential: z.ZodBoolean;
93
88
  followUpQuestions: z.ZodArray<z.ZodObject<{
94
89
  question: z.ZodString;
95
- type: z.ZodEnum<{
96
- open: "open";
97
- "multiple-choice": "multiple-choice";
98
- scale: "scale";
99
- }>;
100
- options: z.ZodOptional<z.ZodArray<z.ZodString>>;
90
+ type: z.ZodEnum<["open", "multiple-choice", "scale"]>;
91
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
101
92
  rationale: z.ZodString;
102
- }, z.core.$strip>>;
93
+ }, "strip", z.ZodTypeAny, {
94
+ type?: "open" | "multiple-choice" | "scale";
95
+ options?: string[];
96
+ question?: string;
97
+ rationale?: string;
98
+ }, {
99
+ type?: "open" | "multiple-choice" | "scale";
100
+ options?: string[];
101
+ question?: string;
102
+ rationale?: string;
103
+ }>, "many">;
103
104
  confidence: z.ZodOptional<z.ZodNumber>;
104
105
  rawVision: z.ZodString;
105
- }, z.core.$strip>;
106
+ }, "strip", z.ZodTypeAny, {
107
+ keywords?: string[];
108
+ confidence?: number;
109
+ market?: "unknown" | "healthcare" | "fintech" | "education" | "iot" | "gaming" | "marketplace" | "productivity-saas" | "e-commerce" | "social-network" | "enterprise-b2b" | "consumer-b2c" | "blockchain" | "ai-ml";
110
+ competitors?: {
111
+ name?: string;
112
+ url?: string;
113
+ strengths?: string[];
114
+ weaknesses?: string[];
115
+ }[];
116
+ opportunityScore?: number;
117
+ viralPotential?: boolean;
118
+ followUpQuestions?: {
119
+ type?: "open" | "multiple-choice" | "scale";
120
+ options?: string[];
121
+ question?: string;
122
+ rationale?: string;
123
+ }[];
124
+ rawVision?: string;
125
+ }, {
126
+ keywords?: string[];
127
+ confidence?: number;
128
+ market?: "unknown" | "healthcare" | "fintech" | "education" | "iot" | "gaming" | "marketplace" | "productivity-saas" | "e-commerce" | "social-network" | "enterprise-b2b" | "consumer-b2c" | "blockchain" | "ai-ml";
129
+ competitors?: {
130
+ name?: string;
131
+ url?: string;
132
+ strengths?: string[];
133
+ weaknesses?: string[];
134
+ }[];
135
+ opportunityScore?: number;
136
+ viralPotential?: boolean;
137
+ followUpQuestions?: {
138
+ type?: "open" | "multiple-choice" | "scale";
139
+ options?: string[];
140
+ question?: string;
141
+ rationale?: string;
142
+ }[];
143
+ rawVision?: string;
144
+ }>;
106
145
  /**
107
146
  * Zod schema for Competitor validation
108
147
  */
109
148
  export declare const CompetitorSchema: z.ZodObject<{
110
149
  name: z.ZodString;
111
150
  url: z.ZodOptional<z.ZodString>;
112
- strengths: z.ZodArray<z.ZodString>;
113
- weaknesses: z.ZodArray<z.ZodString>;
114
- }, z.core.$strip>;
151
+ strengths: z.ZodArray<z.ZodString, "many">;
152
+ weaknesses: z.ZodArray<z.ZodString, "many">;
153
+ }, "strip", z.ZodTypeAny, {
154
+ name?: string;
155
+ url?: string;
156
+ strengths?: string[];
157
+ weaknesses?: string[];
158
+ }, {
159
+ name?: string;
160
+ url?: string;
161
+ strengths?: string[];
162
+ weaknesses?: string[];
163
+ }>;
115
164
  /**
116
165
  * Zod schema for Question validation
117
166
  */
118
167
  export declare const QuestionSchema: z.ZodObject<{
119
168
  question: z.ZodString;
120
- type: z.ZodEnum<{
121
- open: "open";
122
- "multiple-choice": "multiple-choice";
123
- scale: "scale";
124
- }>;
125
- options: z.ZodOptional<z.ZodArray<z.ZodString>>;
169
+ type: z.ZodEnum<["open", "multiple-choice", "scale"]>;
170
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
126
171
  rationale: z.ZodString;
127
- }, z.core.$strip>;
172
+ }, "strip", z.ZodTypeAny, {
173
+ type?: "open" | "multiple-choice" | "scale";
174
+ options?: string[];
175
+ question?: string;
176
+ rationale?: string;
177
+ }, {
178
+ type?: "open" | "multiple-choice" | "scale";
179
+ options?: string[];
180
+ question?: string;
181
+ rationale?: string;
182
+ }>;
128
183
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/init/research/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,MAAM,MAAM,cAAc,GACtB,mBAAmB,GACnB,YAAY,GACZ,SAAS,GACT,YAAY,GACZ,WAAW,GACX,QAAQ,GACR,gBAAgB,GAChB,gBAAgB,GAChB,cAAc,GACd,aAAa,GACb,KAAK,GACL,YAAY,GACZ,OAAO,GACP,SAAS,CAAC;AAEd;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAC;IAEb,6BAA6B;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,sCAAsC;IACtC,SAAS,EAAE,MAAM,EAAE,CAAC;IAEpB,6BAA6B;IAC7B,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,oBAAoB;IACpB,QAAQ,EAAE,MAAM,CAAC;IAEjB,wDAAwD;IACxD,IAAI,EAAE,MAAM,GAAG,iBAAiB,GAAG,OAAO,CAAC;IAE3C,4CAA4C;IAC5C,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAEnB,uCAAuC;IACvC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,0DAA0D;IAC1D,QAAQ,EAAE,MAAM,EAAE,CAAC;IAEnB,+BAA+B;IAC/B,MAAM,EAAE,cAAc,CAAC;IAEvB,4CAA4C;IAC5C,WAAW,EAAE,UAAU,EAAE,CAAC;IAE1B,4CAA4C;IAC5C,gBAAgB,EAAE,MAAM,CAAC;IAEzB,iDAAiD;IACjD,cAAc,EAAE,OAAO,CAAC;IAExB,mDAAmD;IACnD,iBAAiB,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