Add Epiphany CRRC coordinator recommendation

This commit is contained in:
Meta Vens 2026-04-28 12:02:36 +01:00
commit 9d18cdbe9f
16 changed files with 920 additions and 38 deletions

View file

@ -15105,6 +15105,43 @@
],
"type": "string"
},
"ThreadEpiphanyCrrcAction": {
"enum": [
"continue",
"prepareCheckpoint",
"launchReorientWorker",
"waitForReorientWorker",
"reviewReorientResult",
"acceptReorientResult",
"regatherManually"
],
"type": "string"
},
"ThreadEpiphanyCrrcRecommendation": {
"properties": {
"action": {
"$ref": "#/definitions/v2/ThreadEpiphanyCrrcAction"
},
"reason": {
"type": "string"
},
"recommendedSceneAction": {
"anyOf": [
{
"$ref": "#/definitions/v2/ThreadEpiphanySceneAction"
},
{
"type": "null"
}
]
}
},
"required": [
"action",
"reason"
],
"type": "object"
},
"ThreadEpiphanyFreshnessSource": {
"enum": [
"stored",
@ -16062,6 +16099,7 @@
"freshness",
"pressure",
"reorient",
"crrc",
"reorientLaunch",
"reorientResult",
"reorientAccept",

View file

@ -12992,6 +12992,43 @@
],
"type": "string"
},
"ThreadEpiphanyCrrcAction": {
"enum": [
"continue",
"prepareCheckpoint",
"launchReorientWorker",
"waitForReorientWorker",
"reviewReorientResult",
"acceptReorientResult",
"regatherManually"
],
"type": "string"
},
"ThreadEpiphanyCrrcRecommendation": {
"properties": {
"action": {
"$ref": "#/definitions/ThreadEpiphanyCrrcAction"
},
"reason": {
"type": "string"
},
"recommendedSceneAction": {
"anyOf": [
{
"$ref": "#/definitions/ThreadEpiphanySceneAction"
},
{
"type": "null"
}
]
}
},
"required": [
"action",
"reason"
],
"type": "object"
},
"ThreadEpiphanyFreshnessSource": {
"enum": [
"stored",
@ -13949,6 +13986,7 @@
"freshness",
"pressure",
"reorient",
"crrc",
"reorientLaunch",
"reorientResult",
"reorientAccept",

View file

@ -0,0 +1,5 @@
// GENERATED CODE! DO NOT MODIFY BY HAND!
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type ThreadEpiphanyCrrcAction = "continue" | "prepareCheckpoint" | "launchReorientWorker" | "waitForReorientWorker" | "reviewReorientResult" | "acceptReorientResult" | "regatherManually";

View file

@ -0,0 +1,7 @@
// GENERATED CODE! DO NOT MODIFY BY HAND!
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ThreadEpiphanyCrrcAction } from "./ThreadEpiphanyCrrcAction";
import type { ThreadEpiphanySceneAction } from "./ThreadEpiphanySceneAction";
export type ThreadEpiphanyCrrcRecommendation = { action: ThreadEpiphanyCrrcAction, recommendedSceneAction?: ThreadEpiphanySceneAction | null, reason: string, };

View file

@ -2,4 +2,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type ThreadEpiphanySceneAction = "index" | "retrieve" | "distill" | "context" | "jobs" | "jobLaunch" | "jobInterrupt" | "freshness" | "pressure" | "reorient" | "reorientLaunch" | "reorientResult" | "reorientAccept" | "propose" | "promote" | "update";
export type ThreadEpiphanySceneAction = "index" | "retrieve" | "distill" | "context" | "jobs" | "jobLaunch" | "jobInterrupt" | "freshness" | "pressure" | "reorient" | "crrc" | "reorientLaunch" | "reorientResult" | "reorientAccept" | "propose" | "promote" | "update";

View file

@ -321,6 +321,8 @@ export type { ThreadEpiphanyContext } from "./ThreadEpiphanyContext";
export type { ThreadEpiphanyContextMissing } from "./ThreadEpiphanyContextMissing";
export type { ThreadEpiphanyContextSource } from "./ThreadEpiphanyContextSource";
export type { ThreadEpiphanyContextStateStatus } from "./ThreadEpiphanyContextStateStatus";
export type { ThreadEpiphanyCrrcAction } from "./ThreadEpiphanyCrrcAction";
export type { ThreadEpiphanyCrrcRecommendation } from "./ThreadEpiphanyCrrcRecommendation";
export type { ThreadEpiphanyFreshnessSource } from "./ThreadEpiphanyFreshnessSource";
export type { ThreadEpiphanyGraphContext } from "./ThreadEpiphanyGraphContext";
export type { ThreadEpiphanyGraphFreshness } from "./ThreadEpiphanyGraphFreshness";