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

@pylonts/ai-executor

v1.1.2

Published

Task card infrastructure — generates DTO/page task cards (markdown prompts) from db schema + controller scan for multi-AI parallel execution

Downloads

40

Readme

@pylonts/ai-executor

任务卡(Task Card)基础设施——为多 AI 并行执行生成任务卡(markdown 提示词)。

不是 AI 执行器:不调 LLM、不生成代码、不校验产物。事实段机器填充,业务段留给 AI 操刀。

规格见 docs/ai-executor-spec.md。

并行拓扑

Phase 1b   DTO 按表并行(CRUD 一个 AI 一张卡)
Phase 1c   pylonts gen dto + pylonts gen api 汇合(机器)
Phase 2    执行按 controller 并行(一个 controller = 后端 AI + 前端 AI,页内串行页间并行)

命令

在项目根目录运行(需要 schema/ 与 api-admin/):

# DTO 任务卡:按表
pylon-ai-executor gen dto --table=bd --out=.okapi/docs/tasks/bd.dto.md

# 页面任务卡:按 controller
pylon-ai-executor gen page --controller=BdController --page=admin/bd-list --out=.okapi/docs/tasks/bd-list.page.md
  • gen dto 事实段从 schema/{table}.table.ts 提取(列/类型/必填/枚举/语义/说明/paginated/actor)
  • gen page 事实段从 modules/*/controller/{Name}Controller.ts 扫描(RPC 前缀 + 方法 + 鉴权 + Body/Response 类型及 import 来源)
  • 模板见 templates/(DTO 卡 / 页面卡,五段结构:任务边界 / 事实来源 / 工具链 / 规范约束 / 验收标准)
  • 业务段(任务边界、分组归属)由调度人/AI 精修,命令不做业务判断

开发

npm run typecheck
npm run cli -- gen dto --table=<name>

依赖

  • 运行时:ts-morph(controller 扫描)
  • peer:tsx(CLI 经 tsx 运行 TS 入口)