@wix/evalforge-types 0.34.0 → 0.35.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/build/index.js +18 -1
- package/build/index.js.map +3 -3
- package/build/index.mjs +14 -1
- package/build/index.mjs.map +3 -3
- package/build/types/agent/adapter.d.ts +4 -3
- package/build/types/target/agent.d.ts +17 -3
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -915,6 +915,9 @@ var require_types_impl = __commonJS({
|
|
|
915
915
|
var index_exports = {};
|
|
916
916
|
__export(index_exports, {
|
|
917
917
|
AVAILABLE_MODEL_IDS: () => AVAILABLE_MODEL_IDS,
|
|
918
|
+
AVAILABLE_RUN_COMMANDS: () => AVAILABLE_RUN_COMMANDS,
|
|
919
|
+
AgentRunCommand: () => AgentRunCommand,
|
|
920
|
+
AgentRunCommandSchema: () => AgentRunCommandSchema,
|
|
918
921
|
AgentSchema: () => AgentSchema,
|
|
919
922
|
AllowedCommands: () => AllowedCommands,
|
|
920
923
|
ApiCallSchema: () => ApiCallSchema,
|
|
@@ -992,6 +995,7 @@ __export(index_exports, {
|
|
|
992
995
|
PlaywrightNLTestSchema: () => PlaywrightNLTestSchema,
|
|
993
996
|
ProjectSchema: () => ProjectSchema,
|
|
994
997
|
PromptResultSchema: () => PromptResultSchema,
|
|
998
|
+
RUN_COMMAND_LABELS: () => RUN_COMMAND_LABELS,
|
|
995
999
|
SEMVER_REGEX: () => SEMVER_REGEX,
|
|
996
1000
|
SKILL_FOLDER_NAME_REGEX: () => SKILL_FOLDER_NAME_REGEX,
|
|
997
1001
|
SYSTEM_ASSERTIONS: () => SYSTEM_ASSERTIONS,
|
|
@@ -1128,9 +1132,18 @@ var TargetSchema = TenantEntitySchema.extend({
|
|
|
1128
1132
|
|
|
1129
1133
|
// src/target/agent.ts
|
|
1130
1134
|
var import_zod5 = require("zod");
|
|
1135
|
+
var AgentRunCommand = /* @__PURE__ */ ((AgentRunCommand2) => {
|
|
1136
|
+
AgentRunCommand2["CLAUDE"] = "claude";
|
|
1137
|
+
return AgentRunCommand2;
|
|
1138
|
+
})(AgentRunCommand || {});
|
|
1139
|
+
var AVAILABLE_RUN_COMMANDS = Object.values(AgentRunCommand);
|
|
1140
|
+
var RUN_COMMAND_LABELS = {
|
|
1141
|
+
["claude" /* CLAUDE */]: "Claude Code"
|
|
1142
|
+
};
|
|
1143
|
+
var AgentRunCommandSchema = import_zod5.z.nativeEnum(AgentRunCommand);
|
|
1131
1144
|
var AgentSchema = TargetSchema.extend({
|
|
1132
1145
|
/** Command to run the agent */
|
|
1133
|
-
runCommand:
|
|
1146
|
+
runCommand: AgentRunCommandSchema,
|
|
1134
1147
|
/** Optional model configuration override */
|
|
1135
1148
|
modelConfig: ModelConfigSchema.optional()
|
|
1136
1149
|
});
|
|
@@ -2221,6 +2234,9 @@ function getSystemAssertion(id) {
|
|
|
2221
2234
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2222
2235
|
0 && (module.exports = {
|
|
2223
2236
|
AVAILABLE_MODEL_IDS,
|
|
2237
|
+
AVAILABLE_RUN_COMMANDS,
|
|
2238
|
+
AgentRunCommand,
|
|
2239
|
+
AgentRunCommandSchema,
|
|
2224
2240
|
AgentSchema,
|
|
2225
2241
|
AllowedCommands,
|
|
2226
2242
|
ApiCallSchema,
|
|
@@ -2298,6 +2314,7 @@ function getSystemAssertion(id) {
|
|
|
2298
2314
|
PlaywrightNLTestSchema,
|
|
2299
2315
|
ProjectSchema,
|
|
2300
2316
|
PromptResultSchema,
|
|
2317
|
+
RUN_COMMAND_LABELS,
|
|
2301
2318
|
SEMVER_REGEX,
|
|
2302
2319
|
SKILL_FOLDER_NAME_REGEX,
|
|
2303
2320
|
SYSTEM_ASSERTIONS,
|