kradle 0.6.8 → 0.6.9

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.
@@ -1 +1 @@
1
- export declare const MINECRAFT_ARENA_MANAGER_TAG = "8534933";
1
+ export declare const MINECRAFT_ARENA_MANAGER_TAG = "3ec9c55";
@@ -1,2 +1,2 @@
1
1
  // Managed by https://github.com/Kradle-ai/arena-minecraft/actions/workflows/release.yaml
2
- export const MINECRAFT_ARENA_MANAGER_TAG = "8534933";
2
+ export const MINECRAFT_ARENA_MANAGER_TAG = "3ec9c55";
@@ -390,6 +390,7 @@ export class Challenge {
390
390
  challengeConfig: challengeData.challengeConfig,
391
391
  description: challengeData.description,
392
392
  task: challengeData.task,
393
+ scoreLabel: challengeData.scoreLabel,
393
394
  roles: challengeData.roles,
394
395
  objective: challengeData.objective,
395
396
  endStates: sortedEndStates,
@@ -64,9 +64,13 @@ export declare const ChallengeSchema: z.ZodObject<{
64
64
  z: z.ZodNumber;
65
65
  }, z.core.$strip>>;
66
66
  }, z.core.$strip>>>;
67
+ tickRate: z.ZodOptional<z.ZodNumber>;
68
+ startLives: z.ZodOptional<z.ZodNumber>;
69
+ watcherCommands: z.ZodOptional<z.ZodString>;
67
70
  }, z.core.$strip>;
68
71
  description: z.ZodOptional<z.ZodString>;
69
72
  task: z.ZodOptional<z.ZodString>;
73
+ scoreLabel: z.ZodOptional<z.ZodString>;
70
74
  roles: z.ZodRecord<z.ZodString, z.ZodObject<{
71
75
  description: z.ZodOptional<z.ZodString>;
72
76
  specificTask: z.ZodOptional<z.ZodString>;
@@ -107,8 +111,12 @@ export declare const ChallengeConfigSchema: z.ZodObject<{
107
111
  z: z.ZodNumber;
108
112
  }, z.core.$strip>>;
109
113
  }, z.core.$strip>>>;
114
+ tickRate: z.ZodOptional<z.ZodNumber>;
115
+ startLives: z.ZodOptional<z.ZodNumber>;
116
+ watcherCommands: z.ZodOptional<z.ZodString>;
110
117
  }, z.core.$strip>;
111
118
  task: z.ZodOptional<z.ZodString>;
119
+ scoreLabel: z.ZodOptional<z.ZodString>;
112
120
  roles: z.ZodRecord<z.ZodString, z.ZodObject<{
113
121
  description: z.ZodOptional<z.ZodString>;
114
122
  specificTask: z.ZodOptional<z.ZodString>;
@@ -153,9 +161,13 @@ export declare const ChallengesResponseSchema: z.ZodObject<{
153
161
  z: z.ZodNumber;
154
162
  }, z.core.$strip>>;
155
163
  }, z.core.$strip>>>;
164
+ tickRate: z.ZodOptional<z.ZodNumber>;
165
+ startLives: z.ZodOptional<z.ZodNumber>;
166
+ watcherCommands: z.ZodOptional<z.ZodString>;
156
167
  }, z.core.$strip>;
157
168
  description: z.ZodOptional<z.ZodString>;
158
169
  task: z.ZodOptional<z.ZodString>;
170
+ scoreLabel: z.ZodOptional<z.ZodString>;
159
171
  roles: z.ZodRecord<z.ZodString, z.ZodObject<{
160
172
  description: z.ZodOptional<z.ZodString>;
161
173
  specificTask: z.ZodOptional<z.ZodString>;
@@ -31,9 +31,13 @@ export const ChallengeSchema = z.object({
31
31
  datapack: z.boolean(),
32
32
  gameMode: z.enum(["survival", "creative", "adventure", "spectator"]),
33
33
  locations: ChallengeLocationsSchema.optional(),
34
+ tickRate: z.number().min(5).max(25).optional(),
35
+ startLives: z.number().optional(),
36
+ watcherCommands: z.string().optional(),
34
37
  }),
35
38
  description: z.string().optional(),
36
39
  task: z.string().optional(),
40
+ scoreLabel: z.string().optional(),
37
41
  roles: z.record(z.string(), z.object({
38
42
  description: z.string().optional(),
39
43
  specificTask: z.string().optional(),
@@ -87,6 +87,50 @@
87
87
  "update.js"
88
88
  ]
89
89
  },
90
+ "agent:list": {
91
+ "aliases": [],
92
+ "args": {},
93
+ "description": "List all agents",
94
+ "examples": [
95
+ "<%= config.bin %> <%= command.id %>"
96
+ ],
97
+ "flags": {
98
+ "api-key": {
99
+ "description": "Kradle API key",
100
+ "env": "KRADLE_API_KEY",
101
+ "name": "api-key",
102
+ "required": true,
103
+ "hasDynamicHelp": false,
104
+ "multiple": false,
105
+ "type": "option"
106
+ },
107
+ "api-url": {
108
+ "description": "Kradle Web API URL",
109
+ "env": "KRADLE_API_URL",
110
+ "name": "api-url",
111
+ "required": true,
112
+ "default": "https://api.kradle.ai/v0",
113
+ "hasDynamicHelp": false,
114
+ "multiple": false,
115
+ "type": "option"
116
+ }
117
+ },
118
+ "hasDynamicHelp": false,
119
+ "hiddenAliases": [],
120
+ "id": "agent:list",
121
+ "pluginAlias": "kradle",
122
+ "pluginName": "kradle",
123
+ "pluginType": "core",
124
+ "strict": true,
125
+ "enableJsonFlag": false,
126
+ "isESM": true,
127
+ "relativePath": [
128
+ "dist",
129
+ "commands",
130
+ "agent",
131
+ "list.js"
132
+ ]
133
+ },
90
134
  "ai-docs:challenges-sdk": {
91
135
  "aliases": [],
92
136
  "args": {
@@ -1390,50 +1434,6 @@
1390
1434
  "push.js"
1391
1435
  ]
1392
1436
  },
1393
- "agent:list": {
1394
- "aliases": [],
1395
- "args": {},
1396
- "description": "List all agents",
1397
- "examples": [
1398
- "<%= config.bin %> <%= command.id %>"
1399
- ],
1400
- "flags": {
1401
- "api-key": {
1402
- "description": "Kradle API key",
1403
- "env": "KRADLE_API_KEY",
1404
- "name": "api-key",
1405
- "required": true,
1406
- "hasDynamicHelp": false,
1407
- "multiple": false,
1408
- "type": "option"
1409
- },
1410
- "api-url": {
1411
- "description": "Kradle Web API URL",
1412
- "env": "KRADLE_API_URL",
1413
- "name": "api-url",
1414
- "required": true,
1415
- "default": "https://api.kradle.ai/v0",
1416
- "hasDynamicHelp": false,
1417
- "multiple": false,
1418
- "type": "option"
1419
- }
1420
- },
1421
- "hasDynamicHelp": false,
1422
- "hiddenAliases": [],
1423
- "id": "agent:list",
1424
- "pluginAlias": "kradle",
1425
- "pluginName": "kradle",
1426
- "pluginType": "core",
1427
- "strict": true,
1428
- "enableJsonFlag": false,
1429
- "isESM": true,
1430
- "relativePath": [
1431
- "dist",
1432
- "commands",
1433
- "agent",
1434
- "list.js"
1435
- ]
1436
- },
1437
1437
  "challenge:runs:get": {
1438
1438
  "aliases": [],
1439
1439
  "args": {
@@ -1555,5 +1555,5 @@
1555
1555
  ]
1556
1556
  }
1557
1557
  },
1558
- "version": "0.6.8"
1558
+ "version": "0.6.9"
1559
1559
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kradle",
3
- "version": "0.6.8",
3
+ "version": "0.6.9",
4
4
  "description": "Kradle's CLI. Manage challenges, experiments, agents and more!",
5
5
  "keywords": [
6
6
  "cli"