@papi-ai/shared

v0.1.0

Published

Shared types and business rules for PAPI — used by both MCP server and dashboard

Readme

@papi/shared

Shared types and business rules for PAPI packages. Used by both the MCP server (@papi/server) and the PAPI dashboard.

What's included

  • TaskStatus and TaskPriority types
  • VALID_TRANSITIONS — state machine for task status changes
  • Validation functions for status transitions

Installation

npm install @papi/shared

This package is a dependency of @papi/adapter-md and @papi/server — you typically don't need to install it directly unless you're building custom tooling on top of PAPI.

License

MIT