Skip to content
Merged
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: 1 addition & 1 deletion .copilot-schema-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.56-1
1.0.57
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,34 @@ All notable changes to this project will be documented in this file. This change

## [Unreleased]

### Added (v1.0.0-beta.12 sync)
- **`:context-tier` and `:reasoning-summary` on `switch-model!` / `set-model!`**
(upstream PR #1522). `:context-tier` accepts `:default` or `:long-context`
(wire-encoded as `contextTier` → `"default"` / `"long_context"`);
`:reasoning-summary` accepts `"none"` / `"concise"` / `"detailed"`
(wire-encoded as `reasoningSummary`). Mirrors the existing create/resume
session-config options.
- **`:model` field on `:copilot/tool.execution_start` event data**
(upstream npm `@github/copilot` 1.0.57). Added to `::tool.execution_start-data`
as an optional key, mirroring `::tool.execution_complete-data`.
- **`session.extensions.attachments_pushed` event + `extension_context`
attachment branch** — regenerated wire specs from the bumped schema
(upstream PR #1517). The new ephemeral event is not promoted to the curated
public `event-types` / `session-events` sets, consistent with the existing
canvas/extension surface.

### Fixed (v1.0.0-beta.12 sync)
- **Preserve opaque `extension_context` attachment payloads** — `extension_context`
attachments (reachable on `user.message` events via `session.getMessages` and on
`session.extensions.attachments_pushed` events) carry an opaque `:payload` whose
keys must not be kebab-cased by `wire->clj`. The protocol layer now restores the
raw payload for these attachments on both the live notification and historical
response paths.

### Changed (v1.0.0-beta.12 sync)
- Pinned schema bumped `1.0.56-1` → `1.0.57`; version synced to upstream release
`v1.0.0-beta.12` (`1.0.0-beta.12.0`).

### Added (Client Mode Empty — upstream PR #1428)
- **`:mode` client option** — `#{:copilot-cli :empty}`, default
`:copilot-cli`. Selects between historical CLI behavior and a hardened
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Add to your `deps.edn`:

```clojure
;; From Maven Central
io.github.copilot-community-sdk/copilot-sdk-clojure {:mvn/version "1.0.0-beta.4.1"}
io.github.copilot-community-sdk/copilot-sdk-clojure {:mvn/version "1.0.0-beta.12.0"}

;; Or git dependency
io.github.copilot-community-sdk/copilot-sdk-clojure {:git/url "https://github.com/copilot-community-sdk/copilot-sdk-clojure.git"
Expand Down
2 changes: 1 addition & 1 deletion build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
(:import [java.io File]))

(def lib 'io.github.copilot-community-sdk/copilot-sdk-clojure)
(def version "1.0.0-beta.4.1")
(def version "1.0.0-beta.12.0")
(def class-dir "target/classes")

(defn- try-sh
Expand Down
4 changes: 3 additions & 1 deletion doc/reference/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,8 @@ Switch the model for this session mid-conversation. Returns the new model ID str

Optional opts map:
- `:reasoning-effort` — Reasoning effort level ("low", "medium", "high", "xhigh")
- `:reasoning-summary` — Reasoning summary mode ("none", "concise", "detailed"). Wire-encoded as `reasoningSummary`.
- `:context-tier` — Context window tier for models that support it: `:default` or `:long-context` (upstream PR #1522). Wire-encoded as `contextTier` with values `"default"` / `"long_context"`.
- `:model-capabilities` — Model capabilities override map, e.g. `{:model-supports {:supports-vision true}}`

#### `set-model!`
Expand Down Expand Up @@ -1416,7 +1418,7 @@ Convert an unqualified event keyword to a namespace-qualified `:copilot/` keywor
| `:copilot/assistant.usage` | Token usage for this turn |
| `:copilot/abort` | Current message aborted |
| `:copilot/tool.user_requested` | Tool execution requested by user |
| `:copilot/tool.execution_start` | Tool execution started; data includes `:tool-call-id`, `:tool-name`, optional `:arguments`, `:parent-tool-call-id`, `:mcp-server-name`, `:mcp-tool-name` |
| `:copilot/tool.execution_start` | Tool execution started; data includes `:tool-call-id`, `:tool-name`, optional `:arguments`, `:parent-tool-call-id`, `:mcp-server-name`, `:mcp-tool-name`, `:model` |
| `:copilot/tool.execution_progress` | Tool execution progress update |
| `:copilot/tool.execution_partial_result` | Tool execution partial result |
| `:copilot/tool.execution_complete` | Tool execution completed |
Expand Down
2 changes: 1 addition & 1 deletion schemas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ These files are fetched verbatim from the `@github/copilot` npm package at the v

**Do not edit by hand.** To update, run `bb schemas:fetch` after bumping `.copilot-schema-version`.

Currently pinned version: `1.0.56-1`
Currently pinned version: `1.0.57`
Loading
Loading