Repository navigation
Conversation
🦋 Changeset detectedLatest commit: 20be18a The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
cjol
added this pull request to stack #2440
October 1, 2026 13:56
Contributor
🔴 agents import sizes: 1 entry point over threshold
Changed exports (1)
How this worksEach runtime export is bundled on its own, minified, and gzipped. Changes smaller than 100 B, or smaller than 1% and 1 KiB, are ignored. Growth over 10% or 5 KiB is marked 🔴. This report is informational and does not fail CI. The workflow artifact contains every measurement. Compared |
cjol
force-pushed
the
channels/10-slack
branch
2 times, most recently
from
October 1, 2026 14:27
5d7fb81 to
a61205c
Compare
cjol
force-pushed
the
channels/10-slack
branch
2 times, most recently
from
October 2, 2026 10:18
7ce2515 to
f9f1d6b
Compare
cjol
force-pushed
the
channels/10-slack
branch
from
October 2, 2026 11:08
f9f1d6b to
191ea29
Compare
cjol
removed this pull request from stack #2440
October 2, 2026 17:37
cjol
force-pushed
the
channels/10-slack
branch
from
October 2, 2026 17:37
191ea29 to
a8b1e69
Compare
cjol
added this pull request to stack #2460
October 2, 2026 17:39
agents
@cloudflare/ai-chat
@cloudflare/codemode
hono-agents
@cloudflare/shell
@cloudflare/think
@cloudflare/voice
@cloudflare/worker-bundler
commit: |
cjol
force-pushed
the
channels/10-slack
branch
from
October 2, 2026 18:20
a8b1e69 to
131980b
Compare
cjol
force-pushed
the
channels/10-slack
branch
from
October 2, 2026 18:53
131980b to
57e14d8
Compare
cjol
force-pushed
the
channels/10-slack
branch
from
October 2, 2026 19:20
57e14d8 to
803b9e9
Compare
This PR makes Slack a conversation surface: a Slack thread that joins a conversation sees every turn, from any surface. ## Why - After the cleanup, Slack only had ingress. A thread should show the agent's answers as they stream, ask for approvals with buttons, and say when a turn fails. - Turns started elsewhere are quoted above the answer, so a thread can follow a conversation that began in the browser. - `ConversationSurfaces` holds the per-surface lifecycle so Telegram can reuse it in the next PR. ## Public API Surface No new exports. `slack()` from `agents/experimental/channels/slack` now renders turns, approvals and failures on threads that joined a conversation, in addition to ingress. ## Code Changes - `surfaces.ts` (internal) tracks joined surfaces and drives a renderer per turn. - `slack/index.ts` streams with `chat.startStream`, `appendStream` and `stopStream`, and posts and updates approval messages. - `slack-surfaces.test.ts` runs Slack against the scripted harness in the Channels test object, which gains a Slack Channel. Slack offers no conversation operations, so a thread stays bound to one conversation. - Minor changeset for `agents`.
cjol
force-pushed
the
channels/10-slack
branch
from
October 2, 2026 19:21
803b9e9 to
20be18a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR makes Slack a conversation surface: a Slack thread that joins a conversation sees every turn, from any surface.
Why
ConversationSurfacesholds the per-surface lifecycle so Telegram can reuse it in the next PR.Public API Surface
No new exports.
slack()fromagents/experimental/channels/slacknow renders turns, approvals and failures on threads that joined a conversation, in addition to ingress.Code Changes
surfaces.ts(internal) tracks joined surfaces and drives a renderer per turn.slack/index.tsstreams withchat.startStream,appendStreamandstopStream, and posts and updates approval messages.slack-surfaces.test.tsruns Slack against the scripted harness in the Channels test object, which gains a Slack Channel. Slack offers no conversation operations, so a thread stays bound to one conversation.agents.