Label Epiphany state update notifications
This commit is contained in:
parent
cabad31b5e
commit
4c770e98dd
17 changed files with 100 additions and 22 deletions
11
vendor/codex/codex-rs/app-server-protocol/schema/json/ServerNotification.json
generated
vendored
11
vendor/codex/codex-rs/app-server-protocol/schema/json/ServerNotification.json
generated
vendored
|
|
@ -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"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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": {
|
||||
|
|
|
|||
|
|
@ -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": {
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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, };
|
||||
|
|
|
|||
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyStateUpdatedSource.ts
generated
vendored
Normal file
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyStateUpdatedSource.ts
generated
vendored
Normal 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";
|
||||
1
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/index.ts
generated
vendored
1
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/index.ts
generated
vendored
|
|
@ -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";
|
||||
|
|
|
|||
Reference in a new issue