opencode-swarm-plugin 0.56.1 → 0.57.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.
Files changed (182) hide show
  1. package/README.md +21 -0
  2. package/claude-plugin/agents/background-worker.md +1 -0
  3. package/claude-plugin/agents/coordinator.md +1 -0
  4. package/claude-plugin/agents/worker.md +1 -0
  5. package/claude-plugin/bin/swarm-mcp-server.ts +47 -8
  6. package/claude-plugin/dist/agent-mail.d.ts +480 -0
  7. package/claude-plugin/dist/agent-mail.d.ts.map +1 -0
  8. package/claude-plugin/dist/anti-patterns.d.ts +257 -0
  9. package/claude-plugin/dist/anti-patterns.d.ts.map +1 -0
  10. package/claude-plugin/dist/bin/swarm.js +373128 -0
  11. package/claude-plugin/dist/cass-tools.d.ts +74 -0
  12. package/claude-plugin/dist/cass-tools.d.ts.map +1 -0
  13. package/claude-plugin/dist/claude-plugin/claude-plugin-assets.d.ts +10 -0
  14. package/claude-plugin/dist/claude-plugin/claude-plugin-assets.d.ts.map +1 -0
  15. package/claude-plugin/dist/compaction-hook.d.ts +178 -0
  16. package/claude-plugin/dist/compaction-hook.d.ts.map +1 -0
  17. package/claude-plugin/dist/compaction-observability.d.ts +173 -0
  18. package/claude-plugin/dist/compaction-observability.d.ts.map +1 -0
  19. package/claude-plugin/dist/compaction-prompt-scoring.d.ts +125 -0
  20. package/claude-plugin/dist/compaction-prompt-scoring.d.ts.map +1 -0
  21. package/claude-plugin/dist/compaction-prompt-scoring.js +139 -0
  22. package/claude-plugin/dist/contributor-tools.d.ts +42 -0
  23. package/claude-plugin/dist/contributor-tools.d.ts.map +1 -0
  24. package/claude-plugin/dist/coordinator-guard.d.ts +79 -0
  25. package/claude-plugin/dist/coordinator-guard.d.ts.map +1 -0
  26. package/claude-plugin/dist/dashboard.d.ts +82 -0
  27. package/claude-plugin/dist/dashboard.d.ts.map +1 -0
  28. package/claude-plugin/dist/decision-trace-integration.d.ts +204 -0
  29. package/claude-plugin/dist/decision-trace-integration.d.ts.map +1 -0
  30. package/claude-plugin/dist/error-enrichment.d.ts +49 -0
  31. package/claude-plugin/dist/error-enrichment.d.ts.map +1 -0
  32. package/claude-plugin/dist/eval-capture.d.ts +494 -0
  33. package/claude-plugin/dist/eval-capture.d.ts.map +1 -0
  34. package/claude-plugin/dist/eval-capture.js +12844 -0
  35. package/claude-plugin/dist/eval-gates.d.ts +84 -0
  36. package/claude-plugin/dist/eval-gates.d.ts.map +1 -0
  37. package/claude-plugin/dist/eval-history.d.ts +117 -0
  38. package/claude-plugin/dist/eval-history.d.ts.map +1 -0
  39. package/claude-plugin/dist/eval-learning.d.ts +216 -0
  40. package/claude-plugin/dist/eval-learning.d.ts.map +1 -0
  41. package/claude-plugin/dist/eval-runner.d.ts +134 -0
  42. package/claude-plugin/dist/eval-runner.d.ts.map +1 -0
  43. package/claude-plugin/dist/examples/plugin-wrapper-template.ts +3341 -0
  44. package/claude-plugin/dist/export-tools.d.ts +76 -0
  45. package/claude-plugin/dist/export-tools.d.ts.map +1 -0
  46. package/claude-plugin/dist/hive.d.ts +949 -0
  47. package/claude-plugin/dist/hive.d.ts.map +1 -0
  48. package/claude-plugin/dist/hive.js +15009 -0
  49. package/claude-plugin/dist/hivemind-tools.d.ts +479 -0
  50. package/claude-plugin/dist/hivemind-tools.d.ts.map +1 -0
  51. package/claude-plugin/dist/hooks/atomic-write.d.ts +21 -0
  52. package/claude-plugin/dist/hooks/atomic-write.d.ts.map +1 -0
  53. package/claude-plugin/dist/hooks/constants.d.ts +28 -0
  54. package/claude-plugin/dist/hooks/constants.d.ts.map +1 -0
  55. package/claude-plugin/dist/hooks/index.d.ts +16 -0
  56. package/claude-plugin/dist/hooks/index.d.ts.map +1 -0
  57. package/claude-plugin/dist/hooks/session-start.d.ts +30 -0
  58. package/claude-plugin/dist/hooks/session-start.d.ts.map +1 -0
  59. package/claude-plugin/dist/hooks/tool-complete.d.ts +54 -0
  60. package/claude-plugin/dist/hooks/tool-complete.d.ts.map +1 -0
  61. package/claude-plugin/dist/index.d.ts +2017 -0
  62. package/claude-plugin/dist/index.d.ts.map +1 -0
  63. package/claude-plugin/dist/index.js +73453 -0
  64. package/claude-plugin/dist/learning.d.ts +700 -0
  65. package/claude-plugin/dist/learning.d.ts.map +1 -0
  66. package/claude-plugin/dist/logger.d.ts +38 -0
  67. package/claude-plugin/dist/logger.d.ts.map +1 -0
  68. package/claude-plugin/dist/mandate-promotion.d.ts +93 -0
  69. package/claude-plugin/dist/mandate-promotion.d.ts.map +1 -0
  70. package/claude-plugin/dist/mandate-storage.d.ts +209 -0
  71. package/claude-plugin/dist/mandate-storage.d.ts.map +1 -0
  72. package/claude-plugin/dist/mandates.d.ts +230 -0
  73. package/claude-plugin/dist/mandates.d.ts.map +1 -0
  74. package/claude-plugin/dist/memory-tools.d.ts +281 -0
  75. package/claude-plugin/dist/memory-tools.d.ts.map +1 -0
  76. package/claude-plugin/dist/memory.d.ts +164 -0
  77. package/claude-plugin/dist/memory.d.ts.map +1 -0
  78. package/claude-plugin/dist/model-selection.d.ts +37 -0
  79. package/claude-plugin/dist/model-selection.d.ts.map +1 -0
  80. package/claude-plugin/dist/observability-health.d.ts +87 -0
  81. package/claude-plugin/dist/observability-health.d.ts.map +1 -0
  82. package/claude-plugin/dist/observability-tools.d.ts +184 -0
  83. package/claude-plugin/dist/observability-tools.d.ts.map +1 -0
  84. package/claude-plugin/dist/output-guardrails.d.ts +125 -0
  85. package/claude-plugin/dist/output-guardrails.d.ts.map +1 -0
  86. package/claude-plugin/dist/pattern-maturity.d.ts +246 -0
  87. package/claude-plugin/dist/pattern-maturity.d.ts.map +1 -0
  88. package/claude-plugin/dist/planning-guardrails.d.ts +183 -0
  89. package/claude-plugin/dist/planning-guardrails.d.ts.map +1 -0
  90. package/claude-plugin/dist/plugin.d.ts +22 -0
  91. package/claude-plugin/dist/plugin.d.ts.map +1 -0
  92. package/claude-plugin/dist/plugin.js +72295 -0
  93. package/claude-plugin/dist/post-compaction-tracker.d.ts +133 -0
  94. package/claude-plugin/dist/post-compaction-tracker.d.ts.map +1 -0
  95. package/claude-plugin/dist/query-tools.d.ts +90 -0
  96. package/claude-plugin/dist/query-tools.d.ts.map +1 -0
  97. package/claude-plugin/dist/rate-limiter.d.ts +218 -0
  98. package/claude-plugin/dist/rate-limiter.d.ts.map +1 -0
  99. package/claude-plugin/dist/regression-detection.d.ts +58 -0
  100. package/claude-plugin/dist/regression-detection.d.ts.map +1 -0
  101. package/claude-plugin/dist/replay-tools.d.ts +28 -0
  102. package/claude-plugin/dist/replay-tools.d.ts.map +1 -0
  103. package/claude-plugin/dist/repo-crawl.d.ts +146 -0
  104. package/claude-plugin/dist/repo-crawl.d.ts.map +1 -0
  105. package/claude-plugin/dist/schemas/cell-events.d.ts +1352 -0
  106. package/claude-plugin/dist/schemas/cell-events.d.ts.map +1 -0
  107. package/claude-plugin/dist/schemas/cell.d.ts +413 -0
  108. package/claude-plugin/dist/schemas/cell.d.ts.map +1 -0
  109. package/claude-plugin/dist/schemas/evaluation.d.ts +161 -0
  110. package/claude-plugin/dist/schemas/evaluation.d.ts.map +1 -0
  111. package/claude-plugin/dist/schemas/index.d.ts +46 -0
  112. package/claude-plugin/dist/schemas/index.d.ts.map +1 -0
  113. package/claude-plugin/dist/schemas/mandate.d.ts +336 -0
  114. package/claude-plugin/dist/schemas/mandate.d.ts.map +1 -0
  115. package/claude-plugin/dist/schemas/swarm-context.d.ts +131 -0
  116. package/claude-plugin/dist/schemas/swarm-context.d.ts.map +1 -0
  117. package/claude-plugin/dist/schemas/task.d.ts +189 -0
  118. package/claude-plugin/dist/schemas/task.d.ts.map +1 -0
  119. package/claude-plugin/dist/schemas/worker-handoff.d.ts +78 -0
  120. package/claude-plugin/dist/schemas/worker-handoff.d.ts.map +1 -0
  121. package/claude-plugin/dist/sessions/agent-discovery.d.ts +59 -0
  122. package/claude-plugin/dist/sessions/agent-discovery.d.ts.map +1 -0
  123. package/claude-plugin/dist/sessions/index.d.ts +10 -0
  124. package/claude-plugin/dist/sessions/index.d.ts.map +1 -0
  125. package/claude-plugin/dist/skills.d.ts +490 -0
  126. package/claude-plugin/dist/skills.d.ts.map +1 -0
  127. package/claude-plugin/dist/storage.d.ts +260 -0
  128. package/claude-plugin/dist/storage.d.ts.map +1 -0
  129. package/claude-plugin/dist/structured.d.ts +206 -0
  130. package/claude-plugin/dist/structured.d.ts.map +1 -0
  131. package/claude-plugin/dist/swarm-adversarial-review.d.ts +104 -0
  132. package/claude-plugin/dist/swarm-adversarial-review.d.ts.map +1 -0
  133. package/claude-plugin/dist/swarm-decompose.d.ts +297 -0
  134. package/claude-plugin/dist/swarm-decompose.d.ts.map +1 -0
  135. package/claude-plugin/dist/swarm-insights.d.ts +390 -0
  136. package/claude-plugin/dist/swarm-insights.d.ts.map +1 -0
  137. package/claude-plugin/dist/swarm-mail.d.ts +274 -0
  138. package/claude-plugin/dist/swarm-mail.d.ts.map +1 -0
  139. package/claude-plugin/dist/swarm-orchestrate.d.ts +924 -0
  140. package/claude-plugin/dist/swarm-orchestrate.d.ts.map +1 -0
  141. package/claude-plugin/dist/swarm-prompts.d.ts +467 -0
  142. package/claude-plugin/dist/swarm-prompts.d.ts.map +1 -0
  143. package/claude-plugin/dist/swarm-prompts.js +45283 -0
  144. package/claude-plugin/dist/swarm-research.d.ts +125 -0
  145. package/claude-plugin/dist/swarm-research.d.ts.map +1 -0
  146. package/claude-plugin/dist/swarm-review.d.ts +214 -0
  147. package/claude-plugin/dist/swarm-review.d.ts.map +1 -0
  148. package/claude-plugin/dist/swarm-signature.d.ts +106 -0
  149. package/claude-plugin/dist/swarm-signature.d.ts.map +1 -0
  150. package/claude-plugin/dist/swarm-strategies.d.ts +113 -0
  151. package/claude-plugin/dist/swarm-strategies.d.ts.map +1 -0
  152. package/claude-plugin/dist/swarm-validation.d.ts +127 -0
  153. package/claude-plugin/dist/swarm-validation.d.ts.map +1 -0
  154. package/claude-plugin/dist/swarm-worktree.d.ts +185 -0
  155. package/claude-plugin/dist/swarm-worktree.d.ts.map +1 -0
  156. package/claude-plugin/dist/swarm.d.ts +590 -0
  157. package/claude-plugin/dist/swarm.d.ts.map +1 -0
  158. package/claude-plugin/dist/tool-availability.d.ts +91 -0
  159. package/claude-plugin/dist/tool-availability.d.ts.map +1 -0
  160. package/claude-plugin/dist/utils/tree-renderer.d.ts +61 -0
  161. package/claude-plugin/dist/utils/tree-renderer.d.ts.map +1 -0
  162. package/claude-plugin/dist/validators/index.d.ts +7 -0
  163. package/claude-plugin/dist/validators/index.d.ts.map +1 -0
  164. package/claude-plugin/dist/validators/schema-validator.d.ts +58 -0
  165. package/claude-plugin/dist/validators/schema-validator.d.ts.map +1 -0
  166. package/claude-plugin/skills/always-on-guidance/SKILL.md +44 -0
  167. package/dist/agent-mail.d.ts +4 -4
  168. package/dist/agent-mail.d.ts.map +1 -1
  169. package/dist/bin/swarm.js +467 -12
  170. package/dist/claude-plugin/claude-plugin-assets.d.ts +10 -0
  171. package/dist/claude-plugin/claude-plugin-assets.d.ts.map +1 -0
  172. package/dist/compaction-hook.d.ts +1 -1
  173. package/dist/compaction-hook.d.ts.map +1 -1
  174. package/dist/index.js +370 -260
  175. package/dist/plugin.js +369 -259
  176. package/dist/skills.d.ts +15 -0
  177. package/dist/skills.d.ts.map +1 -1
  178. package/dist/swarm-mail.d.ts.map +1 -1
  179. package/dist/swarm-prompts.d.ts +3 -1
  180. package/dist/swarm-prompts.d.ts.map +1 -1
  181. package/dist/swarm-prompts.js +79 -2
  182. package/package.json +2 -1
@@ -0,0 +1,257 @@
1
+ /**
2
+ * Anti-Pattern Learning Module
3
+ *
4
+ * Tracks failed decomposition patterns and auto-inverts them to anti-patterns.
5
+ * When a pattern consistently fails, it gets flagged as something to avoid.
6
+ *
7
+ * @see https://github.com/Dicklesworthstone/cass_memory_system/blob/main/src/curate.ts#L95-L117
8
+ */
9
+ import { z } from "zod";
10
+ /**
11
+ * Pattern kind - whether this is a positive pattern or an anti-pattern
12
+ */
13
+ export declare const PatternKindSchema: z.ZodEnum<{
14
+ pattern: "pattern";
15
+ anti_pattern: "anti_pattern";
16
+ }>;
17
+ export type PatternKind = z.infer<typeof PatternKindSchema>;
18
+ /**
19
+ * Decomposition pattern with success/failure tracking.
20
+ *
21
+ * Field relationships:
22
+ * - `kind`: Tracks pattern lifecycle ("pattern" → "anti_pattern" when failure rate exceeds threshold)
23
+ * - `is_negative`: Derived boolean flag for quick filtering (true when kind === "anti_pattern")
24
+ *
25
+ * Both fields exist because:
26
+ * - `kind` is the source of truth for pattern status
27
+ * - `is_negative` enables efficient filtering without string comparison
28
+ */
29
+ export declare const DecompositionPatternSchema: z.ZodObject<{
30
+ id: z.ZodString;
31
+ content: z.ZodString;
32
+ kind: z.ZodEnum<{
33
+ pattern: "pattern";
34
+ anti_pattern: "anti_pattern";
35
+ }>;
36
+ is_negative: z.ZodBoolean;
37
+ success_count: z.ZodDefault<z.ZodNumber>;
38
+ failure_count: z.ZodDefault<z.ZodNumber>;
39
+ created_at: z.ZodString;
40
+ updated_at: z.ZodString;
41
+ reason: z.ZodOptional<z.ZodString>;
42
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
43
+ example_beads: z.ZodDefault<z.ZodArray<z.ZodString>>;
44
+ }, z.core.$strip>;
45
+ export type DecompositionPattern = z.infer<typeof DecompositionPatternSchema>;
46
+ /**
47
+ * Result of pattern inversion
48
+ */
49
+ export declare const PatternInversionResultSchema: z.ZodObject<{
50
+ original: z.ZodObject<{
51
+ id: z.ZodString;
52
+ content: z.ZodString;
53
+ kind: z.ZodEnum<{
54
+ pattern: "pattern";
55
+ anti_pattern: "anti_pattern";
56
+ }>;
57
+ is_negative: z.ZodBoolean;
58
+ success_count: z.ZodDefault<z.ZodNumber>;
59
+ failure_count: z.ZodDefault<z.ZodNumber>;
60
+ created_at: z.ZodString;
61
+ updated_at: z.ZodString;
62
+ reason: z.ZodOptional<z.ZodString>;
63
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
64
+ example_beads: z.ZodDefault<z.ZodArray<z.ZodString>>;
65
+ }, z.core.$strip>;
66
+ inverted: z.ZodObject<{
67
+ id: z.ZodString;
68
+ content: z.ZodString;
69
+ kind: z.ZodEnum<{
70
+ pattern: "pattern";
71
+ anti_pattern: "anti_pattern";
72
+ }>;
73
+ is_negative: z.ZodBoolean;
74
+ success_count: z.ZodDefault<z.ZodNumber>;
75
+ failure_count: z.ZodDefault<z.ZodNumber>;
76
+ created_at: z.ZodString;
77
+ updated_at: z.ZodString;
78
+ reason: z.ZodOptional<z.ZodString>;
79
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
80
+ example_beads: z.ZodDefault<z.ZodArray<z.ZodString>>;
81
+ }, z.core.$strip>;
82
+ reason: z.ZodString;
83
+ }, z.core.$strip>;
84
+ export type PatternInversionResult = z.infer<typeof PatternInversionResultSchema>;
85
+ /**
86
+ * Configuration for anti-pattern detection
87
+ */
88
+ export interface AntiPatternConfig {
89
+ /** Minimum observations before considering inversion */
90
+ minObservations: number;
91
+ /** Failure ratio threshold for inversion (0-1) */
92
+ failureRatioThreshold: number;
93
+ /** Prefix for anti-pattern content */
94
+ antiPatternPrefix: string;
95
+ }
96
+ export declare const DEFAULT_ANTI_PATTERN_CONFIG: AntiPatternConfig;
97
+ /**
98
+ * Check if a pattern should be inverted to an anti-pattern
99
+ *
100
+ * A pattern is inverted when:
101
+ * 1. It has enough observations (minObservations)
102
+ * 2. Its failure ratio exceeds the threshold
103
+ *
104
+ * @param pattern - The pattern to check
105
+ * @param config - Anti-pattern configuration
106
+ * @returns Whether the pattern should be inverted
107
+ */
108
+ export declare function shouldInvertPattern(pattern: DecompositionPattern, config?: AntiPatternConfig): boolean;
109
+ /**
110
+ * Invert a pattern to an anti-pattern
111
+ *
112
+ * Creates a new anti-pattern from a failing pattern.
113
+ * The content is prefixed with "AVOID: " and the kind is changed.
114
+ *
115
+ * @param pattern - The pattern to invert
116
+ * @param reason - Why the inversion is happening
117
+ * @param config - Anti-pattern configuration
118
+ * @returns The inverted anti-pattern
119
+ */
120
+ export declare function invertToAntiPattern(pattern: DecompositionPattern, reason: string, config?: AntiPatternConfig): PatternInversionResult;
121
+ /**
122
+ * Record a pattern observation (success or failure)
123
+ *
124
+ * Updates the pattern's success/failure counts and checks if
125
+ * it should be inverted to an anti-pattern.
126
+ *
127
+ * @param pattern - The pattern to update
128
+ * @param success - Whether this observation was successful
129
+ * @param beadId - Optional bead ID to record as example
130
+ * @param config - Anti-pattern configuration
131
+ * @returns Updated pattern and optional inversion result
132
+ */
133
+ export declare function recordPatternObservation(pattern: DecompositionPattern, success: boolean, beadId?: string, config?: AntiPatternConfig): {
134
+ pattern: DecompositionPattern;
135
+ inversion?: PatternInversionResult;
136
+ };
137
+ /**
138
+ * Extract patterns from a decomposition description
139
+ *
140
+ * Looks for common decomposition strategies in the text.
141
+ *
142
+ * @param description - Decomposition description or reasoning
143
+ * @returns Extracted pattern descriptions
144
+ */
145
+ export declare function extractPatternsFromDescription(description: string): string[];
146
+ /**
147
+ * Create a new pattern from a description
148
+ *
149
+ * @param content - Pattern description
150
+ * @param tags - Optional tags for categorization
151
+ * @returns New pattern
152
+ */
153
+ export declare function createPattern(content: string, tags?: string[]): DecompositionPattern;
154
+ /**
155
+ * Format anti-patterns for inclusion in decomposition prompts
156
+ *
157
+ * @param patterns - Anti-patterns to format
158
+ * @returns Formatted string for prompt inclusion
159
+ */
160
+ export declare function formatAntiPatternsForPrompt(patterns: DecompositionPattern[]): string;
161
+ /**
162
+ * Format successful patterns for inclusion in prompts.
163
+ *
164
+ * @param patterns - Array of decomposition patterns to filter and format
165
+ * @param minSuccessRate - Minimum success rate to include (default 0.7 = 70%).
166
+ * Chosen to filter out patterns with marginal track records - only patterns
167
+ * that succeed at least 70% of the time are recommended.
168
+ * @returns Formatted string of successful patterns for prompt injection
169
+ */
170
+ export declare function formatSuccessfulPatternsForPrompt(patterns: DecompositionPattern[], minSuccessRate?: number): string;
171
+ /**
172
+ * Storage interface for decomposition patterns
173
+ */
174
+ export interface PatternStorage {
175
+ /** Store or update a pattern */
176
+ store(pattern: DecompositionPattern): Promise<void>;
177
+ /** Get a pattern by ID */
178
+ get(id: string): Promise<DecompositionPattern | null>;
179
+ /** Get all patterns */
180
+ getAll(): Promise<DecompositionPattern[]>;
181
+ /** Get all anti-patterns */
182
+ getAntiPatterns(): Promise<DecompositionPattern[]>;
183
+ /** Get patterns by tag */
184
+ getByTag(tag: string): Promise<DecompositionPattern[]>;
185
+ /** Find patterns matching content */
186
+ findByContent(content: string): Promise<DecompositionPattern[]>;
187
+ }
188
+ /**
189
+ * In-memory pattern storage (for testing and short-lived sessions)
190
+ */
191
+ export declare class InMemoryPatternStorage implements PatternStorage {
192
+ private patterns;
193
+ store(pattern: DecompositionPattern): Promise<void>;
194
+ get(id: string): Promise<DecompositionPattern | null>;
195
+ getAll(): Promise<DecompositionPattern[]>;
196
+ getAntiPatterns(): Promise<DecompositionPattern[]>;
197
+ getByTag(tag: string): Promise<DecompositionPattern[]>;
198
+ findByContent(content: string): Promise<DecompositionPattern[]>;
199
+ }
200
+ export declare const antiPatternSchemas: {
201
+ PatternKindSchema: z.ZodEnum<{
202
+ pattern: "pattern";
203
+ anti_pattern: "anti_pattern";
204
+ }>;
205
+ DecompositionPatternSchema: z.ZodObject<{
206
+ id: z.ZodString;
207
+ content: z.ZodString;
208
+ kind: z.ZodEnum<{
209
+ pattern: "pattern";
210
+ anti_pattern: "anti_pattern";
211
+ }>;
212
+ is_negative: z.ZodBoolean;
213
+ success_count: z.ZodDefault<z.ZodNumber>;
214
+ failure_count: z.ZodDefault<z.ZodNumber>;
215
+ created_at: z.ZodString;
216
+ updated_at: z.ZodString;
217
+ reason: z.ZodOptional<z.ZodString>;
218
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
219
+ example_beads: z.ZodDefault<z.ZodArray<z.ZodString>>;
220
+ }, z.core.$strip>;
221
+ PatternInversionResultSchema: z.ZodObject<{
222
+ original: z.ZodObject<{
223
+ id: z.ZodString;
224
+ content: z.ZodString;
225
+ kind: z.ZodEnum<{
226
+ pattern: "pattern";
227
+ anti_pattern: "anti_pattern";
228
+ }>;
229
+ is_negative: z.ZodBoolean;
230
+ success_count: z.ZodDefault<z.ZodNumber>;
231
+ failure_count: z.ZodDefault<z.ZodNumber>;
232
+ created_at: z.ZodString;
233
+ updated_at: z.ZodString;
234
+ reason: z.ZodOptional<z.ZodString>;
235
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
236
+ example_beads: z.ZodDefault<z.ZodArray<z.ZodString>>;
237
+ }, z.core.$strip>;
238
+ inverted: z.ZodObject<{
239
+ id: z.ZodString;
240
+ content: z.ZodString;
241
+ kind: z.ZodEnum<{
242
+ pattern: "pattern";
243
+ anti_pattern: "anti_pattern";
244
+ }>;
245
+ is_negative: z.ZodBoolean;
246
+ success_count: z.ZodDefault<z.ZodNumber>;
247
+ failure_count: z.ZodDefault<z.ZodNumber>;
248
+ created_at: z.ZodString;
249
+ updated_at: z.ZodString;
250
+ reason: z.ZodOptional<z.ZodString>;
251
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
252
+ example_beads: z.ZodDefault<z.ZodArray<z.ZodString>>;
253
+ }, z.core.$strip>;
254
+ reason: z.ZodString;
255
+ }, z.core.$strip>;
256
+ };
257
+ //# sourceMappingURL=anti-patterns.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"anti-patterns.d.ts","sourceRoot":"","sources":["../src/anti-patterns.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;EAAsC,CAAC;AACrE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D;;;;;;;;;;GAUG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;iBAuBrC,CAAC;AACH,MAAM,MAAM,oBAAoB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