refactor(mcp): strip sse fallback architecture in favor of pure websockets and fix nvim NDJSON bug
This commit is contained in:
1 parent
0e29b12ac8
commit
3716c3e698
33 files changed
+2082
-1756
No files matched your search
+26
-2
@@ -138,6 +138,17 @@ pub struct AddTaskTool {
|
||||
pub description: String,
|
||||
/// The associated git branch, if any.
|
||||
pub git_branch: Option<String>,
|
||||
/// Optional parent task ID to create a nested sub-task.
|
||||
pub parent_id: Option<String>,
|
||||
/// Optional list of task IDs this task depends on.
|
||||
pub dependencies: Option<Vec<String>>,
|
||||
}
|
||||
|
||||
/// Delete a task and all its children.
|
||||
#[derive(Debug, Deserialize, Serialize, JsonSchema)]
|
||||
pub struct DeleteTaskTool {
|
||||
/// The ID of the task to delete.
|
||||
pub id: String,
|
||||
}
|
||||
|
||||
/// Update the status of an existing task.
|
||||
@@ -145,8 +156,8 @@ pub struct AddTaskTool {
|
||||
pub struct UpdateTaskStatusTool {
|
||||
/// The ID of the task to update.
|
||||
pub id: String,
|
||||
/// The new status of the task (e.g., 'pending' or 'completed').
|
||||
#[schemars(description = "Must be 'pending' or 'completed'")]
|
||||
/// The new status of the task (e.g., 'pending', 'completed', 'cancelled').
|
||||
#[schemars(description = "Must be 'pending', 'completed', or 'cancelled'")]
|
||||
pub status: String,
|
||||
}
|
||||
|
||||
@@ -514,3 +525,16 @@ pub struct QueryGraphPathTool {
|
||||
/// Optional maximum depth to search.
|
||||
pub max_depth: Option<u32>,
|
||||
}
|
||||
/// Define a strict checklist of acceptance criteria for a given task or feature before starting work.
|
||||
#[derive(Debug, Deserialize, Serialize, JsonSchema)]
|
||||
pub struct SetAcceptanceCriteriaTool {
|
||||
pub task_title: String,
|
||||
pub criteria: Vec<String>,
|
||||
}
|
||||
/// Mark a previously defined acceptance criteria as met by providing cryptographic-like proof.
|
||||
#[derive(Debug, Deserialize, Serialize, JsonSchema)]
|
||||
pub struct VerifyAcceptanceCriteriaTool {
|
||||
pub task_id: String,
|
||||
pub criteria: String,
|
||||
pub proof: String,
|
||||
}
|
||||
Reference in new issue
Block a user