Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/app/api/ops/validate/route.ts
Original file line numberDiff line numberDiff line change
Expand Up@@ -19,7 +19,7 @@ export async function POST(request: Request) {
const start = Date.now();
try {
// Attempting to ping cappo-backend / health endpoint
await fetch('http://cappo-backend-node:8000/health', { signal: AbortSignal.timeout(2000) }).catch(() => {});
await fetch('http://cappo-backend-node:8002/health', { signal: AbortSignal.timeout(2000) }).catch(() => {});
} catch (e) {
// Ignore failure, we just want the latency
}
Expand All@@ -31,8 +31,8 @@ export async function POST(request: Request) {
logs.push(`[sub-agent-gamma] No schema drift detected. Committing cryptographic signature to Gnomledger...`);

try {
// Gnomledger runs on 8000 in Docker, locally might be 8000 or 8001
const pglRes = await fetch('http://gnomledger-api-1:8000/api/tools/mint_settlement_evidence_tool', {
// Gnomledger runs on 8001
const pglRes = await fetch('http://gnomledger-api-1:8001/api/tools/mint_settlement_evidence_tool', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
Expand Down
2 changes: 1 addition & 1 deletion src/lib/covenant/dynamic-mcp.ts
Original file line numberDiff line numberDiff line change
Expand Up@@ -118,7 +118,7 @@ export async function translateOpenApiToMcp(
const toolName = `${sanitizeId(serverId)}__${operationId}`;
const capabilityId = `dynamic::${sanitizeId(serverId)}::${operationId}`;
// Endpoint uses the proxy so all calls flow through Covenant governance
const proxyEndpoint = `https://${process.env.NEXT_PUBLIC_APP_URL ?? "localhost:3002"}/api/proxy/${serverId}${path}`;
const proxyEndpoint = `https://${process.env.NEXT_PUBLIC_APP_URL ?? "control.veklom.com"}/api/proxy/${serverId}${path}`;

const tool: DynamicTool = {
name: toolName,
Expand Down
Loading