Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).

## [Unreleased]
### Added (v0.2.0 sync)
- **`:host` field on `session.handoff` events** — `session.handoff` event data now includes an optional `:host` field with the GitHub host URL for the source session (e.g., `"https://github.com"` or `"https://tenant.ghe.com"`). New `::session.handoff-data` spec documents the shape: `{:remote-session-id "..." :host "..."}` (both optional) (upstream PR #900).

## [0.2.0.0] - 2026-03-23
### Added (v0.2.0 sync)
Expand Down
2 changes: 1 addition & 1 deletion doc/reference/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@ Convert an unqualified event keyword to a namespace-qualified `:copilot/` keywor
| `:copilot/session.idle` | Session finished processing |
| `:copilot/session.info` | Informational session update |
| `:copilot/session.model_change` | Session model changed |
| `:copilot/session.handoff` | Session handed off to another agent |
| `:copilot/session.handoff` | Session handed off to another agent; data: `{:remote-session-id "..." :host "https://github.com"}` (both optional) |
| `:copilot/session.usage_info` | Token usage information |
| `:copilot/session.context_changed` | Session context (cwd, repo, branch) changed |
| `:copilot/session.title_changed` | Session title updated |
Expand Down
5 changes: 5 additions & 0 deletions src/github/copilot_sdk/specs.clj
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,11 @@

(s/def ::session.idle-data map?)

(s/def ::remote-session-id string?)

(s/def ::session.handoff-data
(s/keys :opt-un [::remote-session-id ::host]))

(s/def ::agent-mode #{:interactive :plan :autopilot :shell})
(s/def ::interaction-id string?)

Expand Down