Add Epiphany graph query surface

This commit is contained in:
Meta Vens 2026-04-29 21:49:47 +01:00
commit 5c62a65052
22 changed files with 1608 additions and 19 deletions

View file

@ -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",

View file

@ -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",

View file

@ -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",