mcp: log artifact id after every github write (#633)

makes debugging easier by emitting a single `» <verb> <kind> <id>` line
after every successful GitHub write (and upload) the agent performs via
the Pullfrog MCP, mirroring the chevron convention used elsewhere.
This commit is contained in:
Colin McDonnell
2026-05-08 21:48:28 +00:00
committed by pullfrog[bot]
parent 17b610e1a1
commit 2e6c01670e
8 changed files with 27 additions and 1 deletions
+2
View File
@@ -1,4 +1,5 @@
import { type } from "arktype";
import { log } from "../utils/cli.ts";
import type { ToolContext } from "./server.ts";
import { execute, tool } from "./shared.ts";
@@ -20,6 +21,7 @@ export function AddLabelsTool(ctx: ToolContext) {
issue_number,
labels,
});
log.info(`» added labels [${labels.join(", ")}] to issue #${issue_number}`);
return {
success: true,