Add Epiphany graph query surface
This commit is contained in:
parent
5a139accfe
commit
5c62a65052
22 changed files with 1608 additions and 19 deletions
85
vendor/codex/codex-rs/app-server-protocol/schema/json/ClientRequest.json
generated
vendored
85
vendor/codex/codex-rs/app-server-protocol/schema/json/ClientRequest.json
generated
vendored
|
|
@ -3872,6 +3872,91 @@
|
|||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyGraphQuery": {
|
||||
"properties": {
|
||||
"depth": {
|
||||
"description": "Defaults to 1 and is capped by the server.",
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"direction": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ThreadEpiphanyGraphQueryDirection"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Defaults to `both`."
|
||||
},
|
||||
"edgeIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"edgeKinds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"includeLinks": {
|
||||
"description": "Defaults to true so neighborhood queries preserve dataflow/architecture joins.",
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyGraphQueryKind"
|
||||
},
|
||||
"nodeIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"symbols": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyGraphQueryDirection": {
|
||||
"enum": [
|
||||
"incoming",
|
||||
"outgoing",
|
||||
"both"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyGraphQueryKind": {
|
||||
"enum": [
|
||||
"node",
|
||||
"path",
|
||||
"frontierNeighborhood",
|
||||
"neighbors"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyRoleId": {
|
||||
"enum": [
|
||||
"implementation",
|
||||
|
|
|
|||
138
vendor/codex/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json
generated
vendored
138
vendor/codex/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json
generated
vendored
|
|
@ -15294,6 +15294,143 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyGraphQuery": {
|
||||
"properties": {
|
||||
"depth": {
|
||||
"description": "Defaults to 1 and is capped by the server.",
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"direction": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/ThreadEpiphanyGraphQueryDirection"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Defaults to `both`."
|
||||
},
|
||||
"edgeIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"edgeKinds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"includeLinks": {
|
||||
"description": "Defaults to true so neighborhood queries preserve dataflow/architecture joins.",
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/v2/ThreadEpiphanyGraphQueryKind"
|
||||
},
|
||||
"nodeIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"symbols": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyGraphQueryDirection": {
|
||||
"enum": [
|
||||
"incoming",
|
||||
"outgoing",
|
||||
"both"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyGraphQueryKind": {
|
||||
"enum": [
|
||||
"node",
|
||||
"path",
|
||||
"frontierNeighborhood",
|
||||
"neighbors"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyGraphQueryMatched": {
|
||||
"properties": {
|
||||
"edgeIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"edgeKinds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nodeIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"symbols": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyGraphQueryMissing": {
|
||||
"properties": {
|
||||
"edgeIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nodeIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyInvalidationInput": {
|
||||
"properties": {
|
||||
"activeFrontierNodeIds": {
|
||||
|
|
@ -16309,6 +16446,7 @@
|
|||
"retrieve",
|
||||
"distill",
|
||||
"context",
|
||||
"graphQuery",
|
||||
"jobs",
|
||||
"roles",
|
||||
"coordinator",
|
||||
|
|
|
|||
|
|
@ -13181,6 +13181,143 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyGraphQuery": {
|
||||
"properties": {
|
||||
"depth": {
|
||||
"description": "Defaults to 1 and is capped by the server.",
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"direction": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ThreadEpiphanyGraphQueryDirection"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Defaults to `both`."
|
||||
},
|
||||
"edgeIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"edgeKinds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"includeLinks": {
|
||||
"description": "Defaults to true so neighborhood queries preserve dataflow/architecture joins.",
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyGraphQueryKind"
|
||||
},
|
||||
"nodeIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"symbols": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyGraphQueryDirection": {
|
||||
"enum": [
|
||||
"incoming",
|
||||
"outgoing",
|
||||
"both"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyGraphQueryKind": {
|
||||
"enum": [
|
||||
"node",
|
||||
"path",
|
||||
"frontierNeighborhood",
|
||||
"neighbors"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyGraphQueryMatched": {
|
||||
"properties": {
|
||||
"edgeIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"edgeKinds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nodeIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"symbols": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyGraphQueryMissing": {
|
||||
"properties": {
|
||||
"edgeIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nodeIds": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyInvalidationInput": {
|
||||
"properties": {
|
||||
"activeFrontierNodeIds": {
|
||||
|
|
@ -14196,6 +14333,7 @@
|
|||
"retrieve",
|
||||
"distill",
|
||||
"context",
|
||||
"graphQuery",
|
||||
"jobs",
|
||||
"roles",
|
||||
"coordinator",
|
||||
|
|
|
|||
19
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyGraphQuery.ts
generated
vendored
Normal file
19
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyGraphQuery.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
// 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 { ThreadEpiphanyGraphQueryDirection } from "./ThreadEpiphanyGraphQueryDirection";
|
||||
import type { ThreadEpiphanyGraphQueryKind } from "./ThreadEpiphanyGraphQueryKind";
|
||||
|
||||
export type ThreadEpiphanyGraphQuery = { kind: ThreadEpiphanyGraphQueryKind, nodeIds?: Array<string>, edgeIds?: Array<string>, paths?: Array<string>, symbols?: Array<string>, edgeKinds?: Array<string>,
|
||||
/**
|
||||
* Defaults to `both`.
|
||||
*/
|
||||
direction?: ThreadEpiphanyGraphQueryDirection | null,
|
||||
/**
|
||||
* Defaults to 1 and is capped by the server.
|
||||
*/
|
||||
depth?: number | null,
|
||||
/**
|
||||
* Defaults to true so neighborhood queries preserve dataflow/architecture joins.
|
||||
*/
|
||||
includeLinks?: boolean | null, };
|
||||
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyGraphQueryDirection.ts
generated
vendored
Normal file
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyGraphQueryDirection.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 ThreadEpiphanyGraphQueryDirection = "incoming" | "outgoing" | "both";
|
||||
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyGraphQueryKind.ts
generated
vendored
Normal file
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyGraphQueryKind.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 ThreadEpiphanyGraphQueryKind = "node" | "path" | "frontierNeighborhood" | "neighbors";
|
||||
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyGraphQueryMatched.ts
generated
vendored
Normal file
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyGraphQueryMatched.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 ThreadEpiphanyGraphQueryMatched = { nodeIds?: Array<string>, edgeIds?: Array<string>, paths?: Array<string>, symbols?: Array<string>, edgeKinds?: Array<string>, };
|
||||
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyGraphQueryMissing.ts
generated
vendored
Normal file
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyGraphQueryMissing.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 ThreadEpiphanyGraphQueryMissing = { nodeIds?: Array<string>, edgeIds?: Array<string>, };
|
||||
|
|
@ -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" | "roles" | "coordinator" | "roleLaunch" | "roleResult" | "jobLaunch" | "jobInterrupt" | "freshness" | "pressure" | "reorient" | "crrc" | "reorientLaunch" | "reorientResult" | "reorientAccept" | "propose" | "promote" | "update";
|
||||
export type ThreadEpiphanySceneAction = "index" | "retrieve" | "distill" | "context" | "graphQuery" | "jobs" | "roles" | "coordinator" | "roleLaunch" | "roleResult" | "jobLaunch" | "jobInterrupt" | "freshness" | "pressure" | "reorient" | "crrc" | "reorientLaunch" | "reorientResult" | "reorientAccept" | "propose" | "promote" | "update";
|
||||
|
|
|
|||
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/index.ts
generated
vendored
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/index.ts
generated
vendored
|
|
@ -329,6 +329,11 @@ export type { ThreadEpiphanyFreshnessSource } from "./ThreadEpiphanyFreshnessSou
|
|||
export type { ThreadEpiphanyGraphContext } from "./ThreadEpiphanyGraphContext";
|
||||
export type { ThreadEpiphanyGraphFreshness } from "./ThreadEpiphanyGraphFreshness";
|
||||
export type { ThreadEpiphanyGraphFreshnessStatus } from "./ThreadEpiphanyGraphFreshnessStatus";
|
||||
export type { ThreadEpiphanyGraphQuery } from "./ThreadEpiphanyGraphQuery";
|
||||
export type { ThreadEpiphanyGraphQueryDirection } from "./ThreadEpiphanyGraphQueryDirection";
|
||||
export type { ThreadEpiphanyGraphQueryKind } from "./ThreadEpiphanyGraphQueryKind";
|
||||
export type { ThreadEpiphanyGraphQueryMatched } from "./ThreadEpiphanyGraphQueryMatched";
|
||||
export type { ThreadEpiphanyGraphQueryMissing } from "./ThreadEpiphanyGraphQueryMissing";
|
||||
export type { ThreadEpiphanyInvalidationInput } from "./ThreadEpiphanyInvalidationInput";
|
||||
export type { ThreadEpiphanyInvalidationStatus } from "./ThreadEpiphanyInvalidationStatus";
|
||||
export type { ThreadEpiphanyJob } from "./ThreadEpiphanyJob";
|
||||
|
|
|
|||
Reference in a new issue