@agentgrader/core 1.1.3 → 1.2.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/dist/index.d.ts +3 -0
- package/dist/index.js +5 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -72,6 +72,7 @@ declare const TestCaseSchema: z.ZodObject<{
|
|
|
72
72
|
created_at: z.ZodOptional<z.ZodString>;
|
|
73
73
|
image: z.ZodOptional<z.ZodString>;
|
|
74
74
|
toolkits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
75
|
+
agent_config: z.ZodOptional<z.ZodString>;
|
|
75
76
|
}, "strip", z.ZodTypeAny, {
|
|
76
77
|
name: string;
|
|
77
78
|
fixture: string;
|
|
@@ -98,6 +99,7 @@ declare const TestCaseSchema: z.ZodObject<{
|
|
|
98
99
|
created_at?: string | undefined;
|
|
99
100
|
image?: string | undefined;
|
|
100
101
|
toolkits?: string[] | undefined;
|
|
102
|
+
agent_config?: string | undefined;
|
|
101
103
|
}, {
|
|
102
104
|
name: string;
|
|
103
105
|
fixture: string;
|
|
@@ -124,6 +126,7 @@ declare const TestCaseSchema: z.ZodObject<{
|
|
|
124
126
|
created_at?: string | undefined;
|
|
125
127
|
image?: string | undefined;
|
|
126
128
|
toolkits?: string[] | undefined;
|
|
129
|
+
agent_config?: string | undefined;
|
|
127
130
|
}>;
|
|
128
131
|
type TestCase = z.infer<typeof TestCaseSchema>;
|
|
129
132
|
|
package/dist/index.js
CHANGED
|
@@ -50,7 +50,8 @@ var TestCaseSchema = z.object({
|
|
|
50
50
|
// paths to toolkit directories (custom CLI tools + .claude/skills/) to
|
|
51
51
|
// inject into the sandbox and surface to the agent via the system prompt,
|
|
52
52
|
// in addition to any toolkits configured on the agent
|
|
53
|
-
toolkits: z.array(z.string()).optional()
|
|
53
|
+
toolkits: z.array(z.string()).optional(),
|
|
54
|
+
agent_config: z.string().optional()
|
|
54
55
|
});
|
|
55
56
|
var SkillFrontmatterSchema = z.object({
|
|
56
57
|
/** lowercase letters, numbers, hyphens; max 64 chars */
|
|
@@ -83,7 +84,9 @@ var AgentConfigSchema = z.object({
|
|
|
83
84
|
max_steps: z.number().default(30),
|
|
84
85
|
temperature: z.number().optional(),
|
|
85
86
|
system_prompt: z.string().optional(),
|
|
86
|
-
tools: z.array(z.string()).optional()
|
|
87
|
+
tools: z.array(z.string()).optional().describe(
|
|
88
|
+
"Optional allowlist of tool names (local: executeCommand, readFile, writeFile, submit; MCP: <mcpServerName>_<toolName>). submit is always included implicitly."
|
|
89
|
+
),
|
|
87
90
|
// paths to toolkit directories (custom CLI tools + .claude/skills/) to
|
|
88
91
|
// inject into the sandbox and surface to the agent via the system prompt
|
|
89
92
|
toolkits: z.array(z.string()).optional(),
|