mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
chore: drop dead .changeset/ debris and workflow path filters
The repo migrated off @changesets/* to conventional-commit-driven releases. scripts/release/lib/changes.ts::getChangesSummary reads `git log <lastTag>..HEAD` commit subjects and never touches .changeset/. No .changeset/config.json, no @changesets/* in any package.json, no npm scripts reference it. The 11 .changeset/*.md files describe changes that have either already shipped (via commit subjects in prior releases) or will ship in the next release (via the current commit subjects in the v1.60.1..main window) — the .changeset/ files are inert. Also removes the dead workflow `paths:` filters in test_e2e-dojo.yml and test_e2e-legacy-v1.yml that re-fired e2e on .changeset/ changes — nothing to fire on after the directory is gone.
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
---
|
||||
"@copilotkitnext/angular": patch
|
||||
---
|
||||
|
||||
fix(angular): support Angular 19–21 install and fix README package name
|
||||
|
||||
Two fixes hit on a fresh Angular 21 setup:
|
||||
|
||||
- Widen the `@angular/*` peer dependency range from `^19.0.0` to
|
||||
`^19.0.0 || ^20.0.0 || ^21.0.0` so a clean install on Angular 20/21 no longer
|
||||
throws `ERESOLVE` (previously required `--legacy-peer-deps`).
|
||||
- Correct the README: the package name is `@copilotkitnext/angular` (the old
|
||||
`@copilotkit/angular` import path does not exist on npm), the install command
|
||||
is `npm install @copilotkitnext/angular`, and document the current `TS7016`
|
||||
TypeScript workaround until the `exports` map ships a `types` condition.
|
||||
@@ -1,11 +0,0 @@
|
||||
---
|
||||
"@copilotkitnext/angular": patch
|
||||
---
|
||||
|
||||
fix(angular): disable the unlicensed watermark
|
||||
|
||||
The Angular SDK no longer renders the "CopilotKit Unlicensed" watermark (or logs
|
||||
the related "License Required" console warning) when no CopilotCloud license key
|
||||
is provided. The watermark implementation is kept in place and can be re-enabled
|
||||
by flipping `LICENSE_WATERMARK_ENABLED` back to `true`. The `licenseKey` option
|
||||
and its `X-CopilotCloud-Public-Api-Key` header injection are unchanged.
|
||||
@@ -1,12 +0,0 @@
|
||||
---
|
||||
"@copilotkit/runtime": patch
|
||||
"@copilotkit/shared": patch
|
||||
---
|
||||
|
||||
chore: bump `@copilotkit/license-verifier` to `0.2.0`
|
||||
|
||||
The license verifier's `LicensePayload` now includes a required `telemetry_id`
|
||||
field. Runtime code paths that consume verified payloads continue to work
|
||||
unchanged; the re-exported `LicensePayload` type on `@copilotkit/shared` now
|
||||
requires `telemetry_id` on literals (see ENT-251 on the intelligence side for
|
||||
the motivation).
|
||||
@@ -1,10 +0,0 @@
|
||||
---
|
||||
"@copilotkit/shared": minor
|
||||
"@copilotkit/runtime": minor
|
||||
"@copilotkit/react-core": minor
|
||||
"@copilotkit/core": minor
|
||||
---
|
||||
|
||||
feat: add debug mode to runtime and client
|
||||
|
||||
Add `debug` option to `CopilotRuntime` constructor and `<CopilotKit>` provider for detailed event pipeline logging. Server-side uses Pino structured logger; client-side passes config through to AG-UI transport. Accepts `true` for default output or a granular config: `{ events, lifecycle, verbose }`.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
"@copilotkit/runtime": patch
|
||||
---
|
||||
|
||||
fix: preserve jsonSchema structure in MCP tool parameter extraction
|
||||
@@ -1,14 +0,0 @@
|
||||
---
|
||||
"@copilotkit/react-core": minor
|
||||
"@copilotkit/core": patch
|
||||
---
|
||||
|
||||
fix(threads): stabilize thread-switch UX, skip /connect for absent threads
|
||||
|
||||
- Skip `connectAgent` when `CopilotChat` is rendered without a caller-supplied `threadId`. A locally-minted UUID has no backend record, so `/connect` would always 404 on the intelligence platform.
|
||||
- Expose `lastRunAt` on `Thread` and use it (with fallback to `updatedAt`, then `createdAt`) as the `useThreads` sort key so metadata-only actions like archive/rename no longer reshuffle the list.
|
||||
- `useThreads` waits for `runtimeConnectionStatus === Connected` before dispatching the store context, eliminating a speculative `/threads` fetch that fired before `/info` returned `wsUrl`.
|
||||
- Reserve room for the fixed "Powered by CopilotKit" license badge via a new `--copilotkit-license-banner-offset` CSS var published by the banner; chat input consumes it when bottom-anchored so the two no longer overlap.
|
||||
- Add a new `bottomAnchored` prop on `CopilotChatInput` for callers rendering it as a flex-last-child.
|
||||
|
||||
**Behavior change (chat suggestions):** `CopilotChatView` no longer renders suggestions while `isRunning` is true. Previously, suggestions could appear against a streaming-in message tree and visibly reflow as text chunks landed. If you relied on suggestions staying visible during a run, you'll now see them only once the run finalizes (or the thread's initial connect completes).
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
"@copilotkit/react-core": patch
|
||||
---
|
||||
|
||||
fix: keep SDK-generated chat threads active across frontend tool follow-up runs
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
"@copilotkit/react-core": patch
|
||||
---
|
||||
|
||||
fix: pass toolCallId to useRenderTool render components
|
||||
@@ -1,13 +0,0 @@
|
||||
---
|
||||
"@copilotkit/core": patch
|
||||
---
|
||||
|
||||
fix(core): only reset agent state and replay cursor on actual thread switch
|
||||
|
||||
`RunHandler.connectAgent` previously called `agent.setMessages([])` + `agent.setState({})` and the IntelligenceAgent delegate's `clearReconnectCursor` on every connect, including effect-dep churn re-connects on the same thread. That forced the realtime gateway to replay the topic's full event history every time the chat re-opened a socket — which under React effect churn happens 3-5 times per thread switch — and produced both halves of Tyler's bug: duplicate `cpki_event_id` rows in the inspector and intermittent "Message not found" toasts.
|
||||
|
||||
This change tracks the most recent connected threadId on `RunHandler` and gates the state-reset + cursor-clear on that threadId actually changing. Same-thread churn re-connects now preserve local messages/state and the gateway can resume from `lastSeenEventId`. Actual thread switches still wipe local state and ask for a full historical replay.
|
||||
|
||||
Supersedes #4720, which attempted to solve only the inspector duplicate-row symptom by adding a dispatcher dedup but introduced a regression in the A → B → A restore path (the dedup blocked the gateway's restore replay for thread A on second visit). The dispatcher dedup is removed entirely; the orchestrator-level gate is sufficient.
|
||||
|
||||
Adds focused unit tests covering: same-thread churn does not reset, cross-thread switch does reset, A → B → A resets each transition, and a regression test that replays the same `cpki_event_id` after a thread switch and verifies rehydrate still works.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
"@copilotkit/react-ui": patch
|
||||
---
|
||||
|
||||
fix: pass urlTransform prop through to ReactMarkdown
|
||||
@@ -1,29 +0,0 @@
|
||||
---
|
||||
"@copilotkit/bot-slack": minor
|
||||
"@copilotkit/bot": minor
|
||||
"@copilotkit/bot-ui": minor
|
||||
---
|
||||
|
||||
feat(bot-slack): agent-native Slack APIs — assistant pane + native streaming, on by default
|
||||
|
||||
The Slack adapter now activates Slack's agent-grade APIs with zero config:
|
||||
|
||||
- **Assistant pane** ("Agents & AI Apps"): opening the pane greets the user with
|
||||
tappable prompt chips, each pane conversation is its own thread (replies stay
|
||||
in-thread), and the agent's run/tool lifecycle drives native composer status
|
||||
("is thinking…", "is using `tool`…") instead of placeholder/`:wrench:`
|
||||
messages. Auto-titled from the first message.
|
||||
- **Native streaming** (`chat.startStream`/`appendStream`/`stopStream`): replies
|
||||
stream as raw markdown wherever a thread exists, so real tables and fenced code
|
||||
render natively. Flat DMs and workspaces without the streaming API fall back to
|
||||
the legacy `chat.update` transport automatically — opting in can never break a
|
||||
bot.
|
||||
|
||||
Customize with the new `assistant` option (or `assistant: false` to disable the
|
||||
pane); force the old transport with `streaming: "legacy"`.
|
||||
|
||||
The engine (`@copilotkit/bot`) grows the smallest portable surface: a
|
||||
`bot.onThreadStarted` lifecycle handler, capability-gated `thread.setSuggestedPrompts`
|
||||
/ `thread.setTitle`, two `SurfaceCapabilities` flags, and the matching optional
|
||||
`PlatformAdapter` methods — all degrade gracefully on surfaces that don't support
|
||||
them.
|
||||
@@ -7,14 +7,12 @@ on:
|
||||
- "packages/**"
|
||||
- "sdk-python/**"
|
||||
- ".github/workflows/test_e2e-dojo.yml"
|
||||
- ".changeset"
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
- "packages/**"
|
||||
- "sdk-python/**"
|
||||
- ".github/workflows/test_e2e-dojo.yml"
|
||||
- ".changeset"
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
branch:
|
||||
@@ -54,7 +52,6 @@ jobs:
|
||||
ts:
|
||||
- 'packages/**'
|
||||
- '.github/workflows/test_e2e-dojo.yml'
|
||||
- '.changeset'
|
||||
python:
|
||||
- 'sdk-python/**'
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@ on:
|
||||
paths:
|
||||
- "examples/**"
|
||||
- ".github/workflows/test_e2e-legacy-v1.yml"
|
||||
- ".changeset"
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
|
||||
Reference in New Issue
Block a user