Skip to content

Web interface: Stuck approval in "Cursor Agents" mode #12

Closed

Description

@gavinc

One of the agent conversations I have open on cursors agent window, there is a stuck "approval" button, cannot select reject, can only press approve, and when I do it gives me a "sent approval" toast, but the approval does not go away. that particular approval does not appear any longer in the curspr window itself, suspect it's caught up in some cursor remote state only?

<div id="app">
    <header id="header">
      <div class="header-left">
        <span id="connection-dot" class="dot connected"></span>
        <span id="connection-text">Connected</span>
      </div>
      <div class="header-right">
        <span id="agent-status-icon">!</span>
        <span id="agent-status-text" style="color: var(--accent-yellow);">Needs approval</span>
      </div>
    </header>

    <div id="composer-queue-bar" class="composer-queue-bar hidden" aria-live="polite">
      <div class="composer-queue-header">
        <span class="composer-queue-chevron" aria-hidden="true">▼</span>
        <span id="composer-queue-label" class="composer-queue-label"></span>
      </div>
      <div id="composer-queue-items" class="composer-queue-items"></div>
    </div>

    <nav id="window-bar" class="window-bar">
      <div id="window-list" class="window-list"><button class="window-item active" data-id="6AD63D64AD606999F16C935B0EC3589C">Cursor Agents</button><button class="window-item" data-id="6CDCEE33636F19FFB7E0B7979EC8B833">server-setup [SSH: server]</button></div>
    </nav>

    <nav id="tab-bar" class="tab-bar hidden">
      <div id="tab-list" class="tab-list"></div>
      <button id="btn-new-chat" class="tab-new-btn" aria-label="New Chat">+</button>
    </nav>

    <main id="messages" role="log" aria-live="polite">
      <div id="empty-state" class="empty-state" style="display: none;">
        <p id="empty-state-primary">Connecting to Cursor IDE...</p>
        <p id="empty-state-hint" class="hint">Make sure Cursor is running with<br><code>--remote-debugging-port=9222</code></p>
      </div>
    <div class="chat-el el-human" data-id="08939b1a-3a45-4f7e-8d0e-adde545decb7" data-msg-type="human"><div class="human-bubble"><div class="human-text">all 404 images - you tell me YOU have seen these 404 images?</div></div></div><div class="chat-el el-human" data-id="a998e849-2ac3-454e-8fb1-ba69494d3b00" data-msg-type="human"><div class="human-bubble"><div class="human-text">Remaining blockers for projectOpenVerified the disputed proofs directly, generated new pose proof images, and changed workflow handling so UI canvas exports are blocked unless API-format graphs or a verified converter exist. Focused tests, JSON validation, lint check, served proof URLs, and workflow rejection behavior were verified.</div></div></div><div class="chat-el el-human" data-id="5c86f51c-b684-4606-b64d-0f5b0f1826ae" data-msg-type="human"><div class="human-bubble"><div class="human-text">why are they accumulating on the local-llm? these are suppsoed to be invovling agent in their production - you are supposed to be proving not only that the right loras and models are registereed right, but used right. all the examples you give a pass for are at best "generic", some are quite wrong. no idea what this one is supposed to provide for this overall topic, the other two are impressive but off topic</div></div></div><div class="chat-el el-assistant" data-id="c22edfe8-81ed-4094-8158-f4edc3cfe7a9" data-msg-type="assistant"><div class="assistant-bubble"><div class="assistant-content markdown-body"><div class="space-y-4 whitespace-normal *:first:mt-0 *:last:mb-0"><p>You’re right. The <code class="">local-llm</code> accumulation happened because the workers were running low-level Comfy/orchestrator proofs on the Windows image server. That proves "a model file can be loaded" - it does not prove we selected the right LoRA, asked the tool correctly, showed the right badge, or put the result in a conversation. That is a different and higher bar, and we should have used that bar from the start.</p>
<p>I’ve started a new E2E proof pass with the correct standard: chat/tool path first, evidence, LoRA metadata/badges, and only task-relevant images. I also told it to drop unless it has a defensible role, and not to call stylized output a win unless the prompt/model family makes that expected and useful.</p>
<p>AGENT_NOTIFY_SUMMARY {"version":1,"agent":"j-orchestrator","project":"j-story","status":"done","action":"Wait for E2E LoRA proof","summary":"Started correct end-to-end proof through J rather than direct local-llm Comfy outputs."}</p></div></div></div></div><div class="chat-el el-human" data-id="e9a63bcb-af95-4478-965d-592281f50135" data-msg-type="human"><div class="human-bubble"><div class="human-text">Noop test</div></div></div><div class="chat-el el-assistant" data-id="474df933-95c3-4037-90ee-a2b4898942eb" data-msg-type="assistant"><div class="assistant-bubble"><div class="assistant-content markdown-body"><div class="space-y-4 whitespace-normal *:first:mt-0 *:last:mb-0"><p>Noop acknowledged, boss. Nothing changed.</p>
<p>AGENT_NOTIFY_SUMMARY {"version":1,"agent":"j-orchestrator","project":"j-story","status":"done","action":"No action needed","summary":"Noop test acknowledged; no changes made."}</p></div></div></div></div></main>

    <div id="approval-bar" class="approval-bar">
      <div id="approval-desc" class="approval-desc">⁦bin/agent_chat_runner.py⁩+304</div>
      <div class="approval-actions">
        <button id="btn-approve" class="btn btn-approve">⁦bin/agent_chat_runner.py⁩+304</button>
        <button id="btn-reject" class="btn btn-reject" disabled="">Reject</button>
      </div>
    </div>

    <div id="questionnaire-bar" class="questionnaire-bar hidden">
      <div class="questionnaire-header">
        <span class="questionnaire-icon">❓</span>
        <span class="questionnaire-title">Questions</span>
        <span id="questionnaire-stepper" class="questionnaire-stepper"></span>
      </div>
      <div id="questionnaire-questions"></div>
      <div class="questionnaire-actions">
        <button id="btn-q-skip" class="btn btn-q-skip">Skip</button>
        <button id="btn-q-continue" class="btn btn-q-continue">Continue</button>
      </div>
    </div>

    <footer id="input-bar">
      <div id="mode-model-bar" class="mode-model-bar">
        <button id="pill-mode" class="pill" aria-label="Select mode">
          <span id="pill-mode-icon" class="pill-icon">∞</span>
          <span id="pill-mode-text">Agent</span>
          <span class="pill-chevron">▾</span>
        </button>
        <button id="pill-model" class="pill" aria-label="Select model">
          <span id="pill-model-text">Auto</span>
          <span class="pill-chevron">▾</span>
        </button>
      </div>
      <div class="input-wrapper">
        <textarea id="message-input" placeholder="Send a message..." rows="1"></textarea>
        <button id="btn-send" class="btn btn-send" disabled="" aria-label="Send">
          <svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor">
            <path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"></path>
          </svg>
        </button>
      </div>
    </footer>

    <div id="sheet-overlay" class="sheet-overlay hidden"></div>
    <div id="sheet-mode" class="bottom-sheet hidden">
      <div class="sheet-header">Mode</div>
      <div id="sheet-mode-list" class="sheet-list"></div>
    </div>
    <div id="sheet-model" class="bottom-sheet hidden">
      <div class="sheet-header">Model</div>
      <div id="sheet-model-list" class="sheet-list"></div>
    </div>
    <div id="sheet-plan-model" class="bottom-sheet hidden">
      <div id="sheet-plan-model-header" class="sheet-header">Plan Model</div>
      <div id="sheet-plan-model-list" class="sheet-list"></div>
    </div>
  </div>

Activity

  1. Paul-Rusch commented on May 3, 2026

    @Paul-Rusch

    This has also broken my ability to send telegram commands.

  2. added a commit that references this issue on May 7, 2026
  3. len5ky commented on May 7, 2026

    @len5ky
    Owner

    Fixed in v0.1.45 (https://github.com/len5ky/CursorRemote/releases/tag/v0.1.45).

    Two underlying bugs:

    1. Per-card extraction: recent Cursor builds render shell approvals with Run / Skip / Allowlist buttons next to an Auto-Run in Sandbox mode-dropdown trigger. The relay was matching the dropdown trigger via a Run text-substring against Auto-Run, so clicking Approve opened a settings menu instead of approving. Approval extraction now identifies the real action buttons by class and skips any element with aria-haspopup.
    2. Active-composer scoping (fix(server): scope approval detection to active composer (#12) #15 from @gavinc, also merged for v0.1.45): button discovery was running across the whole document, so once a composer's approval was clicked the state never cleared because stale buttons in other composers kept surfacing. Now scoped to the active chat container.

    Thanks @gavinc for the report and the PR, and @Paul-Rusch for confirming it also blocked Telegram commands.

  4. added a commit that references this issue on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions