From 3933c87eca8c5c8c1b811b39935934b53e2f7e09 Mon Sep 17 00:00:00 2001 From: Claude Bot Date: Wed, 29 Jul 2026 19:37:05 +0800 Subject: [PATCH] chore: upgrade all dependencies to latest versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - @biomejs/biome 1.9.4 → 2.5.6 (major; ran biome migrate --write) - @types/node ^20.0.0 → ^26.0.0 - turbo ^2.0.0 → ^2.10.7 - typescript: kept at ^5.9.0 (intentionally not upgraded to 7.x) - Applied biome 2 lint fixes (unused import, safe rewrites) - Build and tests pass --- biome.json | 14 ++---- bun.lock | 46 ++++++++++--------- package.json | 8 ++-- packages/aep-export/package.json | 4 +- packages/cli/package.json | 4 +- packages/core/package.json | 4 +- packages/core/src/admissibility.ts | 2 +- packages/core/src/index.ts | 6 +-- packages/core/src/solvers/index.ts | 2 +- packages/core/src/tester/index.ts | 8 +--- packages/faep-schema/package.json | 5 +- packages/reporter/package.json | 4 +- packages/reporter/src/index.ts | 4 +- packages/sdk/package.json | 4 +- packages/verifier-runtime/package.json | 4 +- packages/verifier-runtime/src/diff_patch.ts | 2 +- packages/verifier-runtime/src/index.ts | 18 ++++---- .../verifier-runtime/src/schema_migration.ts | 1 - 18 files changed, 75 insertions(+), 65 deletions(-) diff --git a/biome.json b/biome.json index 47e0d9d..68b26ab 100644 --- a/biome.json +++ b/biome.json @@ -1,5 +1,5 @@ { - "$schema": "https://biomejs.dev/schemas/1.9.0/schema.json", + "$schema": "https://biomejs.dev/schemas/2.5.6/schema.json", "vcs": { "enabled": true, "clientKind": "git", @@ -7,13 +7,7 @@ }, "files": { "ignoreUnknown": true, - "ignore": [ - "**/dist", - "**/node_modules", - "**/coverage", - "**/.turbo", - "**/target" - ] + "includes": ["**", "!**/dist", "!**/node_modules", "!**/coverage", "!**/.turbo", "!**/target"] }, "formatter": { "enabled": true, @@ -24,7 +18,7 @@ "linter": { "enabled": true, "rules": { - "recommended": true + "preset": "recommended" } }, "javascript": { @@ -34,4 +28,4 @@ "semicolons": "always" } } -} \ No newline at end of file +} diff --git a/bun.lock b/bun.lock index 8f3c792..40b3356 100644 --- a/bun.lock +++ b/bun.lock @@ -5,10 +5,10 @@ "": { "name": "fresharena", "devDependencies": { - "@biomejs/biome": "^1.9.0", + "@biomejs/biome": "^2.5.6", "@types/bun": "^1.1.0", - "@types/node": "^20.0.0", - "turbo": "^2.0.0", + "@types/node": "^26.0.0", + "turbo": "^2.10.7", "typescript": "^5.9.0", }, }, @@ -124,23 +124,23 @@ "@babel/runtime": ["@babel/runtime@7.29.7", "", {}, "sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw=="], - "@biomejs/biome": ["@biomejs/biome@1.9.4", "", { "optionalDependencies": { "@biomejs/cli-darwin-arm64": "1.9.4", "@biomejs/cli-darwin-x64": "1.9.4", "@biomejs/cli-linux-arm64": "1.9.4", "@biomejs/cli-linux-arm64-musl": "1.9.4", "@biomejs/cli-linux-x64": "1.9.4", "@biomejs/cli-linux-x64-musl": "1.9.4", "@biomejs/cli-win32-arm64": "1.9.4", "@biomejs/cli-win32-x64": "1.9.4" }, "bin": { "biome": "bin/biome" } }, "sha512-1rkd7G70+o9KkTn5KLmDYXihGoTaIGO9PIIN2ZB7UJxFrWw04CZHPYiMRjYsaDvVV7hP1dYNRLxSANLaBFGpog=="], + "@biomejs/biome": ["@biomejs/biome@2.5.6", "", { "optionalDependencies": { "@biomejs/cli-darwin-arm64": "2.5.6", "@biomejs/cli-darwin-x64": "2.5.6", "@biomejs/cli-linux-arm64": "2.5.6", "@biomejs/cli-linux-arm64-musl": "2.5.6", "@biomejs/cli-linux-x64": "2.5.6", "@biomejs/cli-linux-x64-musl": "2.5.6", "@biomejs/cli-win32-arm64": "2.5.6", "@biomejs/cli-win32-x64": "2.5.6" }, "bin": { "biome": "bin/biome" } }, "sha512-lxVNjv7UF6KfhMJfL9gaUHbWdJdHbsAj6OSmwSYNdhRuG67NxNQ4Xdvh3TUxsSK9sBzJBQhEJj3AopmmNJ5pSA=="], - "@biomejs/cli-darwin-arm64": ["@biomejs/cli-darwin-arm64@1.9.4", "", { "os": "darwin", "cpu": "arm64" }, "sha512-bFBsPWrNvkdKrNCYeAp+xo2HecOGPAy9WyNyB/jKnnedgzl4W4Hb9ZMzYNbf8dMCGmUdSavlYHiR01QaYR58cw=="], + "@biomejs/cli-darwin-arm64": ["@biomejs/cli-darwin-arm64@2.5.6", "", { "os": "darwin", "cpu": "arm64" }, "sha512-zMOLZP4oMrjh6m1zcSj1ud2awUPgTuMVbmQhYYWL7J8HwCnbHHBvTm7VBTRuY7epT5bez76IpKYQ11ZAqHFlnw=="], - "@biomejs/cli-darwin-x64": ["@biomejs/cli-darwin-x64@1.9.4", "", { "os": "darwin", "cpu": "x64" }, "sha512-ngYBh/+bEedqkSevPVhLP4QfVPCpb+4BBe2p7Xs32dBgs7rh9nY2AIYUL6BgLw1JVXV8GlpKmb/hNiuIxfPfZg=="], + "@biomejs/cli-darwin-x64": ["@biomejs/cli-darwin-x64@2.5.6", "", { "os": "darwin", "cpu": "x64" }, "sha512-JAC1VqzvO7Th5ZplU0G2uGfkZbxEe9uDDektPAhF0JLusoz1w+T4okp2bkykI0bbaO2vslKiRfj4gU43JaGreA=="], - "@biomejs/cli-linux-arm64": ["@biomejs/cli-linux-arm64@1.9.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-fJIW0+LYujdjUgJJuwesP4EjIBl/N/TcOX3IvIHJQNsAqvV2CHIogsmA94BPG6jZATS4Hi+xv4SkBBQSt1N4/g=="], + "@biomejs/cli-linux-arm64": ["@biomejs/cli-linux-arm64@2.5.6", "", { "os": "linux", "cpu": "arm64" }, "sha512-6XsYwCFkp5sMxl85ffhgeGpGgs6A7dRYFnkceZ7WVxvycuTnGdD5xa534Z3xfrBQ0JCMK/mujT6ZNPJoghedwg=="], - "@biomejs/cli-linux-arm64-musl": ["@biomejs/cli-linux-arm64-musl@1.9.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-v665Ct9WCRjGa8+kTr0CzApU0+XXtRgwmzIf1SeKSGAv+2scAlW6JR5PMFo6FzqqZ64Po79cKODKf3/AAmECqA=="], + "@biomejs/cli-linux-arm64-musl": ["@biomejs/cli-linux-arm64-musl@2.5.6", "", { "os": "linux", "cpu": "arm64" }, "sha512-eUa3jeeYvfMt19LBeh6E5PUZpxnTC4JqNWo+EDjTtQjAr2xLGnWaxACtVU1DQqmHYbvThlJzLX+ZsYgrqh2qVw=="], - "@biomejs/cli-linux-x64": ["@biomejs/cli-linux-x64@1.9.4", "", { "os": "linux", "cpu": "x64" }, "sha512-lRCJv/Vi3Vlwmbd6K+oQ0KhLHMAysN8lXoCI7XeHlxaajk06u7G+UsFSO01NAs5iYuWKmVZjmiOzJ0OJmGsMwg=="], + "@biomejs/cli-linux-x64": ["@biomejs/cli-linux-x64@2.5.6", "", { "os": "linux", "cpu": "x64" }, "sha512-Pop9VXCFUhFTMfFefZ39S+u2rOPyNp5iHlxbZRwXGACHLy2r0jjiRgJHmaEKJzL3SyxlVeGShXhvvElvWowonA=="], - "@biomejs/cli-linux-x64-musl": ["@biomejs/cli-linux-x64-musl@1.9.4", "", { "os": "linux", "cpu": "x64" }, "sha512-gEhi/jSBhZ2m6wjV530Yy8+fNqG8PAinM3oV7CyO+6c3CEh16Eizm21uHVsyVBEB6RIM8JHIl6AGYCv6Q6Q9Tg=="], + "@biomejs/cli-linux-x64-musl": ["@biomejs/cli-linux-x64-musl@2.5.6", "", { "os": "linux", "cpu": "x64" }, "sha512-2Vp13QdKysH3HIWLaYLhUUwbK+jbZonJD1K+Lr0d0RO4wH7mkYd43vJixEDm8cUWrowoRz4UUHF1nm9Ae7ym8A=="], - "@biomejs/cli-win32-arm64": ["@biomejs/cli-win32-arm64@1.9.4", "", { "os": "win32", "cpu": "arm64" }, "sha512-tlbhLk+WXZmgwoIKwHIHEBZUwxml7bRJgk0X2sPyNR3S93cdRq6XulAZRQJ17FYGGzWne0fgrXBKpl7l4M87Hg=="], + "@biomejs/cli-win32-arm64": ["@biomejs/cli-win32-arm64@2.5.6", "", { "os": "win32", "cpu": "arm64" }, "sha512-tDGshcm6BdkZOCGnTDX0Y8/U4IfBSlnUU7T56nNDuPEfed+aHg+u8G36NB43fJVl0Os6+QURXIE1yuD7AaEofA=="], - "@biomejs/cli-win32-x64": ["@biomejs/cli-win32-x64@1.9.4", "", { "os": "win32", "cpu": "x64" }, "sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA=="], + "@biomejs/cli-win32-x64": ["@biomejs/cli-win32-x64@2.5.6", "", { "os": "win32", "cpu": "x64" }, "sha512-WN05KwXnTO/2J45RQPvzZMXf7tZUIofHoR35xIPfCo7pQ2RFidxI8sfb5mGsaTxdMmEOzHzOPRCdA5/fCpc7xQ=="], "@fresharena/aep-export": ["@fresharena/aep-export@workspace:packages/aep-export"], @@ -170,21 +170,21 @@ "@stablelib/base64": ["@stablelib/base64@1.0.1", "", {}, "sha512-1bnPQqSxSuc3Ii6MhBysoWCg58j97aUjuCSZrGSmDxNqtytIi0k8utUenAwTZN4V5mXXYGsVUI9zeBqy+jBOSQ=="], - "@turbo/darwin-64": ["@turbo/darwin-64@2.10.1", "", { "os": "darwin", "cpu": "x64" }, "sha512-EjfrTXVmT0r4Spv+nu1KRcvjqavCq35F5GRCvoxQi83uoX3wxQ2QTgDkSxO8O4HVXyi28dW0of/y2RFBOD4emA=="], + "@turbo/darwin-64": ["@turbo/darwin-64@2.10.7", "", { "os": "darwin", "cpu": "x64" }, "sha512-/c9cSBRermWDv85oufLhoH6XRLOVbvzJLRd+WLyfJCP+i0HFLQj4PVNDrHcY17/ve5l8X0Oua4bJBqJUgJPnZA=="], - "@turbo/darwin-arm64": ["@turbo/darwin-arm64@2.10.1", "", { "os": "darwin", "cpu": "arm64" }, "sha512-nVNvaJ7aHxF5zBw8Nc9Er2Iw8A/SPAw25sqlu/63/qGfDMGdarRYrxjdM0O0XK8X8bGg3Yr93Ro7I5tJksrfgA=="], + "@turbo/darwin-arm64": ["@turbo/darwin-arm64@2.10.7", "", { "os": "darwin", "cpu": "arm64" }, "sha512-8lpCCGWZBl9PIF8w8f2iEWrLMbHBWIfJeV6l2UEGqysD6HRIM4ySj/8R7HGEzbECJ4r/gnJcHmxEoG8yjFe64A=="], - "@turbo/linux-64": ["@turbo/linux-64@2.10.1", "", { "os": "linux", "cpu": "x64" }, "sha512-jaYr5GQGfW2jMkoux7/Yh+pUhKgqBM0pyAZnNTUybnVPy4qB2jP0C4B32Nmg00BYaAU3FaWr/bQ3CKKIYjdI2Q=="], + "@turbo/linux-64": ["@turbo/linux-64@2.10.7", "", { "os": "linux", "cpu": "x64" }, "sha512-Midw9Ed00yw9rqkWN82fY3LmLNFQ6yiL1GXB56DJKUEjWaEd27zh7ohCxzzrjfjQVrEeVWd3UPytTAV16XDQlA=="], - "@turbo/linux-arm64": ["@turbo/linux-arm64@2.10.1", "", { "os": "linux", "cpu": "arm64" }, "sha512-2Wg5TBGYQjaPMJhQzYf0EEM9N5mSE3AKmWBWKz6fsjZ8dlLL4uV7X3PnwtNO1+kRYjwg34ilJwweaT8MvxZOcA=="], + "@turbo/linux-arm64": ["@turbo/linux-arm64@2.10.7", "", { "os": "linux", "cpu": "arm64" }, "sha512-UVEy+MW/xn4BcsiV3v3uv0/oObyaQgVtRT+Jj4WE53rNH05VEYEc1Z13q3zV6276wCZR4Yxc4hiTTcjw7PjSpg=="], - "@turbo/windows-64": ["@turbo/windows-64@2.10.1", "", { "os": "win32", "cpu": "x64" }, "sha512-fRCK6wZiWQgE5fb+WpaBgDsHNo/fKcCoMEOms9E5Il/Bp/ec9uhsVNn0V/2gmN2hSCyFm7oKf0BZY6Lb6CDMOQ=="], + "@turbo/windows-64": ["@turbo/windows-64@2.10.7", "", { "os": "win32", "cpu": "x64" }, "sha512-l2nH9KGLV46SWjcXvyc2+xo5gdf5J0NVADknQk9OCJhzJBpiNl/byd26yIfwZBjLupdqT6UOdPhPxcpUPxRykQ=="], - "@turbo/windows-arm64": ["@turbo/windows-arm64@2.10.1", "", { "os": "win32", "cpu": "arm64" }, "sha512-6REIwRpmmnJdHYL+fIv2BGBC9PYd+8Ta+J53nmcHjqi46v/z+hS1sirYU5fg7Cg1r9/99dpRtSXHKTgvcLYSpg=="], + "@turbo/windows-arm64": ["@turbo/windows-arm64@2.10.7", "", { "os": "win32", "cpu": "arm64" }, "sha512-qjE1apG6RThuX49vUJd5ks2dV2ndXC2qktDChQonFMvUzrMrEnZMQzO+IgxBiYq1j+NbXQcRwj84nGnk1TBw1g=="], "@types/bun": ["@types/bun@1.3.14", "", { "dependencies": { "bun-types": "1.3.14" } }, "sha512-h1hFqFVcvAvD9j9K7ZW7vd82aSA+rTdznZa+5bwvCwqSB1jmmfLcbIWhOLx1/+boy/xmjgCs/OMUL8hRJSmnPw=="], - "@types/node": ["@types/node@20.19.43", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-6oYBAi5ikg4Pl+kGsoYtawUMBT2zZMCvPNF7pVLnHZfd1zf38DRiWn/gT01RYCdUqkv7Fhr+C9ot4/tb+2sVvA=="], + "@types/node": ["@types/node@26.1.2", "", { "dependencies": { "undici-types": "~8.3.0" } }, "sha512-Vu4a5UFA9rIIFJ7rB/Vaafh9lrCQszopTCx6KjFboXTGQbPNasehVR5TEiithSDGyd1DEiUByggTZsg8jukeIg=="], "bun-types": ["bun-types@1.3.14", "", { "dependencies": { "@types/node": "*" } }, "sha512-4N0ig0fEomHt5R0KCFWjovxow98rIoRwKolrYdCcknNwMekCXRnWEUvgu5soYV8QXtVsrUD8B95MBOZGPvr6KQ=="], @@ -204,12 +204,16 @@ "ts-algebra": ["ts-algebra@2.0.0", "", {}, "sha512-FPAhNPFMrkwz76P7cdjdmiShwMynZYN6SgOujD1urY4oNm80Ou9oMdmbR45LotcKOXoy7wSmHkRFE6Mxbrhefw=="], - "turbo": ["turbo@2.10.1", "", { "optionalDependencies": { "@turbo/darwin-64": "2.10.1", "@turbo/darwin-arm64": "2.10.1", "@turbo/linux-64": "2.10.1", "@turbo/linux-arm64": "2.10.1", "@turbo/windows-64": "2.10.1", "@turbo/windows-arm64": "2.10.1" }, "bin": { "turbo": "bin/turbo" } }, "sha512-z9WGX2bAfElLOri8JY6pcwr+GfS18B5iGefLcvv3nwM9MoE/fPQQhpgZKTRlBciqGSDuLnfNyfP+eji8mEapQA=="], + "turbo": ["turbo@2.10.7", "", { "optionalDependencies": { "@turbo/darwin-64": "2.10.7", "@turbo/darwin-arm64": "2.10.7", "@turbo/linux-64": "2.10.7", "@turbo/linux-arm64": "2.10.7", "@turbo/windows-64": "2.10.7", "@turbo/windows-arm64": "2.10.7" }, "bin": { "turbo": "bin/turbo" } }, "sha512-GHx6WExIFSKNJ5qMlzDpXBXlu9ApxaMjqxAVrCNcW94xf/+uqgIz41SAuRUMbXva2ExNAaY/h8V0q90SWSzmRw=="], "typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="], - "undici-types": ["undici-types@6.21.0", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="], + "undici-types": ["undici-types@8.3.0", "", {}, "sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ=="], "zod": ["zod@3.25.76", "", {}, "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ=="], + + "bun-types/@types/node": ["@types/node@20.19.43", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-6oYBAi5ikg4Pl+kGsoYtawUMBT2zZMCvPNF7pVLnHZfd1zf38DRiWn/gT01RYCdUqkv7Fhr+C9ot4/tb+2sVvA=="], + + "bun-types/@types/node/undici-types": ["undici-types@6.21.0", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="], } } diff --git a/package.json b/package.json index 4f9e638..39ae753 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "fresharena", "version": "0.1.0", "private": true, - "description": "FreshArena \u2014 dynamic, verifiable, and adversarial evaluation protocol for coding agents", + "description": "FreshArena — dynamic, verifiable, and adversarial evaluation protocol for coding agents", "license": "Apache-2.0", "type": "module", "packageManager": "bun@1.3.14", @@ -27,10 +27,10 @@ "fresharena": "bun run --filter @fresharena/cli start" }, "devDependencies": { - "@biomejs/biome": "^1.9.0", - "turbo": "^2.0.0", + "@biomejs/biome": "^2.5.6", + "turbo": "^2.10.7", "typescript": "^5.9.0", - "@types/node": "^20.0.0", + "@types/node": "^26.0.0", "@types/bun": "^1.1.0" } } diff --git a/packages/aep-export/package.json b/packages/aep-export/package.json index bff0acd..e86ea87 100644 --- a/packages/aep-export/package.json +++ b/packages/aep-export/package.json @@ -12,7 +12,9 @@ "types": "./dist/index.d.ts" } }, - "files": ["dist"], + "files": [ + "dist" + ], "scripts": { "build": "tsc -p tsconfig.json", "typecheck": "tsc -p tsconfig.json --noEmit", diff --git a/packages/cli/package.json b/packages/cli/package.json index 4c2b8a8..0373de5 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -8,7 +8,9 @@ "fresharena": "./dist/main.js" }, "main": "./dist/main.js", - "files": ["dist"], + "files": [ + "dist" + ], "scripts": { "build": "tsc -p tsconfig.json", "typecheck": "tsc -p tsconfig.json --noEmit", diff --git a/packages/core/package.json b/packages/core/package.json index c796278..7263a47 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -32,7 +32,9 @@ "types": "./dist/replay/index.d.ts" } }, - "files": ["dist"], + "files": [ + "dist" + ], "scripts": { "build": "tsc -p tsconfig.json", "typecheck": "tsc -p tsconfig.json --noEmit", diff --git a/packages/core/src/admissibility.ts b/packages/core/src/admissibility.ts index 599e57f..bedfe5a 100644 --- a/packages/core/src/admissibility.ts +++ b/packages/core/src/admissibility.ts @@ -1,8 +1,8 @@ import { type AdmissibilityResult, NormalizeConstraintsSchema, - type TaskSpec, parseNormalizeConstraints, + type TaskSpec, } from '@fresharena/faep-schema'; import { normalize, stableStringify } from '@fresharena/verifier-runtime'; diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index c9b9384..7f64701 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -1,5 +1,5 @@ -export type { EvalRunOptions, EvalRunResult } from './runner/index.js'; -export type { ScorerResult, FreshGeneralizationGap } from './scorer/index.js'; export type { GenerateOutput } from './generator/index.js'; -export type { TesterPlugin, TesterOutput } from './tester/index.js'; export type { ReplayOptions, ReplayResult } from './replay/index.js'; +export type { EvalRunOptions, EvalRunResult } from './runner/index.js'; +export type { FreshGeneralizationGap, ScorerResult } from './scorer/index.js'; +export type { TesterOutput, TesterPlugin } from './tester/index.js'; diff --git a/packages/core/src/solvers/index.ts b/packages/core/src/solvers/index.ts index b2df425..4d507cf 100644 --- a/packages/core/src/solvers/index.ts +++ b/packages/core/src/solvers/index.ts @@ -1,5 +1,5 @@ -import { parseNormalizeConstraints } from '@fresharena/faep-schema'; import type { EvalTrack, SolverMetadata, TaskSpec } from '@fresharena/faep-schema'; +import { parseNormalizeConstraints } from '@fresharena/faep-schema'; import { normalize, shortHash } from '@fresharena/verifier-runtime'; /** diff --git a/packages/core/src/tester/index.ts b/packages/core/src/tester/index.ts index 6d4083e..7af1c31 100644 --- a/packages/core/src/tester/index.ts +++ b/packages/core/src/tester/index.ts @@ -1,5 +1,4 @@ -import type { NormalizeConstraints, TaskSpec } from '@fresharena/faep-schema'; -import type { Counterexample } from '@fresharena/faep-schema'; +import type { Counterexample, NormalizeConstraints, TaskSpec } from '@fresharena/faep-schema'; import { normalize, sha256Hex, shortHash, stableStringify } from '@fresharena/verifier-runtime'; import fc from 'fast-check'; import { Rng } from '../rng.js'; @@ -45,10 +44,7 @@ export interface IdempotenceResult { * Deterministic: the fast-check seed is fixed and reproducible. */ export function runIdempotenceProperty( - opts: { - numRuns?: number; - seed?: number; - } = {}, + opts: { numRuns?: number; seed?: number } = {}, ): IdempotenceResult { const numRuns = opts.numRuns ?? DEFAULT_NUM_RUNS; const seed = opts.seed ?? 0xfae01; diff --git a/packages/faep-schema/package.json b/packages/faep-schema/package.json index 596e171..a0b58cd 100644 --- a/packages/faep-schema/package.json +++ b/packages/faep-schema/package.json @@ -12,7 +12,10 @@ "types": "./dist/index.d.ts" } }, - "files": ["dist", "schemas"], + "files": [ + "dist", + "schemas" + ], "scripts": { "build": "tsc -p tsconfig.json", "typecheck": "tsc -p tsconfig.json --noEmit", diff --git a/packages/reporter/package.json b/packages/reporter/package.json index 8d3e40b..890d5e8 100644 --- a/packages/reporter/package.json +++ b/packages/reporter/package.json @@ -12,7 +12,9 @@ "types": "./dist/index.d.ts" } }, - "files": ["dist"], + "files": [ + "dist" + ], "scripts": { "build": "tsc -p tsconfig.json", "typecheck": "tsc -p tsconfig.json --noEmit", diff --git a/packages/reporter/src/index.ts b/packages/reporter/src/index.ts index 35d801b..d657942 100644 --- a/packages/reporter/src/index.ts +++ b/packages/reporter/src/index.ts @@ -465,8 +465,8 @@ export async function generateReport(opts: ReportOptions): Promise export { computeSolverStats, - rankSolversByPassRate, isFreshTask, - type SolverStats, type ReportData, + rankSolversByPassRate, + type SolverStats, }; diff --git a/packages/sdk/package.json b/packages/sdk/package.json index a58b9e6..b85278b 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -12,7 +12,9 @@ "types": "./dist/index.d.ts" } }, - "files": ["dist"], + "files": [ + "dist" + ], "scripts": { "build": "tsc -p tsconfig.json", "typecheck": "tsc -p tsconfig.json --noEmit", diff --git a/packages/verifier-runtime/package.json b/packages/verifier-runtime/package.json index 471c166..c0c150e 100644 --- a/packages/verifier-runtime/package.json +++ b/packages/verifier-runtime/package.json @@ -12,7 +12,9 @@ "types": "./dist/index.d.ts" } }, - "files": ["dist"], + "files": [ + "dist" + ], "scripts": { "build": "tsc -p tsconfig.json", "typecheck": "tsc -p tsconfig.json --noEmit", diff --git a/packages/verifier-runtime/src/diff_patch.ts b/packages/verifier-runtime/src/diff_patch.ts index bd74ede..88b0690 100644 --- a/packages/verifier-runtime/src/diff_patch.ts +++ b/packages/verifier-runtime/src/diff_patch.ts @@ -35,7 +35,7 @@ function escapePathSegment(segment: string): string { return segment.replace('~', '~0').replace('/', '~1'); } -function joinPath(base: string[], key: string | number): string[] { +function _joinPath(base: string[], key: string | number): string[] { const escaped = typeof key === 'number' ? key.toString() : escapePathSegment(key); return [...base, escaped]; } diff --git a/packages/verifier-runtime/src/index.ts b/packages/verifier-runtime/src/index.ts index 1b6c74a..f0659cd 100644 --- a/packages/verifier-runtime/src/index.ts +++ b/packages/verifier-runtime/src/index.ts @@ -1,18 +1,20 @@ -export type { NormalizeConstraints } from '@fresharena/faep-schema'; -export type { DiffPatchConstraints } from '@fresharena/faep-schema'; -export type { MergeConstraints } from '@fresharena/faep-schema'; -export type { SchemaMigrationConstraints } from '@fresharena/faep-schema'; -export { normalize } from './normalize.js'; -export { diff, apply } from './diff_patch.js'; +export type { + DiffPatchConstraints, + MergeConstraints, + NormalizeConstraints, + SchemaMigrationConstraints, +} from '@fresharena/faep-schema'; +export { sha256Hex, sha256OfString, shortHash, stableStringify } from './crypto.js'; +export { apply, diff } from './diff_patch.js'; export { merge } from './merge.js'; +export { normalize } from './normalize.js'; export { migrate } from './schema_migration.js'; export { - verify, expectedHashFor, type VerifyInput, type VerifyResult, + verify, } from './verify.js'; -export { sha256Hex, sha256OfString, shortHash, stableStringify } from './crypto.js'; export interface VerifierPackage { id: string; diff --git a/packages/verifier-runtime/src/schema_migration.ts b/packages/verifier-runtime/src/schema_migration.ts index 7bf356e..e25620c 100644 --- a/packages/verifier-runtime/src/schema_migration.ts +++ b/packages/verifier-runtime/src/schema_migration.ts @@ -1,4 +1,3 @@ -import type { SchemaMigrationConstraints } from '@fresharena/faep-schema'; import { parseSchemaMigrationConstraints } from '@fresharena/faep-schema'; import { sha256Hex } from './crypto.js';