Skip to content

Commit 8fe4da3

Browse files
committed
fix(acp): use canonical transport notification identity
Rename the client-local transport closure notification to the OpenBitFun prefix in both its declaration and injected payload. Keep transport termination dispatch consistent and satisfy the product identity audit.
1 parent 6d7c7cb commit 8fe4da3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/crates/interfaces/acp/src/client/transport.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize};
99
// This marker is injected only into the client's in-memory incoming queue.
1010
// It is never sent to the agent and does not extend the ACP wire contract.
1111
#[derive(Debug, Clone, Serialize, Deserialize, JsonRpcNotification)]
12-
#[notification(method = "_bitfun/client_transport_closed")]
12+
#[notification(method = "_openbitfun/client_transport_closed")]
1313
pub(super) struct AcpTransportClosed {
1414
error: Error,
1515
}
@@ -70,7 +70,7 @@ impl<R: Role, T: ConnectTo<R>> ConnectTo<R> for AcpTransport<T> {
7070
// including a prompt response immediately followed by EOF.
7171
let marker = serde_json::from_value(serde_json::json!({
7272
"jsonrpc": "2.0",
73-
"method": "_bitfun/client_transport_closed",
73+
"method": "_openbitfun/client_transport_closed",
7474
"params": AcpTransportClosed { error },
7575
}))
7676
.map_err(Error::into_internal_error)?;

0 commit comments

Comments
 (0)