@hasna/evals 0.1.25 → 0.1.27
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/LICENSE +2 -1
- package/README.md +13 -12
- package/dist/cli/commands/doctor.d.ts.map +1 -1
- package/dist/cli/commands/sync.d.ts.map +1 -1
- package/dist/cli/index.js +13781 -5640
- package/dist/core/judge.d.ts.map +1 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9977 -12190
- package/dist/mcp/http.d.ts +13 -0
- package/dist/mcp/http.d.ts.map +1 -0
- package/dist/mcp/http.test.d.ts +2 -0
- package/dist/mcp/http.test.d.ts.map +1 -0
- package/dist/mcp/index.js +3677 -6418
- package/dist/mcp/server.d.ts +5 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/server/index.js +3812 -903
- package/package.json +3 -3
- package/dist/db/cloud-sync.d.ts +0 -33
- package/dist/db/cloud-sync.d.ts.map +0 -1
- package/dist/db/pg-migrations.d.ts +0 -5
- package/dist/db/pg-migrations.d.ts.map +0 -1
- package/dist/db/remote-storage.d.ts +0 -10
- package/dist/db/remote-storage.d.ts.map +0 -1
package/LICENSE
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
Apache License
|
|
2
3
|
Version 2.0, January 2004
|
|
3
4
|
http://www.apache.org/licenses/
|
|
@@ -175,7 +176,7 @@
|
|
|
175
176
|
|
|
176
177
|
END OF TERMS AND CONDITIONS
|
|
177
178
|
|
|
178
|
-
Copyright 2026
|
|
179
|
+
Copyright 2026 Hasna, Inc.
|
|
179
180
|
|
|
180
181
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
181
182
|
you may not use this file except in compliance with the License.
|
package/README.md
CHANGED
|
@@ -197,18 +197,6 @@ evals mcp register --gemini # Gemini (~/.gemini/settings.json)
|
|
|
197
197
|
evals mcp register --all # all three at once
|
|
198
198
|
```
|
|
199
199
|
|
|
200
|
-
## Cloud Sync
|
|
201
|
-
|
|
202
|
-
Runs and baselines are stored locally in SQLite. Set a cloud PostgreSQL URL to sync them:
|
|
203
|
-
|
|
204
|
-
```bash
|
|
205
|
-
export HASNA_EVALS_CLOUD_DATABASE_URL="postgres://..."
|
|
206
|
-
|
|
207
|
-
evals sync status
|
|
208
|
-
evals sync push
|
|
209
|
-
evals sync pull
|
|
210
|
-
```
|
|
211
|
-
|
|
212
200
|
---
|
|
213
201
|
|
|
214
202
|
## CI / GitHub Actions
|
|
@@ -252,6 +240,19 @@ evals_run_single(
|
|
|
252
240
|
→ PASS — The response correctly identifies Paris.
|
|
253
241
|
```
|
|
254
242
|
|
|
243
|
+
## HTTP mode
|
|
244
|
+
|
|
245
|
+
Shared Streamable HTTP transport for multi-agent sessions (stdio remains the default):
|
|
246
|
+
|
|
247
|
+
```bash
|
|
248
|
+
evals-mcp --http # http://127.0.0.1:8817/mcp
|
|
249
|
+
MCP_HTTP=1 evals-mcp # same
|
|
250
|
+
evals-mcp --http --port 8817 # explicit port
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
- Health: `GET http://127.0.0.1:8817/health` → `{"status":"ok","name":"evals"}`
|
|
254
|
+
- Override port with `MCP_HTTP_PORT` or `--port`
|
|
255
|
+
|
|
255
256
|
---
|
|
256
257
|
|
|
257
258
|
## License
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/doctor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/doctor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAqCpC,wBAAgB,aAAa,IAAI,OAAO,CAqFvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/sync.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/sync.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,wBAAgB,WAAW,IAAI,OAAO,CA2FrC"}
|