Repository navigation
refactor(channels)!: retire the Telegram adapter - #7928
Conversation
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes. ⛔ Files ignored due to path filters: 1
⚙️ Run configuration
⛔ Files ignored due to path filters: 1
You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Production Digest-Pinning AuditAll 43 services digest-pinned. Run 2026-10-22 11:28:02 PDT — 0 finding(s). |
@copilotkit/a2ui-renderer
@copilotkit/agentcore-runner
@copilotkit/angular
@copilotkit/channels
@copilotkit/channels-core
@copilotkit/channels-discord
@copilotkit/channels-intelligence
@copilotkit/channels-slack
@copilotkit/channels-teams
@copilotkit/channels-ui
@copilotkit/channels-whatsapp
@copilotkit/core
@copilotkit/intelligence-langgraph
@copilotkit/intelligence-mastra
@copilotkit/learning
@copilotkit/mcp-apps-renderer
@copilotkit/react-core
@copilotkit/react-native
@copilotkit/react-textarea
@copilotkit/react-ui
@copilotkit/runtime
@copilotkit/runtime-client-gql
@copilotkit/sdk-js
@copilotkit/shared
@copilotkit/sqlite-runner
@copilotkit/voice
@copilotkit/vue
@copilotkit/web-components
@copilotkit/web-inspector
commit: |
|
Size Change: 0 B Total Size: 1.83 MB ℹ️ View Unchanged
|
Remove @copilotkit/channels-telegram, the @copilotkit/channels/telegram subpath, and its release, license, lock, and public-API records. Drop the Telegram wiring, parity tests, and e2e harness from the Slack example, and the Telegram sections from current docs. The retired "telegram" telemetry label now normalizes to "custom". Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
fe8bd2a to
d1574d3
Compare
❌ Showcase Build FailedThe Docker build triggered by this PR's merge failed. Run: https://github.com/CopilotKit/CopilotKit/actions/runs/39851205950 @tylerslaton — please check the build logs and fix the issue. |
…on release lines (CopilotKit#8085) Closes PE-1075. PRs into a release-line branch (e.g. `2.0.0`) that break an API now fail unless they also change something under `codemods/` or `showcase/shell-docs/src/content/docs/migrate/`. That is the kickoff rule: every 2.0 break ships with a codemod, or at least a migration note. ## What counts as a break - A `!` in the PR title or a `BREAKING CHANGE:` footer in the description. - The same markers in any commit in the PR. This reuses `isBreakingCommit` from the release-notes code, so the gate and the release notes agree. - A removal from the public API manifest (`scripts/release/public-api/manifest.v1.json`), even with no marker: a package that is no longer published, a removed entrypoint or export condition, narrower engines or peers, removed runtime factories or options, removed deprecated exports. Additions and version bumps don't count. When it fails, Danger comments with the list of reasons. ## How it runs - New workflow `static / breaking changes`. It runs only on PRs into `X.Y.Z` branches, so PRs into `main` are untouched. - It runs `pnpm check:public-api-manifest` first, so the manifest diff compares real state. - The rule lives in `dangerfile.ts` next to the existing LangGraph check, with its logic in `scripts/release/lib/breaking-change-gate.ts`. - `dangerfile.js` becomes `dangerfile.ts`. Danger evaluated the `.js` file as native ESM, which can't resolve the extensionless TS import. As `.ts`, Danger compiles it and resolves the helper. ## Verified - Release suite: 276 passed, including 14 new tests for the gate. - `danger pr` dry runs, with the release-line check bypassed in a throwaway copy, because no PR into `2.0.0` exists yet: - CopilotKit#7928 (`refactor(channels)!: retire the Telegram adapter`) fails with all reasons, including "`@copilotkit/channels-telegram` is no longer published" from the manifest diff. - CopilotKit#8077 passes. Not verified: a real run on GitHub; actionlint (runs in CI). ## Before it has an effect 1. Merge `main` into `2.0.0`, so the workflow is on the branch. 2. Make `static / breaking changes` a required check in the `2.0.0` ruleset (PE-1082). Until then it reports but does not block, and direct pushes to `2.0.0` bypass it. ## Open points - The codemod path is `codemods/`, where the v2-migration codemod lives, not the `tools/codemods` the ticket names. If the restructure moves it, `MIGRATION_PATH_PREFIXES` moves with it. - Any change under `docs/migrate/` counts as a migration note, because there is no dedicated 2.0 guide yet (PE-1088). <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Release Workflow** * Pull requests targeting versioned release branches now receive automated checks for public API changes. * Breaking changes are flagged when they lack a recognized breaking-change marker or an accompanying migration document. * Checks also warn when changes affect only one of the Python and JavaScript LangGraph executors. * **Validation** * Added coverage for release-branch detection, API change checks, breaking-change markers, and migration-file selection. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
…pilotKit#8040) ## What does this PR do? This gives the README a fresh look and brings it in line with how we talk about CopilotKit on copilotkit.ai today. It opens with the CopilotKit logo, then walks through the whole stack: the open-source SDKs, AG-UI, CopilotKit Intelligence, and the AI coworker apps built on top of it, OpenBot and CopilotKit Soar. The easiest way to review it is to open the README on this branch and flip between light and dark mode. All the images live in `assets/readme/`. The top is the CopilotKit wordmark and kite on its own, taken from the official `copilotkit-logo.svg`. Below that there's a how-it-works diagram, the Continual Learning loop, and the product stack. Each one comes as a light and a dark SVG, and the README shows the right one for the reader's GitHub theme using the `#gh-light-mode-only` and `#gh-dark-mode-only` suffixes. Everything uses system fonts and has no external references, so it renders the same everywhere GitHub shows the file. A few other things changed along the way. - There's a "Talk to an engineer" button under the main links, and the GitHub Trending badge now sits with the other badges at the top. - The surfaces table now includes CopilotKit Soar, powered by OpenBot, with a link to get early access. - There's a new "What's new" section near the top covering Soar, which is now in early access, along with continual learning, OpenBot, AG-UI 1.0 and A2UI 1.0, and Channels JSX. - The how-it-works diagram lists every agent framework that has a quickstart, laid out as a compact grid, so it matches the framework list further down the page. - The coding-agent onboarding prompt is still the first thing in the quickstart. The hand-wired Next.js setup now lives in a collapsible and uses the `/v2` imports from `@copilotkit/react-core` and `@copilotkit/runtime`. - The Vue and Angular rows link to their quickstarts, since both have one now. - The Intelligence copy uses AG-UI Streams, User Memories, Continual Learning, Product Analytics, Channels, and Self-hosted. - The old channel banner is gone, along with the inline `style` on the badge row, which GitHub was dropping anyway. The README now calls the learning feature Continual Learning, to match the CLiF launch. The docs pages still say Automatic Learning, so it may be worth bringing those along in a follow-up. One small detail for anyone editing the images later. The light and dark pairs use the `#gh-*-mode-only` suffixes rather than `<picture>`. A `<picture>` follows the operating system's color setting, so someone who picked the dark theme on GitHub while their system is set to light would get the light images on a dark page. The suffixes follow the GitHub theme itself. The "Talk to an engineer" button is a single image that works on both themes, so it can be a link. All the docs links resolve on the live site. The AG-UI Streams links point at `/threads` for now, and that path will redirect to `/AG-UI-Streams` once the docs deploy catches up. Happy to adjust the wording, the order of the sections, or anything in the images. ## Related PRs and Issues - Builds on the README refresh in CopilotKit#7011, and drops the Telegram mention that CopilotKit#7928 retired. ## Checklist - [x] I have read the [Contribution Guide](https://github.com/copilotkit/copilotkit/blob/master/CONTRIBUTING.md) - [x] If the PR changes or adds functionality, I have updated the relevant documentation - [ ] If the PR contains a breaking change, the title has `!` (for example `feat(react-core)!: ...`) and the description has a `BREAKING CHANGE:` line with migration steps. See [VERSIONING.md](https://github.com/CopilotKit/CopilotKit/blob/main/VERSIONING.md) - [x] "Allow edits by maintainers" is checked (lets us help iterate on your PR directly — faster turnaround for everyone) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Documentation** * Reorganized the README with updated product links, badges, and a “What’s new” overview. * Added onboarding guidance for coding agents, project setup, agent skills, and a manual Next.js setup. * Updated information about CopilotKit, supported surfaces and agent frameworks, generative UI, CopilotKit Intelligence, OpenBot, Soar, and AG-UI. * Replaced previous feature, channel, and generative UI explanations; refreshed community, contribution, and license information. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
We will be reintroducing this in the future with a different implementation. In the meantime...
Removes the built-in Telegram adapter and its direct consumers, following the same playbook as the Telegram half of #7789. Slack, Teams, Discord, and WhatsApp stay as supported direct adapters.
Breaking change:
@copilotkit/channels-telegramand@copilotkit/channels/telegramare removed. Apps that import either one must stay on a previous release or provide a custom adapter.Removed
packages/channels-telegramand the umbrella's./telegramsubpath, forwarder, keyword, and dependencyrelease.config.jsonchannels scope, thechannels-umbrella.tsadapter list, theverify-channels-umbrella.tsconsumer smoke test, andconfig.test.ts. The release-notification count drift guard goes from 9 to 8, andmanifest.v1.jsonis regenerated.pnpm-lock.yaml. The lock change is deletions only: the importer, the umbrella link, andgrammy.examples/slack: Telegram wiring, env vars, the parity tests, the e2e harness and thee2e:telegramscript, plus the Telegram sections of its READMEskills/copilotkit-channels.Behavior
ChannelComponentPlatformno longer includes"telegram"."telegram"now normalizes to"custom".telemetry-events.jsondocuments the remaining platforms, and the allowlist coverage test now pins the exact set of adapters it discovers.@copilotkit/channels/telegramfails withERR_PACKAGE_PATH_NOT_EXPORTED.Intentionally kept
channels-coreandchannels-ui: the emoji platform table, comments about callback-data limits and command names, and the arbitrary"telegram"labels in fake-adapter testssetup-slack-channelexamples/integrations/*, and the unrelatedpython-telegram-botentries in Poetry locksValidation
nx run-many -t build,check-typesforchannels-core,channels, andslack-example: passnx run-many -t testfor all 7 remaining channels packages plusslack-example: 1,366 tests passnx run-many -t publint,attwforchannelsandchannels-core: passpackage-licensestest and check pass (policy covers 29 packages).check:public-api-manifestreports the manifest is current.pnpm install --lockfile-only --frozen-lockfile --offline: passThe local
test-and-check-packagespre-commit hook was skipped for the commit. The lockfile change marks every package as affected. In that run, 34 projects passed, and onlyruntime-go,runtime-ruby, andruntime-dotnetfailed, because Go, thewebsocketgem, and a matching .NET runtime aren't installed on this machine. CI covers those.🤖 Generated with Claude Code
Summary by CodeRabbit