Skip to content

chore(sdk-pin): upgrade github-copilot-sdk 1.0.0 -> 1.0.2 - #72

Merged
Salil Das (sadlilas) merged 1 commit into
microsoft:mainfrom
HDMowri:github-copilot-sdk-1-0-2-upgrade
Jun 22, 2026
Merged

chore(sdk-pin): upgrade github-copilot-sdk 1.0.0 -> 1.0.2#72
Salil Das (sadlilas) merged 1 commit into
microsoft:mainfrom
HDMowri:github-copilot-sdk-1-0-2-upgrade

Conversation

@HDMowri

@HDMowri Mowri Mohan (HDMowri) commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Bump the pinned GitHub Copilot SDK from 1.0.0 to 1.0.2 and adopt the
three surface changes the new SDK introduces, raising the provider to
2.4.0:

  • Pin the new mode-gated memory session setting to {"enabled": False},
    mirroring the SDK's own empty-mode default so behavior is unchanged.
  • Mirror the new Tool.defer field when forwarding tools, so tool turns
    no longer risk an AttributeError against the 1.0.2 Tool dataclass.
  • Classify the three new session events (todos_changed, binary_asset,
    canvas.closed) as drop. binary_asset additionally gets a metadata-only
    tripwire (asset_id / mime_type / byte_length) that never reads the
    base64 image bytes.

Graceful runtime shutdown lands once per lifecycle on stop(), bounded by
a 10s timeout, not per turn.

Docs: refresh the README model tables to the live 1.0.2 set (correct the
Claude context/output figures, drop retired GPT rows, add the Gemini and
MAI families) and scope MIGRATION.md to the 2.x line, relocating older
guides to git history.

Quality: ruff: 0 errors | pyright: 0 errors | pytest (linux/py3.14): 1383 passed | pytest (win32/py3.13): 1380 passed | total coverage: 98%

Bump the pinned GitHub Copilot SDK from 1.0.0 to 1.0.2 and adopt the
three surface changes the new SDK introduces, raising the provider to
2.4.0:

- Pin the new mode-gated `memory` session setting to {"enabled": False},
  mirroring the SDK's own empty-mode default so behavior is unchanged.
- Mirror the new `Tool.defer` field when forwarding tools, so tool turns
  no longer risk an AttributeError against the 1.0.2 Tool dataclass.
- Classify the three new session events (todos_changed, binary_asset,
  canvas.closed) as drop. binary_asset additionally gets a metadata-only
  tripwire (asset_id / mime_type / byte_length) that never reads the
  base64 image bytes.

Graceful runtime shutdown lands once per lifecycle on stop(), bounded by
a 10s timeout, not per turn.

Docs: refresh the README model tables to the live 1.0.2 set (correct the
Claude context/output figures, drop retired GPT rows, add the Gemini and
MAI families) and scope MIGRATION.md to the 2.x line, relocating older
guides to git history.

Quality: ruff: 0 errors | pyright: 0 errors | pytest (linux/py3.14): 1383 passed | pytest (win32/py3.13): 1380 passed | total coverage: 98%

@sadlilas Salil Das (sadlilas) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified end to end: SDK 1.0.2 surface checked against SDK source, code changes mirror it, full test suite green (1383 passed), and the README model table matches live amplifier provider models github-copilot output. LGTM.

@sadlilas
Salil Das (sadlilas) merged commit 0dd7dab into microsoft:main Jun 22, 2026
1 check passed
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