agent-contracts 0.14.0 → 0.14.1
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 +7 -3
- package/dist/cli.js +6 -0
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -70,6 +70,10 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
70
70
|
wait_for_approval: "wait_for_approval";
|
|
71
71
|
}>;
|
|
72
72
|
}, z.core.$loose>>>;
|
|
73
|
+
sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
74
|
+
title: z.ZodString;
|
|
75
|
+
content: z.ZodString;
|
|
76
|
+
}, z.core.$strip>>>;
|
|
73
77
|
prerequisites: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
74
78
|
action: z.ZodEnum<{
|
|
75
79
|
read: "read";
|
|
@@ -385,6 +389,10 @@ declare const DslSchema: z.ZodObject<{
|
|
|
385
389
|
wait_for_approval: "wait_for_approval";
|
|
386
390
|
}>;
|
|
387
391
|
}, z.core.$loose>>>;
|
|
392
|
+
sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
393
|
+
title: z.ZodString;
|
|
394
|
+
content: z.ZodString;
|
|
395
|
+
}, z.core.$strip>>>;
|
|
388
396
|
prerequisites: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
389
397
|
action: z.ZodEnum<{
|
|
390
398
|
read: "read";
|
package/dist/index.js
CHANGED
|
@@ -50463,6 +50463,12 @@ var AgentSchema = z.object({
|
|
|
50463
50463
|
rules: z.array(RuleSchema).optional(),
|
|
50464
50464
|
anti_patterns: z.array(z.string()).optional(),
|
|
50465
50465
|
escalation_criteria: z.array(EscalationCriterionSchema).optional(),
|
|
50466
|
+
sections: z.array(
|
|
50467
|
+
z.object({
|
|
50468
|
+
title: z.string(),
|
|
50469
|
+
content: z.string()
|
|
50470
|
+
})
|
|
50471
|
+
).optional(),
|
|
50466
50472
|
prerequisites: z.array(PrerequisiteSchema).optional(),
|
|
50467
50473
|
guardrails: z.array(z.string()).optional()
|
|
50468
50474
|
}).passthrough();
|