Skip to content

Commit fb4f3ad

Browse files
authored
Export result type with default of acp::Error (#172)
1 parent 1d4c8b3 commit fb4f3ad

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 0.4.10 (2025-10-16)
4+
5+
### Protocol
6+
7+
- No changes
8+
9+
### Rust
10+
11+
- Export `Result` type with a default of `acp::Error`
12+
313
## 0.4.9 (2025-10-13)
414

515
- Fix schema publishing

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "agent-client-protocol-schema"
33
authors = ["Zed <hi@zed.dev>"]
4-
version = "0.4.9"
4+
version = "0.4.10"
55
edition = "2024"
66
license = "Apache-2.0"
77
description = "A protocol for standardizing communication between code editors and AI coding agents"

rust/error.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ use std::fmt::Display;
1515
use schemars::JsonSchema;
1616
use serde::{Deserialize, Serialize};
1717

18+
pub type Result<T, E = Error> = std::result::Result<T, E>;
19+
1820
/// JSON-RPC error object.
1921
///
2022
/// Represents an error that occurred during method execution, following the

0 commit comments

Comments
 (0)