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

@jianmu-plugins/agent-eta

v0.1.0

Published

Connect Eta to Magpie's agent-scoped model catalog

Readme

Magpie agent plugin for Eta

Eta

Use Magpie's models and routing groups in Eta's existing model picker, without rebuilding Magpie or configuring an address or key in Eta.

Install and use

Requires Eta 0.1.164 or later and an official Magpie version supporting agent plugins (magpie.agent). Tested against the unmodified host at v0.1.3233; the earliest compatible release has not been established.

  1. Keep this plugin in a permanent folder. In Magpie's Plugins page, add its absolute folder path (not the individual module). This lets Magpie read the Eta display name, icon and bilingual summary from the package. Alternatively, run:

    magpie plugin add /absolute/path/to/magpie-agent-eta

    In a checkout of the community plugins repository, the folder is packages/eta. No Node runtime, build step, source patch or external setup tool is needed. Local plugins reference their files in place: do not delete or move the installed folder.

    Once published and listed, the package is @jianmu-plugins/agent-eta, displayed as Eta under Plugins → Discover → Agents. The community release workflow distributes it after review and merge.

    If you previously imported the standalone agent file alone, disconnect Eta and remove that single-file plugin entry before adding the package folder; do not install both at once. Standalone files still work, but the installed-plugin row cannot read their package name or summary and may show the filename instead.

  2. In Magpie's Agents page, connect Eta to Magpie and choose which models and routing groups Eta may see. Installing the plugin exposes the Eta entry even before Eta's first launch; it does not automatically connect it.

  3. Keep Magpie running on the same computer. Fully quit and reopen Eta, then select a model from the Magpie group. Your current selection, direct providers and saved conversations are unchanged.

After changing model visibility, restart Eta to reload its catalog. After changing the gateway port, reapply Eta's Magpie provider in Magpie before restarting Eta: the tested host does not automatically rewrite this plugin's gateway address on every port change.

Disconnect or remove

Disconnect Eta on Magpie's Agents page, or disable/remove this plugin on its Plugins page, then restart Eta. Magpie restores the previous values of the integration keys and retains unrelated fields. If there were no previous values, it may leave an empty JSON object; Eta treats that as disconnected. Re-enabling the plugin does not silently reconnect Eta: connect it again in Magpie.

The host identifies ownership by the gateway key. Replacing the key yourself makes the connection yours and prevents automatic restoration. Changes to Magpie-managed fields while retaining its key may be overwritten by synchronization or restoration; keep custom settings outside those fields. Existing Eta credentials are never edited.

Configuration and limits

Magpie writes ~/.config/eta/magpie.json on all platforms. Eta prefers this stable plugin path; only when it is absent does it read the older $XDG_CONFIG_HOME/eta/magpie.json location. Do not delete the restored object if you still have an old XDG configuration you do not want to reactivate.

The versioned contract is:

{ "version": 1, "baseUrl": "http://127.0.0.1:3425", "apiKey": "magpie-eta" }

The address and key are examples; the plugin uses Magpie's configured origin and Eta-scoped gateway key. Eta fetches the visible catalog from /v1/models rather than copying model lists into this file, and calls OpenAI Chat Completions through Magpie. Route IDs stay intact.

Only same-machine HTTP loopback gateways are supported, not remote gateways or WSL routing. A missing/unavailable Magpie does not silently switch Eta to a direct provider. This plugin does not configure remote Bots. Native desktop interaction and paid upstream model acceptance are not covered by the package tests.

License

MIT.