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.44-2
1.0.46
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,57 @@ All notable changes to this project will be documented in this file. This change

## [Unreleased]

### Added (post-v1.0.0-beta.3 CLI sync)
- **Schema bump** — `.copilot-schema-version` advanced from `1.0.44-2` to
`1.0.46` (current `latest` on npm). Generated wire specs and coercions
regenerated.
- **Extension permission kinds** — `::permission-kind` accepts the new
upstream values `:extension-management` and `:extension-permission-access`,
emitted by the CLI for extension lifecycle and capability-access prompts.
(upstream PR #1239, CLI 1.0.44-3)
- **`:detached-from-spawning-parent-session-id` on `session.start` events** —
when a session continues another session's context (e.g., a detached
headless rem-agent run launched on the parent's interactive shutdown),
`session.start` now exposes the spawning parent's session id. Telemetry
from such sessions is reported under the parent's `session_id`.
Accepted by both the regenerated wire spec and the hand-curated
`::specs/session.start-data`. (upstream PR #1239, CLI 1.0.44-3)
- **Anthropic advisor block fields on `assistant.message`** —
`::assistant.message-data` now accepts the optional `:anthropic-advisor-blocks`
(raw Anthropic content array with advisor blocks, for verbatim replay),
`:anthropic-advisor-model`, and `:model` (model that produced the response,
when known). The regenerated wire spec already exposed these; the
hand-curated idiom spec now mirrors them. (upstream PR #1263, CLI 1.0.45)
- **`:model-picker-category` / `:model-picker-price-category` on `list-models`** —
the regenerated `Model` shape carries upstream's new model-picker
categorization fields (`"lightweight" | "versatile" | "powerful"` and
`"low" | "medium" | "high" | "very_high"`). `parse-model-info` now
surfaces both as idiomatic strings (open enum) on each entry returned by
`copilot/list-models`. (upstream PR #1270, CLI 1.0.46)
- **`session/respond-to-queued-command!` (experimental)** — wraps the new
`session.commands.respondToQueuedCommand` RPC for acknowledging
`:copilot/command.queued` events. Accepts
`{:request-id ... :handled? true/false :stop-processing-queue? bool?}` and
forwards the wire shape
`{:requestId ..., :result {:handled bool, :stopProcessingQueue bool?}}`.
Marked experimental, mirroring upstream's exposure of this only via the
generated low-level RPC. (upstream PR #1263, CLI 1.0.45)

### Tracked-but-not-ported (post-v1.0.0-beta.3 CLI sync)
- **`session.tasks.sendMessage` (experimental)** — the upstream Tasks API
(`session.tasks.*`) is intentionally not surfaced in the Clojure SDK
yet; the new `sendMessage` RPC is tracked here for a future port.
(upstream PR #1239, CLI 1.0.44-3)
- **`UserToolSessionApproval` extension kinds** — upstream adds
`extension-management` and `extension-permission-access` to the
`UserToolSessionApproval` discriminated union. The Clojure idiom spec
for `::approval` is intentionally broad (`map?`), so these payloads pass
through unchanged; only the wire-side discriminator changed.
(upstream PR #1263, CLI 1.0.45)
- **`WorkspacesGetWorkspaceResult.session_sync_level` removal** — upstream
dropped this field. The Clojure SDK never surfaced it; no change needed.
(upstream PR #1239, CLI 1.0.44-3)

## [1.0.0-beta.3.0] - 2026-05-12
### Changed (release tooling)
- **Version scheme — Maven qualifier support.** The release workflow,
Expand Down
26 changes: 26 additions & 0 deletions doc/reference/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,9 @@ Requires authentication (unless `:on-list-models` is provided). Returns a vector
:model-policy {:policy-state "enabled"
:terms "..."}
:model-billing {:multiplier 1.0}
;; Model picker categorization (CLI 1.0.46+):
:model-picker-category "powerful" ;; "lightweight" | "versatile" | "powerful"
:model-picker-price-category "very_high" ;; "low" | "medium" | "high" | "very_high"
;; For models supporting reasoning:
:supported-reasoning-efforts ["low" "medium" "high" "xhigh"]
:default-reasoning-effort "medium"}
Expand Down Expand Up @@ -1014,6 +1017,29 @@ Get the client that owns this session.
| `session/skills-disable!` | Disable a skill by name. |
| `session/skills-reload!` | Reload all skills. |

**Queued commands**

The CLI emits `:copilot/command.queued` events when a slash-command is
dispatched for client-side execution. Each event carries a `:request-id`
and `:command`. Clients respond via `respond-to-queued-command!`:

```clojure
;; Inside an event handler that observes :copilot/command.queued
(session/respond-to-queued-command! session
{:request-id (:request-id event-data)
:handled? true
:stop-processing-queue? false})

;; Or, to let the CLI fall back to default handling:
(session/respond-to-queued-command! session
{:request-id (:request-id event-data)
:handled? false})
```

| Function | Description |
|----------|-------------|
| `session/respond-to-queued-command!` | Acknowledge a `command.queued` event (experimental). |

**MCP Servers**

| Function | Description |
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.44-2`
Currently pinned version: `1.0.46`
Loading
Loading