Add code-search-mcp module: JavaParser index, swappable embedder and three MCP tools on the 2026-07-28 stateless spec (MCP Java SDK 2.2.0)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b6BHcz4muRH44T3br3
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
26e0a3875a
commit
e116c4d5a4
@@ -0,0 +1,29 @@
|
||||
# search_code ranking with the hashing-512 embedder (top 3 per query)
|
||||
|
||||
## query: charge the customer's card
|
||||
0.607 PaymentService#charge payments/src/main/java/shop/payments/PaymentService.java:15
|
||||
0.532 PaymentService payments/src/main/java/shop/payments/PaymentService.java:6
|
||||
0.427 PaymentService#refund payments/src/main/java/shop/payments/PaymentService.java:23
|
||||
|
||||
## query: take units off the shelf for an order
|
||||
0.456 InventoryService#reserve inventory/src/main/java/shop/inventory/InventoryService.java:13
|
||||
0.345 OrderService#cancelOrder orders/src/main/java/shop/orders/OrderService.java:38
|
||||
0.330 OrderRepository#save orders/src/main/java/shop/orders/OrderRepository.java:13
|
||||
|
||||
## query: email the customer that the order was cancelled
|
||||
0.489 EmailNotifier#sendCancellation notifications/src/main/java/shop/notifications/EmailNotifier.java:12
|
||||
0.466 Order orders/src/main/java/shop/orders/Order.java:7
|
||||
0.466 EmailNotifier#sendConfirmation notifications/src/main/java/shop/notifications/EmailNotifier.java:7
|
||||
|
||||
## query: find an order by its id
|
||||
0.741 OrderRepository#findById orders/src/main/java/shop/orders/OrderRepository.java:19
|
||||
0.424 OrderRepository#save orders/src/main/java/shop/orders/OrderRepository.java:13
|
||||
0.387 OrderService#cancelOrder orders/src/main/java/shop/orders/OrderService.java:38
|
||||
|
||||
## query: return money to the customer
|
||||
0.406 PaymentService#refund payments/src/main/java/shop/payments/PaymentService.java:23
|
||||
0.227 CardGateway#authorize payments/src/main/java/shop/payments/CardGateway.java:9
|
||||
0.224 PaymentService#charge payments/src/main/java/shop/payments/PaymentService.java:15
|
||||
|
||||
## the limit: a query that shares no words with the code
|
||||
query: chargeback -> 0 result(s)
|
||||
Reference in New Issue
Block a user