Implement Postgres-backed claw approval flow and integrate gateway methods for create/list/get/approve/reject/execute/audit. Add a minimal systemd-run privileged broker with bearer auth, strict scope and exact-command validation, dangerous-shell blocking, atomic once-grant consumption, and execution audit updates.
14 lines
209 B
JSON
14 lines
209 B
JSON
{
|
|
"name": "claw-broker",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "broker.mjs",
|
|
"scripts": {
|
|
"start": "node broker.mjs"
|
|
},
|
|
"dependencies": {
|
|
"pg": "^8.20.0"
|
|
}
|
|
}
|