Land Epiphany Phase 4 hybrid retrieval slice
This commit is contained in:
parent
d45ab10267
commit
360dfea6e4
39 changed files with 10378 additions and 62 deletions
715
vendor/codex/codex-rs/app-server-protocol/schema/json/ServerNotification.json
generated
vendored
715
vendor/codex/codex-rs/app-server-protocol/schema/json/ServerNotification.json
generated
vendored
|
|
@ -1002,6 +1002,702 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyChurnState": {
|
||||
"properties": {
|
||||
"diff_pressure": {
|
||||
"type": "string"
|
||||
},
|
||||
"graph_freshness": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"understanding_status": {
|
||||
"type": "string"
|
||||
},
|
||||
"unexplained_writes": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"warning": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"diff_pressure",
|
||||
"understanding_status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyCodeRef": {
|
||||
"properties": {
|
||||
"end_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"start_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"symbol": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyEvidenceRecord": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraph": {
|
||||
"properties": {
|
||||
"edges": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphEdge"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nodes": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphNode"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphCheckpoint": {
|
||||
"properties": {
|
||||
"checkpoint_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"frontier_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"graph_revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"checkpoint_id",
|
||||
"graph_revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphEdge": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"source_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"target_id": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind",
|
||||
"source_id",
|
||||
"target_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphFrontier": {
|
||||
"properties": {
|
||||
"active_edge_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"active_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphLink": {
|
||||
"properties": {
|
||||
"architecture_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dataflow_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"relationship": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"architecture_node_id",
|
||||
"dataflow_node_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphNode": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"metaphor": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"purpose": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"purpose",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphs": {
|
||||
"properties": {
|
||||
"architecture": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"dataflow": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"links": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphLink"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyInvariant": {
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"rationale": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"description",
|
||||
"id",
|
||||
"status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ModeKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyObservation": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"evidence_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"source_kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalShardSummary": {
|
||||
"properties": {
|
||||
"exact_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path_prefix": {
|
||||
"type": "string"
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shard_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path_prefix",
|
||||
"shard_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalState": {
|
||||
"properties": {
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"index_revision": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"last_indexed_at_unix_seconds": {
|
||||
"format": "int64",
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shards": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyRetrievalShardSummary"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
},
|
||||
"workspace_root": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"workspace_root"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalStatus": {
|
||||
"enum": [
|
||||
"unavailable",
|
||||
"ready",
|
||||
"stale",
|
||||
"indexing"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyScratchPad": {
|
||||
"properties": {
|
||||
"hypothesis": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"next_probe": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"notes": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanySubgoal": {
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"status",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyThreadState": {
|
||||
"properties": {
|
||||
"active_subgoal_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"churn": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyChurnState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_checkpoint": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphCheckpoint"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_frontier": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphFrontier"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graphs": {
|
||||
"$ref": "#/definitions/EpiphanyGraphs"
|
||||
},
|
||||
"invariants": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyInvariant"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mode": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyModeState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"objective": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"observations": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyObservation"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"recent_evidence": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyEvidenceRecord"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"retrieval": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"scratch": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyScratchPad"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"subgoals": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanySubgoal"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ErrorNotification": {
|
||||
"properties": {
|
||||
"error": {
|
||||
|
|
@ -2227,6 +2923,14 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"ModeKind": {
|
||||
"description": "Initial collaboration mode to use when the TUI starts.",
|
||||
"enum": [
|
||||
"plan",
|
||||
"default"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ModelRerouteReason": {
|
||||
"enum": [
|
||||
"highRiskCyberActivity"
|
||||
|
|
@ -2881,6 +3585,17 @@
|
|||
"description": "Whether the thread is ephemeral and should not be materialized on disk.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"epiphanyState": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyThreadState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Only populated on `thread/start`, `thread/resume`, `thread/fork`, `thread/read`, and notifications/responses that reuse those hydrated thread payloads."
|
||||
},
|
||||
"forkedFromId": {
|
||||
"description": "Source thread id when this thread was created by forking another thread.",
|
||||
"type": [
|
||||
|
|
|
|||
862
vendor/codex/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json
generated
vendored
862
vendor/codex/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json
generated
vendored
|
|
@ -7831,6 +7831,702 @@
|
|||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyChurnState": {
|
||||
"properties": {
|
||||
"diff_pressure": {
|
||||
"type": "string"
|
||||
},
|
||||
"graph_freshness": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"understanding_status": {
|
||||
"type": "string"
|
||||
},
|
||||
"unexplained_writes": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"warning": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"diff_pressure",
|
||||
"understanding_status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyCodeRef": {
|
||||
"properties": {
|
||||
"end_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"start_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"symbol": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyEvidenceRecord": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/v2/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraph": {
|
||||
"properties": {
|
||||
"edges": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/v2/EpiphanyGraphEdge"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nodes": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/v2/EpiphanyGraphNode"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphCheckpoint": {
|
||||
"properties": {
|
||||
"checkpoint_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"frontier_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"graph_revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"checkpoint_id",
|
||||
"graph_revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphEdge": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/v2/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"source_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"target_id": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind",
|
||||
"source_id",
|
||||
"target_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphFrontier": {
|
||||
"properties": {
|
||||
"active_edge_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"active_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphLink": {
|
||||
"properties": {
|
||||
"architecture_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/v2/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dataflow_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"relationship": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"architecture_node_id",
|
||||
"dataflow_node_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphNode": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/v2/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"metaphor": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"purpose": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"purpose",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphs": {
|
||||
"properties": {
|
||||
"architecture": {
|
||||
"$ref": "#/definitions/v2/EpiphanyGraph"
|
||||
},
|
||||
"dataflow": {
|
||||
"$ref": "#/definitions/v2/EpiphanyGraph"
|
||||
},
|
||||
"links": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/v2/EpiphanyGraphLink"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyInvariant": {
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"rationale": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"description",
|
||||
"id",
|
||||
"status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/ModeKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyObservation": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/v2/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"evidence_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"source_kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalShardSummary": {
|
||||
"properties": {
|
||||
"exact_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path_prefix": {
|
||||
"type": "string"
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shard_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path_prefix",
|
||||
"shard_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalState": {
|
||||
"properties": {
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"index_revision": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"last_indexed_at_unix_seconds": {
|
||||
"format": "int64",
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shards": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/v2/EpiphanyRetrievalShardSummary"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
},
|
||||
"workspace_root": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"workspace_root"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalStatus": {
|
||||
"enum": [
|
||||
"unavailable",
|
||||
"ready",
|
||||
"stale",
|
||||
"indexing"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyScratchPad": {
|
||||
"properties": {
|
||||
"hypothesis": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"next_probe": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"notes": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanySubgoal": {
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"status",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyThreadState": {
|
||||
"properties": {
|
||||
"active_subgoal_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"churn": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/EpiphanyChurnState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_checkpoint": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/EpiphanyGraphCheckpoint"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_frontier": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/EpiphanyGraphFrontier"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graphs": {
|
||||
"$ref": "#/definitions/v2/EpiphanyGraphs"
|
||||
},
|
||||
"invariants": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/v2/EpiphanyInvariant"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mode": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/EpiphanyModeState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"objective": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"observations": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/v2/EpiphanyObservation"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"recent_evidence": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/v2/EpiphanyEvidenceRecord"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"retrieval": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/EpiphanyRetrievalState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"scratch": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/EpiphanyScratchPad"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"subgoals": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/v2/EpiphanySubgoal"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ErrorNotification": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
|
|
@ -13906,6 +14602,17 @@
|
|||
"description": "Whether the thread is ephemeral and should not be materialized on disk.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"epiphanyState": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/EpiphanyThreadState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Only populated on `thread/start`, `thread/resume`, `thread/fork`, `thread/read`, and notifications/responses that reuse those hydrated thread payloads."
|
||||
},
|
||||
"forkedFromId": {
|
||||
"description": "Source thread id when this thread was created by forking another thread.",
|
||||
"type": [
|
||||
|
|
@ -14084,6 +14791,161 @@
|
|||
"title": "ThreadCompactStartResponse",
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyRetrieveIndexSummary": {
|
||||
"properties": {
|
||||
"dirtyPaths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"indexRevision": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexedChunkCount": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexedFileCount": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"lastIndexedAtUnixSeconds": {
|
||||
"format": "int64",
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"semanticAvailable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shards": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/v2/ThreadEpiphanyRetrieveShardSummary"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/v2/EpiphanyRetrievalStatus"
|
||||
},
|
||||
"workspaceRoot": {
|
||||
"$ref": "#/definitions/v2/AbsolutePathBuf"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"dirtyPaths",
|
||||
"semanticAvailable",
|
||||
"shards",
|
||||
"status",
|
||||
"workspaceRoot"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyRetrieveResult": {
|
||||
"properties": {
|
||||
"excerpt": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/v2/ThreadEpiphanyRetrieveResultKind"
|
||||
},
|
||||
"lineEnd": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"lineStart": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"score": {
|
||||
"format": "float",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind",
|
||||
"path",
|
||||
"score"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyRetrieveResultKind": {
|
||||
"enum": [
|
||||
"exactFile",
|
||||
"exactDirectory",
|
||||
"semanticChunk"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyRetrieveShardSummary": {
|
||||
"properties": {
|
||||
"exactAvailable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"indexedChunkCount": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexedFileCount": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"pathPrefix": {
|
||||
"type": "string"
|
||||
},
|
||||
"semanticAvailable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shardId": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/v2/EpiphanyRetrievalStatus"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"exactAvailable",
|
||||
"pathPrefix",
|
||||
"semanticAvailable",
|
||||
"shardId",
|
||||
"status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadForkParams": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"description": "There are two ways to fork a thread: 1. By thread_id: load the thread from disk by thread_id and fork it into a new thread. 2. By path: load the thread from disk by path and fork it into a new thread.\n\nIf using path, the thread_id param will be ignored.\n\nPrefer using thread_id whenever possible.",
|
||||
|
|
|
|||
|
|
@ -4411,6 +4411,702 @@
|
|||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyChurnState": {
|
||||
"properties": {
|
||||
"diff_pressure": {
|
||||
"type": "string"
|
||||
},
|
||||
"graph_freshness": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"understanding_status": {
|
||||
"type": "string"
|
||||
},
|
||||
"unexplained_writes": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"warning": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"diff_pressure",
|
||||
"understanding_status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyCodeRef": {
|
||||
"properties": {
|
||||
"end_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"start_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"symbol": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyEvidenceRecord": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraph": {
|
||||
"properties": {
|
||||
"edges": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphEdge"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nodes": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphNode"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphCheckpoint": {
|
||||
"properties": {
|
||||
"checkpoint_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"frontier_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"graph_revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"checkpoint_id",
|
||||
"graph_revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphEdge": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"source_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"target_id": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind",
|
||||
"source_id",
|
||||
"target_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphFrontier": {
|
||||
"properties": {
|
||||
"active_edge_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"active_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphLink": {
|
||||
"properties": {
|
||||
"architecture_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dataflow_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"relationship": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"architecture_node_id",
|
||||
"dataflow_node_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphNode": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"metaphor": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"purpose": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"purpose",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphs": {
|
||||
"properties": {
|
||||
"architecture": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"dataflow": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"links": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphLink"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyInvariant": {
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"rationale": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"description",
|
||||
"id",
|
||||
"status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ModeKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyObservation": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"evidence_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"source_kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalShardSummary": {
|
||||
"properties": {
|
||||
"exact_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path_prefix": {
|
||||
"type": "string"
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shard_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path_prefix",
|
||||
"shard_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalState": {
|
||||
"properties": {
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"index_revision": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"last_indexed_at_unix_seconds": {
|
||||
"format": "int64",
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shards": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyRetrievalShardSummary"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
},
|
||||
"workspace_root": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"workspace_root"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalStatus": {
|
||||
"enum": [
|
||||
"unavailable",
|
||||
"ready",
|
||||
"stale",
|
||||
"indexing"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyScratchPad": {
|
||||
"properties": {
|
||||
"hypothesis": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"next_probe": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"notes": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanySubgoal": {
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"status",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyThreadState": {
|
||||
"properties": {
|
||||
"active_subgoal_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"churn": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyChurnState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_checkpoint": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphCheckpoint"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_frontier": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphFrontier"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graphs": {
|
||||
"$ref": "#/definitions/EpiphanyGraphs"
|
||||
},
|
||||
"invariants": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyInvariant"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mode": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyModeState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"objective": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"observations": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyObservation"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"recent_evidence": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyEvidenceRecord"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"retrieval": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"scratch": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyScratchPad"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"subgoals": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanySubgoal"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ErrorNotification": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
|
|
@ -11793,6 +12489,17 @@
|
|||
"description": "Whether the thread is ephemeral and should not be materialized on disk.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"epiphanyState": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyThreadState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Only populated on `thread/start`, `thread/resume`, `thread/fork`, `thread/read`, and notifications/responses that reuse those hydrated thread payloads."
|
||||
},
|
||||
"forkedFromId": {
|
||||
"description": "Source thread id when this thread was created by forking another thread.",
|
||||
"type": [
|
||||
|
|
@ -11971,6 +12678,161 @@
|
|||
"title": "ThreadCompactStartResponse",
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyRetrieveIndexSummary": {
|
||||
"properties": {
|
||||
"dirtyPaths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"indexRevision": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexedChunkCount": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexedFileCount": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"lastIndexedAtUnixSeconds": {
|
||||
"format": "int64",
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"semanticAvailable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shards": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyRetrieveShardSummary"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
},
|
||||
"workspaceRoot": {
|
||||
"$ref": "#/definitions/AbsolutePathBuf"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"dirtyPaths",
|
||||
"semanticAvailable",
|
||||
"shards",
|
||||
"status",
|
||||
"workspaceRoot"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyRetrieveResult": {
|
||||
"properties": {
|
||||
"excerpt": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyRetrieveResultKind"
|
||||
},
|
||||
"lineEnd": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"lineStart": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"score": {
|
||||
"format": "float",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind",
|
||||
"path",
|
||||
"score"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyRetrieveResultKind": {
|
||||
"enum": [
|
||||
"exactFile",
|
||||
"exactDirectory",
|
||||
"semanticChunk"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyRetrieveShardSummary": {
|
||||
"properties": {
|
||||
"exactAvailable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"indexedChunkCount": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexedFileCount": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"pathPrefix": {
|
||||
"type": "string"
|
||||
},
|
||||
"semanticAvailable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shardId": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"exactAvailable",
|
||||
"pathPrefix",
|
||||
"semanticAvailable",
|
||||
"shardId",
|
||||
"status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadForkParams": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"description": "There are two ways to fork a thread: 1. By thread_id: load the thread from disk by thread_id and fork it into a new thread. 2. By path: load the thread from disk by path and fork it into a new thread.\n\nIf using path, the thread_id param will be ignored.\n\nPrefer using thread_id whenever possible.",
|
||||
|
|
|
|||
715
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadForkResponse.json
generated
vendored
715
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadForkResponse.json
generated
vendored
|
|
@ -449,6 +449,702 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyChurnState": {
|
||||
"properties": {
|
||||
"diff_pressure": {
|
||||
"type": "string"
|
||||
},
|
||||
"graph_freshness": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"understanding_status": {
|
||||
"type": "string"
|
||||
},
|
||||
"unexplained_writes": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"warning": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"diff_pressure",
|
||||
"understanding_status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyCodeRef": {
|
||||
"properties": {
|
||||
"end_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"start_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"symbol": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyEvidenceRecord": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraph": {
|
||||
"properties": {
|
||||
"edges": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphEdge"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nodes": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphNode"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphCheckpoint": {
|
||||
"properties": {
|
||||
"checkpoint_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"frontier_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"graph_revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"checkpoint_id",
|
||||
"graph_revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphEdge": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"source_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"target_id": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind",
|
||||
"source_id",
|
||||
"target_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphFrontier": {
|
||||
"properties": {
|
||||
"active_edge_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"active_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphLink": {
|
||||
"properties": {
|
||||
"architecture_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dataflow_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"relationship": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"architecture_node_id",
|
||||
"dataflow_node_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphNode": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"metaphor": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"purpose": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"purpose",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphs": {
|
||||
"properties": {
|
||||
"architecture": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"dataflow": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"links": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphLink"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyInvariant": {
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"rationale": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"description",
|
||||
"id",
|
||||
"status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ModeKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyObservation": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"evidence_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"source_kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalShardSummary": {
|
||||
"properties": {
|
||||
"exact_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path_prefix": {
|
||||
"type": "string"
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shard_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path_prefix",
|
||||
"shard_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalState": {
|
||||
"properties": {
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"index_revision": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"last_indexed_at_unix_seconds": {
|
||||
"format": "int64",
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shards": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyRetrievalShardSummary"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
},
|
||||
"workspace_root": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"workspace_root"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalStatus": {
|
||||
"enum": [
|
||||
"unavailable",
|
||||
"ready",
|
||||
"stale",
|
||||
"indexing"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyScratchPad": {
|
||||
"properties": {
|
||||
"hypothesis": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"next_probe": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"notes": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanySubgoal": {
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"status",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyThreadState": {
|
||||
"properties": {
|
||||
"active_subgoal_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"churn": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyChurnState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_checkpoint": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphCheckpoint"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_frontier": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphFrontier"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graphs": {
|
||||
"$ref": "#/definitions/EpiphanyGraphs"
|
||||
},
|
||||
"invariants": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyInvariant"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mode": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyModeState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"objective": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"observations": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyObservation"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"recent_evidence": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyEvidenceRecord"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"retrieval": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"scratch": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyScratchPad"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"subgoals": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanySubgoal"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"FileSystemAccessMode": {
|
||||
"enum": [
|
||||
"read",
|
||||
|
|
@ -817,6 +1513,14 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"ModeKind": {
|
||||
"description": "Initial collaboration mode to use when the TUI starts.",
|
||||
"enum": [
|
||||
"plan",
|
||||
"default"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"NetworkAccess": {
|
||||
"enum": [
|
||||
"restricted",
|
||||
|
|
@ -1317,6 +2021,17 @@
|
|||
"description": "Whether the thread is ephemeral and should not be materialized on disk.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"epiphanyState": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyThreadState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Only populated on `thread/start`, `thread/resume`, `thread/fork`, `thread/read`, and notifications/responses that reuse those hydrated thread payloads."
|
||||
},
|
||||
"forkedFromId": {
|
||||
"description": "Source thread id when this thread was created by forking another thread.",
|
||||
"type": [
|
||||
|
|
|
|||
715
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadListResponse.json
generated
vendored
715
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadListResponse.json
generated
vendored
|
|
@ -390,6 +390,702 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyChurnState": {
|
||||
"properties": {
|
||||
"diff_pressure": {
|
||||
"type": "string"
|
||||
},
|
||||
"graph_freshness": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"understanding_status": {
|
||||
"type": "string"
|
||||
},
|
||||
"unexplained_writes": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"warning": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"diff_pressure",
|
||||
"understanding_status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyCodeRef": {
|
||||
"properties": {
|
||||
"end_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"start_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"symbol": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyEvidenceRecord": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraph": {
|
||||
"properties": {
|
||||
"edges": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphEdge"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nodes": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphNode"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphCheckpoint": {
|
||||
"properties": {
|
||||
"checkpoint_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"frontier_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"graph_revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"checkpoint_id",
|
||||
"graph_revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphEdge": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"source_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"target_id": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind",
|
||||
"source_id",
|
||||
"target_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphFrontier": {
|
||||
"properties": {
|
||||
"active_edge_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"active_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphLink": {
|
||||
"properties": {
|
||||
"architecture_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dataflow_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"relationship": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"architecture_node_id",
|
||||
"dataflow_node_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphNode": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"metaphor": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"purpose": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"purpose",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphs": {
|
||||
"properties": {
|
||||
"architecture": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"dataflow": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"links": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphLink"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyInvariant": {
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"rationale": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"description",
|
||||
"id",
|
||||
"status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ModeKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyObservation": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"evidence_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"source_kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalShardSummary": {
|
||||
"properties": {
|
||||
"exact_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path_prefix": {
|
||||
"type": "string"
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shard_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path_prefix",
|
||||
"shard_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalState": {
|
||||
"properties": {
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"index_revision": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"last_indexed_at_unix_seconds": {
|
||||
"format": "int64",
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shards": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyRetrievalShardSummary"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
},
|
||||
"workspace_root": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"workspace_root"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalStatus": {
|
||||
"enum": [
|
||||
"unavailable",
|
||||
"ready",
|
||||
"stale",
|
||||
"indexing"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyScratchPad": {
|
||||
"properties": {
|
||||
"hypothesis": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"next_probe": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"notes": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanySubgoal": {
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"status",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyThreadState": {
|
||||
"properties": {
|
||||
"active_subgoal_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"churn": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyChurnState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_checkpoint": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphCheckpoint"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_frontier": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphFrontier"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graphs": {
|
||||
"$ref": "#/definitions/EpiphanyGraphs"
|
||||
},
|
||||
"invariants": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyInvariant"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mode": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyModeState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"objective": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"observations": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyObservation"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"recent_evidence": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyEvidenceRecord"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"retrieval": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"scratch": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyScratchPad"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"subgoals": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanySubgoal"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"FileUpdateChange": {
|
||||
"properties": {
|
||||
"diff": {
|
||||
|
|
@ -547,6 +1243,14 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"ModeKind": {
|
||||
"description": "Initial collaboration mode to use when the TUI starts.",
|
||||
"enum": [
|
||||
"plan",
|
||||
"default"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"NonSteerableTurnKind": {
|
||||
"enum": [
|
||||
"review",
|
||||
|
|
@ -809,6 +1513,17 @@
|
|||
"description": "Whether the thread is ephemeral and should not be materialized on disk.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"epiphanyState": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyThreadState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Only populated on `thread/start`, `thread/resume`, `thread/fork`, `thread/read`, and notifications/responses that reuse those hydrated thread payloads."
|
||||
},
|
||||
"forkedFromId": {
|
||||
"description": "Source thread id when this thread was created by forking another thread.",
|
||||
"type": [
|
||||
|
|
|
|||
715
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadMetadataUpdateResponse.json
generated
vendored
715
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadMetadataUpdateResponse.json
generated
vendored
|
|
@ -390,6 +390,702 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyChurnState": {
|
||||
"properties": {
|
||||
"diff_pressure": {
|
||||
"type": "string"
|
||||
},
|
||||
"graph_freshness": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"understanding_status": {
|
||||
"type": "string"
|
||||
},
|
||||
"unexplained_writes": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"warning": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"diff_pressure",
|
||||
"understanding_status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyCodeRef": {
|
||||
"properties": {
|
||||
"end_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"start_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"symbol": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyEvidenceRecord": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraph": {
|
||||
"properties": {
|
||||
"edges": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphEdge"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nodes": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphNode"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphCheckpoint": {
|
||||
"properties": {
|
||||
"checkpoint_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"frontier_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"graph_revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"checkpoint_id",
|
||||
"graph_revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphEdge": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"source_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"target_id": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind",
|
||||
"source_id",
|
||||
"target_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphFrontier": {
|
||||
"properties": {
|
||||
"active_edge_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"active_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphLink": {
|
||||
"properties": {
|
||||
"architecture_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dataflow_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"relationship": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"architecture_node_id",
|
||||
"dataflow_node_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphNode": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"metaphor": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"purpose": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"purpose",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphs": {
|
||||
"properties": {
|
||||
"architecture": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"dataflow": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"links": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphLink"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyInvariant": {
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"rationale": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"description",
|
||||
"id",
|
||||
"status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ModeKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyObservation": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"evidence_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"source_kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalShardSummary": {
|
||||
"properties": {
|
||||
"exact_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path_prefix": {
|
||||
"type": "string"
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shard_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path_prefix",
|
||||
"shard_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalState": {
|
||||
"properties": {
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"index_revision": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"last_indexed_at_unix_seconds": {
|
||||
"format": "int64",
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shards": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyRetrievalShardSummary"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
},
|
||||
"workspace_root": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"workspace_root"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalStatus": {
|
||||
"enum": [
|
||||
"unavailable",
|
||||
"ready",
|
||||
"stale",
|
||||
"indexing"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyScratchPad": {
|
||||
"properties": {
|
||||
"hypothesis": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"next_probe": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"notes": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanySubgoal": {
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"status",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyThreadState": {
|
||||
"properties": {
|
||||
"active_subgoal_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"churn": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyChurnState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_checkpoint": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphCheckpoint"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_frontier": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphFrontier"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graphs": {
|
||||
"$ref": "#/definitions/EpiphanyGraphs"
|
||||
},
|
||||
"invariants": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyInvariant"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mode": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyModeState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"objective": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"observations": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyObservation"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"recent_evidence": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyEvidenceRecord"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"retrieval": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"scratch": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyScratchPad"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"subgoals": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanySubgoal"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"FileUpdateChange": {
|
||||
"properties": {
|
||||
"diff": {
|
||||
|
|
@ -547,6 +1243,14 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"ModeKind": {
|
||||
"description": "Initial collaboration mode to use when the TUI starts.",
|
||||
"enum": [
|
||||
"plan",
|
||||
"default"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"NonSteerableTurnKind": {
|
||||
"enum": [
|
||||
"review",
|
||||
|
|
@ -809,6 +1513,17 @@
|
|||
"description": "Whether the thread is ephemeral and should not be materialized on disk.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"epiphanyState": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyThreadState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Only populated on `thread/start`, `thread/resume`, `thread/fork`, `thread/read`, and notifications/responses that reuse those hydrated thread payloads."
|
||||
},
|
||||
"forkedFromId": {
|
||||
"description": "Source thread id when this thread was created by forking another thread.",
|
||||
"type": [
|
||||
|
|
|
|||
715
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadReadResponse.json
generated
vendored
715
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadReadResponse.json
generated
vendored
|
|
@ -390,6 +390,702 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyChurnState": {
|
||||
"properties": {
|
||||
"diff_pressure": {
|
||||
"type": "string"
|
||||
},
|
||||
"graph_freshness": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"understanding_status": {
|
||||
"type": "string"
|
||||
},
|
||||
"unexplained_writes": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"warning": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"diff_pressure",
|
||||
"understanding_status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyCodeRef": {
|
||||
"properties": {
|
||||
"end_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"start_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"symbol": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyEvidenceRecord": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraph": {
|
||||
"properties": {
|
||||
"edges": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphEdge"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nodes": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphNode"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphCheckpoint": {
|
||||
"properties": {
|
||||
"checkpoint_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"frontier_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"graph_revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"checkpoint_id",
|
||||
"graph_revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphEdge": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"source_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"target_id": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind",
|
||||
"source_id",
|
||||
"target_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphFrontier": {
|
||||
"properties": {
|
||||
"active_edge_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"active_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphLink": {
|
||||
"properties": {
|
||||
"architecture_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dataflow_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"relationship": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"architecture_node_id",
|
||||
"dataflow_node_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphNode": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"metaphor": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"purpose": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"purpose",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphs": {
|
||||
"properties": {
|
||||
"architecture": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"dataflow": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"links": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphLink"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyInvariant": {
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"rationale": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"description",
|
||||
"id",
|
||||
"status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ModeKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyObservation": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"evidence_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"source_kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalShardSummary": {
|
||||
"properties": {
|
||||
"exact_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path_prefix": {
|
||||
"type": "string"
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shard_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path_prefix",
|
||||
"shard_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalState": {
|
||||
"properties": {
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"index_revision": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"last_indexed_at_unix_seconds": {
|
||||
"format": "int64",
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shards": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyRetrievalShardSummary"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
},
|
||||
"workspace_root": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"workspace_root"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalStatus": {
|
||||
"enum": [
|
||||
"unavailable",
|
||||
"ready",
|
||||
"stale",
|
||||
"indexing"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyScratchPad": {
|
||||
"properties": {
|
||||
"hypothesis": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"next_probe": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"notes": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanySubgoal": {
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"status",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyThreadState": {
|
||||
"properties": {
|
||||
"active_subgoal_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"churn": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyChurnState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_checkpoint": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphCheckpoint"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_frontier": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphFrontier"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graphs": {
|
||||
"$ref": "#/definitions/EpiphanyGraphs"
|
||||
},
|
||||
"invariants": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyInvariant"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mode": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyModeState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"objective": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"observations": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyObservation"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"recent_evidence": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyEvidenceRecord"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"retrieval": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"scratch": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyScratchPad"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"subgoals": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanySubgoal"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"FileUpdateChange": {
|
||||
"properties": {
|
||||
"diff": {
|
||||
|
|
@ -547,6 +1243,14 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"ModeKind": {
|
||||
"description": "Initial collaboration mode to use when the TUI starts.",
|
||||
"enum": [
|
||||
"plan",
|
||||
"default"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"NonSteerableTurnKind": {
|
||||
"enum": [
|
||||
"review",
|
||||
|
|
@ -809,6 +1513,17 @@
|
|||
"description": "Whether the thread is ephemeral and should not be materialized on disk.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"epiphanyState": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyThreadState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Only populated on `thread/start`, `thread/resume`, `thread/fork`, `thread/read`, and notifications/responses that reuse those hydrated thread payloads."
|
||||
},
|
||||
"forkedFromId": {
|
||||
"description": "Source thread id when this thread was created by forking another thread.",
|
||||
"type": [
|
||||
|
|
|
|||
715
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadResumeResponse.json
generated
vendored
715
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadResumeResponse.json
generated
vendored
|
|
@ -449,6 +449,702 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyChurnState": {
|
||||
"properties": {
|
||||
"diff_pressure": {
|
||||
"type": "string"
|
||||
},
|
||||
"graph_freshness": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"understanding_status": {
|
||||
"type": "string"
|
||||
},
|
||||
"unexplained_writes": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"warning": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"diff_pressure",
|
||||
"understanding_status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyCodeRef": {
|
||||
"properties": {
|
||||
"end_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"start_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"symbol": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyEvidenceRecord": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraph": {
|
||||
"properties": {
|
||||
"edges": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphEdge"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nodes": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphNode"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphCheckpoint": {
|
||||
"properties": {
|
||||
"checkpoint_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"frontier_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"graph_revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"checkpoint_id",
|
||||
"graph_revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphEdge": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"source_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"target_id": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind",
|
||||
"source_id",
|
||||
"target_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphFrontier": {
|
||||
"properties": {
|
||||
"active_edge_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"active_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphLink": {
|
||||
"properties": {
|
||||
"architecture_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dataflow_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"relationship": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"architecture_node_id",
|
||||
"dataflow_node_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphNode": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"metaphor": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"purpose": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"purpose",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphs": {
|
||||
"properties": {
|
||||
"architecture": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"dataflow": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"links": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphLink"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyInvariant": {
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"rationale": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"description",
|
||||
"id",
|
||||
"status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ModeKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyObservation": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"evidence_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"source_kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalShardSummary": {
|
||||
"properties": {
|
||||
"exact_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path_prefix": {
|
||||
"type": "string"
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shard_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path_prefix",
|
||||
"shard_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalState": {
|
||||
"properties": {
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"index_revision": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"last_indexed_at_unix_seconds": {
|
||||
"format": "int64",
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shards": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyRetrievalShardSummary"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
},
|
||||
"workspace_root": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"workspace_root"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalStatus": {
|
||||
"enum": [
|
||||
"unavailable",
|
||||
"ready",
|
||||
"stale",
|
||||
"indexing"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyScratchPad": {
|
||||
"properties": {
|
||||
"hypothesis": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"next_probe": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"notes": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanySubgoal": {
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"status",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyThreadState": {
|
||||
"properties": {
|
||||
"active_subgoal_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"churn": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyChurnState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_checkpoint": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphCheckpoint"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_frontier": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphFrontier"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graphs": {
|
||||
"$ref": "#/definitions/EpiphanyGraphs"
|
||||
},
|
||||
"invariants": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyInvariant"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mode": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyModeState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"objective": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"observations": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyObservation"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"recent_evidence": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyEvidenceRecord"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"retrieval": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"scratch": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyScratchPad"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"subgoals": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanySubgoal"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"FileSystemAccessMode": {
|
||||
"enum": [
|
||||
"read",
|
||||
|
|
@ -817,6 +1513,14 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"ModeKind": {
|
||||
"description": "Initial collaboration mode to use when the TUI starts.",
|
||||
"enum": [
|
||||
"plan",
|
||||
"default"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"NetworkAccess": {
|
||||
"enum": [
|
||||
"restricted",
|
||||
|
|
@ -1317,6 +2021,17 @@
|
|||
"description": "Whether the thread is ephemeral and should not be materialized on disk.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"epiphanyState": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyThreadState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Only populated on `thread/start`, `thread/resume`, `thread/fork`, `thread/read`, and notifications/responses that reuse those hydrated thread payloads."
|
||||
},
|
||||
"forkedFromId": {
|
||||
"description": "Source thread id when this thread was created by forking another thread.",
|
||||
"type": [
|
||||
|
|
|
|||
715
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadRollbackResponse.json
generated
vendored
715
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadRollbackResponse.json
generated
vendored
|
|
@ -390,6 +390,702 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyChurnState": {
|
||||
"properties": {
|
||||
"diff_pressure": {
|
||||
"type": "string"
|
||||
},
|
||||
"graph_freshness": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"understanding_status": {
|
||||
"type": "string"
|
||||
},
|
||||
"unexplained_writes": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"warning": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"diff_pressure",
|
||||
"understanding_status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyCodeRef": {
|
||||
"properties": {
|
||||
"end_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"start_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"symbol": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyEvidenceRecord": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraph": {
|
||||
"properties": {
|
||||
"edges": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphEdge"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nodes": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphNode"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphCheckpoint": {
|
||||
"properties": {
|
||||
"checkpoint_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"frontier_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"graph_revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"checkpoint_id",
|
||||
"graph_revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphEdge": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"source_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"target_id": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind",
|
||||
"source_id",
|
||||
"target_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphFrontier": {
|
||||
"properties": {
|
||||
"active_edge_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"active_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphLink": {
|
||||
"properties": {
|
||||
"architecture_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dataflow_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"relationship": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"architecture_node_id",
|
||||
"dataflow_node_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphNode": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"metaphor": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"purpose": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"purpose",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphs": {
|
||||
"properties": {
|
||||
"architecture": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"dataflow": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"links": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphLink"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyInvariant": {
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"rationale": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"description",
|
||||
"id",
|
||||
"status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ModeKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyObservation": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"evidence_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"source_kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalShardSummary": {
|
||||
"properties": {
|
||||
"exact_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path_prefix": {
|
||||
"type": "string"
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shard_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path_prefix",
|
||||
"shard_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalState": {
|
||||
"properties": {
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"index_revision": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"last_indexed_at_unix_seconds": {
|
||||
"format": "int64",
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shards": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyRetrievalShardSummary"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
},
|
||||
"workspace_root": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"workspace_root"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalStatus": {
|
||||
"enum": [
|
||||
"unavailable",
|
||||
"ready",
|
||||
"stale",
|
||||
"indexing"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyScratchPad": {
|
||||
"properties": {
|
||||
"hypothesis": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"next_probe": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"notes": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanySubgoal": {
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"status",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyThreadState": {
|
||||
"properties": {
|
||||
"active_subgoal_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"churn": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyChurnState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_checkpoint": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphCheckpoint"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_frontier": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphFrontier"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graphs": {
|
||||
"$ref": "#/definitions/EpiphanyGraphs"
|
||||
},
|
||||
"invariants": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyInvariant"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mode": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyModeState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"objective": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"observations": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyObservation"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"recent_evidence": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyEvidenceRecord"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"retrieval": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"scratch": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyScratchPad"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"subgoals": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanySubgoal"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"FileUpdateChange": {
|
||||
"properties": {
|
||||
"diff": {
|
||||
|
|
@ -547,6 +1243,14 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"ModeKind": {
|
||||
"description": "Initial collaboration mode to use when the TUI starts.",
|
||||
"enum": [
|
||||
"plan",
|
||||
"default"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"NonSteerableTurnKind": {
|
||||
"enum": [
|
||||
"review",
|
||||
|
|
@ -809,6 +1513,17 @@
|
|||
"description": "Whether the thread is ephemeral and should not be materialized on disk.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"epiphanyState": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyThreadState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Only populated on `thread/start`, `thread/resume`, `thread/fork`, `thread/read`, and notifications/responses that reuse those hydrated thread payloads."
|
||||
},
|
||||
"forkedFromId": {
|
||||
"description": "Source thread id when this thread was created by forking another thread.",
|
||||
"type": [
|
||||
|
|
|
|||
715
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadStartResponse.json
generated
vendored
715
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadStartResponse.json
generated
vendored
|
|
@ -449,6 +449,702 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyChurnState": {
|
||||
"properties": {
|
||||
"diff_pressure": {
|
||||
"type": "string"
|
||||
},
|
||||
"graph_freshness": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"understanding_status": {
|
||||
"type": "string"
|
||||
},
|
||||
"unexplained_writes": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"warning": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"diff_pressure",
|
||||
"understanding_status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyCodeRef": {
|
||||
"properties": {
|
||||
"end_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"start_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"symbol": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyEvidenceRecord": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraph": {
|
||||
"properties": {
|
||||
"edges": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphEdge"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nodes": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphNode"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphCheckpoint": {
|
||||
"properties": {
|
||||
"checkpoint_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"frontier_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"graph_revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"checkpoint_id",
|
||||
"graph_revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphEdge": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"source_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"target_id": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind",
|
||||
"source_id",
|
||||
"target_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphFrontier": {
|
||||
"properties": {
|
||||
"active_edge_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"active_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphLink": {
|
||||
"properties": {
|
||||
"architecture_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dataflow_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"relationship": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"architecture_node_id",
|
||||
"dataflow_node_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphNode": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"metaphor": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"purpose": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"purpose",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphs": {
|
||||
"properties": {
|
||||
"architecture": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"dataflow": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"links": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphLink"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyInvariant": {
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"rationale": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"description",
|
||||
"id",
|
||||
"status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ModeKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyObservation": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"evidence_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"source_kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalShardSummary": {
|
||||
"properties": {
|
||||
"exact_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path_prefix": {
|
||||
"type": "string"
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shard_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path_prefix",
|
||||
"shard_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalState": {
|
||||
"properties": {
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"index_revision": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"last_indexed_at_unix_seconds": {
|
||||
"format": "int64",
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shards": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyRetrievalShardSummary"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
},
|
||||
"workspace_root": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"workspace_root"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalStatus": {
|
||||
"enum": [
|
||||
"unavailable",
|
||||
"ready",
|
||||
"stale",
|
||||
"indexing"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyScratchPad": {
|
||||
"properties": {
|
||||
"hypothesis": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"next_probe": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"notes": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanySubgoal": {
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"status",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyThreadState": {
|
||||
"properties": {
|
||||
"active_subgoal_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"churn": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyChurnState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_checkpoint": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphCheckpoint"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_frontier": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphFrontier"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graphs": {
|
||||
"$ref": "#/definitions/EpiphanyGraphs"
|
||||
},
|
||||
"invariants": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyInvariant"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mode": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyModeState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"objective": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"observations": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyObservation"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"recent_evidence": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyEvidenceRecord"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"retrieval": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"scratch": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyScratchPad"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"subgoals": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanySubgoal"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"FileSystemAccessMode": {
|
||||
"enum": [
|
||||
"read",
|
||||
|
|
@ -817,6 +1513,14 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"ModeKind": {
|
||||
"description": "Initial collaboration mode to use when the TUI starts.",
|
||||
"enum": [
|
||||
"plan",
|
||||
"default"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"NetworkAccess": {
|
||||
"enum": [
|
||||
"restricted",
|
||||
|
|
@ -1317,6 +2021,17 @@
|
|||
"description": "Whether the thread is ephemeral and should not be materialized on disk.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"epiphanyState": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyThreadState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Only populated on `thread/start`, `thread/resume`, `thread/fork`, `thread/read`, and notifications/responses that reuse those hydrated thread payloads."
|
||||
},
|
||||
"forkedFromId": {
|
||||
"description": "Source thread id when this thread was created by forking another thread.",
|
||||
"type": [
|
||||
|
|
|
|||
715
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadStartedNotification.json
generated
vendored
715
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadStartedNotification.json
generated
vendored
|
|
@ -390,6 +390,702 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyChurnState": {
|
||||
"properties": {
|
||||
"diff_pressure": {
|
||||
"type": "string"
|
||||
},
|
||||
"graph_freshness": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"understanding_status": {
|
||||
"type": "string"
|
||||
},
|
||||
"unexplained_writes": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"warning": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"diff_pressure",
|
||||
"understanding_status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyCodeRef": {
|
||||
"properties": {
|
||||
"end_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"start_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"symbol": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyEvidenceRecord": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraph": {
|
||||
"properties": {
|
||||
"edges": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphEdge"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nodes": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphNode"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphCheckpoint": {
|
||||
"properties": {
|
||||
"checkpoint_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"frontier_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"graph_revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"checkpoint_id",
|
||||
"graph_revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphEdge": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"source_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"target_id": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind",
|
||||
"source_id",
|
||||
"target_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphFrontier": {
|
||||
"properties": {
|
||||
"active_edge_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"active_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphLink": {
|
||||
"properties": {
|
||||
"architecture_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dataflow_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"relationship": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"architecture_node_id",
|
||||
"dataflow_node_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphNode": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"metaphor": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"purpose": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"purpose",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphs": {
|
||||
"properties": {
|
||||
"architecture": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"dataflow": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"links": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphLink"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyInvariant": {
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"rationale": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"description",
|
||||
"id",
|
||||
"status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ModeKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyObservation": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"evidence_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"source_kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalShardSummary": {
|
||||
"properties": {
|
||||
"exact_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path_prefix": {
|
||||
"type": "string"
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shard_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path_prefix",
|
||||
"shard_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalState": {
|
||||
"properties": {
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"index_revision": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"last_indexed_at_unix_seconds": {
|
||||
"format": "int64",
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shards": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyRetrievalShardSummary"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
},
|
||||
"workspace_root": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"workspace_root"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalStatus": {
|
||||
"enum": [
|
||||
"unavailable",
|
||||
"ready",
|
||||
"stale",
|
||||
"indexing"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyScratchPad": {
|
||||
"properties": {
|
||||
"hypothesis": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"next_probe": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"notes": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanySubgoal": {
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"status",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyThreadState": {
|
||||
"properties": {
|
||||
"active_subgoal_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"churn": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyChurnState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_checkpoint": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphCheckpoint"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_frontier": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphFrontier"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graphs": {
|
||||
"$ref": "#/definitions/EpiphanyGraphs"
|
||||
},
|
||||
"invariants": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyInvariant"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mode": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyModeState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"objective": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"observations": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyObservation"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"recent_evidence": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyEvidenceRecord"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"retrieval": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"scratch": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyScratchPad"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"subgoals": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanySubgoal"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"FileUpdateChange": {
|
||||
"properties": {
|
||||
"diff": {
|
||||
|
|
@ -547,6 +1243,14 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"ModeKind": {
|
||||
"description": "Initial collaboration mode to use when the TUI starts.",
|
||||
"enum": [
|
||||
"plan",
|
||||
"default"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"NonSteerableTurnKind": {
|
||||
"enum": [
|
||||
"review",
|
||||
|
|
@ -809,6 +1513,17 @@
|
|||
"description": "Whether the thread is ephemeral and should not be materialized on disk.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"epiphanyState": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyThreadState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Only populated on `thread/start`, `thread/resume`, `thread/fork`, `thread/read`, and notifications/responses that reuse those hydrated thread payloads."
|
||||
},
|
||||
"forkedFromId": {
|
||||
"description": "Source thread id when this thread was created by forking another thread.",
|
||||
"type": [
|
||||
|
|
|
|||
715
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadUnarchiveResponse.json
generated
vendored
715
vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadUnarchiveResponse.json
generated
vendored
|
|
@ -390,6 +390,702 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyChurnState": {
|
||||
"properties": {
|
||||
"diff_pressure": {
|
||||
"type": "string"
|
||||
},
|
||||
"graph_freshness": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"understanding_status": {
|
||||
"type": "string"
|
||||
},
|
||||
"unexplained_writes": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"warning": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"diff_pressure",
|
||||
"understanding_status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyCodeRef": {
|
||||
"properties": {
|
||||
"end_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"start_line": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"symbol": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyEvidenceRecord": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraph": {
|
||||
"properties": {
|
||||
"edges": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphEdge"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nodes": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphNode"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphCheckpoint": {
|
||||
"properties": {
|
||||
"checkpoint_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"frontier_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"graph_revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"checkpoint_id",
|
||||
"graph_revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphEdge": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"source_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"target_id": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind",
|
||||
"source_id",
|
||||
"target_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphFrontier": {
|
||||
"properties": {
|
||||
"active_edge_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"active_node_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_gap_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"open_question_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphLink": {
|
||||
"properties": {
|
||||
"architecture_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"dataflow_node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"relationship": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"architecture_node_id",
|
||||
"dataflow_node_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphNode": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"mechanism": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"metaphor": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"purpose": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"purpose",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyGraphs": {
|
||||
"properties": {
|
||||
"architecture": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"dataflow": {
|
||||
"$ref": "#/definitions/EpiphanyGraph"
|
||||
},
|
||||
"links": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyGraphLink"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyInvariant": {
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"rationale": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"description",
|
||||
"id",
|
||||
"status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyModeState": {
|
||||
"properties": {
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ModeKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyObservation": {
|
||||
"properties": {
|
||||
"code_refs": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyCodeRef"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"evidence_ids": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"source_kind",
|
||||
"status",
|
||||
"summary"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalShardSummary": {
|
||||
"properties": {
|
||||
"exact_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path_prefix": {
|
||||
"type": "string"
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shard_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path_prefix",
|
||||
"shard_id"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalState": {
|
||||
"properties": {
|
||||
"dirty_paths": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"index_revision": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_chunk_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"indexed_file_count": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"last_indexed_at_unix_seconds": {
|
||||
"format": "int64",
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"semantic_available": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"shards": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyRetrievalShardSummary"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalStatus"
|
||||
}
|
||||
],
|
||||
"default": "unavailable"
|
||||
},
|
||||
"workspace_root": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"workspace_root"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyRetrievalStatus": {
|
||||
"enum": [
|
||||
"unavailable",
|
||||
"ready",
|
||||
"stale",
|
||||
"indexing"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"EpiphanyScratchPad": {
|
||||
"properties": {
|
||||
"hypothesis": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"next_probe": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"notes": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanySubgoal": {
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"status",
|
||||
"title"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EpiphanyThreadState": {
|
||||
"properties": {
|
||||
"active_subgoal_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"churn": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyChurnState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_checkpoint": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphCheckpoint"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graph_frontier": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyGraphFrontier"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"graphs": {
|
||||
"$ref": "#/definitions/EpiphanyGraphs"
|
||||
},
|
||||
"invariants": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyInvariant"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"last_updated_turn_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"mode": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyModeState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"objective": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"observations": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyObservation"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"recent_evidence": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanyEvidenceRecord"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"retrieval": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyRetrievalState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"scratch": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyScratchPad"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"subgoals": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/EpiphanySubgoal"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"revision"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"FileUpdateChange": {
|
||||
"properties": {
|
||||
"diff": {
|
||||
|
|
@ -547,6 +1243,14 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"ModeKind": {
|
||||
"description": "Initial collaboration mode to use when the TUI starts.",
|
||||
"enum": [
|
||||
"plan",
|
||||
"default"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"NonSteerableTurnKind": {
|
||||
"enum": [
|
||||
"review",
|
||||
|
|
@ -809,6 +1513,17 @@
|
|||
"description": "Whether the thread is ephemeral and should not be materialized on disk.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"epiphanyState": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/EpiphanyThreadState"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Only populated on `thread/start`, `thread/resume`, `thread/fork`, `thread/read`, and notifications/responses that reuse those hydrated thread payloads."
|
||||
},
|
||||
"forkedFromId": {
|
||||
"description": "Source thread id when this thread was created by forking another thread.",
|
||||
"type": [
|
||||
|
|
|
|||
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/EpiphanyRetrievalStatus.ts
generated
vendored
Normal file
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/EpiphanyRetrievalStatus.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 EpiphanyRetrievalStatus = "unavailable" | "ready" | "stale" | "indexing";
|
||||
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/EpiphanyThreadState.ts
generated
vendored
Normal file
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/EpiphanyThreadState.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 EpiphanyThreadState = { revision: bigint, objective?: string | null, active_subgoal_id?: string | null, subgoals?: Array<EpiphanySubgoal>, invariants?: Array<EpiphanyInvariant>, graphs?: EpiphanyGraphs, graph_frontier?: EpiphanyGraphFrontier | null, graph_checkpoint?: EpiphanyGraphCheckpoint | null, retrieval?: EpiphanyRetrievalState | null, scratch?: EpiphanyScratchPad | null, observations?: Array<EpiphanyObservation>, recent_evidence?: Array<EpiphanyEvidenceRecord>, churn?: EpiphanyChurnState | null, mode?: EpiphanyModeState | null, last_updated_turn_id?: string | null, };
|
||||
2
vendor/codex/codex-rs/app-server-protocol/schema/typescript/index.ts
generated
vendored
2
vendor/codex/codex-rs/app-server-protocol/schema/typescript/index.ts
generated
vendored
|
|
@ -12,6 +12,8 @@ export type { CollaborationMode } from "./CollaborationMode";
|
|||
export type { ContentItem } from "./ContentItem";
|
||||
export type { ConversationGitInfo } from "./ConversationGitInfo";
|
||||
export type { ConversationSummary } from "./ConversationSummary";
|
||||
export type { EpiphanyRetrievalStatus } from "./EpiphanyRetrievalStatus";
|
||||
export type { EpiphanyThreadState } from "./EpiphanyThreadState";
|
||||
export type { ExecCommandApprovalParams } from "./ExecCommandApprovalParams";
|
||||
export type { ExecCommandApprovalResponse } from "./ExecCommandApprovalResponse";
|
||||
export type { ExecPolicyAmendment } from "./ExecPolicyAmendment";
|
||||
|
|
|
|||
6
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/Thread.ts
generated
vendored
6
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/Thread.ts
generated
vendored
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { AbsolutePathBuf } from "../AbsolutePathBuf";
|
||||
import type { EpiphanyThreadState } from "../EpiphanyThreadState";
|
||||
import type { GitInfo } from "./GitInfo";
|
||||
import type { SessionSource } from "./SessionSource";
|
||||
import type { ThreadStatus } from "./ThreadStatus";
|
||||
|
|
@ -68,6 +69,11 @@ gitInfo: GitInfo | null,
|
|||
* Optional user-facing thread title.
|
||||
*/
|
||||
name: string | null,
|
||||
/**
|
||||
* Only populated on `thread/start`, `thread/resume`, `thread/fork`, `thread/read`,
|
||||
* and notifications/responses that reuse those hydrated thread payloads.
|
||||
*/
|
||||
epiphanyState?: EpiphanyThreadState,
|
||||
/**
|
||||
* Only populated on `thread/resume`, `thread/rollback`, `thread/fork`, and `thread/read`
|
||||
* (when `includeTurns` is true) responses.
|
||||
|
|
|
|||
8
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyRetrieveIndexSummary.ts
generated
vendored
Normal file
8
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyRetrieveIndexSummary.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
// 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 { AbsolutePathBuf } from "../AbsolutePathBuf";
|
||||
import type { EpiphanyRetrievalStatus } from "../EpiphanyRetrievalStatus";
|
||||
import type { ThreadEpiphanyRetrieveShardSummary } from "./ThreadEpiphanyRetrieveShardSummary";
|
||||
|
||||
export type ThreadEpiphanyRetrieveIndexSummary = { workspaceRoot: AbsolutePathBuf, indexRevision: string | null, status: EpiphanyRetrievalStatus, semanticAvailable: boolean, lastIndexedAtUnixSeconds: number | null, indexedFileCount: number | null, indexedChunkCount: number | null, shards: Array<ThreadEpiphanyRetrieveShardSummary>, dirtyPaths: Array<string>, };
|
||||
6
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyRetrieveResult.ts
generated
vendored
Normal file
6
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyRetrieveResult.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
// 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 { ThreadEpiphanyRetrieveResultKind } from "./ThreadEpiphanyRetrieveResultKind";
|
||||
|
||||
export type ThreadEpiphanyRetrieveResult = { kind: ThreadEpiphanyRetrieveResultKind, path: string, score: number, lineStart: number | null, lineEnd: number | null, excerpt: string | null, };
|
||||
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyRetrieveResultKind.ts
generated
vendored
Normal file
5
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyRetrieveResultKind.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 ThreadEpiphanyRetrieveResultKind = "exactFile" | "exactDirectory" | "semanticChunk";
|
||||
6
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyRetrieveShardSummary.ts
generated
vendored
Normal file
6
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyRetrieveShardSummary.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
// 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 { EpiphanyRetrievalStatus } from "../EpiphanyRetrievalStatus";
|
||||
|
||||
export type ThreadEpiphanyRetrieveShardSummary = { shardId: string, pathPrefix: string, indexedFileCount: number | null, indexedChunkCount: number | null, status: EpiphanyRetrievalStatus, exactAvailable: boolean, semanticAvailable: boolean, };
|
||||
4
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/index.ts
generated
vendored
4
vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/index.ts
generated
vendored
|
|
@ -317,6 +317,10 @@ export type { ThreadArchivedNotification } from "./ThreadArchivedNotification";
|
|||
export type { ThreadClosedNotification } from "./ThreadClosedNotification";
|
||||
export type { ThreadCompactStartParams } from "./ThreadCompactStartParams";
|
||||
export type { ThreadCompactStartResponse } from "./ThreadCompactStartResponse";
|
||||
export type { ThreadEpiphanyRetrieveIndexSummary } from "./ThreadEpiphanyRetrieveIndexSummary";
|
||||
export type { ThreadEpiphanyRetrieveResult } from "./ThreadEpiphanyRetrieveResult";
|
||||
export type { ThreadEpiphanyRetrieveResultKind } from "./ThreadEpiphanyRetrieveResultKind";
|
||||
export type { ThreadEpiphanyRetrieveShardSummary } from "./ThreadEpiphanyRetrieveShardSummary";
|
||||
export type { ThreadForkParams } from "./ThreadForkParams";
|
||||
export type { ThreadForkResponse } from "./ThreadForkResponse";
|
||||
export type { ThreadInjectItemsParams } from "./ThreadInjectItemsParams";
|
||||
|
|
|
|||
|
|
@ -2113,6 +2113,9 @@ mod tests {
|
|||
.is_some_and(|stem| {
|
||||
stem.ends_with("Params")
|
||||
|| stem == "InitializeCapabilities"
|
||||
// EpiphanyThreadState is durable sparse state rather than a conventional
|
||||
// request/response envelope, so optional fields are intentional there.
|
||||
|| stem == "EpiphanyThreadState"
|
||||
|| matches!(
|
||||
stem,
|
||||
"CollabAgentRef"
|
||||
|
|
|
|||
|
|
@ -336,6 +336,11 @@ client_request_definitions! {
|
|||
params: v2::ThreadReadParams,
|
||||
response: v2::ThreadReadResponse,
|
||||
},
|
||||
#[experimental("thread/epiphany/retrieve")]
|
||||
ThreadEpiphanyRetrieve => "thread/epiphany/retrieve" {
|
||||
params: v2::ThreadEpiphanyRetrieveParams,
|
||||
response: v2::ThreadEpiphanyRetrieveResponse,
|
||||
},
|
||||
ThreadTurnsList => "thread/turns/list" {
|
||||
params: v2::ThreadTurnsListParams,
|
||||
response: v2::ThreadTurnsListResponse,
|
||||
|
|
@ -1547,6 +1552,88 @@ mod tests {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn serialize_thread_epiphany_retrieve_response() -> Result<()> {
|
||||
let response = ClientResponse::ThreadEpiphanyRetrieve {
|
||||
request_id: RequestId::Integer(8),
|
||||
response: v2::ThreadEpiphanyRetrieveResponse {
|
||||
query: "checkpoint frontier".to_string(),
|
||||
index_summary: v2::ThreadEpiphanyRetrieveIndexSummary {
|
||||
workspace_root: absolute_path("/workspace"),
|
||||
index_revision: Some("query-time-bm25-v1".to_string()),
|
||||
status: codex_protocol::protocol::EpiphanyRetrievalStatus::Ready,
|
||||
semantic_available: true,
|
||||
last_indexed_at_unix_seconds: Some(1_744_500_000),
|
||||
indexed_file_count: Some(12),
|
||||
indexed_chunk_count: Some(34),
|
||||
shards: vec![v2::ThreadEpiphanyRetrieveShardSummary {
|
||||
shard_id: "workspace".to_string(),
|
||||
path_prefix: PathBuf::from("."),
|
||||
indexed_file_count: Some(12),
|
||||
indexed_chunk_count: Some(34),
|
||||
status: codex_protocol::protocol::EpiphanyRetrievalStatus::Ready,
|
||||
exact_available: true,
|
||||
semantic_available: true,
|
||||
}],
|
||||
dirty_paths: vec![PathBuf::from("src/session/mod.rs")],
|
||||
},
|
||||
results: vec![v2::ThreadEpiphanyRetrieveResult {
|
||||
kind: v2::ThreadEpiphanyRetrieveResultKind::SemanticChunk,
|
||||
path: PathBuf::from("notes/design.md"),
|
||||
score: 2.5,
|
||||
line_start: Some(3),
|
||||
line_end: Some(9),
|
||||
excerpt: Some("checkpoint frontier".to_string()),
|
||||
}],
|
||||
},
|
||||
};
|
||||
|
||||
assert_eq!(response.id(), &RequestId::Integer(8));
|
||||
assert_eq!(response.method(), "thread/epiphany/retrieve");
|
||||
assert_eq!(
|
||||
json!({
|
||||
"method": "thread/epiphany/retrieve",
|
||||
"id": 8,
|
||||
"response": {
|
||||
"query": "checkpoint frontier",
|
||||
"indexSummary": {
|
||||
"workspaceRoot": absolute_path_string("workspace"),
|
||||
"indexRevision": "query-time-bm25-v1",
|
||||
"status": "ready",
|
||||
"semanticAvailable": true,
|
||||
"lastIndexedAtUnixSeconds": 1744500000,
|
||||
"indexedFileCount": 12,
|
||||
"indexedChunkCount": 34,
|
||||
"shards": [
|
||||
{
|
||||
"shardId": "workspace",
|
||||
"pathPrefix": ".",
|
||||
"indexedFileCount": 12,
|
||||
"indexedChunkCount": 34,
|
||||
"status": "ready",
|
||||
"exactAvailable": true,
|
||||
"semanticAvailable": true
|
||||
}
|
||||
],
|
||||
"dirtyPaths": ["src/session/mod.rs"]
|
||||
},
|
||||
"results": [
|
||||
{
|
||||
"kind": "semanticChunk",
|
||||
"path": "notes/design.md",
|
||||
"score": 2.5,
|
||||
"lineStart": 3,
|
||||
"lineEnd": 9,
|
||||
"excerpt": "checkpoint frontier"
|
||||
}
|
||||
]
|
||||
}
|
||||
}),
|
||||
serde_json::to_value(&response)?,
|
||||
);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn serialize_config_requirements_read() -> Result<()> {
|
||||
let request = ClientRequest::ConfigRequirementsRead {
|
||||
|
|
@ -2042,6 +2129,22 @@ mod tests {
|
|||
let reason = crate::experimental_api::ExperimentalApi::experimental_reason(&request);
|
||||
assert_eq!(reason, Some("mock/experimentalMethod"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn thread_epiphany_retrieve_is_marked_experimental() {
|
||||
let request = ClientRequest::ThreadEpiphanyRetrieve {
|
||||
request_id: RequestId::Integer(1),
|
||||
params: v2::ThreadEpiphanyRetrieveParams {
|
||||
thread_id: "thr_123".to_string(),
|
||||
query: "checkpoint frontier".to_string(),
|
||||
limit: Some(5),
|
||||
path_prefixes: vec![PathBuf::from("notes")],
|
||||
},
|
||||
};
|
||||
let reason = crate::experimental_api::ExperimentalApi::experimental_reason(&request);
|
||||
assert_eq!(reason, Some("thread/epiphany/retrieve"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn thread_realtime_start_is_marked_experimental() {
|
||||
let request = ClientRequest::ThreadRealtimeStart {
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ use codex_protocol::protocol::AgentStatus as CoreAgentStatus;
|
|||
use codex_protocol::protocol::AskForApproval as CoreAskForApproval;
|
||||
use codex_protocol::protocol::CodexErrorInfo as CoreCodexErrorInfo;
|
||||
use codex_protocol::protocol::CreditsSnapshot as CoreCreditsSnapshot;
|
||||
use codex_protocol::protocol::EpiphanyRetrievalStatus as CoreEpiphanyRetrievalStatus;
|
||||
use codex_protocol::protocol::EpiphanyThreadState as CoreEpiphanyThreadState;
|
||||
use codex_protocol::protocol::ExecCommandSource as CoreExecCommandSource;
|
||||
use codex_protocol::protocol::ExecCommandStatus as CoreExecCommandStatus;
|
||||
|
|
@ -3903,6 +3904,83 @@ pub struct ThreadReadResponse {
|
|||
pub thread: Thread,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(export_to = "v2/")]
|
||||
pub struct ThreadEpiphanyRetrieveParams {
|
||||
pub thread_id: String,
|
||||
pub query: String,
|
||||
#[ts(optional = nullable)]
|
||||
pub limit: Option<u32>,
|
||||
#[serde(default, skip_serializing_if = "Vec::is_empty")]
|
||||
pub path_prefixes: Vec<PathBuf>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(export_to = "v2/")]
|
||||
pub struct ThreadEpiphanyRetrieveResponse {
|
||||
pub query: String,
|
||||
pub index_summary: ThreadEpiphanyRetrieveIndexSummary,
|
||||
pub results: Vec<ThreadEpiphanyRetrieveResult>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(export_to = "v2/")]
|
||||
pub struct ThreadEpiphanyRetrieveIndexSummary {
|
||||
pub workspace_root: AbsolutePathBuf,
|
||||
pub index_revision: Option<String>,
|
||||
pub status: CoreEpiphanyRetrievalStatus,
|
||||
pub semantic_available: bool,
|
||||
#[ts(type = "number | null")]
|
||||
pub last_indexed_at_unix_seconds: Option<i64>,
|
||||
#[ts(type = "number | null")]
|
||||
pub indexed_file_count: Option<u32>,
|
||||
#[ts(type = "number | null")]
|
||||
pub indexed_chunk_count: Option<u32>,
|
||||
pub shards: Vec<ThreadEpiphanyRetrieveShardSummary>,
|
||||
pub dirty_paths: Vec<PathBuf>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(export_to = "v2/")]
|
||||
pub struct ThreadEpiphanyRetrieveShardSummary {
|
||||
pub shard_id: String,
|
||||
pub path_prefix: PathBuf,
|
||||
#[ts(type = "number | null")]
|
||||
pub indexed_file_count: Option<u32>,
|
||||
#[ts(type = "number | null")]
|
||||
pub indexed_chunk_count: Option<u32>,
|
||||
pub status: CoreEpiphanyRetrievalStatus,
|
||||
pub exact_available: bool,
|
||||
pub semantic_available: bool,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, Copy, PartialEq, Eq, JsonSchema, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(rename_all = "camelCase", export_to = "v2/")]
|
||||
pub enum ThreadEpiphanyRetrieveResultKind {
|
||||
ExactFile,
|
||||
ExactDirectory,
|
||||
SemanticChunk,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(export_to = "v2/")]
|
||||
pub struct ThreadEpiphanyRetrieveResult {
|
||||
pub kind: ThreadEpiphanyRetrieveResultKind,
|
||||
pub path: PathBuf,
|
||||
pub score: f32,
|
||||
#[ts(type = "number | null")]
|
||||
pub line_start: Option<u32>,
|
||||
#[ts(type = "number | null")]
|
||||
pub line_end: Option<u32>,
|
||||
pub excerpt: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(export_to = "v2/")]
|
||||
|
|
|
|||
Reference in a new issue