mirror of
https://github.com/different-ai/openwork
synced 2026-04-26 01:25:10 +02:00
* feat(den): add org API key auth and management Let org owners and admins manage named API keys while keeping keys scoped to the issuing member and org. Reuse existing org middleware so API-key-backed requests behave like normal user actions across Den routes. * fix(den): polish API key creation flow Avoid duplicating the visible key prefix in the table preview and make key creation an explicit one-time reveal flow. Show the create form only after the user asks for a new key, then replace it with the copyable secret after issuance. * fix(den): simplify API key table UI Remove rate-limit details from the Den web API keys screen and keep the page focused on naming, reveal, and deletion. Leave the generated next-env types file out of the commit. --------- Co-authored-by: src-opn <src-opn@users.noreply.github.com>
31 lines
901 B
JSON
31 lines
901 B
JSON
{
|
|
"name": "@openwork-ee/den-api",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "OPENWORK_DEV_MODE=1 tsx watch src/server.ts",
|
|
"dev:local": "sh -lc 'OPENWORK_DEV_MODE=1 PORT=${DEN_API_PORT:-8790} tsx watch src/server.ts'",
|
|
"build": "pnpm run build:den-db && tsc -p tsconfig.json",
|
|
"build:den-db": "pnpm --filter @openwork-ee/den-db build",
|
|
"start": "node dist/server.js"
|
|
},
|
|
"dependencies": {
|
|
"@better-auth/api-key": "^1.5.6",
|
|
"@openwork-ee/den-db": "workspace:*",
|
|
"@openwork-ee/utils": "workspace:*",
|
|
"@daytonaio/sdk": "^0.150.0",
|
|
"@hono/node-server": "^1.13.8",
|
|
"@hono/zod-validator": "^0.7.6",
|
|
"better-call": "^1.3.2",
|
|
"better-auth": "^1.5.6",
|
|
"dotenv": "^16.4.5",
|
|
"hono": "^4.7.2",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.11.30",
|
|
"tsx": "^4.15.7",
|
|
"typescript": "^5.5.4"
|
|
}
|
|
}
|