feat(agent): add typed server API tools
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
"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",
|
||||
"start": "bun src/server.ts",
|
||||
"start:prod": "bun run check && bun src/server.ts"
|
||||
@@ -30,5 +32,6 @@
|
||||
"@types/node": "^24.7.2",
|
||||
"bun-types": "^1.3.3",
|
||||
"typescript": "^5.9.3"
|
||||
,"openapi-typescript": "^7.10.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user