pullfrog 0.1.48 → 0.1.50

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/effort.d.ts CHANGED
@@ -22,10 +22,14 @@
22
22
  /** a point on the effort axis. 0 = the model's cheapest rung, 1 = its most expensive. */
23
23
  export type EffortPosition = number;
24
24
  /**
25
- * where a repo sits when it has never configured effort. high on the axis
26
- * without being the ceiling: `xhigh` on the Claude/GPT flagships, `medium` on a
27
- * three-rung ladder, `high` on DeepSeek's twowhich is what every DeepSeek run
28
- * got before this setting existed.
25
+ * where a repo sits when it has never configured effort.
26
+ *
27
+ * 0.5 is not a round number picked for feel it is EXACTLY the position `high`
28
+ * occupies on a five-rung ladder (`2/4`), so the default and a user clicking
29
+ * **High** in the console store the same value. It lands on `high` for the
30
+ * Claude and GPT flagships, Kimi K3 and DeepSeek, and `medium` on a three-rung
31
+ * ladder. That keeps the flagships at the level every model already effectively
32
+ * ran at before this setting existed.
29
33
  */
30
34
  export declare const DEFAULT_EFFORT_POSITION: EffortPosition;
31
35
  /**
@@ -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;