ea6a129ee3
Switch from Ollama API format to OpenAI-compatible llama-server with reasoning token support. - Refactor ws-ollama to emit OpenAI chat completions format - Update llm-client endpoint configuration - Add reasoning/thinking token extraction to web-search - Update smoke tests for new response shape - Add llama-server deployment to k8s manifests - Update README with new architecture notes
88 lines
3.7 KiB
JSON
88 lines
3.7 KiB
JSON
{
|
|
"name": "kxkm-clown",
|
|
"version": "0.1.0",
|
|
"description": "KXKM_Clown — mIRC-style local LLM chat",
|
|
"private": true,
|
|
"main": "server.js",
|
|
"workspaces": [
|
|
"apps/*",
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"start": "node legacy/server.js",
|
|
"dev": "node server.js",
|
|
"build": "node scripts/build-v2.js && node scripts/build.js",
|
|
"build:v2": "node scripts/build-v2.js",
|
|
"check": "node scripts/check.js && node scripts/check-v2.js",
|
|
"check:v2": "node scripts/check-v2.js",
|
|
"smoke": "node scripts/smoke.js",
|
|
"smoke:v2": "node scripts/smoke-v2.js",
|
|
"verify": "npm run check && npm run smoke",
|
|
"chain": "bash scripts/chain-actions.sh",
|
|
"test:v2": "node scripts/test-v2.js",
|
|
"migrate:personas:v2": "node scripts/migrate-persona-store-v2.js --legacy-data-dir=data --target-dir=data/v2-local",
|
|
"migrate:personas:v2:dry": "node scripts/migrate-persona-store-v2.js --legacy-data-dir=data --target-dir=data/v2-local --dry-run=1",
|
|
"verify:all": "bash scripts/chain-actions.sh",
|
|
"dev:v2:api": "npm run dev -w @kxkm/api",
|
|
"dev:v2:web": "npm run dev -w @kxkm/web",
|
|
"dev:v2:worker": "npm run dev -w @kxkm/worker",
|
|
"v2:init": "python3 scripts/orchestrate_batches.py init --root ops/v2",
|
|
"v2:status": "python3 scripts/orchestrate_batches.py status --root ops/v2",
|
|
"v2:next": "python3 scripts/orchestrate_batches.py run-next --root ops/v2",
|
|
"v2:all": "python3 scripts/orchestrate_batches.py run-all --root ops/v2",
|
|
"smoke:voice-mcp": "node scripts/mcp-server-smoke.js",
|
|
"smoke:voice-clone": "bash scripts/health-voice-clone.sh --json",
|
|
"setup:voice-clone": "bash scripts/setup-voice-clone.sh bootstrap --yes",
|
|
"sample:voice-clone": "bash scripts/setup-voice-clone.sh sample --persona pharmacius --yes",
|
|
"smoke:voice-clone:xtts": "bash scripts/setup-voice-clone.sh smoke --persona pharmacius --yes",
|
|
"smoke:documents-search": "bash scripts/health-doc-search.sh all --json",
|
|
"smoke:embeddings": "bash scripts/health-embeddings.sh --json",
|
|
"bench:embeddings": "node scripts/bench-embeddings.js --models nomic-embed-text,bge-m3 --json",
|
|
"smoke:spikes": "bash ops/v2/run-spike-checks.sh all --yes",
|
|
"v2:autoresearch": "node scripts/v2-autoresearch-loop.js --config ops/v2/autoresearch.example.json",
|
|
"v2:finetune": "bash scripts/finetune-persona.sh",
|
|
"infra:537-540": "bash scripts/infra-lots-537-540.sh --all",
|
|
"infra:537": "bash scripts/infra-lot-537-mascarade-systemd.sh",
|
|
"infra:538": "bash scripts/infra-lot-538-firewall-persistent.sh",
|
|
"infra:539": "bash scripts/infra-lot-539-tailscale-tower.sh",
|
|
"infra:540": "bash scripts/infra-lot-540-nginx-https.sh",
|
|
"turbo:build": "turbo run build",
|
|
"turbo:check": "turbo run check",
|
|
"turbo:test": "turbo run test"
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "^0.80.0",
|
|
"@discordjs/opus": "^0.10.0",
|
|
"@discordjs/voice": "^0.19.1",
|
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
"@xyflow/react": "^12.10.1",
|
|
"discord.js": "^14.25.1",
|
|
"dotenv": "^17.4.1",
|
|
"express": "^4.22.1",
|
|
"ollama": "^0.6.3",
|
|
"pdf-parse": "^1.1.4",
|
|
"pg": "^8.20.0",
|
|
"react": "^19.2.4",
|
|
"react-dom": "^19.2.4",
|
|
"sodium-native": "^5.1.0",
|
|
"ws": "^8.19.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.58.2",
|
|
"@types/express": "^5.0.6",
|
|
"@types/node": "^25.5.0",
|
|
"@types/pg": "^8.18.0",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@types/supertest": "^7.2.0",
|
|
"@types/ws": "^8.18.1",
|
|
"@vitejs/plugin-react": "^6.0.1",
|
|
"supertest": "^7.2.2",
|
|
"tsx": "^4.21.0",
|
|
"turbo": "^2.8.17",
|
|
"typescript": "^5.9.3",
|
|
"vite": "^8.0.0"
|
|
},
|
|
"packageManager": "npm@10.9.4"
|
|
}
|