Commit cba65cf
chore: deprecate @microsoft/sharepointembedded-copilotchat-react
The @microsoft/sharepointembedded-copilotchat-react SDK is being
deprecated. This PR removes every consumer of the SDK from the
samples repo so the surface no longer advertises or depends on it.
Removed across three samples (boilerplate-typescript-react,
project-management, legal-docs):
- Copilot chat components, hooks, providers, and services
- The vendored SDK copy and tarball in legal-docs
- The SDK dependency entry in each package.json (lockfiles
regenerated)
- Copilot-only config (sharePointHostname, COPILOT_CONFIG,
SharePoint container scopes, copilotTheme), the SharePoint token
acquisition helpers that only existed to bootstrap the SDK, and
the dead Vite alias/dedupe blocks added to load the SDK shim
- UI affordances that opened the chat panel (toolbar buttons,
flyout entries, resizable panels) and their dead CSS
- The AI prompt recipes that targeted this SDK
(contoso-audit-agent, contoso-legal-agent)
Documentation:
- Root README and Custom Apps README no longer advertise
"Copilot SDK" / "AI-assisted document review" for legal-docs
- legal-docs README drops the Copilot integration bullet
Verification:
- npm install + npm run build pass for all three samples
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent f9c5663 commit cba65cf
49 files changed
Lines changed: 21 additions & 4094 deletions
File tree
- AI/prompts
- Custom Apps
- boilerplate-typescript-react/react-client
- src
- common
- components
- providers
- routes
- legal-docs
- lib
- src
- components
- copilot
- panels
- config
- context
- hooks
- pages
- services
- project-management
- src
- components
- copilot
- config
- context
- hooks
- pages
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
Lines changed: 0 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
Lines changed: 0 additions & 20 deletions
This file was deleted.
0 commit comments