@neriros/ralphy 3.10.20 → 3.10.21

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.
@@ -18928,8 +18928,8 @@ import { readFileSync } from "fs";
18928
18928
  import { resolve } from "path";
18929
18929
  function getVersion() {
18930
18930
  try {
18931
- if ("3.10.20")
18932
- return "3.10.20";
18931
+ if ("3.10.21")
18932
+ return "3.10.21";
18933
18933
  } catch {}
18934
18934
  const dirsToTry = [];
18935
18935
  try {
@@ -102996,11 +102996,13 @@ var init_config = __esm(() => {
102996
102996
  // apps/agent/src/shared/capabilities/poll-context.ts
102997
102997
  class PollContext {
102998
102998
  memo = new Map;
102999
- fetchPrOnce(url2, fields, runner, cwd2) {
102999
+ fetchPrOnce(url2, fields, runner, cwd2, opts) {
103000
103000
  const key = `${url2}|${[...fields].sort().join(",")}`;
103001
- const existing = this.memo.get(key);
103002
- if (existing)
103003
- return existing;
103001
+ if (!opts?.forceRefresh) {
103002
+ const existing = this.memo.get(key);
103003
+ if (existing)
103004
+ return existing;
103005
+ }
103004
103006
  const pending = this.runGhView(url2, fields, runner, cwd2);
103005
103007
  this.memo.set(key, pending);
103006
103008
  pending.catch(() => {
@@ -109431,7 +109433,7 @@ function createPrDiscovery(input) {
109431
109433
  prByChange.set(changeName, prUrl);
109432
109434
  }
109433
109435
  const outcome = await waitForMergeability({
109434
- probe: async () => await getPollContext().fetchPrOnce(prUrl, ["state", "mergeable", "mergeStateStatus"], cmdRunner, projectRoot),
109436
+ probe: async (attempt2) => await getPollContext().fetchPrOnce(prUrl, ["state", "mergeable", "mergeStateStatus"], cmdRunner, projectRoot, { forceRefresh: attempt2 > 0 }),
109435
109437
  onError: (err, attempt2, total) => diag("pr", `! gh pr view ${prUrl} failed (attempt ${attempt2 + 1}/${total}): ${err.message} \u2014 will retry`, "yellow")
109436
109438
  });
109437
109439
  if (outcome.kind === "closed") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neriros/ralphy",
3
- "version": "3.10.20",
3
+ "version": "3.10.21",
4
4
  "description": "An iterative AI task execution framework. Orchestrates multi-phase autonomous work using Claude or Codex engines.",
5
5
  "keywords": [
6
6
  "agent",