This commit is contained in:
Sirius
2026-08-05 15:36:36 +08:00
commit 39d1d8de6c
19 changed files with 2495 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
{
"name": "command-code-openai-bridge",
"version": "1.0.0",
"private": true,
"type": "module",
"description": "Local OpenAI Chat Completions compatible bridge for Command Code CLI",
"engines": {
"node": ">=22"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"check": "tsc -p tsconfig.json --noEmit",
"dev": "tsx src/index.ts --config config.yaml",
"start": "node dist/index.js --config config.yaml"
},
"dependencies": {
"fastify": "^5.5.0",
"openai": "^5.19.1",
"yaml": "^2.8.1",
"zod": "^3.25.76"
},
"devDependencies": {
"@types/node": "^24.3.0",
"tsx": "^4.20.5",
"typescript": "^5.9.2"
}
}