A held private-share for a tool write (Gmail reply) never shows a card, and retries can't be approved
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Feature
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- typescript
- Bereich
- authentication, backend
Rechercherichtung
Start with server/src/plugins/plugin-store/calls.ts and server/src/proactive/private-share.ts, then inspect how GET /api/approvals and conversation approval cards are implemented. Trace how a held GMAIL_REPLY_TO_THREAD call is resumed after approval and how its contentDigest is checked. Done means the pending share appears in the thread, approval resumes the exact approved call, and the Bot receives a clear reason to wait instead of retrying.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
What happens
A Bot replying to an email with Composio's GMAIL_REPLY_TO_THREAD is held as a private-information share (server/src/plugins/plugin-store/calls.ts, privateShareCheck, decided in server/src/proactive/private-share.ts). The pending request is created (openbot/share_private_information, scope external:composio-gmail/GMAIL_REPLY_TO_THREAD) and shows up in GET /api/approvals, but no approval card appears in the conversation. The Bot reports "waiting for send approval" and stops.
Approving the request afterwards does not help. The approval is bound to the exact content (contentDigest), and each time the Bot tries again it words the reply slightly differently. The new attempt opens a new pending request, or is refused outright:
mcp.call_rejected GMAIL_REPLY_TO_THREAD refusal: private_share_pending
... approval.person_decided (allow_once) x4 ...
mcp.call_rejected GMAIL_REPLY_TO_THREAD refusal: private_share_denied
The only way to get a Bot reply out reliably is a standing "Always allow" rule for that Bot, tool and scope.
Reproduce
- Grant a built-in Bot
GMAIL_REPLY_TO_THREADand connect Gmail. - Ask it to reply to an email.
- No card appears; the request sits in
/api/approvals. Approve it; the Bot's next attempt is a new request.
Suggested fix
- Render the pending share in the thread as a card (recipient, a preview of the content, Allow once, Always allow, Don't), like other approvals.
- On approval, resume the suspended call with the exact content that was approved, rather than relying on the Bot to send identical text again.
- Make the denial sentence the Bot receives say why ("waiting for the person's permission; it will run when they allow it"), so the Bot does not retry with new text.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 7.1k
- Forks
- 962
- Ø Merge
- 1 T. 6 Std.
- Gemergte PRs (30 T.)
- 143
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus CopilotKit/OpenBot
-
Composio plugin sends x-api-key, but connect.composio.dev/mcp requires x-consumer-api-keyEvtl. vergeben @azmi2409 hat das vor 2 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
CopilotKit/OpenBot#817 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Wrong key location at startupEvtl. vergeben @charan-rathore hat das vor 13 Tagen übernommen. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 68/100
CopilotKit/OpenBot#800 ·
Maintainer antworten meist innerhalb von 1 Tag
-
setup-learning.ts fails on Windows with "spawn npx.cmd EINVAL"Evtl. vergeben @Caldas hat das vor 15 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
CopilotKit/OpenBot#792 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 56/100
CopilotKit/OpenBot#891 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
CopilotKit/OpenBot#890 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in CopilotKit/OpenBot
Ähnliche Issues
-
bug triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
Maintainer antworten meist innerhalb von 1 Tag
-
hemi-earn
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
vetro-protocol/vetro-monorepo#1043 ·
Maintainer antworten meist innerhalb von 1 Tag
-
stage 2: bare names resolve against PATH differently from the shell (empty and relative entries)Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
STRML/omp-classifier#206 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
atlassian-labs/mermaid-diagrams-viewer#188 ·
Maintainer antworten meist innerhalb von 1 Tag
-
dashboard enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Olanetsoft/agent-lookout#225 ·
Maintainer antworten meist innerhalb von 1 Tag