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

@liujitcn/kratos-uni-app-system

v0.0.29

Published

Kratos uni-app system module with profile, settings, and AI views.

Readme

@liujitcn/kratos-uni-app-system

@liujitcn/kratos-uni-app-system 是内置 system 业务模块。个人中心、个人资料、设置和 AI 能力都归属本模块,并沿用 core 的登录态、请求、导航和页面装配协议。

目录结构

packages/modules/system
├── src
│   ├── api/base               # AI 消息、会话和工具接口
│   ├── rpc                    # system 相关 Buf 生成类型
│   ├── views
│   │   ├── pages/my           # 个人中心主页
│   │   └── pagesMember        # AI、个人资料和设置页面
│   ├── index.ts               # systemModule 定义和公开入口
│   └── pages.ts               # 页面样式与分包声明
├── tsconfig.json
└── package.json

src/rpc 是生成产物,只能通过 workspace 根目录的 pnpm generate:rpc 更新;该命令委托 backend 的 make ts-uni-appbackend/api/buf.uni-app.core.typescript.gen.yaml 生成。

功能

  • 注册 PROFILE_HOMEPROFILESETTINGSAI 四个稳定 viewKey
  • 提供个人中心、资料维护、应用设置和 AI 助手页面。
  • 通过 core 的公开 service、store 和工具复用底座能力。
  • 允许后续模块按相同物理路由或 viewKey 覆盖 system 静态视图。
  • npm 根入口使用 dist/index.mjs;workspace 的 Turbo 任务和 prepare:modules 会先构建 system 及其依赖的 core Node 入口,干净安装后不依赖历史 dist。

模块装配与动态导航约定见 workspace 文档