@fre4x/benchmark 1.1.0 → 1.1.3

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.
Files changed (2) hide show
  1. package/dist/index.js +11 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -31323,12 +31323,17 @@ async function executeTaskRunner(attempt, task, solution) {
31323
31323
  const logs = [
31324
31324
  `runner ${attempt.runner_kind} started for task ${task.task_id}`
31325
31325
  ];
31326
- for (const asset of task.assets) {
31327
- const artifact = await materializeAsset(
31328
- workspaceDir,
31329
- task.task_id,
31330
- asset
31331
- );
31326
+ const materializedAssets = await Promise.all(
31327
+ task.assets.map(async (asset) => {
31328
+ const artifact = await materializeAsset(
31329
+ workspaceDir,
31330
+ task.task_id,
31331
+ asset
31332
+ );
31333
+ return { artifact, asset };
31334
+ })
31335
+ );
31336
+ for (const { artifact, asset } of materializedAssets) {
31332
31337
  if (artifact) {
31333
31338
  artifacts.push(artifact);
31334
31339
  logs.push(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fre4x/benchmark",
3
- "version": "1.1.0",
3
+ "version": "1.1.3",
4
4
  "description": "A deterministic benchmark MCP server for agent evaluation workflows.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",