@evolvingmachines/sdk 0.0.51 → 0.0.52-project-sable.20260729.8632c49
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/dist/chunk-ZYTUS4TY.js +6 -0
- package/dist/hosted/cli.cjs +90 -0
- package/dist/hosted/cli.d.cts +56 -0
- package/dist/hosted/cli.d.ts +56 -0
- package/dist/hosted/cli.js +85 -0
- package/dist/index.cjs +448 -67
- package/dist/index.d.cts +986 -364
- package/dist/index.d.ts +986 -364
- package/dist/index.js +439 -63
- package/dist/tar-WPIXS3E6.js +1 -0
- package/dist/types-BnWkwyuA.d.cts +1406 -0
- package/dist/types-BnWkwyuA.d.ts +1406 -0
- package/hosted-error-codes.json +57 -0
- package/package.json +18 -8
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "The hosted evals API's error-code vocabulary, checked in so two repos that share no test runner can be held to one list. The server owns it: HOSTED_API_ERROR_CODES in the dashboard (lib/evaluations/api-errors.ts) is the only place a code may be added. This file is that array’s shadow, and three tests keep everyone honest — the dashboard regenerates these exact bytes and diffs them, the TypeScript SDK asserts HOSTED_ERROR_CODES equals codes[], and the Python SDK asserts both its tuple and its Literal do. Adding a code therefore means: server array, this file, both SDK lists.",
|
|
3
|
+
"codes": [
|
|
4
|
+
"missing_authorization",
|
|
5
|
+
"invalid_api_key",
|
|
6
|
+
"credential_service_unavailable",
|
|
7
|
+
"rate_limited",
|
|
8
|
+
"insufficient_credits",
|
|
9
|
+
"invalid_json",
|
|
10
|
+
"invalid_input",
|
|
11
|
+
"invalid_limit",
|
|
12
|
+
"invalid_status",
|
|
13
|
+
"invalid_cursor",
|
|
14
|
+
"invalid_after",
|
|
15
|
+
"invalid_format",
|
|
16
|
+
"invalid_ids",
|
|
17
|
+
"invalid_multipart",
|
|
18
|
+
"idempotency_key_reused",
|
|
19
|
+
"benchmark_not_found",
|
|
20
|
+
"benchmark_version_not_found",
|
|
21
|
+
"benchmark_name_taken",
|
|
22
|
+
"benchmark_in_use",
|
|
23
|
+
"benchmark_not_owned",
|
|
24
|
+
"upstream_not_watchable",
|
|
25
|
+
"no_active_version",
|
|
26
|
+
"version_not_ready",
|
|
27
|
+
"unknown_task_keys",
|
|
28
|
+
"no_tasks",
|
|
29
|
+
"custom_harness_not_found",
|
|
30
|
+
"custom_harness_name_taken",
|
|
31
|
+
"custom_harness_name_reserved",
|
|
32
|
+
"custom_harness_invalid_name",
|
|
33
|
+
"custom_harness_source_required",
|
|
34
|
+
"custom_harness_source_conflict",
|
|
35
|
+
"custom_harness_invalid_env",
|
|
36
|
+
"custom_harness_too_large",
|
|
37
|
+
"custom_harness_limit_reached",
|
|
38
|
+
"harness_version_not_found",
|
|
39
|
+
"job_too_large",
|
|
40
|
+
"provider_unsupported",
|
|
41
|
+
"job_not_found",
|
|
42
|
+
"job_not_terminal",
|
|
43
|
+
"no_failed_runs",
|
|
44
|
+
"trial_not_found",
|
|
45
|
+
"concurrent_update",
|
|
46
|
+
"regrade_source_ineligible",
|
|
47
|
+
"no_regradable_runs",
|
|
48
|
+
"regrade_not_found",
|
|
49
|
+
"import_not_found",
|
|
50
|
+
"import_too_large",
|
|
51
|
+
"invalid_archive",
|
|
52
|
+
"package_not_retained",
|
|
53
|
+
"package_corrupt",
|
|
54
|
+
"package_missing",
|
|
55
|
+
"internal_error"
|
|
56
|
+
]
|
|
57
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evolvingmachines/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.52-project-sable.20260729.8632c49",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"ai",
|
|
6
6
|
"agents",
|
|
@@ -23,12 +23,16 @@
|
|
|
23
23
|
"url": "git+https://github.com/evolving-machines-lab/evolve.git"
|
|
24
24
|
},
|
|
25
25
|
"type": "module",
|
|
26
|
+
"bin": {
|
|
27
|
+
"evolve-evals": "dist/hosted/cli.js"
|
|
28
|
+
},
|
|
26
29
|
"main": "dist/index.cjs",
|
|
27
30
|
"types": "dist/index.d.ts",
|
|
28
31
|
"license": "Apache-2.0",
|
|
29
32
|
"files": [
|
|
30
33
|
"dist",
|
|
31
|
-
"LICENSE"
|
|
34
|
+
"LICENSE",
|
|
35
|
+
"hosted-error-codes.json"
|
|
32
36
|
],
|
|
33
37
|
"exports": {
|
|
34
38
|
".": {
|
|
@@ -40,10 +44,11 @@
|
|
|
40
44
|
"scripts": {
|
|
41
45
|
"build": "tsup --minify",
|
|
42
46
|
"dev": "tsup src/index.ts --watch",
|
|
43
|
-
"type-check": "tsc --noEmit",
|
|
47
|
+
"type-check": "tsc --noEmit && tsc -p tsconfig.types-test.json",
|
|
44
48
|
"test": "npm run test:unit && npm run test:integration",
|
|
45
49
|
"pretest:unit": "npm run build",
|
|
46
|
-
"test:unit": "tsx tests/unit/semaphore.test.ts && tsx tests/unit/swarm-concurrency.test.ts && tsx tests/unit/swarm-verify.test.ts && tsx tests/unit/swarm-retry-verify.test.ts && tsx tests/unit/prompt-construction.test.ts && tsx tests/unit/observability-metadata.test.ts && tsx tests/unit/skills-integration.test.ts && tsx tests/unit/auth-config.test.ts && tsx tests/unit/browser-config.test.ts && tsx tests/unit/integrations-config.test.ts && tsx tests/unit/plugins-config.test.ts && tsx tests/unit/session-runtime.test.ts && tsx tests/unit/cost-api.test.ts && tsx tests/unit/storage-config.test.ts && tsx tests/unit/checkpoint-tar.test.ts && tsx tests/unit/checkpoint-errors.test.ts && tsx tests/unit/checkpoint-flows.test.ts && tsx tests/unit/checkpoint-dx.test.ts && tsx tests/unit/checkpoint-edge-cases.test.ts && tsx tests/unit/kimi-parser.test.ts && tsx tests/unit/kimi-mcp.test.ts && tsx tests/unit/opencode-parser.test.ts && tsx tests/unit/droid-parser.test.ts && tsx tests/unit/droid-mcp.test.ts && tsx tests/unit/provider-parity.test.ts && tsx tests/unit/storage-client.test.ts && tsx tests/unit/sessions-client.test.ts",
|
|
50
|
+
"test:unit": "tsx tests/unit/semaphore.test.ts && tsx tests/unit/swarm-concurrency.test.ts && tsx tests/unit/swarm-verify.test.ts && tsx tests/unit/swarm-retry-verify.test.ts && tsx tests/unit/prompt-construction.test.ts && tsx tests/unit/observability-metadata.test.ts && tsx tests/unit/skills-integration.test.ts && tsx tests/unit/auth-config.test.ts && tsx tests/unit/browser-config.test.ts && tsx tests/unit/integrations-config.test.ts && tsx tests/unit/managed-secrets.test.ts && tsx tests/unit/plugins-config.test.ts && tsx tests/unit/session-runtime.test.ts && tsx tests/unit/cost-api.test.ts && tsx tests/unit/storage-config.test.ts && tsx tests/unit/checkpoint-tar.test.ts && tsx tests/unit/checkpoint-errors.test.ts && tsx tests/unit/checkpoint-flows.test.ts && tsx tests/unit/checkpoint-dx.test.ts && tsx tests/unit/checkpoint-edge-cases.test.ts && tsx tests/unit/codex-parser-errors.test.ts && tsx tests/unit/kimi-parser.test.ts && tsx tests/unit/kimi-mcp.test.ts && tsx tests/unit/opencode-parser.test.ts && tsx tests/unit/droid-parser.test.ts && tsx tests/unit/droid-mcp.test.ts && tsx tests/unit/provider-parity.test.ts && tsx tests/unit/storage-client.test.ts && tsx tests/unit/sessions-client.test.ts && tsx tests/unit/hosted-client.test.ts && tsx tests/unit/hosted-ergonomics.test.ts && tsx tests/unit/hosted-cli.test.ts && tsx tests/unit/hosted-types.test.ts && tsx tests/unit/hosted-error-codes.test.ts && tsx tests/unit/sandbox-artifacts.test.ts && tsx tests/unit/upload-file-from-path.test.ts",
|
|
51
|
+
"test:unit:upload-from-path": "tsx tests/unit/upload-file-from-path.test.ts",
|
|
47
52
|
"test:unit:parity": "tsx tests/unit/provider-parity.test.ts",
|
|
48
53
|
"test:unit:semaphore": "tsx tests/unit/semaphore.test.ts",
|
|
49
54
|
"test:unit:swarm": "tsx tests/unit/swarm-concurrency.test.ts",
|
|
@@ -55,8 +60,10 @@
|
|
|
55
60
|
"test:unit:auth": "tsx tests/unit/auth-config.test.ts",
|
|
56
61
|
"test:unit:browser": "tsx tests/unit/browser-config.test.ts",
|
|
57
62
|
"test:unit:integrations": "tsx tests/unit/integrations-config.test.ts",
|
|
63
|
+
"test:unit:managed-secrets": "tsx tests/unit/managed-secrets.test.ts",
|
|
58
64
|
"test:unit:plugins": "tsx tests/unit/plugins-config.test.ts",
|
|
59
65
|
"test:unit:storage-config": "tsx tests/unit/storage-config.test.ts",
|
|
66
|
+
"test:unit:error-codes": "tsx tests/unit/hosted-error-codes.test.ts",
|
|
60
67
|
"test:unit:checkpoint-tar": "tsx tests/unit/checkpoint-tar.test.ts",
|
|
61
68
|
"test:unit:checkpoint-errors": "tsx tests/unit/checkpoint-errors.test.ts",
|
|
62
69
|
"test:unit:checkpoint-flows": "tsx tests/unit/checkpoint-flows.test.ts",
|
|
@@ -64,6 +71,7 @@
|
|
|
64
71
|
"test:unit:checkpoint-edge-cases": "tsx tests/unit/checkpoint-edge-cases.test.ts",
|
|
65
72
|
"test:unit:storage-client": "tsx tests/unit/storage-client.test.ts",
|
|
66
73
|
"test:unit:sessions-client": "tsx tests/unit/sessions-client.test.ts",
|
|
74
|
+
"test:unit:hosted-client": "tsx tests/unit/hosted-client.test.ts",
|
|
67
75
|
"test:unit:kimi-parser": "tsx tests/unit/kimi-parser.test.ts",
|
|
68
76
|
"test:unit:kimi-mcp": "tsx tests/unit/kimi-mcp.test.ts",
|
|
69
77
|
"pretest:integration": "npm run build",
|
|
@@ -93,13 +101,15 @@
|
|
|
93
101
|
"test:claude": "tsx tests/integration/01-all-agents-parallel.ts claude",
|
|
94
102
|
"test:codex": "tsx tests/integration/01-all-agents-parallel.ts codex",
|
|
95
103
|
"test:gemini": "tsx tests/integration/01-all-agents-parallel.ts gemini",
|
|
96
|
-
"test:qwen": "tsx tests/integration/01-all-agents-parallel.ts qwen"
|
|
104
|
+
"test:qwen": "tsx tests/integration/01-all-agents-parallel.ts qwen",
|
|
105
|
+
"test:unit:hosted-cli": "tsx tests/unit/hosted-cli.test.ts",
|
|
106
|
+
"test:unit:sandbox-artifacts": "tsx tests/unit/sandbox-artifacts.test.ts"
|
|
97
107
|
},
|
|
98
108
|
"dependencies": {
|
|
99
109
|
"@agentclientprotocol/sdk": "^0.5.1",
|
|
100
|
-
"@evolvingmachines/e2b": "^0.0.
|
|
101
|
-
"@evolvingmachines/daytona": "^0.0.
|
|
102
|
-
"@evolvingmachines/modal": "^0.0.
|
|
110
|
+
"@evolvingmachines/e2b": "^0.0.52-project-sable.20260729.8632c49",
|
|
111
|
+
"@evolvingmachines/daytona": "^0.0.52-project-sable.20260729.8632c49",
|
|
112
|
+
"@evolvingmachines/modal": "^0.0.52-project-sable.20260729.8632c49",
|
|
103
113
|
"ajv": "^8.17.1",
|
|
104
114
|
"p-map": "^7.0.2",
|
|
105
115
|
"zod": "^3.24.0",
|