fix(gitea-bot): add write:organization scope so bot can create repos

Without this the bot PAT 403s on POST /orgs/{org}/repos, which is
the single most important operation — creating new project repos
inside the workspace's Gitea org.

Made-with: Cursor
This commit is contained in:
2026-04-21 11:05:55 -07:00
parent d9d3514647
commit 6f79a88abd
66 changed files with 2088 additions and 1713 deletions

View File

@@ -16,7 +16,12 @@
"firebase:deploy:app": "npm run build && firebase deploy --only functions,hosting",
"firebase:deploy:all": "npm run build && firebase deploy",
"mcp:server": "node mcp-server.js",
"prisma:generate": "prisma generate"
"prisma:generate": "prisma generate",
"db:push": "node scripts/prisma-db-push.mjs",
"db:sync:coolify": "node scripts/sync-db-url-from-coolify.mjs",
"db:local:up": "docker compose -f docker-compose.local-db.yml up -d",
"db:local:down": "docker compose -f docker-compose.local-db.yml down",
"db:local:push": "node scripts/prisma-db-push.mjs"
},
"dependencies": {
"@assistant-ui/react": "^0.12.14",
@@ -75,5 +80,6 @@
"tailwindcss": "^4",
"tw-animate-css": "^1.4.0",
"typescript": "^5"
}
},
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319"
}