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

echowite

v0.5.0

Published

AI-powered novel writing studio with multi-agent collaboration

Readme

EchoWrite - AI 小说创作助手

🤖 基于多智能体协作的 AI 小说写作工具,采用自然对话交互方式。

✨ 核心特性

🤖 全自动创作

  • 一键生成:只需输入创意,AI 完成整本小说
  • 智能流程:蓝图→世界观→大纲→章节→审计,全程自动
  • 质量把关:中书省 Agent 群层层审核
  • 进度可视化:实时显示创作进度

🗣️ 对话式交互

  • 自然对话:直接说出你的想法,AI 理解并执行
  • 智能理解:识别你的意图(创建蓝图、开始写作、查看进度等)
  • 按需弹窗:仅在需要确认或选择时弹出提示
  • 流畅体验:告别传统的层层菜单,像聊天一样创作

🏛️ 中书省质量体系

  • 质量评审官:审核每章质量(流畅度、连贯性、人物一致性)
  • 连贯性审计官:全文连贯性审计(时间线、伏笔闭合、世界观)
  • 智能返工:不合格自动重写,最多 3 次重试
  • 分数线:章节 85 分合格,全文 90 分通过

🤖 多智能体协作

  • 架构师 Agent:设计故事结构、规划章节大纲
  • 作家 Agent:创作章节内容(800-1500 字/节)
  • 监督 Agent:审查质量、评分、提出改进建议
  • 润色 Agent:优化文笔、消除 AI 腔调

🧠 动态故事大脑

  • 角色状态追踪:自动记录角色变化、关系发展
  • 伏笔管理:追踪开放/关闭的伏笔,确保故事连贯
  • 章节锁定:已完成章节自动锁定,防止意外修改
  • 世界观维护:统一设定、避免前后矛盾

🔌 多 LLM 支持

支持 7 种 LLM 提供商,交互式配置:

  • Claude (Anthropic)
  • OpenAI
  • DeepSeek
  • 硅基流动 (Silicon Flow)
  • 阿里云百炼 (Alibaba Cloud)
  • Moonshot
  • 自定义 API

🚀 快速开始

安装

npm install -g echowite

配置 LLM

首次使用需要配置 LLM:

echowite config

交互式选择你的 LLM 提供商,输入 API Key 和模型名称。

初始化项目

mkdir my-novel
cd my-novel
echowite init

开始创作

echowite start

进入对话模式后,你可以:

方式 1:全自动创作(推荐)

你:全自动创作一个现代人穿越大明,开局娶了朱元璋女儿的玄幻爽文

AI: 🚀 启动全自动创作模式
    
    全自动模式将创作整本小说(蓝图→世界观→大纲→章节→审计),
    过程可能需要数小时,确认开始? (Y/n)

你:y

AI: ✨ 启动全自动创作流程

    📊 创作进度总览

      ✓ 蓝图设计 (已生成 3 幕结构)
      ◐ 世界观构建 45%
      ○ 大纲规划
      ○ 章节创作 (0/60 章)
      ○ 质量评审
      ○ 连贯性审计
      ○ 全文润色

    [创作过程全自动,遇到问题时会询问你]

方式 2:手动逐步创作

你:我想写一个穿越大明的玄幻爽文

你:创建故事蓝图

你:开始写第一章

你:查看进度

你:/help  # 查看帮助
你:/cache # 查看缓存统计
你:/exit  # 退出

💬 对话示例

创建故事蓝图

你:我想写一个现代人穿越到大明,开局娶了朱元璋女儿的故事

AI: 🏗️ 好的,我来帮你设计故事蓝图...
    我会调用 AI 生成完整的故事结构,需要 1-2 分钟,继续吗? (Y/n)

你:y

AI: ✓ 蓝图已生成!

    故事梗概:
    现代历史教授林逸穿越到洪武年间,阴差阳错救下朱标,被朱元璋赐婚...

    主题:权谋与爱情,历史改变者的抉择
    结构:三幕式,共 3 幕
    主要角色:
      • 林逸(主角)
      • 朱元璋(明太祖)
      • 朱清璇(朱元璋之女)

    预计章节:60

    你可以说:
      • "看起来不错,开始写第一章"
      • "重新生成蓝图"
      • "查看详细蓝图"

查看进度

你:查看进度

AI: 📊 创作进度

    已完成:5/60 章 (8%)
    当前幕:第一幕:初入大明

🛠️ 命令

全局命令

echowite config    # 配置 LLM
echowite init      # 初始化项目
echowite start     # 启动对话模式

对话中的命令

  • /help - 显示帮助
  • /exit - 退出程序

自然对话

直接说出你的需求:

  • "创建蓝图" / "设计故事结构"
  • "写第一章" / "开始创作"
  • "查看进度" / "完成了多少"
  • "查看蓝图" / "显示大纲"

📁 项目结构

my-novel/
├── .echowite/
│   ├── db.json           # 项目数据库
│   └── story-brain.json  # 故事大脑数据
├── chapters/             # 生成的章节
│   ├── chapter-001.md
│   └── ...
└── exports/              # 导出的文件
    ├── novel.md
    └── novel.pdf

🔧 配置文件

全局配置存储在 ~/.echowite/config.json

{
  "provider": "openai",
  "apiKey": "sk-...",
  "model": "deepseek-chat",
  "baseURL": "https://api.deepseek.com/v1"
}

🎯 设计理念

OpenCode 风格交互

EchoWrite 采用类似 OpenCode 的自然对话交互:

  • 对话驱动:用户直接表达需求,AI 智能理解
  • 智能弹窗:仅在必要时弹出选择框
  • 流畅体验:不是菜单套菜单,而是自然交流
  • 上下文理解:记住对话历史,持续理解

传统 CLI vs 新式对话

旧式:层层菜单、生硬命令
新式:自然语言、AI 理解意图

🔮 开发计划

v0.5.0(当前版本)

  • ✅ 全自动创作引擎
  • ✅ 中书省质量体系(评审官、审计官)
  • ✅ LLM 缓存优化(命中率统计、自动清理)
  • ✅ 进度追踪器(7 阶段可视化)
  • ✅ 智能返工机制(3 次重试)

v0.6.0(计划中)

  • [ ] 导出功能(Markdown、PDF、EPUB)
  • [ ] 章节修改对话("第 5 章改成...")
  • [ ] 伏笔可视化(时间线图表)
  • [ ] 角色关系图谱

v1.0.0(未来)

  • [ ] Web UI 界面
  • [ ] 多项目管理
  • [ ] 云端同步
  • [ ] 团队协作

📄 许可证

MIT

🔗 链接

  • GitHub: https://github.com/aiyalxn/EchoWite
  • npm: https://www.npmjs.com/package/echowite

EchoWrite - 让 AI 成为你的创作伙伴,而不是冷冰冰的工具。