Skip to content

[FEAT] Request Deduplication GUIDs for Non-Idempotent Actions #13

@mark-e-deyoung

Description

@mark-e-deyoung

Implement a deduplication mechanism for actions that are not naturally idempotent (e.g., control-click, control-send).

Proposed Strategy:

  • Clients provide an optional or in the RPC params.
  • Daemon tracks recently executed GUIDs in a rolling 60-second window.
  • If a duplicate GUID is received, the daemon returns the previous result without re-executing the action.

This prevents accidental double-clicks or double-typing during network retries.

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