Overview of agent-contracts
mainThe agent-contracts package provides shared TypeScript contracts used to ensure type safety between the web application and the Moose service. It is designed to be a lightweight, stable package containing only data structures and constants, avoiding any runtime logic or environment dependencies.
What to include in this package:
- DTOs (Data Transfer Objects): Shared interfaces used across package boundaries.
- Stable path constants: Definitions for API routes and other fixed paths.
What to avoid:
- Environment variable loading.
- Network clients.
- Provider-specific runtime logic.