31.57K
total weekly downloads
26 packages
create-pactor-app
Create a Pactor app from starter templates (pnpm create pactor-app)
pactor-app
Pactor meta package: installs the full Server-Driven UI + AI-Native runtime stack (@pactor-app/*) and re-exports the one-stop application API (createPactorApplication)
@pactor-app/app
Pactor application: one-stop composition layer (createPactorApplication) wiring loader, bootstrap, registries, router, layout, interaction and page runtimes
@pactor-app/blocks
Pactor blocks: composite block components built from @pactor-app/ui primitives (Login / EntityCard / CardList / RecordingPage / SiteFooter / rule & expression editors) with block component registry for the Renderer
@pactor-app/chart
Pactor chart: echarts-backed DSL chart components (LineChart / BarChart / PieChart / MetricCard …) with chart component registry for the Renderer
@pactor-app/chat
Pactor chat: AI message rendering protocol (message model, streaming reducer, safe registry, capability action) and chat runtime view (ChatView / MessageBubble / PartRenderer / Composer / chat layout)
@pactor-app/cli
Pactor CLI: local DSL toolchain (validate / inspect / lint / schema / build / create)
@pactor-app/core
Pactor core: DSL protocol types and generic Registry (React-free, zero dependencies)
@pactor-app/expression
Pactor expression: controlled AST expression engine (no eval, no global access)
@pactor-app/file-viewer
Pactor file viewer: @file-viewer/react-backed DSL file preview component (PDF / Office / …) with component registry for the Renderer
@pactor-app/graph
Pactor graph: AntV G6-backed DSL relation/flow graph component (Graph) with component registry for the Renderer
@pactor-app/grid-layout
Pactor grid layout: react-grid-layout-backed DSL draggable/resizable dashboard container (GridLayout) with component registry for the Renderer
@pactor-app/i18n
Pactor i18n: request locale resolution and message bundle providers (YAML / API)
@pactor-app/markdown
Pactor Markdown module: safe Markdown renderer (react-markdown AST, no raw HTML) and DSL Markdown component adapter
@pactor-app/module-pack
Pactor module pack: 把 Pactor 应用工程打包为 Shell 可装配的 npm 模块(Manifest V1)
@pactor-app/permission
Pactor permission: permission code store, runtime permission adapter, menu/page guards and expression function
@pactor-app/resource
Pactor resource: DSL resource envelope, HTTP/Static loaders, memory cache with versioning and ETag
@pactor-app/router
Pactor router: menu registry, path matcher, navigation bridge and React Router dynamic route bindings
@pactor-app/runtime
Pactor runtime: RuntimeContext, StateStore, DataSource runtime, action engine, React renderer and page runtime
@pactor-app/schema
Pactor schema: DSL version constants, JSON Schemas and Ajv-based validator
@pactor-app/shell
Pactor App Shell:Next.js (App Router) 专用容器组件包 —— 一级菜单 / 皮肤设置 / 布局外壳、Runtime DSL API handler 工厂与构建期模块装配 CLI
@pactor-app/skill
Agent skill for rapidly building pactor Server-Driven UI applications
@pactor-app/skills
Agent skills for rapidly building pactor Server-Driven UI applications
@pactor-app/theme
Pactor theme: 14 installable preset skins with static CSS entries and a framework-agnostic runtime switcher
@pactor-app/ui
Pactor UI kit (shadcn): the single built-in UI kit — vendored shadcn/ui components (Base UI primitives + cva + tailwind-merge + lucide-react), props contracts, interaction core (OverlayManager / UiBridge) and layouts, with build-time Tailwind v4 prebuilt