add MCP tool contracts and authenticated local HTTP transport

This commit is contained in:
2026-09-29 07:55:29 +01:00
parent e3c3b2cbb7
commit 9f61f9c07d
18 changed files with 2730 additions and 1 deletions
@@ -0,0 +1,11 @@
package p.studio.api.automation;
/** Exactly one lookup key, always scoped to a separately validated project/task identity. */
public record OperationLookup(String operationId, String clientRequestId) {
public OperationLookup {
if ((operationId == null) == (clientRequestId == null)
|| (operationId != null && operationId.isBlank())
|| (clientRequestId != null && clientRequestId.isBlank()))
throw new IllegalArgumentException("Supply exactly one nonblank operationId or clientRequestId");
}
}