@wix/evalforge-types 0.28.0 → 0.30.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/README.md +43 -0
- package/build/index.js +435 -433
- package/build/index.js.map +4 -4
- package/build/index.mjs +435 -433
- package/build/index.mjs.map +4 -4
- package/build/types/common/github-source.d.ts +12 -0
- package/build/types/common/index.d.ts +1 -0
- package/build/types/target/skill.d.ts +3 -11
- package/build/types/template/template.d.ts +20 -3
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# @wix/evalforge-types
|
|
2
|
+
|
|
3
|
+
Shared TypeScript types and [Zod](https://zod.dev/) schemas for the EvalForge platform. This package is the single source of truth for all entity definitions used across the backend, frontend, and evaluator.
|
|
4
|
+
|
|
5
|
+
**This package must be built before any other package in the monorepo.**
|
|
6
|
+
|
|
7
|
+
## Modules
|
|
8
|
+
|
|
9
|
+
| Module | Description |
|
|
10
|
+
|--------|-------------|
|
|
11
|
+
| `common` | Base entity schemas (`BaseEntity`, `TenantEntity`), shared utilities |
|
|
12
|
+
| `target` | Testable entities — `Agent`, `Skill`, `SkillVersion`, `SkillsGroup`, `Mcp`, `SubAgent` |
|
|
13
|
+
| `scenario` | Test scenario definitions and environment configuration |
|
|
14
|
+
| `suite` | Test suite organization |
|
|
15
|
+
| `evaluation` | Eval run schemas, configs, results, and statuses |
|
|
16
|
+
| `project` | Project schemas (multi-tenancy root) |
|
|
17
|
+
| `template` | Project template schemas |
|
|
18
|
+
| `assertion` | Custom assertion definitions |
|
|
19
|
+
| `agent` | Agent adapter interface |
|
|
20
|
+
| `test` | Test type definitions (LLM, TOOL, BUILD_CHECK, etc.) |
|
|
21
|
+
|
|
22
|
+
## Usage
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import type { Skill, CreateSkillInput, EvalRun, EvalStatus } from '@wix/evalforge-types';
|
|
26
|
+
import { CreateSkillInputSchema } from '@wix/evalforge-types';
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Scripts
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
yarn build # Build CJS + ESM + type declarations
|
|
33
|
+
yarn lint # Run ESLint
|
|
34
|
+
yarn clean # Remove build artifacts
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Build Output
|
|
38
|
+
|
|
39
|
+
The package produces three build artifacts:
|
|
40
|
+
|
|
41
|
+
- `build/index.js` — CommonJS bundle
|
|
42
|
+
- `build/index.mjs` — ESM bundle
|
|
43
|
+
- `build/types/` — TypeScript declaration files
|