Compare commits

...

5 Commits

Author SHA1 Message Date
ssalbdivad a24275e21b bump version 2025-10-09 18:07:42 -04:00
ssalbdivad 872e620342 Revert "try to add debugging to mcp server"
This reverts commit 6d9c6fd2b1.
2025-10-09 18:07:28 -04:00
ssalbdivad 6d9c6fd2b1 try to add debugging to mcp server 2025-10-09 18:04:00 -04:00
ssalbdivad 008021df1c remove bad error handling 2025-10-09 17:53:22 -04:00
ssalbdivad d6bc0fdd64 iter 2025-10-09 17:45:38 -04:00
2 changed files with 2 additions and 7 deletions
+1 -6
View File
@@ -16,7 +16,6 @@ export class ClaudeAgent implements Agent {
startTime: 0,
};
constructor(config: AgentConfig) {
if (!config.apiKey) {
throw new Error("Claude agent requires an API key");
@@ -74,7 +73,6 @@ export class ClaudeAgent implements Agent {
core.info("Running Claude Code...");
try {
const claudePath = `${process.env.HOME}/.local/bin/claude`;
console.log(boxString(prompt, { title: "Prompt" }));
const args = [
@@ -152,8 +150,7 @@ export class ClaudeAgent implements Agent {
} catch (error: any) {
try {
core.endGroup();
} catch {
}
} catch {}
const errorMessage = error instanceof Error ? error.message : "Unknown error";
return {
success: false,
@@ -270,7 +267,6 @@ function processJSONChunk(chunk: string, agent?: ClaudeAgent): void {
core.info(` └─ bash_command: ${input.bash_command}`);
}
}
}
}
}
@@ -291,7 +287,6 @@ function processJSONChunk(chunk: string, agent?: ClaudeAgent): void {
case "result":
if (parsedChunk.subtype === "success") {
core.info(
tableString([
["Cost", `$${parsedChunk.total_cost_usd?.toFixed(4) || "0.0000"}`],
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@pullfrog/action",
"version": "0.0.16",
"version": "0.0.20",
"type": "module",
"files": [
"index.js",