Skip to content

chore(lint): fail CI on new lint errors in packages, with a baseline - #8172

Merged
AlemTuzlak merged 15 commits into
2.0.0from
alem/pe-1069-tighten-static-analysis
Nov 4, 2026
Merged

AlemTuzlak merged 15 commits into
2.0.0from
alem/pe-1069-tighten-static-analysis

Conversation

@AlemTuzlak

@AlemTuzlak AlemTuzlak commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Run pnpm lint and pnpm lint:dead-code. With this PR, CI fails when a change adds a new lint error in packages/ source. Old errors are recorded in .lint-baseline/, so the check starts green and the baseline can only get smaller.

Before this PR, lint blocked nothing. Every rule was a warning, CI was not type-aware, and the pre-commit hook did not fail on lint errors.

What does this PR do?

  • Count baseline. scripts/lint/gate.ts runs oxlint or knip and compares the errors per rule and per file with .lint-baseline/. It fails on a higher count, a new file, or a stale entry. pnpm lint:prune only lowers counts.
  • New errors in package source (tests are not checked):
    • no-explicit-any, require-await, no-unnecessary-type-assertion, and ban-ts-comment (a reason is required).
    • Two new rules in tools/oxlint-rules/: copilotkit/no-swallowed-error (empty catch {} and .catch(() => {})) and copilotkit/require-disable-reason (a disable comment needs -- reason).
    • Five promise and switch rules with no baseline. About 110 existing hits are fixed in source, with no change to behavior.
  • Type-aware oxlint with oxlint-tsgolint 7.0.2005, and knip 5.88.1, both pinned exactly.
  • CI and hook. The oxlint job builds packages first, because the type-aware pass needs dist/. A new knip job runs pnpm lint:dead-code. The pre-commit hook runs the gate on the staged files.
  • Docs snippet fix. The Google Antigravity quickstart still imported the removed /v2 subpaths, so check-docs-snippets was red on 2.0.0. It now uses the root entry points and CopilotKitProvider.
  • Docs. dev-docs/static-analysis.md (fix a failing check), dev-docs/static-analysis-rules.md (change the rules), and a short section in AGENTS.md and CLAUDE.md.

The baselines today: 924 oxlint errors (490 of them any) and 69 knip findings.

Related PRs and Issues

  • Linear: PE-1069 (Tighten static analysis to block agent slop)

Checklist

  • I have read the Contribution Guide
  • If the PR changes or adds functionality, I have updated the relevant documentation
  • If the PR contains a breaking change, the title has ! (for example feat(react-core)!: ...) and the description has a BREAKING CHANGE: line with migration steps. See VERSIONING.md (not applicable: no breaking change)
  • "Allow edits by maintainers" is checked (not applicable: same-repo branch)

Testing

Commands run

  • pnpm lint: OK, 924 errors, all in the baseline (about 7 s).
  • pnpm lint:dead-code: OK, 69 findings, all in the baseline (about 9 s).
  • pnpm exec vitest run tools/oxlint-rules scripts/__tests__/lint-gate.test.ts scripts/__tests__/lint-baseline.test.ts: 102 tests pass.
  • pnpm nx run repo-scripts:check-docs-snippets: 1615 snippets pass.
  • Web Inspector browser suite (pnpm exec playwright test --config dev/playwright.config.ts in packages/web-inspector): 23 tests pass after the merge of 2.0.0.
  • check-types and test pass for every package with source changes, run per package with Nx.
  • On some commits I skipped the test-packages pre-commit hook. The machine load was above 180, so tests timed out. I ran the same suites by hand, and they pass.
  • Not run: actionlint (not installed). CI on this PR is the first real run of the new oxlint and knip jobs.

Manual test

  1. Add export const probe: any = 1; to packages/core/src/index.ts.
  2. Run pnpm lint. It fails and names typescript-eslint(no-explicit-any): 1 (allowed 0) for that file.
  3. Stage the file and run git commit. The hook blocks the commit with the same error.
  4. Remove the line. In a file that has a baselined any, remove one any.
  5. Run pnpm lint. It fails because the baseline is stale. Run pnpm lint:prune, then pnpm lint. It passes.

How this PR makes testing easy

  • Unit tests for the baseline compare logic, the gate helpers, and the two custom rules.
  • One command for each check: pnpm lint and pnpm lint:dead-code. They are the same commands that CI runs.

Risk / rollback

  • CI time. The oxlint job now builds all packages. Its timeout goes from 10 to 25 minutes. The 25 minutes is an estimate, not a measured value.
  • Baseline conflicts. A PR that moves files in packages/ must move the baseline entries too. Run pnpm lint:baseline after a rebase like this, and make sure that the diff shows only moved entries.
  • Required check. The new jobs are not required yet. A repo admin must add oxlint and knip to the branch protection for 2.0.0.
  • Rollback. Revert the PR. The source fixes do not change behavior, so a partial revert of .oxlintrc.json and static_quality.yml also works.

Public API change

In @copilotkit/angular, ChatState.submitInput and ChatState.selectSuggestion can now return a promise, the same as finishTranscription. Code that calls them does not change. Callers can now await the result.

Before

chat.submitInput(text); // typed as void

After

await chat.submitInput(text); // typed as void | Promise<void>

🤖 Generated with Claude Code

AlemTuzlak and others added 12 commits November 3, 2026 17:33
… type-aware lint

Fixes every hit of no-floating-promises, no-misused-promises,
await-thenable, switch-exhaustiveness-check and only-throw-error in
package source so those rules can start as errors with no baseline.
Runtime behavior is unchanged: intended fire-and-forget calls are marked
with void, switches name their missing members, and non-Error throws are
wrapped with the original value as cause.

Refs PE-1069

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Pure compare logic for the upcoming lint gate: rule -> file -> count,
over-baseline and stale detection, prune that never raises a count, and
a staged-files mode that skips the stale check.

Refs PE-1069

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Flags empty catch blocks and empty .catch()/.then() rejection handlers.
A comment inside the handler marks the ignore as intentional.

Refs PE-1069

Co-Authored-By: Claude Opus 5.5 <[email protected]>
oxlint-disable and eslint-disable directives must say why, using the
'-- reason' suffix oxlint already understands.

Refs PE-1069

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ignores showcase, examples, codemods, tools and the non-JS packages so a
single knip run fits in memory, and maps package entries back to source.

Refs PE-1069

Co-Authored-By: Claude Opus 5.5 <[email protected]>
pnpm lint now runs oxlint twice (a plain pass over the repo and a
type-aware pass over packages, via the newly pinned oxlint-tsgolint),
merges the results, and fails only on errors that go past the checked-in
baseline or on stale baseline entries. pnpm lint:dead-code does the same
for knip. Both have prune and baseline commands, and a file-list mode for
the pre-commit hook.

Refs PE-1069

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The move to Bundler module resolution (#8167) typed imports that used to
resolve to any, and type-checking angular and vue for lint did the same.
That surfaced floating promises, async callbacks passed where void is
expected, and non-exhaustive switches in runtime, react-core, shared,
angular and vue. Same fix style as the previous commit, no behavior
change. ChatState.submitInput and selectSuggestion in angular may now
return a promise, matching finishTranscription.

Also sets rootDir in the angular tsconfig and drops baseUrl from the vue
tsconfig so tsgolint can load them; check-types and build stay green.

Refs PE-1069

Co-Authored-By: Claude Opus 5.5 <[email protected]>
no-explicit-any, the type-aware promise and assertion rules,
ban-ts-comment, and the two copilotkit rules are now errors in packages/
source (tests excluded). The 928 existing hits are recorded in
.lint-baseline/oxlint.json, so the gate starts green and only shrinks.
no-unnecessary-type-assertion moves out of the global rules, where it
never ran because CI was not type-aware.

Refs PE-1069

Co-Authored-By: Claude Opus 5.5 <[email protected]>
68 findings (unused devDependencies, exports, types, files and unlisted
jsdom) are baselined. phoenix is ignored where tests only use it through
vi.mock.

Refs PE-1069

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The oxlint job builds packages first, because the type-aware pass needs
dist/ to type imports across packages, and runs the gate. A new knip job
runs pnpm lint:dead-code. The pre-commit hook runs the gate on staged
files with --fix, so files that only carry baselined errors still commit.
The hook also now exits on a lint failure: before, the trailing ruff loop
set the script's exit status, so lint errors never blocked a commit.

Refs PE-1069

Co-Authored-By: Claude Opus 5.5 <[email protected]>
dev-docs/static-analysis.md covers fixing a failing check, pruning a
stale baseline and the pre-commit hook. dev-docs/static-analysis-rules.md
covers changing rules, adding a custom rule and tuning knip. AGENTS.md
and CLAUDE.md list the banned patterns, and CONTRIBUTING.md links the
guide.

Refs PE-1069

Co-Authored-By: Claude Opus 5.5 <[email protected]>
#6761 moved web-inspector out of its single index.ts into domain modules,
so the earlier fixes and baseline entries pointed at old paths. This
re-applies the exhaustive-switch and void-callback fixes at the new
locations and moves the existing baselined errors to the new files. No
new error is allowed: the oxlint baseline drops from 928 to 924, and knip
moves from 68 to 69 only because the split itself left an unused file.

Refs PE-1069

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

coderabbitai Bot commented Nov 3, 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

@pkg-pr-new

pkg-pr-new Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
@copilotkit/a2ui-renderer

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

@copilotkit/agentcore-runner

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

@copilotkit/angular

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

@copilotkit/channels

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

@copilotkit/channels-core

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

@copilotkit/channels-discord

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

@copilotkit/channels-intelligence

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

@copilotkit/channels-slack

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

@copilotkit/channels-teams

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

@copilotkit/channels-ui

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

@copilotkit/channels-whatsapp

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

@copilotkit/core

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

@copilotkit/intelligence-langgraph

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

@copilotkit/intelligence-mastra

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

@copilotkit/learning

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

@copilotkit/markdown

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

@copilotkit/mcp-apps-renderer

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

@copilotkit/react-core

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

@copilotkit/react-native

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

@copilotkit/runtime

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

@copilotkit/sdk-js

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

@copilotkit/shared

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

@copilotkit/sqlite-runner

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

@copilotkit/voice

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

@copilotkit/vue

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

@copilotkit/web-components

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

@copilotkit/web-inspector

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

commit: 1d60e5b

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Size Change: +1.27 kB (+0.06%)

Total Size: 2.21 MB

📦 View Changed
Filename Size Change
packages/a2ui-renderer/dist/index.umd.js 12.3 kB +3 B (+0.02%)
packages/a2ui-renderer/dist/react-renderer/create-catalog.cjs 1.21 kB +2 B (+0.17%)
packages/a2ui-renderer/dist/react-renderer/create-catalog.mjs 1.15 kB +3 B (+0.26%)
packages/core/dist/index.cjs 132 kB +23 B (+0.02%)
packages/core/dist/index.mjs 131 kB +13 B (+0.01%)
packages/core/dist/index.umd.js 146 kB +21 B (+0.01%)
packages/react-core/dist/context.cjs 1.6 kB -20 B (-1.23%)
packages/react-core/dist/context.mjs 1.52 kB -21 B (-1.36%)
packages/react-core/dist/generative-ui.cjs 70.8 kB +6 B (+0.01%)
packages/react-core/dist/generative-ui.mjs 70.2 kB +19 B (+0.03%)
packages/react-core/dist/index.cjs 124 kB +87 B (+0.07%)
packages/react-core/dist/index.mjs 124 kB +78 B (+0.06%)
packages/react-core/dist/index.umd.js 160 kB +109 B (+0.07%)
packages/react-core/dist/MarkdownSurfaces-ChOKawIN.cjs 0 B -40.3 kB (removed) 🏆
packages/react-core/dist/MarkdownSurfaces-Ci0E7XKw.cjs 40.3 kB +40.3 kB (new file) 🆕
packages/react-core/dist/MarkdownSurfaces-DAEqIF5v.mjs 0 B -39.7 kB (removed) 🏆
packages/react-core/dist/MarkdownSurfaces-kfFfyx5V.mjs 39.7 kB +39.7 kB (new file) 🆕
packages/react-native/dist/components/index.cjs 8.24 kB -4 B (-0.05%)
packages/react-native/dist/components/index.mjs 8.11 kB -3 B (-0.04%)
packages/shared/dist/finalize-events.cjs 2.07 kB +124 B (+6.39%) 🔍
packages/shared/dist/finalize-events.mjs 2 kB +120 B (+6.38%) 🔍
packages/shared/dist/generative-ui/render-ui-args.cjs 1.49 kB +8 B (+0.54%)
packages/shared/dist/generative-ui/render-ui-args.mjs 1.47 kB +8 B (+0.55%)
packages/shared/dist/index.umd.js 59.7 kB +168 B (+0.28%)
packages/shared/dist/utils/errors.cjs 4.1 kB +5 B (+0.12%)
packages/shared/dist/utils/errors.mjs 4.04 kB +4 B (+0.1%)
packages/shared/dist/utils/json-schema.cjs 1.16 kB +20 B (+1.76%)
packages/shared/dist/utils/json-schema.mjs 1.15 kB +21 B (+1.86%)
packages/web-inspector/dist/domains/home/model.cjs 3.21 kB +9 B (+0.28%)
packages/web-inspector/dist/domains/home/model.mjs 3.18 kB +9 B (+0.28%)
packages/web-inspector/dist/index.umd.js 227 kB +171 B (+0.08%)
packages/web-inspector/dist/shell/launcher/model.cjs 1.75 kB +129 B (+7.96%) 🔍
packages/web-inspector/dist/shell/launcher/model.mjs 1.67 kB +129 B (+8.4%) 🔍
packages/web-inspector/dist/shell/web-inspector-element.cjs 37.3 kB +11 B (+0.03%)
packages/web-inspector/dist/shell/web-inspector-element.mjs 37.9 kB +10 B (+0.03%)
ℹ️ 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/catalog-schema.cjs 1.57 kB
packages/a2ui-renderer/dist/catalog-schema.mjs 1.45 kB
packages/a2ui-renderer/dist/index.cjs 940 B
packages/a2ui-renderer/dist/index.mjs 620 B
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 920 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/AudioPlayer.mjs 508 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 622 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Card.cjs 845 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Card.mjs 435 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/CheckBox.cjs 1.11 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.58 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Column.cjs 856 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Column.mjs 802 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/DateTimeInput.cjs 1.12 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/DateTimeInput.mjs 1.05 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Divider.cjs 856 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Divider.mjs 446 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Icon.cjs 877 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Icon.mjs 469 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Image.cjs 995 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Image.mjs 587 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/List.cjs 920 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/List.mjs 508 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 855 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Row.mjs 801 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Slider.cjs 1.07 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.11 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 919 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Text.mjs 504 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/TextField.cjs 1.22 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/TextField.mjs 1.15 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Video.cjs 788 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Video.mjs 378 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/catalog/basic/utils.cjs 594 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/utils.mjs 571 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 704 B
packages/a2ui-renderer/dist/react-renderer/catalog-utils.mjs 723 B
packages/a2ui-renderer/dist/react-renderer/core/A2UIProvider.cjs 1.42 kB
packages/a2ui-renderer/dist/react-renderer/core/A2UIProvider.mjs 1.35 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/filter-catalog.cjs 622 B
packages/a2ui-renderer/dist/react-renderer/filter-catalog.mjs 569 B
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 424 B
packages/a2ui-renderer/dist/react-renderer/index.mjs 556 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/styles.cjs 13.5 kB
packages/core/dist/styles.mjs 13.5 kB
packages/mcp-apps-renderer/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/mcp-apps-renderer/dist/activity.cjs 259 B
packages/mcp-apps-renderer/dist/activity.mjs 170 B
packages/mcp-apps-renderer/dist/activity.umd.js 2.65 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/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/headless.cjs 17.2 kB
packages/react-core/dist/headless.mjs 16.7 kB
packages/react-native/dist/CopilotKitProvider-DbI3aQam.cjs 1.58 kB
packages/react-native/dist/CopilotKitProvider-DlP73sLt.mjs 1.49 kB
packages/react-native/dist/headless.cjs 647 B
packages/react-native/dist/headless.mjs 384 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/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/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.9 kB
packages/shared/dist/index.mjs 3.28 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/index.cjs 1.49 kB
packages/shared/dist/utils/index.mjs 1.71 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 285 B
packages/shared/dist/utils/inspector-visibility.mjs 282 B
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.92 kB
packages/web-inspector/dist/domains/announcements/markdown.mjs 2.92 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/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/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/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/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

…start

The page came into 2.0.0 from main and still imported
@copilotkit/react-core/v2 and @copilotkit/runtime/v2, which #8084 removed.
Use the root entry points and CopilotKitProvider, and drop the stylesheet
import, so check-docs-snippets passes.

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

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Production Digest-Pinning Audit

All 43 services digest-pinned.

Run 2026-11-04 01:33:50 PST — 0 finding(s).

AlemTuzlak and others added 2 commits November 3, 2026 18:38
…s browser test

The test read the live notification feed. An unread post renamed the
launcher to "Web Inspector, What's new unread", so the exact-name click
timed out on 2.0.0. Stub the feed with an empty list, as the other browser
tests do.

The Learning error signal also opens the inspector on Automatic Learning,
and the workbench toolbar covers the sidebar Home button. Reach Home by
keyboard before checking the Home Learning row.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…-static-analysis

# Conflicts:
#	packages/web-inspector/dev/learning-status.browser.ts
@AlemTuzlak
AlemTuzlak merged commit 0905490 into 2.0.0 Nov 4, 2026
92 of 93 checks passed
@AlemTuzlak
AlemTuzlak deleted the alem/pe-1069-tighten-static-analysis branch November 4, 2026 09:43
AlemTuzlak added a commit that referenced this pull request Nov 4, 2026
Brings in the lint gate (#8172), the inspector feed fixture (#8187) and
the CI checkout fix (#8198). The Angular copy buttons keep the stack's
core copy feedback, which already voids its promise. Core lists jsdom as
a devDependency, so knip no longer flags its jsdom tests as unlisted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
AlemTuzlak added a commit that referenced this pull request Nov 4, 2026
…ze in packages (#8200)

Next step for a maintainer: make the `oxlint` and `knip` jobs of the
`static / quality` workflow required checks for `2.0.0`. This PR does
not change branch protection.

The lint gate in `packages/` source now fails on unsafe `as` casts, dead
branches, files with more than 800 lines of code, and every other rule
in the oxlint `correctness` and `suspicious` categories. Before this PR,
those rules only gave warnings. Old hits are in the baselines, so only
new errors fail CI.

## What does this PR do?

`2.0.0` already had most of PE-1069 from #8172: type-aware oxlint,
`no-explicit-any`, `no-swallowed-error`, knip, and a baseline. This PR
closes the remaining gaps:

1. **Correctness and suspicious rules are errors.** An oxlint override
cannot set a category, so `.oxlintrc.json` lists all 186 rules by name.
It sets them to `error` for package source and back to `warn` for tests.
The new `scripts/__tests__/lint-category-rules.test.ts` fails when an
oxlint upgrade adds a rule that the list does not have.
2. **Dead branches and oversized modules are errors.**
`typescript/no-unnecessary-condition` changes from `warn` to `error`.
`eslint/max-lines` is `error` at 800 lines of code (blank lines and
comments are not counted).
3. **knip finds more.** It now also reports `duplicates` (one value
exported under two names) and `enumMembers`. The gate counts each
duplicate group as one finding.
4. **CI.** The `oxlint` job runs the gate unit tests. No job ran them
before. The workflow also runs on pushes to release lines such as
`2.0.0`. PRs into `2.0.0` already ran it.
5. **Real fixes, not baselined.** About 64 hits are fixed in source,
with no behavior change: 45 type arguments that equal the default, 16
unused imports or bindings, 2 `void` operators on calls that return
`void`, and one dead function (`setRecallQuery`).

`unicorn/no-useless-spread` is now `off`. All 11 of its hits are `for
(const listener of [...listeners])`. That copy is on purpose, because a
listener can unsubscribe while the loop runs. Its fix would remove the
copy and cause a bug.

### Baseline size per package

The baselines record counts of allowed errors for each rule and file. A
count can only go down (`pnpm lint:prune`).

| Package | oxlint before | oxlint after | knip before | knip after |
| --- | --- | --- | --- | --- |
| `runtime` | 99 | 928 | 15 | 15 |
| `react-core` | 115 | 317 | 22 | 41 |
| `core` | 71 | 301 | 1 | 1 |
| `angular` | 181 | 257 | 4 | 4 |
| `a2ui-renderer` | 30 | 187 | 5 | 7 |
| `web-inspector` | 16 | 186 | 6 | 6 |
| `channels-core` | 52 | 182 | 0 | 0 |
| `channels-slack` | 25 | 177 | 0 | 0 |
| `markdown` | 54 | 129 | 0 | 0 |
| `sdk-js` | 43 | 110 | 6 | 6 |
| `shared` | 41 | 103 | 1 | 3 |
| `channels-teams` | 9 | 96 | 0 | 0 |
| `channels-discord` | 18 | 90 | 0 | 0 |
| `vue` | 15 | 80 | 3 | 4 |
| `channels-intelligence` | 13 | 73 | 0 | 0 |
| `react-native` | 24 | 54 | 1 | 1 |
| `channels-whatsapp` | 8 | 39 | 0 | 0 |
| `learning` | 2 | 26 | 0 | 0 |
| `web-components` | 7 | 22 | 1 | 1 |
| `mcp-apps-renderer` | 7 | 19 | 1 | 1 |
| `channels-ui` | 1 | 18 | 2 | 3 |
| `sqlite-runner` | 3 | 14 | 0 | 0 |
| `intelligence-langgraph` | 3 | 14 | 0 | 0 |
| `intelligence-mastra` | 2 | 6 | 0 | 0 |
| `agentcore-runner` | 1 | 3 | 0 | 0 |
| `voice` | 0 | 1 | 0 | 0 |
| **Total** | **840** | **3,432** | **68** | **93** |

The new oxlint entries by rule. The largest are:

- `no-unnecessary-condition` (dead branches): 1,128
- `no-unsafe-type-assertion`: 952
- `no-unnecessary-boolean-literal-compare`: 181
- `no-base-to-string`: 91
- `max-lines`: 30 files

The knip additions are 24 `duplicates` and 1 `enumMembers`. Most
duplicates are React components exported both by name and as `default`.
Old baseline entries did not change.

## Related PRs and Issues

- Linear PE-1069
- Builds on #8172

## Checklist

- [ ] I have read the [Contribution
Guide](https://github.com/copilotkit/copilotkit/blob/master/CONTRIBUTING.md)
- [x] If the PR changes or adds functionality, I have updated the
relevant documentation (`dev-docs/static-analysis.md`,
`dev-docs/static-analysis-rules.md`)
- [ ] If the PR contains a breaking change, the title has `!` and the
description has a `BREAKING CHANGE:` line. Not applicable: no breaking
change.
- [ ] "Allow edits by maintainers" is checked

## Testing

**Commands run**

- `pnpm lint`: OK, 3,432 errors, all within the baseline. Run after
`pnpm build`.
- `pnpm lint:dead-code`: OK, 93 errors, all within the baseline.
- `pnpm exec vitest run
scripts/__tests__/lint-{gate,baseline,category-rules}.test.ts`: 41
passed. I also removed one rule from the list by hand, and the drift
test failed and named it.
- `nx run-many -t check-types` for the 8 packages with source changes:
passed.
- `nx affected -t lint,check-types,test --base=origin/2.0.0`: 36
projects. 8 tasks failed. None of the failures come from this branch:
- `react-native:test` (`CopilotChatInterrupt.test.tsx`, an `Animated`
mock error): the same failure occurs with the `origin/2.0.0` source.
- `react-core:test` (2 chart tests): these pass alone, with both this
branch and the `origin/2.0.0` source. They fail only under parallel
load.
- `vue:lint`: ESLint errors in files that this PR does not change, most
of them in tests.
- `runtime:test` (an MCP integration test timed out after 5 s),
`genui-eval:test` (`@copilotkit/shared` was being rebuilt at the same
time), `showcase-angular-host:test` (Nx marked it flaky): this PR does
not change these projects' source.
- `next-pages-router:lint`: `next lint` stops at an interactive prompt.
  - `react-native-demo:test`: a Jest ESM setup error.

**Manual test**

1. Add `const x = value as unknown as string;` to any file in
`packages/core/src/`.
2. Run `pnpm lint -- <that file>`.
3. Make sure that the gate fails with `no-unsafe-type-assertion` and
names the line.

**How this PR makes testing easy**

- `scripts/__tests__/lint-category-rules.test.ts` keeps the rule list in
sync with oxlint.
- `scripts/__tests__/lint-gate.test.ts` now covers the knip `duplicates`
and `enumMembers` shapes.

## Risk / rollback

- A PR that adds a new hit of these rules in `packages/` source now
fails `oxlint`. Fix it, or add a disable comment with a reason. The fix
table is in `dev-docs/static-analysis.md`.
- `no-unnecessary-condition` is in the oxlint `nursery` category. An
oxlint upgrade can change its counts. If that happens, run `pnpm
lint:baseline` in the upgrade PR.
- For `max-lines`, the baseline holds one count per file. A file that is
already over 800 lines can grow more without a failure.
- Rollback: 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