webhelm 1.0.30 → 1.0.31

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webhelm",
3
- "version": "1.0.30",
3
+ "version": "1.0.31",
4
4
  "description": "Agent browser automation in a visible managed Chrome with persistent JavaScript sessions",
5
5
  "type": "module",
6
6
  "bin": {
@@ -100,7 +100,7 @@ export class ChatGPTQueue extends DurableQueueCore {
100
100
  startSession,
101
101
  execSession,
102
102
  stopSession,
103
- intervalMs = 60000,
103
+ intervalMs = 10000,
104
104
  concurrency = 4,
105
105
  leaseSeconds = 120,
106
106
  now = () => Date.now() / 1000,
@@ -314,8 +314,10 @@ export class ChatGPTQueue extends DurableQueueCore {
314
314
  receipt: receipt.diagnostic,
315
315
  });
316
316
  } else if (["send-button-disabled", "user-turn"].includes(receipt?.verified_by)) {
317
+ // A confirmed user turn does not need a fixed 60s same-thread gap.
318
+ // A follow-up is re-probed; RUNNING still blocks overlapping sends.
317
319
  this.transition(item.id, owner, "SENDING", "SENT", {
318
- receipt: receipt.verified_by,
320
+ delay: 0, receipt: receipt.verified_by,
319
321
  });
320
322
  } else {
321
323
  // After any unverified click, keep UNCERTAIN until a read-only check