specweave 1.0.0 → 1.0.2

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.
Files changed (29) hide show
  1. package/README.md +8 -10
  2. package/dist/src/cli/helpers/init/external-import-grouping.d.ts.map +1 -1
  3. package/dist/src/cli/helpers/init/external-import-grouping.js +44 -8
  4. package/dist/src/cli/helpers/init/external-import-grouping.js.map +1 -1
  5. package/dist/src/cli/helpers/init/github-repo-cloning.d.ts.map +1 -1
  6. package/dist/src/cli/helpers/init/github-repo-cloning.js +3 -2
  7. package/dist/src/cli/helpers/init/github-repo-cloning.js.map +1 -1
  8. package/dist/src/config/types.d.ts +203 -1208
  9. package/dist/src/config/types.d.ts.map +1 -1
  10. package/dist/src/init/architecture/types.d.ts +33 -140
  11. package/dist/src/init/architecture/types.d.ts.map +1 -1
  12. package/dist/src/init/compliance/types.d.ts +30 -27
  13. package/dist/src/init/compliance/types.d.ts.map +1 -1
  14. package/dist/src/init/repo/types.d.ts +11 -34
  15. package/dist/src/init/repo/types.d.ts.map +1 -1
  16. package/dist/src/init/research/src/config/types.d.ts +15 -82
  17. package/dist/src/init/research/src/config/types.d.ts.map +1 -1
  18. package/dist/src/init/research/types.d.ts +38 -93
  19. package/dist/src/init/research/types.d.ts.map +1 -1
  20. package/dist/src/init/team/types.d.ts +4 -42
  21. package/dist/src/init/team/types.d.ts.map +1 -1
  22. package/package.json +1 -1
  23. package/plugins/specweave/hooks/universal/hook-wrapper.cmd +26 -26
  24. package/plugins/specweave/hooks/universal/session-start.cmd +16 -16
  25. package/plugins/specweave/hooks/universal/session-start.ps1 +16 -16
  26. package/plugins/specweave-kafka/package.json +1 -1
  27. package/plugins/specweave-release/commands/npm.md +129 -27
  28. package/plugins/specweave-github/hooks/.specweave/logs/hooks-debug.log +0 -738
  29. package/plugins/specweave-release/hooks/.specweave/logs/dora-tracking.log +0 -1107
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources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.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"}
@@ -82,170 +82,63 @@ export declare const CostEstimateSchema: z.ZodObject<{
82
82
  at10K: z.ZodString;
83
83
  at100K: z.ZodString;
84
84
  at1M: z.ZodString;
85
- }, "strip", z.ZodTypeAny, {
86
- at1K?: string;
87
- at10K?: string;
88
- at100K?: string;
89
- at1M?: string;
90
- }, {
91
- at1K?: string;
92
- at10K?: string;
93
- at100K?: string;
94
- at1M?: string;
95
- }>;
85
+ }, z.core.$strip>;
96
86
  export declare const CloudCreditSchema: z.ZodObject<{
97
87
  provider: z.ZodString;
98
88
  amount: z.ZodString;
99
89
  duration: z.ZodString;
100
90
  requirements: z.ZodOptional<z.ZodString>;
101
91
  url: z.ZodOptional<z.ZodString>;
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
- }>;
92
+ }, z.core.$strip>;
115
93
  export declare const ProjectDefinitionSchema: z.ZodObject<{
116
94
  name: z.ZodString;
117
95
  description: z.ZodString;
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
- }>;
96
+ stack: z.ZodArray<z.ZodString>;
97
+ }, z.core.$strip>;
128
98
  export declare const ArchitectureRecommendationSchema: z.ZodObject<{
129
- architecture: z.ZodEnum<["serverless", "traditional-monolith", "microservices", "modular-monolith", "jamstack", "hybrid"]>;
130
- infrastructure: z.ZodArray<z.ZodString, "many">;
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>;
131
108
  rationale: z.ZodString;
132
109
  costEstimate: z.ZodObject<{
133
110
  at1K: z.ZodString;
134
111
  at10K: z.ZodString;
135
112
  at100K: z.ZodString;
136
113
  at1M: z.ZodString;
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
- }>;
114
+ }, z.core.$strip>;
148
115
  cloudCredits: z.ZodArray<z.ZodObject<{
149
116
  provider: z.ZodString;
150
117
  amount: z.ZodString;
151
118
  duration: z.ZodString;
152
119
  requirements: z.ZodOptional<z.ZodString>;
153
120
  url: z.ZodOptional<z.ZodString>;
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">;
121
+ }, z.core.$strip>>;
167
122
  projects: z.ZodArray<z.ZodObject<{
168
123
  name: z.ZodString;
169
124
  description: z.ZodString;
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"]>;
125
+ stack: z.ZodArray<z.ZodString>;
126
+ }, z.core.$strip>>;
127
+ methodology: z.ZodEnum<{
128
+ agile: "agile";
129
+ waterfall: "waterfall";
130
+ }>;
181
131
  alternatives: z.ZodOptional<z.ZodArray<z.ZodObject<{
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
- }>;
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>;
251
144
  //# 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,gBAAg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38 @@ 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<["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">;
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
+ }>>;
63
83
  costImpact: z.ZodString;
64
84
  certificationRequired: z.ZodBoolean;
65
- auditFrequency: z.ZodEnum<["annual", "quarterly", "continuous", "none"]>;
85
+ auditFrequency: z.ZodEnum<{
86
+ none: "none";
87
+ annual: "annual";
88
+ quarterly: "quarterly";
89
+ continuous: "continuous";
90
+ }>;
66
91
  description: z.ZodOptional<z.ZodString>;
67
92
  documentationUrl: z.ZodOptional<z.ZodString>;
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
- }>;
93
+ }, z.core.$strip>;
91
94
  //# 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;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;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E,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA+BnC,CAAC"}
@@ -46,21 +46,18 @@ export interface RepositoryMetadata {
46
46
  * Zod schemas
47
47
  */
48
48
  export declare const RepositorySelectionRuleSchema: z.ZodObject<{
49
- type: z.ZodEnum<["all", "prefix", "owner", "keyword", "combined", "manual"]>;
49
+ type: z.ZodEnum<{
50
+ manual: "manual";
51
+ all: "all";
52
+ keyword: "keyword";
53
+ owner: "owner";
54
+ prefix: "prefix";
55
+ combined: "combined";
56
+ }>;
50
57
  pattern: z.ZodOptional<z.ZodString>;
51
58
  owner: z.ZodOptional<z.ZodString>;
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
- }>;
59
+ excludePatterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
60
+ }, z.core.$strip>;
64
61
  export declare const RepositoryMetadataSchema: z.ZodObject<{
65
62
  name: z.ZodString;
66
63
  url: z.ZodString;
@@ -71,25 +68,5 @@ export declare const RepositoryMetadataSchema: z.ZodObject<{
71
68
  lastUpdated: z.ZodDate;
72
69
  private: z.ZodOptional<z.ZodBoolean>;
73
70
  defaultBranch: z.ZodOptional<z.ZodString>;
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
- }>;
71
+ }, z.core.$strip>;
95
72
  //# 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,aAAa,GACrB,KAAK,GACL,QAAQ,GACR,OAAO,GACP,SAAS,GACT,UAAU,GACV,QAAQ,CAAC;AAEb;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,qBAAqB;IACrB,IAAI,EAAE,aAAa,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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AAE,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;;;;;;;;;;;;iBAKxC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;iBAUnC,CAAC"}
@@ -4,99 +4,32 @@
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, "many">>;
8
- teams: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
9
- repositories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7
+ compliance: z.ZodOptional<z.ZodArray<z.ZodAny>>;
8
+ teams: z.ZodOptional<z.ZodArray<z.ZodAny>>;
9
+ repositories: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
10
  architecture: z.ZodOptional<z.ZodAny>;
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
- }>>;
11
+ }, z.core.$strip>>;
24
12
  export declare const SpecWeaveConfigSchema: z.ZodObject<{
25
13
  version: z.ZodString;
26
14
  project: z.ZodObject<{
27
15
  name: z.ZodString;
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
- }>;
16
+ type: z.ZodEnum<{
17
+ single: "single";
18
+ multi: "multi";
19
+ }>;
20
+ }, z.core.$strip>;
36
21
  research: z.ZodOptional<z.ZodObject<{
37
22
  vision: z.ZodOptional<z.ZodAny>;
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">>;
23
+ compliance: z.ZodOptional<z.ZodArray<z.ZodAny>>;
24
+ teams: z.ZodOptional<z.ZodArray<z.ZodAny>>;
25
+ repositories: z.ZodOptional<z.ZodArray<z.ZodString>>;
41
26
  architecture: z.ZodOptional<z.ZodAny>;
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
- }>>;
27
+ }, z.core.$strip>>;
55
28
  livingDocs: z.ZodOptional<z.ZodObject<{
56
29
  enabled: z.ZodBoolean;
57
30
  baseDir: z.ZodString;
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
- }>;
31
+ }, z.core.$strip>>;
32
+ }, z.core.$strip>;
100
33
  export type ResearchConfig = z.infer<typeof ResearchConfigSchema>;
101
34
  export type SpecWeaveConfig = z.infer<typeof SpecWeaveConfigSchema>;
102
35
  //# 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;;;;;;;;;;;;;;;;;;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"}
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"}
@@ -65,119 +65,64 @@ 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, "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"]>;
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
+ }>;
70
85
  competitors: z.ZodArray<z.ZodObject<{
71
86
  name: z.ZodString;
72
87
  url: z.ZodOptional<z.ZodString>;
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">;
88
+ strengths: z.ZodArray<z.ZodString>;
89
+ weaknesses: z.ZodArray<z.ZodString>;
90
+ }, z.core.$strip>>;
86
91
  opportunityScore: z.ZodNumber;
87
92
  viralPotential: z.ZodBoolean;
88
93
  followUpQuestions: z.ZodArray<z.ZodObject<{
89
94
  question: z.ZodString;
90
- type: z.ZodEnum<["open", "multiple-choice", "scale"]>;
91
- options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
95
+ type: z.ZodEnum<{
96
+ open: "open";
97
+ "multiple-choice": "multiple-choice";
98
+ scale: "scale";
99
+ }>;
100
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
92
101
  rationale: z.ZodString;
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">;
102
+ }, z.core.$strip>>;
104
103
  confidence: z.ZodOptional<z.ZodNumber>;
105
104
  rawVision: z.ZodString;
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
- }>;
105
+ }, z.core.$strip>;
145
106
  /**
146
107
  * Zod schema for Competitor validation
147
108
  */
148
109
  export declare const CompetitorSchema: z.ZodObject<{
149
110
  name: z.ZodString;
150
111
  url: z.ZodOptional<z.ZodString>;
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
- }>;
112
+ strengths: z.ZodArray<z.ZodString>;
113
+ weaknesses: z.ZodArray<z.ZodString>;
114
+ }, z.core.$strip>;
164
115
  /**
165
116
  * Zod schema for Question validation
166
117
  */
167
118
  export declare const QuestionSchema: z.ZodObject<{
168
119
  question: z.ZodString;
169
- type: z.ZodEnum<["open", "multiple-choice", "scale"]>;
170
- options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
120
+ type: z.ZodEnum<{
121
+ open: "open";
122
+ "multiple-choice": "multiple-choice";
123
+ scale: "scale";
124
+ }>;
125
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
171
126
  rationale: z.ZodString;
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
- }>;
127
+ }, z.core.$strip>;
183
128
  //# 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;IA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