Skip to content

release: the answered signal, @chatcops/react, chatcopsNext() and crawl ingest - #627

Draft
anurag629 wants to merge 43 commits into
productionfrom
dev
Draft

anurag629 wants to merge 43 commits into
productionfrom
dev

Conversation

@anurag629

@anurag629 anurag629 commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Deploys everything on dev:

dev has 30 changesets: minor for core, server, widget, ingest, cli and react, and patches for core, server, widget, ingest and cli. After this merges, the release workflow opens a "chore: version packages" PR. npm publishing happens when that PR is merged, not this one.

Merge #629 before this. It takes the private flag off @chatcops/react, and goes in once trusted publishing is set up for it on npm.

Test plan

anurag629 and others added 30 commits November 1, 2026 02:05
* fix(core): honor HTTP-date Retry-After values

* fix(core): distinguish numeric retry delays from dates

* fix(core): cancel retry body before parsing retry delay

---------

Co-authored-by: Anurag Verma <78868769+anurag629@users.noreply.github.com>
Co-authored-by: Anurag Verma <78868769+anurag629@users.noreply.github.com>
Co-authored-by: Anurag Verma <78868769+anurag629@users.noreply.github.com>
…ach chunk before embedding (#554) (#566)

ingest() takes contextualize: { provider }. For each chunk a model writes a
sentence or two that places it in its page, with the page in the system prompt
(so a provider that caches prompts reads it once) and the chunk in the message.
The context is embedded with the chunk, the stored text stays the chunk and the
context goes in its metadata. Turning it on or off, or changing the model,
embeds pages again; a dry run asks no model; the stats count the chunks and the
model tokens. chatcops ingest --contextualize turns it on from the config.

Co-authored-by: Saif Ullah jafri <saifullahjafri@Saifs-MacBook-Air.local>
Co-authored-by: Anurag Verma <78868769+anurag629@users.noreply.github.com>
#556) (#567)

The heading regex dropped every # at the end of a heading, so '## Using C#'
became 'Using C' in the heading path and the chunk's section. A closing run of
# is now dropped only when a space comes before it, as in CommonMark.

Co-authored-by: Saif Ullah jafri <saifullahjafri@Saifs-MacBook-Air.local>
Co-authored-by: Anurag Verma <78868769+anurag629@users.noreply.github.com>
…569)

Co-authored-by: Saif Ullah jafri <saifullahjafri@Saifs-MacBook-Air.local>
* Added docs for test bot

Signed-off-by: Anurag Yadav <anuragyadav2787@gmail.com>

* Address review

Signed-off-by: Anurag Yadav <anuragyadav2787@gmail.com>

* Address review

Signed-off-by: Anurag Yadav <anuragyadav2787@gmail.com>

---------

Signed-off-by: Anurag Yadav <anuragyadav2787@gmail.com>
)

checkAnswered() in core (refusal phrases near the start in 5 languages, empty or weak retrieval, uncited long replies); the server saves metadata.answered and unansweredReason on each finished reply. P3 O1.
Workers bundles pick turndown's browser build, which parses an HTML
string with the page's document. A Worker has no document, so every
page failed with "document is not defined". Parse with domino (the
parser turndown's Node build already uses) and hand turndown the element.
* fix(core): validate topN in cohere and voyage rerankers (#582)

* chore: add changeset for reranker topN validation (#582)

* fix(core): allow Infinity topN in cohere and voyage rerankers (#582)
* feat(cli): add junit reporter and output support

* fix(cli): handle report output failures safely

---------

Co-authored-by: Anurag Verma <78868769+anurag629@users.noreply.github.com>
* feat(ingest): crawl discovery source (#586)

* fix(ingest,cli): address review feedback for crawl discovery (#586)

* fix(ingest): robots check on start URL, source maxPages message, and doc (#586)
… (#580)

* feat(server): add chatcopsNext() catch-all route adapter for Next.js (#574)

* refactor(server): reuse chatcopsVercelHandler in chatcopsNext and update Next.js docs

* docs(server): point security doc and server README at Next.js catch-all route

---------

Co-authored-by: Saif Ullah jafri <saifullahjafri@Saifs-MacBook-Air.local>
…583)

* feat(react): add <ChatCops> component and useChatCops() hook (#573)

* fix(react): address review feedback on function props, prop removal, and tests

---------

Co-authored-by: Saif Ullah jafri <saifullahjafri@Saifs-MacBook-Air.local>
Co-authored-by: Anurag Verma <78868769+anurag629@users.noreply.github.com>
Co-authored-by: Anurag Verma <78868769+anurag629@users.noreply.github.com>
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.4.3 to 6.4.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.4.5/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.4.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.4.5
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anurag Verma <78868769+anurag629@users.noreply.github.com>
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 20.14.5 to 21.0.4.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](capricorn86/happy-dom@v20.14.5...v21.0.4)

---
updated-dependencies:
- dependency-name: happy-dom
  dependency-version: 21.0.4
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Added docs for astro nuxt and sveltekit

Signed-off-by: Anurag Yadav <anuragyadav2787@gmail.com>

* Address review

Signed-off-by: Anurag Yadav <anuragyadav2787@gmail.com>

---------

Signed-off-by: Anurag Yadav <anuragyadav2787@gmail.com>
Co-authored-by: Anurag Verma <78868769+anurag629@users.noreply.github.com>
) (#595)

* feat(widget): show pill when new messages arrive while scrolled up (#420)

* fix(widget): optimize bundle size to satisfy size budget in CI (#420)

* fix(widget): fix void return lint errors in messages (#420)

* fix(widget): optimize bundle size to meet Linux CI budget (#420)

* fix(widget): address maintainer review feedback on new reply pill (#420)

* fix(widget): trim reply pill bundle below size budget (#420)

---------

Co-authored-by: Anurag Verma <78868769+anurag629@users.noreply.github.com>
* fix(server): validate rateLimit.windowMs at startup (#452)

* fix: validate all rate limit values

---------

Co-authored-by: Anurag Verma <78868769+anurag629@users.noreply.github.com>
* fix(cli): resolve GitHub annotations from workspace

* chore(cli): update public API snapshot
Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 7.3.5 to 7.4.7.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@7.4.7/packages/astro)

---
updated-dependencies:
- dependency-name: astro
  dependency-version: 7.4.7
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anurag Verma <78868769+anurag629@users.noreply.github.com>
The site said ~7KB gzipped and 8 built-in locales, and the widget README
said ~13KB and English only. The script tag loader is 4.95 kB gzipped and
the chat panel, loaded on open, is 19 kB. The widget ships English plus 13
translations.
anurag629 and others added 12 commits November 16, 2026 12:43
The docs chat on chat.codercops.com had no global budget, so its bill had
no ceiling. Cap it at 5M tokens a day (about 2,000 answers) and lower the
per-IP default from 2M to 250k tokens (about 100 answers), so one script
can't use up the day for everyone.
* feat(cli): run tests against HTTP servers

* fix(cli): restore CI type safety

* fix(cli): satisfy CI lint

* fix(cli): support live deployed server tests

* fix(cli): reject authorization header with sessions

---------

Co-authored-by: Anurag Verma <78868769+anurag629@users.noreply.github.com>
Co-authored-by: Anurag Verma <78868769+anurag629@users.noreply.github.com>
* i18n: fill remaining locale strings for #55

* fix(widget): use polite Chinese address

---------

Co-authored-by: Anurag Verma <78868769+anurag629@users.noreply.github.com>
Co-authored-by: Anurag Verma <78868769+anurag629@users.noreply.github.com>
* fix(widget): improve inline accessibility

* test(e2e): wait past focus timer before checking inline focus

---------

Co-authored-by: Anurag Verma <78868769+anurag629@users.noreply.github.com>
* chore(core): upgrade @google/genai to 3.2

* chore(core): upgrade @google/genai to 3.3
* fix(widget): validate on submit and focus first invalid field (#614)

* test(e2e): update screenshot baselines

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Anurag Verma <78868769+anurag629@users.noreply.github.com>
Node 25 turned on its own localStorage, which hides happy-dom's, so 42 of
the 222 widget tests failed with "localStorage.clear is not a function".
Start the test workers with --no-experimental-webstorage on Node 25 and
later. Node 22 and 24 don't get the flag.
…hoices (#625)

Co-authored-by: Anurag Verma <78868769+anurag629@users.noreply.github.com>
* chore(deps): bump the provider-sdks group with 2 updates

Bumps the provider-sdks group with 2 updates: [@anthropic-ai/sdk](https://github.com/anthropics/anthropic-sdk-typescript) and [openai](https://github.com/openai/openai-node).


Updates `@anthropic-ai/sdk` from 1.2.0 to 1.8.0
- [Release notes](https://github.com/anthropics/anthropic-sdk-typescript/releases)
- [Changelog](https://github.com/anthropics/anthropic-sdk-typescript/blob/main/CHANGELOG.md)
- [Commits](anthropics/anthropic-sdk-typescript@sdk-v1.2.0...sdk-v1.8.0)

Updates `openai` from 7.39.0 to 7.57.0
- [Release notes](https://github.com/openai/openai-node/releases)
- [Changelog](https://github.com/openai/openai-node/blob/main/CHANGELOG.md)
- [Commits](openai/openai-node@v7.39.0...v7.57.0)

---
updated-dependencies:
- dependency-name: "@anthropic-ai/sdk"
  dependency-version: 1.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: provider-sdks
- dependency-name: openai
  dependency-version: 7.57.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: provider-sdks
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: add a changeset for the provider SDK updates

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: anurag629 <akvermaav629@gmail.com>
Co-authored-by: Anurag Verma <78868769+anurag629@users.noreply.github.com>

This branch has not been deployed

No deployments
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.

8 participants