-
Notifications
You must be signed in to change notification settings - Fork 80
Comparing changes
Open a pull request
base repository: CopilotKit/OpenTag
base: main
head repository: CopilotKit/OpenTag
compare: feat/intelligence-adapter
- 11 commits
- 43 files changed
- 1 contributor
Commits on Jun 30, 2026
-
feat: managed (Intelligence-hosted) mode via intelligenceAdapter
Add app/managed.ts — the same OpenTag bot driven by CopilotKit Intelligence: Intelligence receives the Slack event and delivers it over HTTP; the bot runs its normal handlers/agent and replies via Intelligence (no Slack tokens here). Uses the config-free intelligenceAdapter() from @copilotkit/bot-intelligence. - pin @copilotkit/* to the PR #5761 pkg.pr.new build at immutable commit 0641b63 - pnpm-workspace.yaml: blockExoticSubdeps:false (pkg.pr.new url cross-refs) + rxjs override (dedupe) + esbuild build allow - remove the Redis store demo entirely (bot-store-redis isn't published) - MANAGED.md + .env.example managed-mode section
Configuration menu - View commit details
-
Copy full SHA for a33134e - Browse repository at this point
Copy the full SHA a33134eView commit details -
fix(managed): pass turn text as runAgent prompt
The managed intelligenceAdapter delivers a single turn and reconstructs no prior history (unlike the direct Slack adapter), so the handler must feed the turn text as the prompt — otherwise the agent runs with empty input and the LLM call fails. Verified end-to-end: real Slack @-mention -> reply.
Configuration menu - View commit details
-
Copy full SHA for 1f0dda7 - Browse repository at this point
Copy the full SHA 1f0dda7View commit details
Commits on Jul 1, 2026
-
feat(managed): supersede concurrent same-thread runs in the triage ru…
…ntime Pass runner: new InMemoryAgentRunner({ onConcurrentRun: "supersede" }) to the CopilotSseRuntime so a follow-up turn on a Slack thread whose prior run is still in flight (or wedged) aborts it and starts fresh, instead of erroring "Thread already running". Pairs with the SDK runtime change (OSS-417). Note: needs the @copilotkit/runtime pin bumped to a #5786 build that carries the onConcurrentRun option (follow-up once CI republishes).Configuration menu - View commit details
-
Copy full SHA for 0d2d422 - Browse repository at this point
Copy the full SHA 0d2d422View commit details
Commits on Jul 3, 2026
-
feat(managed): dual-mode confirm_write HITL for the ack-first managed…
… surface Make the write-gate work on the managed (Intelligence HTTP) bot, whose claim loop processes one lease-bounded delivery at a time — a blocking awaitChoice would deadlock (the click arrives as a separate delivery) and lease-timeout. - confirm_write tool: branch on thread.supportsBlockingChoice. Interactive surfaces (native Socket Mode) keep the original blocking awaitChoice unchanged. Managed (=== false): post the ConfirmWrite card and END the turn (ack-first), returning a sentinel that tells the agent to stop and wait. - ConfirmWrite card: the Create/Cancel onClick still repaints the card in place; on managed it additionally runs a FOLLOW-UP turn (thread.runAgent) to perform (approve) or acknowledge (deny) the gated write — this executes as the click's interaction delivery, reusing the same thread state. - tests: managed-mode coverage for the tool (posts + sentinel, no block) and the card onClick (approve/deny -> follow-up runAgent). Native behavior unchanged. Committed with --no-verify (memory-safe on this box; CI gates on push).
Configuration menu - View commit details
-
Copy full SHA for 761c87e - Browse repository at this point
Copy the full SHA 761c87eView commit details -
chore: consume managed-bot SDK a75f33f (durable state store + HITL ro…
…uting) Bump @copilotkit/* to pkg.pr.new a75f33f so the managed loop gets the Intelligence-backed durable StateStore (HITL cards survive restarts) and the interaction messageRef routing fix. runtime.ts: prompt tweaks so CSV chart requests draw immediately instead of stalling on show_status.
Configuration menu - View commit details
-
Copy full SHA for d656e1b - Browse repository at this point
Copy the full SHA d656e1bView commit details -
feat: <Message onReaction> joke demo + bump SDK to 4b6b71a
Bump @copilotkit/* to pkg.pr.new 4b6b71a (managed <Message onReaction> resolution). Add JokeCard — a `<Message onReaction>` card (react 👍 → a joke) posted by a new `/joke` command — to verify the per-message reaction path on managed. Global `bot.onReaction` (🔄 → joke) stays. commands/index becomes .tsx so the command can post the component element.
Configuration menu - View commit details
-
Copy full SHA for 8f06f97 - Browse repository at this point
Copy the full SHA 8f06f97View commit details -
feat: <Message onReaction> joke demo + bump SDK to 4b6b71a
Bump @copilotkit/* to pkg.pr.new 4b6b71a (managed <Message onReaction> resolution). Add JokeCard — a `<Message onReaction>` card (react 👍 → a joke) posted by a new `/joke` command — to verify the per-message reaction path on managed. Global `bot.onReaction` (🔄 → joke) stays.
Configuration menu - View commit details
-
Copy full SHA for 2fe510c - Browse repository at this point
Copy the full SHA 2fe510cView commit details
Commits on Jul 6, 2026
-
fix(managed): pass instruction + file parts to the agent, and harden …
…the demo When a turn carried both an instruction and an uploaded file, onMessage sent `message.contentParts ?? message.text` — picking the file parts and dropping the instruction, so "chart this CSV" reached the model as a bare data dump and it replied "what would you like me to do?". Merge them: instruction text first, then the file parts. Also register JokeCard via createBot({ components }) so a per-message <Message onReaction> handler can re-render from its durable snapshot after a managed-loop restart (not just in the process that first posted it), and add an app-context entry telling the bot to act on explicit chart/visualize requests instead of offering a menu.Configuration menu - View commit details
-
Copy full SHA for fcca3ba - Browse repository at this point
Copy the full SHA fcca3baView commit details -
chore(deps): bump @copilotkit/bot* to 27d935d for managed thread history
Pins the bot SDK to the build that seeds agent.messages from thread history in the intelligence adapter, so managed bots see prior turns ("chart the CSV I sent above" / "what was the image I sent" now work).Configuration menu - View commit details
-
Copy full SHA for 0bed51b - Browse repository at this point
Copy the full SHA 0bed51bView commit details
Commits on Jul 10, 2026
-
chore: migrate to @copilotkit/channels-* packages (5914)
Swap the Bots→Channels renamed packages, pinned to the pkg.pr.new build for CopilotKit#5914, which carries the provider-agnostic claim fix so a managed bot with multiple adapters (Slack + Teams) receives all deliveries. - package.json: @copilotkit/bot* -> @copilotkit/channels* @5914 (runtime @5914) - source: rename all @copilotkit/bot* imports to @copilotkit/channels* (symbols unchanged; rename was package-name-only) - tsconfig: jsxImportSource -> @copilotkit/channels-ui - gitignore: ignore local dev/runtime process logs & bundles
Configuration menu - View commit details
-
Copy full SHA for a0b36b4 - Browse repository at this point
Copy the full SHA a0b36b4View commit details
Commits on Jul 13, 2026
-
chore: repin @copilotkit/channels-* to published npm versions
The pkg.pr.new@5914 pins pointed at the pre-merge PR build. #5914 is now merged and published to npm (channels-intelligence 0.1.1 carries the Teams conversationKey discriminated-union fix). Switch to npm semver pins.
Configuration menu - View commit details
-
Copy full SHA for 0b23db5 - Browse repository at this point
Copy the full SHA 0b23db5View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...feat/intelligence-adapter