pullfrog 0.1.86 → 0.1.88
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/cli.mjs +12 -13
- package/dist/index.js +10 -11
- package/dist/internal.js +6 -6
- package/dist/utils/isTransientNetworkError.d.ts +2 -1
- package/dist/yes/index.d.ts +2 -1
- package/dist/yes.js +2 -3
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -107103,7 +107103,7 @@ var import_picocolors = __toESM(require_picocolors(), 1);
|
|
|
107103
107103
|
// package.json
|
|
107104
107104
|
var package_default = {
|
|
107105
107105
|
name: "pullfrog",
|
|
107106
|
-
version: "0.1.
|
|
107106
|
+
version: "0.1.88",
|
|
107107
107107
|
cliContractVersion: "1",
|
|
107108
107108
|
type: "module",
|
|
107109
107109
|
bin: {
|
|
@@ -107131,7 +107131,7 @@ var package_default = {
|
|
|
107131
107131
|
},
|
|
107132
107132
|
devDependencies: {
|
|
107133
107133
|
"@actions/core": "^1.11.1",
|
|
107134
|
-
"@anthropic-ai/claude-code": "2.1.
|
|
107134
|
+
"@anthropic-ai/claude-code": "2.1.284",
|
|
107135
107135
|
"@ark/fs": "0.56.0",
|
|
107136
107136
|
"@ark/util": "0.56.0",
|
|
107137
107137
|
"@clack/prompts": "^1.2.0",
|
|
@@ -109181,9 +109181,9 @@ var providers = {
|
|
|
109181
109181
|
},
|
|
109182
109182
|
"claude-sonnet": {
|
|
109183
109183
|
displayName: "Claude Sonnet",
|
|
109184
|
-
resolve: "anthropic/claude-sonnet-5",
|
|
109184
|
+
resolve: "anthropic/claude-sonnet-5-5",
|
|
109185
109185
|
effort: ["low", "medium", "high", "xhigh", "max"],
|
|
109186
|
-
openRouterResolve: "openrouter/anthropic/claude-sonnet-5"
|
|
109186
|
+
openRouterResolve: "openrouter/anthropic/claude-sonnet-5.5"
|
|
109187
109187
|
},
|
|
109188
109188
|
"claude-haiku": {
|
|
109189
109189
|
displayName: "Claude Haiku",
|
|
@@ -109600,9 +109600,9 @@ var providers = {
|
|
|
109600
109600
|
},
|
|
109601
109601
|
"claude-sonnet": {
|
|
109602
109602
|
displayName: "Claude Sonnet",
|
|
109603
|
-
resolve: "opencode/claude-sonnet-5",
|
|
109603
|
+
resolve: "opencode/claude-sonnet-5-5",
|
|
109604
109604
|
effort: ["low", "medium", "high", "xhigh", "max"],
|
|
109605
|
-
openRouterResolve: "openrouter/anthropic/claude-sonnet-5"
|
|
109605
|
+
openRouterResolve: "openrouter/anthropic/claude-sonnet-5.5"
|
|
109606
109606
|
},
|
|
109607
109607
|
"claude-haiku": {
|
|
109608
109608
|
displayName: "Claude Haiku",
|
|
@@ -112888,7 +112888,7 @@ function buildAgentsJson() {
|
|
|
112888
112888
|
[REVIEWER_AGENT_NAME]: {
|
|
112889
112889
|
description: "Read-only review subagent for lens-based code review (correctness, security, billing-subsystem, etc.). Reads only \u2014 no writes, no state-changing shell or MCP calls, no nested subagent dispatch.",
|
|
112890
112890
|
prompt: REVIEWER_SYSTEM_PROMPT,
|
|
112891
|
-
model: "claude-sonnet-5"
|
|
112891
|
+
model: "claude-sonnet-5-5"
|
|
112892
112892
|
}
|
|
112893
112893
|
};
|
|
112894
112894
|
return JSON.stringify(agents2);
|
|
@@ -186308,9 +186308,8 @@ function jitter(delayMs) {
|
|
|
186308
186308
|
var DEFAULT_RETRY_AFTER_CAP_MS = 2e4;
|
|
186309
186309
|
function getErrorResponseHeaders(error49) {
|
|
186310
186310
|
if (error49 === null || typeof error49 !== "object") return void 0;
|
|
186311
|
-
const
|
|
186312
|
-
|
|
186313
|
-
const headers = response.headers;
|
|
186311
|
+
const source = error49;
|
|
186312
|
+
const headers = source.response?.headers ?? source.headers;
|
|
186314
186313
|
if (headers === null || typeof headers !== "object") return void 0;
|
|
186315
186314
|
return headers;
|
|
186316
186315
|
}
|
|
@@ -192410,7 +192409,7 @@ async function countOutstandingPullfrogThreads(ctx, pullNumber) {
|
|
|
192410
192409
|
// utils/isTransientNetworkError.ts
|
|
192411
192410
|
function isTransientNetworkError(error49, extraPatterns = []) {
|
|
192412
192411
|
if (!(error49 instanceof Error)) return false;
|
|
192413
|
-
if (error49.name === "AbortError") return true;
|
|
192412
|
+
if (error49.name === "AbortError" || error49.name === "TimeoutError") return true;
|
|
192414
192413
|
const patterns = ["fetch failed", "ECONNRESET", "ETIMEDOUT", ...extraPatterns];
|
|
192415
192414
|
return patterns.some((p) => error49.message.includes(p));
|
|
192416
192415
|
}
|
|
@@ -202193,7 +202192,7 @@ function resolveTarget2(repo) {
|
|
|
202193
202192
|
return { owner: match3[1], repo: match3[2] };
|
|
202194
202193
|
}
|
|
202195
202194
|
function cliVersion() {
|
|
202196
|
-
const parts = /^(\d+)\.(\d+)\.(\d+)$/.exec("0.1.
|
|
202195
|
+
const parts = /^(\d+)\.(\d+)\.(\d+)$/.exec("0.1.88");
|
|
202197
202196
|
if (!parts) return "0.0.0";
|
|
202198
202197
|
return `${Number(parts[1])}.${Number(parts[2])}.${Number(parts[3])}`;
|
|
202199
202198
|
}
|
|
@@ -202360,7 +202359,7 @@ async function runCli8(input) {
|
|
|
202360
202359
|
}
|
|
202361
202360
|
|
|
202362
202361
|
// cli.ts
|
|
202363
|
-
var VERSION10 = "0.1.
|
|
202362
|
+
var VERSION10 = "0.1.88";
|
|
202364
202363
|
var bin = basename2(process.argv[1] || "");
|
|
202365
202364
|
var PROG = bin === "pf" || bin === "pullfrog" ? bin : "pullfrog";
|
|
202366
202365
|
var rawArgs = process.argv.slice(2);
|
package/dist/index.js
CHANGED
|
@@ -103467,9 +103467,9 @@ var providers = {
|
|
|
103467
103467
|
},
|
|
103468
103468
|
"claude-sonnet": {
|
|
103469
103469
|
displayName: "Claude Sonnet",
|
|
103470
|
-
resolve: "anthropic/claude-sonnet-5",
|
|
103470
|
+
resolve: "anthropic/claude-sonnet-5-5",
|
|
103471
103471
|
effort: ["low", "medium", "high", "xhigh", "max"],
|
|
103472
|
-
openRouterResolve: "openrouter/anthropic/claude-sonnet-5"
|
|
103472
|
+
openRouterResolve: "openrouter/anthropic/claude-sonnet-5.5"
|
|
103473
103473
|
},
|
|
103474
103474
|
"claude-haiku": {
|
|
103475
103475
|
displayName: "Claude Haiku",
|
|
@@ -103886,9 +103886,9 @@ var providers = {
|
|
|
103886
103886
|
},
|
|
103887
103887
|
"claude-sonnet": {
|
|
103888
103888
|
displayName: "Claude Sonnet",
|
|
103889
|
-
resolve: "opencode/claude-sonnet-5",
|
|
103889
|
+
resolve: "opencode/claude-sonnet-5-5",
|
|
103890
103890
|
effort: ["low", "medium", "high", "xhigh", "max"],
|
|
103891
|
-
openRouterResolve: "openrouter/anthropic/claude-sonnet-5"
|
|
103891
|
+
openRouterResolve: "openrouter/anthropic/claude-sonnet-5.5"
|
|
103892
103892
|
},
|
|
103893
103893
|
"claude-haiku": {
|
|
103894
103894
|
displayName: "Claude Haiku",
|
|
@@ -105723,7 +105723,7 @@ var import_semver = __toESM(require_semver2(), 1);
|
|
|
105723
105723
|
// package.json
|
|
105724
105724
|
var package_default = {
|
|
105725
105725
|
name: "pullfrog",
|
|
105726
|
-
version: "0.1.
|
|
105726
|
+
version: "0.1.88",
|
|
105727
105727
|
cliContractVersion: "1",
|
|
105728
105728
|
type: "module",
|
|
105729
105729
|
bin: {
|
|
@@ -105751,7 +105751,7 @@ var package_default = {
|
|
|
105751
105751
|
},
|
|
105752
105752
|
devDependencies: {
|
|
105753
105753
|
"@actions/core": "^1.11.1",
|
|
105754
|
-
"@anthropic-ai/claude-code": "2.1.
|
|
105754
|
+
"@anthropic-ai/claude-code": "2.1.284",
|
|
105755
105755
|
"@ark/fs": "0.56.0",
|
|
105756
105756
|
"@ark/util": "0.56.0",
|
|
105757
105757
|
"@clack/prompts": "^1.2.0",
|
|
@@ -107292,7 +107292,7 @@ function buildAgentsJson() {
|
|
|
107292
107292
|
[REVIEWER_AGENT_NAME]: {
|
|
107293
107293
|
description: "Read-only review subagent for lens-based code review (correctness, security, billing-subsystem, etc.). Reads only \u2014 no writes, no state-changing shell or MCP calls, no nested subagent dispatch.",
|
|
107294
107294
|
prompt: REVIEWER_SYSTEM_PROMPT,
|
|
107295
|
-
model: "claude-sonnet-5"
|
|
107295
|
+
model: "claude-sonnet-5-5"
|
|
107296
107296
|
}
|
|
107297
107297
|
};
|
|
107298
107298
|
return JSON.stringify(agents2);
|
|
@@ -182801,9 +182801,8 @@ function jitter(delayMs) {
|
|
|
182801
182801
|
var DEFAULT_RETRY_AFTER_CAP_MS = 2e4;
|
|
182802
182802
|
function getErrorResponseHeaders(error49) {
|
|
182803
182803
|
if (error49 === null || typeof error49 !== "object") return void 0;
|
|
182804
|
-
const
|
|
182805
|
-
|
|
182806
|
-
const headers = response.headers;
|
|
182804
|
+
const source = error49;
|
|
182805
|
+
const headers = source.response?.headers ?? source.headers;
|
|
182807
182806
|
if (headers === null || typeof headers !== "object") return void 0;
|
|
182808
182807
|
return headers;
|
|
182809
182808
|
}
|
|
@@ -188903,7 +188902,7 @@ async function countOutstandingPullfrogThreads(ctx, pullNumber) {
|
|
|
188903
188902
|
// utils/isTransientNetworkError.ts
|
|
188904
188903
|
function isTransientNetworkError(error49, extraPatterns = []) {
|
|
188905
188904
|
if (!(error49 instanceof Error)) return false;
|
|
188906
|
-
if (error49.name === "AbortError") return true;
|
|
188905
|
+
if (error49.name === "AbortError" || error49.name === "TimeoutError") return true;
|
|
188907
188906
|
const patterns = ["fetch failed", "ECONNRESET", "ETIMEDOUT", ...extraPatterns];
|
|
188908
188907
|
return patterns.some((p) => error49.message.includes(p));
|
|
188909
188908
|
}
|
package/dist/internal.js
CHANGED
|
@@ -8,7 +8,7 @@ var __export = (target, all) => {
|
|
|
8
8
|
// package.json
|
|
9
9
|
var package_default = {
|
|
10
10
|
name: "pullfrog",
|
|
11
|
-
version: "0.1.
|
|
11
|
+
version: "0.1.88",
|
|
12
12
|
cliContractVersion: "1",
|
|
13
13
|
type: "module",
|
|
14
14
|
bin: {
|
|
@@ -36,7 +36,7 @@ var package_default = {
|
|
|
36
36
|
},
|
|
37
37
|
devDependencies: {
|
|
38
38
|
"@actions/core": "^1.11.1",
|
|
39
|
-
"@anthropic-ai/claude-code": "2.1.
|
|
39
|
+
"@anthropic-ai/claude-code": "2.1.284",
|
|
40
40
|
"@ark/fs": "0.56.0",
|
|
41
41
|
"@ark/util": "0.56.0",
|
|
42
42
|
"@clack/prompts": "^1.2.0",
|
|
@@ -14358,9 +14358,9 @@ var providers = {
|
|
|
14358
14358
|
},
|
|
14359
14359
|
"claude-sonnet": {
|
|
14360
14360
|
displayName: "Claude Sonnet",
|
|
14361
|
-
resolve: "anthropic/claude-sonnet-5",
|
|
14361
|
+
resolve: "anthropic/claude-sonnet-5-5",
|
|
14362
14362
|
effort: ["low", "medium", "high", "xhigh", "max"],
|
|
14363
|
-
openRouterResolve: "openrouter/anthropic/claude-sonnet-5"
|
|
14363
|
+
openRouterResolve: "openrouter/anthropic/claude-sonnet-5.5"
|
|
14364
14364
|
},
|
|
14365
14365
|
"claude-haiku": {
|
|
14366
14366
|
displayName: "Claude Haiku",
|
|
@@ -14777,9 +14777,9 @@ var providers = {
|
|
|
14777
14777
|
},
|
|
14778
14778
|
"claude-sonnet": {
|
|
14779
14779
|
displayName: "Claude Sonnet",
|
|
14780
|
-
resolve: "opencode/claude-sonnet-5",
|
|
14780
|
+
resolve: "opencode/claude-sonnet-5-5",
|
|
14781
14781
|
effort: ["low", "medium", "high", "xhigh", "max"],
|
|
14782
|
-
openRouterResolve: "openrouter/anthropic/claude-sonnet-5"
|
|
14782
|
+
openRouterResolve: "openrouter/anthropic/claude-sonnet-5.5"
|
|
14783
14783
|
},
|
|
14784
14784
|
"claude-haiku": {
|
|
14785
14785
|
displayName: "Claude Haiku",
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* on explicit HTTP status / validation errors that carry their own message).
|
|
4
4
|
*
|
|
5
5
|
* Matches errors from `fetch` (`fetch failed`), TCP-level interruption
|
|
6
|
-
* (`ECONNRESET`, `ETIMEDOUT`), and `AbortSignal.timeout`
|
|
6
|
+
* (`ECONNRESET`, `ETIMEDOUT`), and aborts — `AbortSignal.timeout` rejects with
|
|
7
|
+
* `TimeoutError`, a manual abort with `AbortError` (#1354).
|
|
7
8
|
* Callers may pass `extraPatterns` to whitelist additional transient
|
|
8
9
|
* substrings on `error.message` (e.g. provider-specific framings).
|
|
9
10
|
*/
|
package/dist/yes/index.d.ts
CHANGED
|
@@ -6,7 +6,8 @@ export declare function range(n: number, fn: (i: number) => number): number[];
|
|
|
6
6
|
export declare function schedule(fn: (i: number) => number, count: number): number[];
|
|
7
7
|
/**
|
|
8
8
|
* read a retry delay (ms) from a thrown HTTP error's response headers, honoring
|
|
9
|
-
* GitHub's rate-limit backoff hints on octokit errors (`error.response.headers
|
|
9
|
+
* GitHub's rate-limit backoff hints on octokit errors (`error.response.headers`, or
|
|
10
|
+
* `error.headers` on a GraphQL response error):
|
|
10
11
|
* - `retry-after` (RFC 9110 delta-seconds or an HTTP-date) — an explicit
|
|
11
12
|
* backoff directive whenever present (covers secondary rate limits, which
|
|
12
13
|
* carry it with `x-ratelimit-remaining > 0`).
|
package/dist/yes.js
CHANGED
|
@@ -1034,9 +1034,8 @@ function jitter(delayMs) {
|
|
|
1034
1034
|
var DEFAULT_RETRY_AFTER_CAP_MS = 2e4;
|
|
1035
1035
|
function getErrorResponseHeaders(error) {
|
|
1036
1036
|
if (error === null || typeof error !== "object") return void 0;
|
|
1037
|
-
const
|
|
1038
|
-
|
|
1039
|
-
const headers = response.headers;
|
|
1037
|
+
const source = error;
|
|
1038
|
+
const headers = source.response?.headers ?? source.headers;
|
|
1040
1039
|
if (headers === null || typeof headers !== "object") return void 0;
|
|
1041
1040
|
return headers;
|
|
1042
1041
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pullfrog",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.88",
|
|
4
4
|
"cliContractVersion": "1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@actions/core": "^1.11.1",
|
|
31
|
-
"@anthropic-ai/claude-code": "2.1.
|
|
31
|
+
"@anthropic-ai/claude-code": "2.1.284",
|
|
32
32
|
"@ark/fs": "0.56.0",
|
|
33
33
|
"@ark/util": "0.56.0",
|
|
34
34
|
"@clack/prompts": "^1.2.0",
|