opencode-swarm 6.2.0 → 6.5.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,5 @@
1
+ /**
2
+ * Adversarial Security Tests for Test Engineer Agent (Task 7.1)
3
+ * Focus: Prompt injection, unsafe execution bypass, secret leakage
4
+ */
5
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -154,6 +154,28 @@ export declare const CompactionAdvisoryConfigSchema: z.ZodObject<{
154
154
  message: z.ZodDefault<z.ZodString>;
155
155
  }, z.core.$strip>;
156
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>;
157
179
  export declare const GuardrailsProfileSchema: z.ZodObject<{
158
180
  max_tool_calls: z.ZodOptional<z.ZodNumber>;
159
181
  max_duration_minutes: z.ZodOptional<z.ZodNumber>;
@@ -218,6 +240,11 @@ export declare function stripKnownSwarmPrefix(name: string): string;
218
240
  * @returns The effective guardrails configuration for the agent
219
241
  */
220
242
  export declare function resolveGuardrailsConfig(base: GuardrailsConfig, agentName?: string): GuardrailsConfig;
243
+ export declare const CheckpointConfigSchema: z.ZodObject<{
244
+ enabled: z.ZodDefault<z.ZodBoolean>;
245
+ auto_checkpoint_threshold: z.ZodDefault<z.ZodNumber>;
246
+ }, z.core.$strip>;
247
+ export type CheckpointConfig = z.infer<typeof CheckpointConfigSchema>;
221
248
  export declare const PluginConfigSchema: z.ZodObject<{
222
249
  agents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
223
250
  model: z.ZodOptional<z.ZodString>;
@@ -329,6 +356,30 @@ export declare const PluginConfigSchema: z.ZodObject<{
329
356
  thresholds: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
330
357
  message: z.ZodDefault<z.ZodString>;
331
358
  }, z.core.$strip>>;
359
+ lint: z.ZodOptional<z.ZodObject<{
360
+ enabled: z.ZodDefault<z.ZodBoolean>;
361
+ mode: z.ZodDefault<z.ZodEnum<{
362
+ check: "check";
363
+ fix: "fix";
364
+ }>>;
365
+ linter: z.ZodDefault<z.ZodEnum<{
366
+ biome: "biome";
367
+ eslint: "eslint";
368
+ auto: "auto";
369
+ }>>;
370
+ patterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
371
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
372
+ }, z.core.$strip>>;
373
+ secretscan: z.ZodOptional<z.ZodObject<{
374
+ enabled: z.ZodDefault<z.ZodBoolean>;
375
+ patterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
376
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
377
+ extensions: z.ZodDefault<z.ZodArray<z.ZodString>>;
378
+ }, z.core.$strip>>;
379
+ checkpoint: z.ZodOptional<z.ZodObject<{
380
+ enabled: z.ZodDefault<z.ZodBoolean>;
381
+ auto_checkpoint_threshold: z.ZodDefault<z.ZodNumber>;
382
+ }, z.core.$strip>>;
332
383
  }, z.core.$strip>;
333
384
  export type PluginConfig = z.infer<typeof PluginConfigSchema>;
334
385
  export type { AgentName, PipelineAgentName, QAAgentName, } from './constants';