Title: Agent side cannot send $/cancel_request for its own outgoing requests · Issue #161 · agentclientprotocol/python-sdk · GitHub
Open Graph Title: Agent side cannot send $/cancel_request for its own outgoing requests · Issue #161 · agentclientprotocol/python-sdk
X Title: Agent side cannot send $/cancel_request for its own outgoing requests · Issue #161 · agentclientprotocol/python-sdk
Description: agent-client-protocol 1.0.0rc2. The protocol defines $/cancel_request (it is in acp/meta.py), but an agent cannot send it for a request it issued: Connection.send_request allocates the JSON-RPC id internally and never exposes it, and can...
Open Graph Description: agent-client-protocol 1.0.0rc2. The protocol defines $/cancel_request (it is in acp/meta.py), but an agent cannot send it for a request it issued: Connection.send_request allocates the JSON-RPC id ...
X Description: agent-client-protocol 1.0.0rc2. The protocol defines $/cancel_request (it is in acp/meta.py), but an agent cannot send it for a request it issued: Connection.send_request allocates the JSON-RPC id ...
Opengraph URL: https://github.com/agentclientprotocol/python-sdk/issues/161
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Agent side cannot send $/cancel_request for its own outgoing requests","articleBody":"`agent-client-protocol` 1.0.0rc2.\n\nThe protocol defines `$/cancel_request` (it is in `acp/meta.py`), but an agent cannot send it for a request it issued: `Connection.send_request` allocates the JSON-RPC id internally and never exposes it, and cancelling the awaiting task only drops the local future.\n\nUse case: an agent sends `session/request_permission`, the decision is then made elsewhere (another client tab or an approval inbox), and the agent needs to withdraw the open request so the client closes its dialog.\n\nExpected: a way to cancel an outgoing request that sends `$/cancel_request` with its id, for example cancelling the task returned by `send_request`, or an API that returns the id.\n","author":{"url":"https://github.com/ayushin","@type":"Person","name":"ayushin"},"datePublished":"2026-10-02T17:35:38Z","url":"https://github.com/agentclientprotocol/python-sdk/issues/161"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:51632527-aca4-0e3a-6907-e9b6b8dda013 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E46A:12ECEE:341EBF:483482:6B046CAA |
| html-safe-nonce | cd035fa968b9e7a8cea74f3d2b784462b0a079a172f2e52a2e1889fb33d20fef |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDZBOjEyRUNFRTozNDFFQkY6NDgzNDgyOjZCMDQ2Q0FBIiwidmlzaXRvcl9pZCI6Ijc0MjE0NTAxMjQ4Njc2OTM3MzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | da2ca31b903967e0a97660b1c7d38c947cff028e597b910a92707774708ab729 |
| hovercard-subject-tag | issue:5681057842 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/agentclientprotocol/python-sdk/161/issue_layout |
| twitter:image | https://opengraph.githubassets.com/af1b4d5c6d59e49f1362f3d49ad4728518993d66ef46b046625151822de76d56/agentclientprotocol/python-sdk/issues/161 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/af1b4d5c6d59e49f1362f3d49ad4728518993d66ef46b046625151822de76d56/agentclientprotocol/python-sdk/issues/161 |
| og:image:alt | agent-client-protocol 1.0.0rc2. The protocol defines $/cancel_request (it is in acp/meta.py), but an agent cannot send it for a request it issued: Connection.send_request allocates the JSON-RPC id ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ayushin |
| hostname | github.com |
| expected-hostname | github.com |
| None | ae8802492f12d3ba4f6b0d814054e617a2a5616b6327bf8555c10cd5b0dc2a6f |
| turbo-cache-control | no-preview |
| go-import | github.com/agentclientprotocol/python-sdk git https://github.com/agentclientprotocol/python-sdk.git |
| octolytics-dimension-user_id | 235308037 |
| octolytics-dimension-user_login | agentclientprotocol |
| octolytics-dimension-repository_id | 1051445009 |
| octolytics-dimension-repository_nwo | agentclientprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1051445009 |
| octolytics-dimension-repository_network_root_nwo | agentclientprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cfb5f24c6e01d85f70804652a5107e5cac03a161 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width