pullfrog 0.1.45 → 0.1.47
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/README.md +1 -1
- package/dist/agents/opencodeShared.d.ts +25 -0
- package/dist/cli.mjs +337 -58
- package/dist/external.d.ts +8 -0
- package/dist/index.js +321 -49
- package/dist/internal/index.d.ts +2 -0
- package/dist/internal.js +134 -0
- package/dist/models.d.ts +27 -1
- package/dist/toolState.d.ts +1 -0
- package/dist/utils/apiKeys.d.ts +10 -0
- package/dist/utils/payload.d.ts +8 -1
- package/dist/utils/runContext.d.ts +8 -0
- package/dist/utils/runContextData.d.ts +3 -0
- package/dist/utils/runStatusCheck.d.ts +170 -0
- package/dist/utils/statusChecks.d.ts +14 -17
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -101,7 +101,7 @@ jobs:
|
|
|
101
101
|
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
Every PR run posts a `Pullfrog` commit-status check: `in_progress` from the moment the run is dispatched, then success when it finishes or failure on error/timeout. It is on by default (turn it off per-repo in the console). To also gate merges on Pullfrog's review verdict, add `status_checks: enabled`, which additionally posts a `Pullfrog approval` check (whether Pullfrog would approve the PR). Both are requireable as branch-protection status checks. See [PR reviews → Status checks](https://docs.pullfrog.dev/pr-reviews#status-checks).
|
|
105
105
|
|
|
106
106
|
#### 2. Create `triggers.yml`
|
|
107
107
|
|
|
@@ -16,6 +16,30 @@ export type OpenCodeConfig = {
|
|
|
16
16
|
export declare function geminiHighThinkingOverrides(): Record<string, {
|
|
17
17
|
options: object;
|
|
18
18
|
}>;
|
|
19
|
+
interface OpenAICompatibleProviderEntry {
|
|
20
|
+
npm: string;
|
|
21
|
+
name: string;
|
|
22
|
+
options: {
|
|
23
|
+
baseURL: string | undefined;
|
|
24
|
+
apiKey: string | undefined;
|
|
25
|
+
};
|
|
26
|
+
models: Record<string, {
|
|
27
|
+
name: string;
|
|
28
|
+
limit: ModelLimit;
|
|
29
|
+
}>;
|
|
30
|
+
}
|
|
31
|
+
interface ModelLimit {
|
|
32
|
+
context: number;
|
|
33
|
+
output: number;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* OpenAI-compatible provider block for OPENCODE_CONFIG_CONTENT. opencode has no
|
|
37
|
+
* native provider for an arbitrary gateway, so inject one via
|
|
38
|
+
* `@ai-sdk/openai-compatible` when the run targets `openai-compatible/<model>`;
|
|
39
|
+
* `{}` otherwise so the caller can spread it unconditionally. base URL + key are
|
|
40
|
+
* guaranteed present by `validateOpenAICompatibleSetup`.
|
|
41
|
+
*/
|
|
42
|
+
export declare function openAICompatibleProvider(model: string | undefined): Record<string, OpenAICompatibleProviderEntry>;
|
|
19
43
|
/**
|
|
20
44
|
* Build the `provider.openrouter.models[id].options` map that pins every Kimi
|
|
21
45
|
* K2 OpenRouter alias away from the Enforcer-less providers via OpenRouter's
|
|
@@ -75,3 +99,4 @@ export declare function installOpencodeCli(params: {
|
|
|
75
99
|
binPath: string;
|
|
76
100
|
}): Promise<string>;
|
|
77
101
|
export declare function autoSelectModel(): string | undefined;
|
|
102
|
+
export {};
|