@constal/sdk 6.19.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constal/sdk",
3
- "version": "6.19.0",
3
+ "version": "6.20.0",
4
4
  "description": "Public TypeScript SDK for authoring Constal agents, integrations, policies, channels, and credential providers",
5
5
  "keywords": [
6
6
  "constal",
package/publish/api.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "@constal/sdk",
3
- "version": "6.19.0",
3
+ "version": "6.20.0",
4
4
  "exports": [
5
5
  "AGENT_UI_DEFAULTS",
6
6
  "Action",
@@ -3323,6 +3323,8 @@ interface TurnGate {
3323
3323
  * message answering one of those calls by id. */
3324
3324
  type TurnHistoryMessage = ModelHistoryMessage;
3325
3325
  interface TurnSpec extends ModelGenerationOptions {
3326
+ /** Execution deadline for each model invocation. Runner leases and caller waits are separate. */
3327
+ timeoutMs?: number;
3326
3328
  system: string;
3327
3329
  objective?: unknown;
3328
3330
  context?: unknown;
@@ -3643,6 +3645,8 @@ interface BoundResourceCapabilities {
3643
3645
  }
3644
3646
  /** One evaluation of shared state against typed questions through a bound evaluation Model, or a Gateway plus explicit model identifier. */
3645
3647
  interface EvaluationSpec<Q extends EvaluationQuestions = EvaluationQuestions> {
3648
+ /** Execution deadline for this evaluation. Defaults to the pinned model's execution policy. */
3649
+ timeoutMs?: number;
3646
3650
  state: EvaluationEntry;
3647
3651
  questions: Q;
3648
3652
  /** Model binding name; when gateway is supplied, the Gateway's model identifier instead. */