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

@xcanwin/manyoyo

v5.7.9

Published

AI Agent CLI Security Sandbox for Docker and Podman

Downloads

4,556

Readme

MANYOYO(慢悠悠)


为什么是 MANYOYO

AI Agent CLI 往往需要:

  • 访问代码仓库
  • 执行 shell 命令
  • 读写文件
  • 安装依赖或调用容器能力

直接在宿主机上裸跑这些工具,风险边界通常不清晰。MANYOYO 的目标不是替代容器平台,而是把常见 Agent CLI 的运行方式收敛到一个更清晰、可复现、可审计的沙箱入口。

你可以把它理解为:

  • 面向 Agent CLI 的运行包装层
  • 面向团队协作的配置与镜像约定
  • 面向高风险模式的显式边界说明

核心能力

  • 多 Agent 支持:支持 claudegeminicodexopencode
  • 容器隔离:基于 Docker / Podman 运行,降低宿主机暴露面
  • YOLO / SOLO 工作流:适配跳过权限确认的高效率模式
  • 统一配置入口:集中管理 runs.<name>、环境变量、挂载与镜像参数
  • 命令可预览:支持查看配置合并结果与最终命令拼装
  • 会话与 Web 模式:支持容器会话管理与网页访问入口
  • 镜像可定制:支持 common / full / 自定义工具集镜像

快速开始

npm install -g @xcanwin/manyoyo
podman pull ubuntu:24.04           # 仅 Podman 需要
manyoyo build --iv 1.9.0-common
manyoyo init all
manyoyo run -r claude

系统要求:

  • Node.js >= 22
  • Podman(推荐)或 Docker

注意:

  • YOLO / SOLO 会跳过权限确认,只适合在可控环境中使用
  • sock 模式会暴露宿主机 Docker socket,不属于强隔离

适合什么场景

  • 在容器中运行 Claude Code YOLO / SOLO
  • Codex CLI 提供独立于宿主机的运行边界
  • 隔离运行 Gemini CLI / OpenCode 的代码任务
  • 用统一镜像和配置管理团队 Agent 环境
  • 在调试和自动化任务中快速切换 Agent 与 /bin/bash

裸跑 vs MANYOYO

| 对比项 | 裸跑 Agent CLI | MANYOYO | | --- | --- | --- | | 宿主机暴露面 | 高 | 更低 | | 运行边界 | 分散 | 集中到容器与配置 | | 环境复现 | 弱 | 强(镜像 + 配置) | | 高风险模式说明 | 通常依赖工具自身 | 明确提示 YOLO / SOLO / sock 风险 | | 团队统一性 | 弱 | 更强 |

安全边界

MANYOYO 可以降低风险,但不是“绝对安全”:

  • 它的主要隔离手段是容器,不是虚拟机
  • YOLO / SOLO 仍然可能执行危险命令
  • sock 模式本质上会把宿主机容器控制权暴露给容器
  • 自定义挂载、环境变量和网络访问会直接影响实际安全边界

相关文档:

常用命令

# 初始化与迁移
manyoyo init all

# 启动常见 Agent
manyoyo run -y c
manyoyo run -y gm
manyoyo run -y cx
manyoyo run -y oc

# 更新
manyoyo update

# 容器与调试
manyoyo ps
manyoyo images
manyoyo run -n my-dev -x /bin/bash
manyoyo rm my-dev

# Web 模式
manyoyo serve 127.0.0.1:3000
manyoyo serve 127.0.0.1:3000 -U admin -P 123456
manyoyo serve 127.0.0.1:3000 -U admin -P 123456 -d
manyoyo serve 127.0.0.1:3000 -d   # 未设置密码时会打印本次随机密码

# 查看配置与命令拼装
manyoyo config show
manyoyo config command

镜像构建

# common 版本
manyoyo build --iv 1.9.0-common

# full 版本
manyoyo build --iv 1.9.0-full

# 自定义工具集
manyoyo build --iba TOOL=go,codex,java,gemini

说明:

  • 首次构建会把依赖缓存到 docker/cache/
  • 在缓存有效期内重复构建,通常会更快
  • imageVersion 格式必须为 x.y.z-后缀

配置模型

MANYOYO 的配置重点不是“多”,而是“可预测”:

  • 标量值按 命令行参数 > runs.<name> > 全局配置 > 默认值 覆盖
  • 数组值按 全局配置 -> runs.<name> -> 命令行参数 追加合并
  • env 使用 map 合并,按 key 覆盖

相关文档:

文档入口

中文文档:

English Documentation:

安装与卸载

安装:

npm install -g @xcanwin/manyoyo

卸载:

npm uninstall -g @xcanwin/manyoyo
rm -rf ~/.manyoyo/   # 可选

许可证

MIT

贡献

欢迎提交 Issue 和 Pull Request。