Codync
免費、開源的 1:1 替代方案,取代 Grok Bot 與 Muse。從 iPhone、Mac 或 Linux 桌面將 Claude Code、Codex、Cursor 與 40+ 程式碼代理人作為持續機器人傳訊。群組聊天、主題串…
AI 翻譯
Next generation LLM evaluation framework powered by Vitest.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗[!WARNING] V1 is a release candidate. Install
viteval@rc. Untagged installs resolve to v0. V0 support ends when v1 launches. Thev0branch contains the stable release.
Viteval is an independent open-source project. It is not affiliated with, endorsed by, or supported by VoidZero.
viteval ui.pnpm add -D viteval@rc
pnpm exec viteval init --no-env-file
pnpm exec viteval run
pnpm exec viteval ui
Requires Node >=26. Initialization creates viteval.config.ts (.mts for
CommonJS) and a passing src/viteval.eval.ts example. JSON results are saved
under .viteval/results. Existing Viteval configuration is preserved; no runner
config, setup module, or reporter is required.
Define an evaluation in src/uppercase.eval.ts. This example runs without a model or API key:
import { evaluate, scorers } from 'viteval';
evaluate('Uppercase', {
data: [
{ input: 'hello', expected: 'HELLO' },
{ input: 'world', expected: 'WORLD' },
],
task: ({ input }) => input.toUpperCase(),
scorers: [scorers.exactMatch()],
});
Run it locally or in CI:
pnpm exec viteval run
Replace task with your model, agent, or workflow. Each case passes when its
configured mean, median, or sum meets the threshold. Failed execution and scorer
errors fail the case and remain inspectable in the JSON report.
pnpm validate
pnpm validate:consumer
pnpm --filter @viteval/cli test:binary
pnpm docs:types
pnpm docs:build
The consumer check installs packed packages outside the workspace and verifies
initialization, evaluations, JSON datasets, SQLite, server-rendered dashboard
deep links, JavaScript/CSS delivery, and API/404 behavior. Run
pnpm dev:ui examples/basic to develop the dashboard with Vite on port 6274.
See v1 completion for the release contract and evidence.