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:
Dave
2026-03-20 09:24:06 +00:00
parent 1a22e0cb41
commit 31085e8c9f
5 changed files with 13 additions and 13 deletions

View File

@@ -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]