You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
s.recordGatewayAuditWithMetadata(r.Context(), principal, "resume_project_run_requested", "Requested resume_project_run for run "+runID+" in project "+projectID, auditMetadata)
s.recordGatewayAuditWithMetadata(r.Context(), principal, "resume_project_run_blocked", "Blocked unsupported resume_project_run for run "+runID+" in project "+projectID, blockedMetadata)
"codencer.cancel_project_run": server.projectForwardTool("codencer.cancel_project_run", "Cancel a shared project run through the selected Gateway relay.", []string{"project_id", "run_id"}, cancelProjectRunRoute),
160
-
"codencer.resume_project_run": server.unsupportedProjectLifecycleTool("codencer.resume_project_run", "Return an explicit capability blocker for project-run resume when the selected route cannot resume safely.", "resume_project_run"),
160
+
"codencer.resume_project_run": server.projectForwardTool("codencer.resume_project_run", "Resume a shared project run through the selected Gateway relay when the route supports it.", []string{"project_id", "run_id"}, resumeProjectRunRoute),
161
161
"codencer.get_blocker": {
162
162
Name: "codencer.get_blocker",
163
163
Description: "Read the blocker from a Gateway-routed project run report.",
s.recordGatewayAuditWithMetadata(ctx, principal, "cancel_project_run_requested", "Requested cancel_project_run for run "+requiredStringValue(args, "run_id")+" in project "+projectID, auditMetadata)
268
+
operation:=lifecycleOperationForTool(name)
269
+
s.recordGatewayAuditWithMetadata(ctx, principal, operation+"_requested", "Requested "+operation+" for run "+requiredStringValue(args, "run_id")+" in project "+projectID, auditMetadata)
s.recordGatewayAuditWithMetadata(ctx, principal, "resume_project_run_blocked", "Blocked unsupported resume_project_run for run "+requiredStringValue(args, "run_id")+" in project "+projectID, blockedMetadata)
tools["codencer.resume_project_run"] =projectRouteTool(server, "codencer.resume_project_run", "Resume a run for a shared project when the selected route supports it.", "runs:write", objectSchema([]string{"project_id", "run_id"}, map[string]any{
tools["codencer.run_project_manifest"] =projectRouteTool(server, "codencer.run_project_manifest", "Run a project manifest sequentially for a shared project.", "runs:write", objectSchema([]string{"project_id"}, map[string]any{
0 commit comments