[中文](./README.md) | English

# @easbot/types

A modern, lightweight, and fast library for shared types in the EASBOT ecosystem.

## Features

- **Type Safety**: Complete TypeScript type definitions
- **AI SDK Compatible**: Based on AI SDK v2 standards
- **Zod Validation**: Runtime type validation support
- **Tree-shakeable**: Only import what you need

## Installation

```bash
pnpm add @easbot/types
```

## Usage

```typescript
import type { 
  AgentConfig, 
  TaskStatus, 
  MessageRole,
  GenerateOptions 
} from '@easbot/types';

// Use type definitions in your code
const config: AgentConfig = {
  id: 'agent-001',
  name: 'My Agent',
  model: 'gpt-4',
};
```

## Development

```bash
# Install dependencies
pnpm install

# Build
pnpm build

# Test
pnpm test

# Type check
pnpm type-check
```

## License

MIT
