opencode-swarm 6.2.0 → 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.
- package/README.md +306 -543
- package/dist/config/schema.d.ts +42 -0
- package/dist/index.js +1243 -10
- package/dist/tools/imports.d.ts +5 -0
- package/dist/tools/index.d.ts +3 -0
- package/dist/tools/lint.d.ts +34 -0
- package/dist/tools/secretscan.d.ts +31 -0
- package/package.json +1 -1
package/dist/config/schema.d.ts
CHANGED
|
@@ -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>;
|
|
@@ -329,6 +351,26 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
329
351
|
thresholds: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
|
|
330
352
|
message: z.ZodDefault<z.ZodString>;
|
|
331
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>>;
|
|
332
374
|
}, z.core.$strip>;
|
|
333
375
|
export type PluginConfig = z.infer<typeof PluginConfigSchema>;
|
|
334
376
|
export type { AgentName, PipelineAgentName, QAAgentName, } from './constants';
|