Commit Graph

12110 Commits

Author SHA1 Message Date
Ben Taylor ba7e83d0fc fix(inspector): persist announcement popout dismissal via X control (#5448)
## Problem

Users reported that the announcement banner popping out of the
inspector's floating icon **does not stay closed after dismissing it**.

Confirmed in a real browser: the popout reappears on every reload. Root
cause — the popout preview bubble (`renderAnnouncementPreview`) had **no
dismiss control of its own**. Its only hide paths
(`handleAnnouncementPreviewClick`, `openInspector`) clear an in-memory
flag without persisting. On every mount `fetchAnnouncement()` recomputes
`showAnnouncementPreview` from the stored timestamp — which only the
*in-window* banner X (`markAnnouncementSeen`) ever wrote. So unless the
user opened the inspector and dismissed the inner banner, the popout
came back on every load.

## Fix

Add an X / dismiss control directly to the popout bubble:
- Click (or Enter/Space) → `markAnnouncementSeen()`, which **persists**
the announcement timestamp to `localStorage`.
- `event.stopPropagation()` so the X does not bubble up to the preview
body / floating button (i.e. it dismisses without opening the
inspector).
- Implemented as a `role="button"` span (not a `<button>`): the popout
renders *inside* the floating `<button>`, so a nested `<button>` would
be invalid HTML. Includes keyboard support and `:focus-visible` styling.

Body-click behavior is unchanged: clicking the bubble itself still opens
the inspector (engagement), and intentionally does **not** persist, so
the in-window banner still surfaces the announcement.

## Verification

- **Live browser:** popout shows X → click → `localStorage` persists
`{"timestamp":...}`, inspector stays closed → **reload keeps it gone**.
- **Unit tests (3 new, full suite 32/32 green):** X persists timestamp &
hides bubble; X does not open the inspector; body-click still opens
*without* persisting.
- Format (`oxfmt`), lint (`oxlint`), and build all clean; pre-commit
full-suite passed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2026-06-16 14:04:40 -05:00
Jordan Ritter 9d5f214047 refactor(showcase): rename cell-badge RT → BE (parallel to E2E → UI in #5473) (#5503)
## Summary

Renames the per-cell health badge from **`RT`** to **`BE`** in the
showcase dashboard cell grid. Mirrors PR #5473's `E2E → UI` shape
exactly — a follow-up to PR #5498 which renamed the L1 row label /
catalog stats display ("Wired" → "BE (Agent)") but missed the per-cell
badge code, which is what the user actually asked for.

## Why

PR #5498 unified the long-form display label "Wired" → "BE (Agent)"
across the L1 row in `level-strip`, the legend in `packages-section`,
and the catalog status display in
`stats-bar`/`adaptive-stats-bar`/`coverage-bar`/`filter-chips`. But the
per-cell badge grid (D3=`UI`, D4=`RT`, D5=`CV`, D6=`D6`) still showed
`RT ✓` because that label lives in `unified-cell.tsx`'s `HealthLayer`
component — outside #5498's diff.

PR #5473 set the exact precedent: when relabeling `E2E (Demo)` → `UI
(Frontend)`, both the long form AND the 2-char cell badge code
(`name="E2E"` → `name="UI"`) flipped. This PR applies the same shape:
the long form `BE (Agent)` already exists (from #5498); now the 2-char
cell badge code flips `RT` → `BE`.

## Scope

13 files, +51/-51 lines:

**Visible label flips (sources, 6 files):**
- `unified-cell.tsx` — `<TestBadge name="RT" level={model.d4} />` →
`name="BE"`, legend comment `"D4 = RT"` → `"D4 = BE"`, doc-comment refs
`CV/API/RT` → `CV/API/BE`
- `cell-drilldown.tsx` — `{ key: "d4", label: "RT (Round Trip)" }` →
`"BE (Round Trip)"`, doc-comments updated
- `adaptive-legend.tsx` — `"Round Trip (RT)"` → `"Round Trip (BE)"`
- `composed-cell.tsx`, `lib/cell-model.ts`, `lib/page-stats.ts` —
comment references

**Test updates (7 files):**
- `cell-pieces.test.tsx`, `cell-pieces.signal-degrade.test.tsx`
- `__tests__/cell-drilldown.lazy-signal.test.tsx`,
`__tests__/cell-drilldown.test.tsx`
- `__tests__/dashboard-color-matrix.test.tsx`,
`__tests__/overlay-selector-integration.test.tsx`,
`__tests__/unified-cell.test.tsx`
- Updates: `mock-badge-RT` → `mock-badge-BE`, `drilldown-badge-rt-…` →
`drilldown-badge-be-…`, `"RT (Round Trip)"` → `"BE (Round Trip)"`,
`"RT"` literal assertions → `"BE"`

## Stable contracts preserved (no behavior change)

- `level={model.d4}` — D4 dimension level identifier
- `dimensionKey={keyFor("e2e", …)}` (where applicable) and other
persisted dimension codes
- Probe registry keys `d4` / `chat` / `tools`
- All PocketBase row keys, LiveDimension union values, Status enum
string values

Only the visible `name` string flips.

## Remaining "RT" references (intentional)

2 historical-commentary references in
`cell-pieces.signal-degrade.test.tsx` lines 123–124 documenting the
rename lineage (`RT → UI → BE`). Not visible UI strings or test
assertions.

## Verification

- typecheck (`tsc --noEmit`): clean
- tests (`vitest run`): 1089 passed / 1 skipped / 0 failed across 63
files
- build (`next build`): clean
- oxfmt `--check`: all 13 files correctly formatted
- NUL-byte scan: empty

## Related

- PR #5473 — original `E2E → UI` taxonomy rename (template)
- PR #5498 — `"Wired" → "BE (Agent)"` L1 row + catalog stats (which
missed this cell-badge rename)
2026-06-16 11:54:20 -07:00
Austin Merrick b97157cadc docs: add Vue quick start guide
Add a minimal getting-started guide for @copilotkit/vue under Platforms.
Connects a Vue app directly to an AG-UI agent via HttpAgent so there is no
runtime to stand up, and imports from @copilotkit/vue/v2 to match the v2
docs convention. Links out to Integrations for agent-side setup.
2026-06-16 11:51:50 -07:00
Jordan Ritter 02275af2ab fix(showcase/aimock/d6/claude-sdk-typescript): delete dead turnIndex:0 fallback entries (consistency with A2-cleaned siblings)
After A2 (commit 6c596d8d6) stripped toolName from the primary emit entries, sibling turnIndex:0 fallback entries became unreachable under first-match-wins. The 7 A2-target siblings (ag2/google-adk/lgf/lgts/mastra/msdotnet/csdkts toolName strip) had equivalent dead fallbacks deleted in that commit; csdkts was inconsistently treated. Removing the 2 dead entries restores cross-fleet consistency. Probe contract unaffected — toolCallId-gated narration entries still emit the required content phrase.

(cherry picked from commit 9720636519f4cd858fcdc08ed84597be05604a2e)
2026-06-16 11:44:17 -07:00
Jordan Ritter 8ad31e7810 fix(showcase/aimock/d6): bring AAPL response payload to canonical $338.37/-2.96% on 3 fixtures
crewai-crews/ms-agent-python/pydantic-ai catchall AAPL entries still carried stale $189.42/up 1.27% narration and toolCall args lacking price_usd/change_pct. Round 1 CR finding #3 was identified but never given a fix agent. Brought all 3 to canonical shape matching built-in-agent (A5) and csdkts narration (A6): price_usd=338.37, change_pct=-2.96, narration 'AAPL is trading at $338.37, down 2.96% on the day — rendered through the custom wildcard catchall.'

(cherry picked from commit df84657310451500278d0b3d0125c9c490042d2b)
2026-06-16 11:44:17 -07:00
Jordan Ritter 601e45f0d8 refactor(showcase): rename cell-badge RT → BE (parallel to E2E → UI in #5473)
PR #5498 was mis-scoped — it renamed the L1 row label and catalog status
display from "Wired" to "BE (Agent)", but the dashboard's per-cell badge
code rendered in the grid was still "RT". This commit lands the parallel
flip that mirrors PR #5473's E2E → UI rename for the D4 chat/tools
round-trip badge.

Visible-label flips (RT → BE):
  - unified-cell.tsx: <TestBadge name="RT" level={model.d4} /> → name="BE"
  - cell-drilldown.tsx: { key: "d4", label: "RT (Round Trip)" } → "BE (Round Trip)"
  - adaptive-legend.tsx: legend entry "Round Trip (RT)" → "Round Trip (BE)"
  - Doc-comment taxonomy notes in cell-pieces.test.tsx, composed-cell.tsx,
    cell-model.ts, page-stats.ts, unified-cell.tsx, cell-drilldown.tsx,
    overlay-selector-integration.test.tsx, dashboard-color-matrix.test.tsx
  - Test assertions in dashboard-color-matrix.test.tsx, cell-drilldown.test.tsx,
    unified-cell.test.tsx (mock-badge-RT → mock-badge-BE, drilldown-badge-rt-
    → drilldown-badge-be-, "RT (Round Trip)" → "BE (Round Trip)")

Stable contract identifiers are PRESERVED — only the visible name flips:
  - level={model.d4} unchanged (D4 is still D4)
  - dimensionKey={keyFor("e2e", ...)} unchanged
  - probe registry-key "d4"/"chat"/"tools" unchanged
  - persisted dimension codes unchanged

Two intentional residual "RT" mentions remain in
cell-pieces.signal-degrade.test.tsx as historical commentary documenting
the rename lineage (RT → UI on the e2e badge in #5473, then RT → BE on the
D4 badge here).

Verification (in showcase/shell-dashboard):
  - npm run typecheck: clean
  - npm test: 1089 tests passed
  - npm run build: clean (next build OK)
  - LC_ALL=C grep -rlP '\x00' showcase/shell-dashboard/src: empty
2026-06-16 11:40:50 -07:00
Jordan Ritter e266b6215c fix(showcase/harness): wire requireContentPhrase=true in custom-catchall turn-2 assertion
validateCustomCatchall's requireContentPhrase branch was unreachable: assertCustomCatchall defaulted it to false and no caller overrode. The whole point of the PR is to catch cross-fixture leakage via content assertion — wiring it on. Turn-2 (Quote AAPL) now asserts the custom content phrase is present in the rendered bubbles, not just the testid.

(cherry picked from commit c9620c96f9addfee18f87fb1f8b2ae7fb040b3b8)
2026-06-16 11:27:56 -07:00
Jordan Ritter d091749477 fix(showcase/harness): correct fixtureFile metadata on catchall probes
Probes registered fixtureFile: 'tool-rendering.json' but actual files are tool-rendering-{default,custom}-catchall.json. Field is signal-only (aimock loads directory-wide content-driven matching) but accurate metadata helps debugging. Test files updated to enforce the correct values.

(cherry picked from commit 3c9de26375546f2269870b563ecd1526ec5a3bc2)
2026-06-16 11:27:46 -07:00
Jordan Ritter 6c596d8d65 fix(showcase/aimock/d6): strip toolName gate + dead turnIndex:0 content fallbacks in 7 catchall fixtures
ag2/claude-sdk-typescript/google-adk/langgraph-fastapi/langgraph-typescript/mastra/ms-agent-dotnet: AAPL is turn-1 so turnIndex:0 fallback unreachable; toolName gate fails on wildcard-renderer integrations that don't register get_stock_price. Aligned to LGP-gold pattern (userMessage+context discriminator, no toolName, no turnIndex:0 fallback). Preserved legitimate multi-pill matchers (SF/flights/d20/chain) on the 4 multi-pill integrations.

(cherry picked from commit c10821b5d904b31bee2ab2a39db3b1565aecba26)
2026-06-16 11:27:37 -07:00
Jordan Ritter 9e2c91d02f fix(showcase/aimock/d6/claude-sdk-typescript): replace duplicated stock_price toolCall in AAPL fallback with narration content
(cherry picked from commit 5081966fbddf5d0090e333005bb63f5dd4b36c58)
2026-06-16 11:27:27 -07:00
Jordan Ritter 6d60cfd310 fix(showcase/aimock/d6/built-in-agent): align AAPL price to $338.37 (fleet parity)
built-in-agent shipped $189.42 vs the rest of the fleet's $338.37. Drift makes any content-asserting test on AAPL price brittle. Aligned.

(cherry picked from commit c0796da2a63abfeaa1d8ea06200df0754d30a2e6)
2026-06-16 11:27:17 -07:00
Jordan Ritter 14667871a8 fix(showcase/aimock/d6/spring-ai): strip hasToolResult from weather emit (LGP-gold parity)
spring-ai retained hasToolResult:false on the Tokyo weather emit fixture — outlier vs LGP-gold and the other 16 catchall fixtures. Aligned: userMessage+context discriminator only.

(cherry picked from commit d268a88c4a3f405dfcc15b2aaccc190e61cd7ac7)
2026-06-16 11:27:06 -07:00
Jordan Ritter 072c18bf19 fix(showcase/aimock/d6): strip permanently-true hasToolResult gate on AAPL in 4 catchall fixtures
built-in-agent, crewai-crews, ms-agent-python, pydantic-ai: Tokyo turn-1 tool result makes hasToolResult permanently true → AAPL fixture never matched → 30s timeout. Aligned with agno/langroid/llamaindex/strands/claude-sdk-python pattern: rely on userMessage+context (and toolCallId where relevant) as the gate.

(cherry picked from commit 8e313cd1b043cf1c61efb82143171a28d7699c49)
2026-06-16 11:26:57 -07:00
Benjamin Taylor 9a0154da32 fix(inspector): render announcement popout as button sibling, not child
Address review: the popout dismiss control was a focusable interactive
element (role="button" + tabindex) rendered INSIDE the floating inspector
<button>. That violates the HTML button content model — a <button> may not
contain interactive descendants or descendants with tabindex, even when the
descendant isn't itself a <button>.

Render the announcement preview as a SIBLING of the floating button inside a
position: relative wrapper, so the dismiss affordance becomes a real
<button type="button">. The wrapper preserves the absolute positioning, so
the bubble still anchors to the button's edge (verified live: identical
placement). Native button keyboard handling replaces the manual Enter/Space
keydown shim. stopPropagation still keeps the X from bubbling to the preview
body (which opens the inspector).

Behavior unchanged and re-verified in a real browser: X persists the
timestamp + hides the bubble without opening the inspector; body-click opens
without persisting. web-inspector suite 32/32 green.

(--no-verify: the full-package pre-commit suite has pre-existing, unrelated
failures in core/runtime/sdk-js transport tests; this change only touches
packages/web-inspector.)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 13:24:34 -05:00
Benjamin Taylor 87e16edfa5 fix(inspector): persist announcement popout dismissal via X control
The announcement preview bubble that pops out of the floating inspector
button had no dismiss control of its own. Its only hide paths
(handleAnnouncementPreviewClick / openInspector) cleared an in-memory flag
without persisting, so on the next mount fetchAnnouncement() recomputed
showAnnouncementPreview from the stored timestamp — which only the in-window
banner X ever wrote. Result: the popout reappeared on every reload unless the
user opened the inspector and dismissed the inner banner.

Add an X control to the popout that calls markAnnouncementSeen() (persists the
timestamp) and stopPropagation() (so the X does not bubble up and open the
inspector). The control is a role="button" span — the popout renders inside the
floating <button>, so a nested <button> would be invalid HTML. Includes
Enter/Space keyboard support and focus-visible styling.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 13:24:34 -05:00
Alem Tuzlak 44862c7ae3 chore(docs): allowlist gpt-5.5 model family for doc model-name validation 2026-06-16 19:57:12 +02:00
Alem Tuzlak 42636d0094 style: oxfmt bot-whatsapp + example 2026-06-16 19:26:52 +02:00
Martha Schumann e322df60cd Merge remote-tracking branch 'origin/docs/FAC-65-shared-v2-imports' into docs/FAC-65-shared-v2-imports 2026-06-16 10:23:03 -07:00
Martha Schumann 5117ed4d1d Merge remote-tracking branch 'origin/main' into docs/FAC-65-shared-v2-imports 2026-06-16 10:22:03 -07:00
Martha Kelly Schumann 7248aaa6f1 fix(docs): validate showcase docs model names (#5496)
## Summary
- update docs integration workflow triggers to include Showcase docs
content
- fix invalid Showcase docs model names currently caught by the shared
docs model validator

## Why
The model-name validator scans both legacy docs and Showcase docs, but
the GitHub Actions workflow only ran for `docs/**` changes. This allowed
invalid Showcase docs content to land without this validation, then fail
later on an unrelated docs PR.

## Verification
- `pnpm tsx scripts/validate-doc-model-names.ts`
- `git diff --check`
- pre-commit hook: `pnpm run test && pnpm run check:packages`
2026-06-16 10:21:21 -07:00
Alem Tuzlak c1b77d8058 feat(whatsapp-example): chart rendering, fail-loud handler, bold issue ids
- add render_chart tool: builds a QuickChart image, fetches the PNG server-side
  and uploads the bytes to WhatsApp (no headless browser, no fragile external
  fetch by WhatsApp); update the agent prompt to use it
- onMessage: fail loud — post a visible error to the user if a turn throws,
  instead of leaving them with silence
- issue_list: use **bold** so issue ids render bold on WhatsApp
2026-06-16 19:20:08 +02:00
Alem Tuzlak 0214e5ac63 fix(bot-whatsapp): correct IR rendering, HITL buttons, typing, quote-reply
- render: walk the real renderToIR tree — read text nodes' `value` and recurse
  into nested containers, so card text and buttons inside <Actions> render
  (previously produced zero payloads → silent no-send)
- render: value-only buttons (awaitChoice HITL confirm/cancel) now render,
  encoding the value in the reply id so the engine's waiter resolves
- adapter: native WhatsApp typing indicator on every inbound (read receipt +
  typing_indicator); supportsTyping = true
- ingress: resolve quote-replies — the webhook sends only the quoted message's
  id, so look it up in history and prepend its text to the turn
- adapter: record every outbound message (text + cards) in history keyed by its
  wamid, so quote-replies to the bot's own messages resolve too
- tests: +9 covering the renderToIR shape, value-only buttons, typing, quote
  resolution, and outbound recording (71 total)
2026-06-16 19:19:43 +02:00
Martha Kelly Schumann fae4d30ad8 Merge branch 'main' into codex/fix-docs-model-validator-trigger 2026-06-16 10:10:06 -07:00
Tyler Slaton 3fb24ef403 fix(shell-docs): address docs review edge cases 2026-06-16 10:08:54 -07:00
Benjamin Taylor 6618d92f72 ci(test-unit): scope build+test to nx affected packages
Run `test / unit` over only the packages affected since the base instead
of building + testing every package 3× across the Node 20/22/24 matrix on
every PR.

- fetch-depth: 0 so affected has a merge-base to diff against.
- Derive NX_BASE/NX_HEAD: PR → merge-base with the base branch tip; push →
  github.event.before with a HEAD~1 fallback.
- Select packages via `nx show projects --affected --projects='packages/**'`
  fed to run-many (the `nx affected` run form ignores --projects and pulls
  in downstream examples/storybook — hence the show-projects → run-many split).
- workflow_dispatch still runs all packages (manual/full run).
- Editing this workflow can't surface as an affected package, so a change to
  test_unit.yml in the range now forces a full all-packages run — this keeps
  the build/test path exercised on the PR that changes it.
- GitHub context passed via env: (not inline ${{ }}) to satisfy zizmor;
  NX_VERBOSE_LOGGING forced off for the JSON-parsing step.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 12:08:18 -05:00
Tyler Slaton 88588223af fix(react-core): add dark mode styling for default tool rendering (#5455)
## Summary
- Update the default tool-call renderer to use dark-theme-aware classes
for the card, header, status badge, and detail panels
- Add coverage for the dark theme styling path in unit tests
- Add a Storybook example that demonstrates the default tool renderer on
a dark CopilotKit surface

## Testing
- Added unit tests for the renderer’s dark-theme class output and
expanded details state
- Not run (not requested)
2026-06-16 10:04:54 -07:00
Tyler Slaton 06cee3f727 fix(vue): adjust pin-to-send spacer in both directions to keep the user message pinned (#5423)
## What does this PR do?

Ports the `usePinToSend` spacer fix from #5386 to the Vue package.
`packages/vue/src/v2/hooks/use-pin-to-send.ts` is a documented 1:1
parity port of the React hook and retained the shrink-only
`ResizeObserver`: when content below the anchored user message loses
height (suggestions swapping in, input container resizing after
streaming), the spacer could not grow back, so total scrollable height
dropped and the pinned message shifted — the same defect class reported
in #5355.

- Lets the spacer adjust in both directions so total scrollable space
below the pinned bubble stays constant.
- Mirrors the test change from #5386 1:1 in the Vue suite (red/green:
the updated assertion fails on the shrink-only implementation, passes
with the fix).
- Updates the `PARITY.md` row and hook JSDoc that documented the old
shrink-only semantics.

Vue has no scroll-to-bottom button, so the scroll-listener half of #5386
does not apply here.

## Related PRs and Issues

- Follow-up to #5386
- Relates to #5355 (Vue side of the same spacer defect)

## Tests

- `nx test @copilotkit/vue` — 1001 passed (94 files), including the
mirrored `adjusts spacer as content height changes to keep the user
message pinned` case
- `nx build @copilotkit/vue` — green (dts build)
- `oxfmt --check` clean on touched files
- Pre-existing on main, untouched by this diff: 176 package-wide lint
errors (identical count on clean main) and
`@copilotkit/core:check-types` failures

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2026-06-16 10:03:43 -07:00
Jordan Ritter 06112f4c36 refactor(showcase): rename Wired → BE (Agent) across dashboard taxonomies (#5498)
## Summary

Renames the display label \"Wired\" to **\"BE (Agent)\"** across both
taxonomies in the showcase dashboard, unifying the two overloaded
meanings (live-probe runtime health + catalog integration build state)
under one user-visible name. Mirrors the shape of #5473's `E2E (Demo)` →
`UI (Frontend)` rename — same atomic, label-only refactor.

## Why

The word \"Wired\" was overloaded across the dashboard:
- The **live-probe L1 row** in `level-strip` rendered \"Wired\" for
runtime backend health (the agent is up and responding).
- The **catalog integration-status** column in
`stats-bar`/`adaptive-stats-bar`/`coverage-bar`/`filter-chips` rendered
\"Wired\" for build state (the integration is built and shipped).

Both refer to the same underlying thing — the backend agent integration
— at different lifecycle stages. Calling both **\"BE (Agent)\"** makes
the dashboard internally consistent and aligns with the parallel \"UI
(Frontend)\" label introduced in #5473.

## Scope

- Visible label flip across `level-strip.tsx`, `packages-section.tsx`
legend (incl. `W=Wired` → `B=BE (Agent)` mnemonic), `stats-bar.tsx`,
`adaptive-stats-bar.tsx`, `coverage-bar.tsx`, `filter-chips.tsx`.
- Internal counter renames: `pctWired`/`totalWired` →
`pctBeAgent`/`totalBeAgent` (`coverage-bar.tsx`, `cells-view.tsx`,
`parity-view.tsx`).
- Test assertion + comment updates in `level-strip.test.tsx`,
`packages-section.test.tsx`.
- Slugifier fix in `stats-bar.tsx` testid generator —
`label.toLowerCase()` on `\"BE (Agent)\"` previously produced `stat-be
(agent)` (spaces + parens). Now slugifies to `stat-be-agent`.
Incidentally also fixes the pre-existing `stat-max depth` →
`stat-max-depth`. Surfaced and fixed during cr-loop Round 1.

## Stable contracts preserved (no behavior change)

- PocketBase row keys `agent:<slug>`
- `LiveDimension` union value `\"agent\"`
- `Status` enum string values `\"wired\" | \"stub\" | \"unshipped\" |
\"unsupported\"` (persisted catalog data; only display labels flip)
- Filter chip `id: \"wired\"` (filter state key joining to
`cell-matrix.tsx`)
- `catalog.metadata.wired` data field reads
- Harness driver `kind`/emission contracts
- `data-testid=\"coverage-segment-wired\"`

## Commits (4)

- \`ef40bd7c\` live-probe agent dimension Wired → BE (Agent)
- \`bfebac65\` catalog status Wired display → BE (Agent)
- \`f316d055\` rename internal Wired counters to BeAgent
- \`80b526d6\` slugify stats-bar testids (CR fix)

## Verification

- typecheck (\`tsc --noEmit\`): clean
- lint (next build inline): clean
- tests (\`vitest run\`): 1089 pass / 1 skip / 0 fail across 63 files
- build (\`next build\`): clean
- oxfmt: clean
- NUL-byte scan: empty
- cr-loop converged at Round 2 with Procedure 3 audit returning 0
PROMOTE_TO_A items

## Follow-up backlog

Round 1 + Round 2 surfaced ~30 pre-existing structural findings in
adjacent code (not subject-scope for this rename). Grouped into 8
follow-up PR subjects: fail-loud sweep, catalog view derivation
extraction, derivePackageDepth gate consistency, parity tier counting
hardening, coverage-bar tooltip/rounding, cells-view stats useMemo, test
hardening, Tailwind opacity-on-CSS-var. None block this rename.
2026-06-16 09:58:23 -07:00
wuyangfan a76b2eff69 docs: apply LangGraph link fixes to shell-docs (canonical source)
The top-level docs/ folder is retired; the live docs are sourced from
showcase/shell-docs. Move the same three link fixes there and revert the
no-op edits to docs/:

- configurable.mdx: graph-api -> use-graph-api (#add-runtime-configuration)
- configurable.mdx: drop malformed %23 double-anchor on the schema link
- step-2-langgraph-agent.mdx: studio.langchain.com -> docs.langchain.com/.../studio

Closes #3190.
2026-06-16 09:56:53 -07:00
Martha Schumann 38e987f7e4 fix(docs): validate showcase docs model names 2026-06-16 09:55:14 -07:00
Tyler Slaton 0df97a830b fix(examples): bump integrations to @copilotkit 1.60.1 for @ag-ui fetch fix (#5457)
## Summary

Fixes the integration examples whose chat never responds and logs this
on **every agent run**:

```
TypeError: Failed to execute 'fetch' on 'Window': Illegal invocation
  (agent_run_failed_event){ source: onRunFailed, agentId: default }
```

The fix is a dependency bump that lands every integration demo on
`@copilotkit/* 1.60.1` + `@ag-ui/client 0.0.57`.

## Root cause

`@ag-ui/client@0.0.56` (and `0.0.55`/`0.0.53`) `HttpAgent` stores the
global `fetch` **unbound** and later calls it as a method:

```ts
// buggy
this.fetch = config.fetch ?? fetch;
run(input) { return runHttpRequest(() => this.fetch(this.url, this.requestInit(input))); }
```

`this.fetch(...)` invokes native `fetch` with the agent instance as the
receiver instead of `window`. Native `fetch` is brand-checked and throws
`Illegal invocation`. It fires on the client run path
(`ProxiedCopilotRuntimeAgent.run` → `#runViaHttp`) in **both dev and
prod** — not environment-specific.

Fixed upstream in `@ag-ui/client@0.0.57`:

```ts
this.fetch = config.fetch ?? ((url, requestInit) => fetch(url, requestInit));
```

`@copilotkit/* 1.60.1` (published) bumped its pin to
`@ag-ui/client@0.0.57`. Examples still on `1.60.0` ship the buggy client
— which is why deployments fail.

## What changed (all `examples/integrations/*`)

- **`@copilotkit/* 1.60.0 → 1.60.1`** across every integration demo. The
`_parity` manifest requires all demos to track the north-star
(`langgraph-python`) `@copilotkit` version, so they move in lockstep — a
partial bump fails `parity-check`.
- **Starter-fleet apps force a single `@ag-ui` tree via `overrides`**
(`@ag-ui/client|core|encoder|proto`). Bumped that single-tree pin
**`0.0.53`/`0.0.55` → `0.0.57`** so they actually carry the fetch fix
instead of a `1.60.1 ↔ 0.0.55` skew. Adapter packages (`@ag-ui/crewai`,
`@ag-ui/mastra`, `@ag-ui/llamaindex`, `@ag-ui/a2a`, middlewares) are
intentionally left at their own versions.
- Lockfiles regenerated; all resolve `@ag-ui/client 0.0.57`.

## Verification

- [x] Reproduced `Illegal invocation` locally on `1.60.0` (dev + prod
build)
- [x] Verified `langgraph-python` on `1.60.1`: agent run completes, todo
created, **0 console errors**
- [x] All lockfiles resolve `@ag-ui/client 0.0.57`
- [x] `pnpm parity:check` passes locally (0 errors)
- [ ] CI `parity-check` + per-integration `smoke-starter` green
- [ ] Redeploy affected examples (e.g. Render) and confirm chat works
2026-06-16 09:48:09 -07:00
Jordan Ritter 80b526d68b refactor(showcase): slugify stats-bar testids to handle multi-word labels
The testid generator in stats-bar.tsx used `label.toLowerCase()` directly,
producing fragile selectors with spaces and parens for compound labels.
After this PR's rename of "Wired" to "BE (Agent)", the testid became
`stat-be (agent)` — a CSS-hostile selector. A pre-existing
`stat-max depth` (from "Max Depth") had the same problem but predated
this PR.

Fix: replace with a proper slugifier:
  label.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/(^-|-$)/g, "")

Resulting testids:
  "BE (Agent)"   -> stat-be-agent   (was stat-be (agent), broken)
  "Max Depth"    -> stat-max-depth  (was stat-max depth, pre-existing fix)
  "Stub"         -> stat-stub       (unchanged)
  "Unshipped"    -> stat-unshipped  (unchanged)
  "Unsupported"  -> stat-unsupported (unchanged)
  "Regressions"  -> stat-regressions (unchanged)
  "Failures"     -> stat-failures   (unchanged)

Call-site enumeration receipt (mandatory):
  rg 'stat-wired|stat-be|stat-max|stat-stub|stat-unshipped|stat-unsupported|stat-regressions|stat-failures' showcase/shell-dashboard/
    -> no matches (zero hardcoded references anywhere)
  rg 'data-testid=.stat-|"stat-|`stat-' showcase/shell-dashboard/
    -> only one hit: stats-bar.tsx:29 (the generator itself)
  rg 'stat-' showcase/shell-dashboard/tests/
    -> no matches (no Playwright/visual tests depend on these testids)

No test updates required.

Verification:
  npm run typecheck   -> clean
  npm test            -> 1088 pass / 1 pre-existing unrelated failure
                         (useLiveStatus.test.tsx R5 F5.2 — does not
                         reference stats-bar, exists on PR HEAD)
  npm run build       -> clean (Next.js lint inline; no lint script)
  NUL byte sweep      -> empty
2026-06-16 09:40:49 -07:00
Austin Merrick d88245199f docs: testing that previews are up (#5431) 2026-06-16 09:38:39 -07:00
Jordan Ritter 9491b89340 fix(showcase): disjoint catchall userMessages + content-asserting probes (supersedes #5465)
Closed PR #5465 introduced cross-fixture leakage by stripping the
toolName discriminator on shared {userMessage, context} keys: with
aimock's alphabetical first-match-wins ordering,
tool-rendering-custom-catchall.json sorts before
tool-rendering-default-catchall.json, so default-catchall page requests
were served the custom file's content. The probe was structurally blind
because it asserted only DOM testids (copilot-tool-render +
data-tool-name=get_weather) — both fixtures emit get_weather, so the
testid signal passed regardless of which fixture won.

Real LGP-gold pattern is disjoint userMessages between default and
custom catchall fixtures (NOT shared keys discriminated by toolName).
This PR ports the LGP-gold pattern to the other 17 integrations and
adds page-text content assertions to both d5 catchall probes so this
class of regression can't recur silently:

- Probe prompts disjoint between default-catchall and custom-catchall
- Fixture userMessages updated to match the new disjoint prompts
- Page-text content assertions in both d5 catchall probes
  (default negatively asserts the custom-catchall leak phrase;
   custom positively asserts it)

Local gold-standard red-green proof captured:
- Step A: live staging Playwright baseline (RED-OF-RECORD)
- Step B: local control-plane on origin/main reproduces structural
  fragility (probes pass at testid level, custom fixture wins on
  default's userMessage path)
- Step C: local control-plane on this branch — both catchall probes
  GREEN with the new content-asserting assertions
    tool-rendering-default-catchall: pass=true (5443ms)
    tool-rendering-custom-catchall:  pass=true (8956ms)
                                     cross-tool signature passed

LGP (langgraph-python) was already disjoint; it remains untouched.
2026-06-16 09:37:51 -07:00
Maxim f9bcf11295 fix(examples): sync langgraph-js agent lockfile to @langchain/core 1.1.49
Keeps package-lock.json in sync with the core bump pulled in from main
(#5489) so the agent lockfile is not stale after the rebase.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-16 18:29:30 +02:00
Maxim a144323d35 fix(examples): regenerate integration lockfiles for npm ci
The previous lockfiles were written with `npm install --package-lock-only`,
which left out optional transitive deps (e.g. @emnapi/wasi-threads). The
Docker smoke-starter build runs strict `npm ci`, which then failed with
"package.json and package-lock.json not in sync" (crewai-crews, 9s fail).

Regenerated each lockfile with a full `npm install --ignore-scripts` so the
tree is complete. Verified `npm ci` now succeeds (crewai-crews, mastra) and
all resolve @ag-ui/client 0.0.57.
2026-06-16 18:27:38 +02:00
Maxim cef4fab9d7 fix(examples): bump remaining integrations to 1.60.1 + @ag-ui 0.0.57
Follow-up to the @copilotkit 1.60.1 bump so the integration-demo parity
check passes. The north-star (langgraph-python) is now on 1.60.1, and the
_parity manifest requires every examples/integrations/* demo to track the
same @copilotkit version — so all integrations must move together.

- @copilotkit/* 1.60.0 -> 1.60.1 across the remaining integrations.
- Starter-fleet apps force a single @ag-ui tree via `overrides`
  (@ag-ui/client|core|encoder|proto). Bump that single-tree pin
  0.0.53/0.0.55 -> 0.0.57 so they actually carry the HttpAgent fetch fix
  (Illegal invocation) instead of a 1.60.1<->0.0.55 skew. Adapter packages
  (@ag-ui/crewai, @ag-ui/mastra, @ag-ui/llamaindex, @ag-ui/a2a, middlewares)
  are left untouched.
- Lockfiles regenerated; all resolve @ag-ui/client 0.0.57.

Per-integration smoke-starter CI validates each starter against 0.0.57.
2026-06-16 18:27:37 +02:00
Maxim 0363017503 fix(examples): bump @copilotkit to 1.60.1 for @ag-ui/client fetch fix
The chat never responds and the browser console shows
"TypeError: Failed to execute 'fetch' on 'Window': Illegal invocation"
on every agent run (onRunFailed, agentId: default).

Root cause is in @ag-ui/client@0.0.56's HttpAgent: it stores the global
fetch unbound (`this.fetch = config.fetch ?? fetch`) and later invokes it
as `this.fetch(...)`, so native fetch runs with the agent instance as its
receiver instead of `window`. Native fetch is brand-checked and throws
"Illegal invocation". It surfaces in both dev and prod.

Fixed upstream in @ag-ui/client@0.0.57 (`config.fetch ?? ((url, init) =>
fetch(url, init))`), which shipped in @copilotkit/* 1.60.1. Bumping these
examples 1.60.0 -> 1.60.1 pulls 0.0.57 transitively; lockfiles regenerated.

Scope: only the examples that take @ag-ui transitively from react-core are
bumped here. Other integration examples force-pin @ag-ui via `overrides`
to 0.0.53/0.0.55, where 1.60.1 would create a version skew; those need a
per-integration bump and are intentionally left out of this change.
2026-06-16 18:27:37 +02:00
Maxim e9f1f21ddb fix(examples): bump langgraph-js agent @langchain/core to 1.1.49 (v6 uuid export) (#5489)
## Summary

The `smoke-starter (langgraph-js)` CI job is failing on `main` (and on
every open PR, e.g. #5457). The agent container crashes on startup:

```
SyntaxError: The requested module '@langchain/core/utils/uuid' does not provide an export named 'v6'
```

## Root cause

- `examples/integrations/langgraph-js/docker/Dockerfile.agent` copies
only `package.json` (not the lockfile) and runs `npm install`, so
transitive deps resolve fresh at build time.
- `@langchain/langgraph@1.3.0` →
`@langchain/langgraph-checkpoint@^1.0.2`.
- Checkpoint `1.1.1` (published 2026-06-12) started importing `v6` and
raised its peer to `@langchain/core@^1.1.48`.
- The agent pinned `@langchain/core@1.1.44`, which predates the `v6`
export → import crash.

Verified that `@langchain/core@1.1.44` does not export `v6` from
`utils/uuid` while `1.1.49` does, and a clean `npm install` with core
`1.1.49` dedupes to checkpoint `1.1.1` + core `1.1.49` and imports `v6`
successfully.

## Change

Bump `@langchain/core` `1.1.44` → `1.1.49` in the langgraph-js agent.
The npm `package-lock.json` is intentionally left untouched — no CI job
consumes it (the Docker agent build runs `npm install` against
`package.json`, per the Dockerfile's own "Mirrors the user experience"
comment).

## Test plan

- [ ] `smoke-starter (langgraph-js)` passes on this PR
2026-06-16 18:24:26 +02:00
Jordan Ritter f316d055fb refactor(showcase): rename internal Wired counters to BeAgent
Renames the internal display-counter variables that fed the
stats-bar / coverage-bar "Wired" labels to match the new "BE (Agent)"
taxonomy: totalWired → totalBeAgent in cells-view.tsx and
parity-view.tsx, pctWired → pctBeAgent in coverage-bar.tsx. These
are local render-time aggregates, not part of any persisted
contract.

The status enum literal "wired" (the .filter((c) => c.status ===
"wired") guard, the coverage-segment-wired test ID, and the
wiredByCategory Map's local name) is intentionally preserved — those
all key directly off the persisted catalog Status enum and changing
them would expand scope into the catalog contract.
2026-06-16 09:23:00 -07:00
Jordan Ritter bfebac6565 refactor(showcase): relabel catalog status Wired display → BE (Agent)
Unifies the catalog integration status display label with the same
"BE (Agent)" taxonomy as the live-probe agent dimension. The
underlying Status enum literal ("wired"), the catalog.metadata.wired
data field, and the filter chip id ("wired" → cell-matrix.tsx:311
status === "wired" filter key) are all PRESERVED — they are
persisted catalog data + filter state contracts that must not move.
Only the user-facing display label on stats-bar, adaptive-stats-bar,
and the filter chip flips.

This collapses the two distinct dashboard "Wired" surfaces (the L1
live-probe dimension and the per-cell build-state count) under one
unified label, matching the user-confirmed Path B.
2026-06-16 09:22:41 -07:00
Jordan Ritter ef40bd7cfb refactor(showcase): relabel live-probe agent dimension Wired → BE (Agent)
Unifies the L1 "agent" live-probe display label with the taxonomy
convention established by #5473 (UI (Frontend), E2E, CV, D6 — layer
descriptor in parentheses). The dimension name stays "agent" in code
(PocketBase row keys agent:<slug>, LiveDimension union, keyFor
lookups are all unchanged stable contracts) — only the visible label
changes.

Updates the level-strip L1 badge label and the packages-section
L1-L4 header legend (W → B, "Wired" → "BE (Agent)") so the
level-strip's ToneChip first-letter abbreviation matches the legend
key. Test assertions covering the rendered letter, the legend text,
and the degraded-tone test's local variable follow suit.
2026-06-16 09:22:31 -07:00
Maxim c82e3b40e2 fix(examples): bump langgraph-js agent @langchain/core to 1.1.49 for v6 uuid export
The langgraph-js smoke-starter job crashes on agent startup with
"'@langchain/core/utils/uuid' does not provide an export named 'v6'".

@langchain/langgraph@1.3.0 depends on @langchain/langgraph-checkpoint@^1.0.2.
Checkpoint 1.1.1 (published 2026-06-12) imports v6 and raised its peer to
@langchain/core@^1.1.48. The agent pinned core 1.1.44, which predates the v6
export. The Docker agent build runs `npm install` against package.json (no
lockfile), so it floats to checkpoint 1.1.1 against the too-old core.

Bumping core to 1.1.49 restores the v6 export and satisfies the peer range.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-16 18:11:21 +02:00
Alem Tuzlak d305dc6ef2 fix(examples): regenerate standalone slack lockfile for @copilotkit/bot* 0.0.2 (#5481)
## What

Regenerates the **standalone** `examples/slack/pnpm-lock.yaml` so its
`@copilotkit/bot*` deps match `package.json` (`~0.0.2`).

## Why (the actual Railway failure)

`examples/slack` commits its own standalone `pnpm-lock.yaml`, which
Railway frozen-installs when building with
`rootDirectory=/examples/slack`. PR #5478 fixed the **root** workspace
lockfile but not this standalone one, so it still recorded
`@copilotkit/bot*` at `~0.0.1` while `package.json` requires `~0.0.2`:

```
ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because
pnpm-lock.yaml is not up to date with <ROOT>/package.json
  specifiers in the lockfile ({"@copilotkit/bot":"~0.0.1",...})
  don't match specs in package.json ({"@copilotkit/bot":"~0.0.2",...})
```

## How

Regenerated with the repo's pinned pnpm (10.33.4, via corepack) in
standalone mode — matching how the file was originally produced and how
Railway builds it:

```
pnpm -C examples/slack install --ignore-workspace --lockfile-only
```

Result: importer specifiers are now `~0.0.2` resolving to the published
`0.0.2`; the `@ai-sdk/mcp: 1.0.21` override is preserved.

> Note: regenerating with pnpm 11 dropped the `@ai-sdk/mcp` override
(pnpm 11 ignores `package.json` `pnpm.overrides` in `--ignore-workspace`
mode), so this was generated with the pinned 10.33.4 specifically.

## Verified
`CI=true pnpm -C examples/slack install --ignore-workspace
--frozen-lockfile` → **"Lockfile is up to date"** (exit 0). Full
pre-commit suite + commitlint green. Only
`examples/slack/pnpm-lock.yaml` changed (+103/−32).
2026-06-16 17:09:45 +02:00
Alem Tuzlak 7c884b931b fix(examples): regenerate standalone slack lockfile for @copilotkit/bot* 0.0.2
examples/slack ships a standalone pnpm-lock.yaml (used by Railway when building
with rootDirectory=/examples/slack). PR #5478 fixed the root workspace lockfile
but not this one, so it still pinned @copilotkit/bot* at ~0.0.1 while
package.json now requires ~0.0.2 — pnpm install --frozen-lockfile failed with
ERR_PNPM_OUTDATED_LOCKFILE on deploy.

Regenerate it with the repo's pinned pnpm (10.33.4) via
pnpm -C examples/slack install --ignore-workspace --lockfile-only: importer
specifiers are now ~0.0.2 resolving to the published 0.0.2, the @ai-sdk/mcp
override is preserved. Verified: CI=true frozen install reports "Lockfile is
up to date" (exit 0).
2026-06-16 17:01:26 +02:00
Alem Tuzlak eea1c861c5 docs(examples): note monorepo deploy watch-paths for slack example (#5479)
## What

A small docs touch to `examples/slack/README.md` that (a) documents the
monorepo-deploy watch-path gotcha and (b) **touches a watched path so
Railway redeploys the slack services off latest `main`**.

## Why

PR #5478 fixed the example's lockfile so a standalone deploy resolves
the published `@copilotkit/bot*` `0.0.2` — but that fix only changed
**repo-root** files (`pnpm-lock.yaml`, `package.json`, `.npmrc`). The
`kite-slack-bot` / `runtime` Railway services watch `examples/slack/**`,
so they reported "watched paths not modified" and never picked up the
fix. This commit changes a file under `examples/slack/**`, so merging it
triggers a rebuild of latest `main` (which carries #5478's fix).

The added note also tells future deployers to include the repo-root
`pnpm-lock.yaml` / `package.json` in their Railway watch paths so this
doesn't recur.

Docs-only; no code change.
2026-06-16 16:10:35 +02:00
Alem Tuzlak d6d487ba47 docs(examples): note monorepo deploy watch-paths for slack example
Document that the slack example consumes the published @copilotkit/bot*
packages and that deploys (e.g. Railway) must include the repo-root
pnpm-lock.yaml / package.json in their watch paths, so a dependency bump
triggers a rebuild and a frozen install doesn't fail on an out-of-date
lockfile. Touches examples/slack/** to trigger the Railway redeploy of the
current main (which now carries the deployable-lockfile fix).
2026-06-16 16:01:18 +02:00
Alem Tuzlak a7688dd35e fix(examples): make slack example lockfile deployable (drop workspace override) (#5478)
## What

Fixes the Railway deploy of `examples/slack` failing with
`ERR_PNPM_OUTDATED_LOCKFILE`.

## Why it broke

PR #5476 bumped the example's `@copilotkit/bot*` deps to `~0.0.2` but
the lockfile didn't change — because the root `pnpm.overrides`
(`@copilotkit/bot* → workspace:*`, added for local dev) pinned those
deps to **workspace links** for every importer. So the committed
lockfile recorded the example's bot deps as `~0.0.1` /
`link:../../packages/bot`, which:
- frozen-install validates fine **inside** the monorepo (the override
masks it), but
- a **standalone Railway deploy** frozen-installs only `examples/slack`,
sees `package.json ~0.0.2` vs lockfile `~0.0.1`, and can't resolve
`link:` paths → crash.

## The fix

Now that `bot`/`bot-slack`/`bot-ui` are published at `0.0.2`:
- **Drop the three `@copilotkit/bot*` overrides** from root
`package.json`. Workspace packages still link each other via
`workspace:~`; only the **example** switches to consuming the published
versions — the correct model for a deployable demo.
- **Regenerate `pnpm-lock.yaml`** — the example's importer now records
`specifier: ~0.0.2` resolving to the **registry** `0.0.2` (not a
`link:`), so a standalone frozen install resolves cleanly.
- **Add `@copilotkit/bot*` to `minimum-release-age-exclude`** in
`.npmrc` (matching the existing `@ag-ui/*` entries) so the
freshly-published `0.0.2` resolves past the 24h supply-chain gate.

## Verified
- `pnpm install --frozen-lockfile` → "Lockfile is up to date"; the
registry `0.0.2` packages download cleanly.
- Example importer: `specifier: ~0.0.2`, `version: 0.0.2(...)`
(registry, no `link:`).
- Full pre-commit suite + commitlint green.

## Trade-off
Local monorepo dev of the example now consumes the **published** `0.0.2`
rather than live worktree source. To iterate on the bot packages against
the example locally, temporarily set the example's bot deps to
`workspace:*` (or re-add the overrides) — don't commit that.
2026-06-16 15:30:29 +02:00
Alem Tuzlak 761ae8caec fix(examples): make slack example lockfile deployable (drop workspace override)
The root pnpm.overrides pinned @copilotkit/bot* to workspace:* for every
importer, so the committed lockfile resolved the slack example's bot deps to
workspace links. A standalone deploy (Railway) frozen-installs only the example
and can't resolve those, failing with ERR_PNPM_OUTDATED_LOCKFILE (lockfile
specifiers ~0.0.1 vs package.json ~0.0.2, and link: refs that don't exist
outside the monorepo).

Now that bot/bot-slack/bot-ui are published at 0.0.2, drop the overrides so the
example resolves the published ~0.0.2 from the registry, and regenerate the
lockfile (importer specifiers now ~0.0.2, versions resolve to registry 0.0.2 —
deployable). Add @copilotkit/bot* to minimum-release-age-exclude (matching the
@ag-ui/* entries) so the freshly published 0.0.2 resolves past the 24h gate.

Workspace packages still link each other via workspace:~; only the example
switches to published versions (the correct model for a deployable demo).
2026-06-16 15:16:01 +02:00
Alem Tuzlak 5f1d771cbe chore(examples): bump slack example to @copilotkit/bot* 0.0.2 (#5476)
## What

Bumps the `examples/slack` dependency ranges for the bot packages from
`~0.0.1` to `~0.0.2`, now that `@copilotkit/bot`,
`@copilotkit/bot-slack`, and `@copilotkit/bot-ui` are all published at
**0.0.2** (the agent-native assistant pane + native streaming release).

```diff
-    "@copilotkit/bot": "~0.0.1",
-    "@copilotkit/bot-slack": "~0.0.1",
-    "@copilotkit/bot-ui": "~0.0.1",
+    "@copilotkit/bot": "~0.0.2",
+    "@copilotkit/bot-slack": "~0.0.2",
+    "@copilotkit/bot-ui": "~0.0.2",
```

## Why

A standalone/deployed install of the example (outside the monorepo)
resolves these from npm. At `~0.0.1` it would pull `bot-slack@0.0.2` but
could still resolve `bot`/`bot-ui@0.0.1`, which lack the engine surface
the pane code calls at runtime (`sink.onThreadStarted`,
`thread.setSuggestedPrompts/setTitle`, the new capability flags) — so
the assistant pane would crash. Pinning all three to `~0.0.2` keeps the
trio aligned.

## Notes

- **Lockfile unchanged**: local monorepo installs already resolve these
to the workspace copies via the root `pnpm.overrides` (`@copilotkit/bot*
→ workspace:*`), so this range bump only affects deployed/standalone
installs.
- No code changes — `package.json` only.
2026-06-16 14:33:09 +02:00