Skip to content

v1.0.17-preview.3

Pre-release
Pre-release

Choose a tag to compare

Feature: replace session tools mid-session (experimental)

A live session's client-supplied tools and handlers can now be replaced in a single call without recreating the session. Built-in, MCP, and plugin tools are unaffected; pass an empty list to remove all of this client's tools. (ef04633)

  • TypeScript: await session.setTools([tool])
  • C#: await session.SetToolsAsync(tools)
  • Python: await session.set_tools([tool])
  • Go: session.SetTools(ctx, tools)
  • Java: session.setTools(tools).get()
  • Rust: session.set_tools([tool]).await?

Other changes

  • improvement: update the bundled Copilot CLI version to 1.0.92-3 and regenerate RPC and session event types across all SDKs (ef04633)

Warning

Firewall blocked 2 domains

The following domains were blocked by the firewall during workflow execution:

  • api.github.com
  • github.com

[!TIP]
api.github.com is blocked because GitHub API access uses the built-in GitHub tools by default. Instead of adding api.github.com to network.allowed, use tools.github.mode: gh-proxy for direct pre-authenticated GitHub CLI access without requiring network access to api.github.com:

tools:
  github:
    mode: gh-proxy

See GitHub Tools for more information on gh-proxy mode.

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "api.github.com"
    - "github.com"

See Network Configuration for more information.

Generated by Release Notes Generator · copilot · auto · 26.9 AIC · ⌖ 5.65 AIC · ⊞ 10.4K