Skip to content

feat(sdk): add timeout and agent options to schedule API#118

Merged
alitariksahin merged 4 commits intomainfrom
feat/schedule-timeout-and-agent-options
Apr 3, 2026
Merged

feat(sdk): add timeout and agent options to schedule API#118
alitariksahin merged 4 commits intomainfrom
feat/schedule-timeout-and-agent-options

Conversation

@enesakar
Copy link
Copy Markdown
Contributor

@enesakar enesakar commented Apr 3, 2026

Summary

  • Add timeout and options (provider-specific agent options) to AgentScheduleOptions
  • Add agent_options and timeout fields to Schedule response type
  • Serialize both fields in _scheduleAgent using existing toBackendAgentOptions helper
  • Add 3 new tests covering timeout, agent_options, and omission

Test plan

  • All 274 existing tests pass
  • New tests: sends timeout, sends agent_options (ClaudeCode provider), omits both when not provided

🤖 Generated with Claude Code

Align the schedule API with the run API by supporting `timeout` and
`options` (provider-specific agent options) on `AgentScheduleOptions`.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@alitariksahin alitariksahin merged commit b7ccab9 into main Apr 3, 2026
3 checks passed
@alitariksahin alitariksahin deleted the feat/schedule-timeout-and-agent-options branch April 3, 2026 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants