Compare commits

...

3 Commits

Author SHA1 Message Date
David Blass 2fc3ddee16 bump 2025-10-13 14:23:35 -04:00
David Blass 284d9733dd bump 2025-10-13 14:22:12 -04:00
David Blass 94e2b5f6e0 add terrible debugging 2025-10-13 14:19:47 -04:00
4 changed files with 7 additions and 8 deletions
+3 -2
View File
@@ -25674,7 +25674,8 @@ function createMcpConfig(githubInstallationToken) {
args: [`${actionPath}/mcp/server.ts`], args: [`${actionPath}/mcp/server.ts`],
env: { env: {
GITHUB_INSTALLATION_TOKEN: githubInstallationToken, GITHUB_INSTALLATION_TOKEN: githubInstallationToken,
GITHUB_REPOSITORY: githubRepository GITHUB_REPOSITORY: githubRepository,
LOG_LEVEL: "debug"
} }
} }
} }
@@ -26163,7 +26164,7 @@ async function main(params) {
// package.json // package.json
var package_default = { var package_default = {
name: "@pullfrog/action", name: "@pullfrog/action",
version: "0.0.28", version: "0.0.31",
type: "module", type: "module",
files: [ files: [
"index.js", "index.js",
+1
View File
@@ -24,6 +24,7 @@ export function createMcpConfig(githubInstallationToken: string) {
env: { env: {
GITHUB_INSTALLATION_TOKEN: githubInstallationToken, GITHUB_INSTALLATION_TOKEN: githubInstallationToken,
GITHUB_REPOSITORY: githubRepository, GITHUB_REPOSITORY: githubRepository,
LOG_LEVEL: "debug",
}, },
}, },
}, },
+2 -5
View File
@@ -31,9 +31,7 @@ server.tool(
const githubInstallationToken = process.env.GITHUB_INSTALLATION_TOKEN; const githubInstallationToken = process.env.GITHUB_INSTALLATION_TOKEN;
if (!githubInstallationToken) { if (!githubInstallationToken) {
throw new Error( throw new Error("GITHUB_INSTALLATION_TOKEN environment variable is required");
"GITHUB_INSTALLATION_TOKEN environment variable is required"
);
} }
// Resolve repository context from environment // Resolve repository context from environment
@@ -68,8 +66,7 @@ server.tool(
], ],
}; };
} catch (error) { } catch (error) {
const errorMessage = const errorMessage = error instanceof Error ? error.message : String(error);
error instanceof Error ? error.message : String(error);
return { return {
content: [ content: [
{ {
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@pullfrog/action", "name": "@pullfrog/action",
"version": "0.0.28", "version": "0.0.31",
"type": "module", "type": "module",
"files": [ "files": [
"index.js", "index.js",