pullfrog 0.1.49 → 0.1.51

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.
@@ -16,7 +16,7 @@ export declare function formatMcpToolRef(agentId: AgentId, toolName: string): st
16
16
  export type { EffortPosition } from "./effort.ts";
17
17
  export { DEFAULT_EFFORT_POSITION, EFFORT_ALIASES, isEffortPosition, offeredRungs, parseEffortPosition, resolveRung, rungLabel, rungPosition, } from "./effort.ts";
18
18
  export type { AutoTier, ModelAlias, ModelProvider, ProviderConfig } from "./models.ts";
19
- export { AUTO_EFFICIENT, AUTO_INTELLIGENT, DEFAULT_PROXY_MODEL, defaultAutoTier, getAutoSelectHintModel, getModelEffortLevels, getModelEnvVars, getModelManagedCredentials, getModelProvider, getProviderDisplayName, isAutoTier, isCardGatedModel, modelAliases, parseModel, providers, resolveAutoTier, resolveCliModel, resolveDisplayAlias, resolveModelRung, resolveModelSlug, resolveOpenRouterModel, } from "./models.ts";
19
+ export { AUTO_EFFICIENT, AUTO_INTELLIGENT, DEFAULT_PROXY_MODEL, defaultAutoTier, getAutoSelectHintModel, getModelEffortLevels, getModelEnvVars, getModelManagedCredentials, getModelProvider, getProviderDisplayName, isAutoTier, isCardGatedModel, modelAliases, modelHasStoredAuth, parseModel, providers, resolveAutoTier, resolveCliModel, resolveDisplayAlias, resolveModelRung, resolveModelSlug, resolveOpenRouterModel, } from "./models.ts";
20
20
  export type ToolPermission = "disabled" | "enabled";
21
21
  export type ShellPermission = "disabled" | "restricted" | "enabled";
22
22
  export type PushPermission = "disabled" | "restricted" | "enabled";
@@ -174,6 +174,7 @@ interface FixReviewEvent extends BasePayloadEvent {
174
174
  interface ImplementPlanEvent extends BasePayloadEvent {
175
175
  trigger: "implement_plan";
176
176
  issue_number: number;
177
+ is_pr?: true;
177
178
  plan_comment_id: number;
178
179
  /** plan content is the primary content (null if already in prompt) */
179
180
  body: string | null;
@@ -279,3 +280,12 @@ export interface WriteablePayload {
279
280
  generateSummary?: boolean | undefined;
280
281
  }
281
282
  export type Payload = Readonly<WriteablePayload>;
283
+ /**
284
+ * Whether `find_similar_issues` is registered for this run: an entitled account,
285
+ * on an issue rather than a PR. Shared by the MCP registration and the prompt so
286
+ * the duplicate-detection instructions can never describe an absent tool.
287
+ */
288
+ export declare function hasSimilarIssues(params: {
289
+ repoIntelligence: boolean;
290
+ event: PayloadEvent;
291
+ }): boolean;