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

cmd-mod-jev-nudge

v0.1.0

Published

Command Code mod: nudges the agent to keep going when it stops with work left, judged by Jev

Downloads

262

Readme

cmd-mod-jev-nudge

https://github.com/user-attachments/assets/c2265d14-2012-46e2-94fb-f7b1174c00e9

Agents stop too early. They do one step, say "next I'll do X", and hand the prompt back.

This Command Code mod asks Jev at every stop: would a nudge help? Yes, and the agent keeps going. It won't nudge when the agent is waiting on you, or when the last nudge got nothing done.

Install

cmd login                        # skip if signed in
cmd mods add cmd-mod-jev-nudge   # add -g for all projects

That's it. Uses your Command Code key (CMD_API_KEY or cmd login). If Jev fails, the run stops as normal.

See it

say hi in five languages. ONE hi per reply, then stop and say how many done. after the fifth say "all done".
you   ▸ say hi in five languages ...

agent ▸ Hola! 1 of 5 done.
  jev nudge 1: unfinished work found (78%), continuing
agent ▸ Bonjour! 2 of 5 done.
  jev nudge 2: unfinished work found (74%), continuing
agent ▸ Ciao! 3 of 5 done.
  jev nudge 3 ...
agent ▸ Hallo! 4 of 5 done.
  jev nudge 4 ...
agent ▸ Konnichiwa! all done.
                                  ← Jev 5%, no nudge, run ends
you   ▸ _

You type once and get five replies. Add "then wait for my go-ahead" to the prompt and it stops after one, because the agent is now waiting on you.

How it works

agent stops
   │
   ▼
POST api.commandcode.ai/provider/v1/systemone  (typesafe/jev)
   nudge     would a nudge help right now?        p
   waiting   needs you: permission, info, choice? p
   progress  did the last nudge get anywhere?     p   (2nd nudge on)
   │
   ▼
waiting ≥ .5 · progress < .5 · nudge < .5 · error  →  stop
otherwise                                          →  nudge, keep going

Command Code allows at most 8 nudges per user turn.

Flags

--mod-option name=value

| Flag | Default | Meaning | |---|---|---| | jev-nudge-threshold | 0.5 | Min probability to nudge | | jev-nudge-max | none | Max nudges per run, 0 = off | | jev-nudge-verbose | false | Show skipped nudges too | | jev-nudge-base-url | https://api.commandcode.ai | API root | | jev-nudge-model | typesafe/jev | Model id |

DEBUG=true logs every decision to stderr.

The 0.5 threshold is measured. Jev says 0.5 to 0.8 with work left and under 0.1 when done.

Develop

git clone https://github.com/CommandCodeAI/cmd-mod-jev-nudge.git
cd cmd-mod-jev-nudge && pnpm install
cmd --mod .       # run it
pnpm test

Offline, run node scripts/fake-jev.mjs and add --mod-option jev-nudge-base-url=http://127.0.0.1:4711. It logs requests to jev-log.jsonl.