feat: Initialize test-ai-sdk project with Bun

- Add README.md with installation and usage instructions.
- Create bun.lock and pnpm-lock.yaml for dependency management.
- Implement main functionality in index.ts to test AI providers.
- Add opencode.json configuration for various AI providers.
- Create package.json to define project dependencies and scripts.
- Add TypeScript configuration in tsconfig.json for project setup.
- Implement test scripts for different AI providers in src directory.
This commit is contained in:
2026-02-02 02:17:55 +08:00
commit 96ecbd026e
16 changed files with 872 additions and 0 deletions

20
package.json Normal file
View File

@@ -0,0 +1,20 @@
{
"name": "test-ai-sdk",
"module": "index.ts",
"type": "module",
"private": true,
"devDependencies": {
"@types/bun": "latest",
"dotenv": "^17.2.3"
},
"peerDependencies": {
"typescript": "^5"
},
"dependencies": {
"@ai-sdk/anthropic": "^3.0.35",
"@ai-sdk/openai": "^3.0.25",
"@ai-sdk/openai-compatible": "^2.0.26",
"@kevisual/ai": "^0.0.24",
"ai": "^6.0.67"
}
}