Ccopilot-cli-release-app[bot]Update SDK snapshot for Copilot CLI 1.0.104-4
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Update SDK snapshot for Copilot CLI 1.0.92-4 | 23 天前 | |
Add in-process (FFI) transport to the Go SDK (#1976) | 3 个月前 | |
Update SDK snapshot for Copilot CLI 1.0.103-0 | 5 天前 | |
Update SDK snapshot for Copilot CLI 1.0.104-4 | 21 小时前 | |
Update SDK snapshot for Copilot CLI 1.0.88-2 | 1 个月前 | |
Moving files into the correct locations (#84) * Moving files into the correct locations * Fixing paths from move | 8 个月前 | |
Moving files into the correct locations (#84) * Moving files into the correct locations * Fixing paths from move | 8 个月前 | |
Update SDK snapshot for Copilot CLI 1.0.103-0 | 5 天前 | |
Update SDK snapshot for Copilot CLI 1.0.92-4 | 23 天前 | |
Update @github/copilot to 1.0.65 (#1793) * Update @github/copilot to 1.0.65 - Updated nodejs and test harness dependencies - Re-ran code generators - Formatted generated code * Fix SDK code for 1.0.65 canvas API changes CLI 1.0.65 removed the canvas 'availability' and 'reopen' fields (and the CanvasInstanceAvailability/CanvasOpenedAvailability enums) and added a 'capi' field to SessionOptionsUpdateParams. Update hand-written SDK source and unit tests across all languages to match the regenerated types. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Reformat canvas-opened validation for ruff (line-length 100) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix Rust/Python tests for 1.0.65 MCP OAuth API changes - Rust: McpOauthLoginRequest gained optional client_id, client_secret, grant_type and public_client fields; add them to the e2e literals. - Python: the per-surface grant-type enums were consolidated into MCPGrantType; update test_rpc_mcp_config_e2e to use it. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Reformat canvas snapshot test for Spotless after constructor arity change Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Stephen Toub <stoub@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> | 4 个月前 | |
Update SDK snapshot for Copilot CLI 1.0.104-0 | 4 天前 | |
Update SDK snapshot for Copilot CLI 1.0.90-0 | 28 天前 | |
Update SDK snapshot for Copilot CLI 1.0.104-0 | 4 天前 | |
Update SDK snapshot for Copilot CLI 1.0.92-0 | 25 天前 | |
Update SDK snapshot for Copilot CLI 1.0.99-0 | 12 天前 | |
Update SDK snapshot for Copilot CLI 1.0.99-0 | 12 天前 | |
Update SDK snapshot for Copilot CLI 1.0.97-0 | 14 天前 | |
Update @github/copilot to 1.0.71-2 (#1990) * Update @github/copilot to 1.0.71-2 - Updated nodejs and test harness dependencies - Re-ran code generators - Formatted generated code * Address generated SDK review feedback Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 217cbb68-9e90-4cf7-a02a-45e93f6938dd --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Stephen Toub <stoub@microsoft.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> | 3 个月前 | |
Consolidate Go initialism casing (#1527) * Consolidate Go initialism casing * replace UriConnection for URIConnection * replace TcpConnection for TCPConnection * Update docs for Go initialism casing * Remove Go GitHub casing overrides | 4 个月前 | |
Update SDK snapshot for Copilot CLI 1.0.89-3 | 1 个月前 | |
Update SDK snapshot for Copilot CLI 1.0.89-3 | 1 个月前 | |
Update SDK snapshot for Copilot CLI 1.0.103-0 | 5 天前 | |
Add session-scoped GitHub token providers (#2412) * Add session GitHub token providers Expose lifecycle-safe GitHub credential callbacks across all six SDKs, with idiomatic APIs, tagged results, tests, and documentation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: a447a8bc-8687-47ea-a545-4370979e8128 * Clarify GitHub token provider lifecycle Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: a447a8bc-8687-47ea-a545-4370979e8128 * Fix GitHub token provider cleanup Release session-owned provider registrations after successful session deletion and treat empty static .NET tokens as configured for mutual-exclusion validation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: a447a8bc-8687-47ea-a545-4370979e8128 * Fix Rust import formatting Order the new GitHub token re-export according to the nightly rustfmt configuration used by CI. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: a447a8bc-8687-47ea-a545-4370979e8128 --------- Copilot-Session: a447a8bc-8687-47ea-a545-4370979e8128 | 1 个月前 | |
Use session detach for SDK cleanup (#2307) Add real-runtime cold resume coverage across SDKs so disconnect preserves persisted sessions across client/runtime restart. Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> | 1 个月前 | |
Add in-process (FFI) transport to the Go SDK (#1976) | 3 个月前 | |
Add in-process (FFI) transport to the Go SDK (#1976) | 3 个月前 | |
Update SDK snapshot for Copilot CLI 1.0.98-1 | 13 天前 | |
Update SDK snapshot for Copilot CLI 1.0.104-0 | 4 天前 | |
Update SDK snapshot for Copilot CLI 1.0.103-0 | 5 天前 | |
Update SDK snapshot for Copilot CLI 1.0.104-0 | 4 天前 | |
Update SDK snapshot for Copilot CLI 1.0.101-0 | 7 天前 | |
Coalesce intercepted HTTP response chunks (#2734) * Coalesce intercepted HTTP response chunks Add bounded 32 KiB read-ahead across Node.js, Python, Go, .NET, and Java while preserving byte ordering, cancellation, and a single outstanding data RPC. Add protocol-level coverage for backpressure, cancellation, connection loss, and upstream errors. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix scenario event test concurrency Synchronize the resumed session event list while callbacks and assertions access it to avoid collection-modified failures in the Windows E2E matrix. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix response forwarding lifecycle edge cases Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Explain expected response reader exceptions Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Resolve .NET merge-build duplication Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> | 1 个月前 | |
Update SDK snapshot for Copilot CLI 1.0.103-0 | 5 天前 | |
Update SDK snapshot for Copilot CLI 1.0.102-0 | 6 天前 | |
Launch managed SDK servers through the Rust runtime wrapper (#2395) * Integrate out-of-process Rust runtime wrapper Stage and launch copilot-runtime beside runtime.node across all SDKs, with an opt-in local runtime-worktree override until published packages include the wrapper. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Validate runtime wrapper across SDK harnesses Route out-of-process E2E harnesses through the local runtime override while preserving the residual CLI for in-process execution. Keep Java bundled residual injection intact and surface Python fast-exit diagnostics reliably. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Use residual CLI for Python FFI test Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Honor per-client runtime environment in .NET Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Handle Rust session requests during creation Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Skip Go telemetry callback test in-process Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Add legacy CLI launch escape hatch Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Remove residual Node runtime compatibility Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Remove COPILOT_RUNTIME_PATH override Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * fix(rust): materialize runtime launch contract Ensure managed wrapper launches materialize and hand off the compatible host, and expose the same launch descriptor for health checks and intermediate launchers. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Remove residual runtime host contract Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 2455380f-4747-4900-89ca-93b30399de03 * fix(rust): materialize sibling CLI host Extract the bundled CLI beside copilot-runtime and runtime.node so managed and intermediate launches retain compatibility through the wrapper's sibling fallback. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * fix(rust): create runtime install directory Ensure a clean bundled runtime cache can publish runtime.node, the wrapper, and sibling CLI before any artifact path exists. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Complete managed runtime bundle materialization Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Remove managed SEA staging for hostless runtime Keep the root CLI artifact bundled for direct and in-process use, while managed out-of-process caches materialize only copilot-runtime and runtime.node. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Stage auxiliary runtime assets from npm packages Preserve unknown package assets by default while filtering known CLI-only content in each SDK's existing staging path. Keep wrapper companions adjacent, migrate caches safely, and retain executable metadata for external runtime tools. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Exclude runtime package documentation from staging Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Finalize runtime wrapper integration after rebase Preserve the explicit .NET single-binary override, refresh stale Rust runtime bundles safely, and document the Python npm registry override. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Use executable cache for Node runtime wrapper Stage the managed wrapper under the platform user cache instead of the temporary directory so noexec temp mounts do not prevent startup. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Temporarily skip extension-host E2E coverage Document PR #2395 and the Rust-only out-of-process transition on Node extension-authored factory coverage, the real-host extension environment test, and .NET extension lifecycle tests. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Address runtime wrapper review feedback Match the successful grep completion to the grep tool invocation and document Java's bundled runtime-wrapper default. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Stop resolving SEA for in-process hosting Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Keep default runtime bundles SEA-free Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Fix cross-platform runtime integration tests Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Fix runtime CI harness portability Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Relax closed-stream startup assertion Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Fix failed-start runtime test handling Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Format Python runtime test setup Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Clean up failed Node runtime startup Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Fix Java token provider sample Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Fix runtime integration CI checks Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Make Java relative path test drive-safe Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Use generated logging for permission failures Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Suppress Node pipe writes after runtime exit Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Preserve Node startup transport errors Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Add Rust extension launch provider Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Clarify extension launch environment Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: efc29e35-611b-46d8-9b8b-e1912d2eccf4 * test(rust): cover runtime extension lifecycle Add a real-wrapper regression that exercises typed provider dispatch, extension registration, tool invocation, disable/re-enable, environment ownership, and process teardown. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * fix(java): honor runtime path environment override Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * test(node): skip host-dependent ask user metadata Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * fix(node): preserve startup stderr after pipe errors Wait for the child close event before selecting startup diagnostics so early EPIPE failures do not hide the runtime's actionable stderr output. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * refactor(node): separate exit and diagnostic waits Keep startup RPCs fail-fast on process exit while using child close only to collect fully drained stderr after an early pipe error. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * test(node): preserve ask user metadata coverage Run the Node-hosted metadata assertion through the harness's explicit legacy CLI path instead of disabling it for managed hostless connections. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 * refactor(node): simplify startup failure handling Keep startup teardown fail-fast and verify startup failures without waiting separately for diagnostic stream closure. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 * style(node): format startup failure test Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 * test(python): set plan mode before handler test Await the explicit mode transition before sending the replayed prompt so exit_plan_mode is deterministically available to the model. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 * test: preserve live in-process runtime state Keep isolated runtime home files until the shared in-process client shuts down so later tests never operate on POSIX-unlinked state. Apply the same lifecycle rule to the Node and Python E2E harnesses. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 * test: stabilize transient runtime checks Observe Rust processing state concurrently with message dispatch so fast in-process turns cannot complete before polling starts. Exercise rewind through an edit of a pre-existing file across SDKs, avoiding the runtime's unreliable new-file capture path while preserving file restoration coverage on every platform. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 * Stabilize Rust processing state E2E Hold a replayed custom tool invocation open while asserting the transient processing state, then release it and verify completion. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 * Stabilize Windows .NET E2E coverage Use explicit .NET Framework handling for nondeterministic stdio startup diagnostics and complete a warm-up turn before exercising rewind file tracking across SDKs. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 * test: stabilize rewind and Rust resume E2E Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 * fix: stabilize runtime disconnect races Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Stephen Toub <stoub@microsoft.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 Copilot-Session: 2455380f-4747-4900-89ca-93b30399de03 Copilot-Session: efc29e35-611b-46d8-9b8b-e1912d2eccf4 Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 | 1 个月前 | |
Launch managed SDK servers through the Rust runtime wrapper (#2395) * Integrate out-of-process Rust runtime wrapper Stage and launch copilot-runtime beside runtime.node across all SDKs, with an opt-in local runtime-worktree override until published packages include the wrapper. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Validate runtime wrapper across SDK harnesses Route out-of-process E2E harnesses through the local runtime override while preserving the residual CLI for in-process execution. Keep Java bundled residual injection intact and surface Python fast-exit diagnostics reliably. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Use residual CLI for Python FFI test Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Honor per-client runtime environment in .NET Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Handle Rust session requests during creation Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Skip Go telemetry callback test in-process Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Add legacy CLI launch escape hatch Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Remove residual Node runtime compatibility Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Remove COPILOT_RUNTIME_PATH override Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * fix(rust): materialize runtime launch contract Ensure managed wrapper launches materialize and hand off the compatible host, and expose the same launch descriptor for health checks and intermediate launchers. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Remove residual runtime host contract Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 2455380f-4747-4900-89ca-93b30399de03 * fix(rust): materialize sibling CLI host Extract the bundled CLI beside copilot-runtime and runtime.node so managed and intermediate launches retain compatibility through the wrapper's sibling fallback. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * fix(rust): create runtime install directory Ensure a clean bundled runtime cache can publish runtime.node, the wrapper, and sibling CLI before any artifact path exists. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Complete managed runtime bundle materialization Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Remove managed SEA staging for hostless runtime Keep the root CLI artifact bundled for direct and in-process use, while managed out-of-process caches materialize only copilot-runtime and runtime.node. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Stage auxiliary runtime assets from npm packages Preserve unknown package assets by default while filtering known CLI-only content in each SDK's existing staging path. Keep wrapper companions adjacent, migrate caches safely, and retain executable metadata for external runtime tools. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Exclude runtime package documentation from staging Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Finalize runtime wrapper integration after rebase Preserve the explicit .NET single-binary override, refresh stale Rust runtime bundles safely, and document the Python npm registry override. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Use executable cache for Node runtime wrapper Stage the managed wrapper under the platform user cache instead of the temporary directory so noexec temp mounts do not prevent startup. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Temporarily skip extension-host E2E coverage Document PR #2395 and the Rust-only out-of-process transition on Node extension-authored factory coverage, the real-host extension environment test, and .NET extension lifecycle tests. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Address runtime wrapper review feedback Match the successful grep completion to the grep tool invocation and document Java's bundled runtime-wrapper default. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Stop resolving SEA for in-process hosting Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Keep default runtime bundles SEA-free Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Fix cross-platform runtime integration tests Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Fix runtime CI harness portability Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Relax closed-stream startup assertion Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Fix failed-start runtime test handling Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Format Python runtime test setup Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Clean up failed Node runtime startup Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Fix Java token provider sample Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Fix runtime integration CI checks Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Make Java relative path test drive-safe Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Use generated logging for permission failures Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Suppress Node pipe writes after runtime exit Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Preserve Node startup transport errors Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * Add Rust extension launch provider Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Clarify extension launch environment Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: efc29e35-611b-46d8-9b8b-e1912d2eccf4 * test(rust): cover runtime extension lifecycle Add a real-wrapper regression that exercises typed provider dispatch, extension registration, tool invocation, disable/re-enable, environment ownership, and process teardown. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * fix(java): honor runtime path environment override Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 * test(node): skip host-dependent ask user metadata Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * fix(node): preserve startup stderr after pipe errors Wait for the child close event before selecting startup diagnostics so early EPIPE failures do not hide the runtime's actionable stderr output. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * refactor(node): separate exit and diagnostic waits Keep startup RPCs fail-fast on process exit while using child close only to collect fully drained stderr after an early pipe error. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * test(node): preserve ask user metadata coverage Run the Node-hosted metadata assertion through the harness's explicit legacy CLI path instead of disabling it for managed hostless connections. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 * refactor(node): simplify startup failure handling Keep startup teardown fail-fast and verify startup failures without waiting separately for diagnostic stream closure. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 * style(node): format startup failure test Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 * test(python): set plan mode before handler test Await the explicit mode transition before sending the replayed prompt so exit_plan_mode is deterministically available to the model. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 * test: preserve live in-process runtime state Keep isolated runtime home files until the shared in-process client shuts down so later tests never operate on POSIX-unlinked state. Apply the same lifecycle rule to the Node and Python E2E harnesses. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 * test: stabilize transient runtime checks Observe Rust processing state concurrently with message dispatch so fast in-process turns cannot complete before polling starts. Exercise rewind through an edit of a pre-existing file across SDKs, avoiding the runtime's unreliable new-file capture path while preserving file restoration coverage on every platform. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 * Stabilize Rust processing state E2E Hold a replayed custom tool invocation open while asserting the transient processing state, then release it and verify completion. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 * Stabilize Windows .NET E2E coverage Use explicit .NET Framework handling for nondeterministic stdio startup diagnostics and complete a warm-up turn before exercising rewind file tracking across SDKs. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 * test: stabilize rewind and Rust resume E2E Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 * fix: stabilize runtime disconnect races Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Stephen Toub <stoub@microsoft.com> Copilot-Session: 3f5c3c30-0cf7-4b9a-9a3b-2b01ca073015 Copilot-Session: 2455380f-4747-4900-89ca-93b30399de03 Copilot-Session: efc29e35-611b-46d8-9b8b-e1912d2eccf4 Copilot-Session: b90d19df-b3fa-4539-b921-8b301028da11 | 1 个月前 | |
Update SDK snapshot for Copilot CLI 1.0.89-6 | 29 天前 | |
Update SDK snapshot for Copilot CLI 1.0.89-6 | 29 天前 | |
Update SDK snapshot for Copilot CLI 1.0.103-0 | 5 天前 | |
Default ClientMode::Empty to no built-in skills (#2410) * Add ClientMode::Empty built-in-skill isolation across SDK bindings Forward the new runtime `includedBuiltinSkills` session option in all six bindings (Node/TS, Python, Go, .NET, Java, Rust) and, in the fail-closed ClientMode::Empty post-create/post-resume `session.options.update` patch, unconditionally set `includedBuiltinSkills: []` adjacent to the existing `installedPlugins: []`. This excludes every runtime-bundled built-in skill in Empty mode on both create and resume while leaving custom/project/plugin/ personal/remote skills eligible; callers can still opt into their own custom skills (enableSkills + skillDirectories) but cannot weaken the Empty post-patch. CopilotCli mode is unchanged (field omitted unless the caller sets the general session option). Fail-closed cleanup on a failed Empty patch is preserved. Adds focused create/resume tests (including caller enableSkills=true and a non-Empty/CopilotCli negative) in every binding, and documents the behavior in the multi-tenancy and skills guides. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: f48912d3-420b-486f-84c3-211311aa502b * Fix Python Empty skill policy update Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: f48912d3-420b-486f-84c3-211311aa502b * Fix Java Empty skill patch after rebase Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 614bbfdb-0dc5-4956-8db6-b2191449b2a5 * Address Empty mode documentation review Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 614bbfdb-0dc5-4956-8db6-b2191449b2a5 * Allow explicit built-in skills in Empty mode Default Empty sessions to no runtime-bundled skills while preserving a caller-supplied allowlist across create and resume in every SDK binding. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 614bbfdb-0dc5-4956-8db6-b2191449b2a5 * Fix Java mode patch Javadoc Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 614bbfdb-0dc5-4956-8db6-b2191449b2a5 --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: f48912d3-420b-486f-84c3-211311aa502b Copilot-Session: 614bbfdb-0dc5-4956-8db6-b2191449b2a5 | 2 个月前 | |
Update SDK snapshot for Copilot CLI 1.0.99-1 | 12 天前 | |
sdk: Forward decisionContext on permission replies across languages (#2294) * feat(rust): forward decisionContext on permission replies The runtime emits `auto_approval_decision` telemetry only when a client supplies an explicit `decisionContext` alongside its permission reply. The generated wire types already carry the optional field, but the hand-written reply path built a fixed three-key JSON literal and had no way for a PermissionHandler to attribute its decision. Add `PermissionResult::AttributedDecision` plus a `with_context` builder, and forward the context as a top-level sibling of `result`. When no context is supplied the emitted params are byte-identical to before, so legacy behavior is preserved exactly. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * sdk: Forward decisionContext on permission replies across languages Permission handlers can now attach optional provenance describing how and where a decision was reached. The SDK forwards it to the runtime as a sibling of `result` -- never nested inside it -- so auto-approval decisions made programmatically can be attributed. The wire schema and every language's generated types already accepted the field; only the hand-written reply paths never populated it. No schema, codegen, or protocol version change is required. Fully additive: handlers returning a plain decision emit a payload byte-identical to before, with no `decisionContext` key at all. No-result suppression is preserved in every language. Per CONTRIBUTING.md, the feature is implemented in sync across all six SDKs: - Rust: PermissionResult::AttributedDecision + with_context() - Node: AttributedPermissionResult + withDecisionContext() - Python: AttributedPermissionResult + with_decision_context() - Go: AttributedPermissionResult + WithDecisionContext() - .NET: PermissionDecision.WithContext() - Java: PermissionRequestResult.withContext() Each language gains focused unit tests asserting the sibling placement, the byte-identical legacy payload, replace-not-nest on re-application, and preserved no-result suppression. Node and Rust add end-to-end coverage against a CLI carrying the runtime-side support. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 79152db2-4cc7-4777-983a-655fae5b68c9 * sdk(java): Reject null in withContext to match the other SDKs Java accepted null as a "clear" operation while .NET rejects it and the other SDKs disallow it at the type level. Since null is Java's default, an uninitialized variable would have silently dropped the context -- producing exactly the unattributed telemetry this feature removes. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 79152db2-4cc7-4777-983a-655fae5b68c9 * sdk: Unwrap value-form attribution in Go and seal the Rust enum Go embedded the decision interface in AttributedPermissionResult, which promotes the interface methods to the value type. A handler returning `*WithDecisionContext(...)` therefore satisfied rpc.PermissionDecision but slipped past the pointer-only type assertion: the wrapper itself was sent as `result` and the context was silently dropped. Both the unwrap in the session and the replace-not-nest check now accept either form, with regression tests that fail against the pointer-only code. Rust PermissionResult gains #[non_exhaustive], matching the convention used throughout this crate, so downstream exhaustive matches keep compiling as variants are added. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 79152db2-4cc7-4777-983a-655fae5b68c9 * sdk(dotnet): Drop fluent WithContext in favor of the settable property The hand-written .NET SDK has no other fluent `With*` builders, so adding one here introduced a pattern that exists nowhere else in the surface. Java and Rust keep their fluent forms because those match long-standing convention in each of those SDKs. Callers now set the public `DecisionContext` property through an object initializer, which is what the class documentation already recommends for richer decisions. The wire format is unchanged. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 79152db2-4cc7-4777-983a-655fae5b68c9 * sdk: Name attribution helpers after each SDK's own conventions The Go, Node, and Python helpers were named `WithDecisionContext` and friends, a shape none of those SDKs use. In Go a `WithX` function conventionally builds a functional option rather than decorating a value, and there were no `With` functions in the package at all. Node and Python had no `with`-prefixed helper either. Each now follows the constructor naming its own SDK already uses: `NewAttributedPermissionResult` alongside `NewCanvasError`, `createAttributedPermissionResult` alongside `createCanvas`, and `create_attributed_permission_result` alongside `create_session_fs_adapter`. The Node wrapper also gains a `kind: "attributed"` discriminant so it is narrowed the same way as every other union in that SDK, instead of by testing for the presence of a property. Java and Rust keep their fluent methods, which match long-standing convention in each of those SDKs. Behavior and wire format are unchanged. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 79152db2-4cc7-4777-983a-655fae5b68c9 * sdk(go): Centralize attribution unwrapping in one helper The pointer/value type switch was duplicated verbatim in NewAttributedPermissionResult and the session permission dispatch. Embedding an interface promotes its methods to the value type too, so both forms satisfy rpc.PermissionDecision and both must be unwrapped -- missing the value case is what produced the bug caught in review. Fold both copies into splitAttribution so that hazard is stated and handled in exactly one place. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 79152db2-4cc7-4777-983a-655fae5b68c9 * sdk(java): Rename withContext to setDecisionContext The Java SDK uses setX for mutators (589 of them); withX appears twice and both return a copy rather than mutating in place. withContext was the odd one out on both counts, and did not match its own getter or the sibling setKind/setRules/setFeedback on this class. Also drop the requireNonNull. The other setters here do not null-check, and null now means "no context" in every other SDK, so throwing made Java the outlier rather than the consistent one. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 79152db2-4cc7-4777-983a-655fae5b68c9 * sdk(rust): Make AttributedDecision a struct-style variant Hand-written Rust here has 157 enum variants: 89 unit, 35 tuple with exactly one payload, and 33 struct-style. Every variant carrying two or more values uses the struct form, so a two-payload tuple was the only one of its kind. Name the payloads instead. Construction and both read sites now say which value they mean rather than relying on position. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 79152db2-4cc7-4777-983a-655fae5b68c9 * Preserve Rust permission handler compatibility Add a separate attributed permission handler path so clients can forward decision context without changing the existing PermissionResult enum or PermissionHandler contract. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 79152db2-4cc7-4777-983a-655fae5b68c9 * Simplify Rust permission attribution Keep PermissionHandler as the single dispatch API and carry decision context through PermissionResult. Replace the ineffective rejection E2E test with an exact fake-server wire assertion. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 79152db2-4cc7-4777-983a-655fae5b68c9 * Unify Rust permission decisions Store optional decision context on the existing Decision variant so every decision follows one semantic path and downstream matches receive a compiler-guided migration. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 79152db2-4cc7-4777-983a-655fae5b68c9 --------- Co-authored-by: Aymen Furter <aymenfurter@Midnight-Moon.local> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 79152db2-4cc7-4777-983a-655fae5b68c9 | 2 个月前 | |
Expose managed approval requirement on permission requests (#2080) * Expose managed approval requirement on permission requests Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 18f1bbc1-6001-43e2-b293-724505087f6a * docs: align managed selector name with Domain Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c7f00b84-b0a7-4cdf-aca9-ffd49737f26e * Fix managed permission approval surfaces Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * docs: clarify managed approval behavior Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * docs: guard managed custom approvals Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Expose managed approvals across SDKs Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Respect managed approval in permission policies Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Minimize Java permission overlay Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Clarify Java managed permission deferral Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Preserve Rust permission event metadata Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix managed approval C# example Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix managed approval documentation guards Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix .NET managed permission event test Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fail approve-all in managed sessions Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Avoid expanding Rust permission result API Preserve approve-all fail-closed behavior by logging and returning the existing user-not-available decision instead of adding a public enum variant. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Keep managed permission helpers fail-closed Align Rust approve-all paths for request-level managed approval and correct cross-SDK documentation of session-level fail-fast behavior. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix Java Gradle snapshot coordinate Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Align managed permission documentation Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Clarify Java managed approval handling Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Surface permission handler failures Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Log Java permission handler failures Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Clarify permission failure diagnostics Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Clarify Rust managed approval fallback Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Reject no-result in legacy Python callbacks Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fail closed on managed approval metadata Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Initialize managed settings before Go events Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fail closed on unknown permission requests Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Preserve legacy Python approve-all calls Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Clarify Rust permission event payload Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Harden managed permission fallbacks Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Regenerate managed approval outputs Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Regenerate managed approval outputs Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Align managed approval helpers Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix managed approval hierarchy and diagnostics Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Restore managed settings approval guard Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fail closed on malformed managed metadata Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Preserve managed approval accessor compatibility Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Preserve Python permission constructor order Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Preserve managed metadata compatibility Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fail closed on malformed Java managed metadata Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Retrigger CI Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: GitHub Copilot <copilot@users.noreply.github.com> Copilot-Session: 18f1bbc1-6001-43e2-b293-724505087f6a Copilot-Session: c7f00b84-b0a7-4cdf-aca9-ffd49737f26e | 2 个月前 | |
Hide CLI console window on Windows across all SDKs (#329) * Initial plan * Add hide_cli_window option to suppress console window on Windows Co-authored-by: patniko <26906478+patniko@users.noreply.github.com> * Address code review feedback: use conditional kwargs and idiomatic assertions Co-authored-by: patniko <26906478+patniko@users.noreply.github.com> * Make hiding CLI window default behavior across all SDKs - Python: Always hide window on Windows (removed hide_cli_window option) - Node.js: Add windowsHide: true to spawn options - Go: Add SysProcAttr with HideWindow on Windows via platform-specific files - .NET: Already had CreateNoWindow = true This ensures consistent behavior across all SDKs where the CLI subprocess console window is hidden on Windows to avoid distracting users in GUI apps. Co-authored-by: SteveSandersonMS <1101362+SteveSandersonMS@users.noreply.github.com> * Fix Go build --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: patniko <26906478+patniko@users.noreply.github.com> Co-authored-by: SteveSandersonMS <1101362+SteveSandersonMS@users.noreply.github.com> Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com> | 8 个月前 | |
Hide CLI console window on Windows across all SDKs (#329) * Initial plan * Add hide_cli_window option to suppress console window on Windows Co-authored-by: patniko <26906478+patniko@users.noreply.github.com> * Address code review feedback: use conditional kwargs and idiomatic assertions Co-authored-by: patniko <26906478+patniko@users.noreply.github.com> * Make hiding CLI window default behavior across all SDKs - Python: Always hide window on Windows (removed hide_cli_window option) - Node.js: Add windowsHide: true to spawn options - Go: Add SysProcAttr with HideWindow on Windows via platform-specific files - .NET: Already had CreateNoWindow = true This ensures consistent behavior across all SDKs where the CLI subprocess console window is hidden on Windows to avoid distracting users in GUI apps. Co-authored-by: SteveSandersonMS <1101362+SteveSandersonMS@users.noreply.github.com> * Fix Go build --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: patniko <26906478+patniko@users.noreply.github.com> Co-authored-by: SteveSandersonMS <1101362+SteveSandersonMS@users.noreply.github.com> Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com> | 8 个月前 | |
Consolidate Go initialism casing (#1527) * Consolidate Go initialism casing * replace UriConnection for URIConnection * replace TcpConnection for TCPConnection * Update docs for Go initialism casing * Remove Go GitHub casing overrides | 4 个月前 | |
Update SDK snapshot for Copilot CLI 1.0.103-0 | 5 天前 | |
Update SDK snapshot for Copilot CLI 1.0.103-0 | 5 天前 | |
Update Copilot CLI to 1.0.87-0 (#2731) * Repair codegen for Copilot CLI 1.0.87 schemas Disambiguate shared C# session request envelopes without weakening collision checks. Preserve Rust explicit unknown values and forward-compatible fallbacks from #2703. Resolve Go event payload references and preserve root event unions across bindings, with real envelope regressions and target-schema Java test adaptations. Validated with the 1.0.87-0 generated overlay; release pins and generated outputs are intentionally excluded from this source-only workflow seed. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Update Copilot CLI to 1.0.87-0 - Updated the shared CLI release pin - Re-ran code generators - Formatted generated code * Fix CLI 1.0.87 replay fixtures and Java test formatting Preserve existing subagent histories and add only observed short-idle, full-history read variants with failure/cancellation rejection coverage. Apply the repository root Java formatter to the two repaired test files. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix Java shared RPC variant ownership Preserve historical public variant superclasses and emit contextual secondary-root variants with validated Jackson subtype registrations. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Cover new Java RPC wrapper dispatch methods Exercise 29 new public endpoints and optional marketplace refresh with independent method, result type, payload, and session identity assertions. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix Windows bundled CLI tar extractor availability Compile the private TAR helper only for non-Windows production or bundled unit tests, preserving Windows runtime-archive test coverage. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * fix(rust): preserve constant constraints on referenced fields Validate field-local literals before decoding extensible named enums so untagged catalogue candidates cannot consume another kind. Preserve public field types and standalone Unknown fallbacks; regenerate from CLI 1.0.87-0. Includes the exact AI-skill decoding regression and MCP/Plugin controls. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Hunter Sadler <aurokin@github.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 1 个月前 | |
Update SDK snapshot for Copilot CLI 1.0.92-4 | 23 天前 | |
Update SDK snapshot for Copilot CLI 1.0.92-4 | 23 天前 | |
Update SDK snapshot for Copilot CLI 1.0.102-0 | 6 天前 | |
Update SDK snapshot for Copilot CLI 1.0.103-0 | 5 天前 | |
Update SDK snapshot for Copilot CLI 1.0.100-0 | 10 天前 | |
Update SDK snapshot for Copilot CLI 1.0.102-0 | 6 天前 | |
Update SDK snapshot for Copilot CLI 1.0.102-0 | 6 天前 | |
Update SDK snapshot for Copilot CLI 1.0.92-4 | 23 天前 | |
feat: add OpenTelemetry support across all SDKs (#785) * docs: add OpenTelemetry TelemetryConfig and trace context propagation documentation Add telemetry documentation across all SDK docs: - getting-started.md: New 'Telemetry & Observability' section with per-language examples, TelemetryConfig options table, file export example, and trace context propagation explanation - Per-SDK READMEs (Node.js, Python, Go, .NET): Add telemetry option to constructor/options lists and new Telemetry sections with language-specific examples and dependency notes - observability/opentelemetry.md: Add 'Built-in Telemetry Support' section at top with multi-language examples, options table, propagation details, and dependency matrix - docs/index.md: Update Observability description Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * feat: add OpenTelemetry support across all SDKs Add TelemetryConfig to all four SDKs (Node, Python, Go, .NET) to configure OpenTelemetry instrumentation on the Copilot CLI process. This includes: - TelemetryConfig type with OTLP endpoint, file exporter, source name, and capture-content options, mapped to CLI environment variables - W3C Trace Context propagation (traceparent/tracestate) on session.create, session.resume, and session.send RPC calls - Trace context restoration in tool call handlers (v2 RPC and v3 broadcast) so user tool code executes within the correct distributed trace - Telemetry helper modules (telemetry.ts, telemetry.py, telemetry.go, Telemetry.cs) with unit tests - Updated generated types from latest schema Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * refactor(nodejs): remove @opentelemetry/api dependency Replace the optional @opentelemetry/api peer dependency with a user-provided callback approach: - Add TraceContext interface and TraceContextProvider type - Add onGetTraceContext callback to CopilotClientOptions - Pass traceparent/tracestate directly on ToolInvocation for inbound context - Remove @opentelemetry/api from peerDependencies and devDependencies - Rewrite telemetry.ts to a simple callback-based helper (~27 lines) - Update tests, README, and OpenTelemetry docs with wire-up examples Users who want distributed trace propagation provide a callback: const client = new CopilotClient({ onGetTraceContext: () => { const carrier = {}; propagation.inject(context.active(), carrier); return carrier; }, }); TelemetryConfig (CLI env vars) is unchanged and requires no dependency. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com> | 7 个月前 | |
feat: add OpenTelemetry support across all SDKs (#785) * docs: add OpenTelemetry TelemetryConfig and trace context propagation documentation Add telemetry documentation across all SDK docs: - getting-started.md: New 'Telemetry & Observability' section with per-language examples, TelemetryConfig options table, file export example, and trace context propagation explanation - Per-SDK READMEs (Node.js, Python, Go, .NET): Add telemetry option to constructor/options lists and new Telemetry sections with language-specific examples and dependency notes - observability/opentelemetry.md: Add 'Built-in Telemetry Support' section at top with multi-language examples, options table, propagation details, and dependency matrix - docs/index.md: Update Observability description Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * feat: add OpenTelemetry support across all SDKs Add TelemetryConfig to all four SDKs (Node, Python, Go, .NET) to configure OpenTelemetry instrumentation on the Copilot CLI process. This includes: - TelemetryConfig type with OTLP endpoint, file exporter, source name, and capture-content options, mapped to CLI environment variables - W3C Trace Context propagation (traceparent/tracestate) on session.create, session.resume, and session.send RPC calls - Trace context restoration in tool call handlers (v2 RPC and v3 broadcast) so user tool code executes within the correct distributed trace - Telemetry helper modules (telemetry.ts, telemetry.py, telemetry.go, Telemetry.cs) with unit tests - Updated generated types from latest schema Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * refactor(nodejs): remove @opentelemetry/api dependency Replace the optional @opentelemetry/api peer dependency with a user-provided callback approach: - Add TraceContext interface and TraceContextProvider type - Add onGetTraceContext callback to CopilotClientOptions - Pass traceparent/tracestate directly on ToolInvocation for inbound context - Remove @opentelemetry/api from peerDependencies and devDependencies - Rewrite telemetry.ts to a simple callback-based helper (~27 lines) - Update tests, README, and OpenTelemetry docs with wire-up examples Users who want distributed trace propagation provide a callback: const client = new CopilotClient({ onGetTraceContext: () => { const carrier = {}; propagation.inject(context.active(), carrier); return carrier; }, }); TelemetryConfig (CLI env vars) is unchanged and requires no dependency. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com> | 7 个月前 | |
Update SDK snapshot for Copilot CLI 1.0.103-0 | 5 天前 | |
Consolidate Go initialism casing (#1527) * Consolidate Go initialism casing * replace UriConnection for URIConnection * replace TcpConnection for TCPConnection * Update docs for Go initialism casing * Remove Go GitHub casing overrides | 4 个月前 | |
Add EnableExperimentalMode support across all 6 SDKs (#1600) Adds per-session EnableExperimentalMode (enableExperimentalMode / enable_experimental_mode) to all SDK languages. The flag controls whether the session enables experimental features. Semantics are mode-aware and consistent across languages: - In "empty" mode the SDK sends false unless the caller explicitly sets true, so headless integrations are not silently opted into experimental behaviour. - In "copilot-cli" mode the field is omitted from the wire when nil/null/ None, letting the runtime decide (e.g. based on staff-user flags). Wire field is isExperimentalMode on both session.create and session.resume. Changes per language: - Rust: enable_experimental_mode on SessionConfig / ResumeSessionConfig, experimental_mode_for_mode helper in mode.rs, 6 new unit tests - .NET: EnableExperimentalMode on SessionOptions / SessionResumeOptions, mode-aware default in Client.CreateSessionAsync/ResumeSessionAsync - Node: enableExperimentalMode on SessionOptions / SessionResumeOptions - Python: enable_experimental_mode param on create_session/resume_session, _enable_experimental_mode_default helper in _mode.py - Go: EnableExperimentalMode on SessionConfig / ResumeSessionConfig, empty-mode default in mode_empty.go - Java: enableExperimentalMode on SessionConfig / ResumeSessionConfig, experimentalModeForMode helper in SessionRequestBuilder Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> | 2 个月前 | |
Update SDK snapshot for Copilot CLI 1.0.104-0 | 4 天前 | |
Update SDK snapshot for Copilot CLI 1.0.102-1 | 6 天前 | |
Update SDK snapshot for Copilot CLI 1.0.102-0 | 6 天前 | |
Update SDK snapshot for Copilot CLI 1.0.103-0 | 5 天前 |