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

@liumir/lmcode

v0.9.21

Published

A terminal-native AI agent for builders

Readme

LMcode 的界面和默认交互以中文为主,模型服务可以自己配置。项目目前处于 0.x,由 Lyin01 个人维护。

安装

需要 Node.js >= 22.19.0

npm install -g @liumir/lmcode

进入项目目录并启动:

cd your-project
lm

第一次启动后运行 /config,选择模型服务和模型,再登录或填写 API Key。之后用 /model 切换模型。

使用

交互界面里直接输入任务:

找出当前测试失败的原因,修好后运行相关测试。不要改无关文件。

退出后可以继续当前目录最近一次会话:

lm -C

一次性运行:

lm "总结这个仓库的入口和模块边界"
lm -p "检查工作树里未提交的改动" --output-format stream-json

常用入口

| 入口 | 用途 | | --- | --- | | /config | 配置模型服务 | | /model | 切换模型和思考强度 | | /permission | 切换权限模式 | | /plan | 开关计划模式 | | /goal | 创建、查看、暂停或恢复长期目标 | | /wolfpack | 开关多 Agent 并行模式 | | /sessions | 浏览和恢复会话 | | /tasks | 查看后台任务 | | /memory | 搜索和注入任务记忆 | | /mcp | 管理 MCP Server | | /plugin | 浏览和管理插件 | | /help | 查看完整命令和快捷键 |

/goal 用于连续推进多轮的任务,/wolfpack 用于可以并行拆分的工作。会话会保存在本机,/sessions 可以在之后恢复。Skills 会从 ~/.lmcode/skills~/.agents/skills 和项目内的同名目录自动发现。

数据和权限

LMcode 不是离线工具:

  • 配置、会话、记忆和大部分运行记录默认保存在本机的 ~/.lmcode;可以用 LMCODE_HOME 改到其他目录。
  • 提示、必要的文件内容和工具结果会发送给你配置的模型服务。
  • 联网搜索、URL 抓取、MCP 和 cc-connect 会把相关数据发送给对应的外部服务。
  • auto 自动批准未被前置规则拦截的调用,但敏感文件、Git 控制路径和当前目录外写入仍会询问;manual 会保留更多确认;yolo 会绕过这些文件边界。

当前版本启动时默认是 yolo。希望保留更多确认时,进入 TUI 后先用 /permission 切到 automanual。在重要仓库里使用前,建议先提交或暂存自己的改动。

文档和源码

LMcode 最初从 Scream Code 分支出来。感谢 LIUTod 的原始实现和开源工作。

License

MIT