Skip to content

Release v1.8.0 — typed SessionPollNextSteps + ty type checker#15

Merged
vvillait88 merged 2 commits intomainfrom
release/v1.8.0
Apr 22, 2026
Merged

Release v1.8.0 — typed SessionPollNextSteps + ty type checker#15
vvillait88 merged 2 commits intomainfrom
release/v1.8.0

Conversation

@vvillait88
Copy link
Copy Markdown
Contributor

Summary

  • SessionPollNextSteps is now a proper TypedDict (was NotRequired[dict]). Fields: action, user_message, support_email?, support_subject?.
  • Raises Python floor 3.9 → 3.11 — the code already used typing.NotRequired (3.11+). Old floor was misleading.
  • Adds Astral's ty type checker as a dev dep, wired into lefthook pre-push + CI.
  • Bumps package to 1.8.0 (minor).

Test plan

  • uv sync --frozen --all-extras
  • uv run ruff check . && uv run ruff format --check .
  • uv run ty check agentscore/
  • uv run pytest tests/

🤖 Generated with Claude Code

vvillait88 and others added 2 commits April 22, 2026 11:32
Replace next_steps: NotRequired[dict] with a properly typed
SessionPollNextSteps TypedDict (support_email, support_subject,
action, user_message). Gives users autocompletion + static type
safety matching the node-sdk interface.

Raise Python floor 3.9 → 3.11 — the code already used typing.NotRequired
(3.11+), the old floor was misleading.

Wire Astral's ty type checker in as a dev dep + pre-push hook + CI step.

Backwards compatible on the Python wire; 3.9 / 3.10 consumers would not
have resolved the prior NotRequired anyway.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vvillait88 vvillait88 merged commit f051711 into main Apr 22, 2026
6 checks passed
@vvillait88 vvillait88 deleted the release/v1.8.0 branch April 22, 2026 18:38
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.

1 participant