pullfrog 0.0.198 → 0.0.200

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/internal.js CHANGED
@@ -628,7 +628,7 @@ function buildPullfrogFooter(params) {
628
628
  parts.push(`[View workflow run](${url})`);
629
629
  }
630
630
  if (params.triggeredBy) {
631
- parts.push("Triggered by [Pullfrog](https://pullfrog.com)");
631
+ parts.push("via [Pullfrog](https://pullfrog.com)");
632
632
  }
633
633
  if (params.model) {
634
634
  parts.push(`Using ${formatModelLabel(params.model)}`);
@@ -1,6 +1,4 @@
1
1
  import type { ToolContext } from "./server.ts";
2
- type CommentNodeIdField = "planCommentNodeId" | "summaryCommentNodeId";
3
- export declare function updateCommentNodeId(ctx: ToolContext, field: CommentNodeIdField, nodeId: string): Promise<void>;
4
2
  /**
5
3
  * The prefix text for the initial "leaping into action" comment.
6
4
  * This is used to identify if a comment is still in its initial state
@@ -84,4 +82,3 @@ export declare function ReplyToReviewCommentTool(ctx: ToolContext): import("fast
84
82
  comment_id: number;
85
83
  body: string;
86
84
  }>>;
87
- export {};
@@ -1,3 +1,8 @@
1
1
  import type { ToolContext } from "./server.ts";
2
+ /**
3
+ * start dependency installation in the background (non-blocking, idempotent).
4
+ * called eagerly from main.ts at startup and also available via MCP tools.
5
+ */
6
+ export declare function startInstallation(ctx: ToolContext): void;
2
7
  export declare function StartDependencyInstallationTool(ctx: ToolContext): import("fastmcp").Tool<any, import("@standard-schema/spec").StandardSchemaV1<object, object>>;
3
8
  export declare function AwaitDependencyInstallationTool(ctx: ToolContext): import("fastmcp").Tool<any, import("@standard-schema/spec").StandardSchemaV1<object, object>>;
@@ -41,7 +41,9 @@ export declare function CreatePullRequestReviewTool(ctx: ToolContext): import("f
41
41
  }[];
42
42
  }>>;
43
43
  /**
44
- * report the review node ID to the server so the WorkflowRun is marked as "review submitted".
44
+ * report the review node ID so the WorkflowRun is marked as "review submitted".
45
45
  * exported for use in main.ts post-agent cleanup.
46
46
  */
47
- export declare function reportReviewNodeId(ctx: ToolContext, reviewNodeId: string): Promise<void>;
47
+ export declare function reportReviewNodeId(ctx: ToolContext, params: {
48
+ nodeId: string;
49
+ }): Promise<void>;
@@ -7,7 +7,7 @@ export interface WorkflowRunFooterInfo {
7
7
  jobId?: string | undefined;
8
8
  }
9
9
  export interface BuildPullfrogFooterParams {
10
- /** add "Triggered by Pullfrog" link */
10
+ /** add "via Pullfrog" link */
11
11
  triggeredBy?: boolean;
12
12
  /** add "View workflow run" link */
13
13
  workflowRun?: WorkflowRunFooterInfo | undefined;
@@ -0,0 +1,6 @@
1
+ import type { ToolContext } from "../mcp/server.ts";
2
+ /** Keys accepted by PATCH /api/workflow-run/[runId] — keep in sync with `ALLOWED_FIELDS` in `app/api/workflow-run/[runId]/route.ts`. */
3
+ export type WorkflowRunArtifactPatchKey = "prNodeId" | "issueNodeId" | "reviewNodeId" | "planCommentNodeId" | "summaryCommentNodeId";
4
+ export type WorkflowRunArtifactPatch = Partial<Record<WorkflowRunArtifactPatchKey, string>>;
5
+ /** PATCH workflow-run artifact fields (Pullfrog JWT, not GitHub). */
6
+ export declare function patchWorkflowRunFields(ctx: ToolContext, fields: WorkflowRunArtifactPatch): Promise<void>;
@@ -33,4 +33,5 @@ export interface RunContext {
33
33
  export declare function fetchRunContext(params: {
34
34
  token: string;
35
35
  repoContext: RepoContext;
36
+ oidcToken?: string | undefined;
36
37
  }): Promise<RunContext>;
@@ -1,6 +1,5 @@
1
1
  /**
2
- * Secret detection and redaction utilities
3
- * Redacts actual secret values rather than using pattern matching
2
+ * Secret detection and env filtering utilities
4
3
  */
5
4
  export declare const SENSITIVE_PATTERNS: RegExp[];
6
5
  export declare function isSensitiveEnvName(key: string): boolean;
@@ -14,4 +13,3 @@ export type EnvMode = "restricted" | "inherit" | Record<string, string>;
14
13
  * - object: custom env merged with restricted base
15
14
  */
16
15
  export declare function resolveEnv(mode: EnvMode | undefined): Record<string, string | undefined>;
17
- export declare function redactSecrets(content: string, secrets?: string[]): string;
@@ -1,3 +1,12 @@
1
+ /**
2
+ * install a skill globally via the `skills` CLI.
3
+ *
4
+ * runs `npx skills add <ref> --skill <name> -g` with `cwd` set to os tmpdir
5
+ * so npm doesn't walk up and find a project-level `.npmrc` with pnpm-specific
6
+ * settings (e.g. `public-hoist-pattern`) that break npx binary resolution.
7
+ * the `-g` flag writes to `$HOME/.agents/skills/` which is controlled by
8
+ * `params.env.HOME` (the fake HOME), so cwd has no effect on install location.
9
+ */
1
10
  export declare function addSkill(params: {
2
11
  ref: string;
3
12
  skill: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pullfrog",
3
- "version": "0.0.198",
3
+ "version": "0.0.200",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "pullfrog": "dist/cli.mjs",
@@ -37,7 +37,7 @@
37
37
  "@types/node": "^24.7.2",
38
38
  "@types/semver": "^7.7.1",
39
39
  "@types/turndown": "^5.0.5",
40
- "agent-browser": "0.21.0",
40
+ "agent-browser": "0.25.4",
41
41
  "ajv": "^8.18.0",
42
42
  "arg": "^5.0.2",
43
43
  "arkregex": "0.0.5",