remove some debug logging

This commit is contained in:
David Blass
2025-11-06 21:11:28 -05:00
parent 2d91473f6e
commit 13cc56944f
2 changed files with 2 additions and 41 deletions
+2 -21
View File
@@ -28179,7 +28179,7 @@ var declare = ark.declare;
// agents/claude.ts
import { execSync } from "node:child_process";
import { createWriteStream as createWriteStream2, existsSync as existsSync3, rmSync as rmSync2 } from "node:fs";
import { createWriteStream as createWriteStream2, existsSync as existsSync2, rmSync as rmSync2 } from "node:fs";
import { mkdtemp } from "node:fs/promises";
import { tmpdir } from "node:os";
import { join as join5 } from "node:path";
@@ -40749,10 +40749,6 @@ var log = {
endGroup: endGroup2
};
// mcp/config.ts
import { existsSync as existsSync2, readdirSync as readdirSync2 } from "node:fs";
import { dirname as dirname3 } from "node:path";
// node_modules/.pnpm/@ark+fs@0.53.0/node_modules/@ark/fs/out/caller.js
import path from "node:path";
import * as process2 from "node:process";
@@ -41073,21 +41069,6 @@ function createMcpConfigs(githubInstallationToken) {
const repoContext = parseRepoContext();
const githubRepository = `${repoContext.owner}/${repoContext.name}`;
const serverPath = process.env.GITHUB_ACTIONS ? fromHere("mcp-server.js") : fromHere("server.ts");
log.info(`MCP Server Path: ${serverPath}`);
const pathExists = existsSync2(serverPath);
log.info(`MCP Server Path exists: ${pathExists}`);
if (!pathExists) {
const dir = dirname3(serverPath);
log.info(`Directory: ${dir}`);
try {
const files = readdirSync2(dir);
log.info(`Files in directory: ${files.join(", ")}`);
} catch (error2) {
log.warning(
`Failed to read directory: ${error2 instanceof Error ? error2.message : String(error2)}`
);
}
}
return {
[ghPullfrogMcpName]: {
command: "node",
@@ -41186,7 +41167,7 @@ var claude = {
execSync(`tar -xzf "${tarballPath}" -C "${tempDir}"`, { stdio: "pipe" });
const extractedDir = join5(tempDir, "package");
const cliPath = join5(extractedDir, "cli.js");
if (!existsSync3(cliPath)) {
if (!existsSync2(cliPath)) {
throw new Error(`cli.js not found in extracted package at ${cliPath}`);
}
cachedCliPath = cliPath;