Runtime 1.0.106-8.unstable.r43566476370.g869eef3预发布2026-11-14
本次发布的是公开的 unstable 运行时 1.0.106-8.unstable.r43566476370.g869eef3,内容仅包含版本号、对应源码提交(869eef35cdd43467e00d49e3e203bef13719e015)与可见性等元信息,未附带任何功能更新或修复说明。
v1.0.342026-11-14
- Fixed false MCP startup session.error events when quitting or switching sessions cancels in-progress MCP startup; genuine startup failures on live sessions are still reported.
- Fixed session.plugins.list incorrectly reporting user-installed plugins as disabled when an organization requires managed plugins; enabled states now respect user settings unless explicitly overridden.
- Fix taskAnalytics.classifyTrajectory retries rejecting an unchanged archive whose JSON object keys were stored in a different order. Results from earlier versions need one fresh analysis.
- TeamPluginMarketplaceSource in session.plugins.getDefaults includes the Team's ref and path when it sets them.
- Hardened TCP JSON-RPC servers to reject HTTP requests and disconnect clients sending invalid header names; standard SDK clients are unaffected.
- ACP TCP servers now require loopback hosts and disconnect clients sending invalid UTF-8 or non-JSON lines; stdio behavior is unchanged.
- Announced the transition to the Microsoft Copilot SDK.
- Fixed retained Microsoft Entra metadata refresh and Microsoft 365 account projection consistency.
- Fixed session.plugins.retryManaged on the standalone host to retry all or selected required plugins without waiting for the automatic retry pause, activate prepared plugins, and return per-plugin results and errors.
- Add experimental saved-provider inspection, editing, and removal, with explicit session.provider updates for live application.
- Sessionless discovery and inert plugin inventory now honor authenticated Team plugin defaults without changing saved preferences or activating contributions.
- SDK sessions now use the model's preferred context tier when no explicit or saved tier is set; models without a preference retain existing behavior. Claude Haiku 5.5 sessions now default to a 936K prompt budget instead of 100K.
- Defaulting to long context can incur higher token rates without explicit opt-in; billing still depends on actual prompt size.
- Security-review scan tools disclose captured unchanged supporting context and distinguish changed-only, supporting-only, and mixed evidence blobs.
- Fixed supported document attachments in GPT sessions using WebSocket Responses being sent as local file references instead of document contents.
- Reduced peak memory usage and improved performance when forking sessions with large histories through sessions.fork.
- Simplified sessions.fork write-failure messages from "Persistence error: I/O error: ..." to "I/O error: ...".
- Windows SDK networking now enforces Windows certificate distrust even with custom CAs, and excludes distrusted certificates from trust bundles supplied to child processes.
- Windows credential-proxy and affected tunneled HTTPS connections now use native Windows TLS, preserving revocation checks and support for non-exportable system client-certificate keys.
- The native runtime no longer hangs at startup when another process holds its log directory's lock; it starts with process file logging disabled and a stderr warning.
- session.rpc.history.setCompactionConfig({ model }) now applies to sessions using a custom (BYOK) provider: compaction summarizes on another model that provider serves, through the same provider.
- Persisted session.usage_record events no longer store /interactions as the usage apiEndpoint, so runtimes released before that value can resume those sessions, and a usage record whose endpoint the runtime does not know now loads without it instead of failing the resume.
- Fixed indexed search permanently falling back to scan-based search after temporary memory pressure. Sessions now retry within the indexing operation timeout, using scans until indexed search becomes available.
- Enable dynamic workflows for Microsoft 365 accounts without requiring GitHub billing or BYOK configuration.
- Preserve pending external tool requests when an SDK client disconnects during request publication.
- Fix a race where subagent retirement after an external tool response could prevent the parent response from reaching the SDK.
- Fixed plugins.install failing with "Marketplace not found" for an owner/repo:path source whose path contains @; it now installs from that repository path.
- Fix providers.config.updateModel and updateProvider deleting saved capability and Azure settings that providers.config.read does not return.
- Java: Javadoc now shows schema descriptions that contain a less-than sign as written, instead of an invalid input error or a hidden placeholder such as the token in Authorization: Bearer, and the SystemMessageMode.CUSTOMIZE and ToolResultObject.binaryResultsForLlm() references on SectionOverride, SectionOverrideAction, SystemMessageSections and ToolBinaryResult resolve.
- A failed compaction reports the provider's error message in the session.history.compact error and in session.compaction_complete.error, without an internal host-rethrow prefix
- BYOK providers on the WebSockets transport now run apiKeyCommand and bearerTokenProvider once per model request instead of twice.
- Session AI credit limits now count the credits a session used before it was resumed, so a resumed session can no longer spend its full limit again.
- Gemini models on the Interactions API stream a blank line between thought summaries in assistant.reasoning_delta, as the reasoning text of the same response has with streaming off
- Fix in-process hosts ignoring COPILOTDISABLEKEYTAR from their isolated environment.
- Node.js and Python: a relative CLI path (explicit path or COPILOTCLIPATH) is now checked in the client's working directory, where the runtime starts, instead of the process's current directory.
- Python: CopilotClient.force_stop() on a TCP or URI connection no longer logs "Failed to parse incoming JSON-RPC message" with a traceback when a message was arriving as the connection closed.
- Assisted permissions keep using the judge after a person approves an action too long for the judge to review, instead of falling back to manual prompts for the rest of the session.
- Improved assisted permission checks in delegated sessions to distinguish agent claims from user authorization and better honor quoted user stop, pause, cancellation, and scope limits.
- Fixed session listing with an empty filter to return the same sessions as an unfiltered call, including local sessions with no recorded working directory.
- sessions.enrichMetadata now reports isDetached: true for a detached session that a sessions.list call with metadataLimit returned as not detached.
- A sub-agent's client-tool call is now recorded as completed in the session history, and its external_tool.completed event carries the sub-agent's agentId like its request.
- session.create and session.resume now report a model id the model list does not offer as not available when a reasoningEffort is also given, instead of as an unsupported reasoning effort.
- Fixed an issue where an enabled plugin in a local directory marketplace whose source points to a file prevented all MCP servers from starting. The invalid plugin is now skipped with a warning identifying the plugin and path.
- Fixed an issue where cancelling a finished sub-agent with session.tasks.cancel could leave the parent's session.idle event missing and sendAndWait pending after its background shells stopped.
- API docs no longer name the nonexistent methods hooks.loadResources, user.settings.load, user.settings.governanceKeys and user.settings.unknownKeys or the nonexistent event session.contextinfochanged; they name hooks.discover, user.settings.loadWithWarning, user.settings.listGovernanceKeys, user.settings.getUnknownKeysWarning and session.usage_info.
- Fixed intention summaries for structured ask_user calls to show the question message instead of "Waiting for response"; legacy call summaries are unchanged.
- Session events: session.permission_recovery attempts can carry an optional reviewIncomplete flag fo
v1.0.34-preview.0预发布2026-11-14
- Fixed false MCP startup session.error events when quitting or switching sessions cancels in-progress MCP startup; genuine startup failures on live sessions are still reported.
- Fixed session.plugins.list incorrectly reporting user-installed plugins as disabled when an organization requires managed plugins; enabled states now respect user settings unless explicitly overridden.
- Fix taskAnalytics.classifyTrajectory retries rejecting an unchanged archive whose JSON object keys were stored in a different order. Results from earlier versions need one fresh analysis.
- TeamPluginMarketplaceSource in session.plugins.getDefaults includes the Team's ref and path when it sets them.
- Hardened TCP JSON-RPC servers to reject HTTP requests and disconnect clients sending invalid header names; standard SDK clients are unaffected.
- ACP TCP servers now require loopback hosts and disconnect clients sending invalid UTF-8 or non-JSON lines; stdio behavior is unchanged.
- Announced the transition to the Microsoft Copilot SDK.
- Fixed retained Microsoft Entra metadata refresh and Microsoft 365 account projection consistency.
- Fixed session.plugins.retryManaged on the standalone host to retry all or selected required plugins without waiting for the automatic retry pause, activate prepared plugins, and return per-plugin results and errors.
- Add experimental saved-provider inspection, editing, and removal, with explicit session.provider updates for live application.
- Sessionless discovery and inert plugin inventory now honor authenticated Team plugin defaults without changing saved preferences or activating contributions.
- SDK sessions now use the model's preferred context tier when no explicit or saved tier is set; models without a preference retain existing behavior. Claude Haiku 5.5 sessions now default to a 936K prompt budget instead of 100K.
- Defaulting to long context can incur higher token rates without explicit opt-in; billing still depends on actual prompt size.
- Security-review scan tools disclose captured unchanged supporting context and distinguish changed-only, supporting-only, and mixed evidence blobs.
- Fixed supported document attachments in GPT sessions using WebSocket Responses being sent as local file references instead of document contents.
- Reduced peak memory usage and improved performance when forking sessions with large histories through sessions.fork.
- Simplified sessions.fork write-failure messages from "Persistence error: I/O error: ..." to "I/O error: ...".
- Windows SDK networking now enforces Windows certificate distrust even with custom CAs, and excludes distrusted certificates from trust bundles supplied to child processes.
- Windows credential-proxy and affected tunneled HTTPS connections now use native Windows TLS, preserving revocation checks and support for non-exportable system client-certificate keys.
- The native runtime no longer hangs at startup when another process holds its log directory's lock; it starts with process file logging disabled and a stderr warning.
- session.rpc.history.setCompactionConfig({ model }) now applies to sessions using a custom (BYOK) provider: compaction summarizes on another model that provider serves, through the same provider.
- Persisted session.usage_record events no longer store /interactions as the usage apiEndpoint, so runtimes released before that value can resume those sessions, and a usage record whose endpoint the runtime does not know now loads without it instead of failing the resume.
- Fixed indexed search permanently falling back to scan-based search after temporary memory pressure. Sessions now retry within the indexing operation timeout, using scans until indexed search becomes available.
- Enable dynamic workflows for Microsoft 365 accounts without requiring GitHub billing or BYOK configuration.
- Preserve pending external tool requests when an SDK client disconnects during request publication.
- Fix a race where subagent retirement after an external tool response could prevent the parent response from reaching the SDK.
- Fixed plugins.install failing with "Marketplace not found" for an owner/repo:path source whose path contains @; it now installs from that repository path.
- Fix providers.config.updateModel and updateProvider deleting saved capability and Azure settings that providers.config.read does not return.
- Java: Javadoc now shows schema descriptions that contain a less-than sign as written, instead of an invalid input error or a hidden placeholder such as the token in Authorization: Bearer, and the SystemMessageMode.CUSTOMIZE and ToolResultObject.binaryResultsForLlm() references on SectionOverride, SectionOverrideAction, SystemMessageSections and ToolBinaryResult resolve.
- A failed compaction reports the provider's error message in the session.history.compact error and in session.compaction_complete.error, without an internal host-rethrow prefix
- BYOK providers on the WebSockets transport now run apiKeyCommand and bearerTokenProvider once per model request instead of twice.
- Session AI credit limits now count the credits a session used before it was resumed, so a resumed session can no longer spend its full limit again.
- Gemini models on the Interactions API stream a blank line between thought summaries in assistant.reasoning_delta, as the reasoning text of the same response has with streaming off
- Fix in-process hosts ignoring COPILOTDISABLEKEYTAR from their isolated environment.
- Node.js and Python: a relative CLI path (explicit path or COPILOTCLIPATH) is now checked in the client's working directory, where the runtime starts, instead of the process's current directory.
- Python: CopilotClient.force_stop() on a TCP or URI connection no longer logs "Failed to parse incoming JSON-RPC message" with a traceback when a message was arriving as the connection closed.
- Assisted permissions keep using the judge after a person approves an action too long for the judge to review, instead of falling back to manual prompts for the rest of the session.
- Improved assisted permission checks in delegated sessions to distinguish agent claims from user authorization and better honor quoted user stop, pause, cancellation, and scope limits.
- Fixed session listing with an empty filter to return the same sessions as an unfiltered call, including local sessions with no recorded working directory.
- sessions.enrichMetadata now reports isDetached: true for a detached session that a sessions.list call with metadataLimit returned as not detached.
- A sub-agent's client-tool call is now recorded as completed in the session history, and its external_tool.completed event carries the sub-agent's agentId like its request.
- session.create and session.resume now report a model id the model list does not offer as not available when a reasoningEffort is also given, instead of as an unsupported reasoning effort.
- Fixed an issue where an enabled plugin in a local directory marketplace whose source points to a file prevented all MCP servers from starting. The invalid plugin is now skipped with a warning identifying the plugin and path.
- Fixed an issue where cancelling a finished sub-agent with session.tasks.cancel could leave the parent's session.idle event missing and sendAndWait pending after its background shells stopped.
- API docs no longer name the nonexistent methods hooks.loadResources, user.settings.load, user.settings.governanceKeys and user.settings.unknownKeys or the nonexistent event session.contextinfochanged; they name hooks.discover, user.settings.loadWithWarning, user.settings.listGovernanceKeys, user.settings.getUnknownKeysWarning and session.usage_info.
- Fixed intention summaries for structured ask_user calls to show the question message instead of "Waiting for response"; legacy call summaries are unchanged.
- Session events: session.permission_recovery attempts can carry an optional reviewIncomplete flag fo
v1.0.332026-11-13
新增:SDK 各语言补齐源技能(source skill)的安装与卸载 API;Dynamic Workflows 支持非阻塞准入、工作流级自定义代理及逐代理超时。
改进:/usage 与 account.getQuota 改从 Copilot 用户刷新配额,用量更准;窄终端下活动图不再折行。受管 Shell(...)、Bash(...)、PowerShell(...) 规则的参数现支持 /pattern/flags 正则写法,非法正则、超时或无法按 JS 方式匹配的忽略大小写模式按匹配处理,非法写法则回退为字面量并给出 managedSettings.validate 警告。工作区 MCP 的相对 cwd 改为相对配置文件所在目录启动。
修复:Go 的 Ping、ResumeSession 等不再与并发 Start 竞态;Node.js 断线后 start() 会先结束旧运行时进程;SessionFs 提交后误报 postCommitAmbiguous 不再让 session.workflow.run 失败;沙箱修正带盘符的 PATH 条目导致的越权读取;shell 停止原因如实上报,不再一律记成 stop_bash。
Runtime 1.0.106-8.unstable.r43360710077.gff3c476预发布2026-11-13
本次发布为 Public unstable 运行时 1.0.106-8.unstable.r43360710077.gff3c476,仅更新版本信息,无实质性功能或修复内容。
v1.0.33-preview.0预发布2026-11-13
- Fixed a CLI issue where the /usage activity graph wrapped in narrow terminals; it now fits correctly.
- The permission_prompt notification hook no longer runs for a permission request that Assisted Permissions approves without asking.
- Fix .NET shell authentication cancellation cleanup callbacks being lost when a request finishes before queued notifications run.
- Node.js: start() after a lost TCP connection now terminates the runtime process the client spawned before starting a new one, so stop() no longer leaves the old runtime running.
- session.workflow.run no longer fails when a SessionFs SQLite provider commits the run but reports postCommitAmbiguous; the committed run starts.
- .NET: ListSessionsAsync now applies SessionListFilter.WorkingDirectory instead of returning sessions from every directory.
- Improved quota accuracy by refreshing plan quota from the Copilot user in /usage and account.getQuota.
- Fixed a runtime stability issue where the SDK host could abort if its standard error stream was closed.
- Marketplace browse results include managedDesiredEnabled for plugins controlled by managed settings; installing a plugin blocked by managed settings is refused with error data code managedpolicyblocked.
- Go: Ping, GetStatus, GetAuthStatus, ListModels and RuntimePort no longer data-race a concurrent Start, Stop or ForceStop; during Start the first four wait for it to finish.
- Managed Shell(...), Bash(...), and PowerShell(...) permission rules accept JavaScript regular expressions written as /pattern/flags, including patterns that contain ). A regular expression that runs longer than 1 second, cannot start within 1 second because too many others are running, or ignores case in a way that cannot be matched as JavaScript matches it counts as a match for deny and ask rules and does not approve the command for allow rules.
- Behavior change: a managed shell rule argument written as /pattern/flags is now a regular expression, except a command path such as Shell(/usr/bin/id) or an invalid regular expression, which are read as literal text and get a managedSettings.validate warning.
- Add source skill install and removal APIs across all SDK languages.
- .NET: A call that waits for another caller's StartAsync to finish now stops when its own CancellationToken is cancelled.
- Plugin list entries now include team: true when the signed-in account's GitHub Team assigns the plugin.
- Add non-blocking workflow admission, workflow-scoped custom agents, and per-agent deadlines to Dynamic Workflows.
- Fixed shell tool results and telemetry to report when attached shells were stopped by session.abort(), agent termination, sandbox changes, or provider policy stops instead of incorrectly attributing them to stop_bash. Shell termination behavior is unchanged.
- Go: ResumeSession and DeleteSession no longer race a concurrent Start under the Go race detector.
- Sandboxed local MCP initialization errors now identify the refused filesystem operation when a Node server crashes with its default stack trace.
- Report enterprise MCP policy blocks instead of intentional server stops for MCP App requests.
- Workspace MCP servers (.mcp.json, .github/mcp.json) with a relative cwd now start in that path under the directory holding the config file, instead of under the process working directory.
- session.mcp.getToolTokenBreakdown and session.tools.getCurrentMetadata now report tools that generic client tool search left out of the last request as deferred, instead of counting them as sent in full.
- Fixed Windows sandbox path handling to prevent PATH and tool environment entries with drive-like components from granting unintended read access to drive roots or session-directory ancestors.
- Steered messages sent with mode immediate now include hasSubmittedTask on their user.message event, like other new user messages.
- Node.js: start() called after the runtime exited now starts a new runtime right away, even when a process the runtime started still holds its output open, instead of returning while the client stays on the exited runtime.
- Java, Python, and Rust now honor COPILOTCLIPATH without silently substituting another runtime when the selected installation is invalid.
- Go: Client.Start called after the runtime exited now starts a new runtime even when the old connection has not finished closing, instead of returning nil and leaving the client on the exited runtime.
- Python: start() called after a request failed because the connection to the runtime was lost now starts a new connection instead of returning while the client is still on the closed one.
- session.history.rewind now works on sessions stored through a session filesystem provider, and on sessions created with configDirectory; it used to fail with truncation-failed.
- Model-switch messages and compaction confirmations now display preview and hidden models as “Hidden Model N” when streamer mode is enabled.
- excludedTools that is not an array of strings is now rejected with an error instead of making every subagent of the session fail.
- Node.js: stop() and forceStop() called while start() is still connecting over TCP now end that connect right away, so start() rejects and stop() returns at once instead of waiting up to 10 seconds for the connect timeout.
- .NET: CopilotClient.RuntimePort returns null after StopAsync, ForceStopAsync or a failed StartAsync of a runtime the client started, instead of the stopped runtime's port. A client of an external runtime keeps its configured port.
- Added experimental sessions.hasEvents and shell.buildInteractiveEnvironment methods across all six SDKs, with Node.js payload types available from the package root.
- Java RPC diagnostics now redact hostEnvironment and returned environment fields without changing request or response contents.
- Generated Rust Debug, Python repr, and Java toString omit interactive-shell environment maps without changing wire values.
- Fixed late cancellation of a completed user-requested shell command incorrectly aborting the next command that reuses its request ID.
- Fixed excessive memory use in session.workspaces.diff for large untracked files; oversized files remain marked as truncated.
- Workspace diffs now show untracked symlinks by their target path without opening the target, avoiding hangs and unintended reads outside the repository.
- Workspace diffs now preserve executable permissions in diff headers for untracked files.
- Go and Python: Start/start() called after the stdio runtime exited now starts a new runtime, even when a process the runtime started still holds its output open, instead of returning while the client stays on the exited runtime.
- Node.js, Python: ping, getStatus, getAuthStatus and listModels called while start() is running now wait for it and then use the new connection, or fail with the start's error, instead of failing with Client not connected or sending their request before the connection handshake.
- .NET and Java: StartAsync()/start() after the runtime process exits now starts a new runtime instead of succeeding on the dead connection.
- .NET: StartServerAsync, RestartServerAsync and Config.AddAsync/UpdateAsync accept McpStdioServerConfig and McpHttpServerConfig with unset optional fields again, instead of failing with timeout: Expected integer.
- Go: Client.RuntimePort returns 0 after a Start that fails and stops the runtime the client started, instead of that runtime's port. A URIConnection client keeps its configured port.
- Fixed userPromptSubmitted hooks so additionalContext from every hook, including extensions that join a session, reaches the model in run order instead of only the last hook's.
- Built-in CLI documentation now includes --allow-tool rule examples, clarifies that rules apply only to the current run, and points to the full permission syntax
v1.0.322026-11-13
新增:SDK 引入 shell 认证处理器,可代为应答 sudo、SSH、Git 密码提示,答案只回传给提问的程序;新增 Gemini 4 Carbon 模型元数据,默认 medium 推理强度;SDK 接受 Copilot Fusion 命名,提供 fusionTier(standard/high/max)与 setFusionTier;新增 JSON-RPC HTTP API,支持文本、流式与调用方持有文件三种响应模式;session.options.update 现可应用 capi.enableWebSocketResponses,直播会话得以切换到 HTTP Responses 传输。
修复:托管账号变更不再在扩展重启重入会话时卡住;会话以 disconnect、deleteSession 或 client stop 结束时,会顺带清理未 detach 的后台 shell;MCP 侧修掉几处毛病——连接尚未完成时会话关闭不再引发服务器重启,mcp.config.remove 能删掉校验失败的条目,禁用服务器的工具也不会再出现在模型请求后的元数据里;相对路径 cwd(session.shell.exec、session.metadata 与 session.lsp 各方法)改以会话工作目录为基准;/every、/after 的自然语言时间提示不再丢换行与缩进;同步 bash 调用若被沙箱配置变更终止,会给出明确错误而非假装成功。
改进:AI 积分限额改为每次工具调用后展示美元消耗计量,用量达 90% 即提示充值,而非逐次倒数;取消动态工作流统一标记为 cancelled;自定义 agent 不再因 availableTools 与 `excluded
Runtime 1.0.106-8.unstable.r43162459260.gbfc9f50预发布2026-11-12
这是运行时 1.0.106-8.unstable.r43162459260.gbfc9f50 的公开不稳定版本,仅发布了版本号、源码提交哈希 bfc9f50e0f77fb2198cda890534aebf5b27ec396 及公开可见性等元信息,未附带任何更新内容说明。
v1.0.32-preview.3预发布2026-11-12
本次修复解决了 .NET、Python、Java 三种语言的 AHP 宿主在远程会话创建时被拒绝的问题。此前,只要宿主策略设置了 skipCustomInstructions、coauthorEnabled 或 manageScheduleEnabled,远程会话就会创建失败;现在这三种策略不再导致拒绝,相关环境可以正常发起远程会话。
v1.0.32-preview.2预发布2026-11-12
这版重点是补 API 与事件规范:新增 JSON-RPC HTTP 接口,含文本、流式、调用方自持文件三种响应模式;network 客户端加入实验性 authenticateBasic 回调,代理要求 Basic 认证时可提供凭据;BYOK 提供商接受 type: "google",改走 Google 原生 Gemini Interactions API,会话用量与调用失败事件也把 /interactions 作为上报端点。
修复方面,MCP 客户端归属改用调用方身份并在重连时刷新;skill.invoked、web_fetch 权限请求等不再发送 null 占位字段,与 session events schema 对齐;fetch 超时归为 timeout 而非 request;postToolUse 钩子返回 textResultForLlm 时同步改写 detailedContent,脱敏才能真正到达客户端展示。truncate 不再让恢复记录回写日志;disabledMcpServers 等配置项遇到非字符串直接报错;工具调用等授权期间若被移除,以工具不可用结束而非挂起。插件文件缺失时改为告警并继续启动其余扩展。Go 再次 Start 会清理旧连接的会话,Java SDK 的 Jackson 升至 2.23。