fix: rename story-kit references to storkit in server code and settings
Updates -p flag in rebuild_and_restart, MCP server name, enabledMcpjsonServers, and test values to match the new binary/crate name. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -301,7 +301,7 @@ fn handle_initialize(id: Option<Value>, params: &Value) -> JsonRpcResponse {
|
||||
"tools": {}
|
||||
},
|
||||
"serverInfo": {
|
||||
"name": "story-kit",
|
||||
"name": "storkit",
|
||||
"version": "1.0.0"
|
||||
}
|
||||
}),
|
||||
@@ -1136,7 +1136,7 @@ mod tests {
|
||||
let result = resp.result.unwrap();
|
||||
assert_eq!(result["protocolVersion"], "2025-03-26");
|
||||
assert!(result["capabilities"]["tools"].is_object());
|
||||
assert_eq!(result["serverInfo"]["name"], "story-kit");
|
||||
assert_eq!(result["serverInfo"]["name"], "storkit");
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -1402,7 +1402,7 @@ mod tests {
|
||||
)
|
||||
.await;
|
||||
assert_eq!(body["result"]["protocolVersion"], "2025-03-26");
|
||||
assert_eq!(body["result"]["serverInfo"]["name"], "story-kit");
|
||||
assert_eq!(body["result"]["serverInfo"]["name"], "storkit");
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
|
||||
Reference in New Issue
Block a user