Skip to content

v2.1.0 — GitHub Copilot SDK 1.0.0-beta.8 + Remote Session Publishing

Choose a tag to compare

@devartifex devartifex released this 28 May 11:15
· 19 commits to master since this release

Highlights

This release upgrades @github/copilot-sdk to v1.0.0-beta.8 — the first SDK release that exposes the new remote-session APIs — and lights up optional per-session remote publishing so a Copilot Unleashed conversation can be exported to (or driven from) the official Copilot remote-sessions surface on github.com.

New features

  • Remote session publishing (opt-in). Each new chat can be started with one of three modes:
    • off — local-only (default; identical to v2.0.1 behaviour)
    • export — one-way publish of messages and tool calls to the remote session
    • on — full remote control: github.com can drive the session
      Gated server-side by the ENABLE_REMOTE_SESSIONS env var (default true) so operators can hard-disable the feature.
  • GET /api/sessions/last — endpoint for the UI to offer a one-tap Resume last conversation across devices.
  • forceStop() fallback in the WebSocket session pool — if a graceful stop() blocks for >5 s, the pool now force-stops the CLI subprocess so a hung session can't pin the worker indefinitely.

SDK upgrade — breaking-change migrations applied internally

All migrations happen behind the existing public API. Surface-level effects are unchanged, but inside:

  • New connection bootstrap (gitHubToken, workingDirectory, baseDirectory fields)
  • SystemMessageSection rename + new hook input shape (sessionId + workingDirectory on every hook)
  • MCP server config uses workingDirectory (SDK now maps it to the wire cwd internally)
  • Session FS provider deleted — the SDK now writes session state to baseDirectory/session-state/ directly

Quality

  • Unit tests: 420 passing (39 files; +1 new test for the configDir threading)
  • svelte-check: 0/0
  • Production build verified

Dependency hygiene

Closed/superseded 9 stale dependabot PRs (#170, #172, #177, #178, #181, #182, #185, #186, #188) and deferred 3 follow-ups (#167, #176, #187) — the SDK + transitive bumps in this PR cover them.

Known issue

The repo's Playwright e2e job has been timing out on every CI run for 2+ weeks (predating this release) — tracked in #190. PR #189 was admin-merged because the failure is pre-existing on master and not a regression. The bundled unit suite + manual smoke + targeted Playwright spec on the new endpoints all pass.

PR

  • #189 — feat(sdk): upgrade to @github/copilot-sdk 1.0.0-beta.8 + remote-session support