Skip to content

Use Attention's public integration interface - #1

Closed
ultronozm wants to merge 1 commit into
Gleek:masterfrom
ultronozm:use-attention-public-api
Closed

ultronozm wants to merge 1 commit into
Gleek:masterfrom
ultronozm:use-attention-public-api

Conversation

@ultronozm

Copy link
Copy Markdown

Use the interface introduced in agent-shell-attention 0.0.4 instead
of inspecting pending entries and removing an internal hook during
previews. Keep Attention optional.

  • agent-shell-consult.el (agent-shell-consult--unread-p): Query unread
    replies through agent-shell-attention-unread-p.
    (agent-shell-consult--preview-state): Acknowledge confirmed selections
    through agent-shell-attention-acknowledge.
    (agent-shell-consult--read): Bind
    agent-shell-attention-inhibit-auto-acknowledge during previews.
  • tests/agent-shell-consult-test.el
    (agent-shell-consult-test-attention-preview-acknowledgment): New test.

Use the interface introduced in agent-shell-attention 0.0.4 instead
of inspecting pending entries and removing an internal hook during
previews.  Keep Attention optional.

* agent-shell-consult.el (agent-shell-consult--unread-p): Query unread
replies through agent-shell-attention-unread-p.
(agent-shell-consult--preview-state): Acknowledge confirmed selections
through agent-shell-attention-acknowledge.
(agent-shell-consult--read): Bind
agent-shell-attention-inhibit-auto-acknowledge during previews.
* tests/agent-shell-consult-test.el
(agent-shell-consult-test-attention-preview-acknowledgment): New test.
@ultronozm ultronozm closed this Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant