mirror of
https://github.com/openai/codex.git
synced 2026-04-30 01:16:54 +00:00
Rename job scheduler to alarm scheduler
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"definitions": {
|
||||
"ThreadJob": {
|
||||
"AlarmDelivery": {
|
||||
"enum": [
|
||||
"after-turn",
|
||||
"steer-current-turn"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadAlarm": {
|
||||
"properties": {
|
||||
"createdAt": {
|
||||
"format": "int64",
|
||||
@@ -10,6 +17,9 @@
|
||||
"cronExpression": {
|
||||
"type": "string"
|
||||
},
|
||||
"delivery": {
|
||||
"$ref": "#/definitions/AlarmDelivery"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -37,6 +47,7 @@
|
||||
"required": [
|
||||
"createdAt",
|
||||
"cronExpression",
|
||||
"delivery",
|
||||
"id",
|
||||
"prompt",
|
||||
"runOnce"
|
||||
@@ -45,17 +56,17 @@
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"job": {
|
||||
"$ref": "#/definitions/ThreadJob"
|
||||
"alarm": {
|
||||
"$ref": "#/definitions/ThreadAlarm"
|
||||
},
|
||||
"threadId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"job",
|
||||
"alarm",
|
||||
"threadId"
|
||||
],
|
||||
"title": "ThreadJobFiredNotification",
|
||||
"title": "ThreadAlarmFiredNotification",
|
||||
"type": "object"
|
||||
}
|
||||
@@ -1,7 +1,14 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"definitions": {
|
||||
"ThreadJob": {
|
||||
"AlarmDelivery": {
|
||||
"enum": [
|
||||
"after-turn",
|
||||
"steer-current-turn"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadAlarm": {
|
||||
"properties": {
|
||||
"createdAt": {
|
||||
"format": "int64",
|
||||
@@ -10,6 +17,9 @@
|
||||
"cronExpression": {
|
||||
"type": "string"
|
||||
},
|
||||
"delivery": {
|
||||
"$ref": "#/definitions/AlarmDelivery"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -37,6 +47,7 @@
|
||||
"required": [
|
||||
"createdAt",
|
||||
"cronExpression",
|
||||
"delivery",
|
||||
"id",
|
||||
"prompt",
|
||||
"runOnce"
|
||||
@@ -45,9 +56,9 @@
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"jobs": {
|
||||
"alarms": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/ThreadJob"
|
||||
"$ref": "#/definitions/ThreadAlarm"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
@@ -56,9 +67,9 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"jobs",
|
||||
"alarms",
|
||||
"threadId"
|
||||
],
|
||||
"title": "ThreadJobUpdatedNotification",
|
||||
"title": "ThreadAlarmUpdatedNotification",
|
||||
"type": "object"
|
||||
}
|
||||
Reference in New Issue
Block a user