npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@rekayasa/copilotkit-core

v1.55.3-erica.1

Published

Core web utilities for CopilotKit2

Readme

Erica CopilotKit Core (Unofficial Fork)

This is an unofficial fork, not an official CopilotKit release. It is independently maintained for Erica and is not affiliated with or endorsed by the upstream CopilotKit project.

Purpose and changes

This fork contains a focused optimization for repeated state-snapshot allocations during chat rendering. It is intended to be used with the matching @rekayasa/copilotkit-react-core fork.

The patch adds an internal getStateByRunForMemoization() method that returns a serialized string token for render memoization instead of creating another state object through JSON.parse(JSON.stringify(state)).

  • Public getStateByRun() behavior is unchanged: callers still receive defensive copies.
  • Custom renderers retain their existing defensive-copy boundary.
  • Tokens are serialized on each read; no long-lived snapshot cache is introduced.
  • This optimization does not eliminate all serialization or guarantee that every large-output workload is free of out-of-memory failures.

getStateByRunForMemoization() is an internal integration detail, not a new supported public application API.

Dependency compatibility

Use this package with @rekayasa/[email protected]. To preserve existing import paths, the dependency can be installed under the original name using an npm alias:

{
  "@copilotkit/core": "npm:@rekayasa/[email protected]"
}

This is a dependency entry, not a complete application configuration. Other CopilotKit packages can still request upstream Core or React Core versions. Align the consuming application's dependency graph and peer requirements so the patched and upstream implementations are not installed in parallel. Any npm overrides must be configured in the consuming application's root manifest; overrides in an installed library do not propagate to its consumers.

Upstream documentation

For the original project and documentation, see CopilotKit. Upstream documentation describes the upstream project and does not imply endorsement or support of this fork.

License and attribution

Distributed under the MIT License. CopilotKit's original copyright notices and license terms are retained. See LICENSE for the original attribution and full terms.