Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,11 @@ DISPATCH_AGENT_TOKEN="your_agent_token_here"
# disable. Default 1 800 000 (30 min).
# DISPATCH_RECONCILE_INTERVAL_MS=1800000

# Interval (ms) between automated `/api/agent-work/sweep` runs that reclaim

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Info (docs): New DISPATCH_STALE_WORK_INTERVAL_MS entry matches the existing DISPATCH_*_INTERVAL_MS documentation style; consider also adding a row to the AGENTS.md environment-variable table for full discoverability (optional, non-blocking).

Automated finding from AI PR review.

# agent-work leases abandoned by an agent that died mid-task. Set to "0" to
# disable. Default 300 000 (5 min).
# DISPATCH_STALE_WORK_INTERVAL_MS=300000

# --- Framework / build-time vars (set by the platform, do not override) ---

# NODE_ENV, NEXT_RUNTIME, and NEXT_PUBLIC_DISPATCH_VERSION are managed by the
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dev": "next dev",
"build": "NODE_ENV=production next build",
"start": "next start",
"audit": "npm audit --omit=dev --audit-level=high",
"audit": "npm audit --omit=dev --audit-level=high --fetch-retries=5 --fetch-timeout=120000 --fetch-retry-mintimeout=20000 --fetch-retry-maxtimeout=120000",
"lint": "NODE_ENV=development eslint .",
"test": "NODE_ENV=development vitest run",
"test:watch": "NODE_ENV=development vitest",
Expand Down
Loading