mirror of
https://github.com/openai/codex.git
synced 2026-04-25 15:15:15 +00:00
fix(app-server) emit logs as json-rpc
This commit is contained in:
@@ -5150,6 +5150,73 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"LogEntryLevel": {
|
||||
"enum": [
|
||||
"trace",
|
||||
"debug",
|
||||
"info",
|
||||
"warn",
|
||||
"error"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"LogEntryNotification": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
"fields": {
|
||||
"additionalProperties": true,
|
||||
"type": "object"
|
||||
},
|
||||
"level": {
|
||||
"$ref": "#/definitions/LogEntryLevel"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"span": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/LogSpanContext"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"target": {
|
||||
"type": "string"
|
||||
},
|
||||
"timestamp": {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"fields",
|
||||
"level",
|
||||
"message",
|
||||
"target",
|
||||
"timestamp"
|
||||
],
|
||||
"title": "LogEntryNotification",
|
||||
"type": "object"
|
||||
},
|
||||
"LogSpanContext": {
|
||||
"properties": {
|
||||
"fields": {
|
||||
"additionalProperties": true,
|
||||
"type": "object"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"fields",
|
||||
"name"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"LoginAccountParams": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"oneOf": [
|
||||
@@ -7896,6 +7963,26 @@
|
||||
"title": "ErrorNotification",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"method": {
|
||||
"enum": [
|
||||
"log/entry"
|
||||
],
|
||||
"title": "Log/entryNotificationMethod",
|
||||
"type": "string"
|
||||
},
|
||||
"params": {
|
||||
"$ref": "#/definitions/LogEntryNotification"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"method",
|
||||
"params"
|
||||
],
|
||||
"title": "Log/entryNotification",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"method": {
|
||||
|
||||
Reference in New Issue
Block a user