@cozeloop/tea-adapter
A community features package for the Coze Loop ecosystem
Overview
This package is part of the Coze Loop monorepo and provides community features functionality. It serves as a core component in the Coze Loop ecosystem.
Getting Started
Installation
Add this package to your package.json:
json
{
"dependencies": {
"@cozeloop/tea-adapter": "workspace:*"
}
}Then run:
bash
rush updateUsage
typescript
import { /* exported functions/components */ } from '@cozeloop/tea-adapter';
// Example usage
// TODO: Add specific usage examplesFeatures
- Core functionality for Coze Loop
- TypeScript support
- Modern ES modules
API Reference
Exports
start, init, config, stop, sendEvent, isStartedtype ParamsTypeDefine = Record<string, Record<string, string>>;
For detailed API documentation, please refer to the TypeScript definitions.
Development
This package is built with:
- TypeScript
- Modern JavaScript
- Vitest for testing
- ESLint for code quality