mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-18 11:40:39 +09:00
Add company skill assignment to agent create and hire flows
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
099c37c4b4
commit
480174367d
12 changed files with 699 additions and 35 deletions
|
|
@ -6,8 +6,12 @@
|
|||
- `GET /llms/agent-configuration/:adapterType.txt`
|
||||
- `GET /llms/agent-icons.txt`
|
||||
- `GET /api/companies/:companyId/agent-configurations`
|
||||
- `GET /api/companies/:companyId/skills`
|
||||
- `POST /api/companies/:companyId/skills/import`
|
||||
- `GET /api/agents/:agentId/configuration`
|
||||
- `POST /api/agents/:agentId/skills/sync`
|
||||
- `POST /api/companies/:companyId/agent-hires`
|
||||
- `POST /api/companies/:companyId/agents`
|
||||
- `GET /api/agents/:agentId/config-revisions`
|
||||
- `POST /api/agents/:agentId/config-revisions/:revisionId/rollback`
|
||||
- `POST /api/issues/:issueId/approvals`
|
||||
|
|
@ -34,6 +38,7 @@ Request body matches agent create shape:
|
|||
"icon": "crown",
|
||||
"reportsTo": "uuid-or-null",
|
||||
"capabilities": "Owns architecture and engineering execution",
|
||||
"desiredSkills": ["vercel-labs/agent-browser/agent-browser"],
|
||||
"adapterType": "claude_local",
|
||||
"adapterConfig": {
|
||||
"cwd": "/absolute/path",
|
||||
|
|
@ -64,13 +69,18 @@ Response:
|
|||
"approval": {
|
||||
"id": "uuid",
|
||||
"type": "hire_agent",
|
||||
"status": "pending"
|
||||
"status": "pending",
|
||||
"payload": {
|
||||
"desiredSkills": ["vercel-labs/agent-browser/agent-browser"]
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
If company setting disables required approval, `approval` is `null` and the agent is created as `idle`.
|
||||
|
||||
`desiredSkills` accepts company skill ids, canonical keys, or a unique slug. The server resolves and stores canonical company skill keys.
|
||||
|
||||
## Approval Lifecycle
|
||||
|
||||
Statuses:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue