UNPKG

@robota-sdk/core

Version:

⚠️ DEPRECATED: This package has been deprecated. Please use @robota-sdk/agents instead.

64 lines (45 loc) 1.57 kB
# @robota-sdk/core ⚠️ **DEPRECATED - This package has been deprecated** This package has been **deprecated** and is no longer maintained. All functionality has been moved to `@robota-sdk/agents`. ## Migration Guide Please migrate to `@robota-sdk/agents` for the latest features and improvements: ### Before (deprecated) ```typescript import { Robota, OpenAIProvider } from '@robota-sdk/core'; const robota = new Robota({ provider: new OpenAIProvider({ apiKey: 'sk-...' }), model: 'gpt-4' }); ``` ### After (recommended) ```typescript import { Robota } from '@robota-sdk/agents'; import { OpenAIProvider } from '@robota-sdk/openai'; const robota = new Robota({ name: 'MyAgent', aiProviders: [new OpenAIProvider({ apiKey: 'sk-...' })], defaultModel: { provider: 'openai', model: 'gpt-4' } }); ``` ## What's Changed - **Core Agent**: Moved to `@robota-sdk/agents` - **AI Providers**: Moved to separate packages (`@robota-sdk/openai`, `@robota-sdk/anthropic`, `@robota-sdk/google`) - **Tools**: Integrated into `@robota-sdk/agents` - **Plugins**: Enhanced plugin system in `@robota-sdk/agents` ## Installation **⚠️ Do not install this package for new projects** For existing projects, migrate to: ```bash npm install @robota-sdk/agents @robota-sdk/openai ``` ## Documentation - [Migration Guide](https://robota.io/migration) - [New Documentation](https://robota.io/docs) - [API Reference](https://robota.io/api) ## Support This package will no longer receive updates. Please use `@robota-sdk/agents` instead. ## License MIT