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

gw-aui

v1.3.1

Published

配套智能视窗UI组件

Downloads

11

Readme

gw-aui-package

AI助手组件库 - 基于Vue 3的AI驱动前端组件

安装

npm install gw-aui-package

> 其他必要依赖
npm i axios echarts element-plus lodash uuid ol

使用

基本用法示例

<template>
  <div>
    <AIHelperPage :config="aiConfig" />
  </div>
</template>

<script setup>
import { AIHelperPage } from 'gw-aui-package'
import 'gw-aui-package/style' 

// 配置Dify API
const aiConfig = {
  baseURL: '/dify-api/v1', // Dify API基础URL
  apiKey: 'your-api-key', // API密钥
  appType: 'chatflow', // 应用类型
  user: 'demo-user', // 用户ID
  title: 'AI助手 小G', //自定义标题
}
</script>

重要配置说明

必须配置以下参数以避免连接错误:

  1. baseURL: Dify API的基础URL,例如:/dify-api/v1

  2. apiKey: Dify应用API密钥

  3. appType: 应用类型

    🚀 支持的应用类型

  • Chatflow: 对话流应用,支持多轮对话
  • Workflow: 工作流应用,支持复杂的业务流程
  • Completion: 文本补全应用
  • Agent: 智能代理应用,支持工具调用
  1. user: 用户标识符
  2. title: 自定义标题

调用接口需要配置 vite.config.js -> defineConfig

🌊 响应模式

  • Blocking: 阻塞模式,等待完整响应
  • Streaming: 流式模式,实时接收响应片段

功能特性

  • 🤖 AI驱动的智能对话
  • 📊 动态图表渲染
  • 🗺️ GIS地图集成
  • 📄 文档审查
  • 🔍 知识检索
  • 📱 响应式设计
  • 🎨 现代化UI界面

许可证

MIT