Label Epiphany state update notifications

This commit is contained in:
Meta Vens 2026-04-25 05:57:23 +01:00
commit 4c770e98dd
17 changed files with 100 additions and 22 deletions

View file

@ -3717,16 +3717,27 @@
"epiphanyState": {
"$ref": "#/definitions/EpiphanyThreadState"
},
"source": {
"$ref": "#/definitions/ThreadEpiphanyStateUpdatedSource"
},
"threadId": {
"type": "string"
}
},
"required": [
"epiphanyState",
"source",
"threadId"
],
"type": "object"
},
"ThreadEpiphanyStateUpdatedSource": {
"enum": [
"update",
"promote"
],
"type": "string"
},
"ThreadId": {
"type": "string"
},

View file

@ -14972,17 +14972,28 @@
"epiphanyState": {
"$ref": "#/definitions/v2/EpiphanyThreadState"
},
"source": {
"$ref": "#/definitions/v2/ThreadEpiphanyStateUpdatedSource"
},
"threadId": {
"type": "string"
}
},
"required": [
"epiphanyState",
"source",
"threadId"
],
"title": "ThreadEpiphanyStateUpdatedNotification",
"type": "object"
},
"ThreadEpiphanyStateUpdatedSource": {
"enum": [
"update",
"promote"
],
"type": "string"
},
"ThreadEpiphanyUpdatePatch": {
"properties": {
"activeSubgoalId": {

View file

@ -12859,17 +12859,28 @@
"epiphanyState": {
"$ref": "#/definitions/EpiphanyThreadState"
},
"source": {
"$ref": "#/definitions/ThreadEpiphanyStateUpdatedSource"
},
"threadId": {
"type": "string"
}
},
"required": [
"epiphanyState",
"source",
"threadId"
],
"title": "ThreadEpiphanyStateUpdatedNotification",
"type": "object"
},
"ThreadEpiphanyStateUpdatedSource": {
"enum": [
"update",
"promote"
],
"type": "string"
},
"ThreadEpiphanyUpdatePatch": {
"properties": {
"activeSubgoalId": {

View file

@ -704,18 +704,29 @@
"default"
],
"type": "string"
},
"ThreadEpiphanyStateUpdatedSource": {
"enum": [
"update",
"promote"
],
"type": "string"
}
},
"properties": {
"epiphanyState": {
"$ref": "#/definitions/EpiphanyThreadState"
},
"source": {
"$ref": "#/definitions/ThreadEpiphanyStateUpdatedSource"
},
"threadId": {
"type": "string"
}
},
"required": [
"epiphanyState",
"source",
"threadId"
],
"title": "ThreadEpiphanyStateUpdatedNotification",

View file

@ -2,5 +2,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { EpiphanyThreadState } from "../EpiphanyThreadState";
import type { ThreadEpiphanyStateUpdatedSource } from "./ThreadEpiphanyStateUpdatedSource";
export type ThreadEpiphanyStateUpdatedNotification = { threadId: string, epiphanyState: EpiphanyThreadState, };
export type ThreadEpiphanyStateUpdatedNotification = { threadId: string, source: ThreadEpiphanyStateUpdatedSource, epiphanyState: EpiphanyThreadState, };

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 ThreadEpiphanyStateUpdatedSource = "update" | "promote";

View file

@ -322,6 +322,7 @@ export type { ThreadEpiphanyRetrieveResult } from "./ThreadEpiphanyRetrieveResul
export type { ThreadEpiphanyRetrieveResultKind } from "./ThreadEpiphanyRetrieveResultKind";
export type { ThreadEpiphanyRetrieveShardSummary } from "./ThreadEpiphanyRetrieveShardSummary";
export type { ThreadEpiphanyStateUpdatedNotification } from "./ThreadEpiphanyStateUpdatedNotification";
export type { ThreadEpiphanyStateUpdatedSource } from "./ThreadEpiphanyStateUpdatedSource";
export type { ThreadEpiphanyUpdatePatch } from "./ThreadEpiphanyUpdatePatch";
export type { ThreadForkParams } from "./ThreadForkParams";
export type { ThreadForkResponse } from "./ThreadForkResponse";