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

@mcd0luo/celes-dsh-eye

v0.1.5

Published

Pseudo-multimodal for dsh (Celestea series): store image attachments locally and let the model read them on demand through a vision tool (dsh_eye_read_image)

Readme

@mcd0luo/celes-dsh-eye

dsh 伪多模态插件(Celestea 系列):DeepSeek 模型只接受文本,图片附件不直接 发送给 LLM,而是落盘到本地 attachment store,由模型按需调用 dsh_eye_read_image 工具(携带分析指令)通过视觉模型读取。

特性

  • 发送带图消息时拦截:image 块 → 本地持久化 + 替换为 markdown 图片链接 (![名称](http://host:port/api/dsh-eye/image/<attachmentId>)
  • 模型按需识图:dsh_eye_read_image(attachmentId, instruction?),指令由模型 生成("提取报错"、"OCR 全文"等),可多轮追问
  • 描述缓存:按 (attachmentId, instruction) 缓存,TTL 可配
  • 前端:用户消息中的图片链接渲染为缩略图,点击全屏查看
  • 配置:设置 → Celestea → celes-dsh-eye(模型/地址/API Key/缓存等全部可改, 顶部显示"当前生效"状态)

安装

Celestea 系列由基座 @mcd0luo/dsh-celestea 的 bundle 统一挂载(基座补丁给 每个成员预留带条件的挂载行,本包装进 profile 后下次启动自动启用)。

⚠️ 基座必须显式安装一次。 虽然本包把基座列为依赖、pnpm 会自动把它 装进 node_modules,但 dsh plugin 只会把 profile 的直接依赖挂进 dsh.profile.bundles——不显式装基座,挂载行就不存在,本包装了也不会被 挂载。

# 1. 一次性:安装基座(设置中心 + 系列挂载点)
dsh plugin --profile web add @mcd0luo/dsh-celestea
# 2. 安装本包,重启后自动挂载
dsh plugin --profile web add @mcd0luo/celes-dsh-eye

不装基座、单独使用本包时(不推荐),需要手动两步:装依赖后在 ~/.dsh/profiles/web/cordis.patch.yml 添加:

- insert:
    - id: celes-dsh-eye
      name: "@mcd0luo/celes-dsh-eye"

走了基座 bundle 路线就不要再加这行,否则 loader 会报 duplicate loader entry id

凭据:设置页直接填 API Key,或在 ~/.dsh/.credentials.yaml 配置 VISION_API_KEY: sk-...(默认凭据名,可在设置页改)。

配置(设置页可改)

| 字段 | 默认 | 说明 | |---|---|---| | visionBaseUrl | https://opencode.ai/zen/go/v1 | OpenAI 兼容端点 | | visionModel | mimo-v2.5 | 识图模型(实测支持:mimo-v2.5 / qwen3.5-plus) | | apiKeyEnv | VISION_API_KEY | 凭据名(credentials 服务) | | apiKey | — | 直接填写时优先(secret 字段) | | maxTokens | 2048 | 单次识图输出上限 | | detail | high | 图片细节级别 | | cacheTtlMs / cacheMaxEntries | 1h / 500 | 描述缓存 |

License

MIT