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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@ibiz-template-plugin/ai-chat

v0.0.41

Published

iBiz AI交互框插件

Readme

@ibiz-template-plugin/ai-chat

一款深度集成于iBiz设计平台的AI智能辅助插件,提供基于自然语言交互的智能问答服务,支持实时消息列表管理、会话历史持久化存储、多模态文件附件及结构化业务数据上传能力。系统核心扩展了与iBiz平台深度绑定的领域特定语言(DSL)构建引擎,可基于用户需求动态生成平台配置脚本,同时集成智能模型解析技术,自动生成可视化架构看板,有效降低用户学习曲线,助力开发者快速掌握iBiz平台的领域驱动设计体系。

📂 项目结构

├─ src
│  ├─ components
│  │  ├─ chat-back-bottom                           回到底部按钮
│  │  ├─ chat-container                             对话框容器
│  │  ├─ chat-input                                 对话框输入框
│  │  ├─ chat-input-material                        上传的素材(文件、实体资料)
│  │  ├─ chat-input-material-item                   上传的素材项
│  │  ├─ chat-message-item                          对话消息项
│  │  ├─ chat-messages                              对话消息列表
│  │  ├─ chat-minimize                              最小化按钮
│  │  ├─ chat-search                                搜索话题组件
│  │  ├─ chat-thought-chain                         思维链组件
│  │  ├─ chat-toolbar                               消息工具栏
│  │  ├─ chat-topic-item                            话题项
│  │  ├─ chat-topics                                话题列表
│  │  ├─ index.ts
│  │  └─ popup                                      气泡弹框组件
│  ├─ constants
│  │  └─ index.ts                                   常量
│  ├─ controller
│  │  ├─ ai-chat                                    ai聊天控制器
│  │  ├─ ai-material                                ai素材控制器
│  │  ├─ ai-topic                                   ai话题控制器
│  │  ├─ chat                                       ai控制器
│  │  └─ index.ts
│  ├─ entity
│  │  ├─ chart-material                             聊天素材实体接口
│  │  ├─ chart-topic                                聊天话题实体接口
│  │  ├─ chart-message                              聊天消息实体接口
│  │  ├─ chart-suggestion                           聊天建议实体接口
│  │  └─ index.ts
│  ├─ global.ts
│  ├─ icons                                         图标包
│  ├─ index.scss
│  ├─ index.ts
│  ├─ interface                                     接口包
│  ├─ main.tsx
│  └─ utils                                         工具包

📦 开发

  1. 安装依赖

进入@ibiz-template-plugin/ai-chat工作空间后,执行以下命令安装依赖:

pnpm i
  1. 启动开发环境

进入@ibiz-template-plugin/ai-chat工作空间后,执行以下命令启动开发环境:

pnpm build:watch
  1. 将@ibiz-template-plugin/ai-chat包链接到全局

等待开发环境启动完成后,将@ibiz-template-plugin/ai-chat包添加pnpm link到全局:

pnpm link --global
  1. 链接依赖项目

在依赖此包的项目工作空间中,安装依赖后执行以下命令link插件包

pnpm link --global "@ibiz-template-plugin/ai-chat"