Skip to content

Commit d7f45f3

Browse files
krukowCopilot
andcommitted
fix: address Copilot Code Review round 2 feedback
- Update changelog: steerable → remote-steerable? to avoid stale entry - Define ::source spec (string?) for user.message-data and custom-agent-info Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 2f87981 commit d7f45f3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. This change
44
## [Unreleased]
55

66
### Added (v0.2.1 sync)
7-
- **`steerable` field on `session.start` events**`session.start` event data now includes optional `:steerable?` boolean field indicating whether the session supports remote steering via Mission Control. New `::steerable?` spec added (upstream PR #927).
7+
- **`remote-steerable?` field on `session.start` and `session.resume` events**event data now includes optional `:remote-steerable?` boolean field indicating whether the session supports remote steering via Mission Control. Replaces previous `:steerable?` (upstream PRs #927, #908).
88
- **`get-session-metadata`** — new function on client for efficient O(1) session lookup by ID. Returns session metadata map if found, or `nil` if not found. Sends `session.getMetadata` JSON-RPC call. Shared `wire->session-metadata` helper extracted from `list-sessions` to eliminate duplication (upstream PR #899).
99
- **Elicitation provider support** — new `:on-elicitation-request` handler on `SessionConfig` and `ResumeSessionConfig`. When provided, sends `requestElicitation: true` in the session create/resume RPC. The runtime routes `elicitation.requested` broadcast events to the handler, and results are sent back via `session.ui.handlePendingElicitation` RPC. Handler errors automatically send a cancel response. New `::elicitation-request` and `::on-elicitation-request` specs (upstream PR #908).
1010
- **`capabilities.changed` event handling** — session capabilities are dynamically updated when `capabilities.changed` broadcast events are received, e.g. when another client joins with elicitation support (upstream PR #908).

src/github/copilot_sdk/specs.clj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,7 @@
638638

639639
(s/def ::agent-mode #{:interactive :plan :autopilot :shell})
640640
(s/def ::interaction-id string?)
641+
(s/def ::source string?)
641642

642643
;; user.message event data — attachments can include blobs (inbound-only types)
643644
(s/def ::user.message-data

0 commit comments

Comments
 (0)