@inferencesh/sdk 0.38.12 → 0.38.13
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/types.d.ts +9 -1
- package/dist/types.js +8 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -3213,7 +3213,7 @@ export interface WorkerRAM {
|
|
|
3213
3213
|
* a task lists the ones it needs (Task.Requires); the scheduler only sends
|
|
3214
3214
|
* a task to an engine that has every one it needs.
|
|
3215
3215
|
*/
|
|
3216
|
-
export type EngineCapability = "egress_gateway" | "sandboxes" | "capacity" | "egress_pending" | "egress_grants";
|
|
3216
|
+
export type EngineCapability = "egress_gateway" | "sandboxes" | "capacity" | "egress_pending" | "egress_grants" | "egress_decide";
|
|
3217
3217
|
/**
|
|
3218
3218
|
* EngineCapabilityEgressGateway: the engine runs its sandboxes behind
|
|
3219
3219
|
* the egress gateway, so it can take bound secrets (the v2 secrets
|
|
@@ -3247,6 +3247,14 @@ export declare const EngineCapabilityEgressPending: EngineCapability;
|
|
|
3247
3247
|
* an engine (INF-1173).
|
|
3248
3248
|
*/
|
|
3249
3249
|
export declare const EngineCapabilityEgressGrants: EngineCapability;
|
|
3250
|
+
/**
|
|
3251
|
+
* EngineCapabilityEgressDecide: the engine's gateway reports what it
|
|
3252
|
+
* saw on a request (EgressResolveRequest.Observed) and carries out the
|
|
3253
|
+
* API's answer, every time in it included (HoldUntil, HoldOffMs,
|
|
3254
|
+
* MaxHoldMs, Resend, the retry status); it wakes held requests on
|
|
3255
|
+
* egress_answer and acks egress_revoke (INF-1173).
|
|
3256
|
+
*/
|
|
3257
|
+
export declare const EngineCapabilityEgressDecide: EngineCapability;
|
|
3250
3258
|
/**
|
|
3251
3259
|
* EngineCapabilities is a set of capabilities, kept as a list. Nil and
|
|
3252
3260
|
* empty are the same: nothing beyond the base contract.
|
package/dist/types.js
CHANGED
|
@@ -509,6 +509,14 @@ export const EngineCapabilityEgressPending = "egress_pending";
|
|
|
509
509
|
* an engine (INF-1173).
|
|
510
510
|
*/
|
|
511
511
|
export const EngineCapabilityEgressGrants = "egress_grants";
|
|
512
|
+
/**
|
|
513
|
+
* EngineCapabilityEgressDecide: the engine's gateway reports what it
|
|
514
|
+
* saw on a request (EgressResolveRequest.Observed) and carries out the
|
|
515
|
+
* API's answer, every time in it included (HoldUntil, HoldOffMs,
|
|
516
|
+
* MaxHoldMs, Resend, the retry status); it wakes held requests on
|
|
517
|
+
* egress_answer and acks egress_revoke (INF-1173).
|
|
518
|
+
*/
|
|
519
|
+
export const EngineCapabilityEgressDecide = "egress_decide";
|
|
512
520
|
export const ErrorCodeInvalidRequest = "invalid_request";
|
|
513
521
|
export const ErrorCodeValidationError = "validation_error";
|
|
514
522
|
export const ErrorCodeUnauthorized = "unauthorized";
|