Move project and host queries into native MCP with host-owned OAuth/context, while retaining memory, skills, actions and publication plugins. Add nearby-model queries and explicit chat/task/learning model defaults. Adopt Responses HTTP/SSE and native steer/queue inbox delivery, preserving scoped session ownership, pending input edits and investigation communication. Disable local-provider discovery: Server /health allowed native vLLM to probe /v1/models on port 8000. A native before/after regression prevents recurrence. Validation: 170 focused Bun tests; service/plugin typechecks; native discovery, provider-discovery and input-inbox smoke checks; no paid model inference.
45 lines
1.5 KiB
JSON
45 lines
1.5 KiB
JSON
{
|
|
"name": "tjwater-agent-experimental",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"postinstall": "bun run install:opencode",
|
|
"install:opencode": "bun install --cwd .opencode",
|
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
"typecheck:opencode": "bun run --cwd .opencode typecheck",
|
|
"dev": "bun --watch src/server.ts",
|
|
"build": "bun run check",
|
|
"generate:openapi": "openapi-typescript openapi/openapi.json -o src/generated/server-api.d.ts",
|
|
"check:openapi": "bun run generate:openapi && git diff --exit-code -- openapi/openapi.json src/generated/server-api.d.ts",
|
|
"check": "bun run typecheck && bun run typecheck:opencode",
|
|
"check:models": "bun scripts/check-models.ts",
|
|
"check:websearch": "bun scripts/check-websearch.ts",
|
|
"start": "bun src/server.ts",
|
|
"start:integration:isolated": "bun scripts/start-isolated-integration.ts",
|
|
"start:prod": "bun run check && bun src/server.ts"
|
|
},
|
|
"dependencies": {
|
|
"@modelcontextprotocol/client": "2.3.1",
|
|
"@modelcontextprotocol/server": "2.3.1",
|
|
"@opencode/client": "2.0.27",
|
|
"ai": "7.0.8",
|
|
"ajv": "^8.20.0",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^17.2.3",
|
|
"express": "^4.21.2",
|
|
"pino": "^9.7.0",
|
|
"pino-pretty": "^13.1.2",
|
|
"zod": "^3.25.76"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cors": "^2.8.19",
|
|
"@types/express": "^5.0.3",
|
|
"@types/node": "^24.7.2",
|
|
"bun-types": "^1.3.3",
|
|
"typescript": "^5.9.3",
|
|
"openapi-typescript": "^7.10.1",
|
|
"@opencode-ai/sdk": "^1.17.13"
|
|
}
|
|
}
|