open-vibcod-sdk
v1.0.5
Published
A comprehensive SDK wrapper for open-vicod-sdk API with enhanced error handling and utilities
Maintainers
Readme
Open-Vibcod SDK v1.0.3
A comprehensive SDK wrapper for open-vibcod-sdk API with enhanced error handling, logging, and utilities.
Dependencies
- open-vibcod-sdk >= 1.0.0
- dotenv >= 16.0.0
- Node.js >= 18.0.0 (modern ES modules support)
Installation
npm install [email protected]Quick Start
import { createOpenVibcodSDK } from 'open-vibcod-sdk';
// Initialize SDK with API key from environment
const sdk = createOpenVibcodSDK();
// Create a project
const project = await sdk.createProject({
name: 'My Project',
description: 'A test project'
});
// Initialize a chat
const chat = await sdk.initChat({
projectId: project.data.id,
name: 'Development Chat'
});
// Send a message
const response = await sdk.sendChatMessage(
chat.data.id,
'Create a React component'
);Environment Variables
Create a .env file in your project root:
API_KEY=v1:WDl59ndABqAwLvezRWVXiKKi:07LrpSitFTGxGNHopc74MSJRPublishing
./publish.shLicense
MIT License
