Skip to content

test(react-core): make slot and drill-down tests fail when the behavior breaks - #8202

Merged
AlemTuzlak merged 9 commits into
2.0.0from
alem/2.0-test-rot-react-core
Nov 4, 2026
Merged

AlemTuzlak merged 9 commits into
2.0.0from
alem/2.0-test-rot-react-core

Conversation

@AlemTuzlak

Copy link
Copy Markdown
Contributor

Most react-core slot tests passed with slot overrides switched off. This PR rewrites them so that they fail when a slot breaks. It also deletes tests that guard nothing. No production code changes.

Part of PE-1086. v1 and the GraphQL runtime are already gone from 2.0.0 (#8084, #8103), so nothing in react-core was skipped for pending removal.

What does this PR do?

The rot came from four patterns:

  1. expect(container.querySelector(...)).toBeDefined(). querySelector and queryBy* return null, and null is defined, so the check always passes.
  2. if (el) { expect(...) }. When the element is missing, the test asserts nothing.
  3. Tests with no assertion, or that assert on the test's own mock.
  4. The same slot matrix repeated in the popup, sidebar, chat view and message view files.

How I measured it

I applied each mutation locally, ran the tests, and reverted it. Nothing from the mutations is committed.

  • M-slots-off: renderSlotElement in lib/slots.tsx always renders the default component, so every slot override is ignored.
  • M-resolve: resolveSlotComponent in CopilotChatMessageView.tsx always returns the default. The message view resolves the assistant and user message slots with this function, not with renderSlot.

Before this PR, 341 of 427 tests in the slot files and lib/__tests__ passed under M-slots-off.

Per file

"Survive" = the test still passes under M-slots-off + M-resolve. After this PR, every survivor tests something that is not a slot override: positioning, children render props, labels, root className, or width.

File Before (tests / survive) After (tests / survive) Notes
CopilotChatInput.slots.e2e 48 / 42 36 / 10 Buttons now render (transcribe mode, toolsMenu). Duplicates of CopilotChatInput.test.tsx removed.
CopilotChatView.slots.e2e 44 / 32 34 / 2 New helper scrolls the view so the scroll-to-bottom button renders. Before, its tests never saw the button.
CopilotChatMessageView.slots.e2e 42 / 42 15 / 1 All 42 survived. The sub-button matrix moved to the assistant and user message files. Thumbs are covered by CopilotChat.raw-event-feedback.test.tsx.
CopilotChatAssistantMessage.slots.e2e 26 / 18 18 / 2 markdownRenderer never forwards data-testid, so that test now checks an object className. The toolCallsView string-slot test is deleted: CopilotChatToolCallsView ignores className, so nothing is observable.
CopilotChatUserMessage.slots.e2e 28 / 17 26 / 6 The only home for user message slots. It now covers all 5 slots in each form with it.each.
CopilotChatSuggestionView.slots.e2e 24 / 14 23 / 10 The loading test only counted buttons. It now checks that only the loading pill is busy and disabled.
CopilotModalHeader.slots.e2e 24 / 16 19 / 8 The custom close-button test asserted the test's own handler. It now checks that the bound onClick closes the modal.
CopilotPopupView.slots.e2e 33 / 28 16 / 7 The width and height tests checked only that the style named the CSS variable, which the default also sets. They now check the value.
CopilotSidebarView.slots.e2e 25 / 20 12 / 3 Same width fix. The inherited chat view matrix is now one forwarding test.
CopilotChat.slots.e2e 23 / 18 8 / 1 Deleted the container.firstChild smoke tests (they pass when CopilotChat renders nothing), a test that asserted its own mock was not called, and a test with no assertion.
CopilotChatView.onClick.e2e 29 / 19 17 / 3 The submit test looked for a <form> that does not exist, so it never asserted. The add-menu click never fired because the button is disabled without menu items.
CopilotChatAssistantMessage.test toBeDefined on DOM queries not.toBeNull() Class-slot tests: 0 of 4 failed under M-slots-off before, 3 of 4 after. The 4th tests the root className prop.
CopilotChatInput.test, CopilotChatToolRendering.e2e toBeDefined on DOM queries not.toBeNull() / getByTestId waitFor(() => expect(queryByTestId(..)).toBeDefined()) resolved at once. It now waits for the element.
use-frontend-tool.e2e 2 hollow tests fixed The wildcard result check never ran: testId("tc1") was called twice, so the result never matched the call. The forwarded-tools test accepted an empty array. Mutation addTool → no-op: the old test passes, the new one fails.
lib/__tests__/renderSlot.test 3 conditional tests + 1 tautology fixed The memo test counted two separate renders. It now rerenders with equal props and expects 1 render. Mutation "memo comparator returns false": the old test passes, the new one fails.

Typed props replace most as any casts in the rewritten tests.

Related PRs and Issues

  • PE-1086 (Linear)
  • Related: PE-1076 (mutation-testing baseline). This PR does not add Stryker config.

Checklist

  • I have read the Contribution Guide
  • If the PR changes or adds functionality, I have updated the relevant documentation (not applicable: tests only)
  • If the PR contains a breaking change, the title has ! (not applicable)
  • "Allow edits by maintainers" is checked

Testing

Commands run

  • nx run @copilotkit/react-core:test: 197 files and 2369 tests pass, 35 skipped (unchanged skipIf gates).
  • nx run @copilotkit/react-core:check-types --exclude-task-dependencies: passes.
  • oxfmt and the oxlint gate on every changed file: pass.
  • Each mutation above, applied and reverted locally.

Manual test

  1. In packages/react-core/src/lib/slots.tsx, add return React.createElement(DefaultComponent, props); as the first line of renderSlotElement.
  2. Run pnpm vitest run src/components/chat/__tests__/CopilotChatInput.slots.e2e.test.tsx in packages/react-core.
  3. On 2.0.0, 42 of 48 tests pass. On this branch, 26 of 36 fail.
  4. Revert the line.

How this PR makes testing easy

The changes are tests only. The mutation steps above reproduce the numbers in the table.

Risk / rollback

Low. Only test files change. If a rewritten test turns out to be flaky, revert this PR or that one commit. Each commit covers one group of files.

🤖 Generated with Claude Code

AlemTuzlak and others added 9 commits November 4, 2026 13:52
…lots break

Most of these tests passed with slot overrides switched off: they checked
querySelector results with toBeDefined (null passes), hid assertions behind
if (el), or asserted nothing. They now assert on the rendered element, and
duplicates of CopilotChatInput.test.tsx are removed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…sts fail when slots break

Every message view slot test passed with slot overrides switched off,
because assertions sat behind if (el) or checked toBeDefined on null.
They now assert on the rendered messages. The nested button matrix lives
in the assistant and user message files only, and duplicates of
CopilotChatAssistantMessage.test.tsx are removed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s fail when slots break

Assertions hid behind if (el) or checked toBeDefined on null, so they
passed with slot overrides switched off. The user message tests now cover
every slot in each form against the rendered element, and the loading
state test checks which pill is busy instead of counting buttons.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… fail when slots break

Most of these passed with slot overrides switched off. The width tests
only checked that the style named the CSS variable, which the default
width also sets, and one close-button test asserted its own handler.
They now check the rendered element, the variable's value, and that the
bound close action closes the modal. The chat view slot matrix the popup
and sidebar repeated is reduced to one forwarding test each.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…iew slot breaks

Most passed with slot overrides switched off, and several only checked
that the container had a first child, which holds even when CopilotChat
renders nothing. They now assert on the chat view, and smoke tests
covered by the other CopilotChat files are removed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…en wiring breaks

Most assertions sat behind if (el), so they passed when the element was
missing. The add menu click never fired (the button is disabled without
menu items) and the submit test looked for a form that does not exist.
The tests now find each element by test id and assert unconditionally;
drill-downs already covered per component are removed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
querySelector and queryBy return null, not undefined, so
expect(el).toBeDefined() passed whether or not the element rendered.
The class slot checks in CopilotChatAssistantMessage.test.tsx passed with
slot overrides switched off. They now assert not.toBeNull, and the tool
rendering waitFor waits for the element instead of resolving at once.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ot fail

The wildcard result check sat behind if (el) and never ran: the test made
a new tool call id for the result, so it never matched the call. The
forwarded-tools test accepted an empty tools array. Two renderSlot tests
fell back to asserting the default component, and the memo test counted
two separate renders. Each now fails when the behavior it names breaks.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ebar slot tests

The toggleButton slot takes a forwardRef button, so a plain function
component did not type-check.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review: 1
  • main

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Size Change: 0 B

Total Size: 2.39 MB

ℹ️ View Unchanged
Filename Size
packages/a2ui-renderer/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/a2ui-renderer/dist/a2ui-types.cjs 472 B
packages/a2ui-renderer/dist/a2ui-types.mjs 469 B
packages/a2ui-renderer/dist/basic-styles.cjs 942 B
packages/a2ui-renderer/dist/basic-styles.mjs 905 B
packages/a2ui-renderer/dist/catalog-context.cjs 992 B
packages/a2ui-renderer/dist/catalog-context.mjs 950 B
packages/a2ui-renderer/dist/catalog-controller.cjs 1.48 kB
packages/a2ui-renderer/dist/catalog-controller.mjs 1.43 kB
packages/a2ui-renderer/dist/catalog-description.cjs 1.48 kB
packages/a2ui-renderer/dist/catalog-description.mjs 1.4 kB
packages/a2ui-renderer/dist/catalog-ids.cjs 217 B
packages/a2ui-renderer/dist/catalog-ids.mjs 216 B
packages/a2ui-renderer/dist/catalog-schema.cjs 385 B
packages/a2ui-renderer/dist/catalog-schema.mjs 276 B
packages/a2ui-renderer/dist/engine-core.cjs 273 B
packages/a2ui-renderer/dist/engine-core.mjs 198 B
packages/a2ui-renderer/dist/engine.cjs 345 B
packages/a2ui-renderer/dist/engine.mjs 239 B
packages/a2ui-renderer/dist/engine/apply-operations.cjs 2.16 kB
packages/a2ui-renderer/dist/engine/apply-operations.mjs 2.1 kB
packages/a2ui-renderer/dist/engine/surface-diagnostics.cjs 1.09 kB
packages/a2ui-renderer/dist/engine/surface-diagnostics.mjs 1.05 kB
packages/a2ui-renderer/dist/engine/tool-operations.cjs 1.16 kB
packages/a2ui-renderer/dist/engine/tool-operations.mjs 1.09 kB
packages/a2ui-renderer/dist/filter-catalog.cjs 536 B
packages/a2ui-renderer/dist/filter-catalog.mjs 534 B
packages/a2ui-renderer/dist/index.cjs 944 B
packages/a2ui-renderer/dist/index.mjs 624 B
packages/a2ui-renderer/dist/index.umd.js 14.8 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/A2uiSurface.cjs 1.52 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/A2uiSurface.mjs 1.46 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/adapter.cjs 1.57 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/adapter.mjs 1.5 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/AudioPlayer.cjs 924 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/AudioPlayer.mjs 510 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Button.cjs 1.03 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Button.mjs 627 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Card.cjs 850 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Card.mjs 438 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/CheckBox.cjs 1.12 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/CheckBox.mjs 1.04 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChildList.cjs 799 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChildList.mjs 737 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChoicePicker.cjs 1.65 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChoicePicker.mjs 1.59 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Column.cjs 862 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Column.mjs 806 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/DateTimeInput.cjs 1.1 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/DateTimeInput.mjs 1.03 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Divider.cjs 860 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Divider.mjs 448 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Icon.cjs 882 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Icon.mjs 473 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Image.cjs 1 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Image.mjs 590 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/List.cjs 925 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/List.mjs 510 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Modal.cjs 1.21 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Modal.mjs 1.15 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Row.cjs 860 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Row.mjs 804 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Slider.cjs 1.08 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Slider.mjs 1 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Tabs.cjs 1.12 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Tabs.mjs 1.06 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Text.cjs 922 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Text.mjs 507 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/TextField.cjs 1.23 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/TextField.mjs 1.16 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Video.cjs 792 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Video.mjs 381 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/index.cjs 928 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/index.mjs 855 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/index.cjs 303 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/index.mjs 318 B
packages/a2ui-renderer/dist/react-renderer/catalog-utils.cjs 706 B
packages/a2ui-renderer/dist/react-renderer/catalog-utils.mjs 725 B
packages/a2ui-renderer/dist/react-renderer/core/A2UIProvider.cjs 1.56 kB
packages/a2ui-renderer/dist/react-renderer/core/A2UIProvider.mjs 1.48 kB
packages/a2ui-renderer/dist/react-renderer/core/A2UIRenderer.cjs 728 B
packages/a2ui-renderer/dist/react-renderer/core/A2UIRenderer.mjs 671 B
packages/a2ui-renderer/dist/react-renderer/create-catalog.cjs 1.21 kB
packages/a2ui-renderer/dist/react-renderer/create-catalog.mjs 1.15 kB
packages/a2ui-renderer/dist/react-renderer/hooks/useA2UI.cjs 316 B
packages/a2ui-renderer/dist/react-renderer/hooks/useA2UI.mjs 309 B
packages/a2ui-renderer/dist/react-renderer/index.cjs 430 B
packages/a2ui-renderer/dist/react-renderer/index.mjs 561 B
packages/a2ui-renderer/dist/react-renderer/lib/utils.cjs 236 B
packages/a2ui-renderer/dist/react-renderer/lib/utils.mjs 188 B
packages/a2ui-renderer/dist/react-renderer/styles/index.cjs 239 B
packages/a2ui-renderer/dist/react-renderer/styles/index.mjs 231 B
packages/a2ui-renderer/dist/react-renderer/theme/ThemeContext.cjs 436 B
packages/a2ui-renderer/dist/react-renderer/theme/ThemeContext.mjs 381 B
packages/core/dist/chat-configuration.cjs 2.95 kB
packages/core/dist/chat-configuration.mjs 2.89 kB
packages/core/dist/index.cjs 200 kB
packages/core/dist/index.mjs 200 kB
packages/core/dist/index.umd.js 227 kB
packages/core/dist/styles.cjs 13.5 kB
packages/core/dist/styles.mjs 13.5 kB
packages/core/dist/viewport-B0DGmyta.cjs 2.63 kB
packages/core/dist/viewport-BkM_3mlk.mjs 2.55 kB
packages/mcp-apps-renderer/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/mcp-apps-renderer/dist/activity.cjs 354 B
packages/mcp-apps-renderer/dist/activity.mjs 278 B
packages/mcp-apps-renderer/dist/activity.umd.js 5.9 kB
packages/mcp-apps-renderer/dist/constants.cjs 714 B
packages/mcp-apps-renderer/dist/constants.mjs 712 B
packages/mcp-apps-renderer/dist/content-schema.cjs 813 B
packages/mcp-apps-renderer/dist/content-schema.mjs 757 B
packages/mcp-apps-renderer/dist/follow-up.cjs 796 B
packages/mcp-apps-renderer/dist/follow-up.mjs 794 B
packages/mcp-apps-renderer/dist/host.cjs 2.77 kB
packages/mcp-apps-renderer/dist/host.mjs 2.75 kB
packages/mcp-apps-renderer/dist/index.mjs 369 B
packages/mcp-apps-renderer/dist/request-queue.mjs 2.39 kB
packages/mcp-apps-renderer/dist/sandbox.mjs 2 kB
packages/mcp-apps-renderer/dist/session.mjs 6.91 kB
packages/react-core/dist/context.cjs 1.58 kB
packages/react-core/dist/context.mjs 1.51 kB
packages/react-core/dist/generative-ui.cjs 70.8 kB
packages/react-core/dist/generative-ui.mjs 70.2 kB
packages/react-core/dist/headless.cjs 11.8 kB
packages/react-core/dist/headless.mjs 11.2 kB
packages/react-core/dist/index.cjs 99.5 kB
packages/react-core/dist/index.mjs 100 kB
packages/react-core/dist/index.umd.js 133 kB
packages/react-core/dist/MarkdownSurfaces-CGW92DCL.cjs 38.7 kB
packages/react-core/dist/MarkdownSurfaces-DveOwhaW.mjs 38.1 kB
packages/react-native/dist/components/index.cjs 8.24 kB
packages/react-native/dist/components/index.mjs 8.11 kB
packages/react-native/dist/CopilotKitProvider-BXpkAl1Y.mjs 1.52 kB
packages/react-native/dist/CopilotKitProvider-DDPbJkHS.cjs 1.62 kB
packages/react-native/dist/headless.cjs 647 B
packages/react-native/dist/headless.mjs 385 B
packages/react-native/dist/index.cjs 6.87 kB
packages/react-native/dist/index.mjs 6.5 kB
packages/react-native/dist/Markdown-CaYHlD4j.cjs 795 B
packages/react-native/dist/Markdown-SE9MfY2U.mjs 675 B
packages/react-native/dist/MarkdownRendererContext-B_AKdPAN.mjs 430 B
packages/react-native/dist/MarkdownRendererContext-BRNe808d.cjs 915 B
packages/react-native/dist/polyfills.cjs 208 B
packages/react-native/dist/polyfills.mjs 217 B
packages/react-native/dist/polyfills/crypto.cjs 373 B
packages/react-native/dist/polyfills/crypto.mjs 381 B
packages/react-native/dist/polyfills/dom.cjs 540 B
packages/react-native/dist/polyfills/dom.mjs 550 B
packages/react-native/dist/polyfills/encoding.cjs 356 B
packages/react-native/dist/polyfills/encoding.mjs 366 B
packages/react-native/dist/polyfills/location.cjs 236 B
packages/react-native/dist/polyfills/location.mjs 244 B
packages/react-native/dist/polyfills/streams.cjs 383 B
packages/react-native/dist/polyfills/streams.mjs 339 B
packages/react-native/dist/streaming-fetch-CLHG3Z1H.mjs 2.31 kB
packages/react-native/dist/streaming-fetch-DbDALGya.cjs 2.36 kB
packages/react-native/dist/utf8-BIN9t4Oy.mjs 1.39 kB
packages/react-native/dist/utf8-Cf3Ssy33.cjs 1.45 kB
packages/shared/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/shared/dist/a2ui-envelope.cjs 2.44 kB
packages/shared/dist/a2ui-envelope.mjs 2.42 kB
packages/shared/dist/a2ui-prompts.cjs 4.57 kB
packages/shared/dist/a2ui-prompts.mjs 4.54 kB
packages/shared/dist/attachments/content.cjs 255 B
packages/shared/dist/attachments/content.mjs 253 B
packages/shared/dist/attachments/utils.cjs 1.83 kB
packages/shared/dist/attachments/utils.mjs 1.79 kB
packages/shared/dist/constants/index.cjs 501 B
packages/shared/dist/constants/index.mjs 480 B
packages/shared/dist/debug.cjs 454 B
packages/shared/dist/debug.mjs 452 B
packages/shared/dist/finalize-events.cjs 2.07 kB
packages/shared/dist/finalize-events.mjs 2 kB
packages/shared/dist/generative-ui/basic-functions.cjs 2.5 kB
packages/shared/dist/generative-ui/basic-functions.mjs 2.45 kB
packages/shared/dist/generative-ui/child-refs.cjs 2.34 kB
packages/shared/dist/generative-ui/child-refs.mjs 2.27 kB
packages/shared/dist/generative-ui/compact-schema.cjs 2.97 kB
packages/shared/dist/generative-ui/compact-schema.mjs 2.94 kB
packages/shared/dist/generative-ui/is-record.cjs 226 B
packages/shared/dist/generative-ui/is-record.mjs 223 B
packages/shared/dist/generative-ui/prompt-spec.cjs 8.13 kB
packages/shared/dist/generative-ui/prompt-spec.mjs 8.1 kB
packages/shared/dist/generative-ui/prompt.cjs 1.64 kB
packages/shared/dist/generative-ui/prompt.mjs 1.6 kB
packages/shared/dist/generative-ui/render-ui-args.cjs 1.49 kB
packages/shared/dist/generative-ui/render-ui-args.mjs 1.47 kB
packages/shared/dist/generative-ui/schema-render.cjs 3.91 kB
packages/shared/dist/generative-ui/schema-render.mjs 3.88 kB
packages/shared/dist/generative-ui/types.cjs 1.57 kB
packages/shared/dist/generative-ui/types.mjs 1.51 kB
packages/shared/dist/generative-ui/validate-operation.cjs 5.61 kB
packages/shared/dist/generative-ui/validate-operation.mjs 5.55 kB
packages/shared/dist/index.cjs 3.92 kB
packages/shared/dist/index.mjs 3.3 kB
packages/shared/dist/index.umd.js 60 kB
packages/shared/dist/intelligence-routing-fields.cjs 778 B
packages/shared/dist/intelligence-routing-fields.mjs 775 B
packages/shared/dist/logger.cjs 112 B
packages/shared/dist/logger.mjs 112 B
packages/shared/dist/open-generative-ui-prompts.cjs 1.59 kB
packages/shared/dist/open-generative-ui-prompts.mjs 1.59 kB
packages/shared/dist/package.cjs 181 B
packages/shared/dist/package.mjs 116 B
packages/shared/dist/standard-schema.cjs 910 B
packages/shared/dist/standard-schema.mjs 903 B
packages/shared/dist/telemetry/lambda-client.cjs 1.6 kB
packages/shared/dist/telemetry/lambda-client.mjs 1.58 kB
packages/shared/dist/telemetry/model-host.cjs 1.63 kB
packages/shared/dist/telemetry/model-host.mjs 1.63 kB
packages/shared/dist/telemetry/sampling.cjs 956 B
packages/shared/dist/telemetry/sampling.mjs 935 B
packages/shared/dist/telemetry/telemetry-disabled.cjs 349 B
packages/shared/dist/telemetry/telemetry-disabled.mjs 339 B
packages/shared/dist/transcription-errors.cjs 951 B
packages/shared/dist/transcription-errors.mjs 944 B
packages/shared/dist/utils/clipboard.cjs 407 B
packages/shared/dist/utils/clipboard.mjs 405 B
packages/shared/dist/utils/dashboard-url.cjs 415 B
packages/shared/dist/utils/dashboard-url.mjs 413 B
packages/shared/dist/utils/errors.cjs 4.1 kB
packages/shared/dist/utils/errors.mjs 4.04 kB
packages/shared/dist/utils/index.cjs 1.49 kB
packages/shared/dist/utils/index.mjs 1.74 kB
packages/shared/dist/utils/inspector-learning.cjs 2.74 kB
packages/shared/dist/utils/inspector-learning.mjs 2.73 kB
packages/shared/dist/utils/inspector-metadata.cjs 1.44 kB
packages/shared/dist/utils/inspector-metadata.mjs 1.43 kB
packages/shared/dist/utils/inspector-visibility.cjs 647 B
packages/shared/dist/utils/inspector-visibility.mjs 639 B
packages/shared/dist/utils/json-schema.cjs 1.16 kB
packages/shared/dist/utils/json-schema.mjs 1.15 kB
packages/shared/dist/utils/process-env.cjs 293 B
packages/shared/dist/utils/process-env.mjs 290 B
packages/shared/dist/utils/random-id.cjs 555 B
packages/shared/dist/utils/random-id.mjs 546 B
packages/shared/dist/utils/requests.cjs 706 B
packages/shared/dist/utils/requests.mjs 704 B
packages/shared/dist/utils/row-render-keys.cjs 3.38 kB
packages/shared/dist/utils/row-render-keys.mjs 3.36 kB
packages/shared/dist/utils/types.cjs 161 B
packages/shared/dist/utils/types.mjs 160 B
packages/voice/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/voice/dist/index.cjs 175 B
packages/voice/dist/index.mjs 95 B
packages/voice/dist/index.umd.js 1.49 kB
packages/voice/dist/transcription/transcription-service-openai.cjs 486 B
packages/voice/dist/transcription/transcription-service-openai.mjs 430 B
packages/web-inspector/dist/assets/inspector-logo-kite.cjs 2.36 kB
packages/web-inspector/dist/assets/inspector-logo-kite.mjs 2.3 kB
packages/web-inspector/dist/assets/inspector-logo.cjs 4.32 kB
packages/web-inspector/dist/assets/inspector-logo.mjs 4.23 kB
packages/web-inspector/dist/domains/announcements/article.styles.cjs 1.42 kB
packages/web-inspector/dist/domains/announcements/article.styles.mjs 1.42 kB
packages/web-inspector/dist/domains/announcements/document.cjs 615 B
packages/web-inspector/dist/domains/announcements/document.mjs 604 B
packages/web-inspector/dist/domains/announcements/feed.cjs 1.64 kB
packages/web-inspector/dist/domains/announcements/feed.mjs 1.64 kB
packages/web-inspector/dist/domains/announcements/markdown.cjs 2.9 kB
packages/web-inspector/dist/domains/announcements/markdown.mjs 2.89 kB
packages/web-inspector/dist/domains/announcements/notification-loader.cjs 795 B
packages/web-inspector/dist/domains/announcements/notification-loader.mjs 789 B
packages/web-inspector/dist/domains/announcements/notifications.cjs 2.4 kB
packages/web-inspector/dist/domains/announcements/notifications.mjs 2.38 kB
packages/web-inspector/dist/domains/announcements/storage.cjs 2.04 kB
packages/web-inspector/dist/domains/announcements/storage.mjs 2.01 kB
packages/web-inspector/dist/domains/announcements/telemetry.cjs 699 B
packages/web-inspector/dist/domains/announcements/telemetry.mjs 697 B
packages/web-inspector/dist/domains/announcements/view.cjs 1.54 kB
packages/web-inspector/dist/domains/announcements/view.mjs 1.5 kB
packages/web-inspector/dist/domains/announcements/view.styles.cjs 2.22 kB
packages/web-inspector/dist/domains/announcements/view.styles.mjs 2.2 kB
packages/web-inspector/dist/domains/generative-ui/model.cjs 1.88 kB
packages/web-inspector/dist/domains/generative-ui/model.mjs 1.83 kB
packages/web-inspector/dist/domains/generative-ui/view.cjs 5.03 kB
packages/web-inspector/dist/domains/generative-ui/view.mjs 5.01 kB
packages/web-inspector/dist/domains/generative-ui/view.styles.cjs 1.8 kB
packages/web-inspector/dist/domains/generative-ui/view.styles.mjs 1.8 kB
packages/web-inspector/dist/domains/home/feature-setup.cjs 696 B
packages/web-inspector/dist/domains/home/feature-setup.mjs 671 B
packages/web-inspector/dist/domains/home/intelligence-state.cjs 1.43 kB
packages/web-inspector/dist/domains/home/intelligence-state.mjs 1.39 kB
packages/web-inspector/dist/domains/home/intelligence-view.cjs 3.21 kB
packages/web-inspector/dist/domains/home/intelligence-view.mjs 3.19 kB
packages/web-inspector/dist/domains/home/intelligence.base.styles.cjs 2.79 kB
packages/web-inspector/dist/domains/home/intelligence.base.styles.mjs 2.78 kB
packages/web-inspector/dist/domains/home/intelligence.dark.styles.cjs 884 B
packages/web-inspector/dist/domains/home/intelligence.dark.styles.mjs 880 B
packages/web-inspector/dist/domains/home/model.cjs 3.21 kB
packages/web-inspector/dist/domains/home/model.mjs 3.18 kB
packages/web-inspector/dist/domains/home/onboarding-prompt.cjs 924 B
packages/web-inspector/dist/domains/home/onboarding-prompt.mjs 913 B
packages/web-inspector/dist/domains/home/telemetry.cjs 415 B
packages/web-inspector/dist/domains/home/telemetry.mjs 403 B
packages/web-inspector/dist/domains/home/view.base.styles.cjs 3.37 kB
packages/web-inspector/dist/domains/home/view.base.styles.mjs 3.37 kB
packages/web-inspector/dist/domains/home/view.cjs 3 kB
packages/web-inspector/dist/domains/home/view.dark.styles.cjs 1.16 kB
packages/web-inspector/dist/domains/home/view.dark.styles.mjs 1.15 kB
packages/web-inspector/dist/domains/home/view.mjs 2.97 kB
packages/web-inspector/dist/domains/home/view.styles.cjs 263 B
packages/web-inspector/dist/domains/home/view.styles.mjs 232 B
packages/web-inspector/dist/domains/learning/inspector-learning.cjs 759 B
packages/web-inspector/dist/domains/learning/inspector-learning.mjs 736 B
packages/web-inspector/dist/domains/learning/learning-setup.cjs 1.12 kB
packages/web-inspector/dist/domains/learning/learning-setup.mjs 1.09 kB
packages/web-inspector/dist/domains/learning/memory-list.cjs 2.48 kB
packages/web-inspector/dist/domains/learning/memory-list.mjs 2.46 kB
packages/web-inspector/dist/domains/learning/memory-list.styles.cjs 1.61 kB
packages/web-inspector/dist/domains/learning/memory-list.styles.mjs 1.61 kB
packages/web-inspector/dist/domains/learning/recall.cjs 625 B
packages/web-inspector/dist/domains/learning/recall.mjs 610 B
packages/web-inspector/dist/domains/learning/snapshot-evidence.cjs 2.07 kB
packages/web-inspector/dist/domains/learning/snapshot-evidence.mjs 2.06 kB
packages/web-inspector/dist/domains/learning/snapshot-state.cjs 420 B
packages/web-inspector/dist/domains/learning/snapshot-state.mjs 418 B
packages/web-inspector/dist/domains/learning/snapshot-view.base.styles.cjs 2.48 kB
packages/web-inspector/dist/domains/learning/snapshot-view.base.styles.mjs 2.47 kB
packages/web-inspector/dist/domains/learning/snapshot-view.cjs 5.53 kB
packages/web-inspector/dist/domains/learning/snapshot-view.mjs 5.51 kB
packages/web-inspector/dist/domains/learning/snapshot-view.panel.styles.cjs 2.17 kB
packages/web-inspector/dist/domains/learning/snapshot-view.panel.styles.mjs 2.17 kB
packages/web-inspector/dist/domains/learning/state.cjs 618 B
packages/web-inspector/dist/domains/learning/state.mjs 586 B
packages/web-inspector/dist/domains/learning/subscription.cjs 568 B
packages/web-inspector/dist/domains/learning/subscription.mjs 570 B
packages/web-inspector/dist/domains/learning/telemetry.cjs 341 B
packages/web-inspector/dist/domains/learning/telemetry.mjs 333 B
packages/web-inspector/dist/domains/learning/view.cjs 215 B
packages/web-inspector/dist/domains/learning/view.mjs 214 B
packages/web-inspector/dist/domains/learning/view.styles.cjs 1.85 kB
packages/web-inspector/dist/domains/learning/view.styles.mjs 1.85 kB
packages/web-inspector/dist/domains/live-inspection/agent-adapter.cjs 2.05 kB
packages/web-inspector/dist/domains/live-inspection/agent-adapter.mjs 2.02 kB
packages/web-inspector/dist/domains/live-inspection/agents/model.cjs 853 B
packages/web-inspector/dist/domains/live-inspection/agents/model.mjs 827 B
packages/web-inspector/dist/domains/live-inspection/agents/view.cjs 3.72 kB
packages/web-inspector/dist/domains/live-inspection/agents/view.mjs 3.7 kB
packages/web-inspector/dist/domains/live-inspection/capabilities/model.cjs 322 B
packages/web-inspector/dist/domains/live-inspection/capabilities/model.mjs 319 B
packages/web-inspector/dist/domains/live-inspection/capabilities/view.cjs 1.27 kB
packages/web-inspector/dist/domains/live-inspection/capabilities/view.mjs 1.26 kB
packages/web-inspector/dist/domains/live-inspection/context/model.cjs 751 B
packages/web-inspector/dist/domains/live-inspection/context/model.mjs 739 B
packages/web-inspector/dist/domains/live-inspection/context/view.cjs 1.44 kB
packages/web-inspector/dist/domains/live-inspection/context/view.mjs 1.42 kB
packages/web-inspector/dist/domains/live-inspection/event-buffer.cjs 598 B
packages/web-inspector/dist/domains/live-inspection/event-buffer.mjs 585 B
packages/web-inspector/dist/domains/live-inspection/events/model.cjs 1.01 kB
packages/web-inspector/dist/domains/live-inspection/events/model.mjs 975 B
packages/web-inspector/dist/domains/live-inspection/events/view.cjs 2.79 kB
packages/web-inspector/dist/domains/live-inspection/events/view.mjs 2.79 kB
packages/web-inspector/dist/domains/live-inspection/events/view.styles.cjs 830 B
packages/web-inspector/dist/domains/live-inspection/events/view.styles.mjs 825 B
packages/web-inspector/dist/domains/live-inspection/state.cjs 817 B
packages/web-inspector/dist/domains/live-inspection/state.mjs 800 B
packages/web-inspector/dist/domains/live-inspection/tools/model.cjs 1.33 kB
packages/web-inspector/dist/domains/live-inspection/tools/model.mjs 1.31 kB
packages/web-inspector/dist/domains/live-inspection/tools/view.cjs 1.93 kB
packages/web-inspector/dist/domains/live-inspection/tools/view.mjs 1.91 kB
packages/web-inspector/dist/domains/playground/composer.cjs 1.97 kB
packages/web-inspector/dist/domains/playground/composer.mjs 1.93 kB
packages/web-inspector/dist/domains/playground/element-guards.cjs 363 B
packages/web-inspector/dist/domains/playground/element-guards.mjs 356 B
packages/web-inspector/dist/domains/playground/message-adapter.cjs 720 B
packages/web-inspector/dist/domains/playground/message-adapter.mjs 698 B
packages/web-inspector/dist/domains/playground/session.cjs 2.52 kB
packages/web-inspector/dist/domains/playground/session.mjs 2.49 kB
packages/web-inspector/dist/domains/playground/state.cjs 312 B
packages/web-inspector/dist/domains/playground/state.mjs 309 B
packages/web-inspector/dist/domains/playground/view.cjs 3.58 kB
packages/web-inspector/dist/domains/playground/view.mjs 3.56 kB
packages/web-inspector/dist/domains/playground/view.styles.cjs 989 B
packages/web-inspector/dist/domains/playground/view.styles.mjs 981 B
packages/web-inspector/dist/domains/threads/detail/conversation-view.cjs 1.77 kB
packages/web-inspector/dist/domains/threads/detail/conversation-view.mjs 1.75 kB
packages/web-inspector/dist/domains/threads/detail/divider-resize.cjs 510 B
packages/web-inspector/dist/domains/threads/detail/divider-resize.mjs 509 B
packages/web-inspector/dist/domains/threads/detail/event-adapter.cjs 779 B
packages/web-inspector/dist/domains/threads/detail/event-adapter.mjs 760 B
packages/web-inspector/dist/domains/threads/detail/events-view.cjs 898 B
packages/web-inspector/dist/domains/threads/detail/events-view.mjs 883 B
packages/web-inspector/dist/domains/threads/detail/focus.cjs 430 B
packages/web-inspector/dist/domains/threads/detail/focus.mjs 420 B
packages/web-inspector/dist/domains/threads/detail/message-adapter.cjs 1.14 kB
packages/web-inspector/dist/domains/threads/detail/message-adapter.mjs 1.13 kB
packages/web-inspector/dist/domains/threads/detail/message-refresh.cjs 742 B
packages/web-inspector/dist/domains/threads/detail/message-refresh.mjs 741 B
packages/web-inspector/dist/domains/threads/detail/provider.cjs 696 B
packages/web-inspector/dist/domains/threads/detail/provider.mjs 679 B
packages/web-inspector/dist/domains/threads/detail/state-view.cjs 1.01 kB
packages/web-inspector/dist/domains/threads/detail/state-view.mjs 985 B
packages/web-inspector/dist/domains/threads/detail/thread-inspector-model.cjs 1.21 kB
packages/web-inspector/dist/domains/threads/detail/thread-inspector-model.mjs 1.17 kB
packages/web-inspector/dist/domains/threads/detail/thread-inspector-view.cjs 3.6 kB
packages/web-inspector/dist/domains/threads/detail/thread-inspector-view.mjs 3.52 kB
packages/web-inspector/dist/domains/threads/detail/thread-inspector.base.styles.cjs 3.41 kB
packages/web-inspector/dist/domains/threads/detail/thread-inspector.base.styles.mjs 3.4 kB
packages/web-inspector/dist/domains/threads/detail/thread-inspector.cjs 4.6 kB
packages/web-inspector/dist/domains/threads/detail/thread-inspector.dark.styles.cjs 1.01 kB
packages/web-inspector/dist/domains/threads/detail/thread-inspector.dark.styles.mjs 1.01 kB
packages/web-inspector/dist/domains/threads/detail/thread-inspector.detail.styles.cjs 1.99 kB
packages/web-inspector/dist/domains/threads/detail/thread-inspector.detail.styles.mjs 1.99 kB
packages/web-inspector/dist/domains/threads/detail/thread-inspector.mjs 4.6 kB
packages/web-inspector/dist/domains/threads/detail/thread-inspector.styles.cjs 273 B
packages/web-inspector/dist/domains/threads/detail/thread-inspector.styles.mjs 236 B
packages/web-inspector/dist/domains/threads/detail/thread-inspector.tool.styles.cjs 1.36 kB
packages/web-inspector/dist/domains/threads/detail/thread-inspector.tool.styles.mjs 1.35 kB
packages/web-inspector/dist/domains/threads/detail/thread-runtime.cjs 650 B
packages/web-inspector/dist/domains/threads/detail/thread-runtime.mjs 631 B
packages/web-inspector/dist/domains/threads/detail/timeline-model.cjs 2.86 kB
packages/web-inspector/dist/domains/threads/detail/timeline-model.mjs 2.84 kB
packages/web-inspector/dist/domains/threads/detail/timeline-view.cjs 1.14 kB
packages/web-inspector/dist/domains/threads/detail/timeline-view.mjs 1.11 kB
packages/web-inspector/dist/domains/threads/examples/data.cjs 1.29 kB
packages/web-inspector/dist/domains/threads/examples/data.mjs 1.28 kB
packages/web-inspector/dist/domains/threads/examples/provider.cjs 499 B
packages/web-inspector/dist/domains/threads/examples/provider.mjs 484 B
packages/web-inspector/dist/domains/threads/examples/tour.cjs 976 B
packages/web-inspector/dist/domains/threads/examples/tour.mjs 945 B
packages/web-inspector/dist/domains/threads/examples/video.cjs 2.01 kB
packages/web-inspector/dist/domains/threads/examples/video.mjs 1.99 kB
packages/web-inspector/dist/domains/threads/list/thread-list.cjs 1.62 kB
packages/web-inspector/dist/domains/threads/list/thread-list.mjs 1.59 kB
packages/web-inspector/dist/domains/threads/list/thread-list.styles.cjs 1.29 kB
packages/web-inspector/dist/domains/threads/list/thread-list.styles.mjs 1.28 kB
packages/web-inspector/dist/domains/threads/selectors.cjs 1.15 kB
packages/web-inspector/dist/domains/threads/selectors.mjs 1.11 kB
packages/web-inspector/dist/domains/threads/state.cjs 735 B
packages/web-inspector/dist/domains/threads/state.mjs 732 B
packages/web-inspector/dist/domains/threads/store-bridge.cjs 2.1 kB
packages/web-inspector/dist/domains/threads/store-bridge.mjs 2.02 kB
packages/web-inspector/dist/domains/threads/telemetry/events.cjs 352 B
packages/web-inspector/dist/domains/threads/telemetry/events.mjs 336 B
packages/web-inspector/dist/domains/threads/usage.cjs 1.19 kB
packages/web-inspector/dist/domains/threads/usage.mjs 1.15 kB
packages/web-inspector/dist/domains/threads/view.cjs 3.52 kB
packages/web-inspector/dist/domains/threads/view.mjs 3.48 kB
packages/web-inspector/dist/domains/threads/view.styles.cjs 429 B
packages/web-inspector/dist/domains/threads/view.styles.mjs 423 B
packages/web-inspector/dist/index.cjs 501 B
packages/web-inspector/dist/index.mjs 397 B
packages/web-inspector/dist/index.umd.js 227 kB
packages/web-inspector/dist/mount.cjs 1.52 kB
packages/web-inspector/dist/mount.mjs 1.47 kB
packages/web-inspector/dist/package.cjs 181 B
packages/web-inspector/dist/package.mjs 116 B
packages/web-inspector/dist/register.cjs 907 B
packages/web-inspector/dist/register.mjs 842 B
packages/web-inspector/dist/shared/display/display-value.cjs 571 B
packages/web-inspector/dist/shared/display/display-value.mjs 562 B
packages/web-inspector/dist/shared/learning/status.cjs 359 B
packages/web-inspector/dist/shared/learning/status.mjs 348 B
packages/web-inspector/dist/shared/locked-feature/copy.cjs 1.52 kB
packages/web-inspector/dist/shared/locked-feature/copy.mjs 1.5 kB
packages/web-inspector/dist/shared/locked-feature/view.cjs 787 B
packages/web-inspector/dist/shared/locked-feature/view.mjs 782 B
packages/web-inspector/dist/shared/persistence/inspector-state.cjs 1.61 kB
packages/web-inspector/dist/shared/persistence/inspector-state.mjs 1.57 kB
packages/web-inspector/dist/shared/persistence/telemetry.cjs 679 B
packages/web-inspector/dist/shared/persistence/telemetry.mjs 660 B
packages/web-inspector/dist/shared/telemetry/learning-buckets.cjs 292 B
packages/web-inspector/dist/shared/telemetry/learning-buckets.mjs 285 B
packages/web-inspector/dist/shared/telemetry/privacy.cjs 4.16 kB
packages/web-inspector/dist/shared/telemetry/privacy.mjs 3.96 kB
packages/web-inspector/dist/shared/telemetry/runtime-url.cjs 405 B
packages/web-inspector/dist/shared/telemetry/runtime-url.mjs 402 B
packages/web-inspector/dist/shared/telemetry/transport.cjs 1.33 kB
packages/web-inspector/dist/shared/telemetry/transport.mjs 1.31 kB
packages/web-inspector/dist/shared/version/semver.cjs 2.25 kB
packages/web-inspector/dist/shared/version/semver.mjs 2.24 kB
packages/web-inspector/dist/shell/core-bridge.cjs 780 B
packages/web-inspector/dist/shell/core-bridge.mjs 749 B
packages/web-inspector/dist/shell/launcher/controller.cjs 3.99 kB
packages/web-inspector/dist/shell/launcher/controller.mjs 4.03 kB
packages/web-inspector/dist/shell/launcher/hud-config.cjs 1.36 kB
packages/web-inspector/dist/shell/launcher/hud-config.mjs 1.35 kB
packages/web-inspector/dist/shell/launcher/hud-defaults.cjs 294 B
packages/web-inspector/dist/shell/launcher/hud-defaults.mjs 291 B
packages/web-inspector/dist/shell/launcher/hud-loader.cjs 564 B
packages/web-inspector/dist/shell/launcher/hud-loader.mjs 554 B
packages/web-inspector/dist/shell/launcher/model.cjs 1.75 kB
packages/web-inspector/dist/shell/launcher/model.mjs 1.67 kB
packages/web-inspector/dist/shell/launcher/state.cjs 394 B
packages/web-inspector/dist/shell/launcher/state.mjs 393 B
packages/web-inspector/dist/shell/launcher/view.cjs 2.9 kB
packages/web-inspector/dist/shell/launcher/view.mjs 2.87 kB
packages/web-inspector/dist/shell/navigation/model.cjs 690 B
packages/web-inspector/dist/shell/navigation/model.mjs 667 B
packages/web-inspector/dist/shell/settings/theme.cjs 314 B
packages/web-inspector/dist/shell/settings/theme.mjs 306 B
packages/web-inspector/dist/shell/settings/view.cjs 1.31 kB
packages/web-inspector/dist/shell/settings/view.mjs 1.31 kB
packages/web-inspector/dist/shell/state.cjs 663 B
packages/web-inspector/dist/shell/state.mjs 645 B
packages/web-inspector/dist/shell/styles.cjs 209 B
packages/web-inspector/dist/shell/styles.mjs 230 B
packages/web-inspector/dist/shell/styles/base.cjs 6.54 kB
packages/web-inspector/dist/shell/styles/base.mjs 6.53 kB
packages/web-inspector/dist/shell/styles/chrome.cjs 1.36 kB
packages/web-inspector/dist/shell/styles/chrome.mjs 1.34 kB
packages/web-inspector/dist/shell/styles/content.cjs 1.46 kB
packages/web-inspector/dist/shell/styles/content.mjs 1.46 kB
packages/web-inspector/dist/shell/styles/launcher.cjs 3.63 kB
packages/web-inspector/dist/shell/styles/launcher.mjs 3.61 kB
packages/web-inspector/dist/shell/styles/tokens.cjs 421 B
packages/web-inspector/dist/shell/styles/tokens.mjs 413 B
packages/web-inspector/dist/shell/web-inspector-element.cjs 37.3 kB
packages/web-inspector/dist/shell/web-inspector-element.mjs 37.9 kB
packages/web-inspector/dist/shell/window/controller.cjs 4.27 kB
packages/web-inspector/dist/shell/window/controller.mjs 4.29 kB
packages/web-inspector/dist/shell/window/geometry.cjs 869 B
packages/web-inspector/dist/shell/window/geometry.mjs 837 B
packages/web-inspector/dist/shell/window/host.cjs 282 B
packages/web-inspector/dist/shell/window/host.mjs 267 B
packages/web-inspector/dist/shell/window/keyboard-resize.cjs 466 B
packages/web-inspector/dist/shell/window/keyboard-resize.mjs 463 B
packages/web-inspector/dist/shell/window/pop-out.cjs 1.07 kB
packages/web-inspector/dist/shell/window/pop-out.mjs 1.06 kB
packages/web-inspector/dist/shell/window/realm.cjs 1.42 kB
packages/web-inspector/dist/shell/window/realm.mjs 1.4 kB
packages/web-inspector/dist/shell/window/view.cjs 2.14 kB
packages/web-inspector/dist/shell/window/view.mjs 2.08 kB
packages/web-inspector/dist/styles/generated.cjs 13.7 kB
packages/web-inspector/dist/styles/generated.mjs 13.7 kB
packages/web-inspector/dist/ui/copy-button/copy-button.cjs 1.43 kB
packages/web-inspector/dist/ui/copy-button/copy-button.mjs 1.39 kB
packages/web-inspector/dist/ui/copy-button/copy-button.styles.cjs 869 B
packages/web-inspector/dist/ui/copy-button/copy-button.styles.mjs 864 B
packages/web-inspector/dist/ui/icons/icons.cjs 3.19 kB
packages/web-inspector/dist/ui/icons/icons.mjs 3.19 kB
packages/web-inspector/dist/ui/json-viewer/host-renderer.cjs 1.26 kB
packages/web-inspector/dist/ui/json-viewer/host-renderer.mjs 1.25 kB
packages/web-inspector/dist/ui/json-viewer/json-tokenizer.cjs 526 B
packages/web-inspector/dist/ui/json-viewer/json-tokenizer.mjs 524 B
packages/web-inspector/dist/ui/json-viewer/json-viewer.cjs 1.15 kB
packages/web-inspector/dist/ui/json-viewer/json-viewer.mjs 1.1 kB
packages/web-inspector/dist/ui/json-viewer/json-viewer.styles.cjs 775 B
packages/web-inspector/dist/ui/json-viewer/json-viewer.styles.mjs 768 B
packages/web-inspector/dist/ui/portable-lit-element.cjs 543 B
packages/web-inspector/dist/ui/portable-lit-element.mjs 539 B

compressed-size-action

@pkg-pr-new

pkg-pr-new Bot commented Nov 4, 2026

Copy link
Copy Markdown
@copilotkit/a2ui-renderer

pnpm add https://pkg.pr.new/@copilotkit/a2ui-renderer@8202

@copilotkit/agentcore-runner

pnpm add https://pkg.pr.new/@copilotkit/agentcore-runner@8202

@copilotkit/angular

pnpm add https://pkg.pr.new/@copilotkit/angular@8202

@copilotkit/channels

pnpm add https://pkg.pr.new/@copilotkit/channels@8202

@copilotkit/channels-core

pnpm add https://pkg.pr.new/@copilotkit/channels-core@8202

@copilotkit/channels-discord

pnpm add https://pkg.pr.new/@copilotkit/channels-discord@8202

@copilotkit/channels-intelligence

pnpm add https://pkg.pr.new/@copilotkit/channels-intelligence@8202

@copilotkit/channels-slack

pnpm add https://pkg.pr.new/@copilotkit/channels-slack@8202

@copilotkit/channels-teams

pnpm add https://pkg.pr.new/@copilotkit/channels-teams@8202

@copilotkit/channels-ui

pnpm add https://pkg.pr.new/@copilotkit/channels-ui@8202

@copilotkit/channels-whatsapp

pnpm add https://pkg.pr.new/@copilotkit/channels-whatsapp@8202

@copilotkit/core

pnpm add https://pkg.pr.new/@copilotkit/core@8202

@copilotkit/intelligence-langgraph

pnpm add https://pkg.pr.new/@copilotkit/intelligence-langgraph@8202

@copilotkit/intelligence-mastra

pnpm add https://pkg.pr.new/@copilotkit/intelligence-mastra@8202

@copilotkit/learning

pnpm add https://pkg.pr.new/@copilotkit/learning@8202

@copilotkit/markdown

pnpm add https://pkg.pr.new/@copilotkit/markdown@8202

@copilotkit/mcp-apps-renderer

pnpm add https://pkg.pr.new/@copilotkit/mcp-apps-renderer@8202

@copilotkit/react-core

pnpm add https://pkg.pr.new/@copilotkit/react-core@8202

@copilotkit/react-native

pnpm add https://pkg.pr.new/@copilotkit/react-native@8202

@copilotkit/runtime

pnpm add https://pkg.pr.new/@copilotkit/runtime@8202

@copilotkit/sdk-js

pnpm add https://pkg.pr.new/@copilotkit/sdk-js@8202

@copilotkit/shared

pnpm add https://pkg.pr.new/@copilotkit/shared@8202

@copilotkit/sqlite-runner

pnpm add https://pkg.pr.new/@copilotkit/sqlite-runner@8202

@copilotkit/voice

pnpm add https://pkg.pr.new/@copilotkit/voice@8202

@copilotkit/vue

pnpm add https://pkg.pr.new/@copilotkit/vue@8202

@copilotkit/web-components

pnpm add https://pkg.pr.new/@copilotkit/web-components@8202

@copilotkit/web-inspector

pnpm add https://pkg.pr.new/@copilotkit/web-inspector@8202

commit: e48a511

@AlemTuzlak
AlemTuzlak merged commit 16e6de5 into 2.0.0 Nov 4, 2026
55 checks passed
@AlemTuzlak
AlemTuzlak deleted the alem/2.0-test-rot-react-core branch November 4, 2026 13:26
AlemTuzlak added a commit that referenced this pull request Nov 4, 2026
…o that check nothing (#8204)

Three runtime tests passed only because any `Response` passed. None of
them reached the code it names. This PR makes them reach it and assert
the status. It also deletes two tests that check nothing. No production
code changes.

Part of PE-1086. v1 and the GraphQL runtime are already gone from
`2.0.0` (#8084, #8103), so nothing in runtime was skipped for pending
removal.

## What does this PR do?

### Rewritten

| Test | What was wrong | Evidence |
|---|---|---|
| `fetch-handler.test.ts` › "returns 500 JSON error for unhandled
errors" | The body had no `messages`, so the request got a **400** from
validation. The agent never ran. The test only checked
`toBeInstanceOf(Response)`. | The probe showed a 400 `Invalid request
body`. Mutation **M-A** (the "Failed to run agent" response in
`handle-run.ts` returns 200 instead of 500): the old test passes, the
new one fails. |
| `fetch-handler-validation.test.ts` › "CORS headers present on 500
error responses" | Same body problem: it got a 400, not a 500. |
Mutation **M-A**: the old test passes, the new one fails. |
| `code-review-fixes.test.ts` › "single-route agent/run works after
onBeforeHandler replaces request" | The test's own hook built `new
Request(..., { body: stream })` without `duplex`, and that throws in
Node. The handler returned a **500** `internal_error` and `agent/run`
never ran. | `onError` showed `TypeError: RequestInit: duplex option is
required`. Mutation **M-B** (single-route dispatch sends `{}` instead of
`methodCall.body` for `agent/run`): the old test passes, the new one
fails. |

Each rewritten test now sends a valid run body and asserts the status it
names: 500 with `{"error":"Failed to run agent","message":"boom"}`, 500
with CORS headers, or 200 with `text/event-stream`.

### Deleted

| Test | Why |
|---|---|
| `mcp-clients.test.ts` › "type compatibility: @ai-sdk/mcp MCPClient
satisfies MCPClientProvider" | It cast `tools()` with `as unknown as`
and ended with `expect(true).toBe(true)`, so it checked nothing at
runtime or compile time. Without the cast, `tsc` rejects the claim (see
below). |
| `mcp-apps-middleware-integration.test.ts` › "can be created with
mcpServers config pointing at MCPMock URL" | It asserted that `new
MCPAppsMiddleware(...)` is an instance of `MCPAppsMiddleware`. That is
always true. The other tests in the file use the middleware. |

### Finding for a follow-up (not fixed here)

An `@ai-sdk/mcp` `MCPClient` is **not** assignable to
`MCPClientProvider`. Its `tools()` returns MCP tools whose `inputSchema`
is `FlexibleSchema<unknown>`, and that does not fit the `ai` `ToolSet`.
A user who passes a real `MCPClient` to `mcpClients` gets a type error.
The deleted test hid this with a cast. This PR changes tests only, so
the type stays as it is.

## Related PRs and Issues

- PE-1086 (Linear)
- react-core part: #8202

## Checklist

- [ ] I have read the [Contribution
Guide](https://github.com/copilotkit/copilotkit/blob/master/CONTRIBUTING.md)
- [ ] If the PR changes or adds functionality, I have updated the
relevant documentation (not applicable: tests only)
- [ ] If the PR contains a breaking change, the title has `!` (not
applicable)
- [ ] "Allow edits by maintainers" is checked

## Testing

**Commands run**

- `nx run @copilotkit/runtime:test`: 184 files and 3013 tests pass, 4
skipped.
- `nx run @copilotkit/runtime:check-types --exclude-task-dependencies`:
passes.
- `oxfmt` and the oxlint gate on every changed file: pass.
- Mutations M-A and M-B, applied and reverted locally. Nothing from them
is committed.

**Manual test**

1. In `packages/runtime/src/runtime/handlers/handle-run.ts`, change
`status: 500` in the "Failed to run agent" response to `status: 200`.
2. Run `pnpm vitest run src/runtime/__tests__/fetch-handler.test.ts` in
`packages/runtime`.
3. On `2.0.0`, all tests pass. On this branch, "returns 500 JSON error
for unhandled errors" fails.
4. Revert the change.

**How this PR makes testing easy**

The changes are tests only. The mutation steps above reproduce the
evidence.

## Risk / rollback

Low. Only test files change. To undo, revert the PR.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant