summaryrefslogtreecommitdiff
path: root/makima/src/server
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-02-03 18:23:21 +0000
committersoryu <soryu@soryu.co>2026-02-03 18:23:21 +0000
commit6a00463f77b46bc078ba43f77ca2723b76c25aca (patch)
tree08145d07fc85f1eaf943fd48a1a296e834935e5d /makima/src/server
parent57c42f261a7094cfe85f8b371fec710568650214 (diff)
downloadsoryu-6a00463f77b46bc078ba43f77ca2723b76c25aca.tar.gz
soryu-6a00463f77b46bc078ba43f77ca2723b76c25aca.zip
[WIP] Heartbeat checkpoint - 2026-02-03 18:23:21 UTC
Diffstat (limited to 'makima/src/server')
-rw-r--r--makima/src/server/openapi.rs10
1 files changed, 9 insertions, 1 deletions
diff --git a/makima/src/server/openapi.rs b/makima/src/server/openapi.rs
index f8c5474..a70342b 100644
--- a/makima/src/server/openapi.rs
+++ b/makima/src/server/openapi.rs
@@ -20,7 +20,7 @@ use crate::server::auth::{
ApiKey, ApiKeyInfoResponse, CreateApiKeyRequest, CreateApiKeyResponse,
RefreshApiKeyRequest, RefreshApiKeyResponse, RevokeApiKeyResponse,
};
-use crate::server::handlers::{api_keys, contract_chat, contracts, files, listen, mesh, mesh_chat, mesh_merge, repository_history, users};
+use crate::server::handlers::{api_keys, contract_chat, contract_discuss, contracts, files, listen, mesh, mesh_chat, mesh_merge, repository_history, users};
use crate::server::messages::{ApiError, AudioEncoding, StartMessage, StopMessage, TranscriptMessage};
#[derive(OpenApi)]
@@ -97,6 +97,8 @@ use crate::server::messages::{ApiError, AudioEncoding, StartMessage, StopMessage
contract_chat::contract_chat_handler,
contract_chat::get_contract_chat_history,
contract_chat::clear_contract_chat_history,
+ // Contract discuss endpoint
+ contract_discuss::discuss_contract_handler,
// Repository history/settings endpoints
repository_history::list_repository_history,
repository_history::get_repository_suggestions,
@@ -137,6 +139,12 @@ use crate::server::messages::{ApiError, AudioEncoding, StartMessage, StopMessage
// Contract chat schemas
ContractChatMessageRecord,
ContractChatHistoryResponse,
+ // Contract discuss schemas
+ contract_discuss::ChatMessage,
+ contract_discuss::DiscussContractRequest,
+ contract_discuss::DiscussContractResponse,
+ contract_discuss::ToolCallInfo,
+ contract_discuss::CreatedContractInfo,
// Merge schemas
BranchInfo,
BranchListResponse,