opencode-swarm 6.1.2 → 6.3.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.
@@ -8,6 +8,7 @@ export declare const EvidenceTypeSchema: z.ZodEnum<{
8
8
  diff: "diff";
9
9
  approval: "approval";
10
10
  note: "note";
11
+ retrospective: "retrospective";
11
12
  }>;
12
13
  export type EvidenceType = z.infer<typeof EvidenceTypeSchema>;
13
14
  export declare const EvidenceVerdictSchema: z.ZodEnum<{
@@ -26,6 +27,7 @@ export declare const BaseEvidenceSchema: z.ZodObject<{
26
27
  diff: "diff";
27
28
  approval: "approval";
28
29
  note: "note";
30
+ retrospective: "retrospective";
29
31
  }>;
30
32
  timestamp: z.ZodString;
31
33
  agent: z.ZodString;
@@ -147,6 +149,38 @@ export declare const NoteEvidenceSchema: z.ZodObject<{
147
149
  type: z.ZodLiteral<"note">;
148
150
  }, z.core.$strip>;
149
151
  export type NoteEvidence = z.infer<typeof NoteEvidenceSchema>;
152
+ export declare const RetrospectiveEvidenceSchema: z.ZodObject<{
153
+ task_id: z.ZodString;
154
+ timestamp: z.ZodString;
155
+ agent: z.ZodString;
156
+ verdict: z.ZodEnum<{
157
+ pass: "pass";
158
+ fail: "fail";
159
+ approved: "approved";
160
+ rejected: "rejected";
161
+ info: "info";
162
+ }>;
163
+ summary: z.ZodString;
164
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
165
+ type: z.ZodLiteral<"retrospective">;
166
+ phase_number: z.ZodNumber;
167
+ total_tool_calls: z.ZodNumber;
168
+ coder_revisions: z.ZodNumber;
169
+ reviewer_rejections: z.ZodNumber;
170
+ test_failures: z.ZodNumber;
171
+ security_findings: z.ZodNumber;
172
+ integration_issues: z.ZodNumber;
173
+ task_count: z.ZodNumber;
174
+ task_complexity: z.ZodEnum<{
175
+ trivial: "trivial";
176
+ simple: "simple";
177
+ moderate: "moderate";
178
+ complex: "complex";
179
+ }>;
180
+ top_rejection_reasons: z.ZodDefault<z.ZodArray<z.ZodString>>;
181
+ lessons_learned: z.ZodDefault<z.ZodArray<z.ZodString>>;
182
+ }, z.core.$strip>;
183
+ export type RetrospectiveEvidence = z.infer<typeof RetrospectiveEvidenceSchema>;
150
184
  export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
151
185
  task_id: z.ZodString;
152
186
  timestamp: z.ZodString;
@@ -244,6 +278,36 @@ export declare const EvidenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
244
278
  summary: z.ZodString;
245
279
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
246
280
  type: z.ZodLiteral<"note">;
281
+ }, z.core.$strip>, z.ZodObject<{
282
+ task_id: z.ZodString;
283
+ timestamp: z.ZodString;
284
+ agent: z.ZodString;
285
+ verdict: z.ZodEnum<{
286
+ pass: "pass";
287
+ fail: "fail";
288
+ approved: "approved";
289
+ rejected: "rejected";
290
+ info: "info";
291
+ }>;
292
+ summary: z.ZodString;
293
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
294
+ type: z.ZodLiteral<"retrospective">;
295
+ phase_number: z.ZodNumber;
296
+ total_tool_calls: z.ZodNumber;
297
+ coder_revisions: z.ZodNumber;
298
+ reviewer_rejections: z.ZodNumber;
299
+ test_failures: z.ZodNumber;
300
+ security_findings: z.ZodNumber;
301
+ integration_issues: z.ZodNumber;
302
+ task_count: z.ZodNumber;
303
+ task_complexity: z.ZodEnum<{
304
+ trivial: "trivial";
305
+ simple: "simple";
306
+ moderate: "moderate";
307
+ complex: "complex";
308
+ }>;
309
+ top_rejection_reasons: z.ZodDefault<z.ZodArray<z.ZodString>>;
310
+ lessons_learned: z.ZodDefault<z.ZodArray<z.ZodString>>;
247
311
  }, z.core.$strip>], "type">;
248
312
  export type Evidence = z.infer<typeof EvidenceSchema>;
249
313
  export declare const EvidenceBundleSchema: z.ZodObject<{
@@ -346,6 +410,36 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
346
410
  summary: z.ZodString;
347
411
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
348
412
  type: z.ZodLiteral<"note">;
413
+ }, z.core.$strip>, z.ZodObject<{
414
+ task_id: z.ZodString;
415
+ timestamp: z.ZodString;
416
+ agent: z.ZodString;
417
+ verdict: z.ZodEnum<{
418
+ pass: "pass";
419
+ fail: "fail";
420
+ approved: "approved";
421
+ rejected: "rejected";
422
+ info: "info";
423
+ }>;
424
+ summary: z.ZodString;
425
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
426
+ type: z.ZodLiteral<"retrospective">;
427
+ phase_number: z.ZodNumber;
428
+ total_tool_calls: z.ZodNumber;
429
+ coder_revisions: z.ZodNumber;
430
+ reviewer_rejections: z.ZodNumber;
431
+ test_failures: z.ZodNumber;
432
+ security_findings: z.ZodNumber;
433
+ integration_issues: z.ZodNumber;
434
+ task_count: z.ZodNumber;
435
+ task_complexity: z.ZodEnum<{
436
+ trivial: "trivial";
437
+ simple: "simple";
438
+ moderate: "moderate";
439
+ complex: "complex";
440
+ }>;
441
+ top_rejection_reasons: z.ZodDefault<z.ZodArray<z.ZodString>>;
442
+ lessons_learned: z.ZodDefault<z.ZodArray<z.ZodString>>;
349
443
  }, z.core.$strip>], "type">>>;
350
444
  created_at: z.ZodString;
351
445
  updated_at: z.ZodString;
@@ -148,6 +148,34 @@ export declare const UIReviewConfigSchema: z.ZodObject<{
148
148
  trigger_keywords: z.ZodDefault<z.ZodArray<z.ZodString>>;
149
149
  }, z.core.$strip>;
150
150
  export type UIReviewConfig = z.infer<typeof UIReviewConfigSchema>;
151
+ export declare const CompactionAdvisoryConfigSchema: z.ZodObject<{
152
+ enabled: z.ZodDefault<z.ZodBoolean>;
153
+ thresholds: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
154
+ message: z.ZodDefault<z.ZodString>;
155
+ }, z.core.$strip>;
156
+ export type CompactionAdvisoryConfig = z.infer<typeof CompactionAdvisoryConfigSchema>;
157
+ export declare const LintConfigSchema: z.ZodObject<{
158
+ enabled: z.ZodDefault<z.ZodBoolean>;
159
+ mode: z.ZodDefault<z.ZodEnum<{
160
+ check: "check";
161
+ fix: "fix";
162
+ }>>;
163
+ linter: z.ZodDefault<z.ZodEnum<{
164
+ biome: "biome";
165
+ eslint: "eslint";
166
+ auto: "auto";
167
+ }>>;
168
+ patterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
169
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
170
+ }, z.core.$strip>;
171
+ export type LintConfig = z.infer<typeof LintConfigSchema>;
172
+ export declare const SecretscanConfigSchema: z.ZodObject<{
173
+ enabled: z.ZodDefault<z.ZodBoolean>;
174
+ patterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
175
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
176
+ extensions: z.ZodDefault<z.ZodArray<z.ZodString>>;
177
+ }, z.core.$strip>;
178
+ export type SecretscanConfig = z.infer<typeof SecretscanConfigSchema>;
151
179
  export declare const GuardrailsProfileSchema: z.ZodObject<{
152
180
  max_tool_calls: z.ZodOptional<z.ZodNumber>;
153
181
  max_duration_minutes: z.ZodOptional<z.ZodNumber>;
@@ -318,6 +346,31 @@ export declare const PluginConfigSchema: z.ZodObject<{
318
346
  trigger_paths: z.ZodDefault<z.ZodArray<z.ZodString>>;
319
347
  trigger_keywords: z.ZodDefault<z.ZodArray<z.ZodString>>;
320
348
  }, z.core.$strip>>;
349
+ compaction_advisory: z.ZodOptional<z.ZodObject<{
350
+ enabled: z.ZodDefault<z.ZodBoolean>;
351
+ thresholds: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
352
+ message: z.ZodDefault<z.ZodString>;
353
+ }, z.core.$strip>>;
354
+ lint: z.ZodOptional<z.ZodObject<{
355
+ enabled: z.ZodDefault<z.ZodBoolean>;
356
+ mode: z.ZodDefault<z.ZodEnum<{
357
+ check: "check";
358
+ fix: "fix";
359
+ }>>;
360
+ linter: z.ZodDefault<z.ZodEnum<{
361
+ biome: "biome";
362
+ eslint: "eslint";
363
+ auto: "auto";
364
+ }>>;
365
+ patterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
366
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
367
+ }, z.core.$strip>>;
368
+ secretscan: z.ZodOptional<z.ZodObject<{
369
+ enabled: z.ZodDefault<z.ZodBoolean>;
370
+ patterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
371
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
372
+ extensions: z.ZodDefault<z.ZodArray<z.ZodString>>;
373
+ }, z.core.$strip>>;
321
374
  }, z.core.$strip>;
322
375
  export type PluginConfig = z.infer<typeof PluginConfigSchema>;
323
376
  export type { AgentName, PipelineAgentName, QAAgentName, } from './constants';