@constal/sdk 6.18.0 → 6.20.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/package.json +1 -1
- package/publish/api.json +1 -1
- package/publish/index.d.ts +4 -9
package/package.json
CHANGED
package/publish/api.json
CHANGED
package/publish/index.d.ts
CHANGED
|
@@ -2339,15 +2339,6 @@ interface SandboxPlacement {
|
|
|
2339
2339
|
interface SandboxCreateRequest {
|
|
2340
2340
|
/** The sandbox's id (SANDBOX_DOOR_ID), one the caller chose; omitted: one the door mints, kept under the create's key. */
|
|
2341
2341
|
id?: string;
|
|
2342
|
-
/**
|
|
2343
|
-
* Its name in the namespace, part of the create's identity: one segment of resolve's path, not empty, not `.` or `..`
|
|
2344
|
-
* (which a URL's parsing removes from a path) and with no `/`. Its coordinator claims it right before it writes the
|
|
2345
|
-
* sandbox, so a name another sandbox holds (one not deleted) is `AlreadyExists` naming that sandbox
|
|
2346
|
-
* (SandboxDoorError.sandbox), and nothing is made, at its provider either; a delete releases it, and resolve answers the
|
|
2347
|
-
* id it names. A create given its own `id` takes none (`Invalid`): only a minted id's create keeps its key in the
|
|
2348
|
-
* namespace, which keeps the name it asked. Omitted: no name, and nothing is claimed.
|
|
2349
|
-
*/
|
|
2350
|
-
name?: string;
|
|
2351
2342
|
/** The pools it may run on, in the order it tries them; one pool is a list of one. */
|
|
2352
2343
|
pools: SandboxPlacement[];
|
|
2353
2344
|
/** A SANDBOX_SIZES name or an allocation, which usage is priced on; the provider gives its nearest shape at or above it. Omitted: the pool's. */
|
|
@@ -3332,6 +3323,8 @@ interface TurnGate {
|
|
|
3332
3323
|
* message answering one of those calls by id. */
|
|
3333
3324
|
type TurnHistoryMessage = ModelHistoryMessage;
|
|
3334
3325
|
interface TurnSpec extends ModelGenerationOptions {
|
|
3326
|
+
/** Execution deadline for each model invocation. Runner leases and caller waits are separate. */
|
|
3327
|
+
timeoutMs?: number;
|
|
3335
3328
|
system: string;
|
|
3336
3329
|
objective?: unknown;
|
|
3337
3330
|
context?: unknown;
|
|
@@ -3652,6 +3645,8 @@ interface BoundResourceCapabilities {
|
|
|
3652
3645
|
}
|
|
3653
3646
|
/** One evaluation of shared state against typed questions through a bound evaluation Model, or a Gateway plus explicit model identifier. */
|
|
3654
3647
|
interface EvaluationSpec<Q extends EvaluationQuestions = EvaluationQuestions> {
|
|
3648
|
+
/** Execution deadline for this evaluation. Defaults to the pinned model's execution policy. */
|
|
3649
|
+
timeoutMs?: number;
|
|
3655
3650
|
state: EvaluationEntry;
|
|
3656
3651
|
questions: Q;
|
|
3657
3652
|
/** Model binding name; when gateway is supplied, the Gateway's model identifier instead. */
|