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

@cuelight/cli

v0.1.4

Published

CueLight CLI for AI-powered drama production workflows

Readme

@cuelight/cli

CueLight 的命令行工具,用于通过 CLI 管理项目、角色、场景、分镜、视频与相关资源。对外部 agent 而言,CLI 是读取项目事实、保存文字资源、提交图片/视频任务的主要入口。

公开边界

  • 公开 CLI 只提供资源读取、资源保存/更新、状态汇总、图片/视频/语音任务提交与轮询导出
  • 文本内容默认由外部 agent 自行生成,再通过 CLI 写回
  • 不通过公开 CLI 暴露 CueLight 内部 chat/agent 交互
  • 内部调试和旧文本 AI 能力保留在 cuelight-cli internal ...,不出现在根 help 中

运行时要求

  • 预编译二进制分发,安装后运行不需要 Bun
  • 当前支持以下平台:
    • macOS x64
    • macOS arm64
    • Windows x64
    • Linux x64 (glibc)
    • Linux x64 (musl / Alpine)

安装

bun add -g @cuelight/cli

也支持:

npm install -g @cuelight/cli

安装完成后可直接验证:

cuelight-cli --version

若当前平台不在支持列表内,安装器会提示找不到匹配的本地二进制包。 若平台子包缺失、二进制文件损坏或缺少执行权限,可执行:

cuelight-cli doctor fix-binary

doctor fix-binary 同时支持本地项目安装和全局安装,会自动选择合适的包管理器并尝试补装对应平台子包。

使用

cuelight-cli --help
cuelight-cli --version
cuelight-cli project list --help
cuelight-cli project status <projectId> --json
cuelight-cli director status <projectId> --json
cuelight-cli director storyboard-status <episodeId> --json
cuelight-cli episode status <episodeId> --json
cuelight-cli bible set-world <projectId> --file ./.cuelight/<projectId>/world.txt

Director 命令组

director 提供给外部 agent 使用的稳定导演原语,定位是:

  • 状态读取:director status / visual-status / storyboard-status / video-status
  • 视觉配置:director configure-visuals / set-style-prompt / generate-style-image
  • 分镜操作:director import-storyboards / update-storyboard
  • 视频操作:director generate-video / batch-generate-videos / wait-task / export-videos
  • 资产操作:公开 character / scene / prop 命令组分别管理角色、场景、道具与参考图

对于外部 agent,推荐始终使用 --json,并按 agent-skills/cuelight-drama/references/director.md 中定义的字段契约消费输出。

Internal 命令

若需要开发/排障用途的内部能力,可显式使用:

cuelight-cli internal workflow my-script-e2e --file ./test-data/test-08.txt
cuelight-cli internal director generate-storyboards <episodeId> --wait

这些命令不属于公开 agent 操作面,skill 也不会引用。

配置

cuelight-cli config show
# 默认连接 https://cuelight.app,如需本地服务请显式覆盖
cuelight-cli config set url http://localhost:3000
cuelight-cli config set api-key <key>