Files
blackroad-core/package.json
Alexa Amundson 6813cd7097 Scaffold blackroad-core: TypeScript gateway with providers, policies, and tests
Complete TypeScript rewrite of the BlackRoad gateway:
- Hono HTTP server with middleware (rate limiter, auth, request logger)
- Provider adapters (Anthropic, OpenAI, Ollama, Gemini)
- Policy engine with agent-level permissions
- Zod schemas for request/response validation
- Agent registry and invoker with fallback chains
- Structured logging with Pino
- 26 passing Vitest tests
- CI/CD workflows

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 16:07:07 -06:00

37 lines
851 B
JSON

{
"name": "@blackroad/core",
"version": "0.1.0",
"description": "Core orchestration layer and runtime engine for BlackRoad OS",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsc",
"start": "node dist/index.js",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"lint": "eslint src/ test/",
"format": "prettier --write ."
},
"engines": {
"node": ">=22.0.0"
},
"license": "UNLICENSED",
"private": true,
"dependencies": {
"@hono/node-server": "^1.13.0",
"hono": "^4.7.0",
"pino": "^9.6.0",
"zod": "^3.24.0"
},
"devDependencies": {
"@types/node": "^22.0.0",
"prettier": "^3.4.0",
"tsx": "^4.19.0",
"typescript": "^5.7.0",
"vitest": "^3.0.0"
}
}