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

@codesentryai/cloud189

v2.0.1

Published

Cloud189 Agent Storage — secure, reliable, extensible, free cloud storage for AI agents, powered by Tianyi Cloud 189 / 天翼云盘. CLI for humans: login, upload, download, sync, status.

Readme

@codesentryai/cloud189

CLI for Cloud189 Agent Storage — safe cloud storage for humans and AI agent workflows.

Login with QR, upload/download files, search remote content, and manage agent-safe storage on Tianyi Cloud 189 / 天翼云盘.

Packages

| Package | Install | What it provides | |---|---|---| | @codesentryai/cloud189 | npm install -g @codesentryai/cloud189 | CLI: cloud189 binary + agent skill | | @codesentryai/cloud189-mcp | npm install -g @codesentryai/cloud189-mcp | MCP server: cloud189-mcp binary | | @codesentryai/cloud189-setup | npx @codesentryai/cloud189-setup | One-command installer |

Source code lives in one repo: CodeSentryAI/cloud189

Quick Start

# 1. Install CLI
npm install -g @codesentryai/cloud189

# 2. (Optional) Install MCP server for AI agent tools
npm install -g @codesentryai/cloud189-mcp

# 3. Login via QR code
cloud189 login-qr

# 4. Verify
cloud189 status --json

Human CLI API

Cloud189 separates simple human uploads from resumable large-object uploads.

Simple upload / sync

Use upload and sync only for small objects:

  • file size <= 2 GiB
  • directory total size <= 2 GiB and file count <= 1000
cloud189 upload ./file.txt <remoteFolderId>
cloud189 upload ./small-dir <remoteFolderId>
cloud189 sync ./file.txt <remoteFolderId>
cloud189 sync ./small-dir <remoteFolderId>

If the path is too large, the CLI refuses and tells you which explicit large-object command to run.

Resumable large-object upload / sync

Large files and large directories use explicit commands and create resumable containers:

cloud189 upload-large-file ./big.bin <remoteFolderId>   # creates big.bin.cloud189-split/
cloud189 upload-large-dir ./huge-dir <remoteFolderId>   # creates huge-dir.cloud189-dir/
cloud189 sync-large-file ./big.bin <remoteFolderId>
cloud189 sync-large-dir ./huge-dir <remoteFolderId>

If interrupted, rerun the same command to resume from uploaded chunks/bundles.

Check resumable container progress at any time:

cloud189 transfer-status <remoteContainerId>
cloud189 transfer-status <remoteContainerId> --json

transfer-status reads .cloud189-split-* or .cloud189-dir-* manifest/progress files and reports completion percent, uploaded chunks/bundles, bytes, and whether the transfer is resumable.

sync-upload is kept as a legacy/raw directory sync command. New human workflows should prefer sync for small objects and sync-large-dir for large directories.

Other CLI commands

cloud189 search "keyword"
cloud189 list -11
cloud189 download <remoteId> ./file.md
cloud189 quota

Agent / MCP API

Agents should use safe tools rather than raw human CLI commands. Safe tools are JSON-oriented, Data-Leak-Guard protected, write-root constrained, and refuse overwrites/deletes by default:

cloud189 upload-safe ./result.md <writeRootId>
cloud189 sync-upload-safe ./results <writeRootId> --once

Use as MCP Server

After installing the MCP package, cloud189-mcp is available as a binary. Add it to your agent's MCP config:

Hermes

hermes mcp add cloud189 --command cloud189-mcp

Claude Code

{ "mcpServers": { "cloud189": { "command": "cloud189-mcp" } } }

OpenClaw

mcp:
  servers:
    cloud189:
      command: cloud189-mcp

Cursor

{ "mcpServers": { "cloud189": { "command": "cloud189-mcp" } } }

See templates/MCP_CONFIGS.md for full examples.

MCP Tools (11)

| Tool | Purpose | |---|---| | cloud189_status | Login state, config, write root | | cloud189_roots | Root folder IDs (personal: -11, syncdisk: 0) | | cloud189_list | List remote folder | | cloud189_tree | Recursive listing | | cloud189_search | Keyword search | | cloud189_quota | Storage usage | | cloud189_download | Download file/folder | | cloud189_upload_safe | Upload to write root, no overwrite | | cloud189_mkdir_safe | Idempotent mkdir in write root | | cloud189_sync_upload_safe | Deletion-free one-shot sync | | cloud189_plan | Dry-run plan for dangerous ops |

Agent-Safe Mode

| Interface | Allowed by default | Denied / discouraged | |---|---|---| | Human CLI | raw upload, upload-large-*, sync, sync-large-*, download/list/search | destructive operations require explicit commands/plan | | MCP / Agent | upload-safe, sync-upload-safe, list/search/download/status/plan | raw upload/sync, delete/move/rename |

MCP agents should use safe tools. Human operators may use raw CLI commands explicitly when targeting folders such as /share.

Agent Storage Layout

Typical layout:

/AgentStorage/
  memory/
  work-results/
  reports/
  logs/
  backups/

Monorepo Layout

cloud189/
├── packages/
│   ├── cli/       → @codesentryai/cloud189
│   ├── mcp/       → @codesentryai/cloud189-mcp
│   └── setup/     → @codesentryai/cloud189-setup
├── package.json   (root, private)
└── README.md

MCP server calls cloud189 --json <command> internally. Shared logic stays in the CLI; no core package needed until duplication becomes painful.

License

MIT — CodeSentryAI

Disclaimer

Personal project. Not affiliated with or endorsed by Tianyi Cloud 189 / 天翼云盘 or any related official service.