@neriros/ralphy 3.10.19 → 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.19")
18932
- return "3.10.19";
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(() => {
@@ -105950,6 +105952,7 @@ function pipelineStages(row) {
105950
105952
  case "awaiting":
105951
105953
  return stages("done", "current", "pending", "pending", "pending", "pending");
105952
105954
  case "queued":
105955
+ return stages("done", "done", "pending", "pending", "pending", "pending");
105953
105956
  case "working":
105954
105957
  case "in-progress":
105955
105958
  return stages("done", "done", "current", "pending", "pending", "pending");
@@ -109430,7 +109433,7 @@ function createPrDiscovery(input) {
109430
109433
  prByChange.set(changeName, prUrl);
109431
109434
  }
109432
109435
  const outcome = await waitForMergeability({
109433
- 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 }),
109434
109437
  onError: (err, attempt2, total) => diag("pr", `! gh pr view ${prUrl} failed (attempt ${attempt2 + 1}/${total}): ${err.message} \u2014 will retry`, "yellow")
109435
109438
  });
109436
109439
  if (outcome.kind === "closed") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neriros/ralphy",
3
- "version": "3.10.19",
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",