v1.0.7-preview.1
Pre-releaseFeature: in-process (FFI) transport for the Node.js SDK
The Node.js SDK now supports an experimental in-process transport that hosts the Copilot runtime as a native library via FFI (using [koffi]((koffi.dev/redacted), instead of spawning a child process. This reduces process overhead and eliminates the need for a separate CLI installation when using a bundled native runtime. (#1953)
const connection = RuntimeConnection.forInProcess("/path/to/libcopilot-runtime.so");
const client = new CopilotClient({ runtimeConnection: connection });Feature: canvasProvider field on session config
All SDKs (Node.js, .NET, Go, Python, Rust) now support an optional canvasProvider field on session create and resume config. This lets host connections supply a stable canvas-provider identity so host-provided canvases restore correctly across cold resume. (#1847)
- TypeScript:
canvasProvider: { id: "app:builtin:my-host", name: "My Host" } - C#:
CanvasProvider = new CanvasProviderIdentity { Id = "app:builtin:my-host" } - Python:
canvas_provider=CanvasProviderIdentity(id="app:builtin:my-host") - Go:
CanvasProvider: &CanvasProviderIdentity{Id: "app:builtin:my-host"}
Feature: agent metadata in request handler contexts
Request handler callbacks across all SDKs (Node.js, Python, Go, .NET, Rust, Java) now expose agentId, parentAgentId, and interactionType from LLM inference request-start frames. This lets BYOK/CAPI request handlers identify which agent is making the inference request, and whether it is a subagent call. (#1949)
Other changes
- bugfix: [.NET] fix request-handler forwarding so GET/HEAD requests do not receive an empty content body (#1949)
Generated by Release Changelog Generator · sonnet46 498.2K