@veryfront/ext-content-mdx 0.1.1262 → 0.1.1264-rc.19994
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/esm/deno.js +1 -1
- package/esm/src/errors/error-registry/agent.d.ts +13 -0
- package/esm/src/errors/error-registry/agent.d.ts.map +1 -1
- package/esm/src/errors/error-registry/agent.js +25 -0
- package/esm/src/errors/error-registry.d.ts +2 -0
- package/esm/src/errors/error-registry.d.ts.map +1 -1
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.d.ts.map +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/package.json +4 -4
package/esm/deno.js
CHANGED
|
@@ -53,6 +53,17 @@ export declare const EVAL_MODEL_PROJECT_ACCESS_DENIED: import("../types.js").Reg
|
|
|
53
53
|
* policy blocks every later record the same way.
|
|
54
54
|
*/
|
|
55
55
|
export declare const EVAL_MODEL_EGRESS_BLOCKED: import("../types.js").RegisteredError;
|
|
56
|
+
/**
|
|
57
|
+
* An eval stopped because the Veryfront Cloud gateway refused its model request
|
|
58
|
+
* under the project's EU-only inference policy (`eu_inference_policy`). Every
|
|
59
|
+
* later record sends the same model and tools, so it is refused the same way.
|
|
60
|
+
*/
|
|
61
|
+
export declare const EVAL_MODEL_INFERENCE_POLICY_DENIED: import("../types.js").RegisteredError;
|
|
62
|
+
/**
|
|
63
|
+
* An eval stopped because a provider-executed tool is not available under the
|
|
64
|
+
* project's EU-only inference policy.
|
|
65
|
+
*/
|
|
66
|
+
export declare const EVAL_INFERENCE_POLICY_DENIED: import("../types.js").RegisteredError;
|
|
56
67
|
/**
|
|
57
68
|
* An eval record ran past its time limit. The limit covers the whole record:
|
|
58
69
|
* target execution, tools, model requests, metrics, and checks. A model stream
|
|
@@ -78,6 +89,8 @@ export declare const AGENT_REGISTRY: {
|
|
|
78
89
|
readonly "eval-model-egress-blocked": import("../types.js").RegisteredError;
|
|
79
90
|
readonly "eval-model-unauthorized": import("../types.js").RegisteredError;
|
|
80
91
|
readonly "eval-model-project-access-denied": import("../types.js").RegisteredError;
|
|
92
|
+
readonly "eval-model-inference-policy-denied": import("../types.js").RegisteredError;
|
|
93
|
+
readonly "eval-inference-policy-denied": import("../types.js").RegisteredError;
|
|
81
94
|
readonly "eval-record-timeout": import("../types.js").RegisteredError;
|
|
82
95
|
};
|
|
83
96
|
//# sourceMappingURL=agent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../../../src/src/errors/error-registry/agent.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,uCAMtB,CAAC;AAEH,eAAO,MAAM,eAAe,uCAM1B,CAAC;AAEH,eAAO,MAAM,aAAa,uCAMxB,CAAC;AAEH,eAAO,MAAM,kBAAkB,uCAM7B,CAAC;AAEH,eAAO,MAAM,mBAAmB,uCAM9B,CAAC;AAEH,eAAO,MAAM,mBAAmB,uCAM9B,CAAC;AAEH,eAAO,MAAM,gBAAgB,uCAM3B,CAAC;AAEH,eAAO,MAAM,oCAAoC,uCAO/C,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,uCAM5C,CAAC;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,kCAAkC,uCAO7C,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,uCAOnC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,qBAAqB,uCAOhC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,+BAA+B,uCAO1C,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,uBAAuB,uCAOlC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,gCAAgC,uCAO3C,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,uCAOpC,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,uCAO9B,CAAC;AAEH,8DAA8D;AAC9D,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../../../src/src/errors/error-registry/agent.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,uCAMtB,CAAC;AAEH,eAAO,MAAM,eAAe,uCAM1B,CAAC;AAEH,eAAO,MAAM,aAAa,uCAMxB,CAAC;AAEH,eAAO,MAAM,kBAAkB,uCAM7B,CAAC;AAEH,eAAO,MAAM,mBAAmB,uCAM9B,CAAC;AAEH,eAAO,MAAM,mBAAmB,uCAM9B,CAAC;AAEH,eAAO,MAAM,gBAAgB,uCAM3B,CAAC;AAEH,eAAO,MAAM,oCAAoC,uCAO/C,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,uCAM5C,CAAC;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,kCAAkC,uCAO7C,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,uCAOnC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,qBAAqB,uCAOhC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,+BAA+B,uCAO1C,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,uBAAuB,uCAOlC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,gCAAgC,uCAO3C,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,uCAOpC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,kCAAkC,uCAO7C,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,4BAA4B,uCAOvC,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,uCAO9B,CAAC;AAEH,8DAA8D;AAC9D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;CAoBjB,CAAC"}
|
|
@@ -150,6 +150,29 @@ export const EVAL_MODEL_EGRESS_BLOCKED = defineError({
|
|
|
150
150
|
title: "Veryfront API blocked by network egress policy",
|
|
151
151
|
suggestion: "Veryfront blocks requests to hosts that resolve to private network addresses. If the Veryfront API runs on a private network you trust, such as a staging, VPN, or self-hosted deployment, add its exact origin (for example https://api.example.com) to VERYFRONT_HOST_ALLOWED_INTERNAL_PROVIDER_ORIGINS in the environment that runs veryfront eval, then run the eval again",
|
|
152
152
|
});
|
|
153
|
+
/**
|
|
154
|
+
* An eval stopped because the Veryfront Cloud gateway refused its model request
|
|
155
|
+
* under the project's EU-only inference policy (`eu_inference_policy`). Every
|
|
156
|
+
* later record sends the same model and tools, so it is refused the same way.
|
|
157
|
+
*/
|
|
158
|
+
export const EVAL_MODEL_INFERENCE_POLICY_DENIED = defineError({
|
|
159
|
+
slug: "eval-model-inference-policy-denied",
|
|
160
|
+
category: "AGENT",
|
|
161
|
+
status: 403,
|
|
162
|
+
title: "Eval model request refused by inference policy",
|
|
163
|
+
suggestion: "The project allows EU-only inference. Choose a model with an EU inference route, then run the eval again",
|
|
164
|
+
});
|
|
165
|
+
/**
|
|
166
|
+
* An eval stopped because a provider-executed tool is not available under the
|
|
167
|
+
* project's EU-only inference policy.
|
|
168
|
+
*/
|
|
169
|
+
export const EVAL_INFERENCE_POLICY_DENIED = defineError({
|
|
170
|
+
slug: "eval-inference-policy-denied",
|
|
171
|
+
category: "AGENT",
|
|
172
|
+
status: 403,
|
|
173
|
+
title: "Eval request refused by inference policy",
|
|
174
|
+
suggestion: "The project allows EU-only inference. Remove provider-executed tools, such as provider web search, from the eval target, then run the eval again",
|
|
175
|
+
});
|
|
153
176
|
/**
|
|
154
177
|
* An eval record ran past its time limit. The limit covers the whole record:
|
|
155
178
|
* target execution, tools, model requests, metrics, and checks. A model stream
|
|
@@ -181,5 +204,7 @@ export const AGENT_REGISTRY = {
|
|
|
181
204
|
"eval-model-egress-blocked": EVAL_MODEL_EGRESS_BLOCKED,
|
|
182
205
|
"eval-model-unauthorized": EVAL_MODEL_UNAUTHORIZED,
|
|
183
206
|
"eval-model-project-access-denied": EVAL_MODEL_PROJECT_ACCESS_DENIED,
|
|
207
|
+
"eval-model-inference-policy-denied": EVAL_MODEL_INFERENCE_POLICY_DENIED,
|
|
208
|
+
"eval-inference-policy-denied": EVAL_INFERENCE_POLICY_DENIED,
|
|
184
209
|
"eval-record-timeout": EVAL_RECORD_TIMEOUT,
|
|
185
210
|
};
|
|
@@ -158,6 +158,8 @@ export declare const ERROR_REGISTRY: Readonly<{
|
|
|
158
158
|
readonly "eval-model-egress-blocked": import("./types.js").RegisteredError;
|
|
159
159
|
readonly "eval-model-unauthorized": import("./types.js").RegisteredError;
|
|
160
160
|
readonly "eval-model-project-access-denied": import("./types.js").RegisteredError;
|
|
161
|
+
readonly "eval-model-inference-policy-denied": import("./types.js").RegisteredError;
|
|
162
|
+
readonly "eval-inference-policy-denied": import("./types.js").RegisteredError;
|
|
161
163
|
readonly "eval-record-timeout": import("./types.js").RegisteredError;
|
|
162
164
|
}>;
|
|
163
165
|
export type ErrorSlug = keyof typeof ERROR_REGISTRY;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-registry.d.ts","sourceRoot":"","sources":["../../../src/src/errors/error-registry.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAgBhD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAE5C;;;GAGG;AACH,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"error-registry.d.ts","sourceRoot":"","sources":["../../../src/src/errors/error-registry.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAgBhD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAE5C;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY1B,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,cAAc,CAAC;AAEpD;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,SAAS,wCAE7C;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,aAAa,0CAE1D;AAED;;GAEG;AACH,wBAAgB,WAAW,IAAI,SAAS,EAAE,CAEzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version-constant.d.ts","sourceRoot":"","sources":["../../../src/src/utils/version-constant.ts"],"names":[],"mappings":"AAEA,4BAA4B;AAC5B,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version-constant.d.ts","sourceRoot":"","sources":["../../../src/src/utils/version-constant.ts"],"names":[],"mappings":"AAEA,4BAA4B;AAC5B,eAAO,MAAM,OAAO,sBAAsB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veryfront/ext-content-mdx",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1264-rc.19994",
|
|
4
4
|
"description": "Veryfront first-party extension package for ext-content-mdx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"veryfront",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@types/hast": "3.0.3",
|
|
54
54
|
"@types/mdast": "4.0.3",
|
|
55
55
|
"@types/unist": "3.0.2",
|
|
56
|
-
"@veryfront/ext-parser-babel": "0.1.
|
|
56
|
+
"@veryfront/ext-parser-babel": "0.1.1264-rc.19994",
|
|
57
57
|
"acorn": "8.17.0",
|
|
58
58
|
"acorn-jsx": "5.3.2",
|
|
59
59
|
"github-slugger": "2.0.0",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"vfile": "6.0.3"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
|
-
"veryfront": "^0.1.
|
|
85
|
+
"veryfront": "^0.1.1264-rc.19994"
|
|
86
86
|
},
|
|
87
87
|
"type": "module",
|
|
88
88
|
"types": "./esm/extensions/ext-content-mdx/src/index.d.ts",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"NOTICE",
|
|
93
93
|
"README.md"
|
|
94
94
|
],
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "a05c9f388dfe47f911a55eeccf8bc0fa59d68f69"
|
|
96
96
|
}
|