mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-18 13:17:05 +01:00
* chore: bump @github/copilot-sdk to 1.0.9-preview.3 and @github/copilot to 1.0.78 * Adapt agentHost to SDK 1.0.9-preview.3 type contract SDK 1.0.9-preview.3 changed several session-events/rpc types consumed by agentHost: - Model dropped defaultReasoningEffort; pass undefined so the schema resolver falls back (BYOK IByokLmModelInfo path is unaffected and keeps the field). - Added factory permission kind; add 'factory' to the host permissionKind union. - Added factory_completed system notification; handle it in the notification switch with localized status messages. - ShutdownData gained required fields; widen the test cast via unknown. - PermissionPromptRequestPath dropped managedApprovalRequired; remove it from the path promptRequest test literal (the permissionRequest still carries it, which is what the host reads). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Adapt customizations test to new builtin skill in CLI 1.0.78 CLI 1.0.78 ships an additional builtin skill (github-pr-media) alongside customize-cloud-agent; generalize the test's builtInCustomizations filter to strip any @github/copilot builtin skill dir so discovery assertions stay green. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Regenerate Copilot prompt snapshots for CLI 1.0.78 CLI 1.0.78 reworded its baked-in system prompt (consolidated tips_and_tricks/SQL/session-context guidance and added the github-pr-media builtin skill), so the committed AHP prompt baselines no longer matched the wire prompt and the copilotPromptsE2E integration test failed in product build 461312. Regenerated the baselines via AGENT_HOST_UPDATE_AHP_SNAPSHOTS=1; all 21 cases pass in replay mode. 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: vs-code-engineering[bot] <122617954+vs-code-engineering[bot]@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Paul <8560030+pwang347@users.noreply.github.com>