- Add full Telegram bot functionality with Z.AI API integration
- Implement 4 tools: Bash, FileEdit, WebSearch, Git
- Add 3 agents: Code Reviewer, Architect, DevOps Engineer
- Add 6 skills for common coding tasks
- Add systemd service file for 24/7 operation
- Add nginx configuration for HTTPS webhook
- Add comprehensive documentation
- Implement WebSocket server for real-time updates
- Add logging system with Winston
- Add environment validation
🤖 zCode CLI X - Agentic coder with Z.AI + Telegram integration
46 lines
1.1 KiB
Markdown
46 lines
1.1 KiB
Markdown
# <img src=".github/logo.svg" alt="" width="32"> Claude SDK for TypeScript
|
|
|
|
[](https://npmjs.org/package/@anthropic-ai/sdk)
|
|
|
|
The Claude SDK for TypeScript provides access to the [Claude API](https://docs.anthropic.com/en/api/) from server-side TypeScript or JavaScript applications.
|
|
|
|
## Documentation
|
|
|
|
Full documentation is available at **[platform.claude.com/docs/en/api/sdks/typescript](https://platform.claude.com/docs/en/api/sdks/typescript)**.
|
|
|
|
## Installation
|
|
|
|
```sh
|
|
npm install @anthropic-ai/sdk
|
|
```
|
|
|
|
## Getting started
|
|
|
|
```js
|
|
import Anthropic from '@anthropic-ai/sdk';
|
|
|
|
const client = new Anthropic({
|
|
apiKey: process.env['ANTHROPIC_API_KEY'], // This is the default and can be omitted
|
|
});
|
|
|
|
const message = await client.messages.create({
|
|
max_tokens: 1024,
|
|
messages: [{ role: 'user', content: 'Hello, Claude' }],
|
|
model: 'claude-opus-4-6',
|
|
});
|
|
|
|
console.log(message.content);
|
|
```
|
|
|
|
## Requirements
|
|
|
|
Node.js 18+
|
|
|
|
## Contributing
|
|
|
|
See [CONTRIBUTING.md](./CONTRIBUTING.md).
|
|
|
|
## License
|
|
|
|
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
|