Files
AstraBox/scripts/api-codegen/package.json
T
Colton Qi f8db994652 AstraBox 0.1.0
The open-source, self-hosted alternative to Claude Managed Agents: run
Claude Code, Codex, Hermes, DeepSeek Harness and Pi as managed Agents on
your own infrastructure, with conversations that start and resume in
seconds.
2026-09-22 13:24:05 -07:00

19 lines
1011 B
JSON

{
"name": "astrabox-api-codegen",
"private": true,
"version": "0.0.0",
"license": "Apache-2.0",
"type": "module",
"engines": {
"node": "26.8.1"
},
"//": "A package of one tool, existing only because it cannot live in frontend/. openapi-typescript emits through the TypeScript compiler API, which typescript@7 (the Go port the console builds with) does not ship; npm refuses to nest a conflicting peer, and legacy-peer-deps would disable peer checking across the whole console tree. Here the tool gets the typescript@5 it asks for and the console keeps its own compiler. The paths are fixed rather than parameterised: there is exactly one snapshot and exactly one generated client, and `make check-api-client` compares this script's output against the committed file.",
"scripts": {
"gen": "openapi-typescript ../../tests/data/openapi_snapshot.json -o ../../frontend/src/api/schema.d.ts"
},
"devDependencies": {
"openapi-typescript": "^7.13.0",
"typescript": "^5.9.3"
}
}