mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
b394f06fdc
Renames the Bots SDK to the Channels SDK. Names only — no behavior change. - 8 packages @copilotkit/bot* -> @copilotkit/channels* (git mv dirs, names, workspace: cross-deps). Now includes @copilotkit/bot-intelligence -> @copilotkit/channels-intelligence (landed on main via #5761; unpublished, so renamed fresh with the family). - release.config.json scope keys + versionSource; ReleaseScope union; canary/stable-release/publish-release scope dropdowns; verify script - examples/slack (Kite) + examples/teams: deps, jsxImportSource, imports - showcase/shell-docs: content dirs docs/bots->docs/channels and reference/bot->reference/channels, nav registry, redirects createBot and other API names unchanged. Old @copilotkit/bot* to be deprecated after the new packages publish (bot-intelligence was never published). Re-derived onto latest main (was conflicting after #5761 landed). Refs OSS-438
Teams app package
The Teams app manifest + icons you sideload into Microsoft Teams to install the
bot. Build the .zip with one command, then upload it in Teams → Apps →
Manage your apps → Upload a custom app.
Build it
From examples/teams:
pnpm package
This validates everything Teams needs and writes appPackage/appPackage.zip:
- Bot id: read from
MICROSOFT_APP_ID/CLIENT_ID/clientId(env orexamples/teams/.env) and injected intomanifest.json'sbots[0].botId, so the committed manifest stays a placeholder and you never hardcode your id. Must be the Application (client) ID (a GUID) of the Entra app bound to your Azure Bot. - Icons:
color.png(192×192) andoutline.png(32×32). Auto-generated as CopilotKit-purple placeholders if missing; drop in your own PNGs of those exact sizes to brand it. - Manifest: checked for valid JSON and the required bot fields.
If something's missing the script tells you exactly what and how to fix it.
What's here
manifest.json: the app manifest template (botIdis a placeholder; the build injects the real one). Editdeveloper/name/descriptionto taste.color.png/outline.png: placeholder icons (regenerated if deleted).package.mjs: the dependency-free build script (pnpm package).appPackage.zip: the build output (gitignored).
The bot only replies once your hosted endpoint is set as the Azure Bot messaging endpoint. Installing the package just registers the bot in Teams.