Commit 87a2d11
chore(agent-host): drop local managedSettings shim for published SDK type
Remove the temporary ICopilotManagedSettingsSdk mirror and return a plain
ResumeSessionConfig from _buildSessionConfig. The SDK #2139 generated types
add `managedSettings` to the session config, so VS Code no longer needs a
local additive type to forward enterprise-policy-derived permissions.
The conditional `managedSettings` spread is unchanged: it compiles today
(spread properties skip excess-property checks) and gains full static type
safety once the refreshed @github/copilot-sdk carrying #2139 is picked up on
rebase. No caller reads config.managedSettings, so narrowing the return type
is safe.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: c111c62a-eff3-4ff6-bb8a-8436a1b4babe1 parent cd28635 commit 87a2d11
1 file changed
Lines changed: 1 addition & 13 deletions
Lines changed: 1 addition & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | 85 | | |
98 | 86 | | |
99 | 87 | | |
| |||
594 | 582 | | |
595 | 583 | | |
596 | 584 | | |
597 | | - | |
| 585 | + | |
598 | 586 | | |
599 | 587 | | |
600 | 588 | | |
| |||
0 commit comments