[codex] fix media skill profile auth and run events (#965)

* fix media skill profile auth and run events

* test bridge run profile context
This commit is contained in:
ekko
2026-05-24 12:52:14 +08:00
committed by GitHub
parent 3e8f84aa65
commit 634a622934
20 changed files with 368 additions and 97 deletions
+26 -26
View File
@@ -231,6 +231,32 @@
}
}
},
"/api/auth/me": {
"get": {
"tags": [
"Auth"
],
"summary": "Get me",
"description": "GET /api/auth/me",
"operationId": "currentUser",
"security": [
{
"BearerAuth": []
}
],
"responses": {
"200": {
"description": "Success"
},
"401": {
"$ref": "#/components/responses/Unauthorized"
},
"404": {
"description": "Not found"
}
}
}
},
"/api/auth/password": {
"delete": {
"tags": [
@@ -2004,32 +2030,6 @@
}
}
},
"/api/hermes/profiles/active": {
"put": {
"tags": [
"Profiles"
],
"summary": "Update active",
"description": "PUT /api/hermes/profiles/active",
"operationId": "switchProfile",
"security": [
{
"BearerAuth": []
}
],
"responses": {
"200": {
"description": "Success"
},
"400": {
"$ref": "#/components/responses/BadRequest"
},
"401": {
"$ref": "#/components/responses/Unauthorized"
}
}
}
},
"/api/hermes/profiles/import": {
"post": {
"tags": [